Laboratory 1: Ltspice/Analog Discovery Introductory Circuits
Laboratory 1: Ltspice/Analog Discovery Introductory Circuits
Choose a partner:
1) Pick a partner. Remember, you will likely have to work with this person for
the rest of the semester
2) Only one laboratory report is needed for each pair of partners. Make sure
you include both names on the front of the report. Also remember to add
your partner to Gradescope. (Only one person needs to submit it).
Installation:
1) LTSpice
a. Use the link http://www.analog.com/en/design-center/design-tools-
and-calculators/ltspice-simulator.html
i. Or find (LTSpice Download) on the Circuits webpage under
Resources.
b. Run the executable and follow the default installation.
1) Create the circuit above in LTSpice and display the current, voltage and
power values for the circuit similar to the diagram below. The sample image
below has different component values but gives an idea of what you need to
show.
Note: If you are confident that you can do this without step-by-step
instruction you can skip to A2. Step-by-step instructions are below.
2) Find and Add the Component (shortcut “F2”), VDC, by typing “voltage”.
Press “OK”.
a. A DC voltage source should follow your cursor.
b. Left click to place. Press ESC to keep from duplicating. (If you make
a mistake, you can press CTRL-V to cut the component).
c. Move your cursor over the component. When a hand pointing left
appears, right click, to edit the value of the DC voltage. Change the
value to 5V.
3) Add resistors. (shortcut “R”). Press CTRL-R to rotate. Right click to place
and ESC to keep from duplicating.
a. They should be default labeled R1 and R2.
c. Change values of R1 and R2 to 1.5k and 3.2k respectively by right
clicking the component.
4) Connect the DC source and the two resistors in a closed loop by placing wire
connections between each component. (shortcut “F3”) Click on one of the
square boxes connected to a circuit component and then move the mouse
and click on another square box to place a wire connection.
5) Add a ground connection. (shortcut “G”) You MUST use a ground in every
circuit you simulate. Be sure to wire this as well.
iii. Press ok, and move the label anywhere convenient using the
“Move” hand on the toolbar
b. FOR IR2
i. Right click on the wire to the right of R1 again. It will show
voltage but you will change it by right clicking on it and
choosing I(R2) which will show in the text box
ii. Be sure to round this value to significant figures.
Note: LTSpice assumes conventional current flows from positive to
negative terminal of the power supply (pointing down). Therefore all
resistors current will be labeled as negative in LTSpice. To make positive
simply add a negative in front of I(R1) and I(R2).
c. For PR2
i. An equation can be written P=VI with rounding to significant
figures is included round(I(R2)*V(n002)*10000)/10000
d. Add text above all the numerical labels by pressing “t”. The radio
button should automatically be on “Comment”. Type VR2 in the text
box for example and place near the value in the figure.
e. Repeat this process for the voltage current and power for R1 and
power for the voltage source in your figure. Remember VR1 is the
difference between points V(n001) and V(n002) in the diagram.
Also remember power supplied must equal power absorbed by the
resistors!
Results
1) Include a screen shot of your results in your report. Report template can be
found https://ecse.rpi.edu/~ssawyer/CircuitsSum2018_all/Templates/
Written by J. Braunstein Modified by S. Sawyer Summer 2019: 5/15/2019
Rensselaer Polytechnic Institute Troy, New York, USA
5
Alpha Laboratories
5) Change the location of your ground (move it to a different node) and verify
that the current through R5 has not changed.
Installations:
1) Analog Discovery Board 1 (or Analog Discovery Board 2)
a. In a web browser, open up the page
https://store.digilentinc.com/waveforms-previously-waveforms-2015/
Click on the link, “DOWNLOAD HERE”
b. Follow the default install. If it asks about any Microsoft runtime
libraries, let it install them.
c. If you are using Windows 7, then open the Start Menu and find the
Digilent tab and start the Waveform application. If you are using
Windows 8 or Windows 10, find the Waveform application using the
search tool and start it.
2) Parallel Resistors
R1 R2
a. Click the Master Enable is Off button to turn DC voltage on. It should
now say Master Enable is On and be highlighted in blue.
b. This provides access to a 5V/-5V supply using the V+/V- connections
on the Discovery board.
c. You find the connections and see that they are the solid red wire and
the solid white wire, respectively.
4) To find Voltmeter, go back to the Welcome Tab
a. Choose the forth icon, Voltmeter, and a new window should open.
b. In the upper left corner of the Voltmeter window, click the Run box so
that they you can use the channel inputs for digital measurements.
c. For now, we only be using the DC measurements.
d. There are two input channels, Channel 1 and Channel. They are
represented as 1+/1- and 2+/2- on the discovery board.
e. Channel 1 is the solid orange wire (1+) and the orange wire with a
white stripe (1-).
f. Channel 2 is the solid blue wire (2+) and the blue wire with a white
stripe (2-).
g. Each channel needs two connections, to measure across a circuit
component (equivalent to using a voltmeter)
Hardware
1) Connect six pin header to your proto-board, making sure that each pin is
connected to a different row.
2) Connect the V+ (red wire) to one of the header pins and a ground (any of the
black wires) to another pin.
3) Connect another six pin header to a different area on the proto-board. (This
is for convenience, if you really want you can use only one six pin header).
4) Connect the 1+ (orange wire) to a header pin and the 1- (orange white stripe
wite) to another header pins.
5) On your proto-board, connect the V+ row to the 1+ row and connect the
ground row to the 1- row.
First off, we will look at a simple voltage divider. Build the following circuit
R1
3.3k
V2
5 R2
6.8k
In this circuit, the positive side of the voltage source is the V+ connection (red
wire) and the negative side of the voltage source is any of the grounds (black
wires).
We will use the Discovery Board to make voltage measurements across each
resistor.
Replace R2 with a much larger resistor (100kΩ or more). Measure the voltage
across R1 and R2 again. In this case we can symbolically say, VR2 ≈ _________
b. With that in mind, circuit reduction in this simple circuit would result
in an equivalent resistance when R2 >> R1, then REQ = R1+R2
≈___________ (symbolically, not numerically).
R1
1k
V3
5 R2 Voltmeter
1k
1) Build the simple voltage divider circuit shown above. In a more complete
model, the Voltmeter is actually part of the circuit. Ideally it has no affect on
the circuit.
2) Measure the voltage across R2.
a. Does the measurement agree with expectations for the voltage divider
circuit?
R1
1Meg
V3
5 R2 Voltmeter
1Meg
3) Replace the 1k resistors with 1Meg resistors and measure the voltage across
R2 again.
a. Does the measurement agree with expectations? What affect did the
Channel 1 probes (the Voltmeter) have on the circuit? Why?
Can a sensor tell a cloudy day from a cloudless, bright sunny day? The full context
of the circuit design below can be found in the introduction of Beta Laboratories
Design Stage 1 found in the link below.
https://ecse.rpi.edu/~ssawyer/CircuitsSum2019_all/Labs/Unit1/BetaDS1.pdf
You have a 5V source and two resistors. Design a circuit using these components
that will provide 3.7V reference for the next part of the circuit using LTspice. (The
next part of the circuit is arbitrary for now.)
1) Show the bias point analysis results.
2) Build the circuit and measure using the Analog Discovery Board. Provide
screen shot of the results.