Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

Lab Manual:

Measurements and Instrumentation


Using the NI Automated Measurements Board for NI ELVIS III

Lab 0: Introduction to the NI Automated


Measurements Board
© 2019 National Instruments
All rights reserved. Neither this resource, nor any portion of it, may be copied or reproduced in
any form or by any means without written permission of the publisher.

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.

LabVIEW and National Instruments are trademarks of National Instruments.

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.
Required Tools and Technology
Platform: NI ELVIS III ✔ View User Manual: http://www.ni.com/en-
us/support/model.ni-elvis-iii.html
● Digital Multimeter
✔ View Tutorials:
● Function Generator
https://www.youtube.com/playlist?
● Variable Power Supply list=PLvcPIuVaUMIWm8ziaSxv0gwtshBA2dh
_M
● Oscilloscope

Note: The NI ELVIS III Cables and


Accessories Kit (purchased separately) is
required for using the instruments.

Hardware: NI Automated Measurements ✔ View Breadboard Tutorial:


Board
http://www.ni.com/tutorial/54749/en

Software: LabVIEW ✔ Before downloading and installing software,


Version 19.0 or Later refer to your professor or lab manager for
information on your lab’s software licenses
Toolkits and Modules: and infrastructure
● LabVIEW Real-Time Module ✔ Download & Install for NI ELVIS III:
http://www.ni.com/academic/download
● NI ELVIS III Toolkit
✔ View Tutorials:
http://www.ni.com/academic/students/lear
n-labview/
Introducing your NI Automated Measurements Board Lab Series

Your NI Automated Measurements Board is an educational tool that is designed with a view toward
simplifying and accelerating your learning experience. Each of its four major sections is designed to
teach you a different set of signal acquisition fundamentals, while simplifying the complexities that
would usually go with this educational process. Simplifying theses complexities will help you focus on
the specific concept you are learning with no distractions.

Goal and Organization of Course


The course is designed for you to experiment with all the fundamentals involved in the signal chain
process. This includes conducting experiments that will help you explore properties and characteristics
of:

✔ Voltage

✔ Current

✔ Resistance

✔ Amplifiers

✔ Filters

✔ ADC’s (Analog to Digital Converters)

✔ Sensors (Temperature, Hall Effect, Light, Force and Strain)

✔ Signal Acquisition and cleaning

✔ Signal Chain

✔ IoT Internet of Things

These concepts are distributed over 17 labs as follows:

0) Introduction to NI ELVIS III, 6) Amplification


Instrumentation and the NI Automated 7) Filters
Measurements Board 8) Analog-to-Digital Converters
1) Introduction to the Signal Chain 9) Error, Noise, Precision, and Accuracy
2) Voltage Part I 10) Measurement Software Analysis Part I
3) Voltage Part II 11) Measurement Software Analysis Part II
4) Current 12) Temperature Sensors
5) Resistance 13) Strain and Force
14) Vibration, Hall Effect and Light Intensity 16) Measurement System Design
15) IoT

Included Parts
To successfully complete the labs, you need access to a set of hardware and software packages.

Software: LabVIEW

Figure 1-2 You will use LabVEIW to acquire and analyze data

LabVIEW is systems engineering software for applications that require test, measurement, and control
with rapid access to hardware and data insights. A widely-used, industry-standard tool for engineering
system design, LabVIEW offers a graphical programming approach that helps visualize every aspect of an
application. This visualization makes it easy to design engineering systems, convey concepts, and help
students focus their time on the theory rather than get bogged down in the low-level implementation.

Learn more at: https://www.ni.com/en-us/shop/labview/labview-details.html


NI ELVIS III
The NI Educational Laboratory Virtual Instrumentation Suite (NI ELVIS) is an engineering laboratory
solution for project-based learning that combines instrumentation and embedded design with a web-
driven experience to create an active learning environment in the lab and studio and flipped classrooms,
delivering a greater understanding of engineering fundamentals and system design. NI ELVIS addresses
engineering curriculum by integrating project-based learning, teamwork, and design with course-specific
application boards and labs developed by experts from education and industry. NI ELVIS, as a
programmable platform, gives educators the ability to scale to future multidisciplinary applications
driving student employability.

