RobertISaar
New Member
hello everybody, i have a question that it seems at least a few of you can answer easily. i've seen similar questions answered though i'm not sure which parts are applicable to me situation.
i'm building an engine simulator to test out new algorithm as i write it rather than testing it on-vehicle and potentially killing something a lot more expensive than some discrete components.
the last issue i'm coming across is the signal used to generate vehicle speed. for the ECM i'm playing with, there were two possible ways to let the ECM know vehicle speed, from what i understand one was via an optical method that used an infrared LED and optical sensor that was installed in the back of a speedometer, these were used in early applications and require only the circuit to be grounded at a rate proportional to vehicle speed. the ECM provides roughly +12V and the LED/sensor combo grounds the circuit at a rate of around 4000 pulses per mile, the ECM measures the period and with proper calibration it determines vehicle speed.
later, magnetic sensors that read teeth in a reluctor were used. in my application, they were 2 wire permanent magnet generators. now, the tricky part is coming up. these sensors generated an AC signal up to about 100 volts depending on speed (not sure if peak/peak or RMS), and the hardware inside the ECM that plays with this wants to see zero-crossings for period measurements. the number of pulses per mile can vary quite a bit depending on tire size and number of notches in the reluctor, so calibration is important. here is where i have issues:
i'm using (or at least have the circuit built for it already) a 555 being fed 12 volts with a pot being used to vary the frequency between roughly 14 and 2012 Hz. this will give me 0-12Volts, but it won't give me a zero crossing event needed to simulate the magnetic sensor.
what simple(read: cheap, preferably no ICs) solution is there to convert my 0-12V signal into something that the ECM will read? it doesn't seem to take much of a voltage swing to allow the hardware to do it's job, so if i could turn 0-12V into -6 to +6 V, that would likely work, i just have no idea what kind of hardware would be needed to do so.
some more info that might help:
the two wires of the VSS are "VSS low" (connected directly to ground inside the ECM) and "VSS High", which goes through a 51K resistor, then a very small(probably .01-.1uF) cap, which connects to ground. between the resistor and cap is where the zero crossing unit is tied in.
i have a bunch of MAX232s laying around from a previous project, i was thinking i could somehow use the -10V it generates for RS232 communications for this, but i can't think of a way how to pair it with the 555 and not have the 555 attempt to send current into the MAX232 while still providing the +V portion of the signal.
i also have quite a few more 555s laying around from a different project and have been looking at trying to use that as well, since they're rated to source and sink far more current than what i'll need for this.
so, ideas? links? i'm in no way any kind of EE, so spelling/drawing things out would be greatly appreciated. i've seen some mention of running a capacitor in series with the signal the 555 generates, it would supposedly skew the 0-12V signal below 0V?
i'm building an engine simulator to test out new algorithm as i write it rather than testing it on-vehicle and potentially killing something a lot more expensive than some discrete components.
the last issue i'm coming across is the signal used to generate vehicle speed. for the ECM i'm playing with, there were two possible ways to let the ECM know vehicle speed, from what i understand one was via an optical method that used an infrared LED and optical sensor that was installed in the back of a speedometer, these were used in early applications and require only the circuit to be grounded at a rate proportional to vehicle speed. the ECM provides roughly +12V and the LED/sensor combo grounds the circuit at a rate of around 4000 pulses per mile, the ECM measures the period and with proper calibration it determines vehicle speed.
later, magnetic sensors that read teeth in a reluctor were used. in my application, they were 2 wire permanent magnet generators. now, the tricky part is coming up. these sensors generated an AC signal up to about 100 volts depending on speed (not sure if peak/peak or RMS), and the hardware inside the ECM that plays with this wants to see zero-crossings for period measurements. the number of pulses per mile can vary quite a bit depending on tire size and number of notches in the reluctor, so calibration is important. here is where i have issues:
i'm using (or at least have the circuit built for it already) a 555 being fed 12 volts with a pot being used to vary the frequency between roughly 14 and 2012 Hz. this will give me 0-12Volts, but it won't give me a zero crossing event needed to simulate the magnetic sensor.
what simple(read: cheap, preferably no ICs) solution is there to convert my 0-12V signal into something that the ECM will read? it doesn't seem to take much of a voltage swing to allow the hardware to do it's job, so if i could turn 0-12V into -6 to +6 V, that would likely work, i just have no idea what kind of hardware would be needed to do so.
some more info that might help:
the two wires of the VSS are "VSS low" (connected directly to ground inside the ECM) and "VSS High", which goes through a 51K resistor, then a very small(probably .01-.1uF) cap, which connects to ground. between the resistor and cap is where the zero crossing unit is tied in.
i have a bunch of MAX232s laying around from a previous project, i was thinking i could somehow use the -10V it generates for RS232 communications for this, but i can't think of a way how to pair it with the 555 and not have the 555 attempt to send current into the MAX232 while still providing the +V portion of the signal.
i also have quite a few more 555s laying around from a different project and have been looking at trying to use that as well, since they're rated to source and sink far more current than what i'll need for this.
so, ideas? links? i'm in no way any kind of EE, so spelling/drawing things out would be greatly appreciated. i've seen some mention of running a capacitor in series with the signal the 555 generates, it would supposedly skew the 0-12V signal below 0V?