Jump to content
Electronics-Lab.com Community

Switching idea


Recommended Posts


I think the 1st opamp should have the diode across it removed to allow its output to protect its input from going too negative. Then your absolute value circuit will do what you want. You made some good thinking. ;D

Except:
1) The LED won't light because the CTRL input of the Cmos doesn't use any current.
2) Nothing pulls the CTRL input of the Cmos to a logic low.
3) Whether it lights or not, the sum of the output saturation voltage of the 741 opamp plus the LED's voltage drop creates a logic high voltage that is too low to reliably control the Cmos.
The problems are solved if you uas a separate transistor to drive the LED. Then the output of the 741 opamp can connect directly to CTRL and the high-value resistors in a voltage divider that drive the transistor won't load down the output of the opamp.

Link to comment
Share on other sites

Trigger8.png

How does that look.

Removing the diode across the 1st op-amp isnt going to mess up it's gain is it?

How does that transistor/diode setup look?

I put the pull down resistor on the output to pull the CTRL of the Cmos to low when the comparator is off.

I also put the feedback on the comparator to latch it on, but I'm not sure if I've done it properly.

I know this sounds a bit dumb, but could you explain how you think this circuit will work please?
Link to comment
Share on other sites

Whoops. Made a few mistakes in that last one. This one should be better

Trigger9.png

If i'm correct, the switch should stay off while the absolute value of Vin is above Vref. Once Vin drops below Vref, the comparator should switch on, thus turning on the switch and lighting the LED. The comparator should stay latched on after that.

Will a reset of the system be achieved by cutting power to it all?

Does that look and sound correct now?

I figured I dont really need to stop Vin from being too negative, since I will use an LM4558 dual op amp which has +/- 15v on the inputs.

My only question is whether the circuit will allow a negative value on the 1st inverting op-amp since it has no negative supply rail. Should I perhaps connect PIN 4 of the dual opamp to a -ve supply?

Link to comment
Share on other sites

Hi Mr. Heckles,
I was incorrect about the 2nd diode. It is needed to prevent the input of the 1st opamp from going negative. I added it but removed a few parts from your schematic to see its operation clearer.

Your Schmitt trigger has the outputs of two opamps shorted together. Which one will win?
It need a resistor from pin 7 of the 2nd opamp to pin 3 of the 3rd opamp. It also needs a resistor from pin 6 of the 3rd opamp to its pin 3.

The 10k pull-down resistor isn't needed. Opamp outputs are driven to within a volt of the supply with low loading.

post-1706-14279142564773_thumb.png

Link to comment
Share on other sites


Right then. One negative supply coming up.

Can you have a +12v and a -5v supply into one op amp? or do they have to be equal?

A -5V negative supply severely restricts the range of input and reference voltages. Use -12V.
The 741 opamp has a limited input common-mode voltage range so it should also have a negative supply.

Is the comparator set up correctly so that it will latch on?

My analysis shows that it will work fine. Isn't its operation backwards?

Merry Christmas in a few hours. My family is getting together to feast on a huge turkey here. ;D

post-1706-14279142565116_thumb.png

Link to comment
Share on other sites

I keep getting confused by these bloody op-amps and comparators and what constitutes "on" and "off".

I wanted this to have the transmission gate turn on when the voltage in was less than the reference voltage, and then latch on. And to have the transmission gate off when the voltage in was higher than the reference (assuming it hasnt already been latched on). How would I set this up?

We've still got a day or so to go before christmas. Whats with you northerners and turkeys? We tend to stick with the variety of meats, chicken, ham, beef, maybe some lamb too.

Link to comment
Share on other sites

I was driving along on a hot summer day and saw a huge farmer's field full of snow.
Snow on a hot day in summer??
I got closer and saw millions of white turkeys. So many that they were holding each other up.
I got a nice big one and froze it for Christmas.

I've inverted the comparator for you. Play with the 1k resistors to make it latch.

post-1706-14279142567274_thumb.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...