Circuit for polarity detection

Thread Starter

kautilya

Joined Apr 26, 2007
39
Hi there

Can anyone suggest to me a simple circuit constructed using digital gates for polarity detection? The circuit should be able to detect positive, negative as well as zero polarity.

I need to check the polarity of a dc motor which is controlled by a bidirectional converter. The bidirectional converter has to be controlled in current mode. If any one has ideas regarding the same, i will be grateful.

Thanks and regards
 

bertus

Joined Apr 5, 2008
22,278
Hello,

Can you post a schematic of what you have upto now?
That way we can see how to connect the polarity circuit.

Bertus
 

Thread Starter

kautilya

Joined Apr 26, 2007
39
Hi there

Thanks for offering your help, bertus. i have attached the schematic of the circuit in MS word. hope its fine.

thanks and regards
 

Attachments

iONic

Joined Nov 16, 2007
1,662
It appears that the output voltage is logic level(5V) thus a series resistor of 100 to 150 ohms for a 3V, 20mA LED would do just fine. Wire as Alberto suggsted for both "A" and "B" detection lines.
 

thatoneguy

Joined Feb 19, 2009
6,359
Note: Please post schematics as .PNG files or .PDF

If the signal is 5V, a "bi-color" LED would work great for this. A resistor in series as stated above would be needed, I'd suggest 220 Ohms or so.

Then the outputs, assuming the two inputs can source/sink 15mA, would be:
off = no polarity difference
green=polarity one
red = polarity two
yellow = AC or switching polarity changes
 

iONic

Joined Nov 16, 2007
1,662
Note: Please post schematics as .PNG files or .PDF

If the signal is 5V, a "bi-color" LED would work great for this. A resistor in series as stated above would be needed, I'd suggest 220 Ohms or so.
220 Ohms at 3V would limit the current to 10mA, which may be all that is necessary for the indicator LED according to Linear.com's calculator...
LED series/parallel array wizard

The bi-color LED would be nice.
 

Thread Starter

kautilya

Joined Apr 26, 2007
39
Hi there,

Thanks for the replies. But I am not implementing it in real time. I am trying to simulate the logic in MATLAB/Simulink. Can you suggest how I can do the same in Simulink using logic gates? or any other digital gates? The truth table is given along with the schematic for reference as to the expected binary output.

I have attached the schematic in pdf.

Thanks and regards
 

Attachments

Top