
How exactly does a comparator work? - Electrical Engineering Stack …
Apr 12, 2015 · How exactly does a comparator work? Comparators have many uses and its concept is not too hard to grasp. What I don't understand however is how exactly it compares two voltages. …
operational amplifier - LM358 comparator circuit - Electrical ...
Jan 21, 2025 · I drew the following circuit using LM358 opamp in order to understand the comparator behavior. I have few questions regarding the circuit below: How should I wire the unused opamp? …
schmitt trigger - How to calculate hysteresis of a comparator ...
Oct 16, 2024 · How to explore it The best way to understand this idea is to try implementing hysteresis step by step in your op-amp inverting comparator circuit. Let's simulate each step with a separate …
What is the purpose of pulling up the output of a comparator to VCC ...
Aug 23, 2025 · The LM311 device is a comparator with an uncommited transistor output. This means that the output pin needs a pull-up resistor so that it can create a voltage signal and also pin 1 (the …
Hysteresis on inverting terminal for comparator circuits?
Jan 9, 2024 · If you examine 98% of circuits online that include hysteresis for a comparator, they always implement the hysteresis on the non-inverting input, like so: This is easy enough to calculate. …
Can someone explain how this transistor comparator works?
Apr 10, 2015 · The circuit is a comparator and can be remarkably useful more or less as shown. I have used a circuit essentially the same as that in production equipment to meet a requirement which was …
operational amplifier - LM393 comparator not pulling down - Electrical ...
Aug 13, 2025 · A voltage divider is fixing the non-inverting input at 1.65V. Even at 2.5V at the inverting input of the open-collector LM393 comparator, it's not pulling down to 0V (actually pulling the voltage to
What is the difference between a general comparator and a differential ...
6 I notice that the LM339 quad comparator comes in 2 different varietys: general-purpose and differential. Besides a big difference in price, what is the difference between the two? Specifically, I …
Ideal comparator with hysteresis in LTspice - Electrical Engineering ...
May 2, 2023 · I prepared my own ideal comparator with hysteresis and it seems this comparator doesn't work OK. Can you tell me what is wrong with it? Here is the schematic of my comparator: When I use …
Difference between differential op amp and comparator
Oct 9, 2015 · What is the difference between a differential op amp and a comparator? I know a comparator can only give me two values (the supply values). The differential op amp amplifies the …