Schmitt Trigger
Schmitt Trigger
Schmitt Trigger
Implementation
Fundamental idea
Dynamic threshold (series feedback): when the input voltage crosses the
threshold in some direction the very circuit changes its own threshold to the
opposite direction. For this purpose, it subtracts a part of its output voltage
from the threshold (it is equal to adding voltage to the input voltage). Thus the
output affects the threshold and does not impact on the input voltage. These
circuits are implemented by a differential amplifier with series positive
feedback where the input is connected to the inverting input and the output to the non-inverting input. In this arrangement, attenuation and summation are
separated: a voltage divider acts as an attenuator and the loop acts as a
simple series voltage summer. Examples: the classic transistor emitter.coupled Schmitt trigger, op-amp inverting Schmitt trigger, etc
Modified input voltage (parallel feedback): when the input voltage crosses
the threshold in some direction the circuit changes the very input voltage in
the same direction (now it adds a part of its output voltage directly to the input
voltage). Thus the output "helps" the input voltage and does not affect the
threshold. These circuits can be implemented by a single-ended non-inverting
amplifier with parallel positive feedback where the input and the output
sources are connected through resistors to the input. The two resistors form a
weighted parallel summer incorporating both the attenuation and summation.
Examples: the less familiar collector-base coupled Schmitt trigger, op-amp
.non-inverting Schmitt trigger, etc
The original Schmitt trigger is based on the dynamic threshold idea that is
implemented by a voltage divider with a switchable upper leg (the collector
resistors RC1 and RC2) and a steady lower leg (RE). Q1 acts as
a comparator with a differential input (Q1 base-emitter junction) consisting of
an inverting (Q1 base) and a non-inverting (Q1 emitter) inputs. The input
voltage is applied to the inverting input; the output voltage of the voltage
divider is applied to the non-inverting input thus determining its threshold. The
comparator output drives the secondcommon collector stage Q2 (an emitter
follower) through the voltage divider R 1-R2. The emitter-coupled transistors Q1
and Q2 actually compose an electronic double throw switch that switches over
the upper legs of the voltage divider and changes the threshold in a different
.(to the input voltage) direction
Operation
Initial state. For NPN transistors as shown, imagine the input voltage is below
the shared emitter voltage (high threshold for concreteness) so that Q1 baseemitter junction is backward-biased and Q1 does not conduct. Q2 base
voltage is determined by the mentioned divider so that Q2 is conducting and
the trigger output is in the low state. The two resistors R C2 and RE form
another voltage divider that determines the high threshold. Neglecting V BE, the
.high threshold value is approximately
The output voltage is low but well above the ground. It is approximately equal
to the high threshold and may not be low enough to be a logical zero for next
digital circuits. This may require additional shifting circuit following the trigger
.circuit
Crossing up the high threshold. When the input voltage (Q1 base voltage)
rises slightly above the voltage across the emitter resistor R E (the high
threshold), Q1 begins conducting. Its collector voltage goes down and Q2
begins going cut-off, because the voltage divider now provides lower Q2 base
voltage. The common emitter voltage follows this change and goes down thus
making Q1 conduct more. The current begins steering from the right leg of the
circuit to the left one. Although Q1 is more conducting, it passes less current
through RE (since RC1 > RC2); the emitter voltage continues dropping and the
effective Q1 base-emitter voltage continuously increases. This avalanche-like
process continues until Q1 becomes completely turned on (saturated) and Q2
turned off. The trigger is transitioned to the high state and the output (Q2
collector) voltage is close to V+. Now, the two resistors R C1 and RE form a
.voltage divider that determines the low threshold. Its value is approximately
Crossing down the low threshold. With the trigger now in the high state, if the
input voltage lowers enough (below the low threshold), Q1 begins cutting-off.
Its collector current reduces; as a result, the shared emitter voltage lowers
slightly and Q1 collector voltage rises significantly. R 1-R2 voltage divider
conveys this change to Q2 base voltage and it begins conducting. The voltage
across RE rises, further reducing the Q1 base-emitter potential in the same
avalanche-like manner, and Q1 ceases to conduct. Q2 becomes completely
.turned on (saturated) and the output voltage becomes low again
Op-amp implementations
In this circuit, the two resistors R1 and R2 form a parallel voltage summer. It
adds a part of the output voltage to the input voltage thus "helping" it during
and after switching that occurs when the resulting voltage is near the ground.
This parallel positive feedback creates the needed hysteresis that is controlled
by the proportion between the resistances of R1 and R2. The output of the
parallel voltage summer is single-ended (it produces voltage in respect to
ground); so, the circuit does not need an amplifier with a differential input.
Since conventional op-amps have a differential input, the inverting input is
.grounded to make the reference point zero volts
The output voltage always has the same sign as the op-amp input voltage but
it does not always have the same sign as thecircuit input voltage (the signs of
the two input voltages can differ). When the circuit input voltage is above the
high threshold or below the low threshold, the output voltage has the same
sign as the circuit input voltage (the circuit is non-inverting). It acts like a
comparator that switches at a different point depending on whether the output
of the comparator is high or low. When the circuit input voltage is between the
thresholds, the output voltage is undefined; it depends on the last state (the
.circuit behaves as an elementary latch)
For instance, if the Schmitt trigger is currently in the high state, the output will
be at the positive power supply rail (+VS). The output voltage V+ of the
:resistive summer can be found by applying the superposition theorem
current into the source when the input voltage is positive and it draws current
.from the source when it is negative)
A practical Schmitt trigger with precise thresholds is shown in the figure on the
right. The transfer characteristic has exactly the same shape of the previous
basic configuration, and the threshold values are the same as well. On the
other hand, in the previous case, the output voltage was depending on the
power supply, while now it is defined by the Zener diodes (which could also be
replaced with a single double-anode Zener diode). In this configuration, the
output levels can be modified by appropriate choice of Zener diode, and these
levels are resistant to power supply fluctuations (i.e., they increase
the PSRR of the comparator). The resistor R3 is there to limit the current
through the diodes, and the resistor R4 minimizes the input voltage offset
caused by the comparator's input leakage currents (seeLimitations of real op.amps)
In the inverting version, the attenuation and summation are separated. The
two resistors R1 and R2 act only as a "pure" attenuator (voltage divider). The
input loop acts as a simple series voltage summer that adds a part of the
output voltage in series to the circuit input voltage. This series positive
feedback creates the needed hysteresis that is controlled by the proportion
between the resistances of R1 and the whole resistance (R 1 and R2). The
effective voltage applied to the op-amp input is floating; so, the op-amp must
.have a differential input
The circuit is named inverting since the output voltage always has an opposite
sign to the input voltage when it is out of the hysteresis cycle (when the input
voltage is above the high threshold or below the low threshold). However, if
the input voltage is within the hysteresis cycle (between the high and low
thresholds), the circuit can be inverting as well as non-inverting. The output
voltage is undefined; it depends on the last state and the circuit behaves as
.an elementary latch
To compare the two versions, the circuit operation will be considered at the
same conditions as above. If the Schmitt trigger is currently in the high state,
the output will be at the positive power supply rail (+V S). The output voltage
V+ of the voltage divider is:
Applications
Use as an oscillator
Noise immunity
Sec