Learn more at: http://ni.com/en-us/support/model.ni-elvis-iii.html

Figure 1-1 NI ELVIS III workstation fitted with an NI Automated Measurements Board.
You can install various types of application boards on your NI ELVIS III. Each application board is
designed to help you explore and innovate in a certain area of Engineering such as mechatronics, energy
systems, analog electronics, …etc. This sequence of labs focuses on the NI Automated Measurements
Board.

NI Automated Measurements Board


The NI Automated Measurements Board for NI ELVIS III supports teaching the fundamentals of
measurements and instrumentation for common electrical and physical phenomenon. You can explore
the full signal chain using real sensors and signal conditioning elements, with complete signal access at
the inputs and outputs of each section.

The application board section covering:

1) Electrical Fundamentals provides you with hands-on experience of concepts related to voltage,
current and resistance.
2) Signal Chain Elements give you a hands-on experience in the process starting in acquiring a
signal and ending in analysing the signal on your computer.
3) Prototyping enables you to create custom circuits that you can integrate with the circuit that is
built-in into the application board.
4) Extending your application board with peripherals used with FPGAs or microcontrollers
development application boards is provided by the PMOD expansion. Intuitively, a
microcontroller is a small computer on a single circuit. An FPGA (Field Programmable Gate
Array) is an integrated circuit that can be programmed.

The signal chain elements can be configured to support a wide variety of sensor types, allowing you to
measure phenomenon such as voltage, current, resistance, force, strain, temperature, vibration,
pressure, light intensity, and many more.
Multisim Live
Multisim Live is a free, online circuit simulator that includes SPICE software, which lets you create, learn
and share circuits and electronics online. You can access Multisim Live at https://www.multisim.com/

Safety Precautions
Take note of the following precautions to ensure safety while completing the activities in this lab
manual:

● Always remember to turn off the application board power before wiring or making any wiring
changes. Note that the application board power is found on the top left-corner of the NI ELVIS III
next to the LED display. This button is different than the switch that controls the power to the NI
ELVIS III workstation.
● Never touch exposed wires.

● Always use the supplied power cord. Turn off the platform while unplugging/plugging in the
cable.
● When disassembling a circuit, turn off the power first.

● Follow the instructions in the experiments carefully to guard against short-circuiting and other
hazards.
Experiment: NI ELVIS III
Use the Function Generator and Oscilloscope Soft Front Panels
Changes in the behavior of electronics is usually conveyed as an electronic signal. For example, when
you play music on your smartphone, the digital information in the music file is transformed into changes
in an analog signal that is emitted as sound variations in your earphones. In this set of labs, we will see
signals as the variation over time of an electric signal.

We will explore voltage in the coming labs. Intuitively, electric voltage is what causes electricity to run
through certain devices (electric devices), thus, causing them to do their job.

For instance, AAA batteries provide a constant voltage that powers the light bulb on a flashlight. If we
depict that voltage over time, we obtain a constant electric signal. On a voltage/time chart the signal will
show as a horizontal line (see the figure below).

A chart depicting the voltage electric signal of AAA battery over time.

On the other hand, an electric signal generated by a heart monitor over time shows a periodic signal
that pings at a certain rate.

A chart depicting the electric signal from a cardiac monitor over time.

A Function Generator is an electronic device that generates specific forms of electric signals. An
Oscilloscope is an electronic equipment that allows you to read an electronic signal and display its chart
over time. Your NI ELVIS III is equipped with a Function Generator and an Oscilloscope that can be
accessed from Measurement Live Soft Front Panels.

In this lab you will use this Function Generator to generate an electric signal and read it using the
Oscilloscope.

● Make sure your NI ELVIS III is powered on and launch the MeasurementsLive Website by
following the link: https://measurementslive.ni.com/
● Make sure your computer is connected to the NI ELVIS III.
You can establish this connection by clicking on the Device icon and following the prompts or
you can consult with your Lab assistant.

