Schmitt Inverter

Not rated 28,283

Circuit Image

The Schmitt trigger is a specialized circuit that functions as a switch, altering its state at two distinct voltage thresholds known as the upper and lower thresholds, or the positive and negative-going thresholds. The difference between these two threshold levels is referred to as the hysteresis voltage. The Schmitt trigger remains inactive for any input voltage level that falls within the range between these two thresholds, which corresponds to the "forbidden zone" for a 74C/HC14. It can be conceptualized as two comparators controlling an RS flip-flop at the output, as evidenced by the schematic design of the 74C14. The upper threshold comparator sets the output latch, while the lower threshold comparator resets it. Each of the six inverters in the 74C14 Schmitt trigger comprises 12 MOSFETs, making it comparable in complexity to a discrete version using three transistors and 11 additional components. The threshold parameters of the 74HC14 are typically a fixed ratio of Vcc, simplifying its functionality. Consequently, the 74HC14 Schmitt trigger is widely regarded as one of the most efficient devices for interfacing real-world signals with digital electronics. Notably, it is possible to modify the thresholds of a 74HC14 using negative feedback from the output to the input. For instance, incorporating a 5.1M resistor from output to input along with a 1M input resistor provides approximately 15% negative feedback, which, when subtracted from the internal 30% positive feedback, effectively shifts the thresholds to around 2.1V and 2.9V when Vcc is set to 5V. This adjustment is particularly beneficial for signals with smaller transitions than the standard 74HC14 hysteresis voltage. Beyond the 74HC14, several methods exist for implementing a Schmitt trigger in CMOS logic. The simplest method involves utilizing a non-inverting buffer such as the 74HC245, where a 3M resistor is connected from output to input to introduce positive feedback, which is combined with the input signal through a 1M series resistor. These resistor values yield the same thresholds as a 74HC14, although the input resistance is 4M to GND or Vcc, depending on the current output state. An alternative circuit can be realized using two inverters, like the 74HC240 version, which also generates the necessary positive feedback through two inversions of the signal. Both the true and inverted output signals are accessible. A variation of this circuit includes adding negative feedback with a 4.7M resistor from the inverted output to the input, which mitigates part of the positive feedback and diminishes the hysteresis voltage while allowing for a larger input resistor. Ideal amplifiers, known as operational amplifiers (op-amps), can also be employed to create a straightforward Schmitt trigger. However, it is essential to focus on the underlying mechanisms of a transistor Schmitt trigger. The basic Schmitt trigger circuit, as illustrated by Richard Piotter, consists of two inverters (NPN and PNP), which provide a double inversion to the input signal. The output of the second stage is fed back and combined with the input signal and a resistor to ground, with the resistors forming a voltage divider that determines the input voltage required to surpass the 0.6V threshold of the NPN base-emitter junction, thus turning the transistor on or off. With the specified values, the positive-going threshold is 1.95V, and the negative-going threshold is 1.34V, assuming a Vcc of 5V.

The Schmitt trigger circuit is crucial in digital electronics for signal conditioning, particularly in noisy environments. It provides a clean transition between high and low states, effectively eliminating false triggering due to noise or voltage fluctuations. The hysteresis effect ensures that once the input signal crosses the upper threshold, the output will remain high until the input drops below the lower threshold, thus providing a stable output.

In practical applications, Schmitt triggers are often used in waveform shaping, debouncing switches, and interfacing sensors with microcontrollers. The adaptability of the 74HC14 and similar devices to modify thresholds allows for tailored performance in various applications, accommodating different signal characteristics and improving reliability in digital systems. The ability to implement Schmitt triggers using both discrete components and integrated circuits provides versatility, making them essential components in modern electronic designs.The Schmitt trigger is a special circuit which acts like a switch that changes state at two different thresholds. These are called the upper and lower threshold or the positive and negative going threshold. The difference in these two threshold levels is called the hysteresis voltage. The Schmitt trigger does not react to any input voltage leve l in the range between the two thresholds, which for a 74C/HC14 corresponds precisely to the " forbidden zone ". A Schmitt trigger can also be likened to two comparators controlling an RS flip-flop at the output. In fact, the schematic of the 74C14 shows it to be designed that way. The upper threshold comparator sets the output latch and the lower threshold comparator resets the output latch.

Each of the six inverters in a 74C14 Schmitt trigger uses 12 MOSFETs, so by comparison the discrete version of the Schmitt trigger using 3 transistors and 11 other components is about as complex. Normally the 74HC14 threshold parameters are a fixed ratio of Vcc. This keeps the device functionally simple and as a result the 74HC14 Schmitt trigger is one of the most popular devices for interfacing real world signals to digital electronics.

It just doesn`t get any simpler compared to the other versions we will discuss. However it is a little known fact that it is possible to alter the thresholds of a 74HC14 by using negative feedback from output to input. For example, by adding a 5. 1M resistor from output to input and a 1M input resistor this will provide about 15% negative feedback.

That is subtracted from the internal 30% positive feedback and with Vcc =5V, it effectively changes the thresholds at the input of the 1M resistor to approximately 2. 1V and 2. 9V. Very useful if the signal of interest has smaller transistions than the normal 74HC14 hysteresis voltage.

Beside the 74HC14, there are a number of ways to implement a Schmitt trigger in CMOS logic. The simplest is to use a non-inverting buffer like the 74HC245 and connect a 3M resistor from output to input to provide positive feedback which is summed with the input signal through the 1M series resistor. These values will give the same thresholds as a 74HC14 but keep in mind the input resistance is 4M to GND or Vcc depending on the current output state.

The same circuit can be achived with two inverters like the 74HC240 version shown. The two inversions of the signal generate the required positive feedback. Both the true and inverted output signals are available. One variation on the last circuit is to add some negative feedback with a 4. 7M resistor from the inverted output to the input. This cancels out part of the positive feedback and reduces the hysteresis voltage while permitting a larger input resistor. Ideal amplifiers called opamps (a. k. a. , operational amplifiers ) can be used to make a simple (compared with the discrete version) Schmitt trigger but don`t let it lure you away from the object of the exercise showing just what goes on "under the hood" of a transistor Schmitt trigger: I have included the inverting and non-inverting examples of opamp Schmitt trigger which have adjustable threshold and hysteresis voltage.

Note that in both cases the potentiometers settings interact so that the threshold and hysteresis must be adjusted by trial and error. The above diagram reproduces the basic Schmitt trigger circuit of Richard Piotter. It consist of two inverters ( NPN and PNP ) which give a double inversion to the input signal. The output of the second stage is fed back and summed with the input signal and a resistor to ground.

Think of those resistors as forming a voltage divider which determines the input voltage required to cross the 0. 6 V threshold of the NPN base emitter junction to turn the transistor on of off. With the values given the positive going threshold is 1. 95 V and the negative going threshold is 1. 34 V assuming a Vcc of 5V. The output signal at the PNP c 🔗 External reference