Introduction to NI ELVIS

advertisement
Introduction to NI ELVIS
Dr. Kevin Craig
Greenheck Chair
in Engineering Design
&
Professor of Mechanical Engineering
Marquette University
Introduction to NI ELVIS
K. Craig
1
DAQ
• What is DAQ?
– DAQ (data acquisition) systems capture, measure,
and analyze physical phenomena from the real world.
– Light, temperature, pressure, and torque are
examples of the different types of signals that a DAQ
system can measure.
– Data acquisition is the process of collecting and
measuring electrical signals from sensors and test
probes, and sending them to a computer for
processing.
– Data acquisition may also include the output of
analog or digital control signals.
Introduction to NI ELVIS
K. Craig
2
Virtual Instrumentation
• Virtual Instrumentation is defined as the combination of
measurement and control hardware and application
software with industry-standard computer technology to
create user-defined instrumentation systems.
• Virtual Instrumentation provides an ideal platform for
developing instructional curriculum and conducting
scientific research.
– Tools must be flexible and adaptable, both in instructional labs,
where experiments combine measurement, automation, and control,
but also in research environments, where the needs are
unpredictable.
– Modularity, and hence new functionality, and economy are important
attributes.
Introduction to NI ELVIS
K. Craig
3
Traditional Instrumentation
Introduction to NI ELVIS
K. Craig
4
NI ELVIS
Engineering System Investigation Process
START HERE
Physical
System
System
Measurement
Parameter
Identification
Physical
Model
Mathematical
Model
LabVIEW
Measurement
Analysis
Mathematical
Analysis
Comparison:
Predicted vs.
Measured
Design
Changes
YES
Is The
Comparison
Adequate ?
NO
Introduction to NI ELVIS
K. Craig
5
NI ELVIS II
Design and Prototyping Platform for Engineers
Introduction to NI ELVIS
K. Craig
6
Introduction to NI ELVIS
K. Craig
7
Introduction to NI ELVIS
K. Craig
8
Introduction to NI ELVIS
K. Craig
9
Introduction to NI ELVIS
K. Craig
10
Introduction to NI ELVIS
K. Craig
11
Variable Power Supply
Introduction to NI ELVIS
K. Craig
12
Digital Multimeter
Introduction to NI ELVIS
K. Craig
13
Function Generator
Introduction to NI ELVIS
K. Craig
14
Arbitrary Waveform Generator
Introduction to NI ELVIS
K. Craig
15
Oscilloscope (Time-Response Plots)
Introduction to NI ELVIS
K. Craig
16
Bode Analyzer (Frequency-Response Plots)
Introduction to NI ELVIS
K. Craig
17
DSA – Dynamic Signal Analyzer
Introduction to NI ELVIS
K. Craig
18
Impedance Analyzer
Introduction to NI ELVIS
K. Craig
19
Introduction to NI ELVIS
K. Craig
20
Introduction to NI ELVIS
K. Craig
21
Introduction to NI ELVIS
K. Craig
22
Time Domain – Frequency Domain VI
Introduction to NI ELVIS
K. Craig
23
Introduction to NI ELVIS
K. Craig
24
ELVIS Breadboard
Introduction to NI ELVIS
Indicates Continuity
K. Craig
25
ELVIS Exercises
• Measurement of Component Values with the DMM
– Resistor (1.0 kΩ and 2.2 kΩ)
– Measure component values using the DMM by
connecting the components across the Banana A and
Banana B inputs.
– Resistors in Series and Parallel
• Building a Circuit and Measuring Voltage and Current
using the DMM
– Measure Voltage Source and Current Through Single
Resistor
– Voltage Divider Circuit
– Current Divider Circuit
Introduction to NI ELVIS
K. Craig
26
Measuring Resistance
Introduction to NI ELVIS
K. Craig
27
Introduction to NI ELVIS
K. Craig
28
Resistors in Series
Introduction to NI ELVIS
K. Craig
29
Resistors in Parallel
Introduction to NI ELVIS
K. Craig
30
Current Divider
Iin = I1 + I 2 = Iout Iin
R1
eout
ein
R2
= ein
R1 + R 2
I1
R2
R1
Introduction to NI ELVIS
I2
eout
R2
I1 = Iin
R1 + R 2
Voltage Divider
R2
Iout
R1
I 2 = Iin
R1 + R 2
K. Craig
31
Using the DMM to Measure Voltage
Banana A
Banana B
Using the DMM to Measure Current
Banana B
Introduction to NI ELVIS
Banana C
K. Craig
32
DC Voltage Divider
Introduction to NI ELVIS
K. Craig
33
Measuring Current through a Resistor
5 volts
i=
= 0.005122 A
0.9762 kΩ
Introduction to NI ELVIS
K. Craig
34
Current Divider
5 volts
i=
= 0.007359 A
0.6794 kΩ
⎛ R2 ⎞
i1 = i ⎜
⎟
R
R
+
1
2
⎝
⎠
975.9
⎛
⎞
= ( 0.007359 ) ⎜
⎟
⎝ 2168.7 + 975.9 ⎠
= 0.002284 A
Introduction to NI ELVIS
K. Craig
35
• Time Response of a Voltage Divider
– Response to a Square Wave Input (Step Response)
and Sine Wave input
• ELVIS Connections
– Circuit Input to FGEN
– FGEN to Analog Input Signal AI 6+
– Measured Signal to Oscilloscope AI 7+
– Oscilloscope AI 7- and AI 6- to DC Ground
– Circuit Ground to DC Ground
Introduction to NI ELVIS
K. Craig
36
Time Response
Function Generator
FGEN
Oscilloscope
Channel AI 6+
Oscilloscope
Channel AI 7+
DC Ground
Introduction to NI ELVIS
Oscilloscope
Channels AI 7- and AI 6K. Craig
37
Voltage Divider Time Response
Introduction to NI ELVIS
K. Craig
38
Introduction to NI ELVIS
K. Craig
39
Introduction to NI ELVIS
K. Craig
40
• Frequency Response (Bode Plot) of a Voltage
Divider
– ELVIS Connections
• FGEN to Circuit Input
• Measured Signal to Analog Input Signal AI 0+
• FGEN to Analog Input Signal AI 1+
• DC Ground to Analog Input Signals AI 0- and AI 1and circuit ground
Introduction to NI ELVIS
K. Craig
41
Frequency Response
Function Generator
FGEN
Analog Input Signal
AI 1+
DC Ground
Introduction to NI ELVIS
Analog Input Signal
AI 0+
Analog Input Signals
AI 0- and AI 1K. Craig
42
Voltage Divider Frequency Response
Introduction to NI ELVIS
K. Craig
43
Semi-Log Paper
1.0
1.1
1.2
10
1.0
Introduction to NI ELVIS
1.3
1.4
1.5
1.6
1.7
50
20
30
40
1.301
1.477
1.602
log10
1.8
60
1.9
2.0
70 80 90 100
1.699 1.778 1.845 1.903
2.0
1.954
K. Craig 44
Introduction to NI ELVIS
K. Craig
45
Download