Wednesday, 21 August 2013

Applications of Operational Amplifiers: Schmitt Trigger

Schmitt Trigger:
If the input to a comparator contains noise, the output may be erractive when vin is near a trip point. For instance, with a zero crossing, the output is low when vin is positive and high when vin is negative. If the input contains a noise voltage with a peak of 1mV or more, then the comparator will detect the zero crossing produced by the noise. Fig. 1, shows the output of zero crossing detection if the input contains noise.
Fig. 1
Figure 19.2
This can be avoided by using a Schmitt trigger, circuit which is basically a comparator with positive feedback. Fig. 2, shows an inverting Schmitt trigger circuit using OPAMP.
Because of the voltage divider circuit, there is a positive feedback voltage. When OPAMP is positively saturated, a positive voltage is feedback to the non-inverting input, this positive voltage holds the output in high stage. (vin< vf). When the output voltage is negatively saturated, a negative voltage feedback to the inverting input, holding the output in low state.
When the output is +Vsat then reference voltage Vref is given by
If Vin is less than Vref output will remain +Vsat.
When input vin exceeds Vref = +Vsat the output switches from +Vsat to –Vsat. Then the reference voltage is given by
The output will remain –Vsat as long as vin > Vref.
Fig. 3
Fig. 4
If vin < Vref i.e. vin becomes more negative than –Vsat then again output switches to +Vsat and so on. The transfer characteristic of Schmitt trigger circuit is shown in fig. 3. The output is also shown in fig. 4 for a sinusoidal wave. If the input is different than sine even then the output will be determined in a same way.
Positive feedback has an unusual effect on the circuit. It forces the reference voltage to have the same polarity as the output voltage, The reference. voltage is positive when the output voltage is high (+vsat) and negative when the output is low (–vsat).
In a Schmitt trigger, the voltages at which the output switches from +vsat to –vsat or vice versa are called upper trigger point (UTP) and lower trigger point (LTP). the difference between the two trip points is called hysteresis.

Fig. 5
The hysteresis loop can be shifted to either side of zero point by connecting a voltage source as shown in fig. 5.
When VO= +Vsat , the reference. Voltage (UTP) is given by
When VO= -Vsat , the reference. Voltage (UTP) is given by
If VR is positive the loop is shifted to right side; if VR is negative, the loop is shifted to left side. The hysteresis voltage Vhys remains the same.
Non-inverting Schmitt trigger:
In this case, again the feedback is given at non-inverting terminal. The inverting terminal is grounded and the input voltage is connected to non-inverting input. Fig. 6, shows an non-inverting schmitt trigger circuit.
Fig. 6
To analyze the circuit behaviour, let us assume the output is negatively saturated. Then the feedback voltage is also negative (-Vsat). Then the feedback voltage is also negative. This feedback voltage will hold the output in negative saturation until the input voltage becomes positive enough to make voltage positive.

When vin becomes positive and its magnitude is greater than (R2 / R1) Vsat, then the output switches to +Vsat. Therefore, the UTP at which the output switches to +Vsat, is given by
Simillarly, when the output is in positive saturation, feedback voltage is positive. To switch output states, the input voltage has to become negative enough to make. When it happens, the output changes to the negative state from positive saturation to negative saturation voltage negative.

When vin becomes negative and its magnitude is greater than R2 / R1 vsat, then the output switches to -vsat. Therefore,
The difference of UTP and LTP gives the hysteresis of the Schmitt trigger.
In non inverting Schmitt trigger circuit, the β is defined as
Example - 1
Design a voltage level detector with noise immunity that indicates when an input signal crosses the nominal threshold of – 2.5 V. The output is to switch from high to low when the signal crosses the threshold in the positive direction, and vice versa. Noise level expected is 0.2 VPP, maximum. Assume the output levels are VH = 10 V and VL = 0V.
Solution:
For the triggering action required an inverting configuration is required. Let the hysteresis voltage be 20% larger that the maximum pp noise voltage, that is, Vhys = 0.24V.
Thus, the upper and lower trigger level voltages are -2.5 ± 0.12, or
UTP = 2.38 V and LTP = -2.62 V
Since the output levels are VH and VL instead of +Vsat and –Vsat, therefore, hysteresis voltage is given by
or        
and 
The reference voltage V­ R can be obtained from the expression of LTP.
Given that VL = 0, and LTP= -262, we obtain
VR = (1 + R2 / R1) LTP = (1 + 1 / 40.7) (-2.62) = - 2.68 V
We can select any values for R2 and R1 that satisfy the ratio of 40.7. It is a good practice to have more than 100 kΩ for the sum of R1 and R2 and 1 kΩ to 3kΩ for the pull up resistor on the output. The circuit shown in fig. 7 shows a possible final design. The potentiometer serves as a fine adjustment for VR, while the voltage follower makes VR to appear as an almost ideal voltage source.
Fig. 7

No comments:

Post a Comment