I made this circuit but no matter what the input Voltage is, the output stays high and the led lights. Is it because of the offset voltage ? And where to connect the offset nulls to make the output zero? It did not work when I connected the to ground

- 321
- 2
- 5
- 12
-
What LED? Use the schematic editor to create a complete and accurate depiction of what you built, and also we need to know the input voltage range you applied. – Spehro Pefhany Feb 22 '19 at 09:47
-
1What are "offset nulls" ? (I know what you mean but I want you to explain better what you want). There is no **LED** in the schematic. What is the circuit supposed to do? A 741 is an **opamp** not a comparator. Connect what to ground? Also go read: https://electronics.stackexchange.com/questions/304521/reasons-not-to-use-a-741-op-amp/304634#304634 – Bimpelrekkie Feb 22 '19 at 09:48
-
i am sorry i forgot to say i fed the output to a led . what do u mean it is an op amp not a comparator ? can't it work as a comparator ? and if it doesn't what should i use instead – Gh-B Feb 22 '19 at 12:03
-
1Gh, if you don't show us the whole circuit, or at least the while *relevant* circuit, we are forced to guess what it going on. The output is "fed" to an LED. That could mean many different things. Just show it with a diagram. – Bort Feb 25 '19 at 13:50
-
i put the simulation of the circuit just as i did it – Gh-B Feb 25 '19 at 14:46
-
1Don't use a 741, that's about the worst choice you could make, _especially_ for a comparator. – Hearth Feb 25 '19 at 14:51
-
2Your two schematics are not the same. The one you used in the simulation is extremely unlikely to work, the other one clearly does. – Edgar Brown Feb 25 '19 at 18:30
-
i didi the two circuit but u say the second one should work but it doesn't . i just read that the 741 can be used as a comparator and wanted to try but i think it doesn't work – Gh-B Feb 26 '19 at 08:32
1 Answers
An ideal opamp-based comparator multiplies its input difference (Vdiff = Vi-pos – Vi-neg) by its open-loop gain (Ao).
But there's always a non-zero offset voltage (Vos) which should be added to Vdiff. So the actual comparison equation turns into Vout = Ao (Vdiff + Vos). This equation tels us that;
If Vdiff +Vos if greater than zero then Vout will hit the positive supply rail.
Likewise, if Vdiff +Vos is lesser than or equal to zero then Vout will hit the negative supply rail.
Thus, even if Vdiff is zero then the output will hit either negative or positive rail depending on the sign of Vos.
As for your question, since the output hits to the positive supply rail when Vi-neg = 6 VDC regardless the value of Vi-pos, the source of the problem shouldn't be the offset voltage.
You may try adding a potentiometer to zeroe the Vos like following anyway:

- 26,954
- 3
- 25
- 67
-
then what could be the problem ? and can't i realy use the 741 as a comparator ? – Gh-B Feb 24 '19 at 09:16
-
The biggest problem is to use 741 even in 2019! Anyway, to have the comparator outputting high the positive input terminal should be greater than 6VDC. But you say `no matter what the input Voltage is, the output stays high`. So it's clear that the problem is not about Vos. I suggest you to use a different, modern-day opamp (e.g. LM358). – Rohat Kılıç Feb 24 '19 at 15:59
-
-
@Gh-B most likely, yes. Please note that you should never leave the positive input floating. – Rohat Kılıç Feb 25 '19 at 15:08
-
-
1@Gh-B "floating" means "connected to nowhere". At least place a resistor (e.g. 10k) between positive input and the ground. This prevents the comparator to pick up *(because of extremely high input impedance)* noise from outside world. – Rohat Kılıç Feb 26 '19 at 15:17