chapter 9 computer-based instrumentation systems notes/chapter 09.pdf · computer-based...

42
ELECTRICAL ENGINEERING Principles and Applications SE OND EDITION Chapter 9 Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation Systems 1. Describe the operation of the elements of a computer-based instrumentation system. 2. Identify the types of errors that may be encountered in instrumentation systems.

Upload: ngoque

Post on 10-Mar-2018

251 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Chapter 9Computer-Based Instrumentation

Systems

1. Describe the operation of the elements of a computer-based instrumentation system.

2. Identify the types of errors that may be encountered in instrumentation systems.

Page 2: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

3. Avoid common pitfalls such as ground loops, noise coupling, and loading when using sensors.

4. Determine specifications for the elements of computer-based instrumentation systems such as data-acquisition boards.

5. Know how to use LabVIEW to create virtual instruments for computer-aided test and control systems in your field of engineering.

Page 3: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 4: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Overview of Computer-Based Instrumentation

Page 5: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 6: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

. . . when we need to measure the internal voltage of the sensor, we should specify asignal-conditioning amplifier having an input impedance that is much larger in magnitude than the Thévenin impedance of the sensor.

Page 7: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 8: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

. . . when we want to sense the current produced by a sensor, we need a current-to-voltage converter having a very small (ideally zero) input impedance magnitude.

Page 9: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 10: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Errors in Measurement Systems

trueError xxm −=

%100error Percentagefull

true ×−=x

xxm

Page 11: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 12: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

1. Accuracy: The maximum expected difference in magnitude between measured and true values (often expressed as a percentage of the full-scale value).

2. Precision: The ability of the instrument to repeat the measurement of a constantmeasurand. More precise measurements have less random error.

Page 13: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

3. Resolution: The smallest possible increment discernible between measured values. As the term is used, higher resolution means smaller increments. Thus, an instrument with a five-digit display (say, 0.0000 to 9.9999) is said to have higher resolution than an otherwise identical instrument with a three-digit display (say,0.00 to 9.99).

Page 14: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

SIGNAL CONDITIONING

Some functions of signal conditioners are: 1. amplification of the sensor signals2. conversion of currents to voltages3. supply of (ac or dc) excitations to the sensors

so changes in resistance, inductance, or capacitance are converted to changes in voltage

4. filtering to eliminate noise or other unwanted signal components

Page 15: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 16: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 17: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Single-Ended Versus Differential Amplifiers

21 vvvd −=

( )21cm 21 vvv +=

Page 18: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 19: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Ground Loops. . . in connecting a sensor to an amplifier with asingle-ended input, we should select a floating sensor.

Page 20: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 21: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 22: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 23: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 24: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Noise

Electric field coupling of noise can be reduced by using shielded cables.

Magnetically coupled noise is reduced by using coaxial or twisted-pair cables.

Page 25: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

ANALOG-TO-DIGITAL CONVERSION

If a signal contains no components with frequencies higher than fH , all of the information contained in the signal is present in its samples, provided that the sampling rate is selected to bemore than twice fH .

Page 26: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Analog-to-digital conversion is a two-step process. First, the signal is sampled at uniformly spaced points in time. Second, the sample values are quantized so they can be represented by words of finite length.

Page 27: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 28: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Aliasing

Page 29: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 30: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Quantization Noise

kN 2=

32rms∆=qN

The effect of finite wordlength can be modeled asadding quantization noise tothe reconstructed signal.

Page 31: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 32: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

LabVIEW

LabVIEW, a product of National Instruments, is an industry-standard program used by all types of engineers and scientists for developing sophisticated instrumentation systems such as the time–frequency vibration analyzer. LabVIEW is an acronym for Laboratory Virtual Instrument Engineering Workbench.

Page 33: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 34: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 35: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 36: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 37: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 38: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 39: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 40: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 41: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems

Page 42: Chapter 9 Computer-Based Instrumentation Systems Notes/Chapter 09.pdf · Computer-Based Instrumentation Systems Chapter 9 Computer-Based Instrumentation ... Computer-Based Instrumentation

ELECTRICAL

ENGINEERINGPrinciples and

Applications

SE OND EDITION

Chapter 9Computer-Based Instrumentation Systems