HELP - Square wave to sine wave converter project
HELP - Square wave to sine wave converter project
(OP)
Newbie here looking for some help on a small circuit project. Trying to find a company or individual that can do a small run of "black box" speed transducer signal converters.
I need to convert hall effect square wave output from a 3 wire speed sensor to a sine wave pulse for a 2 wire high/low signal used in automotive a ECM environment. After plenty of searching for existing converters nothing jumps out at me. I believe it's a zero crossing detector circuit that's required, like available in the MOC2A60-10 Amp Zero Cross Triac Output IC. However my computer skills only help me find what I might need, not build it...
So any suggestions on where to contract out this little build would be a great help.
Many Thanks
-K
I need to convert hall effect square wave output from a 3 wire speed sensor to a sine wave pulse for a 2 wire high/low signal used in automotive a ECM environment. After plenty of searching for existing converters nothing jumps out at me. I believe it's a zero crossing detector circuit that's required, like available in the MOC2A60-10 Amp Zero Cross Triac Output IC. However my computer skills only help me find what I might need, not build it...
So any suggestions on where to contract out this little build would be a great help.
Many Thanks
-K





RE: HELP - Square wave to sine wave converter project
http:
htt
It's one of those interesting ideas I've bookmarked but never tried out yet - I'd be interested how you get on.
----------------------------------
If we learn from our mistakes I'm getting a great education!
RE: HELP - Square wave to sine wave converter project
RE: HELP - Square wave to sine wave converter project
In this application error rate is not super sensitive, mainly going to be used to calculate fuel mileage in boats. All the marine type speed senders are all effect, while the automotive ECM's use inductive pickups.
The ECM doesn't require a speed sensor to operate, but can calculate fuel mileage if it knows ground speed. Calibration can be done on the ECM once you know a pulse per mile figure.
-K
RE: HELP - Square wave to sine wave converter project
It's sort of a PLL, using a sine wave generator whose control input is mediated by a comparison of the square wave and the generator output.
Another option is hinted, at the bottom of the article, which is to do a direct digital synthesis, which can be a look-up table running into a DAC, driven by a PIC that's measuring the period of the square wave and then timing out the sine wave's digitized output. Make the DAC output sample frequency sufficiently high, and you can use a simple lowpass filter to get rid of the quantization noise.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
Chinese prisoner wins Nobel Peace Prize
RE: HELP - Square wave to sine wave converter project
RE: HELP - Square wave to sine wave converter project
I've seen square waves used in place of sine on several vehicles, with no problem. I'd try just scaling the frequency to get where you need, and possibly do a level shift on the signal to get the trigger levels right. And then since its automotive, spend more time making sure its robust enough to live in its environment.
RE: HELP - Square wave to sine wave converter project
Now, inductive pickups have a 2-wire AC output. If one wire is grounded, then the signal in the other wire goes both above and below ground. Your hall effect signal will probably be a square-wave from about .6 volts to about 12 volts, but it doesn't cross zero. Probably the only thing you need to do is take the Hall-effect output, go in series through a capacitor (non-polar, of maybe a film type of maybe 1 to 10uF, of about 25 volts minimum) to the ECU input. This will block the DC component of the Hall-effect output signal to give you a signal that goes above and below ground.