How can an Op Amp voltage comparator be used as a voltage controlled switch?

AI Thread Summary
An Op Amp voltage comparator can be utilized as a voltage-controlled switch to manage two voltage inputs, V1 at 3V and V2 that charges to 3.5V. When V2 discharges below 3V, the comparator can switch to use V1, allowing V2 to recharge. A suggested approach includes using MOSFETs as switches controlled by the comparator, with an inverter to ensure one MOSFET is off while the other is on. Implementing hysteresis in the comparator design is crucial to prevent rapid switching, ensuring stability in operation. An independent power supply for the comparator may be necessary, as relying solely on the 3V source could limit functionality.
Daniel Floyd
Messages
21
Reaction score
0
Hi

I am trying to create a circuit which i can use as a voltage controlled switch.

I have 2 voltage inputs,

** A constant 3V source V1,

** A source which charges up to 3.5V and then slowly discharges V2.


I would like to amalgamate both sources so as when V2 discharges below 3V the V1 will be used allowing V2 to charge back up to 3.5V e.t.c

I have done some research and i believe that an Op Amp voltage comparator can be used for this and believe that i can implement the LM393 but am struggling to design a circuit that can do this operation.

Can any help and explain how this can be achieved.
 
Engineering news on Phys.org
forgot to mention this must be low power my V2 supply is 50mA and 3.5V Maximum (switches on and off thus super capacitor charging circuit)
 
can anybody help with this its pretty urgent ?
 
You could probably use a 555 timer for this. It has the basic functionality you want. There are a MILLION circuits on the web using this part. It's a classic analog circuit.
 
But how could 3V source will be able to charge V2 up to 3.5V?
 
Jony130 said:
But how could 3V source will be able to charge V2 up to 3.5V?

Oh you don't have a power supply? I thought V1 and V2 were inputs. Hmm... this is unusual requirement... I think I get it now.

The problem with using an op amp-based voltage comparator is it won't have any headroom because you don't have a power supply. You need an analog voting circuit where the higher voltage of the two gets passed to the output. Try googling that I guess.
 
Daniel Floyd said:
Hi

I am trying to create a circuit which i can use as a voltage controlled switch.

I have 2 voltage inputs,

** A constant 3V source V1,

** A source which charges up to 3.5V and then slowly discharges V2.


I would like to amalgamate both sources so as when V2 discharges below 3V the V1 will be used allowing V2 to charge back up to 3.5V e.t.c

I have done some research and i believe that an Op Amp voltage comparator can be used for this and believe that i can implement the LM393 but am struggling to design a circuit that can do this operation.

Can any help and explain how this can be achieved.
A MOSFET from each supply could be used as a pair of voltage-controlled switches, their control signal coming from the comparator. Include an inverter so one MOSFET is OFF whilever the other is ON.

The comparator should have some hysteresis (implemented using positive feedback) so it switches when V2 falls below 3V but doesn't switch over again until V2 has risen to almost 3.5V

Do you have an independent power supply to power the comparator and the switching circuit, or will this need to be powered by the fixed 3V source?
 
Back
Top