1 / 54

Data Translation, Inc. Basics of Data Acquisition

Data Translation, Inc. Basics of Data Acquisition. Typical data acquisition applications . Physiological studies Environmental studies (temperature, etc.) Materials testing Medical research Quality control and testing. Typical data acquisition applications.

silver
Download Presentation

Data Translation, Inc. Basics of Data Acquisition

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Data Translation, Inc. Basics of Data Acquisition

  2. Typical data acquisition applications • Physiological studies • Environmental studies (temperature, etc.) • Materials testing • Medical research • Quality control and testing

  3. Typical data acquisition applications • Strain, pressure, temperature and vibration analysis • Fluid analysis • Manufacturing automation

  4. Components of a data acquisition systems • Analog to digital conversion (A/D) • Digital to analog conversion (D/A) • Digital input/output (DIO) • Pacer clock

  5. Analog to Digital Conversion (A/D) • Once data has been converted from analog to digital, the digital information can then be processed by the computer, or transferred to memory

  6. Digital to Analog Conversion (D/A) • D/A converters convert stored data back to a continuous signal (analog voltage) for display or control purposes • Output from the D/A converter can be used to drive external devices which require an analog input

  7. Digital Input/Output (DIO) • Used primarily for control purposes • Used to transmit data between the host processor and an external digital device that expects to receive 1’s and 0’s

  8. Pacer Clock • Used to initiate repetitive data conversions • Used to control the sampling rate of conversions

  9. What is analog? • Analog signals are “continuous” signals • Represented by continuously changing physical quantities • Level of signal can be increased or decreased indefinitely • Ex. temperature, pressure, strain, voltage

  10. What is digital? • Digital signals are “discrete” signals • Represented by separate, individual units • Units are represented by “bits” (binary digit) • Bits are represented by one of two possible states: on/off, true/false, 1/0

  11. What is data acquisition? • A method of acquiring an analog signal and converting (digitizing) it into a binary code which can be manipulated by a computer Analog Signal Computer Analysis

  12. A/D Interface • Converts analog data into digital data which can be processed • Typical components: • Multiplexers • Amplifiers • Sample and hold circuits • A/D converters

  13. A/D Converter Functions • Input and output (I/O) • Analog input is converted into a digital number, by comparing the voltage with its position within the Full Scale Range • With an n-bit A/D converter the number of output levels equals 2n – e.g. 12-bit converter = 212 = 4096

  14. Full Scale Range (FSR) • Full scale range refers to the largest voltage range which can be input into the A/D converter

  15. Range • Range is an input span for an A/D and D/A system • Typical ranges are based on available sensors • Uni-polar (positive) • 0 to 5 volts • 0 to 10 volts • Bipolar • -5 to +5 volts • -10 to +10 volts

  16. Full scale range examples +10v +1.25v +10v 0v -10v -1.25v FSR = 10v FSR = 20v FSR = 2.5v

  17. Input/Output Digital Analog (101110010011)

  18. Resolution • Resolution determines the smallest change that can be detected • Specified in bits. Determines number of output levels, or steps • 8 bits = 256 steps • 10 bits = 1024 steps • 12 bits = 4096 steps • 16 bits = 65,536 steps

  19. Typical Resolutions • 8-bit – common for image capture • 10-bit – general analog acquisition • 12-bit – general analog acquisition • 16-bit – precision analog acquisition • 24-bit – high-accuracy analog acquisition

  20. Output Levels/Resolution Example 1-bit A/D Converter +10v 1 0 0v

  21. Output Levels/Resolution Example 2-bit A/D Converter +10v 11 10 01 00 0v

  22. Output Levels/Resolution Example 4-bit A/D Converter +10v 1111 1110 1101 1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0v 0001 0000

  23. Output Levels/Resolution Example 12-bit A/D Converter +10v 1111 1111 1111 4096 Output Levels 0v 0000 0000 0000

  24. Output Levels/Resolution Example 16-bit A/D Converter +10v 1111 1111 1111 65,536 Output Levels 0v 0000 0000 0000

  25. LSB • LSB stands for “least significant bit” • An LSB represents the smallest change that can be resolved by the A/D converter • An LSB carries the smallest value or weight • An LSB is the rightmost bit • LSB = Full Scale Range (FSR) ÷ 2n

  26. What affects conversion speed? • A/D converter only • A/D converter and related circuitry • A/D system and host

  27. Acquisition time • The time required to perform a complete conversion from the analog signal to digital • The time required after receipt of “start digitizing” command until the A/D converter has finished digitizing

  28. Settling time • Time it takes to switch to a new channel • Each time a user switches between channels, there is a delay, referred to as settling time

  29. Throughput rate • The inverse of A/D conversion time + acquisition time • Measured in Hertz (Hz), which means the number of conversions per second • The maximum rate at which the data conversion system can operate, while maintaining a specific accuracy

  30. Throughput • Acquisition System • The acquisition system determines the maximum throughput possible • The entire system (host, disk, A/D board, and program) determines the practical throughput

  31. Throughput • Throughput is specified as an aggregate of all channels • A/D runs at a constant rate • Number of channels determines throughput per channel • The host computer and software must be able to service the A/D board before the next conversion is complete

  32. Speeding up throughput rate • Overlap mode - while one sample is in Sample and Hold circuitry, the next is read into the multiplexer • Throughput equals the greater of conversion time OR acquisition time, plus any time needed for Sample and Hold switching

  33. Getting signals into the computer • Transducers convert physical variables into electrical outputs • An input transducer (sensor) then supplies its output to signal conditioning circuitry (on a Screw Terminal Panel) • Signal conditioning circuitry prepares for interfacing with the PC

  34. Amplification • The output of a sensor usually requires amplification • Apply gain

  35. Gain • A scale (multiplying) factor which increases an input signal to better utilize the range of the A/D converter

  36. Gain • Gain is the amplification applied to a signal to bring it to the range of the A/D system • High Level Gains (PGH) for high level signals – 1, 2, 4, 8 • Low Level Gains (PGL) for low level signals – 1, 10, 100, 500

  37. 5 volts 0 volts Selecting Gain and Range User Input Selected Range (uni-polar) 10 volts 0 volts Only 50% of the available A/D range is used.

  38. 5 volts 0 volts Selecting Gain and Range User Input Selected Range (bipolar) +10 volts 0 volts -10 volts Only 25% of the available A/D range is used.

  39. 0.25 v -0.25 v Selecting Gain and Range User Input Selected Range (bipolar) +10 volts Gain Amp 10 0 volts -10 volts Only 25% of the available A/D range is used.

  40. Selecting Gain and Range User Input Selected Range (bipolar) 10 volts 1 volt 0 volts 0 volts -10 volts Using this range only utilizes 1/20th of the range. This would allow the input to be divided into 205 increments.

  41. Selecting Gain and Range User Input Selected Range (uni-polar) 1.25 volts 1 volt 0 volts 0 volts Using this range utilizes 8/10ths of the range. This would allow the input to be divided into 3277 increments.

  42. Selecting the Best Gain & Range • Analog input and output boards are generally designed to interface to the majority of sensors that are available • The ranges used on I/O boards may not always be appropriate for every application

  43. Selecting the Best Gain & Range • To get the highest degree of accuracy possible out of an I/O board – try to utilize as much of the available range as possible • Use internal or external gain selection

  44. Selecting the Best Gain & Range • Determine the maximum range that the input signal will use • Determine if the signal is uni-polar (above zero) or bipolar (above and below zero) • Evaluate the available gain and range combinations to select the most appropriate product

  45. PGL Range/Gain Combinations Uni-Polar and PGL Example

  46. PGL Range/Gain Combinations Bipolar and PGL Example

  47. PGL Range/Gain Combinations Uni-Polar and PGH Example

  48. PGL Range/Gain Combinations Bipolar and PGH Example

  49. Methods of Transferring Data to Memory • Programmed input/output (PIO) – this is older technology and is slow • Polled I/O • Interrupts (shared and not shared) • Direct memory access (DMA)

  50. Polled I/O • Data transfer is controlled by the CPU • CPU monitors the Data Ready bit of the A/D converter • When data is ready, the CPU reads it, then transfers it to memory • Very slow

More Related