GROUP4
GROUP4
Chapter VIII
Objectives
After you read, discuss, study, and apply ideas in this chapter,
you will:
Chapter 8.1
Microprocessors, microcontrollers, single-board
computers, and personal computers are in
widespread use in mechatronic and
measurement systems. It is increasingly
important for engineers to understand how to
directly access information and analog data
from the surrounding environment with these
devices.
Data Acquisition
• A process in storing data using a microprocessor
or computer.
• It provides more compact storage of the data
(magnetic, optical, or flash media vs. long rolls of
paper),
• can result in greater data accuracy,
• allows use of the data in a real-time control
system, and
• enables data processing long after the events
have occurred.
The first process is called sampling. It is to
numerically evaluate the signal at discrete
instants in time.
fs > 2fmax
Where:
fmax - highest frequency component in the input
analog signal
fs – sampling rate
2fmax – Nyquist frequency, the limit on the minimum
required rate
The time interval between the digital samples is
Δt = 1 ⁄ fs
Quantizing Theory
Chapter 8.2
Analog-to-digital conversion
N= 2n
Where,
Q = (Vmax – Vmin) ⁄N
Chapter 8.3
Introduction
To properly acquire an analog voltage signal for
digital processing, the following components must
be properly selected and applied in this sequence:
1. buffer amplifier
2. low-pass filter
3. sample and hold amplifier
4. analog-to-digital converter
5. computer
The buffer amplifier isolates the output from
the input and provides a signal in a range close
to but not exceeding the full input voltage range
of the A/D converter.
• Successive approximation,
• flash or parallel encoding,
• single-slope and dual-slope integration,
• switched capacitor, and
• delta sigma.
The successive approximation A/D converter is
very widely used because it is relatively fast and
cheap.
The fastest type of A/D converter is known as a
flash converter.
Table 8.1 lists the comparator output codes and corresponding
binary outputs for each of the states, assuming an input voltage
range of 0 to 4 V. The voltage range is set by the Vmin and Vmax
supply voltages shown in Figure 8.11 (0 V and 4 V in this
example).
The code converter is a simple combinational logic circuit. For
the 2-bit converter, the relationships between the code bits Gi
and the binary bits Bi are
B0 = G0 ⋅ G1 + G2
B1 = G1
Several analog signals can be digitized by a
single A/D converter if the analog signals are
multiplexed at the input to the A/D converter.
An analog multiplexer simply switches among
several analog inputs using transistors or relays
and control signals.