Issue with opamp tending towards wrong rail under load

  • Thread starter Thread starter Dextrine
  • Start date Start date
  • Tags Tags
    Load Opamp
Click For Summary

Discussion Overview

The discussion revolves around an issue with an operational amplifier (op-amp) circuit where the output voltage behaves unexpectedly under load conditions. Participants explore potential causes for the op-amp not increasing its output voltage when the non-inverting pin is higher than the inverting pin, considering various circuit configurations and component values.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant notes that the op-amp output works fine under no load but fails to increase under load, prompting questions about the circuit configuration.
  • Another participant suggests that op-amps can invert or latch when input voltages are close to supply lines and out of the common mode range, asking for details about the op-amp model and power supply connections.
  • Further inquiries are made regarding resistor and capacitor values in the circuit, indicating their potential impact on performance.
  • One participant emphasizes the absence of DC negative feedback, arguing that real op-amps cannot function correctly without it.
  • Another participant describes the op-amp's intended use as an error amplifier in a PID controller setup, detailing how the capacitor and resistor interact to adapt the duty cycle.
  • Concerns are raised about the LM324's limitations regarding input voltage ranges, with a suggestion to adjust the reference voltage.
  • A participant shares a historical lesson about the LM324 producing transient spikes when insufficiently loaded, which could affect circuit behavior.
  • Details about the specific op-amp model (LM2902) and its power supply are provided, with observations about how different load resistances affect output voltage.
  • One participant notes that the op-amp output seems to behave like the inverting pin, raising questions about the circuit's feedback loop and component interactions.
  • Another participant requests a complete circuit diagram with all component values and voltages to better diagnose the issue.
  • One participant suggests measuring AC readings to determine if the circuit behaves like a closed-loop oscillator.
  • A later reply reveals that the original poster resolved the issue by correcting a grounding mistake in the circuit, highlighting the importance of proper connections.

Areas of Agreement / Disagreement

Participants express various viewpoints regarding the causes of the op-amp's behavior, with no consensus reached on a single explanation. Multiple competing theories and suggestions are presented throughout the discussion.

Contextual Notes

Some participants highlight the need for more detailed circuit information, including component values and configurations, to fully understand the issue. There are also mentions of specific op-amp limitations and behaviors that may not apply universally.

Dextrine
Messages
102
Reaction score
7
Hello everyone,

I am having an issue where the output of the op amp for the following circuit works fine under no load and allows me stable output voltage.

When I close the switch and apply the load, the output voltage decreases (as one would expect), however, the op amp output doesn't increase so the duty cycle doesn't increase and the voltage stays constantly below my target.

Any ideas as to what would make an opamp not give a higher output when the non-inverting pin is higher than the inverting pin? Have any of you encountered something like this before?

Thanks for any help!
 

Attachments

  • Prereg.jpg
    Prereg.jpg
    68.6 KB · Views: 550
Engineering news on Phys.org
Some op-amp outputs invert or latch, when the input voltages are close to the supply lines and out of the common mode range.

What is the make and model of the op-amp ?
What are the op-amp power supplies connected to ?
What are those supply voltages relative to ground ?
 
  • Like
Likes   Reactions: Dextrine
Dextrine said:
I am having an issue where the output of the op amp for the following circuit works fine under no load and allows me stable output voltage.

upload_2016-11-10_18-47-2.png


Baluncore said:
What is the make and model of the op-amp ?
What are the op-amp power supplies connected to ?
What are those supply voltages relative to ground ?

and further to Baluncore's questions

what are the resistor values?
what is the load "resistor?" value ?
what is the capacitor value ?
what is the "output voltage on that point to the left of the reference voltage point ?Dave
 
  • Like
Likes   Reactions: Dextrine
.. and another important aspect: There is no dc negative feedback. Therefore, the circuit will NOT work in case of real opamps resp. real opamp models. Only ideal models without any offset can be used.
 
  • Like
Likes   Reactions: Dextrine
LvW said:
Only ideal models without any offset can be used.
I don't think that is the case. The op-amp is being used as an error amplifier, set up like a PID controller without the D. The capacitor forms a miller integrator, which Integrates the error voltage as charge in the capacitor, and so adapts to the required duty cycle. The series resistor provides the Proportional component.
The DC feedback passes through the PWM switched power supply that is not shown on the RHS of the diagram. That supply generates the “OutputVoltage” that enters the diagram on the LHS and so closes the feedback loop.
 
  • Like
