Professional Documents
Culture Documents
National Instruments respects the intellectual property of others, and we ask our readers to do
the same. This resource is protected by copyright and other intellectual property laws. Where
the software referred to in this resource may be used to reproduce software or other materials
belonging to others, you should use such software only to reproduce materials that you may
reproduce in accordance with the terms of any applicable license or other legal restriction.
All other trademarks or product names are the property of their respective owners.
Additional Disclaimers: The reader assumes all risk of use of this resource and of all
information, theories, and programs contained or described in it. This resource may contain
technical inaccuracies, typographical errors, other errors and omissions, and out-of-date
information. Neither the author nor the publisher assumes any responsibility or liability for any
errors or omissions of any kind, to update any information, or for any infringement of any patent
or other intellectual property right.
Neither the author nor the publisher makes any warranties of any kind, including without
limitation any warranty as to the sufficiency of the resource or of any information, theories, or
programs contained or described in it, and any warranty that use of any information, theories, or
programs contained or described in the resource will not infringe any patent or other intellectual
property right. THIS RESOURCE IS PROVIDED “AS IS.” ALL WARRANTIES, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY AND ALL IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS, ARE DISCLAIMED.
No right or license is granted by publisher or author under any patent or other intellectual
property right, expressly, or by implication or estoppel.
IN NO EVENT SHALL THE PUBLISHER OR THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, SPECIAL, INCIDENTAL, COVER, ECONOMIC, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THIS RESOURCE OR ANY INFORMATION, THEORIES, OR PROGRAMS
CONTAINED OR DESCRIBED IN IT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES, AND EVEN IF CAUSED OR CONTRIBUTED TO BY THE NEGLIGENCE OF THE
PUBLISHER, THE AUTHOR, OR OTHERS. Applicable law may not allow the exclusion or
limitation of incidental or consequential damages, so the above limitation or exclusion may not
apply to you.
Lab 2 – Voltage Measurement Part I
Learning Objectives
In this lab you will explore, through hands-on experience, the concept and properties of voltage. Among
other experiments, you will
Simulate Ohm’s Law using Multisim Live Circuit.
Simulate AC/DC voltage sources using Multisim Live.
Use your NI ELVIS III DMM to measure voltage.
Use your NI ELVIS III Function Generator to generate a voltage signal and read it using an
Oscilloscope.
Simulate Kirchhoff’s Voltage Law using Multisim Live.
Conduct single-source voltage measurements using your NI Automated Measurements Board
and LabVIEW.
Conduct differential voltage measurements using your NI Automated Measurements Board and
LabVIEW.
Deliverables
You will be expected to:
Conduct experiments using the NI ELVIS III and record your observations
Conduct experiments using the NI Automated Measurements Board and record your observations
Simulate circuits using Multisim Live and record your observations
Complete Check for Understanding Questions
Required Tools and Technology
Platform: NI ELVIS III View User Manual:
Digital Multimeter http://www.ni.com/en-us/support/mode
Function Generator l.ni-elvis-iii.html
Oscilloscope View Tutorials:
https://www.youtube.com/playlist?
Note: The NI ELVIS III Cables and list=PLvcPIuVaUMIWm8ziaSxv0gwtsh
Accessories Kit (purchased BA2dh_M
separately) is required for using the
instruments.
Analogously, consider a brand-new AAA battery connected in series with a light bulb and an open switch
(see the figure below). Just like the pump creates a difference in pressure causing water to be pushed
through the pipes, the battery creates what is called a difference in electric potential. When the switch is
closed, that difference in potential pushes electric charge through the wire and the bulb. Thus, causing
the bulb filament to heat up and the bulb to emit light.
Note: All matter contains electric charge. We all experience the effect of electric charge on a day-to-day
basis. Be it a wool sweater that sparks in the dark or a plastic pen that attracts paper pieces when rubbed
by a cloth, these phenomena exhibit three basic properties of charge.
1. There are two types of electric charge that we refer to as positive charge (protons) and negative
charge (electrons).
2. Charges with the same sign repel. Charges with opposite signs attract.
3. “The natural” state of matter is to have an equal amount of positive and negative charge.
Thus, when bringing a negatively charged object in contact with a positively charged object, the excess
negative charge will flow to the positively charged object until some sort of “balance” is achieved.
Before we bring both objects into contact together, the excess negative charge has the “potential” to flow
to the other object. The is referred to as electric potential.
The longer bar of the battery represents the positively charged (+) side of the battery and shorter bar represents the negatively
charged (-) side of the battery. The electric potential at the (+) side is higher than that at the (-) side. Thus, when the circuit is
closed, the electric charge is pushed through the circuit from one side to another and through the light bulb. Technically, it is the
negative charges that move through the wire to the positive side. However, by convention, the positive electric current is
considered to flow from the positive to the negative side.
This is similar to the pump pushing the water through the pipe. In the case of the pump, what is being
pushed is water. In the case of the battery, what is being pushed is the negative electric charge (electrons).
The rate per time at which the electric charge is pushed through a point of the wire is referred to as
current.
Although, we do not see electric charge, we experience its effects on a daily basis. Be it a wool sweater
that sparks in the dark or plastic pen that attract paper pieces when rubbed by a cloth, all these phenomena
exhibit the fundamental properties of electric charges in objects around us. All matter contains two types
of charge, positive and negative. Charges of opposite type attract. Charges of the same type repel each
other. Objects with excess negative charge tend to discharge their excess when they come into contact
with objects with deficiency in negative electric charge (i.e. excess positive charge). This explains why
the excess negative charge on the (-) side is pushed through the copper wire to the (+) side. Charge is a
measurable phenomenon with a SI unit of C (Coulomb).
The imbalance in charge between both sides of the battery causes the difference in electric potential. That
difference in electric potential caused by the battery per unit of charge is referred to as the voltage of the
battery. Voltage is a measurable entity. It is measured in units of Volts (V). A typical AAA battery has
1.5V.
Connecting a battery with a higher voltage to the circuit in the above figure causes the light bulb to glow
brighter or burn out. This is because more current gets pushed through the filament which in turn heats up
more.
Note: Recall that the voltage is a measurement of the difference in electric potential per unit of charge.
Placing the DMM probes in the right spots is crucial for properly measuring the voltage. Furthermore,
make sure the (-) side of the battery is connected to the ground (COM) socket of the DMM.
In the above, the difference in potential between (voltage measure) the positive side of the battery and the negative side is
1.0557V. Place the common ground probe (COM) on the (-) side of the battery and the voltage probe of the DMM on the (+) side
of the battery. From the Measurement mode dropdown menu of the SFP (left-hand side) choose DC voltage Reversing the
position of the probes yields a negative reading.
Make sure your NI ELVS III is connected to your computer and powered on.
Launch Measurement Live https://measurementslive.ni.com/
Choose Instruments -> Digital Multimeter.
From the drop-down menu, choose the Voltage measurement mode.
3. What's is the voltage measurement read on the DMM Soft Front Panel? _____________.
4. Swap the positions of the probes. What is the voltage reading on the DMM Soft Front Panel?
________________________.
Notes:
Recall that measuring voltage is measuring the difference in electric potential between two
points.
The voltage might oscillate between two numbers. In such a case record that range in your
answer.
The relationship linking resistance, voltage and current is referred to as Ohm’s Law. Ohm's law is one of
the key laws of electricity. Ohm's Law states that the current ( I ) flowing in a conductor is directly
proportional to the potential difference ( V ) , or voltage, between its ends. The proportion coefficient is
the resistance ( R ) of the conductor material. It is expressed in the equation:
V ( v )=I ( A ) × R( Ω) .
Run the circuit by pressing the top-left play button. The legend on the Grapher indicates which graph
corresponds to which probe. The voltage source is assumed to be constant over time.
1. Double the value of the Resistance in the resistor (double -click the resistor and change the
resistance in the right-hand pane).
What is the new value of the current? _____
2. Change the voltage value to 24V. (double -click the voltage source and change the voltage in the
right-hand pane).
What is the new value of the current? _____
3. Click the voltage probe in the circuit.
a. What is the reference of the probe? _________
b. Move the voltage probe and place it on the circuit on the other side of the resistor (the
side of the ground). Run the circuit. What does the voltage probe read? __________
c. Place a reference probe on the circuit across the resistor on the opposite side from the
voltage probe. Change the reference of the voltage probe to the reference probe you
just added.
You can find reference probes on the left-hand side pane under the probes icons. You can
change the reference of a certain probe by clicking the probe itself, then editing its
properties on the right-hand side pane.
Run the circuit. What is the voltage you read? ________________________.
d. In your own words, explain how the concept of the voltage being the difference in
electric potential explain the negative and positive values you got in the previous
measurements.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
__________________________________.
AC/DC Voltage
Recall the earlier scenario during which we measured the voltage across the ends of a AAA battery. The
AAA battery voltage is said to be a DC (direct current) voltage. One end of the battery (+) has a higher
electric potential than the other end (-). Furthermore, the amounts of these potentials are constant (not
taking into account the depletion over a long period of usage time). This is why measuring the voltage
(difference in electric potential between the (+) side and the (-) side per charge) over time yielded a
positive constant value. In a DC voltage setting, the current flows in one direction, similar to the pump
that pushes the water in one direction.
However, there are other types of voltage sources. For example, the voltage powering a household
alternates over time between 120V and -120V. Depicting its alternation over time yields a wave similar
to the one in the figure below. It is called an AC (alternating current) Voltage. It yields a current that
alternates magnitude and direction (See the figure below).
We will postpone exploring currents and the direction of their flow in the Current Lab. For now, we
return to the topic of types voltage sources.
Figure 1 The Blue graph depicts an alternating sinewave voltage with amplitude of 120V as it changes over time. Note that the
frequency. The Green graph depicts the resulting current in a resistor.
Refer to the figure above. The Blue graph depicts an alternating sinewave voltage with an amplitude of
120V as it changes over time.
The voltage amplitude refers to the distance between the highest peak and the lowest peak in the
voltage graph divided by 2. In other words, it is half the difference between the highest and lowest
voltages supplied by the voltage source.
Changes in an AC voltage happen within the scale of milliseconds. The above voltage has a frequency of
1000 Hz (Hertz). This means, each 1 second, the voltage makes 1000 cycles. On the graph, this means
the sine wave completes 1000 periods in one second.
In this section you will use the function generator in your NI ELVIS III to generate various types of electric
waveforms. You will use the Oscilloscope on your NI ELVIS III to read these waveforms. The Soft Front
Panels will help you display the waveform on your computer screen
Open Measurement Live and launch the SFP Instruments Oscilloscope and Function Generator.
Figure 2 You could choose type of wave and the its corresponding NI ELVIS III output channel by selecting the drop-down list next
to the appropriate channel.
Connect the Output channel you chose to input channel of the Oscilloscope of your choosing.
Note how the connected channels match the ones chosen in the Oscilloscope and the Function Generator.
From the Oscilloscope SFP choose the channel you physically connected.
Click Run on both the Function Generator and Oscilloscope SFPs.
Function Generator sending a sinewave voltage signal that is picked up by the Oscilloscope and displayed.
4. In each case make the described change to the wave generated and describe how this impacts
the displayed wave on the Oscilloscope.
a. Change the offset of the signal to 2V.
________________________________________________________________________
__________________________________________________________________
b. Change the amplitude to 2V.
________________________________________________________________________
__________________________________________________________________
c. Change the Frequency successively to 200Hz, 400Hz and 500 Hz. In your own words
describe what happens on the chart.
Click on the dropdown button under the frequency bar to choose Hz, KHz or MHz.
________________________________________________________________________
__________________________________________________________________
What are the voltages across the various components in those circuits?
What are the currents across the various wires and components?
In this lab we will only deal with the first question. In the Current lab we will deal with the second one.
Kirchhoff’s Voltage law (KVL) states that the sum of the voltage drops (for components connected in
series) in any closed-circuit loop is equal to zero. The following figures illustrate how the sums of the
voltages across the components in a closed circuit equal zero.
The sum of the voltage differences between probe PR4 and REF4 (12V), between probe PR1 and REF1 (-8V) and between probe
PR2 and REF2 (-4V) is equal to zero.
The sum of the voltage difference between PR3 and REF3 (-12V) and between PR5 and REF5 (+12v) equals zero.
Open the circuit and use Save As to save your own copy of the circuit under a different name.
Probe PR1 measures the voltage drop across both resistors with respect to the ground. i.e. the
electric potential difference between point of the circuit where PR1 is connected and the ground
point. By the KVL, this value equals to the voltage supplied by the source which is 12V.
Probe PR3 measures the voltage drop across the second resistor with respect to the ground. No
component is connected between these two points; thus, there is no change in electric
potential, which makes the voltage 0V.
Probe PR3 measures the voltage across R2. i.e. the difference in electric potential between point
PR2 of the circuit and the ground.
All the measurements done with the above probe are done with respect to the ground. They are
called single-ended measurements.
On the other hand, let us consider the measurements done in the following circuit. Probe PR1
measures the voltage across the 1KΩ resistor in the positive direction of the current. It is not a single
ended-measurement. It measures the difference in electric potential between point of the circuit
where PR1 is connected and the point where the reference REF1 is connected. Thus, we say it is a
differential measurement between PR1 and REF1.
On the other hand, Probe PR2 indicates the differential voltage measurement done between the point
of the circuit where PR2 is connected and the point of the circuit where REF2 is connected. Note that
this measurement is equal to negative the single-ended measurement of indicated by PR2 in the
previous circuit.
The concepts of differential and single-ended voltage measurement are closely tied to the concepts of
single ended and differential voltage signals.
Consider the following circuit. The voltage source and the load, the resistor in our case, share the same
ground. The electric potential at the ground is zero. Thus, the voltage signal transmitted from the source
with respect to the ground and the voltage signal received at the load with respect to the same ground
are both DC 12V signals. This is called a single-ended voltage signal.
A 12V Voltage source connected in a closed-loop circuit with a 1KΩ resistor load.
Recall that voltage is the difference in electric potential per charge. Consider the same resistor in the
following circuit.
The voltage at the probe PR2 with respect to the ground is equal to that of the source voltage V2=12V.
The voltage at the probe PR3 with respect to the ground is equal to that of the source voltage V2=10V.
Thus, the electric potential difference per charge across the resistor R2 is V2-V3= 2V.
Attaching the probe PR4 at point A and its reference at point B yields the expected electric potential
difference per charge of 12V-10V = 2V (see the figure below).
This is called a Differential voltage signal. The signal received by the load is the difference between two
single-ended signal sources.
First, let us consider the following circuit that we looked into earlier.
Probe PR1 measures the voltage drop across the 1KΩ resistor. PR2 measures the voltage drop across resistor R2. Note that REF2
is the same as the ground reference. In other words, if we set the probe PR2 to reference the ground it would yield the same
amount.
Let us analyze why the probes return these values. Before we do, we need Kirchhoff’s Current Law
(KCL). We will go over it in the Current Lab. However, for now, you need to know that the current going
through loads in a closed loop circuit is the same.
To understand why the probes return these values, we need to employ the KVL, KCL and Ohm’s laws.
Denote the voltage drop across R1 by V1 and the voltage drop across R2 by V2. By KCL, we know that the
current flowing through R1 is the same as the one flowing through R2. We denote that current by I.
By KVL, we have
V 1 +V 2=12 V
V1 V2
I= =
R1 R 2
V1 V2
Which yields: =
1 2
Combining both equations yields V 2=8V and V 1=4 V
Drawing the differential voltage signal from across resistor R2 yields a scaled down voltage V2. According
to the above formula, the new scaled down voltage is
R2
V 2= V¿
R1 + R2
Where, Vin is the voltage of the input source, in our case it is 12V. The higher R1 is, the lower is the
output voltage drawn from across R2.
The potentiometer follows the same concept (see the figure below). Using a variable resistor, the
potentiometer takes a certain voltage as input and returns a scaled-down voltage as output. It is
equipped with a wiper that can be adjusted physically. Moving or rotating the wiper changes the
amount of resistance. This change yields a change in the scaled voltage output (see figure below).
The voltage sources are software programmable from your LabVIEW VI. Once the voltage sources are
configured, you can vary the output of the middle terminal by manually turning the potentiometer.
Being software programmable, they can be independently configured to create a wide variety of circuit
configurations. The following are some simplified circuits that you can create with different
configurations.
Tip: There is a single LED in the upper right-hand corner of the voltage measurement section. Software
can turn on the LED to indicate that the current experiment is making use of this section.
In the IP address section enter the IP address of the NI ELVIS III connected to
your computer.
This VI configures the voltage sources in a way that is represented in the circuit schematic below.
You will use a single-source measurement to measure the voltage on sockets 40, 42 or 41.
1. Connect channel A/AI0 to socket 40. Run the VI. Record voltage value read: ________.
2. Connect channel A/AI0 to socket 42. Run the VI. Record voltage value read: ________.
3. Connect channel A/AI0 to socket 41. Run the VI. Change the resistance on the potentiometer
while observing the corresponding change in voltage diagram and schematic. In your own
words, describe how the change in resistance of the potentiometer impacts the voltage output
through socket 41.
______________________________________________________________________________
__________________________________________________________________________.
Record the minimum possible voltage read through 42: _______.
Record the maximum voltage possible read through 41: ________.
Make sure your NI ELVS III is connected to your computer and powered on.
Launch Measurement Live and choose Instruments.
From the Instruments pane choose Multimeter.
From the drop-down menu, choose the Voltage measurement mode.
Connect your DMM probes (see the figure below).
Repeat the measurement experiment again. Use the cables of the DMM to measure the
voltage.
Note that the potentiometer measures the voltage drops between the positive and
negative probes. Thus, it is a differential measurement. Record the readings from the
Measurement Live Multimeter below:
a. Socket 40: ______________
b. Socket 42: ______________
c. Socket 41 Minimum Voltage: ______________
d. Socket 41 Maximum Voltage: ______________
In the IP address section enter the IP address of the NI ELVIS III connected to
your computer.
This VI configures the voltage sources in a way that is represented in the circuit schematic below.
Recall that a single-ended measurement voltage is done with respect to ground. Differential voltage is
the measure of voltage drop from one point with respect to another. The two points are called the
differential pairs. The VI returns:
Connect Bank A Channel AI0 (A/AI0) to socket 41 and Channel A/AI4 to socket 42.
Run the VI. Turn the potentiometer (VR4) and observe the voltage change in Schematic and Voltage
Chart.
1. Turn the potentiometer wiper al the way down until the single-ended voltage reading at socket
42 is minimal.
a. What is the value of this minimum? ________
b. What is the corresponding value of the differential-reading at the same socket with
respect to the differential pair at socket 42? ________
2. Turn the potentiometer wiper until you get a single-ended voltage reading at socket 42 of value
0V. What is the corresponding differential voltage reading? ________.
3. Turn the potentiometer wiper until you get a single-ended voltage reading at socket 42 of value
10V. What is the corresponding differential voltage reading? ________.
4. Unplug one side of the Banana Jack from socket42 and insert it in socket 40.
a. Turn the potentiometer wiper until you get a single-ended voltage reading at 41 of
amount 0V. What is the corresponding differential-measurement voltage at socket 41?
___________________
b. Turn the potentiometer wiper until you get a single-ended voltage reading at 41 of
amount 10V. What is the corresponding differential-measurement voltage at socket 41?
___________________
c. Turn the potentiometer wiper until you get a single-ended voltage reading at 41 of
amount -10V. What is the corresponding differential-measurement voltage at socket
41?___________________
5. In your own words, explain why the measurement differ from before you swapped the cable
plug socket.
______________________________________________________________________________
______________________________________________________________________________.
6. Return the Banana Jack plug to its initial socket. Repeat the previous set of measurements using
the NI ELVIS III DMM.
Note: Recall that the DMM conducts a differential measurement. Make sure the negative lead is
grounded when you want to simulate and single ended measurement. In case of differential
measurements, the negative lead of the DMM needs to be placed at the differential pair of the
point from which you are measuring the voltage drop.
a. what is the minimum single -ended voltage reading at socket 41? _____________
b. what is the maximum single -ended voltage reading at socket 41? _____________
c. what is the minimum differential voltage reading at socket 41? _____________
d. what is the maximum differential voltage reading at socket 41? _____________
e. Where there any major discrepancies (more that 2) between the measurements
displayed in the VI and the ones you conducted by the DMM? ________________
Conclusion
Note: The following questions are meant to help you self-assess your understanding so far.
1. For each of the following, indicate whether the statement is true or false.
a. Resistance of a resistor is what prevents the voltage from flowing through it. [T/F]
b. The higher the resistance of a resistor the less is its capacity to allow current flow
through it. [T/F]
c. Connecting a voltage source in series with two resistors in a closed loop circuit splits in-
half the voltage over the resistors. [T/F]
2. Consider two voltage sources. one yields 4 V with respect to the ground reference. The other
yields 2 V with respect to the same ground reference.
a. What is the differential voltage measurement of the first source with respect to the
other? ____________________
b. What is the differential voltage measurement of the first source with respect to the
ground? ____________________
Explore Further
In this lab you explored some properties of voltage. You also investigated a DC Voltage signal and a
sinewave alternating voltage signal. Voltage signals emitted from sensors measuring natural physical
phenomena such as vibration, temperature, sound or strain rarely look like these two. They vary to
different extents in measure. Furthermore, sometimes they alternate at multiple frequency components as
opposed to the sinewave that has a single frequency component.
The type of signal we are acquiring, which many times we do not know, greatly influences the properties
of the measurement device we use to acquire it. It also greatly influences the type of software analysis
needed to reconstruct the full signal using only the measurements taken.
Thus, in such scenarios we try to find a finite number of numeric parameters that are associated with
every signal. Once found through measurement, testing and analysis, these parameters are enough to
uniquely identify the signal and predict its behavior at moments in time when we haven’t measured it.
In the Lab on Range, Resolution and Sampling Rate we explore some of these parameters and how they
influence the measurement device used. We also experiment with ways to identify them, given a certain
signal.