All Topics  
Schmitt trigger

 

   Email Print
   Bookmark   Link






 

Schmitt trigger



 
 
In electronics
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
, a Schmitt trigger is a comparator
Comparator

In electronics, a comparator is a device which compares two voltages or Electric currents and switches its output to indicate which is larger....
 circuit
Electrical network

An electrical network is an interconnection of electrical elements such as resistors, inductors, capacitors, transmission lines, voltage sources, current sources, and switches....
 that incorporates positive feedback
Positive feedback

Positive feedback, sometimes referred to as "cumulative causation", is a feedback loop system in which the system responds to Perturbation of biological system in the same direction as the perturbation....
.

When the input is higher than a certain chosen threshold, the output is high; when the input is below another (lower) chosen threshold, the output is low; when the input is between the two, the output retains its value. The trigger is so named because the output retains its value until the input changes sufficiently to trigger a change.






Discussion
Ask a question about 'Schmitt trigger'
Start a new discussion about 'Schmitt trigger'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In electronics
Electronics

Electronics refers to the flow of charge through nonmetal electrical conductor , whereas electrical refers to the flow of charge through metal electrical conductor....
, a Schmitt trigger is a comparator
Comparator

In electronics, a comparator is a device which compares two voltages or Electric currents and switches its output to indicate which is larger....
 circuit
Electrical network

An electrical network is an interconnection of electrical elements such as resistors, inductors, capacitors, transmission lines, voltage sources, current sources, and switches....
 that incorporates positive feedback
Positive feedback

Positive feedback, sometimes referred to as "cumulative causation", is a feedback loop system in which the system responds to Perturbation of biological system in the same direction as the perturbation....
.

When the input is higher than a certain chosen threshold, the output is high; when the input is below another (lower) chosen threshold, the output is low; when the input is between the two, the output retains its value. The trigger is so named because the output retains its value until the input changes sufficiently to trigger a change. This dual threshold action is called hysteresis
Hysteresis

A system with hysteresis can be summarized as a system that may be in any number of states, independent of the inputs to the system. To be exact, a system with hysteresis exhibits path-dependence, or "rate-independent memory"....
, and implies that the Schmitt trigger has some memory
Memory (disambiguation)

Memory is the ability of an organism to store, retain, and subsequently recall information.Memory may also refer to:...
.

The benefit of a Schmitt trigger over a circuit with only a single input threshold is greater stability (noise immunity). With only one input threshold, a noisy input signal near that threshold could cause the output to switch rapidly back and forth from noise alone. A noisy Schmitt Trigger input signal near one threshold can cause only one switch in output value, after which it would have to move beyond the other threshold in order to cause another switch.

Invention

The Schmitt trigger was invented by US
United States

The United States of America is a Federal government constitutional republic comprising U.S. state and a federal district. The country is situated mostly in central North America, where its Contiguous United States and Washington, D.C., the Capital districts and territories, lie between the Pacific Ocean and Atlantic Oceans, Borders of the U...
 scientist Otto H. Schmitt in 1934 while he was still a graduate student, later described in his doctoral dissertation (1937) as a "thermionic trigger". It was a direct result of Schmitt's study of nerve
Nerve

A nerve is an enclosed, cable-like bundle of Peripheral nervous system axons . A nerve provides a common pathway for the electrochemical nerve impulses that are transmitted along each of the axons....
 propagation in squid
Squid

Squid are marine cephalopods of the order Teuthida, which comprises around 300 species. Like all other cephalopods, squid have a distinct head, Symmetry #Bilateral_symmetry, a mantle , and cephalopod arms....
 nerves.

Symbol

The symbol for Schmitt triggers in circuit diagrams is a triangle with a hysteresis
Hysteresis

A system with hysteresis can be summarized as a system that may be in any number of states, independent of the inputs to the system. To be exact, a system with hysteresis exhibits path-dependence, or "rate-independent memory"....
 symbol. The symbol depicts a typical hysteresis curve.

 


When the Schmitt trigger is inverting (i.e., when very negative inputs lead to positive outputs and vice versa), the hystersis symbol is top–bottom mirrored.

Comparator implementation


Today Schmitt triggers are typically built around comparator
Comparator

In electronics, a comparator is a device which compares two voltages or Electric currents and switches its output to indicate which is larger....
s, connected to have positive feedback instead of the usual negative feedback. For this circuit the switching occurs near ground, with the amount of hysteresis
Hysteresis

A system with hysteresis can be summarized as a system that may be in any number of states, independent of the inputs to the system. To be exact, a system with hysteresis exhibits path-dependence, or "rate-independent memory"....
 controlled by the resistances
Resistor

|- align = "center"||width = "25"|| |- align = "center"||| Potentiometer|- align = "center"| || |- align = "top"| Resistor|| Variable resistor...
 of R1 and R2:

