Author Topic: How to calculate the output resistance of a opamp circuit?  (Read 6913 times)

0 Members and 1 Guest are viewing this topic.

Offline ShowKempTopic starter

  • Contributor
  • Posts: 16
  • Country: ls
How to calculate the output resistance of a opamp circuit?
« on: October 04, 2017, 12:41:20 am »
Hi,
I'm reading a book about OpAmps and simulating the exercises with LTSpice. Here's the exercise and circuit i'm working with:
Quote
Using the basic 741 model (circuit below) direct PSpice to find the closed-loop parameters (Voltage Gain, Input resistance and output resistance) of an inverting amplifier implemented with R1=1k and R2 = 100k.
The circuit on the book:


The circuit built in LTSpice (i have not PSpice so i'm using LTSpice):


The results based on a Ideal OpAmp are:
Voltage Gain = -R4/R3 = -100k/1k = -100
Input resistance = R3 = 1k
Output resistance = 0

Results according to the book:
Voltage gain = -9.995E+01
Input resistance = 1.001E+03
Output resistance = 3.787E-02

To get the results on the simulation i run an AC Analysis and plot traces with algebraic expressions:
Voltage Gain: V(o)/V(i) = -99.949463 (Close to ideal)
Input resistance: V(i)/I(R3) = 1.0005004K (Close to ideal)

I don't know how to the output resistance  :-[, i tried calculating V(o)/I(R2), but got ~100k, this isn't close to 0.
So my newbie question is how can i calculate the output resistance of the circuit?

Regards

 

Offline ShowKempTopic starter

  • Contributor
  • Posts: 16
  • Country: ls
Re: How to calculate the output resistance of a opamp circuit?
« Reply #1 on: October 04, 2017, 01:12:12 am »
After further reading i "think" i found the way to calculate the output resistance:

Ro = Closed-loop output resistance
ro = Open-loop output resistance (75ohms)
L = Loop Gain
a = Open-loop Gain (200,000 V/V or 200 V/uV)

Based on the LTSpice schematic:
L = a / (1 + (R4/R3))
L = 200,000 / (1 + (100k/1k)) = 1980.198

Ro = ro / 1 + L
Ro = 75ohms / (1 + 1980.198)
Ro = 0.0379 ohms ~ 3.787E-02 (Close to the book result)

Still need to get more familiar with the "OpAmp circuit" terms.
Any suggestions on circuit simulations with LTSpice? is it possible to get all this data with one spice command?
« Last Edit: October 04, 2017, 01:14:25 am by ShowKemp »
 

Offline strawberry

  • Super Contributor
  • ***
  • Posts: 1163
  • Country: lv
Re: How to calculate the output resistance of a opamp circuit?
« Reply #2 on: October 04, 2017, 01:20:04 am »
when you take Vgain=99,95 then it will be the same
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: How to calculate the output resistance of a opamp circuit?
« Reply #3 on: October 04, 2017, 01:46:46 am »
The open loop gain of an opamp is not a fixed number, there is a range of gain, some are high and others even with the same part number are less.
The open loop gain of an opamp is high at DC and frequencies below 10Hz then it drops at higher frequencies due to its frequency compensation capacitor. Therefore the output impedance increases at higher frequencies.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19522
  • Country: gb
  • 0999
Re: How to calculate the output resistance of a opamp circuit?
« Reply #4 on: October 04, 2017, 08:59:34 am »
The calculations look right to me. As mentioned above, the open loop gain varies. Also note that this only applies when the op-amp is working in its linear region and with negative feedback. For example, if too much current is drawn, the op-amp's output will either saturate or the current limiting protection will kick in. It will no longer have any negative feedback and the output impedance will rise dramatically.
« Last Edit: October 04, 2017, 10:10:50 am by Hero999 »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: How to calculate the output resistance of a opamp circuit?
« Reply #5 on: October 04, 2017, 09:07:42 am »
Yes, this is only correct at DC, in the middle of the range where it's linear.  But for that condition, it is correct. :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: How to calculate the output resistance of a opamp circuit?
« Reply #6 on: October 04, 2017, 09:30:09 am »
This might help -


http://www.ti.com/lit/an/slyt677/slyt677.pdf



Also the Laplace analysis for a single pole comped OpAmp pretty easy. Two pole a little more tedious,
use of partial fraction expansion reveals equivalent lumped model characteristics (which yield easy
insight into Zo behavior).


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: How to calculate the output resistance of a opamp circuit?
« Reply #7 on: October 04, 2017, 03:19:20 pm »
Any suggestions on circuit simulations with LTSpice? is it possible to get all this data with one spice command?

The DC transfer function simulation will deliver you a transfer function (gain), input and output impedances:
Code: [Select]
.tf V(O) V1
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 
The following users thanked this post: ShowKemp

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14197
  • Country: de
Re: How to calculate the output resistance of a opamp circuit?
« Reply #8 on: October 04, 2017, 05:33:37 pm »
One way to "measure" the output impedance of a circuit simulated in Spice is adding a current source to the point of interest. The AC simulation with the extra current as source gives the response to output current and thus the output impedance. An offset current might upset the simple V(out)/I(out) formula. In the example I(out) would be from both resistors, not just the 75 Ohms.
 

Offline ShowKempTopic starter

  • Contributor
  • Posts: 16
  • Country: ls
Re: How to calculate the output resistance of a opamp circuit?
« Reply #9 on: October 05, 2017, 04:50:33 pm »
The DC transfer function simulation will deliver you a transfer function (gain), input and output impedances:
Code: [Select]
.tf V(O) V1

Thanks, i didn't knew that command, just tested it and the result seems to be the expected:

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf