# Op-amp inverting circuit

I'm studying basic components of electronic circuits, but I don't major in electronic engineering, so I have no idea why this following problem occurs.

In an inverting op-amp circuit, I learnt that the input voltage will be amplified by -R2/R1, but when I actually test it, it doesn't work at all.

So I learnt Qucs and simulated this circuit: I found that the OP07 (op-amp) was working according to my expectations only at very low voltages (near 10 mV). As a result of several tests I found it works near 0.04 V, but it doesn't work as I expected; in the area of more than 2 V it is amplified consequentially, but it is not the inverting circuit that I studied.

As you can see in the LSV result, it is working only in the 0-0.04 V area.

I expected more, even at 0.04V it must be amplifed as per the equation Vout = -R1/R2*Vin, but it isn't.

So I want to know, which part is wrong, and why it acts like this?

• Replace R3 R4 voltage divider by two 6V DC voltage sources and remove the 12V one. You should also increase R1 and R2 by 3 orders of magnitude to use more realistic values. Feb 28 at 16:05
• The problem is the resistance values you have chosen. Make them a few kOhms (e.g. R=2k instead of R=2) without changing the ratio and your problem will be gone. I'm leaving the detailed explanation of the cause to another member since I don't have enough time, sorry. Feb 28 at 16:12
• The datasheet for the OP07 opamps show that it works well when its load is 10 THOUSAND ohms, fair with 2 THOUSAND ohms and poor with 500 ohms But you have a load of only 2 ohms. Feb 28 at 18:10

Your problem is the value of the resistors you have used. At these low values, a relatively high voltage out (like, even 0.1 volts) would require far more current than the op amp can provide.

The way to handle this is quite simple: multiply R1 and R2 by at least a factor of 1000, and get rid of R3 and R4. Rather than using a floating 12-volt power supply and a resistor network to produce supply voltages, use two 6 volt supplies, each tied directly to ground. A good rule of thumb for a general purpose op amp is to use feedback resistors (R2 in this case) of 10k or more, and load resistors of no less than 1k in total.

If you insist on using a single supply and a voltage divider to produce split supply voltages, you should be aware that a good rule of thumb for the resistor values is 1/10 the value of the smallest resistor which connects the output either to ground or to virtual ground. For your existing circuit, R2 connects to the virtual ground at the - input of the op amp, so R3 and R4 would want to be on the order of 0.4 ohms apiece. If you do the math, this means that each resistor would dissipate something like 90 watts, which is not something you probably want to do for real.

• R2's connection to the inverting input, which you call a virtual ground, doesn't load the voltage divider -- that connection doesn't make it count for choosing the voltage divider strength. But R1 connects to the actual ground (the order of series components R1 and V1 makes no difference) and that does load the divider... According to the rule of thumb the voltage divider resistors need to be 0.2 ohms which is of course even worse power dissipation than 0.4 Mar 1 at 16:25

Try scaling your resistors to the k-ohm range. That’s more in line with what the op-amp can do.

Once you’ve done that, also know that op-amps have limits on input range, output swing and drive that vary from device to device (not to mention, finite open-loop gain.) The OP07 Spice model QUCS uses reflects that. Check the datasheet.

That said, if you want something a bit more interactive for general learning, try Falstad (http://www.falstad.com/circuit/). It’s not as accurate as QUCS or LTspice but it’s great for visualizing how circuits actually work.

The reason it fails in a device simulation in Qucs is the design cannot exceed the output current spec. Page 3 & 6 specs implies the reason.

"Open-Loop Output Resistance Ro = 60 Ω" thus loads that cause voltage divider attenuation and excess current means the design will fail. With negative feedback and high loop gain, this output impedance virtually reduces to some finite value towards 0 as the error is corrected.

Falstad's Simulator uses ideal caps, inductors and Op Amp, with Rs=0, so to make it realistic, you add Rs to the circuit or usually choose components in the 10k range and up so you can neglect Rs. (all components have some series resistance) Figure 31 shows a good example.