Sei sulla pagina 1di 8

Lab 1: Simple Frequency and Time Analysis

1) Open PSpice: Start->All Programs->EE Programs->PSpice Student->Capture Student

2) Create a new project: File->New->Project


a) Choose file folder (Your directory on the network [h Drive])
b) Select “Analog or Mixed Signal”
c) Select “Create a blank project”

R S T 1
V s o u r c e V l o a d
5 0
1 V a cV S V V C L
0 V d c T D = 1 n s
Z 0 = 5 0 V R 1 Ln F

0 0 R L
5 0

0 0
Figure 1. Circuit Schematic for Part 3.

3) Draw the above circuit using


a) Draw Components: Place->Part (you may have to add the “analog” and “source” libraries)
i) Transmission Line: T/Analog (analog library)
ii) Resistor: R/Analog (analog library)
iii) Capacitor: C/Analog (analog library)
iv) Voltage source that can sweep over frequencies: Vac/Source (source library)
b) Connect Components: Place->Wire
c) Ground the Circuit: Place->Ground
i) Ground: “0” (you may have to add the source library)
d) Label Nodes: Place->Net Alias

4) Enter desired values for each of the components. Example: R =100ohms. If that value is displayed, you
can double-click in the value to change it.
If the property values are not displayed for the transmission line, double click the transmission line. This
will open a dialog box which contains all the attributes associated with the transmission line. Here, you can
select the property you wish to display (TD and Z0). Then, by clicking the “Display” button, you can
choose to display the “Name and Value” of the attribute.
If you are unable to find TD and Z0 among the various attributes, try changing the “Filter by” drop down
menu to PSPice.

5) Notation
a) k -kilo
b) MEG-mega
c) G-giga
d) m-mili
e) u-micro
f) n-nano
g) p-pico

6) Setup up a simulation Profile: Pspice->New simulation profile


a) Choose an AC sweep for the Analysis type
b) Enter Start Frequency: 100MEG
c) Enter Ending Frequency: 10G
d) Choose Log scale
e) Enter number of data points to take.
Figure 2. Simulation Settings for AC Sweep from 100 MHz to 10 GHz with 1000 points.

7) Simulate: PSpice->Run

8) Check Results: (from the simulation window) View->Output File. Review errors, if any. If nodes are
floating you probably have connecting problems or you are using the wrong ground. If there is an error in
your schematic, this will be the first place to start looking for errors. It will be useful to try and understand
the information contained in the Output File for debugging purposes. Please note that at this point there will
not be any output visible on the graph until you have completed the next step.

9) Graphically monitor output: Click on Trace->Add Trace in order to plot a parameter such as current or
voltage. Please provide graphs which show the following.
a) Source Current and Voltage
b) Load Current and Voltage
c) Perform all of the following operations on at least 2 of the 4 parameters in sections a and b.
i) R() - real
ii) imag() - imaginary
iii) P() - phase
iv) M()-magnitude

10) Now click on the Toggle Cursor button. It will allow you to study and mark points on the graphs. Use
cursors to monitor your waveforms. Mark at least 2 points of interest on each of your above graphs.

11) Submit a labeled Bode-type plot of VSOURCE, and VLOAD. Do this by plotting 20*LOG10(voltage). You
can type this in the Trace dialog. Submit the circuit schematic.

12) Repeat the simulation for frequencies 100kHz to 100MHz. Submit a labeled Bode plot of the same
outputs. In this passive network, how can the voltage at the load be higher than the voltage at the source?
13) Replace the VAC source with a sinusoidal source VSIN. (Select appropriate values for amplitude and
frequency. Set offset to 0.)
R S T 1
V s o u r c e V lo a d
5 0
V V
C L
V O F F = 0 T D = 1 n
V A M P L = V1 0S Z 0 = 5 0 V r e1 ns
F R E Q = 0 . 5 G
0 0 R L
5 0
0
0
Figure 3. Circuit Schematic for Part 13.

This time run a Time Domain Response (Transient) simulation. Use the transient analysis to obtain plots of
the transient voltage waveforms VSOURCE and VLOAD for 5 periods of the wave. Submit a labeled plot of the
waveforms. What is the phase delay (in degrees) at 0.5 GHz due to the transmission line for the values you
have selected? (Please show calculation.) Does this make sense, given the transmission line parameters?
Use the following equation:
t Delay
θDelay = × 360 °
TPeriod

Basic Transmission Lines in the Frequency Domain


In this laboratory experiment, you will use SPICE to study sinusoidal waves on lossless
transmission lines. Our goal is for you to become familiar with the basic behavior of
waves reflecting from loads in transmission lines, and compare the simulations with
numeric calculations and the Smith Chart.

2.1Basic Transmission Line Model

There is a standard lossless transmission line model T, which is specified by several


parameters. We will need to specify two of the parameters:
• Z0, the characteristic impedance
• TD, the time delay, which is the length of the line in time units.
The length of the line L is related to the time delay through

L = u p TD (2.1)

where up is the phase velocity of waves on the transmission line.

As we saw in lecture and in our text, the phase velocity and characteristic impedance may
be derived from the “lumped element” model of the transmission line. With L’ the
inductance per unit length, and C’ the capacitance per unit length, we have
1
up = (2.2)
L' C '
L'
Z0 = (2.3)
C'

2.1.1 A standard coaxial cable

For common RG-58 coaxial cable, the characteristic impedance is Z0 = 50 Ω and the
phase velocity up = 2/3 c. (Note: c = speed of light = 3e8 m/s)

Question 1: For such a transmission line, what are the inductance and
capacitance per meter?

For lossless coaxial cables, the following formulas relate the differential inductance L’
and capacitance C’ to the radius of the inner conductor a and the outer conductor b:

µ b 
L' = ln   (2.4)
2π  a 
2πε
C' =
b  (2.5)
ln  
a 

Question 2: For a different coaxial cable, μ = μ0 and ε = 3ε0. What is b/a if Z0


= 50 Ω?

Question 3: If b = 3 mm in question 2.2, what is a?

2.2A SPICE model of a transmission line problem.

Using SPICE, create a (matched) Thevenin source VAC with 1 Volt amplitude and 50 Ω
source impedance, leading to a transmission line model T, terminated in a 100 Ω load.
Edit the transmission line so that it has a characteristic impedance of 50 Ω. Also, create
labels Input and Load at the ends of the transmission lines, so that you can measure the
voltages conveniently.

Z G T 1 Z L
I n p u t L o a d
5 0
1 0 0
1 V a c Z 0 = 5 0
0 V d cV G T D = { d e l a y }

P A R A M E T E R S :
d e l a y = 5 n s
0 0 0 0

Figure 1. Circuit Schematic for Part 2.2

What we would like to do is to adjust the length of the transmission line and examine the
standing wave pattern at Input over one full wavelength at a frequency of 200MHz.
Question 4: At 200 MHz, and with up = 2/3 c, what is the wavelength in the
transmission line?

Question 5: What is the time delay associated with λ/16? (Hint: Remember
L L
that TD = u = λ ⋅ f )
p

Use SPICE to simulate the steady state AC response of this transmission line for length 0,
λ/16, 2λ/16, …, 15λ/16, λ. Center your sweep on the frequency of interest and sweep
linearly.

Figure 2. Illustration of Transmission Line Length Change for Part 2.2

One way to make this easier is to use a parameter for TD. Place the special part
PARAM. Double click on it and then on New Column… Call it delay and set it to 5ns.
Assign {delay} (with the curly braces) to TD on the transmission line. When you create
your simulation profile, select the parametric sweep as an option. Choose Global
Parameter with a parameter of delay. Set the sweep range and increment based on your
TD calculations from above. Under “General Settings” set the sweep Range from Start
Frequency: 200Meg to End Frequency: 200Meg and increment Total Points: 1.

Using Excel, make a table of the voltage magnitudes and current magnitudes at nodes
Input and Load for each length.

Question 6: Use PSPICE, Excel, or Matlab to plot the magnitude of the voltage
at Input as a function of length. From the Voltage Values on the plot and
Vmax
the relationship: VSWR = , determine the VSWR, and from the
Vmin
VSWR calculate |Γ |.
Question 7: Use PSPICE, Excel, or Matlab to plot the magnitude of the current at
Input as a function of length. From the Current Values on the plot,
determine the VSWR, and from the VSWR calculate |Γ |. Do the voltage
and current yield the same VSWR and |Γ |?

Question 8: Plot the magnitude of the impedance at Input as a function of


length using the data you collected with PSPICE. Plot the Real and
Imaginary Parts of the Impedance using PSPICE and also plot impedance
using a Smith Chart.

Question 9: Compute Γ and VSWR directly using equations (2.6) and (2.7)
below. Do these agree with your measurements from question 6, 7 & 8?

From class recall that:

1+Γ
VSWR = (2.6)
1−Γ

Z L − Z0
Γ= (2.7)
Z L + Z0

Question 10: Plot the voltage magnitude at Load as a function of length. How
does the voltage change with length? From this, how do you think the
power delivered to the load will change with length?
2.3A shortcut, and more load impedances

SPICE has a nice mechanism for scanning in frequency, but does not directly scan the
length of the transmission line. The “electrical length” of a transmission line is βl,

2π 2πf
βl = l= l (2.8)
λ up

Thus, changing the length of a transmission line from l to 10l achieves the same effect as
scanning the frequency from 10f to f. Or to put it differently, if a transmission line is 1 λ
at f0, then it is 0.5 λ long at 0.5f0 and 2 λ long at 2f0.

Question 11: If you have 1 meter of the coaxial cable described in question 4, at
what frequency does it have length λ/2? At what frequency does it
have length 2.5λ? (Note that we are NOT changing the physical
length of the line, only it’s “electrical length” as defined above.)

Using a 1-meter length of transmission line, adjust your SPICE simulation,


sweeping linearly in frequency from 0.5 to 2.5 wavelengths. In this simulation we
are not adjusting the Length of the Line. We are adjusting the frequency of the
system so as to produce similar effects to adjusting the length of the line.

Z G T 1 Z L
I n p u t L o a d
5 0 1 0 0
1 V a c Z 0 = 5 0
0 V d cV G T D = 5 n s

0 0 0 0
Figure 3. Circuit Schematic for Question 13 (Fixed Length)

Question 12: Plot the magnitude of the voltage at Input for the different
“lengths” (remember that you are really just adjusting the
frequency) properly relabeling the horizontal axis. (You can do
this by hand or by using text boxes in Pspice.) Does this agree
with your plot in question 6? What is the VSWR?

Replace the 100 Ω load with a 25 Ω load.

Question 13: Plot the magnitude of the voltage at Input, and compare to the
previous case of 100 Ω. From the plot, what is the VSWR?

Replace the load with a “short circuit,” namely 0.001 Ω.

Question14: Plot the magnitude of the voltage at Input. From the plot, find the
VSWR. From equations (2.6) and (2.7) calculate the VSWR. Do
these two results agree?
Replace the load with an “open circuit,” namely 1 MΩ. (remember that in
PSPICE, MEG = “mega”, M = “milli”)

Question 15: Plot the magnitude of the voltage at Input. Find the VSWR. Also,
calculate the VSWR. Do these two results agree?

Question 16: How are the plots from Question 14 and Question 15 similar

Potrebbero piacerti anche