Sieu Cao Tan-Lab1

3
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 S ignal” c) Select “Create a blank project” Vsource C L 1 n F V V 0 R S 5 0 V S 1 V a c 0V dc V R L R L 5 0 0 T 1 TD = 1 ns Z0 = 50 0 Vload 0 Figure 1. Circuit Schematic for Part 3. 3) Draw the above circuit using a) Draw Components: Place->Par t (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 Sta rt Frequency : 100MEG c) Enter Ending Frequency: 10G d) Choose Log scale e) Enter number of data points to take.

Transcript of Sieu Cao Tan-Lab1

Page 1: Sieu Cao Tan-Lab1

7/28/2019 Sieu Cao Tan-Lab1

http://slidepdf.com/reader/full/sieu-cao-tan-lab1 1/3

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”

V s o u r c e

C L

1 n F

VV

0

R S

5 0V S1 V a c

0 V d cV R L

R L

5 0

0

T 1

T D = 1 n s

Z 0 = 5 0

0

V l o a d

0

Figure 1. Circuit Schematic for Part 3.

3) Draw the above circuit usinga) 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. Thiswill 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 canchoose 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-gigad) 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 scalee) Enter number of data points to take.

Page 2: Sieu Cao Tan-Lab1

7/28/2019 Sieu Cao Tan-Lab1

http://slidepdf.com/reader/full/sieu-cao-tan-lab1 2/3

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 inyour 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 Voltagec) 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?

Page 3: Sieu Cao Tan-Lab1

7/28/2019 Sieu Cao Tan-Lab1

http://slidepdf.com/reader/full/sieu-cao-tan-lab1 3/3

13) Replace the VAC source with a sinusoidal source VSIN. (Select appropriate values for amplitude and

frequency. Set offset to 0.)

V l o a d

V r e s

V

V s o u r c e

T 1

T D = 1 n

Z 0 = 5 0

V

R L

5 0

0

0

0 0

V SF R E Q = 0 . 5 GV A M P L = 1 0

V O F F = 0

C L

1 n

R S

5 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:

°×= 360 Period 

 Delay

 DelayT 

t θ