Salta al contenuto
Note per Studenti Sampling and the Sampling Theorem Report

Sampling and the Sampling Theorem

In questa pagina 6

Sampling is the process of converting continuous-time signals into discrete-time signals, possibly allowing for the reconstruction of the original continuous-time signal. The sampling period is TsT_s and the samples are x(kTs)x(kT_s).

Intuition says that reconstruction from discrete samples is always ambiguous: infinitely many different curves pass through the same samples (the notes sketch the original signal and a different wiggly curve through the same points). The theory below shows why, under suitable assumptions, this is not true.

Flat-top sampling

The sampled signal is the product (a "mixer" ⊗\otimes simply represents a product)

xp(t)=x(t) p(t),p(t)=∑n=−∞+∞rect ⁣(t−nTs2T1),x_p(t)=x(t)\,p(t),\qquad p(t)=\sum_{n=-\infty}^{+\infty}\mathrm{rect}\!\left(\frac{t-nT_s}{2T_1}\right),

with period Ts>0T_s>0 and rectangle width 2T12T_1. If p(t)p(t) is a train of squares like that, then xp(t)x_p(t) is "flat-top sampled": during each rectangle the output follows x(t)x(t) (sketch: bits of x(t)x(t) cut by the pulses, zero in between).

Product in time is convolution in frequency:

xp(t)=x(t) p(t) → F  Xp(jω)=12π X∗P(jω).x_p(t)=x(t)\,p(t)\ \xrightarrow{\ \mathcal{F}\ }\ X_p(j\omega)=\frac1{2\pi}\,X*P(j\omega).

Restriction: we enforce the condition that X(jω)X(j\omega) has limited support (we will see why); sketch of ∣X(jω)∣|X(j\omega)|: a triangle-like bump supported in [−ωM,ωM][-\omega_M,\omega_M].

Spectrum of the pulse train

To get P(jω)P(j\omega): compute the Fourier series of p(t)p(t), then derive the (generalized) Fourier transform.

The Fourier coefficients of p(t)=repTs ⁣[rect ⁣(t2T1)]p(t)=\mathrm{rep}_{T_s}\!\left[\mathrm{rect}\!\left(\frac t{2T_1}\right)\right] (the notes take Ts=1T_s=1) are

