Qual è esattamente il ruolo della tenuta di ordine zero in un sistema ibrido analogico / digitale di dati campionati?


14

Lo ammetto, sto facendo questa domanda retoricamente. Sono curioso di sapere quali risposte verranno fuori da questo.

Se scegli di rispondere a questa domanda, assicurati di comprendere bene il teorema del campionamento di Shannon-Nyquist. In particolare ricostruzione. Fai anche attenzione ai "gotchas" nei libri di testo. La nozione ingegneristica della funzione impulso dirac delta è sufficiente. Non devi preoccuparti di tutte le cose di "distribuzione", l'impulso di dirac come una nascente funzione delta è abbastanza buono:

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

dove

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

I problemi relativi alla precisione, alla larghezza dei bit delle parole di esempio e alla quantizzazione effettuata nella conversione non sono rilevanti per questa domanda. Ma il ridimensionamento da input a output è rilevante.

Scriverò la mia risposta alla fine, a meno che qualcun altro non presenti una risposta accurata e pedagogicamente utile. Potrei anche mettere una taglia su questo (posso anche spendere quel poco rappresentante che ho).

Avere a questo.


sei interessato a conoscere aliasing principalmente?
deadude

no. presumo che tutte le regole del teorema del campionamento siano rispettate. vale a dire, nessun contenuto o energia nell'input a tempo continuo viene campionato uguale o superiore a . ora, ricorda che c'è una differenza tra "alias" e "immagini". fs2
robert bristow-johnson il

per quanto mi ricordo, il mantenimento dell'ordine zero è semplicemente il ritardo tra i campioni nel sistema digitale e ovviamente può influenzare il lato analogico delle cose tra un campione e il successivo
KyranF,

@KyranF, è un po 'più di questo.
robert bristow-johnson il

@ robertbristow-johnson dalle risposte fornite da Timo sembra davvero più coinvolto di quanto pensassi. Buona fortuna!
KyranF,

Risposte:


6

Impostare

Consideriamo un sistema con un segnale di ingresso x(t) , e per chiarezza ci riferiamo ai valori di x(t) come tensioni, ove necessario. Il nostro periodo di campionamento è T , e la frequenza di campionamento corrispondente è fs1/T .

Per la trasformata di Fourier, scegliamo le convenzioni

X(i2πf)=F(x(t))x(t)ei2πftdt,
dando la trasformata inversa di Fourier
x(t)=F1(X(i2πf))X(i2πf)ei2πftdf.
Si noti che con queste convenzioni,Xè una funzione della variabile di Laplaces=iω=i2πf.

Campionamento e ricostruzione ideali

Partiamo dal campionamento ideale: secondo il teorema di campionamento di Nyquist-Shannon , dato un segnale x(t) che è bandlimited to f<12fs,ovvero

X(i2πf)=0,when|f|12fs,
allora il segnale originale può essere ricostruito perfettamente daicampioni x[n]x(nT), dovenZ. In altre parole, data la condizione sulla larghezza di banda del segnale (chiamatocriterio di Nyquist), è sufficiente conoscere i suoi valori istantanei in equidistanti punti nel tempo.

Il teorema del campionamento fornisce anche un metodo esplicito per eseguire la ricostruzione. Giustificiamo questo in un modo che sarà utile in quanto segue: stimiamo la trasformata di Fourier X(i2πf) di un segnale x(t) della sua somma di Riemann con il passo T :

X(i2πf)n=x(nΔt)ei2πfnΔtΔt,
doveΔt=T. Riscriviamo questo come parte integrante, per quantificare l'errore che stiamo commettendo: dove abbiamo usato ilteorema di convoluzionesul prodotto dix(t)e lafunzione di campionamenton = - Tδ(t-nT), il il fatto che la trasformata di Fourier della funzione di campionamento sian = - δ(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), and carried out the integral over the delta functions.

Note that the left hand side is exactly TX1/T(i2πfT), where X1/T(i2πfT) is the discrete time Fourier transform of the corresponding sampled signal x[n]x(nT), with fT the dimensionless discrete time frequency.

Here we see the essential reason behind the Nyquist criterion: it is exactly what is required to guarantee that the terms of the sum don't overlap. With the Nyquist criterion, the above sum reduces to the periodic extension of the spectrum from the interval [fs/2,fs/2] to the whole real line.

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). Evaluating the convolution

(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.

Comparing back to (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
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.