Opampschmitt Xcircuit
The comparator gives out the highest voltage it can, +VS, when the non-inverting (+) input is at a higher voltage than the inverting (-) input, and then switches to the lowest output voltage it can, -VS, when the positive input drops below the negative input. For very negative inputs, the output will be low, and for very positive inputs, the output will be high, and so this is an implementation of a "non-inverting" Schmitt trigger.

For instance, if the Schmitt trigger is currently in the high state, the output will be at the positive power supply rail (+VS). V+ is then a voltage divider between Vin and +VS. The comparator will switch when V+=0 (ground). Current conservation shows that this requires

Vin/R1 = -VS/R2,


and so Vin must drop below -(R1/R2)VS to get the output to switch. Once the comparator output has switched to -VS, the threshold becomes +(R1/R2)VS to switch back to high.

Hysteresis Sharp Curve
So this circuit creates a switching band centered around zero, with trigger levels ±(R1/R2)VS. The input voltage must rise above the top of the band, and then below the bottom of the band, for the output to switch on and then back off. If R1 is zero or R2 is infinity (i.e., an open circuit
Open circuit

The term Open circuit may refer to:*Open-circuit voltage, the difference of electrical potential between two terminals of a device when there is no external load connected...
), the band collapses to zero width, and it behaves as a standard comparator. The output characteristic is shown in the picture on the right. The value of the threshold T is given by (R1/R2)VS and the maximum value of the output M is the power supply rail.

A possible structure of a more realistic configuration is the following:

Opampschmitt Realistic Xcircuit
The output 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 diode
Zener diode

A Zener diode is a type of diode that permits electric current in the forward direction like a normal diode, but also in the reverse direction if the voltage is larger than the breakdown voltage known as "Zener knee voltage" or "Zener voltage"....
s: this way the output can be modified and it is much more stable. The resistor R3 is there to limit the current through the diodes, while R4 is there to minimize the input voltage offset caused by the op-amp's input bias currents (see Limitations of real op-amps
Operational amplifier

An operational amplifier, which is often called an op-amp, is a direct current-Direct coupling high-gain electronic voltage electronic amplifier with differential inputs and, usually, a single output....
).

The comparator-based implementation of a relaxation oscillator
Relaxation oscillator

A relaxation oscillator is an electronic oscillator in which a capacitor is charged gradually and then discharged rapidly. It is usually implemented with a resistor or current source, a capacitor, and a "threshold" device such as a neon lamp, diac, unijunction transistor, or Gunn diode....
 is shown below.

Here, a comparator-based Schmitt trigger is used in its inverting configuration. That is, the input and ground are swapped from the Schmitt trigger shown above, and so very negative signals correspond to a positive output and very positive signals correspond to a negative output. Additionally, slow negative feedback
Negative feedback

Negative feedback feeds part of a system's output, inverted, into the system's input; generally with the result that fluctuations are attenuated....
 is added with an RC network. The result, which is shown on the right, is that the output automatically oscillates from VSS to VDD as the capacitor charges from one Schmitt trigger threshold to the other.

Schmitt trigger with two transistors


A Schmitt trigger is still frequently made using two transistors as shown. The chain RK1 R1 R2 sets the base voltage for transistor T2. This divider, however, is affected by transistor T1, providing higher voltage if T1 is open. Hence the threshold voltage for switching between the states depends on the present state of the trigger.

Schmitt With Transistors
For NPN transistors as shown, when the input voltage is well below the shared emitter voltage, T1 does not conduct. The base voltage of transistor T2 is determined by the mentioned divider. Due to negative feedback, the voltage at the shared emitters must be almost as high as that set by the divider so that T2 is conducting, and the trigger output is in the low state. T1 will conduct when the input voltage (T1 base voltage) rises slightly above the voltage across resistor RE (emitter voltage). When T1 begins to conduct, T2 ceases to conduct, because the voltage divider now provides lower T2 base voltage while the emitter voltage does not drop because T1 is now drawing current across RE. With T2 now not conducting the trigger has transitioned to the high state.

With the trigger now in the high state, if the input voltage lowers enough, the current through T1 reduces, lowering the shared emitter voltage and raising the base voltage for T2. As T2 begins to conduct, the voltage across RE rises, further reducing the T1 base-emitter potential and T1 ceases to conduct.

In the high state, the output voltage is close to V+, but in the low state it is still well above V-. This may not be low enough to be a "logical zero " for digital circuits. This may require additional amplifiers following the trigger circuit.

The circuit can be simplified: R1 can be omitted, connecting the T2 base directly to the T1 collector, and the connection of the T2 base to V- via R2 can be completely omitted. When T1 conducts, it connects the T2 base to the T2 emitter so that T2 does not conduct. When T1 does not conduct, RK1 pulls up the T2 base and T2 conducts.

Use as an oscillator


Schmitt triggers are sometimes used to implement a simple type of relaxation oscillator
Relaxation oscillator

