Hello -- I have sailboat with an (existing) speed-sensing ‘paddlewheel’ sensor that I am trying to use with a new data display. I have gotten lucky because the sensor and the data display both have the same frequency per knot (~6Hz/knot) – however the existing sensor generates an AC signal whose frequency is proportional to the speed over water (similar to a variable reluctor pickup in a car, I suspect), while the data display is of the ‘hall effect’ style and expects pulses of approximately 11.2V DC in amplitude.
In other words, I need to convert a small-amplitude AC signal into a square wave of 11.2VDC.
Seems like a straightforward problem. . . Unfortunately, I’m a Chemical Engineer, not an Electrical, so phrases like ‘power supply current drain is independent of the magnitude of the power supply voltage’ or ‘input common-mode’ defy my understanding. Doing some reading, a ‘comparator’ seems like it would do the trick – when the sine wave is ‘positive’ relative to ground send the full saturation voltage to the output. Then stop when the sine wave goes to 0 or negative. Radio Shack has the LM339 quad comparator in-stock locally – using this chip, I devised the circuit in the attached sketch. Apparently there also needs to be a ‘pull up’ resistor? Not sure how I would size that, so I’ll ask for help!
Thank-you and please comment. I’d rather learn something about electronics than put a hole in the bottom of my boat for a new speed sensor.
Cheers,
Dr. C.
In other words, I need to convert a small-amplitude AC signal into a square wave of 11.2VDC.
Seems like a straightforward problem. . . Unfortunately, I’m a Chemical Engineer, not an Electrical, so phrases like ‘power supply current drain is independent of the magnitude of the power supply voltage’ or ‘input common-mode’ defy my understanding. Doing some reading, a ‘comparator’ seems like it would do the trick – when the sine wave is ‘positive’ relative to ground send the full saturation voltage to the output. Then stop when the sine wave goes to 0 or negative. Radio Shack has the LM339 quad comparator in-stock locally – using this chip, I devised the circuit in the attached sketch. Apparently there also needs to be a ‘pull up’ resistor? Not sure how I would size that, so I’ll ask for help!
Thank-you and please comment. I’d rather learn something about electronics than put a hole in the bottom of my boat for a new speed sensor.
Cheers,
Dr. C.