Docsity

Power Spectral Density and Linear Time-Invariant Systems, Study notes of Electrical and Electronics Engineering

Toggle sidebar
bg1
EECS 501 POWER SPECTRAL DENSITY Fall 2000
Given: x(t) is a real-valued 0-mean WSS random process (RP).
With: Autocorrelation Rx(τ) = E[x(t)x(t±τ)] for any time t,
Note: x(t) 0-mean→Rx(τ) = Kx(τ)=covariance func. & lag τ.
WSS: E[x(t)x(s)] = Rx(t−s); not function of tand sseparately.
DEF: Power spectral density (PSD) Sx(ω) is defined as:
Sx(ω) = F{Rx(τ)}=R∞
−∞ Rx(τ)e−jωτ dτ = 2 R∞
0Rx(τ) cos(ωτ )dτ .
Rx(τ) = F−1{Sx(ω)}=R∞
−∞ Sx(ω)ejωτ dω
2π=R∞
0Sx(ω) cos(ωτ )dω
π.
Assume: x(t) is 2nd-order process:E[x(t)2]<∞(except: white).
Properties of Power Spectral Density
1. x(t) real→Rx(τ) = Rx(−τ)→Sx(ω) = Sx(−ω) is real:
F{real,even function}=real,even function→cosine xform.
2. Rx(τ) is positive semidefinite ⇔Sx(ω)≥0:
σ2
y(t)=Rf(t)x(t)dt =R∞
−∞ R∞
−∞ f(t)Rx(t−s)f∗(s)dt ds ≥0.
Proof: ⇒: Suppose ∃ωoso that Sx(ωo)<0. Let f(t) = ejωot.
Then: σ2
y=R R ejωotRx(t−s)e−jωosdt ds =Sx(ωo)· ∞ <0.
Proof: ⇐: For any real f(t), write f(t) = RF(ω)ejωtdω.
Then: σ2
y=R|F(ω)|2Sx(ω)dω ≥0 using Parseval twice.
Note: Much simpler in the frequency domain! (just nonnegative)
3. See table of properties on p.471 of Stark and Woods.
4. Average power =E[x(t)2] = σ2
x(t)=1
2πR∞
−∞ Sx(ω)dω.
Note: “Power” is the tendency of random |x(t)|to be large:
Larger variance→broader pdf→RV tends to be larger.
EX: Let v(t)=random voltage across a resistor R= 1Ω.
Average power=E[v(t)2]; large despite E[v(t)] = 0.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Power Spectral Density and Linear Time-Invariant Systems and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

EECS 501 POWER SPECTRAL DENSITY Fall 2000 Given: x(t) is a real-valued 0-mean WSS random process (RP). With: Autocorrelation Rx(τ ) = E[x(t)x(t ± τ )] for any time t, Note: x(t) 0-mean→ Rx(τ ) = Kx(τ )=covariance func. & lag τ. WSS: E[x(t)x(s)] = Rx(t − s); not function of t and s separately.

DEF: Power spectral density (PSD) Sx(ω) is defined as: Sx(ω) = F{Rx(τ )} =

−∞ Rx(τ^ )e

−jωτ (^) dτ = 2 ∫^ ∞ 0 Rx(τ^ ) cos(ωτ^ )dτ^. Rx(τ ) = F−^1 {Sx(ω)} =

−∞ Sx(ω)e

jωτ dω 2 π =^

0 Sx(ω) cos(ωτ^ )^

dω π. Assume: x(t) is 2nd-order process: E[x(t)^2 ] < ∞ (except: white).

Properties of Power Spectral Density

  1. x(t) real→ Rx(τ ) = Rx(−τ ) → Sx(ω) = Sx(−ω) is real: F{real, even function}=real,even function→cosine xform.
  2. Rx(τ ) is positive semidefinite ⇔ Sx(ω) ≥ 0: σ y^2 (t)=^ ∫^ f (t)x(t)dt =

