sensor measurement fundamentals seriesdownload.ni.com/evaluation/sensorfundamentals... ·...

33
ni.com Sensor Measurement Fundamentals Series

Upload: others

Post on 08-Oct-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor Measurement Fundamentals Series

Page 2: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Introduction to Data Acquisition Basics and Terminology

Jackie Byrne

Product Marketing Engineer

National Instruments

Page 3: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

What Is Data Acquisition (DAQ)?

Page 4: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Why Measure?

• Engineers need to determine system behavior to optimize

performance

• Signals from sensors indicate how the system is operating

• Engineers can use that information to modify performance

Page 5: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Why Measure?

• In-vehicle data acquisition is a complex task that provides valuable information about actual on-road performance

• Diverse data needs to be collected from various sources—up to 100 channels including transducers and buses such as CAN may be involved

• Mixed signals: vibration, RPM, strain, temperature, torque, load, pressure, velocity, CAN, and so on

Page 6: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

What Is Data Acquisition (DAQ)?

Page 7: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

What Is Data Acquisition (DAQ)?

Page 8: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

What Is Data Acquisition (DAQ)?

Page 9: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Components of a DAQ System

Page 10: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Components of a DAQ System

Sensor/Signal DAQ Hardware Computer

Page 11: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor Overview

Sensor/Signal DAQ Hardware Computer

Converts physical phenomena into a measurable electrical signal

Transducer or

Sensor

Signal Physical Phenomena

Page 12: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor Examples Phenomena Transducers/Sensors Electrical Characteristics

Temperature Thermocouples, resistive temperature

devices (RTDs), thermistors

Low voltage output, nonlinear

Low resistance, nonlinear

Light Vacuum tube, photo sensors Current loop output if current type

(typical 4 to 20 mA)

Sound Microphone Charge output, powered converter

Force and pressure Strain gages, piezoelectric transducers Low resistance, low sensitivity,

nonlinear

Position and

displacement

Potentiometers, linear voltage

differential transformer (LVDT), optical

encoder

LVDTs: Inductive, requires

demodulation

Vibration Accelerometer Charge output, powered converter

pH pH electrodes

Sensor/Signal DAQ Hardware Computer

Page 13: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Components of DAQ System

Sensor/Signal DAQ Hardware Computer

Page 14: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Signal Conditioning

• Improves a signal that is difficult for your DAQ device to

measure

• Not always required

Noisy, Low-Level Signal Filtered, Amplified Signal

Signal Conditioning

Sensor/Signal DAQ Hardware Computer

Page 15: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Transducers/Signals Signal Conditioning

Thermocouple Amplification, linearization, cold-junction

compensation

RTD (resistance temperature

detector)

Current excitation, linearization

Strain gage Voltage excitation, bridge configuration,

linearization

Common mode or high voltage Isolation amplifier

Loads requiring AC switching

or large current flow

Electromechanical relays or solid-state

relays

High frequency noise Lowpass filters

Signal Conditioning Examples

Sensor/Signal DAQ Hardware Computer

Page 16: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor/Signal DAQ Hardware Computer

Analog

Rate State Shape

Level Frequency

Digital

Signal Classification

Page 17: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

The Three Rs of Data Acquisition

Sensor/Signal DAQ Hardware Computer

Resolution Range Rate

3-Bit Resolution

Original Waveform

6-Bit Resolution

Page 18: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

The Three Rs of Data Acquisition

Sensor/Signal DAQ Hardware Computer

Resolution Range Rate

3-Bit Resolution

Original Waveform Range

of

10 V to -10 V

Range

of

2 V to -2 V

Page 19: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

The Three Rs of Data Acquisition

Sensor/Signal DAQ Hardware Computer

Resolution Range Rate

Original Waveform (10 Hz)

Sampling Rate = 11 Hz

Sampling Rate = 25 Hz

Sampling Rate = 100 Hz

Page 20: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Diversity of NI DAQ

Sensor/Signal DAQ Hardware Computer

Low-Cost Bus-Powered High-

Performance

NI CompactDAQ OEM

PCI/PXI PCI Express/

PXI Express

Ethernet Wireless USB

Page 21: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Components of DAQ System

Sensor/Signal DAQ Hardware Computer

Page 22: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Why Is Software Important?

Sensor/Signal DAQ Hardware Computer

Total Measurement Application Cost =

Hardware Price + Software Price + Development Costs

Hidden Cost Visible Price

Page 23: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Why Is Software Important?

Sensor/Signal DAQ Hardware Computer

Source: National Instruments Survey of Data Acquisition Customers and Prospects, 2005

36%,

Hardware

and Software

Price 64%, Development

Costs

Page 24: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Why Is a Driver Important?

At its core, NI-DAQmx is a powerful hardware driver for

controlling data acquisition hardware.

Hundreds of DAQ Devices

DAQ Hardware

USB, PXI Express, PCI Express

Bus

NI-DAQmx

Hardware Driver

LabVIEW, C, .NET

Application Software

Sensor/Signal DAQ Hardware Computer

Page 25: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Configuration Versus Programming

Sensor/Signal DAQ Hardware Computer

Configuration Programming

Page 26: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Configure

Channel

Configure

Timing

Configure

Triggering

Start

Acquisition

Read

Data

Clear

Task

NI-DAQmx LabVIEW API

Sensor/Signal DAQ Hardware Computer

Page 27: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor/Signal DAQ Hardware Computer

NI-DAQmx LabVIEW API

Page 28: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor/Signal DAQ Hardware Computer

NI-DAQmx LabVIEW API

Page 29: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Sensor/Signal DAQ Hardware Computer

NI-DAQmx LabVIEW API

Page 30: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

DAQmxCreateAIVoltageChan( taskHandle, “Dev1/ai0”, “”, DAQmx_Val_Cfg_Default,

-10.0, 10.0, DAQmx_Val_Volts, NULL );

DAQmxCfgSampClkTiming( taskHandle, “”, 10000.0, DAQmx_Val_Rising,

DAQmx_Val_FiniteSamps, 1000 );

DAQmxCfgDigEdgeStartTrig( taskHandle, “/Dev1/PFI0”, DAQmx_Val_Rising );

DAQmxStartTask( taskHandle );

DAQmxReadAnalogF64( taskHandle, -1, 10.0, 0, data, 1000, &read, NULL );

printf( “Acquired %d samples. %d”, read );

DAQmxClearTask( taskHandle );

Read Data

Clear Task

Configure Channel

Configure Timing

Start Acquisition

Configure Triggering

Sensor/Signal DAQ Hardware Computer

NI-DAQmx C API

Page 31: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Choosing the Best Data Acquisition System for Your

Application

Your DAQ system requires the following:

• Appropriate signal conditioning

• Appropriate resolution

• Suitable sampling rate

• Right type of timing and triggering

• Correct bus

• Best internal calibration technique

• Most effective suite of software analysis/reporting

Page 32: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

Technologies Behind NI Data Acquisition

Signal Streaming

Leverage the same NI-DAQmx API for communicating across

PCI, PCI Express,

PXI, PXI Express, USB, Ethernet, and WiFi

Timing and Synchronization Technology

System timing controller that provides high-speed digital I/O,

triggering, and synchronization between several modules and

chassis

Isolation

• Varying levels of electrical isolation to improve measurement

accuracy and device performance

• Isolated on a per channel basis, as groups of channels, or as a

complete system

Page 33: Sensor Measurement Fundamentals Seriesdownload.ni.com/evaluation/sensorfundamentals... · Temperature Thermocouples, resistive temperature devices (RTDs), thermistors Low voltage

ni.com

ni.com/data-acquisition/