Lab Report 2
Lab Report 2
EEE-121
Lab Report
Equipment Required
Resistors, DMM, breadboard, DC power supply, and connecting wires.
Knowledge Level
Before working on this lab, students should have good understanding of Ohm’s Law.
Students should be able to theoretically solve the circuit shown in circuit diagram.
Pre-Lab Task:
EXPERIMENTAL VERIFICATION OF OHM’S LAW
Introduction:
Ohm’s law states that “the voltage v(or potential difference) across a resistor is directly
proportional to the current i flowing through it.” As the current increases the voltage drop
also increases provided that the resistance is kept constant; and the current decreases as the
resistance increases provided that the voltage across the resistor terminals remains the same.
Mathematically,
Task # 1:
Solve the circuit shown in figure below by hand before coming to the lab and find the Current
across the Resistor by varying voltages (from 0.5V to 5V in stepwise manner) for three
values of resistance R1 as show in table 1 below and record these values in table . The values
of resistors should be taken as 1KΩ, 2.2KΩ and 5KΩ. (The values of resistor available in
laboratory may slightly vary.
Task # 2:
INTRODUCTION TO LTSPICE:
LTSPICE is an abbreviation for Linear Technology Simulation Program with Integrated
Circuit Emphasis. It uses mathematical models to describe circuit elements and allows DC
and time transient analysis of nonlinear circuits (transistors, diodes, capacitors, etc., also
digital circuitry).
5. The component button can be used to put any circuit component on the
schematic diagram. The wire button can be used to connect different
components.
6. The label button can be used to give labels to different nodes. Otherwise a default
name isgivento each node.
7. To delete a component from the diagram either use F5 or click the scissors
button and click on the component to be deleted.
8. To make a simple circuit as shown below click on the component button.
10. This window contains a collection of basic component; to make the circuit as
shown above choose the voltage source and place it on the schematic diagram.
11. Place resistors on the schematic diagram and join those using wires to make the
complete circuit. To rotate aresistor so that it can be placed as in the given circuit,
selectthe resistor and press ctrl+r. Similarly ctrl+e is used to mirror a resistor.
Place the ground at the lower node.
12. The circuit iscomplete. To set the values of observe that each component has two
labels attached to it. One represents the name and other represents the value of the
component .To change the name or the value of any component left click on the
corresponding label e.g. each resistor comes with a label R1, R2 etc that represents
its name. Each resistor is also accompanied by a label R that represents its value.
To change the value of the resistor use left click on the label.Thefollowing window
appears.
6.Since we placed no label on the nodes so they are given names n001 and n002.The node
with ground connected is named 0.
7.Now we place our own label son the nodes by using the label net button on the tool bar and
run the simulation again.
8.So the node voltages and current through each component are listed. Note that the
current through the resistor R1 is negative. The reason is that R1 was rotated before
being placed in the circuit .LTspice defines a predetermined direction of current
through each resistor. A negative value shows that the actual direction of current is
opposite to the predetermined assumed direction. To check what direction LTspice
has assumed click View->Spice Netlist from the top menu. A netlist is at Ext version
Performance:
DC SWEEP ANALYSIS :
What diodes are…they study them in electronics 1…
DC Sweep is a type of simulation in LTSpice where the DC voltage of one or more than one
source(s) is varied in a step-wise manner. At each step the DC bias point is calculated, there
ults are usually represented in the graphs. This type of analysis is most suitable when plotting
the V-I curves of different devices or when designing a specific DC bias point for a particular
circuit.
TASK 2: Plotting the V-I curve of a real diode
1. Create a new schematic and draw the following circuit. Remember to label them
asV1andV2 as shown.
2. To perform the DC sweep analysis click the run command and choose the ‘DC
Sweep’ button on the window that appears.
3. Provide the name of the DC source which will perform the sweep i.e. V1 in our case.
Provide a start value lets say 0V and an end value lets say 2V and an increment (i.e.
Step) value letssay 0.05V.
4. The simulation will be performed and agraphical window would appear.
GRAPHICAL ANALYSIS (TRACE): -
1.Since the results of the DC Sweep are best viewed using a graphical utility so shall use the
graphical analysis of LTSPICE also called TRACE. When use a DC Sweep analysis the
value of the DC voltage source varies from the initial to the final value in the form of
incremental step, at each step all voltages and currents are measured and stored.Here we
want to plot the diode current as the value of diode voltage varies.
2.Maximize the graph window;take them cursor over the horizontal axis,Use the ‘right-
click’ button and a window would appear.
3.This window tells us that the quantity plotted on the horizontal-axis is the DC source
voltage V1. It also tells what themaximum and minimum value on the axis is and where the
ticks are placed. We can change all these values .Since we want to plot diode current vs diode
voltages we should place diode voltage on the horizontal-axis. To do so change the value of
‘Quantity plotted’ from ‘V1’ to V(V1)–V(V2).
4.Now move the mouse cursor somewhere on the graphical screen and use ‘left click’, from
the drop-down menu that appears click‘AddTrace’.The following window appears
5.It lists all the voltages and current which have been calculated during the DC sweep
simulation. Choose I(D1) which is the diode current.
9.By using right click on the graph, then numerical values at different points can be observed.
Performance:
Note: Now you have learned how to simulate the circuits on LTspice and plot Graphs.
Task # 3:
Create the circuit shown in figure 1 below on LTSPICE and simulate using DC Sweep
Analysis by varying voltages (from 0.5V to 5V in stepwise manner) for three values of
resistance R1 and plots the V-I curves of a Resistor R1 before coming to the lab and bring the
screen shorts with you in lab. The values of resistors should be taken as 1KΩ, 2.2KΩ and
5KΩrespectively. (The values of resistor available in laboratory may slightly vary. Also
simulate the circuit using DC Bias-Point and observe the values of corresponding current
‘Simulated Value’. Record these values along with calculated in the table below:
Figure 2
In-Lab Task:
Task# 1: Procedure
Task 1 Assemble on the bread-board the circuit shown in Figure 2.6 using the same
voltage setting on the power supply and the same resistor as shown.Set the
multi-meter to measure dc current, make sure that the leads are correctly set
for current measurement.Measure the current flowing through the resistor.
Does this value agree with the calculations using Ohm's Law ?
Task 2 Measure the current flowing through the resistor in the opposite direction. This
is done by reversing the leads of the ammeter. Does this value agree with the
10V
Lab Exercise:
Safety Precautions
Performance:
Measurement Section: Task-1
V R = 1K Ω R = 2.2K Ω R = 5K Ω
(v Calculated
Calculated
Calculated
Simulated
Simulated
Simulated
Measured
Measured
Measured
ol
I (mA)
I (mA)
I (mA)
I (mA)
I (mA)
I (mA)
I (mA)
I (mA)
I(mA)
ts
)
Post-Lab Tasks:
1.Plot the values Measured in the lab with voltage on x-axis and current on y-
axis on graph paper.
2.Answer the following Questions?
a. What is the advantage of using LTSPICE in circuit analysis?
b. What would happen if a wire having no resistance at all (0 Ω) was connected directly
across the terminals of a 6-volt battery? How much current would result, according to
Ohm’s Law?
Ans: Ideally if there is no resistance, i.e., short circuit is connected across a DC source
infinite current will flow as I=V/R and R= 0.2. Practically if you connect a wire directly
across a battery, it will start heating. Resistance of short wire is in the range of Ohms which is
very less as compared to resistors.
c. How would you place a DC current source with downward direction on LTSPICE
schematic?
d. When you simulate the circuit (Figure 2.6) in LTSPICE, the magnitude of current
through all elements is same; however, negative sign appears with current through
voltage source. What is the reason?
Critical Analysis / Conclusion
Lab Assessment
Pre Lab /5
Performance /5
Results /5 /25
Viva /5
Critical Analysis /5