Eee334 Lab#1 Ltspice and Lab Orientation - Instruments and Measurements
Eee334 Lab#1 Ltspice and Lab Orientation - Instruments and Measurements
Eee334 Lab#1 Ltspice and Lab Orientation - Instruments and Measurements
EEE334 Lab#1
LTSpice and Lab Orientation - Instruments and Measurements
In this experiment, the student will become familiar with basic circuit implementation in
LTSpice and with using the lab equipment to be utilized throughout this course. In LTSpice there
will be DC and AC circuit simulation, Transient and AC analysis exercises. In the lab, the
equipment to be used includes the ADK oscilloscope, ADK signal generator and ADK network
analyzer.
In this lab, the student is expected to learn the order lab data should be collected for report
purposes, LTSpice and equipment setup and measurements, thus this experiment is structured
and step by step instructions are provided to achieve those objectives, later labs will not include
this format or level of detail except for special cases.
1.1 Simple DC circuit
VS1 3V DC
VS2 4V DC
R1 2.2kΩ
R2 2.2kΩ
R3 2.2kΩ
NOTE: ALWAYS paste LTSpice outcomes onto the result section of the lab
report
1
EEE 334 Lab #1 - Online
4. In the lab, build the circuit on your breadboard in Fig. 1.1, ensure resistor values by first
measuring the resistors using the MS8217 Handheld Multimeter set on Ohms.
Use the Analog Discovery Kit (ADK) to:
5. Measure and record Vout
6. Measure and record the current through R2
Hint: You can measure the current (AC or DC) using one of the following ways:
Measure the voltage across the resistor from the ADK and divide by the value of the resistor
or Measure the current directly using your multimeter.
7. Use % Error to compare the calculated, the LTSpice, and the measured Lab results.
% Error =| ( MeasuredValue - CalculatedValue) | *100 / ( MeasuredValue)
1.2 Simple AC circuit
VS 2Vpp f = 100Hz
R1 1kΩ
R2 1kΩ
R3 10kΩ
R4 10kΩ
Fig.1.2
1. Calculate the current through R2 and R4 in the circuit shown in Fig. 1.2.
2. Calculate the voltage across R1, R2, R3 and R4.
3. Define Vrms and calculate Vrms for R2.
4. Simulate the circuit in LTSpice.
a. Create circuit schematic.
b. Set up for Transient Analysis and obtain in one plot the Current waveforms
through R2 and R4.
c. Obtain in one plot the Voltage waveforms through R1, R2, R3 and R4.
NOTE: ALWAYS paste the resulting Transient Analysis plot onto the result
section of the lab report.
5. In the lab, assemble the circuit in Fig. 1.2, ensure resistor values by using the MS8217
Handheld Multimeter to measure them.
6. Set the Function Generator in your ADK.
2
EEE 334 Lab #1 - Online
3
EEE 334 Lab #1 - Online
VS 2 Vpp f=10kHz
R 1kΩ
C 0.01µF
4
EEE 334 Lab #1 - Online
5
EEE 334 Lab #1 - Online
VS 2Vpp f=1kHz
C 0.01uf
R 20 kΩ
6
EEE 334 Lab #1 - Online
Post-lab Questions: (These are theoretical questions. Use LTSpice and calculator)
1. With respect to AC parameters, what type of Voltage or Current measurement is
taken with digital multimeters and what types with oscilloscopes?
2. Why is it dangerous to short a voltage source?
3. Use LTSpice to implement and discuss the outcomes of the followings:
a. Modifying the resistors, R1 and R2, to be 10kΩ in the simple AC circuit shown
in Fig. 1.2, instead of 1kΩ.
b. Applying a sinusoidal input signal of 20Vpp and 1 kHz in the low pass filter
circuit shown in Fig. 1.3, as a substitute of 2Vpp and 10 kHz.
Note: Always do Transient and AC analysis when there are frequency
dependent components in the circuit.
7
EEE 334 Lab #1 - Online
c. Modifying the resistor R to be 2kΩ in the High Pass Filter circuit shown in
Fig. 1.4, instead of 20 kΩ.
Note: Always do Transient and AC analysis when there are frequency
dependent components in the circuit.
4. Determine the nominal value of the resistor, along with its tolerance, equivalent to the
following colors of the bands. Use Table 1.1 and eqn. (1.3).
i. Band A, brown; band B, black; band C, red; band D, gold.
ii. A, B, and C bands are yellow and band D is gold.
iii. If the nominal value of the resistor is 10Ω, what would be the best
choice of the color bands?
A B C D
R = (10A+B) C ± D% (1.3)
8
EEE 334 Lab #1 - Online