ECS_lab_sem_5-1
ECS_lab_sem_5-1
Objectives
1. Introduction to lab instruments
2. Running a LT Spice simulation
The measured voltage closely matched the voltage set on the power supply,
verifying the accuracy of both the power supply and the measurement
procedure. This confirms that the setup and the method used to measure the
voltage were correct.
Using the Oscilloscope and Function generator
We experimented with Oscilloscope and function generator. Making a function
wave and trying to find its plot without the auto function, using knob. Adjusting
scale and Location we finally get a good representation of the original function
wave.
LT Spice Simulation
Prerequisites
Install LTSpice on your device. One can install it from LTspice - EngineerZone
(analog.com)
Schematic
Green is about both the resistors, while blue is about the 10Ω resistor. ≈3.4V
We thus learnt very basic functionality of LTSpice software. It can be later
used in our course to simulate advanced electronic circuitry.
Objectives
1. Verification of ohm's law using IV characteristics (DC input).
2. Verification of ohm's law using IV characteristics (AC input).
3. Experiment to verify the Voltage Divider Rule.
where V is applied voltage, and I is the current through the ohmic resistor and
R is the proportionality constant which is known as resistance.
Procedure
1. Make the circuit shown in a breadboard or kit provided.
2. Sweep the voltage from Vmin to Vmax in a small step (say 0.5V).
3. Measure the current using the digital multi-meter and record the values.
4. Plot the I-V characteristics in laboratory book.
5. Repeat the experiment from step 2 to step 4 for different values of R.
Take Vmax = 10V or 5V (Based on current change is less or more) and voltage
step between 0.5V to 2V.
Perform the test for 5 different resistances, R = 100Ω, 500Ω, 100kΩ, 500kΩ,
10MΩ
The values of Vmin, Vmax, voltage step and R were given by the instructor in the
lab.
Observations
Voltage (V) Current (mA)
2 17.26
2.5 21.36
3 25.64
3.5 33.23
4 37.25
5 44.30
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 8.99kΩ-1. Thus, the resistance calculated is nearly 111Ω.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 0.086MΩ-1. Thus, the resistance calculated is nearly 11.5MΩ.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 10.3MΩ-1. Thus, the resistance calculated is nearly 97.4kΩ.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 1.813kΩ-1. Thus, the resistance calculated is nearly 551Ω.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 1.79MΩ-1. Thus, the resistance calculated is nearly 559kΩ.
Observation
For 100Ω resistance:
Voltage (V) Current (mA)
5 52.4
10 105.1
12.5 131.1
15 157.5
20 182.3
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 9.89kΩ-1. Thus, the resistance calculated is nearly 101.1Ω.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 0.084MΩ-1. Thus, the resistance calculated is nearly 11.8MΩ.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 10.02MΩ-1. Thus, the resistance calculated is nearly 99kΩ.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 1.8kΩ-1. Thus, the resistance calculated is nearly 555.55Ω.
Resistance will be inverse of the slope of IV graph. Here the slope of best fit
line is nearly 2.1MΩ-1. Thus, the resistance calculated is nearly 478kΩ.
Equipment
1. Adjustable DC Power Supply
2. Digital Multimeter
3. R1 = 100
4. R2 = 500
5. R3 = 100k
Procedure
1. Using the circuit of Fig.1.3 with R1 = 1 k, R2 = 2.2 k, R3 = 3.3 k, and E =
5 volts, determine the theoretical current and record it in table. Construct
the circuit. Set the DMM to read DC current and insert it in the circuit at
point A. Remember, ammeters go in-line and require the circuit to be
opened for proper measurement. The red lead should be placed closer
to the positive source terminal. Record this current. Repeat the current
measurements at points B and C.
2. Using the theoretical current found in Step 1, apply Ohm’s law to
determine the expected voltage drops across R1, R2, and R3. Record
these values.
3. Set the DMM to measure DC voltage. Remember, unlike current, voltage
is measured across components. Place the DMM probes across R1 and
measure its voltage. Again, red lead should be placed closer to the
positive source terminal. Record this value. Repeat this process for the
voltages across R2 and R3. Determine the percent deviation between
theoretical and measured for each of the three resistor voltages and
record.
Observation
E = 2V
I Theory I point A I point B I point C
19.88 20.9 20.9 20.9
E = 10V
I Theory I point A I point B I point C
99.4 101.6 101.6 101.5
Objectives:
1. Charging and discharging characteristics of capacitor using DC source.
2. Effect on the output of RC circuit for a square wave input signal.
3. Experiment with RL circuit with DC source. Record the voltage and
current across the L with time.
Results:
Input voltage = 5 Vpp square wave for all the experiments bellow
RC circuit with R = 1kΩ and C = 90nF implies 𝝉 = 90µs;
Time constant Rise time (µs) Fall time (µs) Vout (Volts)
(µs)
𝝉 = 90 45 45 1.41
Inductor:
The series LR circuit is composed of an inductor (L) and resistor (R)
connected in series along with a constant DC voltage source V. This is similar
to that of RC circuit discussed in the previous experiment where capacitor (C)
was used instead of inductor (L). Once the circuit is connected to a constant
DC voltage source, the current starts flowing through the circuit but takes
some time to reach to the maximum value as per ohms law i.e. V⁄R. The
reason behind the delay of reaching maximum current is the self-induced emf
within the coil i.e. inductor due to the magnetic flux as per Lenz’s law. Thus, it
takes some time to for the applied voltage source to neutralize the self-
induced emf and thereafter the current becomes constant. The rate of change
of current and voltage depends on the time constant (τ), similar to that of RC
circuit. In case of RL circuit, the time constant is determined and defined as, τ
= L⁄R, where τ is in seconds when inductance L is in Henry and resistance R is
in ohms.
The voltage across the L (VL) at any time t can be given by, VL = V e−t⁄τ, where
V is the applied voltage.
Similarly, the current through the L (IL) at any time t can be given by,
IL = (V/R)(1 − e−t⁄τ ), where V is the applied voltage and R is the resistance.
Results:
Input voltage = 5 Vpp square wave for all the experiments bellow
RL circuit with R=1kΩ and L=4.7mH and 𝝉 = 4.7µs,
Time constant (µs) Vout (Volts)
𝝉 = 4.7 1.62
5 𝝉 = 23.5 4.66
5 𝝉 = 23.5 4.64
Objectives
1. Design a passive low-pass filter in LTspice and verify with experiment.
2. Design a passive high-pass filter in LTspice and verify with experiment.
Theory
The RC low pass filter allows frequency signals below the cut-off frequency fc:
1
f c=
2 π RC
The output voltage signal attenuates when the supply frequency is greater
than the cut-off frequency as shown in figure below. At the cut-off frequency,
capacitor C’s capacitive reactance is equal to resistor R's resistance, causing
the output voltage to be 0.707 times the input voltage (-3 dB).
V out
Gain ( dB ) =20 log
V¿
Procedure
1. Connect the circuit as shown in the circuit diagram.
2. Supply the AC sinusoidal signal from the signal generator.
3. Measure the AC output voltage from an oscilloscope (or) multimeter by
varying the supply frequency.
Results
We compare the experimental plots with the plots obtained from LTSpice
above:
As you can see the results are close and withing the margin of experimental
error.
The output voltage signal attenuates when the supply frequency is greater
than the cut-off frequency as shown in figure below. At the cut-off frequency,
capacitor C’s capacitive reactance is equal to resistor R's resistance, causing
the output voltage to be 0.707 times the input voltage (-3 dB).
V out
Gain ( dB ) =20 log
V¿
Here is the output of the simulation done on LTSpice, for the Voltage
(Amplitude) about the capacitor for the input voltage being 2Vpp.
Procedure
1. Connect the circuit as shown in the circuit diagram
2. Supply the AC sinusoidal signal from the signal generator.
3. Measure the AC output voltage from an oscilloscope (or) multimeter by
varying the supply frequency.
Results
We compare the experimental plots with the plots obtained from LTSpice
above:
As you can see the results are close and withing the margin of experimental
error.
Objectives
1. For the given RLC circuit, apply input signals of different frequencies and
vary the resistance values for a fixed value of L and C and measure
output voltage, Vout(t).
2. Measuring Vout for these combinations for observing underdamp,
overdamp and critically damped behaviour after adjusting the
appropriate values of RLC.
Brief theory
The series RLC circuit is composed of a resistor (R), a capacitor (C), and an
inductor (L) connected in series as illustrated in figure. In case of a pure ohmic
resistor the voltage and current waveforms are in-phase with each other. In
case of pure inductance surface the voltage waveform leads the current by 90°
and for pure capacitance the voltage lags the current by 90°.
The mentioned phase difference between the voltage and current depends on
the reactance (X) of circuit. For a purely resistive circuit element, X = 0; for
purely inductive circuit element, X > 0; and for purely capacitive circuit
element, X < 0.
The reactance and impedance of the circuit elements are,
The RLC circuit in this case will help us to analyse each circuit element
simultaneously. This circuit is like the series RL and RC circuits discussed
previously, the difference in similar to case is that the reactance of both L and
C will be counted together in overall reactance of the circuit. In the circuit
under consideration consists of a single loop with the same current flowing
through all three-circuit element. Since, the reactance’s of L and C are a
function of frequency (ω = 2πf, f is frequency), hence the sinusoidal response
of the circuit will vary with input frequency, f. In this case, the individual voltage
drop of each circuit element, R, L, and C will be out of phase with each other.
Procedure
1. Connect the circuit as per figure above on breadboard using connecting
wires.
2. Connect the function generator in the input of the circuit.
3. Connect one channel of the oscilloscope across the resistor (R) and the
other channel with input.
4. Provide a sinusoidal signal of amplitude 5 V and a frequency of 50 Hz or
as instructed by the lab instructor.
5. Record the output voltage signal across the resistor.
6. Thereafter, connect the oscilloscope across the inductor and record the
output voltage signal.
7. Finally, connect the oscilloscope across the capacitor and record the
output voltage signal.
8. Change the frequency and plot the frequency versus peak voltage to find
the resonance
9. frequency, ω0 =1/ √ LC .
Results
We performed the experiment with three different resistances, 1 kΩ, 10 kΩ
and 220 Ω. The results are as follows:
Notice the peak is nearly at 730 Volts which is roughly equal to our resonance
frequency for the circuit too.
Components Required:
1. Inductor
2. Capacitor
3. Resistor (less than, equal to, and more than 110)
4. Breadboard
5. Jumper wires
6. Oscilloscope
Brief Theory:
The basic discussion on the RLC circuit has been discussed in the previous
experiment. If we consider KVL the, VR + VL + VC = V(t) where VR, VL, and VC
are the voltages across, R, L , and C, respectively and V(t) is the input voltage
signal. Substituting the values of the voltages across each electronic
components we get,
Procedure:
1. Connect the circuit as per figure above on breadboard.
2. Connect the function generator in the input of the circuit.
3. Connect one channel of the oscilloscope across the inductor (L) and the
other channel with input.
4. Provide a square wave of amplitude 1 V and a frequency of 50 Hz
(adjust the signal if necessary) or as instructed by the lab instructor.
5. Make the circuit for three different LC combinations as instructed by lab
instructor for three different damping conditions.
6. Expand the time scale of the oscilloscope to get the damping behavior of
the circuit.
7. Connect one channel of the oscilloscope across the capacitor (C) and
the other channel with input.
8. Perform the same experiment (4-6) and observe the damping behavior.
Results:
Overdamped Underdamped
Critically damped
Objectives
1. I-V characteristics of a diode
2. Study of Full-wave and Half-wave rectifier circuit
3. Study if Clipper and Clamper circuit
Brief theory:
A diode is a unidirectional passive device, therefore the polarity of the power
source connected to it counts. An ideal diode is a perfect conductor in one
direction of current and an ideal insulator in the opposing direction. However,
the diode does not behave as an ideal conductor or insulator in any scenario.
A junction diode is essentially a semiconductor PN junction made up of p-type
and n-type semiconductive regions. If the positive (negative) terminal of a
voltage source is connected to the P-side (N-side) of the diode, the diode is
said to be forward biased or ON; otherwise, it is reverse biased or OFF. A true
semiconductor diode built of Silicon requires around 0.7 V forward bias before
it can conduct current.
It conducts very little current in reverse bias, which should ideally be zero. The
forward current moves from the region of p to n. The following formula
represents the typical voltage-current (V-I) relationship in a true PN junction
diode.,
VD
nVT
I =I S (e −1)
Where, I is the diode current, I S is the reverse bias saturation current or scale
current, V D Is the applied voltage across the diode, V T Is the thermal voltage,
and nIs the ideality factor.
Procedure:
1. Connect the power supply, voltmeter, ammeter with the diode as shown
in the figure above. Use two multimeters, one to measure current
through diode and other to measure voltage across diode as shown in
the Figure 4.1.
2. Increase voltage from the power supply from 0 V in step as shown in the
observation table.
3. Measure voltage across diode and current through diode. Note down
readings in the observation table.
4. Plot the graphs of Diode voltage vs. Diode current.
Results:
Full-wave rectifier:
Results:
Objective
Study of Common emitter configuration (IC vs VCE for different VBE)
Brief Theory:
Bipolar Junction Transistor (BJT) has three terminals namely, emitter (E), base
(B), and collector (C). A BJT is composed of two PN junctions and the
operation of BJT is mainly based on the PN junction characteristics. In case of
a npn transistor in active region, under forward biased emitter-base (EB)
junction, the majority carrier electrons in n-type emitter region are injected to
thin p-type base region where the electrons as minority carrier diffuse towards
the collector through the reverse biased collector-base (CB) junction. Some of
the electrons recombine with holes in the thin p-type base region to produce a
small base current (IB) and the remaining reach collector as a collector current
(IC).
Hence, if there is no current from emitter (IE), then there will be almost no IC.
Combining all the currents, the total emitter current, IE = IB + IC.
In case of pnp transistor, the polarity of voltage sources must be reversed.
Depending on the biasing of two junctions (i.e. EB and CB) transistor, the
transistor can be said to be in different modes of operation.
Output characteristics are obtained between the output voltage and output
current at constant input current. It is plotted between VCE and IC at constant
IB in CE configuration.
Results:
Materials Required
NAND IC – 7400
NOR IC – 7404
Bread Board
Jumper wires
LEDs
DMM
DC Power supply
Nand
NAND gate is a combination of two logic gates i.e. AND gate followed by NOT
gate. So its output is complement of the output of an AND gate. This gate can
have minimum two inputs. By using only NAND gates, we can realize all logic
functions: AND, OR, NOT, Ex-OR, Ex-NOR, NOR. So this gate is also called
as universal gate.
NAND gate as OR
From DeMorgan’s theorems:
( A . B)’=A ’+ B ’
( A ’ . B’ )’= A ’ ’ + B ’ ’=A + BSo, give the inverted inputs to a NAND gate, obtain OR
operation at output.
0 or 0 1 or 0 / 0 or 1
1 or 1
NAND gate as AND
A NAND produces complement of AND gate. So, if the output of a NAND gate
is inverted, overall output will be that of an AND gate.
Y =((A . B)’ )’
Y =( A . B)
1 and 1
NAND gates as Ex-OR
The output of a two input Ex-OR gate is shown by: Y = A’B + AB’. This can be
achieved with the logic diagram shown in the left side.
1 xor 1
Y = AB+ A ’ B ’
1 n-xor 1
NOR
NOR gate is actually a combination of two logic gates: OR gate followed by
NOT gate. So its output is complement of the output of an OR gate.This gate
can have minimum two inputs, output is always one. By using only NOR gates,
we can realize all logic functions: AND, OR, NOT, Ex-OR, Ex-NOR, NAND. So
this gate is also called universal gate.
NOR gates as OR
A NOR produces complement of OR gate. So, if the output of a NOR gate is
inverted, overall output will be that of an OR gate.
Y =((A + B)’)’
Y =( A+ B)
0 or 0 0 or 1 / 1 or 0
1 or 1
( A ’+ B ’)’= A ’ ’ B ’ ’= AB
So, give the inverted inputs to a NOR gate, obtain AND operation at output.
1 and 1
1 xor 1
1 x-nor 1
Results
The setup done through experiments are along the theory of truth tables. Thus
we verify the setup and universality of NAND and NOR gates.