Problem 10.1 - RLC Circuit Response to a Sinusoidal Source
*
* The circuit for this problem is from textbook Example 10.2.
* Use .AC analysis with single frequency to solve for the steady-state
* sinusoidal voltage (amplitude and angle) at the input terminals.
* Determine the circuit input impedance from the ratio of phasor
* voltage to phasor current at the input terminals.
*
* ===> A suggested PSpice experiment: When the current source in this
* problem has an amplitude of 1 and zero angle, the voltage at the
* input terminals is numerically equal to the input impedance in
* magnitude and angle. After you have run the program below,
* edit the program to change the current source to an amplitude of
* 1 and zero angle. Re-run the program. Compare the magnitude and
* angle of the voltage response with your calculated impedance from
* the original program run.
*
.OPT NOBIAS NUMDGT=5 NOPAGE ; Use this statement with Version 4.03 or
; later. For earlier versions delete NOBIAS.
IS1 0 1 AC ??? ??? ; Enter the amplitude and angle of the
; ac source. Note that for steady-state ac
; analysis you may assume that ac sources
; are cosine sources. All amplitude and
; angle responses can then be written as
; cosine functions when a time-domain
; solution to a problem is desired.
R1 1 2 1K
L1 2 3 2M
C1 3 0 1N
RS1 1 0 1E12 ; Resistance added in parallel with current
; source to provide dc path to ground.
.AC LIN 1 ???????????????? ; Specify the single frequency of the
; .AC sweep. REMEMBER to convert all
; radian frequencies to hertz. Use
; six significant figures.
.PRINT AC IM(IS1) IP(IS1) VM(1) VP(1)
.END
* Problem 10.1, Part 2. RLC Circuit Response to a Sinusoidal Source
*
* PSpice Experiment: Use a 1-A current source at the input
* terminals to determine in one step the magnitude and angle
* of the input impedance of the circuit.
*