Zero-order hold
   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. There are several DAC archit ...
(DAC). That is, it describes the effect of converting a discrete-time signal 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(t) = \Pi(t) = \left\{\begin{array}{rl ...
. The function \mathrm \left(\frac \right) is depicted in Figure 1, and x_(t) is the
piecewise-constant In mathematics, a function (mathematics), function on the real numbers is called a step function if it can be written as a finite set, finite linear combination of indicator functions of interval (mathematics), intervals. Informally speaking, a s ...
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 The Whittaker–Shannon interpolation formula or sinc interpolation is a method to construct a continuous-time bandlimited function from a sequence of real numbers. The formula dates back to the works of E. Borel in 1898, and E. T. Whittaker i ...
suggested by the
Nyquist–Shannon sampling theorem The Nyquist–Shannon sampling theorem is a theorem in the field of signal processing which serves as a fundamental bridge between continuous-time signals and discrete-time signals. It establishes a sufficient condition for a sample rate that per ...
, 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) 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 Filter, filtering or filters may refer to: Science and technology Computing * Filter (higher-order function), in functional programming * Filter (software), a computer program to process a data stream * Filter (video), a software component tha ...
or LTI 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 (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 A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
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 its discoverer Pierre-Simon Laplace (), is an integral transform that converts a function of a real variable (usually t, in the '' time domain'') to a function of a complex variable s (in the ...
transfer function In engineering, a transfer function (also known as system function or network function) of a system, sub-system, or component is a mathematical function that theoretically models the system's output for each possible input. They are widely used ...
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. There are several DAC archit ...
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 In mathematics, a function on the real numbers is called a step function if it can be written as a finite linear combination of indicator functions of intervals. Informally speaking, a step function is a piecewise constant function having on ...
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, 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 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. An ADC may also provide ...
(ADC).


See also

*
Nyquist–Shannon sampling theorem The Nyquist–Shannon sampling theorem is a theorem in the field of signal processing which serves as a fundamental bridge between continuous-time signals and discrete-time signals. It establishes a sufficient condition for a sample rate that per ...
* First-order hold * Discretization of linear state space models (assuming zero-order hold)


References

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