Jump to content

Zero-order hold

From Wikipedia, the free encyclopedia

Thezero-order hold(ZOH) is a mathematical model of the practicalsignal reconstructiondone by a conventionaldigital-to-analog converter(DAC).[1]That is, it describes the effect of converting adiscrete-time signalto acontinuous-time signalby holding each sample value for one sample interval. It has several applications in electrical communication.

Time-domain model

[edit]
Figure 1. The time-shifted and time-scaled rect function used in the time-domain analysis of the ZOH.
Figure 2. Piecewise-constant signalxZOH(t).
Figure 3. A modulated Dirac combxs(t).

A zero-order hold reconstructs the following continuous-time waveform from a sample sequencex[n], assuming one sample per time intervalT: whereis therectangular function.

The functionis depicted in Figure 1, andis thepiecewise-constantsignal depicted in Figure 2.

Frequency-domain model

[edit]

The equation above for the output of the ZOH can also be modeled as the output of alinear time-invariant filterwith impulse response equal to a rect function, and with input being a sequence ofdirac impulsesscaled to the sample values. The filter can then be analyzed in the frequency domain, for comparison with other reconstruction methods such as theWhittaker–Shannon interpolation formulasuggested by theNyquist–Shannon sampling theorem,or such as thefirst-order holdor linear interpolation between sample values.

In this method, a sequence ofDirac impulses,xs(t), representing the discrete samples,x[n], islow-pass filteredto recover acontinuous-time signal,x(t).

Even though this isnotwhat a DAC does in reality, the DAC output can be modeled by applying the hypothetical sequence of dirac impulses,xs(t), to alinear, time-invariant filterwith such characteristics (which, for an LTI system, are fully described by theimpulse 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:

The scaling by,which arises naturally by time-scaling the delta function, has the result that the mean value ofxs(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,[2]while many others omit the time-scaling and theT,resulting in a low-pass filter model with a DC gain ofT,and hence dependent on the units of measurement of time.

Figure 4. Impulse response of zero-order holdhZOH(t). It is identical to the rect function of Figure 1, except now scaled to have an area of 1 so the filter will have a DC gain of 1.

The zero-order hold is the hypotheticalfilterorLTI systemthat converts the sequence of modulated Dirac impulsesxs(t)to the piecewise-constant signal (shown in Figure 2): resulting in an effectiveimpulse response(shown in Figure 4) of:

The effective frequency response is thecontinuous Fourier transformof the impulse response.

whereis the (normalized)sinc functioncommonly used in digital signal processing.

TheLaplace transformtransfer functionof the ZOH is found by substitutings=i2πf:

The fact that practicaldigital-to-analog converters(DAC) do not output a sequence ofdirac impulses,xs(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,xZOH(t) (apiecewise constantfunction), means that there is an inherent effect of the ZOH on the effective frequency response of the DAC, resulting in a mildroll-offof gain at the higher frequencies (a 3.9224 dB loss at theNyquist frequency,corresponding to a gain of sinc(1/2) = 2/π). This drop is a consequence of theholdproperty of a conventional DAC, and isnotdue to thesample and holdthat might precede a conventionalanalog-to-digital converter(ADC).

See also

[edit]

References

[edit]
  1. ^Tom J. Moir (2022).Rudiments of Signal Processing and Systems.Springer International Publishing AG. p. 459.doi:10.1007/978-3-030-76947-5.ISBN9783030769475.
  2. ^Ken C. Pohlmann (2000).Principles of Digital Audio(fifth ed.). McGraw-Hill.ISBN0-07-144156-5.