Professional Documents
Culture Documents
Laboratory: Simulation Edition
Laboratory: Simulation Edition
Laboratory: Simulation Edition
SIMULATION EDITION
EXPERIMENT
PARTICIPATION
To be filled out
In case of rework, the paper with the remarks of the corrector must be submitted as
well! Otherwise it counts as failed.
Before we start, let’s talk for the moment of oscilloscopes. The waveform that you can see on
the simulation program like LTspice is a lookalike of the screen of the oscilloscope.
Understanding the use of this device help you in this task!
An oscilloscope contains various controls that assist in the analysis of waveforms displayed
on a graphical grid called a graticule. The graticule, as shown in figure 1, is divided into
divisions along both the horizontal and vertical axes. These divisions make it easier to
determine key parameters about the waveform. In the case of the TDS1000 Series
oscilloscope, there are 10 divisions horizontally and 8 divisions vertically.
In the lab we have also some improved model of the oscilloscope, the TBS 1000 Series. The
basic operation is the same, the most important difference is the wide-screen color display,
but we have same graticule on the screen.
A diagram of the oscilloscope´s front panel, which is used normally in this Experiment, is
shown in figure 1.
1 14 5 6 8 13
Oscilloscope Display
11 12 3 9 10 4 7
Fig. 1
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-2- 47533 Kleve
This oscilloscope can measure two analog channels at a time. Each channel has its own
independent set of vertical controls, which allows you to position the two signals however you
like on the oscilloscope screen.
2 TRIGGER MENU
What are Trigger Controls?
The triggering system determines when the scope begins displaying data. Modern
oscilloscope triggers are very sophisticated. Today we'll only be looking at the basics of
triggering. The most important trigger control is the trigger level knob.
Fig.
2
3 & 4 vertical scaling: Adjust the scaling of CH1 and CH2 in volts/DIV. Stretches or shrinks
the signal vertically. What Does Vertical Scale Mean?
Vertical scale is expressed in volts per division. In the example, the scale is set to 500 mV
per division. Because this oscilloscope has 8 vertical divisions, it can fit a signal of up to 4 V
peak-to-peak on the screen in this configuration.
The two inputs share a common set of horizontal controls. When you change the horizontal
settings, all of the waveforms on screen will move together
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-3- 47533 Kleve
8 horizontal position. Turning the horizontal position knob moves the trigger position left or
right. This causes all the waveforms on screen to move left or right together, allowing you to
see earlier or later parts of a signal.
12 menu for channel 1 and 2. Most important setting: Setting the coupling mode and
attenuation.
Somehow the input signals must be fed into the scopes BNC connectors. This is usually
done by either using an adapter, which allows to connect simple cables to the BNC input, or
a probe.
a ground connection
(alligator) and a lead
connection.
The ground
connector usually is
connected to the circuits
ground. The scope displays
the signal, which is applied to
the lead connection, referred to the
potential on the ground connection.
Fig.
The probes also have a little switch for a 1x and a 10x setting. 3
This gives us the opportunity to use the probe as a 1:1 type or a 1:10 divider, if we want to
measure higher voltages, than the scopes input can handle itself.
Always make sure, that the scope “knows” which type of probe you are using. If it is e.g. a
10x probe (signals are divided by 10), go to the menu (12) and enter the correct attenuation
(10x). If you are using the adapter to connect simple cables to the scope, the setting is -of
course- 1x.
13 default setting
Someone else may have been twiddling knobs and pressing buttons before you.
Fortunately, the oscilloscope settings can be restored to the factory settings. It is a good
practice to reset the oscilloscope to factory settings after it is turned on and before any
measurements are taken. This way you can always begin working with the scope from the
same initial setting.
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-4- 47533 Kleve
Oscilloscope Display
Fig.
4
Fig.
5
Figure 5 shows the typical oscilloscope screen. The elements of the screen are as follows:
1. Waveform baseline icon. Shows the zero volt level of the waveform.
2. Channel indicator.
3. Channel scale factor.
4. Time per division.
5. Trigger slope.
6. Date and time.
7. Trigger level icon.
8. Visual representation of waveform.
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-5- 47533 Kleve
Used Simulation Software
In this experiment we use only the LTspice XVII for simulation of the results.
The same time constant RC describes the rate of charging as well as the rate of discharging.
After a time of one time constant t = RC, the voltage is
That is, the voltage across the capacitor in 0.63 (or 63 %) of its maximum value.
When a square wave AC source is used, the capacitor voltage increases and decreases as
the voltage of the applied signal alternately increases and decreases.
Prepare
1. Calculate the time constants of the following combinations in Table 1 (page 8) and write
them down in the table.
2. Calculate the necessary frequencies of the square wave signal in order to obtain a full
charge/discharge (reflect on the lecture!)
3. Why is it useful to adjust the vertical amplitude until the pattern is exactly 8 divisions
high? (In this case: Why is it useful to adjust the vertical amplitude an applied voltage of 8
Volt?)
Task
Prepare the following circuit in the simulator:
Fig. 1
You can get the labels “input” and “output” with the “label net” command from the menu bar.
Specify these labels with the port type “output” and name them.
The values for the resistor and the capacitor changes in the following instruction (see Table 1
on page 8).
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-6- 47533 Kleve
For the voltage source we must use the
“Advanced” mode:
Fig .3
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-7- 47533 Kleve
1. Repeat the simulation with R = 4,7 kΩ and R = 22 kΩ (case 2 and 3).
2. Using R = 10 kΩ, repeat further steps with C = 0,047μF and C = 0,22μF (case 4 and 5).
3. Record your findings in Table 1
4. Take the data of the file “Exp_4_task_1.raw” and “Exp_4_task_1.plt”. Import that RAW-file
in LTSpice (make sure to choose “Waveforms” instead of “Schematics” in the file dialog).
These file contains the charge- and discharge- curve of an unknown resistor and the
capacitor 0.1µF. Evaluate from this file the time constant 𝜏 for case 6.
(If you have still an empty page – the PLT-file is missing in the same directory….)
Table 1
R C Time Tperiod Ton (in ms) Time
constant for the for the constant 𝜏
(calculated) simulator simulator (measured)
(ms) (calculated) (calculated)
(in ms)
Case 1 10 kΩ 0,1µF 1 10 5 1
Case 2 4,7 kΩ 0,1µF 4.7
.47 2.35 .47
Case 3 22 kΩ 0,1µF 22
2.2 11 2.2
Case 4 0,047µ
10 kΩ .47
F 4.7 2.35 .47
Case 5 0,22µ
10 kΩ
F 2.2 22 22 2.2
File “Exp_4_task_1.raw” and “Exp_4_task_1.plt” needed for case 6
Case 6 unknown 0,1µF X X X 0.047ms
Elaboration:
What is the value of the unknown resistor?
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-8- 47533 Kleve
TASK 2: MEASUREMENTS CARRIED OUT ON A RC-NETWORK
Construct the simple resistor-capacitor (RC) network shown below in Figure 4 in the
simulator, and set the value of the voltage source to a 2 Volt peak-to-peak sine wave.
For doing so, set the settings on the voltage source using the “Advanced” feature to a SINE
and specify the amplitude to 1V and the frequency to 2kHz. Let the simulation run as a
transient simulation for at least 10ms.
Input
Output
Fig. 4
Ground
Again we can use the label tool from the simulation program go get some output on the
screen.
Figure out a way to find the delay (lag, phase-shift) of the output compared to the
input. Take a set of measurements to fill out the table below (next page).
Fig. 9
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
-9- 47533 Kleve
Prepare:
Complete the drawing below (left). Calculate the Phase shift, the time delay and the
voltage Uout (Provide the calculations in written form using complex calculations!). Use
the 2 kHz case for these calculations.
100 µs
/DIV
Task:
Simulate the circuit for both input frequencies (2kHz and 5kHz) and fill out the table and
complete the graphs below:
Input frequency Uin amplitude Uout amplitude Time delay Phase shift (in degrees,
(set 2 Vpp) (peak – peak) (output vs. input) output vs. input)
Elaboration
1. Compare your calculations and drawings.
2. Calculate the phase shift for the 5kHz case. Is it a different value? Why (Calculation
using complex numbers and explanation in your own words)?
2 kHz 5 kHz
Hochschule Rhein-Waal
December 2020 Marie-Curie-Str. 1
- 10 - 47533 Kleve