Lab #1 CNET219: Objective
Lab #1 CNET219: Objective
Lab #1 CNET219: Objective
Lab #1 CNET219
Name: _______________________ Date: _________________
Objective
This lab gives a practical introduction to signals that varies with time using the components such as:
1. Arbitrary Function Generator
2. Oscilloscopes or waveform Viewer
The grounding issues are best explained using the OptiSPICE simulation software.
Prelab (10 points) – Due at the beginning of lab
Concepts
You have worked with signals that did not vary with time. In this lab, we’ll analyze signals that vary
periodically with time. The most common periodic electrical signal is the sinusoid. o voltages can be expressed
in the form:
Sinusoide = A + B sin (ωt + ϕ) (1)
A represents the DC offset, B represents the peak signal amplitude, ω is the radian frequency (recall that ω is
equal to 2πf, where f is the frequency), and ϕ is the phase shift. Phase shift is the horizontal difference between
two signals, for instance, the phase difference between a sine and cosine is π/2, or 90°.
The amplitude of a sinusoid can be represented as a peak value (p or pk), a peak-to-peak value (pk-pk), or
and average root-mean-square (rms) value. In this lab, Vp will be peak voltage, and Vpp will be peak-to-
peak.
Figure 1: Sinusoidal function with no DC offset Figure 2: Sinusoidal function with a DC-
offset
1|Page
bzahra
FALL2020 : CNET219
Figure 1 shows a sinusoidal signal. A shows the peak amplitude, B shows the peak-to-peak amplitude, and C
shows the period. Figure 2 shows the same sinusoid, but where the signal of Figure 1 has a 0 V DC offset,
the signal in Figure 2 has a non-zero DC offset.
.
2|Page
bzahra
FALL2020 : CNET219
Part 2
Task 1 :Circuit design.
To compare the output to theory, we’ll simulate the following circuit in OptiSpice, and generate output
plots
Vdc1
DC = 9 V
R1
M R = 4k Ohm
C1
M
C = 1u F
+
Vsin1 R = 10k Ohm
- VA = 4.0 V
R2
FREQ = 1k Hz
Figure 4
3|Page
bzahra
FALL2020 : CNET219
Complete the circuit by placing and connecting necessary devices ( capacitor, resistor
and probe) to ac sine waveform generator VSin1 as shown in Figure 4 .
Step Action
1 Select Analysis > setup> Main>
On simulation Type select Transient
2 Click on the Transient tab
3 Set up the circuit simulation profile. The Simulation Settings window is shown
in Figure 9. The analysis type this time is Time Domain (Transient). Given the
frequency of the input, enter a run time that will show two periods of the signal.
The run time can be calculated by finding the time period of the input signal from
frequency and then based on the value you can clip the signals. For example if
the frequency is around 1000 then the stop time period will be 1ms, hence you
will need 2ms to cover two periods of signals
Figure 5
4|Page
bzahra
FALL2020 : CNET219
Figure 6
Task 4
Vout(Dc) ________________________
Vrms________________________
Irms _________________________
Calculate Impedance
𝑉𝑟𝑚𝑠
Z=
𝐼𝑟𝑚𝑠
5|Page
bzahra
FALL2020 : CNET219
6|Page
bzahra