1
\$\begingroup\$

I built a simple op-amp circuit using LM324 (SO-14 package). The structure of the circuit is shown below and Vout = 1.65 + 3.3*Vi. I first used 3.3V single power supply as Vcc and applied a signal 0.125+0.125*sin(t) to Vi. The Vout was suppose to be 2.0625 + 0.4125*sin(t). However, the actual output was capped at about 2.0V and only the lower half of sin(t) was correct. Assuming VCC might not be high enough, I changed VCC to 5V and this time, Vout was correct as full sin wave with offset at about 2.0V.

Since the LM324 datasheet says it supports single power supply from 3V to 30V, how come the Vout was capped at about 2.0V when VCC was 3.3V?

All resistors are in kilo ohms and I think there shouldn't be any current driving capability issue.

enter image description here

\$\endgroup\$
  • \$\begingroup\$ You should read the datasheet again, this time specifically looking for output voltage swing specifications. \$\endgroup\$ – PlasmaHH Dec 8 '16 at 9:35
  • \$\begingroup\$ Did u ensure that the common mode voltage is between 0 to (Vcc - 1.5) V as given in page 5 of ti.com/lit/ds/symlink/lm124-n.pdf \$\endgroup\$ – user3219492 Dec 8 '16 at 9:37
  • \$\begingroup\$ @PlasmaHH, thanks for the reminding. I should have read it more carefully. I will try to get another chip. \$\endgroup\$ – roTor-roTor Dec 8 '16 at 10:20
3
\$\begingroup\$

The output of your opamp is not rail to rail. Checkout the datasheet, first page:

Large Output Voltage Swing 0 V to V+ − 1.5 V

If you have a look at the schematic you see a darlington high side output stage, Q5 and Q6, in series with a short circuit protection resistor, Rsc.

Since the base of Q5 can't be higher than 3V, if the transistors are in the linear region you get two Vbe drops to the top of Rsc, which is about 1.4V, then the drop on Rsc, depending on the load current.

You were lucky to get up to 2V, actually, and the transistors were barely on.The minimum output current is 20mA, try to add a 100Ohm resistor as load and see what happens.

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ I should have read the datasheet more carefully. Thanks for the explanations. I will try to get another chip. \$\endgroup\$ – roTor-roTor Dec 8 '16 at 10:18
  • \$\begingroup\$ Yep, that datasheet is from 2000. Nothing wrong in using old chips but well... I wouldn't call that swing 'large' \$\endgroup\$ – Vladimir Cravero Dec 8 '16 at 11:48
  • \$\begingroup\$ "I wouldn't call that swing 'large'." When you consider the output can swing from 0V to over 30V when V+ is 32V, I'd call that large compared to other electronic devices. \$\endgroup\$ – Kevin Fegan Dec 8 '16 at 17:09
2
\$\begingroup\$

LM324 does not have a rail-to-rail output. This means it cannot supply the full 3,3V (VCC) and cannot go to 0V (-VCC/GND) in this circuit.

Solution: Get a rail-to-rail op-amp or reduce the gain.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.