−∞

−∞ f^ (t)Rx(t^ −^ s)f^

∗(s)dt ds ≥ 0.

Proof: ⇒: Suppose ∃ ωo so that Sx(ωo) < 0. Let f (t) = ejωot. Then: σ y^2 =

ejωotRx(t − s)e−jωosdt ds = Sx(ωo) · ∞ < 0. Proof: ⇐: For any real f (t), write f (t) =

F (ω)ejωtdω. Then: σ y^2 =

|F (ω)|^2 Sx(ω)dω ≥ 0 using Parseval twice. Note: Much simpler in the frequency domain! (just nonnegative)

  1. See table of properties on p.471 of Stark and Woods.
  2. Average power = E[x(t)^2 ] = σ^2 x(t) = (^21) π

−∞ Sx(ω)dω. Note: “Power” is the tendency of random |x(t)| to be large: Larger variance→broader pdf→RV tends to be larger. EX: Let v(t)=random voltage across a resistor R = 1Ω. Average power=E[v(t)^2 ]; large despite E[v(t)] = 0.

EECS 501 PSD OF LINEAR TIME-INVARIANT Fall 2000 (LTI) SYSTEM OUTPUT WITH WSS PROCESS INPUT

  1. LTI system; impulse response h(t):δ(t) → |h(t)| → h(t)
  2. LTI system has transfer function H(ω) = F{h(t)}: cos(ωt) → |h(t)| → |H(ω)| cos(ωt + ARG[H(ω)])
  3. WSS random processes: x(t) → |h(t)| → y(t)
  4. IMPORTANT FORMULA: Sy (ω) = |H(ω)|^2 Sx(ω). From: Take F of Ry (τ ) =

h(u)h(v)Rx(τ − u + v)du dv. Note: Compare to random vectors: y = Ax → Ky = AKxAT^.

EX: x(t) → | dydt + ay(t) = x(t)| → y(t), a > 0 so stable. x(t) is a 0-mean uncorrelated WSS RP. What is Sy (ω)?

  1. 0-mean WSS uncorrelated→ Rx(τ ) = δ(τ ) → Sx(ω) = 1. (Assume WLOG that the area under impulse is unity.) 2a. Impulse response: h(t) = e−at^ for t ≥ 0; 0 otherwise. 2b. Transfer function: H(ω) = F{h(t)} = 1/(jω + a).
  2. Sy (ω) = | 1 /(jω + a)|^2 · 1 = 1/(ω^2 + a^2 ).
  3. Ry (τ ) = (^21) π

−∞

1 ω^2 +a^2 e

jωτ (^) dω = 1 2 a e

−a|τ |.

  1. σ y^2 (t) = E[y(t)^2 ] = (^21) π

−∞

1 ω^2 +a^2 dω^ =^ Ry^ (0) =^

1 2 a

  1. x(t) Gaussian→ y(t) Gaussian→ fy(t)(Y ) ∼ N (0, (^21) a ).
  2. See p. 487 of Stark and Woods for more details. EX: x(t) Gaussian; a = 5. P r[1 < x(5) < 2 & 3 < x(6) < 4]=? Soln: P r =

1

3

1 2 π

√^1

det[K] e

− 12 [X 5 ,X 6 ]K−^1 [X 5 ,X 6 ]′ dX 6 dX 5

where: K = 101

[

1 e−^5 e−^5

]

→ det[K] = 0.01(1 − e−^10 ).

EECS 501 INTERPRETATION OF PSD Fall 2000

  1. x(t) → |H(ω)| → y(t), H(ω) =

1 , if 3 ≤ |ω| ≤ 3 .001; 0 , otherwise.

  1. Then Sy (ω) =

Sx(ω) ≈ Sx(3), if 3 ≤ |ω| ≤ 3 .001; 0 , otherwise.

  1. Then the average power E[y(t)^2 ] in output y(t) is:

E[y(t)^2 ] = (^21) π

−∞ Sy^ (ω)dω^ =^

2 2 π

3 Sx(ω)dω^ ≈^

  1. 001 π Sx(3).

  2. Interpretation: Sx(3) is the average power per unit bilateral bandwidth in x(t) at ω = 3: a. Bilateral: components at both ω = 3 and ω = −3; b. 2∆ 2 π Sx(ωo) is the average power in random process x(t) in the frequency band of width ∆: ωo ≤ ω ≤ ωo + ∆. c. Units: x(t) volts→ (^21) π Sx(ω) volts

2 rad/sec ;^ Sx(f^ )^

volts^2 Hertz.

  1. Sx(ω) must be multiplied by frequency to get power in a frequency band; it is a power spectral density: a. • Sx(ωo) 2∆ 2 π = P ower in [ωo ≤ ω ≤ ωo + ∆]. b. • Sx(fo)2∆ = P ower in [fo ≤ f ≤ fo + ∆]. c. Compare: fx(X)∆ = P r[X ≤ x ≤ X + ∆].
  2. This interpretation makes the following evident: a. Sx(ω) ≥ 0: otherwise power in some frequency band would be negative! Compare to: fx(X) ≥ 0. b. Total average power=E[x(t)^2 ] =

−∞ Sx(f^ )df^. Compare to: Total probability=

−∞ fx(X)dX^ = 1.

EECS 501 SPECTRAL INTERPRETATION Fall 2000

  1. Recall we can decorrelate a random N-vector x as follows: a. Covariance matrix Kx has N eigenvalues λi and eigenvectors φi, i = 1... N , where Kxφi = λiφi. b. Let A = [φ 1... φN ]T^ (don’t forget transpose!) and y = Ax. Then: yi = φTi x = φi · x =

∑N

j=1(φi)j^ xj^. c. Then Ky = AKxAT^ = DIAG[λ 1... λN ] and then E[yiyj ] = λiδ(i − j) → {yi} have been decorrelated. d. y = Ax → x = AT^ y → x =

∑N

i=1 yiφi: x=sum of uncorrelated RVs×eigenvectors.

  1. Now try this for 2nd-order 0-mean WSS processes: a. Eigenfunctions of LTI systems: φ(t) = ejωt: Means b. ejωt^ → |H(ω)| → H(ω)ejωt^ = |H(ω)|e(jωt+ARG[H(ω)]).
  2. x(t) is a real-valued 2nd-order 0-mean WSS process. a. Define RVs X(ω) =

−∞ x(t)e

−jωt, for all ω. b. Then {X(ω)} are uncorrelated random variables: E[X(ω 1 )X∗(ω 2 )] = 2πSx(ω 1 )δ(ω 1 − ω 2 ).

  1. Spectral interpretation of 2nd-order WSS RPs: x(t) =

−∞ X(ω)e

jωt dω 2 π :^

uncorrelated RVs×eigenfunctions.

  1. We have for finite but large T and interval [− T 2 , T 2 ]: K-L: x(t) =

n=−∞ xn^ √^1 T e

j 2 πnt/T (^) , |t| ≤ T / 2 → ∞,

where: xn =

∫ T / 2

−T / 2 x(t)^ √^1 T e

−j 2 πnt/T (^) dt for integers n.

Then: E[xixj ] = Sx(2πi/T )δ(i − j) → {xn} uncorrelated. DEF: This is Karhunen-Loeve expansion for WSS processes.

Works: Sx(ω) ≈ 0 for |ω| > B → need T B >> 1.

EECS 501 CROSS-SPECTRAL DENSITY Fall 2000 Let: x(t) and y(t) be real-valued 0-mean jointly WSS RPs. with: Cross-correlation Rxy (τ ) = E[x(t)y(t − τ )] for any t. Means: E[x(t)y(s)] = Rxy (t − s); jointly WSS→not t, s separately.

