Electronic – Working of Hex Schmitt−Trigger Inverter as a Sawtooth and Square Wave Producer

schmitt-triggerwaveform

Can someone explain how a Schmitt Inverter can behave as a Sawtooth (on pin 1) and a Square wave (on pin 2) as produced in a circuit where we have a Capacitor between pin 1 and GND, and a resistor between pin 1 & 2.

enter image description here

Best Answer

The sawtooth is actually positive and negative exponential decays, not lines. However, for many purposes this is close enough to a sawtooth.

To visualize this better, let's do a example with hard numbers. Let's say this is a ideal Schmitt trigger inverter running from 5 V with thresholds at 2 and 3 volts. Let's start with the input at 0 (the cap discharged). This will make the output high, so now the cap charges up with a exponential decay towards 5 V. When it gets to 3 V, the inverter output will go low. Now the cap discharges with a exponential decay towards 0. When it gets to 2 V, the output will go high until the cap reaches 3 V.

This process of charging, discharging, charging, etc between 2 and 3 volts will repeat indefinitely. The charge and discharge times are the same, so the output will be a square wave.

Each charge and discharge is terminated 1/3 of the way to the final value, which is .41 time constants. With the values you show of 1 µF and 100 Ω, the time constant is 100 µs. Each phase will therefore last 41 µs. The period will be 81 µS, and the frequency will be 12 kHz.

Keep in mind that the 2 V and 3 V thresholds were only numbers for the example above. See the datasheet for the real thresholds, from which you can compute the real high and low times, and from that the period and frequency. Also note that 100 Ω is a excessive load for most real inverters.