* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Data Acquisition
Ground loop (electricity) wikipedia , lookup
Mains electricity wikipedia , lookup
Dynamic range compression wikipedia , lookup
Time-to-digital converter wikipedia , lookup
Switched-mode power supply wikipedia , lookup
Buck converter wikipedia , lookup
Resistive opto-isolator wikipedia , lookup
Pulse-width modulation wikipedia , lookup
Rectiverter wikipedia , lookup
Television standards conversion wikipedia , lookup
Oscilloscope types wikipedia , lookup
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip Wong Syllabus Data Acquisition Device Analog IO Analog-to-Digital Conversion Digital-to-Analog Conversion Digital IO Data Acquisition Device (DAQ) Multifunction IO unit Analog input measures an analog input voltage Analog output generates an analog output voltage Digital input senses a binary voltage level Digital output generates a binary voltage level Timer reference time base Counter keeps a count of logic events 2 Common types of DAQ hardware: Internal peripheral card that plugs into an expansion slot on a host computer External module that connects to a host computer by USB cable, network cable, or wireless. The DAQ is controlled by software on the host. 3 Analog IO How does a DAQ device measure or generate analog voltages? Measure: An analog-to-digital converter samples an input voltage signal and converts it to digital form. Generate: A digital-to-analog converter takes digital values and converts them to an output voltage signal. 4 Analog-to-Digital Conversion Analog-to-Digital Converter (ADC or A/D) → A circuit converts an analog signal to a set of numbers that represents the signal’s amplitude at regular time intervals. A/D Conversion t t Analog signal Sampling 00000000 01010111 10100100 11011101 : → 0 → 87 → 164 → 221 Digital values Definition → Sampling is the process by which the signal is converted to digital values. 5 Digital-to-Analog Conversion Digital-to-Analog Converter (DAC or D/A) → A circuit converts a set of numbers to an analog signal that represents the digital values at sequential points in time. t0: t1: t2: t3: : 0 3 5 5 → → → → 00000000 00000011 00000101 00000101 Digital values D/A Conversion Filter t Analog signal The DAC output typically goes through a reconstruction filter to “smooth out” the signal. 6 Digital IO Digital IO channels allow the DAQ to interface with external digital circuits. A channel can be configured for digital IO: V In terms of voltages, a low value is 0 V, and a high value is +5 V (or +3.3 V for some circuits). Logic high Logic low t Input: Senses a logic low or high level signal Output: Generates a low or high signal 7