earckens
Member
Hi, the purpose of this circuit is to detect whether there is a short across lug P6 and lug P7. Therefor a square wave is sent across a H-bridge load, part of which are the sensing lugs P6 and P7. If there is no short, the voltage across the bridge is placed over the 1M resistor part, if this resistor is shorted, the bridge voltage is placed across the 1k resistor.
Since the H-bridge output is an alternating square wave, this needs to be rectified (I need a rectified output, either 12V or approx 0V since this is fed into a controller input that expects either HIGH or LOW).
When the 1M is shorted, a nice DC 12V appears across the rectifier outputs.
However, when this short is removed, the voltage does not drop to approx. 0V (the 1M/1k voltage divider result): a square wave (with H-bridge frequency) appears, min. 2V, max. 12V, see picture.
How can this be resolved so that shorted lugs will result in approx. 0V on the rectifier output?
EDIT: the AC input of the rectifier (measured across the AC pins) is a square wave from -12V to +12V when the lugs are shorted. With open lugs there is 0V.
EDIT2: or should an optocoupler get involved?
Since the H-bridge output is an alternating square wave, this needs to be rectified (I need a rectified output, either 12V or approx 0V since this is fed into a controller input that expects either HIGH or LOW).
When the 1M is shorted, a nice DC 12V appears across the rectifier outputs.
However, when this short is removed, the voltage does not drop to approx. 0V (the 1M/1k voltage divider result): a square wave (with H-bridge frequency) appears, min. 2V, max. 12V, see picture.
How can this be resolved so that shorted lugs will result in approx. 0V on the rectifier output?
EDIT: the AC input of the rectifier (measured across the AC pins) is a square wave from -12V to +12V when the lugs are shorted. With open lugs there is 0V.
EDIT2: or should an optocoupler get involved?
Attachments
Last edited: