- Source: Zero-order hold
The zero-order hold (ZOH) is a mathematical model of the practical signal reconstruction done by a conventional digital-to-analog converter (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
Z
O
H
(
t
)
=
∑
n
=
−
∞
∞
x
[
n
]
⋅
r
e
c
t
(
t
−
T
/
2
−
n
T
T
)
{\displaystyle x_{\mathrm {ZOH} }(t)\,=\sum _{n=-\infty }^{\infty }x[n]\cdot \mathrm {rect} \left({\frac {t-T/2-nT}{T}}\right)}
where
r
e
c
t
(
⋅
)
{\displaystyle \mathrm {rect} (\cdot )}
is the rectangular function.
The function
r
e
c
t
(
t
−
T
/
2
T
)
{\displaystyle \mathrm {rect} \left({\frac {t-T/2}{T}}\right)}
is depicted in Figure 1, and
x
Z
O
H
(
t
)
{\displaystyle x_{\mathrm {ZOH} }(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, or such as the first-order hold or linear interpolation between sample values.
In this method, a sequence of Dirac impulses, xs(t), representing the discrete samples, x[n], is low-pass filtered 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, xs(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:
x
s
(
t
)
=
∑
n
=
−
∞
∞
x
[
n
]
⋅
δ
(
t
−
n
T
T
)
=
T
∑
n
=
−
∞
∞
x
[
n
]
⋅
δ
(
t
−
n
T
)
.
{\displaystyle {\begin{aligned}x_{s}(t)&=\sum _{n=-\infty }^{\infty }x[n]\cdot \delta \left({\frac {t-nT}{T}}\right)\\&{}=T\sum _{n=-\infty }^{\infty }x[n]\cdot \delta (t-nT).\end{aligned}}}
The scaling by
T
{\displaystyle 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 that converts the sequence of modulated Dirac impulses xs(t)to the piecewise-constant signal (shown in Figure 2):
x
Z
O
H
(
t
)
=
∑
n
=
−
∞
∞
x
[
n
]
⋅
r
e
c
t
(
t
−
n
T
T
−
1
2
)
{\displaystyle x_{\mathrm {ZOH} }(t)=\sum _{n=-\infty }^{\infty }x[n]\cdot \mathrm {rect} \left({\frac {t-nT}{T}}-{\frac {1}{2}}\right)}
resulting in an effective impulse response (shown in Figure 4) of:
h
Z
O
H
(
t
)
=
1
T
r
e
c
t
(
t
T
−
1
2
)
=
{
1
T
if
0
≤
t
<
T
0
otherwise
{\displaystyle h_{\mathrm {ZOH} }(t)\,={\frac {1}{T}}\mathrm {rect} \left({\frac {t}{T}}-{\frac {1}{2}}\right)={\begin{cases}{\frac {1}{T}}&{\text{if }}0\leq t
The effective frequency response is the continuous Fourier transform of the impulse response.
H
Z
O
H
(
f
)
=
F
{
h
Z
O
H
(
t
)
}
=
1
−
e
−
i
2
π
f
T
i
2
π
f
T
=
e
−
i
π
f
T
s
i
n
c
(
f
T
)
{\displaystyle H_{\mathrm {ZOH} }(f)={\mathcal {F}}\{h_{\mathrm {ZOH} }(t)\}={\frac {1-e^{-i2\pi fT}}{i2\pi fT}}=e^{-i\pi fT}\mathrm {sinc} (fT)}
where
s
i
n
c
(
x
)
{\displaystyle \mathrm {sinc} (x)}
is the (normalized) sinc function
sin
(
π
x
)
π
x
{\displaystyle {\frac {\sin(\pi x)}{\pi x}}}
commonly used in digital signal processing.
The Laplace transform transfer function of the ZOH is found by substituting s = i 2 π f:
H
Z
O
H
(
s
)
=
L
{
h
Z
O
H
(
t
)
}
=
1
−
e
−
s
T
s
T
{\displaystyle H_{\mathrm {ZOH} }(s)={\mathcal {L}}\{h_{\mathrm {ZOH} }(t)\}\,={\frac {1-e^{-sT}}{sT}}\ }
The fact that practical digital-to-analog converters (DAC) do not output a sequence of dirac 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) (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 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 (ADC).
See also
Nyquist–Shannon sampling theorem
First-order hold
Discretization of linear state space models (assuming zero-order hold)
References
Kata Kunci Pencarian:
- Daftar anime dan manga
- Ariana Grande
- Paus Fransiskus
- Pemotongan kelamin perempuan
- Formula Satu
- Lewis Hamilton
- Iz*One
- Man Who Dies to Live
- Daftar lagu rock instrumental
- Zero-order hold
- First-order hold
- 0O
- Discretization
- Sampling (signal processing)
- Nyquist–Shannon sampling theorem
- Direct digital synthesis
- Flip-flop (electronics)
- Nearest-neighbor interpolation
- Electronic engineering
Sicario: Day of the Soldado (2018)
Classified (2024)
Gridman Universe (2023)
Leaving D.C. (2013)
No More Posts Available.
No more pages to load.