an={2T1,n=0sin⁡(nωsT1)πn,n≠0a_n=\begin{cases}2T_1,&n=0\\[2pt]\dfrac{\sin(n\omega_sT_1)}{\pi n},&n\ne0\end{cases}

and lie on the envelope of a sinc-like curve (the notes sketch the coefficients ana_n at the points nωsn\omega_s, with ωs=2π\omega_s=2\pi). Then

p(t)=∑n=−∞+∞an ejωsnt → F  P(jω)=2π∑n=−∞+∞P(ωs,n) δ(ω−nωs),p(t)=\sum_{n=-\infty}^{+\infty}a_n\,e^{j\omega_snt}\ \xrightarrow{\ \mathcal{F}\ }\ P(j\omega)=2\pi\sum_{n=-\infty}^{+\infty}P(\omega_s,n)\,\delta(\omega-n\omega_s),

valid for any Ts>0T_s>0, where P(ωs,n)P(\omega_s,n) are the Fourier coefficients of p(t)p(t) for any ωs=2πTs\omega_s=\frac{2\pi}{T_s}.

Hence

Xp(jω)=12πX∗P(jω)=X(jω)∗∑n=−∞+∞(δc sinc(δcn))δ(ω−nωs),δc=2T1Ts,X_p(j\omega)=\frac1{2\pi}X*P(j\omega)=X(j\omega)*\sum_{n=-\infty}^{+\infty}\left(\delta_c\,\mathrm{sinc}(\delta_cn)\right)\delta(\omega-n\omega_s),\qquad\delta_c=\frac{2T_1}{T_s},

Xp(jω)=δc∑n=−∞+∞sinc(δcn) X ⁣(j(ω−nωs)).\boxed{X_p(j\omega)=\delta_c\sum_{n=-\infty}^{+\infty}\mathrm{sinc}(\delta_cn)\,X\!\left(j(\omega-n\omega_s)\right).}

Observation. The result is a sum of replicas of the original Fourier transform X(jω)X(j\omega), shifted by nωsn\omega_s and scaled by the coefficients ana_n (the envelope of the ana_n shapes their heights). For n=0n=0 the replica yields P(ωs,0) X(jω)P(\omega_s,0)\,X(j\omega).

Consider now an (ideal) low-pass filter with gain 1P(ωs,0)\frac1{P(\omega_s,0)}: we get back X(jω)X(j\omega), if X(jω)X(j\omega) has finite support. We need the replicas not to overlap. With XX supported in [−ωM,ωM][-\omega_M,\omega_M], the first replica on the right occupies [ωs−ωM,ωs+ωM][\omega_s-\omega_M,\omega_s+\omega_M], and no overlap requires

ωM<ωs−ωM  ⟺  ωs>2ωM.\omega_M<\omega_s-\omega_M\iff\boxed{\omega_s>2\omega_M}.

If instead ωs≤2ωM\omega_s\le2\omega_M, overlaps occur and the ideal low-pass filter cannot be designed to isolate the original replica (see Aliasing and Anti-Aliasing FiltersAliasing is the overlap of spectral replicas that occurs when the band-limited or Nyquist assumptions of the sampling theorem fail; an anti-aliasing low-pass filter with cut-off omega_s/2 applied before sampling removes it at the price of losing the high frequencies; two worked exercises.Aliasing and Anti-Aliasing Filters →).

Impulsive sampling

Flat-top sampling with T1→0T_1\to0. Motivation: in practical applications we want to store samples. T1T_1 does not entail the kind of overlap above: it only affects the magnitude of the Fourier coefficients P(ωs,n)P(\omega_s,n).

As T1→0T_1\to0 the train of rectangles converges in distribution to the pulse train

p(t)=∑n=−∞+∞δ(t−nTs).p(t)=\sum_{n=-\infty}^{+\infty}\delta(t-nT_s).

Recall that its Fourier coefficients are P(ωs,n)=1Ts=ωs2πP(\omega_s,n)=\frac1{T_s}=\frac{\omega_s}{2\pi} for all n∈Zn\in\mathbb{Z}, so the Fourier series is p(t)=1Ts∑nejωsntp(t)=\frac1{T_s}\sum_{n}e^{j\omega_snt} and

P(jω)=1Ts∑n=−∞+∞F ⁣[ejωsnt]=1Ts∑n=−∞+∞2π δ(ω−nωs).P(j\omega)=\frac1{T_s}\sum_{n=-\infty}^{+\infty}\mathcal{F}\!\left[e^{j\omega_snt}\right]=\frac1{T_s}\sum_{n=-\infty}^{+\infty}2\pi\,\delta(\omega-n\omega_s).

Thus the Fourier transform of the impulsive-sampled signal is (obtained again as 12πX∗P\frac1{2\pi}X*P)

Xp(jω)=1Ts∑n=−∞+∞X ⁣(j(ω−nωs)).\boxed{X_p(j\omega)=\frac1{T_s}\sum_{n=-\infty}^{+\infty}X\!\left(j(\omega-n\omega_s)\right).}

The situation is now even simpler: a triangle of height AA at the origin becomes a train of identical triangles of height ATs\frac A{T_s} centred at nωsn\omega_s. Through an ideal low-pass filter with gain TsT_s we recover the original signal x(t)x(t), provided that ωc\omega_c is chosen properly.

Perfect reconstruction chain

x(t)→⊗ (p(t)=∑nδ(t−nTs))→xp(t)→ILPF, gain Ts→xr(t),xr(t)=x(t)  ∀t∈R.x(t)\to\otimes\ (p(t)=\sum_n\delta(t-nT_s))\to x_p(t)\to\boxed{\text{ILPF, gain }T_s}\to x_r(t),\qquad x_r(t)=x(t)\ \ \forall t\in\mathbb{R}.

Assumptions: impulsive sampling (ωs=2πTs\omega_s=\frac{2\pi}{T_s}); there exists ωM<+∞\omega_M<+\infty with ωs>2ωM\omega_s>2\omega_M; use of an ideal LP filter with gain TsT_s. Theoretically perfect reconstruction is possible; in practice it is still impossible because we cannot implement an ideal low-pass filter.

Which cut-off ωc\omega_c? It must satisfy

  • ωc>ωM\omega_c>\omega_M, so as not to lose information about x(t)x(t);
  • ωc<ωs−ωM\omega_c<\omega_s-\omega_M, to avoid the replicas of X(jω)X(j\omega);

that is, ωM<ωc<ωs−ωM\omega_M<\omega_c<\omega_s-\omega_M.

The Sampling Theorem

Theorem (Sampling theorem, Claude Shannon, 1949). Let x(t)∈Rx(t)\in\mathbb{R} and let x(t)x(t) be band-limited (BL). Then x(t)x(t) is uniquely determined by its discrete-time samples

xd(k):=x(kTs),k=0,±1,±2,…,±∞,x_d(k):=x(kT_s),\qquad k=0,\pm1,\pm2,\dots,\pm\infty,

where TsT_s is the sampling period, provided that

ωs>2ωM,ωs:=2πTs the sampling angular frequency.\boxed{\omega_s>2\omega_M},\qquad\omega_s:=\frac{2\pi}{T_s}\ \text{the sampling angular frequency.}

Furthermore, x(t)x(t) can be recovered exactly from the samples xd(k)x_d(k) using an ideal low-pass filter with gain TsT_s and cut-off angular frequency ωc\omega_c such that ωM<ωc<ωs−ωM\omega_M<\omega_c<\omega_s-\omega_M; e.g. taking ωc=ωM+(ωs−ωM)2=ωs2=2π2Ts=πTs\omega_c=\frac{\omega_M+(\omega_s-\omega_M)}2=\frac{\omega_s}2=\frac{2\pi}{2T_s}=\frac{\pi}{T_s}.

Comments on the assumptions: "x(t)x(t) real" is a mild assumption: it imposes symmetry in the information content, so that X(jω)X(j\omega) is Hermitian and negative frequencies do not provide additional information with respect to ω≥0\omega\ge0. "Band-limited" is a strong assumption; it means (approximately) that there exists ωM\omega_M with X(jω)=0X(j\omega)=0 for all ∣ω∣>ωM|\omega|>\omega_M.

Band, bandwidth, Nyquist frequency

Band of a signal. For x ⁣:R→Rx\colon\mathbb{R}\to\mathbb{R}, the band is the support on R+\mathbb{R}_+ of the Fourier transform of x(t)x(t): Bx:={ω∈R+ | ω≤ωM:=sup⁡Ω: ∣X(jΩ)∣>0Ω}.\mathbb{B}_x:=\left\{\omega\in\mathbb{R}_+\ \middle|\ \omega\le\omega_M:=\sup_{\Omega:\,|X(j\Omega)|>0}\Omega\right\}.

Bandwidth. The length of the band, Bx:=∣Bx∣B_x:=|\mathbb{B}_x|; for the band defined above Bx=ωMB_x=\omega_M. With fM=ωM2πf_M=\frac{\omega_M}{2\pi}.

Band-limited. xx is band-limited if Bx\mathbb{B}_x is bounded, namely if ωM=sup⁡Ω\omega_M=\sup\Omega is finite.

Nyquist frequency. fNya:=2fM=2ωM2π=ωMπf_{Nya}:=2f_M=2\frac{\omega_M}{2\pi}=\frac{\omega_M}{\pi}. The condition ωs>2ωM\omega_s>2\omega_M is the one on the (angular) Nyquist frequency: the sampling angular frequency must exceed twice the maximum angular frequency.

Reconstruction filter and Shannon interpolation formula

The ideal low-pass reconstruction filter has frequency response H(jω)=Ts rect ⁣(ω2ωc)H(j\omega)=T_s\,\mathrm{rect}\!\left(\frac\omega{2\omega_c}\right). Its impulse response: recall that sinc(t)→Frect ⁣(ω2π)\mathrm{sinc}(t)\xrightarrow{\mathcal{F}}\mathrm{rect}\!\left(\frac\omega{2\pi}\right) and x(at)→F1∣a∣X ⁣(jωa)x(at)\xrightarrow{\mathcal{F}}\frac1{|a|}X\!\left(j\frac\omega a\right) for a≠0a\ne0, so that ∣a∣ x(at)→FX(jωa)|a|\,x(at)\xrightarrow{\mathcal{F}}X(j\frac\omega a). With a=ωcπa=\frac{\omega_c}{\pi},

rect ⁣(ω2πωcπ)=rect ⁣(ω2ωc)→ F−1 ωcπ sinc ⁣(ωctπ).\mathrm{rect}\!\left(\frac\omega{2\pi\frac{\omega_c}{\pi}}\right)=\mathrm{rect}\!\left(\frac\omega{2\omega_c}\right)\xrightarrow{\ \mathcal{F}^{-1}\ }\frac{\omega_c}{\pi}\,\mathrm{sinc}\!\left(\frac{\omega_ct}{\pi}\right).

Adjusting the gain from ωcπ\frac{\omega_c}\pi to TsωcπT_s\frac{\omega_c}\pi:

h(t)=Ts ωcπ sinc ⁣(ωctπ)=Ts sin⁡(ωct)πt.h(t)=T_s\,\frac{\omega_c}{\pi}\,\mathrm{sinc}\!\left(\frac{\omega_ct}{\pi}\right)=T_s\,\frac{\sin(\omega_ct)}{\pi t}.

Feed the impulsive-sampled signal xp(t)=∑nx(nTs)δ(t−nTs)x_p(t)=\sum_nx(nT_s)\delta(t-nT_s) to hh. Is xr(t)=x(t)x_r(t)=x(t)?

xr(t)=h∗xp(t)=Ts∑n=−∞+∞x(nTs) sin⁡(ωc(t−nTs))π(t−nTs)=ωcTsπ∑n=−∞+∞x(nTs) sin⁡(ωc(t−nTs))ωc(t−nTs)x_r(t)=h*x_p(t)=T_s\sum_{n=-\infty}^{+\infty}x(nT_s)\,\frac{\sin(\omega_c(t-nT_s))}{\pi(t-nT_s)}=\frac{\omega_cT_s}{\pi}\sum_{n=-\infty}^{+\infty}x(nT_s)\,\frac{\sin(\omega_c(t-nT_s))}{\omega_c(t-nT_s)}

(using sin⁡(ωc(t−nTs))π(t−nTs)⋅ωcωc\frac{\sin(\omega_c(t-nT_s))}{\pi(t-nT_s)}\cdot\frac{\omega_c}{\omega_c}). Choose ωc∈[ωM,ωs−ωM]\omega_c\in[\omega_M,\omega_s-\omega_M], in particular ωc:=ωs2\omega_c:=\frac{\omega_s}2. Recalling Ts=2πωsT_s=\frac{2\pi}{\omega_s}, hence ωs2=πTs\frac{\omega_s}2=\frac\pi{T_s} and ωcTsπ=1\frac{\omega_cT_s}\pi=1:

xr(t)=∑n=−∞+∞x(nTs) sinc ⁣(t−nTsTs)(Shannon interpolation formula).\boxed{x_r(t)=\sum_{n=-\infty}^{+\infty}x(nT_s)\,\mathrm{sinc}\!\left(\frac{t-nT_s}{T_s}\right)}\qquad\text{(Shannon interpolation formula).}

The sinc functions in the formula behave like infinite-dimensional basis functions.

Remark. Although several unrealistic assumptions were made, the Shannon interpolation formula works correctly if ωs>2ωM\omega_s>2\omega_M, i.e. 2πTs>2Bx\frac{2\pi}{T_s}>2B_x, i.e. Ts<πBxT_s<\frac\pi{B_x}. Namely, if 0<Ts<πBx0<T_s<\frac{\pi}{B_x} with Bx<+∞B_x<+\infty, then xr(t)=x(t)x_r(t)=x(t) for all t∈Rt\in\mathbb{R}. (The notes add that the exact computation of the infinite sum is another matter.)

Analytic interpretation

Each term of the sum is a sinc centred at nTsnT_s and scaled by the sample x(nTs)x(nT_s). The peak of the second replica (shifted by TsT_s) coincides with the zero of the first one, and so on: at each sampling instant kTskT_s only one sinc is non-zero, so xr(kTs)=x(kTs)x_r(kT_s)=x(kT_s), and between the samples the sum of all the scaled and shifted sincs interpolates the signal (sketch: first replica scaled by x(0)x(0), second by x(Ts)x(T_s), third by x(2Ts)x(2T_s); the sum is the curve xr(t)=x(t)x_r(t)=x(t)).

Proof of the sampling theorem in the frequency domain

Plan: (1) obtain the Fourier series of Xp(jω)X_p(j\omega); (2) find x(t)x(t) using the inverse Fourier transform x(t)=12π∫−∞+∞X(jω)ejωtdωx(t)=\frac1{2\pi}\int_{-\infty}^{+\infty}X(j\omega)e^{j\omega t}d\omega.

Notice that Xp(jω)=1TsX(jω)X_p(j\omega)=\frac1{T_s}X(j\omega) for all ω∈[−ωM,ωM]\omega\in[-\omega_M,\omega_M].

Step 1. Xp(jω)X_p(j\omega) is ωs\omega_s-periodic with ωs=2πTs\omega_s=\frac{2\pi}{T_s} (ω∈R\omega\in\mathbb{R}). Its Fourier coefficient μn\mu_n is

μn=1ωs∫−ωs/2ωs/2Xp(jω) e−jnTsωdω=1ωs∫−ωs/2ωs/21TsX(jω) e−jnTsωdω=12π∫−ωs/2ωs/2X(jω) e−jnTsωdω.\mu_n=\frac1{\omega_s}\int_{-\omega_s/2}^{\omega_s/2}X_p(j\omega)\,e^{-jnT_s\omega}d\omega =\frac1{\omega_s}\int_{-\omega_s/2}^{\omega_s/2}\frac1{T_s}X(j\omega)\,e^{-jnT_s\omega}d\omega =\frac1{2\pi}\int_{-\omega_s/2}^{\omega_s/2}X(j\omega)\,e^{-jnT_s\omega}d\omega .

Since XX vanishes outside [−ωM,ωM]⊂[−ωs2,ωs2][-\omega_M,\omega_M]\subset[-\frac{\omega_s}2,\frac{\omega_s}2] the limits can be extended to ±∞\pm\infty:

μn=12π∫−∞+∞X(jω) e−jnTsωdω=x(−nTs),\mu_n=\frac1{2\pi}\int_{-\infty}^{+\infty}X(j\omega)\,e^{-jnT_s\omega}d\omega=x(-nT_s),

because it is the inverse Fourier transform evaluated at t=−nTst=-nT_s. Hence μn=x(−nTs)\mu_n=x(-nT_s) are the Fourier coefficients of Xp(jω)X_p(j\omega) and

Xp(jω)=∑n=−∞+∞μnejnTsω=∑nx(−nTs) ejnTsω=∑n=−∞+∞x(nTs) e−jnTsω(n′=−n).X_p(j\omega)=\sum_{n=-\infty}^{+\infty}\mu_ne^{jnT_s\omega}=\sum_{n}x(-nT_s)\,e^{jnT_s\omega}=\sum_{n=-\infty}^{+\infty}x(nT_s)\,e^{-jnT_s\omega}\quad(n'=-n).

Step 2. By definition of the inverse Fourier transform, using X(jω)=TsXp(jω)X(j\omega)=T_sX_p(j\omega) on [−ωs2,ωs2][-\frac{\omega_s}2,\frac{\omega_s}2] and zero outside:

x(t)=12π∫−∞+∞X(jω)ejωtdω=12π∫−ωs/2ωs/2Ts(∑nx(nTs)e−jnTsω)ejωtdω=1ωs∑n=−∞+∞x(nTs)∫−ωs/2ωs/2ejω(t−nTs)dω.x(t)=\frac1{2\pi}\int_{-\infty}^{+\infty}X(j\omega)e^{j\omega t}d\omega=\frac1{2\pi}\int_{-\omega_s/2}^{\omega_s/2}T_s\left(\sum_nx(nT_s)e^{-jnT_s\omega}\right)e^{j\omega t}d\omega=\frac1{\omega_s}\sum_{n=-\infty}^{+\infty}x(nT_s)\int_{-\omega_s/2}^{\omega_s/2}e^{j\omega(t-nT_s)}d\omega .

The integral is ∫−ωs/2ωs/2ejω(t−nTs)dω=ejω(t−nTs)j(t−nTs)∣−ωs/2ωs/2=ejωs2(t−nTs)−e−jωs2(t−nTs)j(t−nTs)=2 sin⁡ ⁣(ωs2(t−nTs))t−nTs.\int_{-\omega_s/2}^{\omega_s/2}e^{j\omega(t-nT_s)}d\omega=\frac{e^{j\omega(t-nT_s)}}{j(t-nT_s)}\Big|_{-\omega_s/2}^{\omega_s/2}=\frac{e^{j\frac{\omega_s}2(t-nT_s)}-e^{-j\frac{\omega_s}2(t-nT_s)}}{j(t-nT_s)}=2\,\frac{\sin\!\left(\frac{\omega_s}2(t-nT_s)\right)}{t-nT_s}.

Therefore, with ωs=2πTs\omega_s=\frac{2\pi}{T_s},

x(t)=2ωs∑n=−∞+∞x(nTs) sin⁡ ⁣(ωs2(t−nTs))t−nTs=∑n=−∞+∞x(nTs) sinc ⁣(t−nTsTs) ⇒ x(t)=xr(t)  ∀t∈R. ■x(t)=\frac2{\omega_s}\sum_{n=-\infty}^{+\infty}x(nT_s)\,\frac{\sin\!\left(\frac{\omega_s}2(t-nT_s)\right)}{t-nT_s}=\sum_{n=-\infty}^{+\infty}x(nT_s)\,\mathrm{sinc}\!\left(\frac{t-nT_s}{T_s}\right)\ \Rightarrow\ x(t)=x_r(t)\ \ \forall t\in\mathbb{R}.\ \blacksquare

Geometric interpretation: the sincs are orthogonal

Claim: the set {sinc ⁣(t−nTsTs)}n∈Z\left\{\mathrm{sinc}\!\left(\frac{t-nT_s}{T_s}\right)\right\}_{n\in\mathbb{Z}} consists of orthogonal functions, so the Shannon formula is an expansion over an orthogonal basis.

Take n,m∈Zn,m\in\mathbb{Z} and use the (generalized) Parseval identity ∫−∞+∞x1(t)x2(t)‾dt=12π∫−∞+∞X1(jω)X2(jω)‾dω\int_{-\infty}^{+\infty}x_1(t)\overline{x_2(t)}dt=\frac1{2\pi}\int_{-\infty}^{+\infty}X_1(j\omega)\overline{X_2(j\omega)}d\omega. Since F[sinc(t)]=rect ⁣(ω2π)\mathcal{F}[\mathrm{sinc}(t)]=\mathrm{rect}\!\left(\frac\omega{2\pi}\right):

  1. rescaling by T−1T^{-1}: F ⁣[sinc ⁣(tT)]=T rect ⁣(ωT2π)\mathcal{F}\!\left[\mathrm{sinc}\!\left(\frac tT\right)\right]=T\,\mathrm{rect}\!\left(\frac{\omega T}{2\pi}\right);
  2. shift by −nT-nT: F ⁣[sinc ⁣(t−nTT)]=T e−jnTω rect ⁣(ωT2π)\mathcal{F}\!\left[\mathrm{sinc}\!\left(\frac{t-nT}T\right)\right]=T\,e^{-jnT\omega}\,\mathrm{rect}\!\left(\frac{\omega T}{2\pi}\right).

Then

⟨sinc ⁣(t−nTsTs),sinc ⁣(t−mTsTs)⟩=12π∫−∞+∞Tse−jnTsωrect ⁣(ωTs2π) TsejmTsωrect ⁣(ωTs2π)dω=Ts22π∫−ωs/2ωs/2e−j(n−m)Tsωdω,\left\langle\mathrm{sinc}\!\left(\tfrac{t-nT_s}{T_s}\right),\mathrm{sinc}\!\left(\tfrac{t-mT_s}{T_s}\right)\right\rangle=\frac1{2\pi}\int_{-\infty}^{+\infty}T_se^{-jnT_s\omega}\mathrm{rect}\!\left(\tfrac{\omega T_s}{2\pi}\right)\,T_se^{jmT_s\omega}\mathrm{rect}\!\left(\tfrac{\omega T_s}{2\pi}\right)d\omega=\frac{T_s^2}{2\pi}\int_{-\omega_s/2}^{\omega_s/2}e^{-j(n-m)T_s\omega}d\omega,

since rect ⁣(ωTs2π)\mathrm{rect}\!\left(\frac{\omega T_s}{2\pi}\right) is 11 for ∣ω∣<ωs2|\omega|<\frac{\omega_s}{2} (recall 1ωs=Ts2π\frac1{\omega_s}=\frac{T_s}{2\pi}).

  • Case n=mn=m: Ts22π∫−ωs/2ωs/2dω=Ts22πωs=Ts22π2πTs=Ts≠0\frac{T_s^2}{2\pi}\int_{-\omega_s/2}^{\omega_s/2}d\omega=\frac{T_s^2}{2\pi}\omega_s=\frac{T_s^2}{2\pi}\frac{2\pi}{T_s}=T_s\ne0.
  • Case n≠mn\ne m: put ℓ:=n−m≠0\ell:=n-m\ne0 and use ωs2=πTs\frac{\omega_s}2=\frac\pi{T_s}: Ts22π e−jℓTsω−jℓTs∣−π/Tsπ/Ts=Ts22π e−jℓπ−ejℓπ−jℓTs=0∀ℓ∈Z.\frac{T_s^2}{2\pi}\,\frac{e^{-j\ell T_s\omega}}{-j\ell T_s}\Big|_{-\pi/T_s}^{\pi/T_s}=\frac{T_s^2}{2\pi}\,\frac{e^{-j\ell\pi}-e^{j\ell\pi}}{-j\ell T_s}=0\qquad\forall\ell\in\mathbb{Z}.

So the set contains orthogonal functions (each of squared norm TsT_s): an infinite-dimensional orthogonal basis.

Versione ripasso

  • Sampled signal xp(t)=x(t)p(t)x_p(t)=x(t)p(t); Xp=12πX∗PX_p=\frac1{2\pi}X*P.
  • Flat-top: p=∑rect(t−nTs2T1)p=\sum\mathrm{rect}(\frac{t-nT_s}{2T_1}), an=sin⁡(nωsT1)πna_n=\frac{\sin(n\omega_sT_1)}{\pi n} (n≠0n\ne0); Xp(jω)=δc∑nsinc(δcn)X(j(ω−nωs))X_p(j\omega)=\delta_c\sum_n\mathrm{sinc}(\delta_cn)X(j(\omega-n\omega_s)), δc=2T1Ts\delta_c=\frac{2T_1}{T_s}. Replicas of XX every ωs=2πTs\omega_s=\frac{2\pi}{T_s}.
  • Impulsive (T1→0T_1\to0): p=∑δ(t−nTs)p=\sum\delta(t-nT_s), P(ωs,n)=1TsP(\omega_s,n)=\frac1{T_s}, Xp(jω)=1Ts∑nX(j(ω−nωs))X_p(j\omega)=\frac1{T_s}\sum_nX(j(\omega-n\omega_s)).
  • No overlap of replicas iff ωs>2ωM\omega_s>2\omega_M. Then an ideal LP with gain TsT_s and ωM<ωc<ωs−ωM\omega_M<\omega_c<\omega_s-\omega_M (e.g. ωc=ωs2=πTs\omega_c=\frac{\omega_s}2=\frac\pi{T_s}) gives xr=xx_r=x.
  • Shannon theorem (1949): xx real and band-limited (X=0X=0 for ∣ω∣>ωM|\omega|>\omega_M) is uniquely determined by x(kTs)x(kT_s) if ωs>2ωM\omega_s>2\omega_M, i.e. 0<Ts<πBx0<T_s<\frac\pi{B_x}. Band Bx\mathbb{B}_x, bandwidth Bx=ωMB_x=\omega_M, fM=ωM2πf_M=\frac{\omega_M}{2\pi}, Nyquist fNya=2fM=ωMπf_{Nya}=2f_M=\frac{\omega_M}\pi.
  • Reconstruction filter: H=Tsrect(ω2ωc)H=T_s\mathrm{rect}(\frac\omega{2\omega_c}), h(t)=Tssin⁡ωctπth(t)=T_s\frac{\sin\omega_ct}{\pi t}.
  • Shannon interpolation: xr(t)=∑nx(nTs) sinc ⁣(t−nTsTs)x_r(t)=\sum_nx(nT_s)\,\mathrm{sinc}\!\big(\frac{t-nT_s}{T_s}\big), sinc(t)=sin⁡πtπt\mathrm{sinc}(t)=\frac{\sin\pi t}{\pi t}. Each sinc peaks at its own sample and is zero at all the other sampling instants.
  • Proof: XpX_p is ωs\omega_s-periodic; its Fourier coefficients are μn=x(−nTs)\mu_n=x(-nT_s); then invert with the IFT on [−ωs2,ωs2][-\frac{\omega_s}2,\frac{\omega_s}2], integral =2sin⁡(ωs2(t−nTs))t−nTs=2\frac{\sin(\frac{\omega_s}2(t-nT_s))}{t-nT_s}.
  • Orthogonality: ⟨sinc(t−nTsTs),sinc(t−mTsTs)⟩=Ts\langle\mathrm{sinc}(\frac{t-nT_s}{T_s}),\mathrm{sinc}(\frac{t-mT_s}{T_s})\rangle=T_s if n=mn=m, 00 otherwise (via Parseval and F[sinc(t−nTT)]=Te−jnTωrect(ωT2π)\mathcal{F}[\mathrm{sinc}(\frac{t-nT}{T})]=Te^{-jnT\omega}\mathrm{rect}(\frac{\omega T}{2\pi})).
  • Typical mistakes: strict inequality ωs>2ωM\omega_s>2\omega_M (equality is not enough in general); forgetting the gain TsT_s of the reconstruction filter; confusing ωs\omega_s (rad/s) with the sampling frequency in Hz; assuming real signals are band-limited.

Teoria collegata