Op-Amp Troubleshooting: Our Keep Railing Issue

  • Thread starter Thread starter Sirius24
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues with operational amplifiers (op-amps) that are "railing" in a circuit configuration. Participants explore the behavior of op-amps, particularly in inverting and non-inverting configurations, and the implications of using different supply rails. The conversation includes technical explanations and suggestions for circuit modifications.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant notes that their op-amps keep railing even in an inverting configuration with negative feedback, questioning why this occurs.
  • Another participant requests circuit configurations and details about the op-amp and supply rails to better understand the issue.
  • It is mentioned that the op-amp in use is an LM358 with supply rails at 0 V and 12 V, and the output is consistently 10.9 V regardless of input.
  • A suggestion is made that using a non-inverting configuration is necessary for single supply operation, questioning the feasibility of using an inverting configuration with positive input voltages.
  • One participant reports that switching from inverting to non-inverting resolved the railing issue but expresses curiosity about why the inverting configuration fails in this context.
  • A proposal is made to create a "virtual ground" using resistors to allow the non-inverting input to function correctly with zero volts.
  • Questions arise about the possibility of using a differential amplifier to operate from ground to positive rail by establishing a virtual ground.
  • Another participant discusses the internal circuitry of op-amps, noting that certain configurations can lead to unacceptable outputs if inputs are improperly biased.
  • A later reply emphasizes understanding the function of a differential op-amp and suggests that the proposed circuit modification effectively addresses the problem without delving into the specifics of individual chip circuitry.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness of inverting versus non-inverting configurations in specific scenarios. While some solutions are proposed, there is no consensus on the best approach to avoid railing in all cases.

Contextual Notes

Participants mention the need for specific circuit configurations and supply details, indicating that assumptions about the setup may affect the discussion. There are unresolved questions about the range of voltages that can be used effectively in different configurations.

Sirius24
Messages
14
Reaction score
0
I am working on a circuit with someone and our op-amps keep railing. Even when just working with the op-amp, on its own, with an inverting configuration in negative feedback, everything rails. From my understanding, there should be a gain equal to the feedbak resistance divided by the input resistance, but I am not seeing this. It always rails. Does anyone know why it might do this?
 
Engineering news on Phys.org
Sirius24 said:
I am working on a circuit with someone and our op-amps keep railing. Even when just working with the op-amp, on its own, with an inverting configuration in negative feedback, everything rails. From my understanding, there should be a gain equal to the feedbak resistance divided by the input resistance, but I am not seeing this. It always rails. Does anyone know why it might do this?

Can you post some of your circuit configurations? Which opamp, and what supply rails? If you are using split power supply rails (like +/-12V), what does the output do when you hook up the opamp in a buffer configuration (- input = output) with the + input grounded?
 
berkeman said:
Can you post some of your circuit configurations? Which opamp, and what supply rails? If you are using split power supply rails (like +/-12V), what does the output do when you hook up the opamp in a buffer configuration (- input = output) with the + input grounded?

The op-amp is an LM358 with rails at 0 V and 12 V.
With an any sort of input, I am receiving a 10.9 V output.
 

Attachments

  • Inverting Amp.PNG
    Inverting Amp.PNG
    3.2 KB · Views: 497
Sirius24 said:
The op-amp is an LM358 with rails at 0 V and 12 V.
With an any sort of input, I am receiving a 10.9 V output.

If you want to use it in single supply operation like that, you will need to use a non-inverting configuration. You are trying to run an inverting amp above ground with positive input voltages? What happens if you set Vin to -0.1V?
 
With all the lines we have going everywhere, it would be difficult to move things to test at -0.1V, but switching from inverting to non-inverting fixed the problem. Thank you.

~Sirius
 
Sirius24 said:
With all the lines we have going everywhere, it would be difficult to move things to test at -0.1V, but switching from inverting to non-inverting fixed the problem. Thank you.

~Sirius

Out of curiosity, though. Why can't an inverting case work for 0 to positive rails?
 
The non-inverting input should go to a "virtual ground" made from two identical series resistors connected across the 12 V power source.

The bottom resistor should be bypassed and the + input connected to the 6 V centre point of the two resistors.

4.7 K resistors would be OK as a start.

[PLAIN]http://dl.dropbox.com/u/4222062/opamp%20bias.PNG

If you want the input to include zero volts, there will need to be a negative as well as a positive supply.

This is just because of the internal construction of the opamp. The inputs and output connect to transistors which have voltage drops across them.
 
Last edited by a moderator:
Would it be possible to make a differential amplifier go from ground to positive rail by putting V-at zero and making absolute ground into virtual ground?
 

Attachments

  • Differential Amplifier.PNG
    Differential Amplifier.PNG
    3.8 KB · Views: 547
Sirius24 said:
Would it be possible to make a differential amplifier go from ground to positive rail by putting V-at zero and making absolute ground into virtual ground?

What are the range of voltages for V1 and V2 where that might work? Refer to vk6kro's post...
 
  • #10
Sirius24 said:
Would it be possible to make a differential amplifier go from ground to positive rail by putting V-at zero and making absolute ground into virtual ground?

You would have to look at the internal circuitry of the amplifier.

If an input results in a transistor's base-emitter junction being reverse biased, or not biased at all, then the output will certainly be unacceptable.

Usually this happens if the input is within 0.5 volts of the negative supply, although certain opamps ( like the LM324) have special circuitry that does allow the inputs to become zero or even slightly negative even with single voltage power supplies.
 
  • #11
When you realize what a differential op amp actually does, then then vk6ro's cirircuit modification says it all. It amplifies the difference between the input voltage on the - terminal and the 'reference voltage', on the + terminal (which has been given a value of half rail volts). This is just what you want: an inverting amplifier which will give you the gain equal to the ratio of feedback resistor to the input circuit resistance.
There's no need to discuss the minutiae of the internal circuitry of an individual chip in order to get a working circuit. An op amp does exactly what it says on the tin.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
53
Views
11K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
9
Views
8K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
14
Views
2K
Replies
4
Views
6K