Problem 6.1 - Ideal Op Amp and the Inverting Amplifier Circuit
*
* The circuit for this problem is from textbook Chap. 6, Section 6.3
* and Exercise 9.
*
* Determine the circuit overall voltage gain as a function of the
* open loop gain of the op amp. Compare the results for the practical
* or realistic values of op-amp gain used in this problem with the
* ideal op-amp circuit gain Av = -R2/R1.
*
* Construct a table showing error in percent of ideal gain for each
* value of the open loop gain A.
*
* The end-to-end programs below will produce all of the desired
* results in one program run if the requested data is entered
* correctly. There will be a separate output for each segment of
* the program, however, so the compilation of the required data
* table must be done by hand calculation.
*
.OPT NOPAGE NUMDGT = 5
VS 1 0 DC 1 ; Use VS=1 so that the output voltage is
; numerically equal to the voltage gain Av.
EAMP 3 0 ??? ??? ??? ; Enter the control voltage nodes and the
; gain for the VCVS representing the op-amp
; open loop gain.
R1 1 2 1K
R2 2 3 10K
RL 3 0 4.7K
.DC VS 1 1 1
.PRINT DC V(1) V(3)
.END
Problem 6.1, Part 2. Ideal Op Amp and the Inverting Amplifier Circuit, A=1E5
*
* Repeat Part 1 except with open loop gain A=1E5.
*
.OPT NOPAGE NUMDGT = 5
VS 1 0 DC 1 ; Use VS=1 so that the output voltage is
; numerically equal to the voltage gain Av.
EAMP 3 0 ??? ??? ??? ; Enter the control voltage nodes and the
; gain for the VCVS representing the op-amp
; open loop gain.
R1 1 2 1K
R2 2 3 10K
RL 3 0 4.7K
.DC VS 1 1 1
.PRINT DC V(1) V(3)
.END
Problem 6.1, Part 3. Ideal Op Amp and the Inverting Amplifier Circuit, A=50k
*
* Repeat Part 1 except with open loop gain A=50k.
*
.OPT NOPAGE NUMDGT = 5
VS 1 0 DC 1 ; Use VS=1 so that the output voltage is
; numerically equal to the voltage gain Av.
EAMP 3 0 ??? ??? ??? ; Enter the control voltage nodes and the
; gain for the VCVS representing the op-amp
; open loop gain.
R1 1 2 1K
R2 2 3 10K
RL 3 0 4.7K
.DC VS 1 1 1
.PRINT DC V(1) V(3)
.END
Problem 6.1, Part 4. Ideal Op Amp and the Inverting Amplifier Circuit, A=10k
*
* Repeat Part 1 except with open loop gain A=10k.
*
.OPT NOPAGE NUMDGT = 5
VS 1 0 DC 1 ; Use VS=1 so that the output voltage is
; numerically equal to the voltage gain Av.
EAMP 3 0 ??? ??? ??? ; Enter the control voltage nodes and the
; gain for the VCVS representing the op-amp
; open loop gain.
R1 1 2 1K
R2 2 3 10K
RL 3 0 4.7K
.DC VS 1 1 1
.PRINT DC V(1) V(3)
.END
Problem 6.1, Part 5. Ideal Op Amp and the Inverting Amplifier Circuit, A=5k
*
* Repeat Part 1 except with open loop gain A=5k.
*
.OPT NOPAGE NUMDGT = 5
VS 1 0 DC 1 ; Use VS=1 so that the output voltage is
; numerically equal to the voltage gain Av.
EAMP 3 0 ??? ??? ??? ; Enter the control voltage nodes and the
; gain for the VCVS representing the op-amp
; open loop gain.
R1 1 2 1K
R2 2 3 10K
RL 3 0 4.7K
.DC VS 1 1 1
.PRINT DC V(1) V(3)
.END