Agenda • Overview of National Instruments • Introduction to LabVIEW and its applications • PC-based measurement and control technologies • Automated test technologies • Platform for te
Trang 1LabVIEW and NI Technologies in
Teaching and Research
Pham Quoc Hung
Field Systems Engineer Tel: 0932 52 92 88 Email: quochung.pham@ni.com
Website: http://vietnam.ni.com
15/10/2011
Trang 22
Trang 4Agenda
• Overview of National Instruments
• Introduction to LabVIEW and its applications
• PC-based measurement and control technologies
• Automated test technologies
• Platform for teaching and research in electronics and
communications
• Conclusions
Trang 5Agenda
• Overview of National Instruments
• Introduction to LabVIEW and its applications
• PC-based measurement and control technologies
• Automated test technologies
• Platform for teaching and research in electronics and
communications
• Conclusions
Trang 66
National Instruments
• Founded in 1976
• Leaders in Computer-based
Measurement and Automation
• Long-term Track Record of
Growth and Profitability
• $873 M Revenue in 2010
• More than 16% of revenue is
invested into R&D
• Fortune’s 100 Best Companies
to Work For 12 Consecutive
Trang 77
Trang 8Low-Cost Modular Measurement and
Control Hardware Productive Software Development Tools Systems Platforms Highly Integrated
Used By Engineers and Scientists for Test, Design, and Control
What We Do
Trang 99
What is Virtual Instrumentation?
Customer-Defined PC-Based Measurement and Automation Solutions
Traditional Vendor-Defined
Instruments
Processor RAM ROM
Display
Power Supply Hard Disk
Trang 1010
NI’s Vision of Virtual Instrumentation
“To do for test and measurement what the spreadsheet did for financial analysis.”
Trang 1111
Virtual Instrumentation Everywhere
More than 30,000 Companies Using NI Technologies
Trang 1212
Diversity of Applications
No Industry >15% of Revenue
Electronics Semiconductors Computers
Advanced Research
Petrochemical Food
Processing
Textiles
Automotive Telecom
ATE Military/
Aerospace Academic
Trang 13• Used in all engineering
and science disciplines
Trang 1414
Over 6,000 Educational Institutes Use NI Technologies
Trang 15Agenda
• Overview of National Instruments
• Introduction to LabVIEW and its applications
• PC-based measurement and control technologies
• Automated test technologies
• Platform for teaching and research in electronics and
communications
• Conclusions
Trang 1616
Programming Approaches
Analysis Libraries
Deployment Targets
A Highly Productive Graphical Development Environment for Engineers and Scientists
Technology Abstractions
Trang 17LabVIEW has over 600 built-in analysis functions
Trang 1818
The LabVIEW Environment
Front Panel – User Interface
Block Diagram – Program Logic
Demo
Trang 19CERN Large Hadron Collider
“the most powerful instrument
on earth”
Trang 2020
MIT Students Use LabVIEW and CompactRIO to Design and
Implement a Dynamic Output Feedback Controller
• Challenge: Giving students the tools to implement control designs on
real-world hardware, including a simulation environment for prototyping and
validating their controllers to help overcome the challenges of moving from
theory to practice
• Solution: Using NI LabVIEW software and CompactRIO hardware as a control
platform to design and prototype controllers in simulation and implement them
in real-world systems using a unified software architecture that easily takes
students from the simulation environment and with a toggle switch on the
LabVIEW front panel to deploy their controller to the physical hardware
• Products: CompactRIO, LabVIEW Real-Time Module, FPGA Module,
MathScript RT Module, Control Design and Simulation Module, LabVIEW
“Overall, the LabVIEW framework gave students the freedom to take greater control of the hardware controller design process.” - Professor Jonathan How - Massachusetts Institute of Technology
http://sine.ni.com/cs/app/doc/p/id/cs-13446
Video
Trang 2121
Building a Semiautonomous Vehicle Driven by the
Visually Impaired with LabVIEW and CompactRIO
http://sine.ni.com/cs/app/doc/p/id/cs-12294
Application: A system to build and program the world's first
functional prototype of a blind driver vehicle
Challenge: Developing a semiautonomous vehicle that allows
a blind driver to successfully navigate, control speed, and
avoid collision through a secure driving course
Products: cRIO-9072, NI 9485, NI 9263, LabVIEW, Real-Time
Module, NI 9221, FPGA Module, CompactRIO
Key Benefit: The intuitive graphical programming interface of
LabVIEW made it easy for a team of undergraduate
mechanical engineering students to quickly and efficiently
create custom embedded software without the need for
expertise in any specific text-based programming
Trang 2222
Developing a Telemetry System for a Solar Car
• Challenge: Developing a low-power, real-time monitoring
system for a solar car traveling 3,000 km in the World Solar
Challenge to monitor the health of the vehicle and help
optimize our race strategy
• Solution: Using an NI CompactRIO controller and an 8-slot
chassis to monitor the voltage, current, temperature, and
speed of the vehicle and transmitting this information
wirelessly using a 2.4 GHz modem to a chase vehicle
following the solar car
• Products: NI 9401, LabVIEW, FPGA Module, NI 9870, NI
9219, cRIO-9014, NI 9211, cRIO-9104, NI-VISA, NI-Serial
"We chose CompactRIO because it combines real-time data acquisition on customizable input channels and can record and transmit data.“ - Neo Wei Ren - School of Mechanical Engineering, Nanyang Technological University
http://sine.ni.com/cs/app/doc/p/id/cs-12997
Trang 2323
Developing a Low-Cost Computer Numerical Controller Using
NI Motion Controllers and NI LabWindows™/CVI Software
• Challenge: Creating a low-cost computer numerical
controller (CNC) system with extremely high speed
and accuracy for use in industrial shipyards around the
world
• Solution: Using NI motion controllers and NI software
to build a flexible, low-cost system to meet a variety of
customer specifications
"By using an NI motion controller and taking advantage of extensive NI customer support, we created software which makes the CNC less expensive, easy to install, and widely applicable in our industry."
– Khanh Phan Van, Institute of Applied Mechanics and Informatics
http://sine.ni.com/cs/app/doc/p/id/cs-13821
Trang 2424
Trang 25TriQuint Semiconductor Uses NI PXI and LabVIEW to Reduce
RF Power Amplifier Characterization Time
• Challenge: Reducing the characterization time of increasingly complex
cellular power amplifiers (PAs) without sacrificing measurement accuracy
or incurring higher capital equipment costs
• Solution: Using NI LabVIEW software with NI PXI modular
instrumentation to develop a PA characterization system that helped us
improve test throughput by 10 times while still reducing capital equipment
cost, power consumption, and physical space
• Products: NI TestStand, LabVIEW, PXI-4071, NI PXIe-5442, PXI-5690,
NI PXIe-5673, NI PXIe-5122, PXI-2596, NI PXIe-5663, PXI-4110
“With NI PXI, we were able to reduce the characterization time of new parts from two weeks to about a day.” —Gary Shipley— TriQuint Semiconductor
http://sine.ni.com/cs/app/doc/p/id/cs-13249
Trang 2626
"LabVIEW software and NI CompactDAQ provided Cooper Union students with a small, simple, and affordable system for making vibration measurements in the lab and field “ - Melody Baglione - The Cooper Union for the Advancement of Science and Art
Students at Cooper Union Use LabVIEW and NI
CompactDAQ to Study Mechanical Vibrations
• Challenge: Finding versatile, portable, and affordable
instrumentation for students who need to take hands-on
measurements for a variety of projects in the lab and in
real-world environments for mechanical engineering
undergraduate and advanced mechanical vibration
courses
• Solution: Using NI LabVIEW software and the NI Sound
and Vibration Measurement Suite with NI USB dynamic
signal analyzers (DSAs) with signal conditioning for
accelerometers, students study the dynamic
characteristics of structures in real-world projects
involving mechanical vibration and modal analysis
ranging from classic cantilever beam analyses to subway
vibration studies
• Products: NI CompactDAQ, PCI-4451, LabVIEW,
WLS-9234, Sound and Vibration Measurement Suite
http://sine.ni.com/cs/app/doc/p/id/cs-12508
Trang 2727
Boeing: Flyover Test
448-channel Microphone Array
200 Hz
400 Hz
Airframe Noise
Inlet Noise
Trang 2828
300 ft
300 ft
405 Low Cost Microphones
8x 200m Fiber
427 Channels
102.4 kS/s
Trang 2929
Trang 30Microsoft Uses NI Products to Develop Production
Test System for Xbox 360 Controllers
• The Challenge: Developing a comprehensive, low-cost
production test system for the Microsoft Xbox 360 wired and
wireless controllers
• The Solution: Using a flexible, automated test system based
on Microsoft Windows XP, Microsoft SQL Server, NI
LabVIEW, and NI PXI modular instruments to test the
functional performance of the Xbox 360 controller, both wired
and wireless versions
• Products: LabVIEW, PXI-5124, PXI-6509, PXI-4472
for the Xbox 360 controller with data storage to our Microsoft SQL Server,
communication through TCP/IP, and programmatic interaction with ActiveX controls ” D.J Mathias, Microsoft
Trang 31Agenda
• Overview of National Instruments
• Introduction to LabVIEW and its applications
• PC-based measurement and control technologies
• Automated test technologies
• Platform for teaching and research in electronics and
communications
• Conclusions
Trang 3232
What is Data Acquisition (DAQ)?
Trang 3333
Components of DAQ System
Trang 3535
Sensor Overview
Sensor/Signal DAQ Hardware Computer
Converts physical phenomena into a measurable electrical signal
Signal
Physical
Phenomena
Transducer or Sensor
Trang 36Linear voltage differential transformer Optical encoder
Rotational flowmeters
Sensor/Signal DAQ Hardware Computer
Trang 3737
Signal Conditioning
• Signal Conditioning improves a signal that is difficult for your
DAQ device to measure
• Signal Conditioning is not always required
Noisy, Low-Level Signal Filtered, Amplified Signal
Signal Conditioning
Sensor/Signal DAQ Hardware Computer
Trang 3838
Thermocouples Amplification, Linearization,
Cold-Junction Compensation RTD (Resistance Temp
Detector)
Current Excitation, Linearization
Strain Gauge Voltage Excitation, Bridge
Configuration, Linearization Common Mode or High
Voltage
Isolation Amplifier
Loads requiring AC Switching
or Large Current Flow
Electromechanical Relays or State Relays
Solid-High Frequency Noise Low-Pass Filters
Signal Conditioning Examples
Sensor/Signal DAQ Hardware Computer
Trang 3939
Components of DAQ System
DAQ Hardware
Trang 4040
The Three R’s of Data Acquisition
Sensor/Signal DAQ Hardware Computer
3-bit Resolution
Original Waveform
6-bit Resolution
Trang 4141
The Three R’s of Data Acquisition
Sensor/Signal DAQ Hardware Computer
3-bit Resolution
Original Waveform Range
Trang 4242
The Three R’s of Data Acquisition
Sensor/Signal DAQ Hardware Computer
Original Waveform (10Hz) Sampling Rate = 100 Hz Sampling Rate = 25 Hz Sampling Rate = 11 Hz
Trang 4343
Sensor/Signal DAQ Hardware Computer
High performance, stable and
productive NI-DAQmx driver
Productive, interactive application
development environment
Trang 4545
Demo: Measurement with NI CompactDAQ
Trang 4646
Trang 47Oil Wells Vibration Monitoring for Vietsovpetro
• Applications: Vietsovpetro wants to drill
more oil wells between existing wells to
maintain output level when some existing
wells are depleted This system is to
monitor the vibration during drilling to
alert operator if drilling shaft is about to
touch the existing wells System was
developed by NI partner AIC
Trang 4848
Performing a Peak Power Evaluation of Solar Photovoltaic
Panels Under Real Tropical Climate Conditions in Singapore
• Challenge: Developing a test system to evaluate the
peak power output of solar photovoltaic (PV) panels under
real tropical climate conditions in Singapore, which
involves measuring the panel’s current (I) and voltage (V)
output to plot the I-V characteristics and instantaneous
power computation
• Solution: Developing a PC-based system that can log
data and plot the trends of the I-V, instantaneous power,
and solar irradiation profiles throughout the test duration
"Using NILabVIEW as a rapid prototyping platform, we successfully developed a system that is
capable of determining the peak power output from a PV module."
– Alex See Kok Bin, Ngee Ann Polytechnic
http://sine.ni.com/cs/app/doc/p/id/cs-13849
Trang 4949
Programmable Automation Controller (PAC)
• Ruggedness and reliability of PLC
• Software capabilities of PC
• Modular and diverse I/O
• Optimized for measurements
Trang 5050
PAC Component Compare
Trang 517 Control of External Devices
via Custom Protocols
8 Integration with Systems and Test
Trang 5252
NI PAC Platform
Trang 5353
NI CompactRIO Architecture
Real-Time Processor Reconfigurable FPGA
Industrial I/O Modules
I/O I/O
I/O
I/O I/O
I/O I/O
Connectivity Signal Conditioning ADC
• Industrial I/O Modules with built-in signal conditioning for direct connection to industrial sensors/actuators
• Real-Time Processor for deterministic, stand-alone operation and advanced analysis
• Reconfigurable FPGA for high-speed and custom I/O timing, triggering, control
Trang 54Analog Camera Interface*
Motion Control / Motor Drive
GPS GSM/GPRS*
Trang 5555
Connectivity to Any Type of Sensor
• Temperature, Pressure, Strain, Flow, Load, pH, Vibration, Quadrature Encoders
Trang 56JAUS, I2C, SPI, and
Ethernet protocols for
communication
Deployment to embedded real-time and FPGA hardware
Steering and kinematics algorithms
Algorithms for navigation and path planning
LabVIEW Robotics
ni.com/robotics
Trang 5757
LabVIEW Robotics
IP for sensing, navigation,
motion control and more programming environment High-level graphical
Tools for integrating
Connectivity to sensors and
actuators from top vendors
ni.com/robotics
Trang 58Utilize building blocks for common
navigation and path planning algorithms
such as Voronoi, Vector Field Histogram
(VFH), A* and AD*
Act
Control mobile robots with steering functions and robotic arms with kinematics functions Connect to a variety of motors using built-in drivers
ni.com/robotics
Trang 5959
Human Object Transport Vehicle
• Human – Object Transport Vehicle
Functionally Identical Components
Uses CompactRIO for Control
Videos
Trang 6060
FIRST Robotics Competition with CompactRIO and LabVIEW
FIRST Robotics Competition Partners with National Instruments to Provide a Next-Generation Robot Control System with CompactRIO and LabVIEW
Application: A controller for the next-generation FRC
robot control platform
Challenge: Providing a flexible, powerful robotics
design platform for more than 40,000 high school
students competing in the FIRST Robotics
Competition (FRC)
Products: LabVIEW, CompactRIO
Key Benefit: By adding CompactRIO and LabVIEW to
the robotics platform of the competition, we
increase the technical capabilities of the teams’
robots while making the programming more
accessible to a much larger and diverse group of
students
"With the CompactRIO controller, we expect students to rapidly design and build advanced robots during the six-week build period The robots they build with this control platform will need to solve complex challenges and must be smart, fast, flexible, rugged, and easy-to-program." - Bill Miller, FIRST
Video