HOME

TheInfoList



OR:

The zero-order hold (ZOH) is a mathematical model of the practical signal reconstruction done by a conventional
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
(DAC). That is, it describes the effect of converting a
discrete-time signal In mathematical dynamics, discrete time and continuous time are two alternative frameworks within which variables that evolve over time are modeled. Discrete time Discrete time views values of variables as occurring at distinct, separate "poi ...
to a continuous-time signal by holding each sample value for one sample interval. It has several applications in electrical communication.


Time-domain model

A zero-order hold reconstructs the following continuous-time waveform from a sample sequence ''x'' 'n'' assuming one sample per time interval ''T'': x_(t)\,= \sum_^ x cdot \mathrm \left(\frac \right) where \mathrm(\cdot) is the
rectangular function The rectangular function (also known as the rectangle function, rect function, Pi function, Heaviside Pi function, gate function, unit pulse, or the normalized boxcar function) is defined as \operatorname\left(\frac\right) = \Pi\left(\frac\ri ...
. The function \mathrm \left(\frac \right) is depicted in Figure 1, and x_(t) is the piecewise-constant signal depicted in Figure 2.


Frequency-domain model

The equation above for the output of the ZOH can also be modeled as the output of a linear time-invariant filter with impulse response equal to a rect function, and with input being a sequence of dirac impulses scaled to the sample values. The filter can then be analyzed in the frequency domain, for comparison with other reconstruction methods such as the Whittaker–Shannon interpolation formula suggested by the
Nyquist–Shannon sampling theorem The Nyquist–Shannon sampling theorem is an essential principle for digital signal processing linking the frequency range of a signal and the sample rate required to avoid a type of distortion called aliasing. The theorem states that the sample r ...
, or such as the first-order hold or linear interpolation between sample values. In this method, a sequence of Dirac impulses, ''x''s(''t''), representing the discrete samples, ''x'' 'n'' is
low-pass filter A low-pass filter is a filter that passes signals with a frequency lower than a selected cutoff frequency and attenuates signals with frequencies higher than the cutoff frequency. The exact frequency response of the filter depends on the filt ...
ed to recover a continuous-time signal, ''x''(''t''). Even though this is ''not'' what a DAC does in reality, the DAC output can be modeled by applying the hypothetical sequence of dirac impulses, ''x''s(''t''), to a linear, time-invariant filter with such characteristics (which, for an LTI system, are fully described by the
impulse response In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
) so that each input impulse results in the correct constant pulse in the output. Begin by defining a continuous-time signal from the sample values, as above but using delta functions instead of rect functions: \begin x_s(t) & = \sum_^ x \cdot \delta\left(\frac\right) \\ & = T \sum_^ x \cdot \delta(t - nT). \end The scaling by T, which arises naturally by time-scaling the delta function, has the result that the mean value of ''xs''(''t'') is equal to the mean value of the samples, so that the lowpass filter needed will have a DC gain of 1. Some authors use this scaling, while many others omit the time-scaling and the ''T'', resulting in a low-pass filter model with a DC gain of ''T'', and hence dependent on the units of measurement of time. The zero-order hold is the hypothetical filter or
LTI system In system analysis, among other fields of study, a linear time-invariant (LTI) system is a system that produces an output signal from any input signal subject to the constraints of Linear system#Definition, linearity and Time-invariant system, ...
that converts the sequence of modulated Dirac impulses ''xs''(''t'')to the piecewise-constant signal (shown in Figure 2): x_(t) = \sum_^ x \cdot \mathrm \left(\frac - \frac \right) resulting in an effective
impulse response In signal processing and control theory, the impulse response, or impulse response function (IRF), of a dynamic system is its output when presented with a brief input signal, called an impulse (). More generally, an impulse response is the reac ...
(shown in Figure 4) of: h_(t)\,= \frac \mathrm \left(\frac-\frac \right) = \begin \frac & \text 0 \le t < T \\ 0 & \text \end The effective frequency response is the
continuous Fourier transform In mathematics, the Fourier transform (FT) is an integral transform that takes a function (mathematics), function as input then outputs another function that describes the extent to which various Frequency, frequencies are present in the origin ...
of the impulse response. H_(f) = \mathcal \ = \frac = e^ \mathrm(fT) where \mathrm(x) is the (normalized) sinc function \frac commonly used in digital signal processing. The
Laplace transform In mathematics, the Laplace transform, named after Pierre-Simon Laplace (), is an integral transform that converts a Function (mathematics), function of a Real number, real Variable (mathematics), variable (usually t, in the ''time domain'') to a f ...
transfer function In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a function (mathematics), mathematical function that mathematical model, models the system's output for each possible ...
of the ZOH is found by substituting ''s'' = ''i'' 2 ''π'' ''f'': H_(s) = \mathcal \ \,= \frac \ The fact that practical
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. DACs are commonly used in musi ...
s (DAC) do not output a sequence of dirac impulses, ''x''s(''t'') (that, if ideally low-pass filtered, would result in the unique underlying bandlimited signal before sampling), but instead output a sequence of rectangular pulses, ''x''ZOH(''t'') (a piecewise constant function), means that there is an inherent effect of the ZOH on the effective frequency response of the DAC, resulting in a mild
roll-off Roll-off is the steepness of a transfer function with frequency, particularly in electrical network analysis, and most especially in connection with filter circuits in the transition between a passband and a stopband. It is most typically app ...
of gain at the higher frequencies (a 3.9224 dB loss at the
Nyquist frequency In signal processing, the Nyquist frequency (or folding frequency), named after Harry Nyquist, is a characteristic of a Sampling (signal processing), sampler, which converts a continuous function or signal into a discrete sequence. For a given S ...
, corresponding to a gain of sinc(1/2) = 2/π). This drop is a consequence of the ''hold'' property of a conventional DAC, and is ''not'' due to the
sample and hold In electronics, a sample and hold (also known as sample and follow) circuit is an analog device that samples (captures, takes) the voltage of a continuously varying analog signal and holds (locks, freezes) its value at a constant level for a ...
that might precede a conventional
analog-to-digital converter In electronics, an analog-to-digital converter (ADC, A/D, or A-to-D) is a system that converts an analog signal, such as a sound picked up by a microphone or light entering a digital camera, into a Digital signal (signal processing), digi ...
(ADC).


See also

*
Nyquist–Shannon sampling theorem The Nyquist–Shannon sampling theorem is an essential principle for digital signal processing linking the frequency range of a signal and the sample rate required to avoid a type of distortion called aliasing. The theorem states that the sample r ...
* First-order hold * Discretization of linear state space models (assuming zero-order hold)


References

{{reflist Digital signal processing Electrical engineering Control theory Signal processing