● Click the Instruments icon and launch the Function Generator. This will launch the Soft Front
Panel of the Function Generator.
● The function generator Soft Front Panel allows you to choose the NI ELVIS III Function Generator
channel you want the electric signal to be generated through. It gives you the option to choose
the type of signal you want to generate.

Left: The Function Generator Soft Front Panel. Right: a choice of a Triangle signal generated through channel 2 of the NI ELVIS
III.

You can use the oscilloscope on your NI ELIS III to read an electric signal generated by the function
generator. In order to do that:

● Using BNC connectors cable, connect the oscilloscope channel into which you are planning to
read the signal to the function generator channel from which the signal is generated.

Figure 1 In the above figure, the signal is being generated from channel 2 of the function generator and read from channel to of
the oscilloscope.
● Launch the oscilloscope Soft Front Panel from Measurement Live. You will be prompted with the
following

● Choose the channel you physically connected to the oscilloscope.

● Now that your function generator and oscilloscope are properly connected, click Run on the
software front panels (SFPs) of both in order to see the electric signal produced.

Complete the following set of tasks and answer the corresponding questions.

1) Use you’re the function generator on your NI ELVIS III to generate a sine wave with the following
specifications:
Frequency: 1kHz Amplitude: 2V DC Offset: 0V Output Channel: 1
2) Read the function generator using channel 2 of the oscilloscope.
3) While both SFPs are running change the frequency of the signal generated to 500 Hz. In your
own words, describe the change that occurred to the read signal.
______________________________________________________________________________
______________________________________________________________________________
_________________________________________________________________
4) Return the frequency to its initial value of 1KHz. Change the amplitude to 4V. In your own
words, describe the change that occurred to the read signal.
______________________________________________________________________________
______________________________________________________________________________
_________________________________________________________________
5) Return the amplitude to its initial value. Change the DC Offset to 3. In your own words, describe
the change that occurred to the read signal.
______________________________________________________________________________
______________________________________________________________________________
_________________________________________________________________

Use the VPS and the DMM


The Variable Power Supply (VPS) can generate voltage power supply. This power supply can be a
constant DC voltage such as the one produced by a battery or sweep. Your VPS voltage supply can be
chosen from a range of -15V to +15V. A sweep power supply is a voltage supply that changes over time
by spanning all the possible values from 0 to 15 V or -15V to 0V. The negative and positive voltage
supplies can be combined to produce voltage ranging from -30V to 30V. See the figure below.

The positive voltage terminal outputs a positive voltage. The negative voltage terminal outputs negative voltage. Note that
voltage is a relative concept that is measured with respect to a reference. Unless otherwise mentioned, the reference is
considered to be the ground. The ground is considered to have a voltage 0V. The black terminal connects to the ground.

● To generate a power supply, launch the Variable Power Supply Instrument from
MeasurementsLive. You will be prompted with its corresponding SFP.

The positive power supply generates a positive voltage through the (+) channel output on your NI ELVIS III. The negative power
supply generates a negative power supply through the (-) channel on your NI ELVIS III.

● By clicking the appropriate Power Supply dropdown list, you can choose the type of power
supply you want. Once, you click Run, the power will be supplied through the VPS outlet that
you chose.
Note: Recall the example of the battery powering a flashlight. Both the positive side and negative
side of the battery had to be wired to the flashlight bulb in order for the electric power to be drawn.
The same is true for the VPS. Should you choose to generate +2V to power a certain electrical
device, then the (+) outlet of VPS and the Ground outlet need to be connected to the device. In
coming labs, we will see that we can talk about voltage only within the context of reference. Thus,
generating 2V means generating 2V with reference to the ground of the VPS.

You can use the Oscilloscope to read the voltage signal generated by the VPS. However, in this
experiment, we will use a DMM (Digital Multimeter) instead. A digital multimeter is an electronic device
used to measure the voltage across an electronic/electric component or the current through that
component. We will cover both current and voltage in coming labs. For now, think of a current as the
amount of electricity passing through a certain point per second. The DMM doesn’t directly provide you
a chart depicting the change of voltage or current over time.

