Please help rectify this inverter circuit.

Thread Starter

livayahurd

Joined Oct 12, 2009
16
I somehow recently made this circuit. The relays won't switch off ever. Even if i remove the op amp the relay still goes on. The inverter section works fine independently. its the control side which causes all troubles. Unfortunately i cant use any sort of micro controller help in any case.

please check the attachment.
 

Attachments

Last edited:

t_n_k

Joined Mar 6, 2009
5,455
The 4N25 mains sensing opto-coupler wiring looks wrong.

Removing the op-amps probably meant that the 4011 NAND gates just went permanently high at their outputs - thereby forcing on the relay driver transistors.
 

Thread Starter

livayahurd

Joined Oct 12, 2009
16
I tried grounding the input of the nand bypassing the opto coupler but still the same effect.

And if the outputs are to go high by removing the opamp then the transistor used is PNP should receive +ve at their base.. they should not work and the relays should therefore be shut down.
 

Thread Starter

livayahurd

Joined Oct 12, 2009
16
like this one.. recently I made a circuit for automatic water level controller with voltage protection for the pump and dry running preventer. When i made it first I used a PNP to drive the relay.. i faced the same issues.. but when i redraw the circuit for NPN it worked fine..
 

t_n_k

Joined Mar 6, 2009
5,455
I tried grounding the input of the nand bypassing the opto coupler but still the same effect.

And if the outputs are to go high by removing the opamp then the transistor used is PNP should receive +ve at their base.. they should not work and the relays should therefore be shut down.
OK - sorry - I missed that they were PNP types and that the supply was opposite to what I thought. The opto-coupler looks OK as well. It's hard to get my head around the circuit when drawn this way!

Then perhaps the LOCMOS 4011 NAND gates just can't pull the BSV10 bases high enough to turn them off.
 
Last edited:

Thread Starter

livayahurd

Joined Oct 12, 2009
16
any idea what the problem is?

Since its the nanad gate use the operation will be:-

1. Inverter will be on iff :- Battery is above the Vmin (opamp low voltage sending gives out +ve signal) and No AC signal in the lines.

Final output will be "0" from the Nand which powers the PNP of inverter relay supply

all other cases the output will be "1" and hence the PNP wont conduct preveting the operation of the inverter.

2. Charging will be on iff :- Battery charge is below Vmax (op amp high voltage sending give out +ve signal) and AC signal is present in the line.

Here to the final output will be "0" from the Nand which powers the PNP of the Transformer relay supply.

all other cases the output will be "1" and hence the PNP wont conduct preventing the operation of the charging.
 

t_n_k

Joined Mar 6, 2009
5,455
What's the supply voltage for the NAND gates - is that from the 7805 reg [IC2]? Is the relay supply rail also 5V? It seems to come from VCC which is presumably higher than 5V.
 

t_n_k

Joined Mar 6, 2009
5,455
To turn off the transistors the 4011 gates would have to pull the BSV10 base up to 12V. They can't do that if they have a maximum output of 5V.
 

t_n_k

Joined Mar 6, 2009
5,455
Thats a point. So what should I do now.. The relay which i have wont go with 5v. Should i Change the nanad supply to 12v.
That should work - the CMOS would run at up to 15V without any problems.

I'd also be inclined to add some base resistance to reduce the current demand on the gate output circuit when they go low output. Though it may not matter, since they will effectively only sink about 20 uA before their output swing starts to limit. Anyway they appear to be "happily" switching the transistor on.
 
Top