Likes   Reactions: Dextrine and davenn
Baluncore probably nailed it in post 2.
What is supply voltage ?
I learned that exact lesson with LM324 . It'll work with inputs at negative rail(0volts) but it can't handle input within 1.5 volts of + rail . To use it with a 5 volt input you must power it from at least 6.5 volts.
Try making reference voltage = half Vsupply and adjust divider ratio at Measured voltage.
 
  • Like
Likes   Reactions: Dextrine
25 years ago I discovered that if the the output of an LM324 was insufficiently loaded, it produced a transient spike each cycle. When used as a high-Q filter, the LM324 ignored the input signal and locked to the internally generated transient spike.
 
  • Like
Likes   Reactions: Dextrine
The op amp is a lm2902 (http://www.ti.com/lit/ds/symlink/lm2902-n.pdf).

The opamp inputs are around 5V and the op amp power supply is provided from my dc power supply at 13.5V, because of this, i think it may be unlikely due to being outside the common mode range.

The loads i have tried are 250R and 1K.

At 250R, the opamp output drops down lower than at 1K load. this is odd since with 250R, the inverting pin is even lower so you'd expect the opamp output to be even higher.
 
Just confirmed that even without the load, the opamp output is increasing when the - pin increases. So it seems as though in all cases, the opamp output is tending to behave like the - pin.
 
  • #10
The LM2902 is an LM324. What are the other three op-amps in the package being used for?

You are looking at the performance of a loop that includes an unspecified component, namely the PWM switch. Check the polarity of that PWM switch. Does an increase in the PWM control signal voltage result in an increase in OutputVoltage? or have you accidentally built two inverters and cross connected them? Without a full circuit we cannot diagnose the problem.
 
  • Like
Likes   Reactions: Dextrine
  • #11
Dextrine said:
The op amp is a lm2902 (http://www.ti.com/lit/ds/symlink/lm2902-n.pdf).

The opamp inputs are around 5V and the op amp power supply is provided from my dc power supply at 13.5V, because of this, i think it may be unlikely due to being outside the common mode range.

The loads i have tried are 250R and 1K.

At 250R, the opamp output drops down lower than at 1K load. this is odd since with 250R, the inverting pin is even lower so you'd expect the opamp output to be even higher.

you didn't really answer all the questions

edit your circuit and show ALL component values. show ALL voltages including the pins to the op-amp

As Baluncore said, it's really difficult to help you with the lack on info from youDave
 
  • Like
Likes   Reactions: Dextrine
  • #12
Dextrine said:
op amp power supply is provided from my dc power supply at 13.5V, because of this, i think it may be unlikely due to being outside the common mode range.
agreed. Perhaps you'll add that to your drawing ?

Are you reading everything with a DC meter ? Which of course reports average ?

...........................

How did @Baluncore figure this out ?
Baluncore said:
The op-amp is being used as an error amplifier, set up like a PID controller without the D. The capacitor forms a miller integrator, which Integrates the error voltage as charge in the capacitor, and so adapts to the required duty cycle. The series resistor provides the Proportional component.
The DC feedback passes through the PWM switched power supply that is not shown on the RHS of the diagram. That supply generates the “OutputVoltage” that enters the diagram on the LHS and so closes the feedback loop.
Well THAT certainly changes things.
First thing i'd do is take AC readings at same points. That'll tell you if you have built a giant closed loop oscillator.
Better yet hang a scope on it.
 
  • Like
Likes   Reactions: Dextrine
  • #13
A bit of a late reply, but I figured out what was wrong. In case anyone else ever encounters a similar problem, what I found was that I accidentally had one of the op amp rails grounded to another part of my circuit. Fixing this got rid of the error. So just a heads up to anyone (especially beginners with soldering) make sure everything is connected where it should be and NOWHERE else! Thanks everyone for all the replies and all the help.
 
  • Like
Likes   Reactions: davenn

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
8K
  • · Replies 6 ·
Replies
6
Views
3K