ハイブリッドアナログ/デジタルサンプリングデータシステムにおけるゼロ次ホールドの役割は何ですか?


14

私はこの質問を修辞的に尋ねていることを認めます。これから何が返ってくるのか興味があります。

これに答えることを選択した場合は、シャノン-ナイキストのサンプリング定理をよく理解してください。特に再建。教科書の「落とし穴」にも注意してください。dirac deltaインパルス関数の工学的概念で十分です。「分布」のすべてを心配する必要はありません。初期のデルタ関数としてのディラックインパルスは十分です。

δ(t)=limτ01τrect(tτ)

どこ

rect(t){0if |t|>121if |t|<12

精度、サンプルワードのビット幅、および変換で行われる量子化に関する問題は、この質問には関係ありません。ただし、入力から出力へのスケーリング重要です。

他の誰かが正確で教育的に有用な答えを提示しない限り、私は最終的にそれに自分の答えを書きます。私もこれに報奨金をかけるかもしれません(私が持っている小さな担当者を使うこともあります)。

それで持っています。


主にエイリアシングについて聞いてみたいですか?
deadude

いや。サンプリング定理のすべての規則が守られていると思います。つまり、以上の連続時間入力のサンプルまたはコンテンツは取得されません。今、「エイリアス」と「画像」の間に違いがあることを思い出してください。fs2
ロバートブリストージョンソン

限り私が覚えているように、ゼロ次ホールドは、一つのサンプルと次との間のもののアナログ側に影響を与えることが明らかにデジタルシステムにおけるサンプル間の単なる遅延であり、かつ
KyranF

@KyranF、それはそれ以上です。
ロバートブリストージョンソン

Timoからの回答からの@ robertbristow-johnson それで頑張ってください!
KyranF

回答:


6

セットアップ

入力信号持つシステムを考えます。x(t)わかりやすくするために、必要に応じて値をx(t)電圧と呼びます。我々のサンプル期間であるT、対応するサンプルレートはfs1/T

フーリエ変換のために、私たちは規則を選択

X(i2πf)=F(x(t))x(t)ei2πftdt,
逆フーリエ変換を与える
x(t)=F1(X(i2πf))X(i2πf)ei2πftdf.
これらの規則と、そのノートXラプラス変数の関数でありs=iω=i2πf

理想的なサンプリングと再構築

理想的なサンプリングから始めましょう。ナイキスト・シャノンのサンプリング定理によれば、f < 1に帯域制限された信号x(t)が与えられますf<12fsすなわち

X(i2πf)=0,when|f|12fs,
元信号を完全に復元することができるサンプル x[n]x(nT)nZ。言い換えると、信号の帯域幅に関する条件(ナイキスト基準と呼ばれる)が与えられた場合、等距離の離散点での瞬時値を知るだけで十分です。

サンプリング定理は、再構成を実行するための明示的な方法も提供します。私たちは、次の何に役立つであろう方法でこれを正当化してみましょう:私たちは、フーリエ変換を推定してみましょう信号のX T そのことにより、リーマン和ステップでTX I 2 π F Σ N = - X N Δ T E - I 2 π FX(i2πf)x(t)T ここで、ΔT=T。エラー我々している意思を定量化するために、私たちは一体型としてこれを書き直してみましょう: Σ N = - X N T E - I 2 πのF N T T

X(i2πf)n=x(nΔt)ei2πfnΔtΔt,
Δt=T 我々が使用される畳み込み定理の積にXTサンプリング関数ΣをN = - TδT-NT、フーリエサンプリング関数の変換であるという事実ΣN = - δF-K
n=x(nT)ei2πfnTT=n=x(t)ei2πftTδ(tnT)dt=X(i2πf)F(Tn=δ(tnT))(1)=k=X(fk/T),
x(t) n=Tδ(tnT)、およびデルタ関数で積分を実行しました。n=δ(fk/T)

左側が正確であることに留意されたいX 1 / TI 2 π F Tがであるフーリエ変換、離散時間対応するサンプリングされた信号からX [ N ] X n T f Tは無次元の離散時間周波数です。TX1/T(i2πfT)X1/T(i2πfT)x[n]x(nT)fT

ここで、ナイキスト基準の背後にある本質的な理由がわかります。これは、合計の項が重複しないことを保証するためにまさに必要なものです。ナイキスト基準を使用すると、上記の合計は、間隔から実線全体までのスペクトルの周期的な拡張になります。[fs/2,fs/2]

Since the DTFT in (1) has the same Fourier transform in the interval [fs/2,fs/2] as our original signal, we can simply multiply it by the rectangular function rect(f/fs) and get back the original signal. Via the convolution theorem, this amounts to convolving the Dirac comb with the Fourier transform of the rectangular function, which in our conventions is

F(rect(f/fs))=1/Tsinc(t/T),
where the normalized sinc function is
sinc(x)sin(πx)πx.
The convolution then simply replaces each Dirac delta in the Dirac comb with a sinc -function shifted to the position of the delta, giving
(2)x(t)=n=x[n]sinc(t/Tn).
This is the Whittaker-Shannon interpolation formula.

Non-ideal sampling

For translating the above theory to the real world, the most difficult part is guaranteeing the bandlimiting, which must be done before sampling. For the purposes of this answer, we assume this has been done. The remaining task is then to take samples of the instantenous values of the signal. Since a real ADC will need a finite amount of time to form the approximation to the sample, the usual implementation will store the value of the signal to a sample-and-hold -circuit, from which the digital approximation is formed.

Even though this resembles very much a zero-order-hold, it is a distinct process: the value obtained from the sample-and-hold is indeed exactly the instantenous value of the signal, up to the approximation that the signal stays constant for the duration it takes to charge the capacitor holding the sample value. This is usually well achieved by real world systems.

Therefore, we can say that a real world ADC, ignoring the problem of bandlimiting, is a very good approximation to the case of ideal sampling, and specifically the "staircase" coming from the sample-and-hold does not cause any error in the sampling by itself.

Non-ideal reconstruction

For reconstruction, the goal is to find an electronic circuit that accomplishes the sum-of-sincs appearing in (2). Since the sinc has an infinite extent in time, it is quite clear that this cannot be exactly realized. Further, forming such a sum of signals even to a reasonable approximation would require multiple sub-circuits, and quickly become very complex. Therefore, usually a much simpler approximation is used: at each sampling instant, a voltage corresponding to the sample value is output, and held constant until the next sampling instant (although see Delta-sigma modulation for an example of an alternative method). This is the zero-order hold, and corresponds to replacing the sinc we used above with the rectangle function 1/Trect(t/T1/2)

(1/Trect(t/T1/2))(n=Tx[n]δ(tnT)),
using the defining property of the delta function, we see that this indeed results in the classic continuous-time staircase waveform. The factor of 1/T enters to cancel the T introduced in (1). That such a factor is needed is also clear from the fact that the units of an impulse response are 1/time.

The shift by 1/2T is simply to guarantee causality. This only amounts to a shift of the output by 1/2 sample relative to using 1/Trect(1/T) (which may have consequences in real-time systems or when very precise synchronization to external events is needed), which we will ignore in what follows.

との比較(1), we have replaced the rectangular function in the frequency domain, which left the baseband entirely untouched and removed all of the higher frequency copies of the spectrum, called images, with the Fourier transform of the function 1/Trect(t/T). This is of course

sinc(f/fs).

Note that the logic is somewhat inverted from the ideal case: there we defined our goal, which was to remove the images, in the frequency domain, and derived the consequences in time domain. Here we defined how to reconstruct in the time domain (since that is what we know how to do), and derived the consequences in the frequency domain.

So the result of the zero-order hold is that instead of the rectangular windowing in the frequency domain, we end up with the sinc as a windowing function. Therefore:

  • The frequency response is no longer bandlimited. Rather it decays as 1/f, with the upper frequencies being images of the original signal
  • in the baseband, the response already decays considerably, reaching about -4 dB at 1/2fs

Overall, the zero-order hold is used to approximate the time-domain sinc function appearing in the Whittaker-Shannon interpolation formula. When sampling, the similar-looking sample-and-hold is a technical solution to the problem of estimating the instantaneous value of the signal, and does not produce any errors in itself.

Note that no information is lost in the reconstruction either, since we can always filter out the high frequency images after the initial zero-order hold. The gain loss can also be compensated by an inverse sinc filter, either before or after the DAC. So from a more practical point of view, the zero-order hold is used to construct an initial implementable approximation to the ideal reconstruction, which can then be further improved, if necessary.


it's interesting Timo. you are running into a consequence of Wikipedia politics. check out this older version of the Wikipedia article on the sampling theorem. rather than hiding behind the Poisson summation formula, it just shows how sampling generates the images and explicitly what is required to recover the original continuous-time signal. and you can see why there is that T factor in the sampling function.
robert bristow-johnson

It's interesting that the old version of the Wikipedia article is actually clearer, also in my opinion. The calculation is almost exactly what I write above, except that it gives a bit more details.
Timo

Anyway, I'm not quite sure why this is needed to understand why the factor of T is needed: I think that what I write in the answer is a sufficient condition for the T to be necessary (technically, a consistency condition, but we already assume that reconstruction is possible). Now, of course, understanding is always a subjective thing. For example, here it could be considered a deeper reason for the appearance of the factor T that T essentially becomes the integration measure dt when one takes the limit T0.
Timo

I suppose what you're referring to as the why is the appearance of 1/T in the representation of the Dirac comb as a sum of complex exponentials, in en.wikipedia.org/w/…? Which is of course one way to put it, and quite directly related to the role of T as a measure.
Timo

1
I can't help but think you should just add the answer you're after. Comments are not for extended discussion.
David

4

The zero-order hold has the role of approximating the delta and sinc -functions appearing in the sampling theorem, whichever is appropriate.

For the purposes of clarity, I consider an ADC/DAC system with a voltage signal. All of the following applies to any sampling system with the appropriate change of units, though. I also assume that the input signal has already been magically bandlimited to fulfill the Nyquist criterion.

Start from sampling: ideally, one would sample the value of the input signal at a single instant. Since real ADC's need a finite amount of time to form their approximation, the instantaneous voltage is approximated by the sample-and-hold (instantaneous being approximated by the switching time used to charge the capacitor). So in essence, the hold converts the problem of applying a delta functional to the signal to the problem of measuring a constant voltage.

Note here that the difference between the input signal being multiplied by an impulse train or a zero-order hold being applied at the same instants is merely a question of interpretation, since the ADC will nonetheless store only the instantaneous voltages being held. One can be reconstructed from the other. For the purposes of this answer, I will adopt the interpretation that the sampled signal is the continuous-time signal of the form

x(t)=ΔtVref2nkxkδ(tkΔt),
where Vref is the reference voltage of the ADC/DAC, n is the number of bits, xk are the samples represented in the usual way as integers, and Δt is the sampling period. This somewhat unconventional interpretation has the advantage that I am considering, at all times, a continuous-time signal, and sampling here simply means representing it in terms of the numbers xk, which are indeed the samples in the usual sense.

In this interpretation, the spectrum of the signal in the baseband is the exact same as that of the original signal, and the effective convolution by the impulse train has the effect of replicating that signal such as to make the spectrum periodic. The replicas are called images of the spectrum. That the normalization factor Δt is necessary can be seen, for example, by considering the DC-offset of a 1 volt pulse of duration Δt: its DC-offset defined as the f=0 -component of the Fourier transform is

x^(0)=0Δt1Vdt=1VΔt.
In order to get the same result from our sampled version, we must indeed include the factor of Δt.*

Ideal reconstruction then means constructing an electrical signal that has the same baseband spectrum as this signal, and no components at frequencies outside this range. This is the same as convolving the impulse train with the appropriate sinc-function. This is quite challenging to do electronically, so the sinc is often approximated by a rectangular function, AKA zero-order hold. In essence, at each delta function, the value of the sample is held for the duration of the sampling period.

In order to see what consequences this has for the reconstructed signal, I observe that the hold is exactly equivalent to convolving the impulse train with the rectangular function

rectΔt(t)=1Δtrect(tΔt).
The normalization of this rectangular function is defined by requiring that a constant voltage is correctly reproduced, or in other words, if a voltage V1 was measured when sampling, the same voltage is output on reconstruction.

In the frequency domain, this amounts to multiplying the frequency response with the Fourier transform of the rectangular function, which is

rect^Δt(f)=sinc(πΔtf).
Note that the gain at DC is 1. At high frequencies, the sinc decays like 1/f, and therefore attenuates the images of the spectrum.

In the end, the sinc-function resulting from the zero-order hold behaves as a low-pass filter on the signal. Note that no information is lost in the sampling phase (assuming the Nyquist criterion), and in principle, neither is anything lost when reconstructing: the filtering in the baseband by the sinc could be compensated for by an inverse filter (and this is indeed sometimes done, see for example https://www.maximintegrated.com/en/app-notes/index.mvp/id/3853). The modest 6dB/octave decay of the sinc usually requires some form of filtering to further attenuate the images.

Note also that an imaginary impulse generator that could physically reproduce the impulse train used in the analysis would output an infinite amount of energy in reconstructing the images. This would also cause some hairy effects, such as that an ADC re-sampling the output would see nothing, unless it were perfectly synchronized to the original system (it would mostly sample between the impulses). This shows clearly that even if we cannot bandlimit the output exactly, some approximate bandlimiting is always needed to regularize the total energy of the signal, before it can be converted to a physical representation.

To summarize:

  • in both directions, the zero-order-hold acts as an approximation to a delta function, or it's band-limited form, the sinc -function.
  • from the frequency domain point of view, it is an approximation to the brickwall filter that removes images, and therefore regulates the infinite amount of energy present in the idealized impulse train.

*This is also clear from dimensional analysis: the units of a Fourier transform of a voltage signal are Vs=VHz, whereas the delta function has units of 1/s, which would cancel the unit of time coming from the integral in the transform.


when the timer allows me to, i will put a bounty on this, Timo. there are some things that i like: e.g. having the DC gain = 1, which is consistent with Eq. 1 on your maxim citation, but way too many textbooks screw it up with a gain of T that they don't know what to do with. and it appears that you are understanding that the ZOH has nothing to do with any possible S/H at the input of the ADC. that's good. i'll still wait for a little more rigorous answer. and don't worry about Vref. i am assuming it's the same for the ADC and DAC.
robert bristow-johnson

@robertbristow-johnson: thanks for the kind words! Can you specify a little in what direction are you looking for more rigor? More details, more maths proof style answer, or something completely different?
Timo

i guess a mathematical treatment with clean and consistent mathematical notation. i would suggest being consistent with Oppenheim and Wilsky or something like that.
T1fs
x[n]x(nT)
perhaps, so that the Laplace and Fourier transforms have consistent and compatible notation
F{x(t)}=X(j2πf)+x(t)ej2πft dt
. discuss what the sampling theorem is saying and how it is different in reality and where the ZOH comes in on that.
robert bristow-johnson

Ok, let me actually try writing another answer, since editing this to change the notation to what you prefer etc would probably leave a bit of mess. I'll just fix a small mistake from this one first, since it bothers me...
Timo

i was a little confused and slow-on-the-draw and didn't hit the bounty icon to award your bounty. according to the rules: If you do not award your bounty within 7 days (plus the grace period), the highest voted answer created after the bounty started with a minimum score of 2 will be awarded half the bounty amount. If two or more eligible answers have the same score (i.e., their scores are tied), the oldest answer is awarded the bounty. If there's no answer meeting those criteria, the bounty is not awarded to anyone. -- according to these rules you should get it within a week.
robert bristow-johnson

3

Fourier Transform:

X(j2πf)=F{x(t)}+x(t) ej2πft dt

Inverse Fourier Transform:

x(t)=F1{X(j2πf)}=+X(j2πf) ej2πft df

Rectangular pulse function:

rect(u){0if |u|>121if |u|<12

"Sinc" function ("sinus cardinalis"):

sinc(v){1if v=0sin(πv)πvif v0

Define sampling frequency, fs1T as the reciprocal of the sampling period T.

Note that:

F{rect(tT)}=T sinc(fT)=1fs sinc(ffs)

Dirac comb (a.k.a. "sampling function" a.k.a. "Sha function"):

IIIT(t)n=+δ(tnT)

Dirac comb is periodic with period T. Fourier series:

IIIT(t)=k=+1Tej2πkfst

Sampled continuous-time signal:

ideally sampled signal with dirac comb

xs(t)=x(t)(TIIIT(t))=x(t)(Tn=+δ(tnT))=T n=+x(t) δ(tnT)=T n=+x(nT) δ(tnT)=T n=+x[n] δ(tnT)

where x[n]x(nT).

This means that xs(t) is defined solely by the samples x[n] and the sampling period T and totally loses any information of the values of x(t) for times in between sampling instances. x[n] is a discrete sequence of numbers and is a sorta DSP shorthand notation for xn. While it is true that xs(t)=0 for nT<t<(n+1)T, the value of x[n] for any n not an integer is undefined.

N.B.: The discrete signal x[n] and all discrete-time operations on it, like the Z-Transform, the Discrete-Time Fourier Transform (DTFT), the Discrete Fourier Transform (DFT), are "agnostic" regarding the sampling frequency or the sampling period T. Once you're in the discrete-time x[n] domain, you do not know (or care) about T. It is only with the Nyquist-Shannon Sampling and Reconstruction Theorem that x[n] and T are put together.

The Fourier Transform of xs(t) is

Xs(j2πf)F{xs(t)}=F{x(t)(TIIIT(t))}=F{x(t)(Tk=+1Tej2πkfst)}=F{k=+x(t) ej2πkfst}=k=+F{x(t) ej2πkfst}=k=+X(j2π(fkfs))

Important note about scaling: The sampling function TIIIT(t) and the sampled signal xs(t) has a factor of T that you will not see in nearly all textbooks. That is a pedagogical mistake of the authors of these of these textbooks for multiple (related) reasons:

  1. First, leaving out the T changes the dimension of the sampled signal xs(t) from the dimension of the signal getting sampled x(t).
  2. That T factor will be needed somewhere in the signal chain. These textbooks that leave it out of the sampling function end up putting it into the reconstruction part of the Sampling Theorem, usually as the passband gain of the reconstruction filter. That is dimensionally confusing. Someone might reasonably ask: "How do I design a brickwall LPF with passband gain of T?"
  3. As will be seen below, leaving the T out here results in a similar scaling error for the net transfer function and net frequency response of the Zero-order Hold (ZOH). All textbooks on digital (and hybrid) control systems that I have seen make this mistake and it is a serious pedagogical error.

Note that the DTFT of x[n] and the Fourier Transform of the sampled signal xs(t) are, with proper scaling, virtually identical:

DTFT:

XDTFT(ω)Z{x[n]}|z=ejω=XZ(ejω)=n=+x[n] ejωn

It can be shown that

XDTFT(ω)=XZ(ejω)=1TXs(j2πf)|f=ω2πT


The above math is true whether x(t) is "properly sampled" or not. x(t) is "properly sampled" if x(t) can be fully recovered from the samples x[n] and knowledge of the sampling rate or sampling period. The Sampling Theorem tells us what is necessary to recover or reconstruct x(t) from x[n] and T.

If x(t) is bandlimited to some bandlimit B, that means

X(j2πf)=0for all|f|>B

bandlimited spectrum

Consider the spectrum of the sampled signal made up of shifted images of the original:

Xs(j2πf)=k=+X(j2π(fkfs))

The original spectrum X(j2πf) can be recovered from the sampled spectrum Xs(j2πf) if none of the shifted images, X(j2π(fkfs)), overlap their adjacent neighbors. This means that the right edge of the k-th image (which is X(j2π(fkfs))) must be entirely to the left of the left edge of the (k+1)-th image (which is X(j2π(f(k+1)fs))). Restated mathematically,

kfs+B<(k+1)fsB

which is equivalent to

fs>2B

If we sample at a sampling rate that exceeds twice the bandwidth, none of the images overlap, the original spectrum, X(j2πf), which is the image where k=0 can be extracted from Xs(j2πf) with a brickwall low-pass filter that keeps the original image (where k=0) unscaled and discards all of the other images. That means it multiplies the original image by 1 and multiplies all of the other images by 0.

X(j2πf)=rect(ffs)Xs(j2πf)=H(j2πf) Xs(j2πf)

reconstruction filter

The reconstruction filter is

H(j2πf)=rect(ffs)

and has acausal impulse response:

h(t)=F1{H(j2πf)}=fssinc(fst)

This filtering operation, expressed as multiplication in the frequency domain is equivalent to convolution in the time domain:

x(t)=h(t)xs(t)=h(t)T n=+x[n] δ(tnT)=T n=+x[n] (h(t)δ(tnT))=T n=+x[n] h(tnT))=T n=+x[n] (fssinc(fs(tnT)))=n=+x[n] sinc(fs(tnT))=n=+x[n] sinc(tnTT)

That spells out explicitly how the original x(t) is reconstructed from the samples x[n] and knowledge of the sampling rate or sampling period.


So what is output from a practical Digital-to-Analog Converter (DAC) is neither

n=+x[n] sinc(tnTT)

which needs no additional treatment to recover x(t), nor

xs(t)=n=+x[n] Tδ(tnT)

which, with an ideal brickwall LPF recovers x(t) by isolating and retaining the baseband image and discarding all of the other images.

DAC output

What comes out of a conventional DAC, if there is no processing or scaling done to the digitized signal, is the value x[n] held at a constant value until the next sample is to be output. This results in a piecewise-constant function:

xDAC(t)=n=+x[n] rect(tnTT2T)

Note the delay of 12 sample period applied to the rect() function. This makes it causal. It means simply that

xDAC(t)=x[n]=x(nT)whennTt<(n+1)T

Stated differently

xDAC(t)=x[n]=x(nT)forn=floor(tT)

where floor(u)=u is the floor function, defined to be the largest integer not exceeding u.

This DAC output is directly modeled as a linear time-invariant system (LTI) or filter that accepts the ideally sampled signal xs(t) and for each impulse in the ideally sampled signal, outputs this impulse response:

hZOH(t)=1Trect(tT2T)

Plugging in to check this...

xDAC(t)=hZOH(t)xs(t)=hZOH(t)T n=+x[n] δ(tnT)=T n=+x[n] (hZOH(t)δ(tnT))=T n=+x[n] hZOH(tnT))=T n=+x[n] 1Trect(tnTT2T)=n=+x[n] rect(tnTT2T)

The DAC output xDAC(t), as the output of an LTI system with impulse response hZOH(t) agrees with the piecewise constant construction above. And the input to this LTI system is the sampled signal xs(t) judiciously scaled so that the baseband image of xs(t) is exactly the same as the spectrum of the original signal being sampled x(t). That is

X(j2πf)=Xs(j2πf)forfs2<f<+fs2

The original signal spectrum is the same as the sampled spectrum, but with all images, that had appeared due to sampling, discarded.

The transfer function of this LTI system, which we call the Zero-order hold (ZOH), is the Laplace Transform of the impulse response:

HZOH(s)=L{hZOH(t)}+hZOH(t) est dt=+1Trect(tT2T) est dt=0T1T est dt=1T1sest|0T=1esTsT

The frequency response is obtained by substituting j2πfs

HZOH(j2πf)=1ej2πfTj2πfT=ejπfTejπfTejπfTj2πfT=ejπfTsin(πfT)πfT=ejπfTsinc(fT)=ejπfTsinc(ffs)

This indicates a linear phase filter with constant delay of one-half sample period, T2, and with gain that decreases as frequency f increases. This is a mild low-pass filter effect. At DC, f=0, the gain is 0 dB and at Nyquist, f=fs2 the gain is -3.9224 dB. So the baseband image has some of the high frequency components reduced a little.

As with the sampled signal xs(t), there are images in sampled signal xDAC(t) at integer multiples of the sampling frequency, but those images are significantly reduced in amplitude (compared to the baseband image) because |HZOH(j2πf)| passes through zero when f=kfs for integer k that is not 0, which is right in the middle of those images.

Concluding:

  1. The Zero-order hold (ZOH) is a linear time-invariant model of the signal reconstruction done by a practical Digital-to-Analog converter (DAC) that holds the output constant at the sample value, x[n], until updated by the next sample x[n+1].

  2. Contrary to the common misconception, the ZOH has nothing to do with the sample-and-hold circuit (S/H) one might find preceding an Analog-to-Digital converter (ADC). As long as the DAC holds the output to a constant value over each sampling period, it doesn't matter if the ADC has a S/H or not, the ZOH effect remains. If the DAC outputs something other than the piecewise-constant output (such as a sequence of narrow pulses intended to approximate dirac impulses) depicted above as xDAC(t), then the ZOH effect is not present (something else is, instead) whether there is a S/H circuit preceding the ADC or not.

  3. The net transfer function of the ZOH is

    HZOH(s)=1esTsT
    and the net frequency response of the ZOH is
    HZOH(j2πf)=ejπfTsinc(fT)
    Many textbooks leave out the T factor in the denominator of the transfer function and that is a mistake.

  4. The ZOH reduces the images of the sampled signal xs(t) significantly, but does not eliminate them. To eliminate the images, one needs a good low-pass filter as before. Brickwall LPFs are an idealization. A practical LPF may also attenuate the baseband image (that we want to keep) at high frequencies, and that attenuation must be accounted for as with the attenuation that results from the ZOH (which is less than 3.9224 dB attenuation). The ZOH also delays the signal by one-half sample period, which may have to be taken in consideration (along with the delay of the anti-imaging LPF), particularly if the ZOH is in a feedback loop.


I'll admit your answer is cleaner and a bit more thorough than mine. I was still left wondering, what was the big reveal? Maybe that you wanted to emphasize the zero-order hold as a model of the DAC-output?
Timo

your answer has some mistakes. for instance, it doesn't show the 1/2 sample delay in the frequency response. sorry that the way things happened that our bounty (what was mine and should now be yours) went down the toilet.
robert bristow-johnson

Well, I do mention it (in the longer one), although I do then brush it under the carpet, which I think I did because of mostly thinking about DSP in terms of audio, where a 1/2 sample delay is insignificant (unless theres another path which introduces an undelayed copy). Basically I just didn't want to carry the factor of eiπfT all the way to the end, so that's a part of what I'm saying you're more thorough.
Timo

@Timo, now you got twice the rep as me. when are you gonna post a bounty that i can take a stab at?? :-)
robert bristow-johnson

Fair enough, I should try to think of something :D
Timo
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.