The COM terminal is the common ground with respect to which the voltage is measured. The common ground is assumed to
have voltage 0. The V terminal is where you plug in the voltage that you want to measure. The A terminal is where you plug in
the current you want to measure.

● To measure a voltage power supply through the DMM, launch its SFP from MeasurementsLive
Instruments.
In the following set of steps you will generate various types of voltage from the VPS and read them using
the DMM.

1) Make sure your NI ELVIS III is powered on and connected to your computer.
2) From MeasurementsLive website launch the SFPs of both the DMM and VPS.
3) Connect the (+) channel of the VPS to the (V) channel of the DMM using the cable and the
ground of the VPS to the common ground of the DMM.
4) From the VPS SFP choose the positive power supply of +1V and a negative power supply of -1V.
Click Run on both SFPs. What is the voltage read by the DMM? _______________
5) While both SFPs are running, unplug the Banana plug from the ground of the VPS and plug it in
the (-) power supply of the VPS. What is the voltage reading on the DMM? __________.
6) Keep the cables connected the way they are. Change the negative voltage supply of the VPS
successively to -2V, -3V and -4V. What are the voltage readings on the DMM?
_________________________________

Experiment: NI Automated Measurements Board


Throughout this lab series you will experiment with the various electronic devices available through your
application board. Each electronic device is equipped with an LED that you can control to indicate
whether the device is in use. In this experiment you will run a LabVIEW VI that allows you to choose and
activate which LED you want lit.

Furthermore, you will programmatically generate an electric voltage signal, output it though one of the
application board output channels and read it using the DMM on your NI ELVIS III.
● Make sure your:
o NI ELVIS III is powered on
o Connected to your computer
o The application board power button is on.
● Open the /Application Board/Intro folder in the zip file provided in your lab kit.

● Launch the LabVIEW Project named Application Board Intro.lvproj.

● Make sure all other projects are closed.

● From the project window, configure the NI ELVIS III IP address to reflect the IP address of the
actual NI ELVIS III your computer is connected to.
o You can find the IP address of your NI ELVIS III by clicking and holding the button on the
left-hand side until the IP address is displayed on the LED screen.
o To configure the NI ELVIS III from your project window,
▪ right-click NI ELVIS III (0.0.0.0)[Unconfigured IP Address]

▪ click General in the window prompt you get.

▪ In the IP address section enter the IP address of the NI ELVIS III connected to
your computer.

o Save your project.


● Launch the DMM Soft Front Panel from Measurement Live and click Run. Use the probes in your
kit to measure the voltage signal.
o Connect the probes respectively to the DMM terminals.
o Use the ground probe to touch the ground terminal on your application board (see the
figure below).

o Connect the voltage probe to Output channel AO0 (See the figure below).

o What is the voltage level you read on the DMM? ___________


● From the LED Name control, switch the selection to various values. The corresponding LED of
your choice should light up.
Conclusion
Note: The following questions are meant to help you self-assess your understanding so far.

1. What kind of experiments might you want to use your NI Automated Measurements Board and
NI ELVIS III for? How might these devices be helpful in testing prototypes involving signal
acquisition from sensors?
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________

Explore Further
Whether you are putting together a recording studio, an alarm system or a smart medical assistance
device, there is always the need to somehow:

● Acquire the signal emitted for a physical phenomenon

● Load it into a computer

● Perform software analysis on it

● Automate decision-making and action based on that analysis.

For instance, in a recording studio, the microphones are transforming sound waves into electric signals.
Those electric signals undergo automated and non-automated actions to enhance the quality of sound,
filter out noise and convert them into a digitized format and save them. The journey a signal takes from
its origin at the physical phenomenon that emits it to the finish where it is presented through an
interface to us in units that we understand is called the signal chain.

In the Signal Chain Lab you experiment with this process as a whole and at each individual step of the
process.

You might also like