Author Topic: Opamp Schmitt Trigger Ref Voltage Problem  (Read 6071 times)

0 Members and 1 Guest are viewing this topic.

Offline jaiminajmeriTopic starter

  • Newbie
  • Posts: 4
Opamp Schmitt Trigger Ref Voltage Problem
« on: September 05, 2013, 06:14:29 am »


See the pic of the ckt.

I want know how the voltage @R3 changes to 500mv instead of 5V.
please tell me equations too.
 

Offline w2aew

  • Super Contributor
  • ***
  • Posts: 1783
  • Country: us
  • I usTa cuDnt speL enjinere, noW I aR wuN
    • My YouTube Channel
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #1 on: September 05, 2013, 01:17:59 pm »
There are a few problems in your circuit diagram with respect to supply voltages.  Do I see -10V on VCC for the op amp?  If you are intending to show +/-10V (split supply) on the op amp, then you should have +10V on VCC and -10V on VEE.  Also, you show -12V at the inverting input.  This is beyond the supply rails of the op amp, and certainly beyond the common mode voltage range of the op amp.  Since the op amp model was likely designed to give good results ONLY if it is biased and used correctly, it probably won't give you proper results (models typically give unpredictable results if used outside of normal/proper operating conditions).

That being said, assuming you correct the supply and biasing issues, the simple way to calculate the two switching thresholds would be to simply write an equation that says that the sum of the currents entering/leaving node 2 are equal to zero, and solve for V2.

0 = (V2-10V)/1K + (V2-Vout)/1K + V2/1K

where V2 is the voltage on node 2 that you are measuring, and Vout is the saturated output voltage of the op amp at it's extremes.  In the datasheet, these are VOH and VOL - the highest and lowest voltages that the output can swing.  You solve the equation twice, once with Vout=VOH and once with Vout=VOL.
YouTube channel: https://www.youtube.com/w2aew
FAE for Tektronix
Technical Coordinator for the ARRL Northern NJ Section
 

Offline jaiminajmeriTopic starter

  • Newbie
  • Posts: 4
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #2 on: September 05, 2013, 02:30:22 pm »
There are a few problems in your circuit diagram with respect to supply voltages.  Do I see -10V on VCC for the op amp?  If you are intending to show +/-10V (split supply) on the op amp, then you should have +10V on VCC and -10V on VEE.  Also, you show -12V at the inverting input.  This is beyond the supply rails of the op amp, and certainly beyond the common mode voltage range of the op amp.  Since the op amp model was likely designed to give good results ONLY if it is biased and used correctly, it probably won't give you proper results (models typically give unpredictable results if used outside of normal/proper operating conditions).

That being said, assuming you correct the supply and biasing issues, the simple way to calculate the two switching thresholds would be to simply write an equation that says that the sum of the currents entering/leaving node 2 are equal to zero, and solve for V2.

0 = (V2-10V)/1K + (V2-Vout)/1K + V2/1K

where V2 is the voltage on node 2 that you are measuring, and Vout is the saturated output voltage of the op amp at it's extremes.  In the datasheet, these are VOH and VOL - the highest and lowest voltages that the output can swing.  You solve the equation twice, once with Vout=VOH and once with Vout=VOL.


Yes, Thank you I got it.
But the output must saturate between +Vsat and -Vsat right ? here Vsat is supposed to be 9V and -9V. But I am getting 8.48 and -8.48.
Can u tell me Why is this happening ? any equations to prove this too ?
 

Offline Mr Smiley

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: gb
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #3 on: September 05, 2013, 02:51:12 pm »
It's a schmitt.

the output changes the reference voltage to give it it's hysteresis levels. You calculate your resistance values to give you your desired input switching levels.

 :)
There is enough on this planet to sustain mans needs. There will never be enough on this planet to sustain mans greed.
 

Offline jaiminajmeriTopic starter

  • Newbie
  • Posts: 4
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #4 on: September 05, 2013, 02:57:20 pm »
It's a schmitt.

the output changes the reference voltage to give it it's hysteresis levels. You calculate your resistance values to give you your desired input switching levels.

 :)

Can I know how to do that ? equations please ?
 

Offline Mr Smiley

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: gb
There is enough on this planet to sustain mans needs. There will never be enough on this planet to sustain mans greed.
 

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2340
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #6 on: September 05, 2013, 03:15:14 pm »
Can I know how to do that ? equations please ?
Start with assumptions about the op-amp, i.e. assume it's perfect. You can now workout the voltage levels at its positive input by working out the potential divider formed by R1 + R2//R3. Then you can add in the imperfections like Vsat of the output, and the output resistance, etc..
 

Offline w2aew

  • Super Contributor
  • ***
  • Posts: 1783
  • Country: us
  • I usTa cuDnt speL enjinere, noW I aR wuN
    • My YouTube Channel
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #7 on: September 05, 2013, 03:38:06 pm »
There are a few problems in your circuit diagram with respect to supply voltages.  Do I see -10V on VCC for the op amp?  If you are intending to show +/-10V (split supply) on the op amp, then you should have +10V on VCC and -10V on VEE.  Also, you show -12V at the inverting input.  This is beyond the supply rails of the op amp, and certainly beyond the common mode voltage range of the op amp.  Since the op amp model was likely designed to give good results ONLY if it is biased and used correctly, it probably won't give you proper results (models typically give unpredictable results if used outside of normal/proper operating conditions).

That being said, assuming you correct the supply and biasing issues, the simple way to calculate the two switching thresholds would be to simply write an equation that says that the sum of the currents entering/leaving node 2 are equal to zero, and solve for V2.

0 = (V2-10V)/1K + (V2-Vout)/1K + V2/1K

where V2 is the voltage on node 2 that you are measuring, and Vout is the saturated output voltage of the op amp at it's extremes.  In the datasheet, these are VOH and VOL - the highest and lowest voltages that the output can swing.  You solve the equation twice, once with Vout=VOH and once with Vout=VOL.


Yes, Thank you I got it.
But the output must saturate between +Vsat and -Vsat right ? here Vsat is supposed to be 9V and -9V. But I am getting 8.48 and -8.48.
Can u tell me Why is this happening ? any equations to prove this too ?

The +Vsat and -Vsat values will depend entirely on the op amp you use, and it's internal design.  Also, note that simulation models for a given op amp may not accurately reflect the op amp's true behavior when driven to saturation.  The output saturation voltages depend on the internal design of the op amp, the power supply rails used, and the load on the output.  There are no simple equations for this, since every op amp is different.
YouTube channel: https://www.youtube.com/w2aew
FAE for Tektronix
Technical Coordinator for the ARRL Northern NJ Section
 

Offline jaiminajmeriTopic starter

  • Newbie
  • Posts: 4
Re: Opamp Schmitt Trigger Ref Voltage Problem
« Reply #8 on: September 10, 2013, 04:35:29 am »
Another Problem.

I have a seen a ckt with positive feedback with capacitor grounded, with common input. looks like a scmitt trigger. But is it really 1 ?
I dont know wat happens to that (schmitt trigger) if we some how manage to set same Vref and Vin ??
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->