Def: The Cross-Spectral Density Sxy (ω) is defined as: Sxy (ω) = F{Rxy (τ )}; Rxy (τ ) = F−^1 {Sxy (ω)}.

Properties of The Cross-Spectral Density

  1. Ryx(τ ) = Rxy (−τ ) → Syx(ω) = Sxy (−ω) = S xy∗ (ω).
  2. Sxy (ω), unlike Sx(ω), is not a real or even function.
  3. WSS random processes: x(t) → |H(ω)| → y(t) FORMULA: Syx(ω) = H(ω)Sx(ω) (note Syx, not Sxy ): Take F of Ryx(τ ) =

h(u)Rx(τ − u)du.

  1. From #1 and #3 we have Sxy (ω) = H∗(ω)Sx(ω).
  2. Exchange x(t), y(t) and replace H(ω) with (^) H(^1 ω) : Syx(ω) = (^) H∗^1 (ω) Sy (ω) → Sy (ω) = |H(ω)|^2 Sx(ω)!

Example of Cross-Spectral Density Let x(t) → |F (ω)| → y(t) and x(t) → |G(ω)| → z(t) Compute the cross-spectral density Syz (ω). Solution:

  1. x(t), y(t), z(t) are real-valued 0-mean jointly WSS RPs.
  2. y(t) =

f (u)x(t − u)du and z(s) =

g(v)x(s − v)dv →

  1. E[y(t)z(s)] =

f (u)g(v)E[x(t − u)x(s − v)]du dv → Ryz (t − s) =

f (u)g(v)Rx(t − s − u + v)du dv → Syz (ω) = F (ω)G∗(ω)Sx(ω). Neat formula! (I think so)

  1. Passbands of F (ω) and G(ω) don’t overlap→ Ryz (τ ) = 0. y(t) and z(t) (different frequency components of x(t)) are uncorrelated→spectral interpretation of WSS RPs.

EECS 501 LLSE OF WSS RANDOM PROCESSES Fall 2000

Infinite Smoothing Filter for Signal in Noise:

  1. y(t), x(t), v(t) are 2nd-order 0-mean jointly WSS RPs. a. Observe y(t) = x(t) + v(t) where E[x(t)v(s)] = 0. b. x(t)=signal, v(t)=noise, y(t)=noisy data.
  2. We have the following (cross)covariance functions: a. Rxy = E[x(t)y(s)] = E[x(t)(x(s) + v(s))] = Rx. b. Ry = E[(x(t) + v(t))(x(s) + v(s))] = Rx + Rv.
  3. GOAL: Compute LLSE of x(t) from {y(s), −∞ < s < ∞}. NOTE: x(t), v(t) jointly Gaussian RPs→ xˆLLSE = ˆxLS.
  4. LEMMA: 0-mean uncorrelated {x(i)} and {v(i)}. Observe y(n) = x(n) + v(n) where E[x(i)v(j)] = 0. Then LLSE of x(i) from {y(j), −∞ < j < ∞} is xˆ = Kxy K y− 1 y = Kx(Kx + Kv )−^1 y = DIAG[σ x^2 (i)]DIAG[σ x^2 (i) + σ v^2 (i)]−^1 y

→ xˆ(i) =

σ^2 x(i) σ^2 x(i)+σ^2 v(i)^ y(i) where^ y=vector of^ {y(j)}. Problem decouples since the {y(j)} are uncorrelated.

  1. Write x(t) =

−∞ X(ω)e

jωt dω 2 π ; write^ y(t), v(t) similarly. Apply LEMMA to RVs X(ω), Y (ω), V (ω). Solution:

y(t) → | (^) Sx(ωS)+x(ωS)v (ω) | → xˆ(t).

  1. Comments: a. More insightful than Recitation derivation! b. Shows significance of decorrelation=prewhitening: Eliminates need to compute K y− 1 (saves much work). c. See Stark and Woods p. 553 for more details.