EE 2115-01 - Lec 15 - 2026_09_30
Overview
Hiren Trada explains how positive feedback turns an inverting comparator into a Schmitt trigger, or hysteretic comparator, whose output switches at separate upper and lower thresholds rather than reacting to every input fluctuation. He derives how resistor values and a reference voltage set the hysteresis window, verifies the behavior in LTspice, and works through a single-supply design with a 2 V window, a 4 V set point, and a 10 V supply.
Key takeaways
- Positive feedback makes a comparator's threshold depend on its output state, creating separate upper and lower switching limits.
- A Schmitt trigger rejects input changes inside its hysteresis window, reducing noise-driven output chatter and rapid on/off cycling.
- For the worked single-supply design, a 10 V supply, 100 kΩ R2, and 25 kΩ R1 produce a 2 V window centered at a 4 V set point.
- A 3.75 V reference can be generated from the 10 V supply with a divider designed for a 3.75 V Thevenin voltage and 25 kΩ equivalent resistance.
- Real comparator behavior includes device-level hysteresis as well as deliberately designed feedback; the LTspice example shows roughly 100 mV intrinsic hysteresis alongside the added window.
Chapters
- A comparator compares its inverting (V−) and non-inverting (V+) inputs and drives its output toward a supply rail.
- For an inverting comparator, the output goes positive when V− exceeds V+ and goes low when V+ exceeds V−.
- Earlier examples use a fixed reference input; practical signals may both vary over time.
- The Schmitt-trigger circuit feeds part of its output back to V+ through a 100 kΩ and 5.1 kΩ voltage divider.
- The divider returns only a fraction of the output voltage, making the comparator threshold depend on its current output state.
- Negative feedback is commonly used to make op-amp amplifiers, while positive feedback is also used in oscillator circuits.
- Hysteresis means a system's output depends on its input and its present or past output state.
- A thermostat set near 72°F could otherwise switch cooling rapidly as temperature fluctuates around the set point.
- Using distinct turn-on and turn-off temperatures (for example, around 73°F and 71°F) adds tolerance and reduces cycling.
- With the output high, feedback shifts V+ to about +0.24 V; the input must cross that threshold to switch the output.
- As the input moves in the opposite direction, the output does not switch back until the lower threshold, about −0.24 V, is crossed.
- The two transition levels are the upper and lower limits; their difference is the hysteresis window, which rejects smaller fluctuations.
- An LTspice comparison shows an ordinary comparator switching repeatedly near its threshold, unlike the hysteretic circuit.
- The simulated input is a sine wave, and the hysteretic comparator produces a cleaner rectangular output despite input variation.
- The component itself contributes roughly 100 mV of hysteresis; together with designed feedback, the illustrated transitions are approximately −270 mV and +270 mV.
- A noisy input near a normal comparator's threshold can cause repeated unwanted output transitions.
- The example's output toggles up and down as the input fluctuates, analogous to a compressor repeatedly turning on and off.
- With a hysteresis window, the input must cross the opposite threshold before the output changes state, preventing chatter from smaller noise.
- With a single supply, the comparator output switches between 0 V and VDD rather than between positive and negative rails.
- A resistor network connects Vreference and Vout to V+, so the feedback voltage depends on both sources.
- The upper and lower thresholds determine the window width, while Vreference lets the designer position the switching levels around a chosen set point.
- The design targets a 2 V hysteresis window centered at 4 V, giving a lower threshold of 3 V and an upper threshold of 5 V.
- For VDD = 10 V and R2 = 100 kΩ, the window equation gives R1 = 25 kΩ.
- The required reference voltage is 3.75 V; the resistor values and reference are then checked against the intended thresholds.
- Instead of adding a separate 3.75 V source, a divider from the 10 V supply can generate the reference.
- The divider is designed for a 3.75 V Thevenin voltage and a 25 kΩ equivalent resistance, using 66.67 kΩ and 40 kΩ ideal resistor values.
- Standard 68 kΩ and 39 kΩ parts are close alternatives; series or parallel combinations can provide closer values when needed.
- The Schmitt trigger is named for Otto Herbert Schmitt, who developed the circuit as part of his doctoral dissertation.
- LTspice can verify that the supply-derived reference and resistor network preserve the intended switching window.
- Starting the following week, a short quiz is scheduled every Wednesday, typically under five minutes, except during the week of Midterm 2.
Transcript excerpt
0:00 Okay, good afternoon. Uh, today we are going to continue with comparators. Um, and this is going to be a different version of a comparator. A practical implementation. Uh, by the way, I also discovered why I have been running late. Apparently, my computer work computer is not synced. So, it's about 4 minutes behind time. I just discovered that. I was uh working. I was taking some notes and a colleague who just came back from class was like aren't you learning late for your class like no I still have like more than 10 minutes to go like no no look at the time that's when I discovered that I computer needs to sync anyway all right so slide here
0:48 uh in the slides I mean today is actually uh the 15th lecture plus um the Monday exam. So actually the 16th day but in the slides we are at lecture 12. Okay. So the video might say lecture 15 but the slides are for lecture 12. So just make note of that. Okay. Okay, so comparators uh brief recap. We have a component that has two inputs and it compares the voltage levels of the two inputs and then um decides the output based on the uh difference of those levels. So one input is labeled as negative, the other one is labeled as positive. Uh the negative is also referred to as
1:35 inverting and the positive is referred to as non-inverting. Okay. So negative in this sense simply inverting or non-inverting. So if the VN minus is greater than V in plus output goes to the positive rail which is + 5 volt. If V in plus is greater sorry if V in minus is greater then output goes to minus 5 volt. If V in plus is
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Hiren Trada.