A relaxation oscillator is an electronic oscillator in which a capacitor is charged gradually and then discharged rapidly. It is usually implemented with a resistor or current source, a capacitor, and a "threshold" device such as a neon lamp, diac, unijunction transistor, or Gunn diode....
, or multivibrator
Multivibrator

A multivibrator is an electronic circuit used to implement a variety of simple two-state systems such as oscillators, timers and flip-flop s. It is characterized by two amplifying devices cross-coupled by resistors and capacitors....
. This is achieved by connecting a single resistor
Resistor

|- align = "center"||width = "25"|| |- align = "center"||| Potentiometer|- align = "center"| || |- align = "top"| Resistor|| Variable resistor...
-capacitor
Capacitor

A capacitor or condenser is a Passive component electronic component consisting of a pair of electrical conductor separated by a dielectric....
 network to an inverting Schmitt trigger – the capacitor connects between the input and ground and the resistor connects between the output and the input. The output will be a continuous square wave
Square wave

A square wave is a kind of non-sinusoidal waveform, most typically encountered in electronics and signal processing. An ideal square wave alternates regularly and instantaneously between two levels....
 whose frequency
Frequency

Frequency is the number of occurrences of a repeating event per unit time. It is also referred to as temporal frequency.The period is the duration of one cycle in a repeating event, so the period is the reciprocal of the frequency....
 depends on the values of R and C, and the threshold points of the Schmitt trigger. Since multiple Schmitt trigger circuits can be provided by a single integrated circuit
Integrated circuit

In electronics, an integrated circuit is a miniaturized electronic circuit that has been manufactured in the surface of a thin Wafer of semiconductor material....
 (e.g. the 4000 series
4000 series

The 4000 series is a family of industry standard integrated circuits which implement a variety of logic gate functions using CMOS technology. They were introduced by RCA as CD4000 COS/MOS in 1968, as a lower power and more versatile alternative to the 7400 series of transistor-transistor logic logic chips....
 CMOS
CMOS

Complementary metal?oxide?semiconductor , is a major class of integrated circuits. CMOS technology is used in microprocessors, microcontrollers, Static Random Access Memory, and other digital logic circuits....
 device type 40106 contains 6 of them), a spare section of the IC can be quickly pressed into service as a simple and reliable oscillator with only two external components.

Devices that include a built-in Schmitt trigger


The following 7400 series
7400 series

The 7400 series of Transistor-transistor logic integrated circuits are historically important as the first widespread logic family of TTL integrated circuit logic ....
 devices include a Schmitt trigger on their input or on each of their inputs:

  • 7413: Dual Schmitt trigger 4-input NAND Gate
  • 7414: Hex Schmitt trigger Inverter
  • 7419: Hex Schmitt trigger Inverter
  • 74121: Monostable Multivibrator with Schmitt Trigger Inputs
  • 74132: Quad 2-input NAND Schmitt Trigger
  • 74221: Dual Monostable Multivibrator with Schmitt Trigger Input
  • 74232: Quad NOR Schmitt Trigger
  • 74240: Octal Buffer with Schmitt Trigger Inputs and Three-State Inverted Outputs
  • 74241: Octal Buffer with Schmitt Trigger Inputs and Three-State Noninverted Outputs
  • 74244: Octal Buffer with Schmitt Trigger Inputs and Three-State Noninverted Outputs
  • 74310: Octal Buffer with Schmitt Trigger Inputs
  • 74540: Octal Buffer with Schmitt Trigger Inputs and Three-State Inverted Outputs
  • 74541: Octal Buffer with Schmitt Trigger Inputs and Three-State Noninverted Outputs


A number of 4000 series
4000 series

The 4000 series is a family of industry standard integrated circuits which implement a variety of logic gate functions using CMOS technology. They were introduced by RCA as CD4000 COS/MOS in 1968, as a lower power and more versatile alternative to the 7400 series of transistor-transistor logic logic chips....
 devices include a Schmitt trigger on inputs, for example:
  • 14093: Quad 2-Input NAND
  • 40106: Hex Inverter
  • 14538: Dual Monostable Multivibrator
  • 4020: 14-Stage Binary Ripple Counter
  • 4024: 7-Stage Binary Ripple Counter
  • 4040: 12-Stage Binary Ripple Counter
  • 4017: Decade Counter with Decoded Outputs
  • 4022: Octal Counter with Decoded Outputs


Dual Schmitt input configurable single-gate CMOS logic, AND, OR, XOR, NAND, NOR, XNOR
  • NC7SZ57 Fairchild
  • NC7SZ58 Fairchild
  • SN74LVC1G57 Texas Instruments
  • SN74LVC1G58 Texas Instruments


See also

  • Relaxation oscillator
    Relaxation oscillator

    A relaxation oscillator is an electronic oscillator in which a capacitor is charged gradually and then discharged rapidly. It is usually implemented with a resistor or current source, a capacitor, and a "threshold" device such as a neon lamp, diac, unijunction transistor, or Gunn diode....
  • Bistable multivibrator


External links