Signal Conversion and Processing - 24.09.24
Signal Conversion and Processing - 24.09.24
Digital to Analog (D/A): A digital-to-analog converter (D/A) performs the function of DECODING on a
digital-coded input. The output of the D/A converter is an analog signal, usually in the form of a current
or a voltage. A D/A is needed as an interface between a digital channel or digital computer and an analog
device. A D/A is also known as a DECODER.
Each of the binary digits (0 or 1) is referred to as a bit. The bit itself, however, is too small a number to be
considered the basic unit of information. Typically, bits are strung together to form larger, more useful
units; with 8 bits placed together to form a byte. Several of these 8-bit bytes may be placed together to
form a word.
Digital signals in a computer can be represented as fixed-point numbers or floating-point numbers. These
number systems are discussed as follows.
Thus, for instance, the binary number 01011.101 is equivalent to the decima number
Negative numbers may be represented by assigning the first bit of the binary word as a sign bit; i.e., 0 for
"+" and 1 for "-".
Then, the maximum value of the analog signal that the quantizer can convert without exceeding
the quantization error of ±0.625 volt is
SAMPLE-AND-HOLD DEVICES
A sampler in a discrete-data or digital system is a device which converts an analog signal into a train of
amplitude-modulated pulse or a digital signal.
Sample-and-hold devices are used extensively in digital systems. The main applications of sample-and-
hold is to "freeze" fast-moving signals during all types of conversion operations. Another common usage
of S/H is for the storage of multiplexer outputs while the Signal is being converted. The opening and
closing of the switch or sampler is controlled by a SAMPLE COMMAND.
When the switch is closed the S/H output samples and TRACKS the input signal e s(t). When the switch is
opened, the output is held at the volt age that the capacitor is charged to. Figure 2-10 illustrates typical
input and output signals of the simple S/H shown in Fig. 2-9 when the source resistance is zero.
The time interval during which the sampler is closed is called the sampling duration p. In practice, the
resistance Rs is not zero, and the capacitor will charge toward the sampled input signal with a time
constant RsC. Furthermore, the operation of the sampler is not instantaneous as it would take time for It to
respond to the sample-and-hold commands.
In practice a sample-and-hold has many imperfections and errors, and the output of the device may
deviate considerably from the Ideal waveform illustrated in Fig. 2-10.
Figure 2-11 illustrates a typical input signal es(t) and the corresponding S/H output of a practical S/H. The
typical output signal of the S/H is characterized by several sources of time delays and imperfect holding
during the hold mode. These characteristics are illustrated in Fig. 2-11 and are defined m the following.
Acquisition Time (Ta): When the SAMPLE COMMAND is given to the S/H the unit does not begin
to track the input signal instantaneously. The acquisition time is measured from the instant SAMPLE
COMMAND is given to the time when the output of the S/H enters and remains within a specified error
band (say ± 1 %) around the input signal.
Aperture Time (T): When the HOLD command is given to the sample-and hold while it is in the
sample (track) mode, it will stay in the sample mode before reacting. The time between the issuance of
the HOLD command and the time the sampler is opened is called the aperture time. For example, the
aperture time of a typical commercial S/H unit may be on the order of 10 nanoseconds.
Settling Time (Ts): In switching from the sample mode to the hold mode, transient caused by
capacitance feedthrough from the digital logic circuitry through the electronic switch to the analog signal
path can occur. The time required for the transient oscillation to settle to within a certain percent of FS is
called the settling time.
Hold Mode Droop: During the HOLD mode the output voltage of the S/H may decrease slightly, due
to the leakage currents with the FET switch and the buffer amplifier of the input circuit.
The droop in the output of the S/H can be greatly reduced by using a buffer amplifier with a very high
input impedance at the output of the S/H. Similarly, we may use an input buffer amplifier so as to keep
the input current of the S/H relatively constant.
The sample-and-hold is available commercially as one unit. Figure 2-15 illustrates an equivalent block
diagram which isolates the sample-and-hold functions and the effects of all the delay times and transient
oscillations.
The sampler which can be regarded as a pulse-amplitude modulator has a pulse or sampling duration of p.
The hold device simply holds the sampled signal during the holding periods. The pure time delay, Td ,
approximates the acquisition time and the aperture time delays, whereas the filter is for the representation
of the finite time constant and dynamics of the buffer amplifiers. In general, the transfer function of the
filter can be expressed as
The delay times of the S/H are also comparatively small so that these can also be neglected from the
standpoint of the system dynamics. For example, the aperture time may be only 10 nanosec, and the
acquisition time is 300 nanosec, of a given S/H. The settling time may be another 100 nanosec; i.e., the
transient oscillations will decay to a prescribed accuracy within 100 nanosec. Thus, the total time delay is
only 410 nanosec, which may be neglected. Therefore, for all practical purposes, if p«T, and the time
delay due to sample-and-hold is small, the S/H can be modelled by the block diagram shown m FIg. 2-16.
In this case the sampler is called an ideal sampler since it is assumed to have a zero sampling duration;
that is, p = 0.
DIGITAL-TO-ANALOG (D/A) CONVERSION
The basic elements of a D / A are represented by the block diagram shown in Fig. 2-18. The function of
the logic circuit is to control the switching of the precision reference voltage or current source to the
proper in put terminals of the resistor network as a function of the digital value of each digital input bit.
The function of the logic circuit is to control the switching of the precision reference voltage or current
source to the proper in put terminals of the resistor network as a function of the digital value of each
digital input bit.
When a binary 1 appears at the control logic circuit of a switch it closes the switch and connects the
resistor to the reference voltage. On the other hand, a binary 0 connects the resistor to ground. For the
high-gain operational amplifier the input impedance is very low so that the voltage at the summing point
0 is practically zero.
The main disadvantage of the weighted-resistor type of D/ A shown in Fig. 2-19 is that the accuracy and
stability of the conversion depend on the accuracy and temperature stability of the resistors. A more
practical D/A is the R -2R ladder network. Figure 2-20 illustrates a D/A of this type for a three-bit digital
word. Since all resistors have values of either R or 2R, they are easy to match and select.
Sampling Process Modelled as a Pulse-Amplitude Modulator
For an input signal f(t) which is a function of the continuous-time variable t, the output of the sampler,
designated as f*p(t), is a train of finite-width pulses whose amplitudes are modulated by the input f(t).
Figure 2-30 shows an equivalent block diagram representation of the sampler as a pulse-amplitude
modulator. In this case, the input f(t) is considered to be multiplied by a carrier signal p(t) which is a train
of periodic pulses, each with unit height. Figure 2-31 illustrates the typical waveforms of the input signal
f(t), the carrier signal p(t), and the output f*p(t).
There are sampling operations which may be described by a pulse width modulation (PWM) sampler.
Typical input and output signals of a pulse width modulator are illustrated in Fig. 2-32. A still more
elaborate scheme is one in which the amplitudes as well as the widths of the output pulses vary as some
function of the input signal at the sampling instants. This type of sampler is known as a Pulse width-
pulse-amplitude modulator.
For the uniform-rate finite-pulse width sampler described in Figs. 2-29, 2-30 and 2-31, the output signal
in response to an input f(t) can be regarded as the product of f(t) and the carrier p(t) which is a unit pulse
train with period T. The unit pulse train p(t) contains pulses each with unit magnitude. Thus, p(t) can be
expressed as
In the present case we assume that the sampling operation begins at t = -α and the leading edge of the
pulse at t = 0 coincides with t = 0, as shown in Fig. 2-33.
Equation (2-34) gives a time-domain description of the input-output relation of the uniform-rate finite-
pulse width sampler.