Weird LM358 (clone) behaviour, output rises when difference amplifier goes negative
That one made me scratch my head for some time.
It happens when we use a voltage difference scheme
All of a sudden, the ouput raises while the difference is zero or negative
i.e. with all resistors = 1k
When v1=0, and v1 > v2, Vout is raising instead of being zero
WTF ?
It boils down to two lines in the LM358p datasheet :
* "Output Source : 40 mA"
* "Output Sink : 50 uA with low output"
What does it mean ?
If the OpAmp outputs current, like a simple non inverting amplifier, it will max out at 40 mA.
So with a 1k Resistor, 40V. Not a problem
But, in the case of a difference amplifier, it might want to lower the voltage compared to the "-" pin
In that case, also with a 1k Resistor, it can lower by 50 uA*1k = 50 mV maximum !
It means that if the "-" pin is higher than 50mv compared to the + pin, it will pull the output up
Example:
-Pin=3v
+pin=0v
Output should be zero, it is ~ 3v.
How to fix it ?
Simple, use larger resistors.
The aim os that 50uAxResistor is big compared to the "-" pin.
For example, Instead of 1k, use 20k or 100k.
Comments
Post a Comment