EE 2115-01 - Lec 11 - 2026_09_18
Overview
Hiren Trada explains comparator operation through the rule that the output switches to the positive rail when V+ exceeds V− and to the negative rail when V− exceeds V+. He compares resistor pull-ups with complementary transistor switching, introduces CMOS inverter operation, and analyzes an LTspice comparator with ±5 V rails and a 100 mV, 1 kHz sine-wave input; the class concludes with semiconductor manufacturing career paths at companies including TSMC, Intel, Samsung, and Micron.
Key takeaways
- A comparator's output is determined by input ordering: V+ greater than V− selects the positive rail, and V− greater than V+ selects the negative rail.
- Comparator inputs control the output decision, but the output's energy comes from the external power supply, not from the input signal.
- A continuously conducting pull-up resistor wastes steady-state power; complementary push-pull switches reduce that loss by keeping one switch off while the other is on.
- A CMOS inverter pairs P-channel and N-channel MOSFETs so a low input produces a high output and a high input produces a low output.
- With ±5 V supplies, VIN+ grounded, and a 100 mV, 1 kHz sine wave on VIN−, the comparator produces a rail-to-rail square wave, positive during negative input half-cycles and negative during positive half-cycles.
- Semiconductor fabrication offers cross-disciplinary career opportunities, but facilities require major capital investment, with ASML EUV lithography machines costing approximately $180 million to $300 million.
Chapters
- Hiren Trada says quizzes will likely occur weekly on Wednesdays, with confirmation about the first quiz to come by announcement.
- The class reviews dual power supplies, a foundation for understanding comparators and op amps.
- When V+ exceeds V−, the comparator output switches to the positive supply rail; when V− exceeds V+, it switches to the negative rail.
- Comparator input terminals make the decision, while separate power-supply terminals provide the energy and voltage levels available at the output.
- The input difference can be very small, such as 1 mV versus 2 mV, while the output switches to system-level supply voltages.
- A decision-making circuit controls a semiconductor switch according to the relative input voltages.
- In the illustrated pull-up arrangement, the output connects to VCC through a resistor when the lower switch is off.
- When V− exceeds V+, the switch turns on and connects the output to the negative rail, VE.
- A pull-up resistor continuously dissipates power in the described circuit because current flows through it at steady state.
- Replacing the resistor with a complementary transistor switch reduces steady-state power loss: one switch is on while the other is off.
- The paired switches form a push-pull output stage that selects between supply rails.
- Bipolar junction transistors use PNP or NPN semiconductor structures and conduct through both positive and negative charge carriers.
- MOSFETs are available as N-channel and P-channel devices; pairing complementary N-channel and P-channel transistors forms CMOS.
- A CMOS inverter applies the same input to both transistor gates: low input turns on the P-channel device and pulls the output high, while high input turns on the N-channel device and pulls it low.
- The simulation uses a dual supply with a grounded midpoint, setting VCC to +5 V and VE to −5 V.
- VIN+ is held at 0 V while VIN− receives a 100 mV sine wave at 1 kHz, so it alternates above and below the reference.
- A sine wave repeats 1,000 times per second in this example and has peaks of +100 mV and −100 mV.
- The comparator output is a two-level waveform, switching between +5 V and −5 V rather than following the sine-wave shape.
- With VIN+ at 0 V, a positive VIN− makes V− greater and drives the output to −5 V; a negative VIN− drives the output to +5 V.
- Because the input sine wave spends equal time above and below zero, the output is a square wave with equal high and low durations.
- LTspice plots the input and output over a 3 ms interval, and students are expected to run the simulations themselves.
- Trada describes Cal Poly's cleanroom as a semiconductor fabrication facility and notes that related interdisciplinary classes have limited seats and are typically offered once a year.
- He points to hiring and manufacturing activity at TSMC in Arizona, Intel in Arizona and Ohio, Samsung in Texas, and Micron in Idaho.
- Semiconductor manufacturing employs engineers, technicians, and supply-chain workers across engineering and scientific fields.
- Extreme ultraviolet lithography machines made by Dutch company ASML cost roughly $180 million to $300 million each, illustrating the scale of investment in fabrication facilities.
Transcript excerpt
0:00 So, uh, going forward, uh, most likely I'll have quizzes, I want to say every week, but depends on how much material we cover. Um, so more likely than not, it'll be on Wednesday. I like to do it on Mondays, but my schedule Monday is like, you know, from 8 to 11 I have lab, 11 to 12 I have a short break, and then from 12 to 4:00 p.m. I have classes. So there's no way for me to like come in, prepare, pick a print out, and get ready for the quizzes on Mondays. Uh so most likely it'll be Wednesday. Uh whether we'll have quiz one this Wednesday or not, I will uh post an an announcement and I'll let you know by tonight or latest by tomorrow afternoon. Okay.
0:51 All right. Let's see. So, one page competitor this time. Let's go into section one. Did anyone have any questions about this? I want to make sure everybody understands this concept of dual power supply, positive and negative power supplies. Uh before I move forward, this is going to be very important for competitors as well as op amps. Okay.
2:05 All right. So, voltage comparators just a quick recap one sentence. It compares two two voltage levels and the output uh gets connected to either the positive rail or the negative rail. So, positive is Positive is always here. Negative is always there. When we say negative, positive is obvious. Something greater than zero. The negative could mean either zero or it could mean less than zero. Okay? So when we say positive and negative, that's what we're referring to. So the output of a comparator switches between the positive rail and the negative rail
2:53 depending on what the input is. In terms of the inputs, there are two terminals.
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.