Problem 14.5 - CHALLENGE PROBLEM! Spectrum at Output of RC Filter
*
* NOTE: This is a two-part problem.
* 1. Determine magnitude and phase of RC filter transfer function.
* Predict (compute) the expected output of the RC filter when a 1-kHz
* square wave is the input signal and the corner frequency of the
* filter transfer function is at the third harmonic of the input wave.
* 2. Use the PULSE function to describe a symmetric +/- 5-V square
* wave as input to the RC filter circuit. Use a frequency of 1 kHz for
* the square wave. Obtain graphs of the frequency spectra of the
* input and output waveforms and compare with your theoretical result.
*
* The creation of the input PULSE waveform and the analysis of Part 2
* is left as an exercise for the student. Edit the program to add the
* PULSE source. Choose the type of analysis, etc.
*
.OPT NOPAGE NOBIAS
V1 1 0 AC 10
R1 1 2 5K
R2 2 3 5K
RL 3 0 4.7K
C1 2 3 10.61N
EAMP 3 0 0 2 1E10
.AC LIN ; Complete the .AC command for a LIN sweep
; with a minimum frequency of 500 Hz and a
; maximum of 15 kHz (the 15th harmonic of
; the square wave fundamental frequency).
; You should select the number of points
; in the LIN sweep so that the magnitude
; and phase of the transfer function at
; each of the harmonic frequencies will be
; printed out. You also want enough points
; to make a smooth curve on a PROBE graph.
.PRINT AC VM(3) VP(3)
.PROBE
.END
* Problem 14.5, Part 2. CHALLENGE PROBLEM! Spectrum at Output of RC Filter
*
* Complete the circuit description for Part 2.