Test Bank For Contemporary Communication Systems 1st Edition by M. Farooque Mesiya Chapter 1_15

Page 1


Chapter 2 2.1

Consider the signals displayed in Figure P2.1.Show that each of these signals can be expressed as the sum of rectangular Ξ  (t ) and/or triangular Ξ› (t ) pulses.

Figure P2.1

Solution:

a.

βŽ›t⎞ βŽ›t⎞ x1 (t ) = Ξ  ⎜ ⎟ + Ξ  ⎜ ⎟ ⎝2⎠ ⎝4⎠

βŽ›t βˆ’3⎞ βŽ›t βˆ’3⎞ b. x2 (t ) = 2Ξ› ⎜ βŽŸβˆ’ Ξ›βŽœ ⎟ ⎝ 6 ⎠ ⎝ 2 ⎠ c.

βŽ› 11 ⎞ βŽ› 7⎞ βŽ› 3⎞ βŽ› 1⎞ βŽ› 5⎞ βŽ› 9⎞ x3 (t ) = ... + Ξ  ⎜ t + ⎟ + Ξ  ⎜ t + ⎟ + Ξ  ⎜ t + ⎟ + Ξ  ⎜ t βˆ’ ⎟ + Ξ  ⎜ t βˆ’ ⎟ + Ξ  ⎜ t βˆ’ ⎟ + ... 2⎠ ⎝ ⎝ 2⎠ ⎝ 2⎠ ⎝ 2⎠ ⎝ 2⎠ ⎝ 2⎠ ∞

= βˆ‘ Ξ  ⎑⎣t βˆ’ ( 2n + 0.5 ) ⎀⎦ n =βˆ’βˆž

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ›t+4⎞ βŽ›t⎞ βŽ›tβˆ’4⎞ d. x4 (t ) = ... + Ξ› ⎜ ⎟ + Ξ›βŽœ ⎟ + Ξ›βŽœ ⎟ + ... ⎝ 2 ⎠ ⎝2⎠ ⎝ 2 ⎠ ∞ βŽ› t βˆ’ 4n ⎞ = βˆ‘ Ξ›βŽœ ⎟ ⎝ 2 ⎠ n =βˆ’βˆž 2.2 For the signal x2 (t ) in Figure P2.1 (b) plot the following signals x2 (t βˆ’ 3)

a.

b. x2 (βˆ’t ) c.

x2 (2t )

d. x2 (3 βˆ’ 2t ) Solution:

x2 (t βˆ’ 3)

x2 (βˆ’t )

1

1

0

0 1 2 3 4 5 6 7 8 9

βˆ’6 βˆ’5 βˆ’4 βˆ’3 βˆ’2 βˆ’1

t 1 2 3

x2 (3 βˆ’ 2t )

x2 (2t )

1

1 0

1 2 3 4 5 6

t

0 βˆ’2βˆ’1

1 2 3 4

t

2.3 Plot the following signals a.

x1 (t ) = 2Ξ  (t / 2) cos(6Ο€ t )

⎑1 1 ⎀ b. x2 (t ) = 2 ⎒ + sgn ( t ) βŽ₯ ⎣2 2 ⎦

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x3 (t ) = x2 (βˆ’t + 2)

c.

d. x4 (t ) = sinc ( 2t ) Ξ  ( t / 2 ) Solution: x2 (t )

2 1.5

2

x1(t)

1 0.5

0

0

t 1 2 3 4 5 6

-0.5 -1 1 -1.5 0.8

-2 -1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1 0.6

xx4(t) (t)

tt

0.4

4

x3 (t )

0.2

2 0

-0.2

0

t

-0.4 -1

1 2 3 4

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

tt

2.4 Determine whether the following signals are periodic. For periodic signals, determine the fundamental period. a.

x1 (t ) = sin(Ο€ t ) + 5cos(4Ο€ t / 5)

Solution:

sin(Ο€ t ) is periodic with period T1 =

2Ο€

Ο€

= 2 . cos(4Ο€ t / 5) is periodic with period

T 2Ο€ 5 = . x1 (t ) is periodic if the ratio 1 can be written as ratio of 4Ο€ / 5 2 T2 integers. In the present case, T2 =

T1 2 Γ— 2 4 = = T2 5 5

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Therefore, x1 (t ) is periodic with fundamental period To such that To = 5T1 = 4T2 = 10 b. x2 (t ) = e j 3t + e j 9t + cos(12t ) Solution:

2Ο€ . Similarly, e j 9t is periodic with period 3 2Ο€ 2Ο€ Ο€ T2 = . cos(12t ) is periodic with period T3 = = . x2 (t ) is periodic with 9 12 6 2Ο€ fundamental period To = LCM (T1 , T2 , T3 ) = . 3

e j 3t is periodic with period T1 =

c.

x3 (t ) = sin(2Ο€ t ) + cos(10t )

Solution:

2Ο€ = 1 . cos(10t ) is periodic with period 2Ο€ T 2Ο€ Ο€ T2 = = . x3 (t ) is periodic if the ratio 1 can be written as ratio of integers. 10 5 T2 In the present case, sin(2Ο€ t ) is periodic with period T1 =

T1 1Γ— 5 5 = = T2 Ο€ Ο€ Since Ο€ is an irrational number, the ratio is not rational. Therefore, x3 (t ) is not periodic.

Ο€βŽž βŽ› d. x4 (t ) = cos ⎜ 2Ο€ t βˆ’ ⎟ + sin(5Ο€ t ) 4⎠ ⎝ Solution:

Ο€βŽž 2Ο€ βŽ› cos ⎜ 2Ο€ t βˆ’ ⎟ is periodic with period T1 = = 1 . sin(5Ο€ t ) is periodic with 4⎠ 2Ο€ ⎝ T 2Ο€ 2 period T2 = = . x4 (t ) is periodic if the ratio 1 can be written as ratio of T2 5Ο€ 5 integers. In the present case,

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


T1 1Γ— 5 5 = = T2 2 2 Therefore, x4 (t ) is periodic with fundamental period To such that To = 2T1 = 5T2 = 2 2.5 Classify the following signals as odd or even or neither. a.

x(t ) = βˆ’4t

Solution:

x(βˆ’t ) = 4t = βˆ’(βˆ’4t ) = βˆ’ x(t ) . So x(t ) is odd.

b. x(t ) = e

βˆ’t

Solution: e

c.

βˆ’t

=e

βˆ’ βˆ’t

. So x(t ) is even.

x(t ) = 5cos(3t )

Solution:

Since cos(t ) is even, 5cos(3t ) is also even.

Ο€

d. x(t ) = sin(3t βˆ’ ) 2 Solution:

Ο€

x(t ) = sin(3t βˆ’ ) = βˆ’ cos(3t ) which is even. 2 e. x(t ) = u (t ) Solution:

u (t ) is neither even nor odd; For example, u (1) = 1 but u (βˆ’1) = 0 β‰  βˆ’u (1) .

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


f.

x(t ) = sin(2t ) + cos(2t )

Solution:

x(t ) is neither even nor odd; For example, x(Ο€ / 8) = 2 but x(βˆ’Ο€ / 8) = 0 β‰  βˆ’ x(Ο€ / 8) . 2.6 Determine whether the following signals are energy or power, or neither and calculate the corresponding energy or power in the signal: a. x1 (t ) = u (t ) Solution:

The normalized average power of a signal x1 (t ) is defined as T /2

T /2

1 1 1T 1 2 u (t ) dt = lim ∫ 1 dt = lim = ∫ T β†’βˆž T T β†’βˆž T T β†’βˆž T 2 2 0 βˆ’T /2

Px1 = lim

Therefore, x1 (t ) is a power signal. b. x2 (t ) = 4 cos(2Ο€ t ) + 3cos ( 4Ο€ t ) Solution:

4 cos(2Ο€ t ) is a power signal. 3cos ( 4Ο€ t ) is also a power signal. Since x2 (t ) is sum of two power signals, it is a power signal. T /2

T /2

2 2 1 1 ⎑⎣ 4 cos(2Ο€ t ) + 3cos ( 4Ο€ t ) ⎀⎦ dt = lim ⎑⎣ 4 cos(2Ο€ t ) + 3cos ( 4Ο€ t ) ⎀⎦ dt Px2 = lim ∫ ∫ T β†’βˆž T T β†’βˆž T βˆ’T /2 βˆ’T /2 T /2

1 ⎑16 cos 2 (2Ο€ t ) + 9 cos 2 ( 4Ο€ t ) + 24 cos(2Ο€ t ) cos ( 4Ο€ t ) ⎀⎦dt T β†’βˆž T ∫ ⎣ βˆ’T /2

= lim Now T /2

T /2

1 8 8T =8 16 cos 2 (2Ο€ t )dt = lim 1 + cos(4Ο€ t ) ]dt = lim [ ∫ ∫ T β†’βˆž T T β†’βˆž T T β†’βˆž T βˆ’T /2 βˆ’T /2 lim

T /2

1 lim 9 cos 2 (4Ο€ t )dt = 4.5 T β†’βˆž T ∫ βˆ’T /2

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


T /2

T /2

24 24 cos(2Ο€ t ) cos ( 4Ο€ t )dt = lim ∫ ∫ ⎑⎣cos(6Ο€ t ) + cos ( 2Ο€ t )⎀⎦dt = 0 T β†’βˆž T T β†’βˆž T βˆ’T /2 βˆ’T /2 lim

Therefore, Px2 = 8 + 4.5 = 12.5 c.

x3 (t ) =

1 t

Solution: T /2 T /2 βŽ› 1 T /2 ⎞ 2 βŽ› βˆ’2 ⎞ Ex3 = lim ∫ 1/ t dt = lim ∫ t βˆ’2 dt = lim ⎜ βˆ’ ⎟⎟ = Tlim ⎜ ⎟=0 T β†’βˆž T β†’βˆž T β†’βˆž ⎜ β†’βˆž t T / 2 ⎝ ⎠ T /2 βˆ’ βˆ’T /2 βˆ’T /2 ⎝ ⎠ T /2 T /2 T /2 ⎞ 1 1 1βŽ› 1 1 βŽ› βˆ’2 ⎞ 2 βˆ’2 Px3 = lim t dt t dt 1/ lim lim = = βˆ’ = lim ⎜ ⎜ ⎟ ⎟=0 ⎟ β†’βˆž T β†’βˆž T ∫ T β†’βˆž T ∫ T β†’βˆž T ⎜ T T ⎝T / 2⎠ βˆ’T /2 βˆ’T /2 ⎝ t βˆ’T /2 ⎠

x3 (t ) is neither an energy nor a power signal. d. x4 (t ) = eβˆ’Ξ± t u (t ) Solution: T /2

T /2

Ex4 = lim ∫ e u (t ) dt = lim ∫ e T β†’βˆž

2

βˆ’Ξ± t

T β†’βˆž

βˆ’T /2

0

βˆ’2Ξ± t

βŽ› e βˆ’2Ξ± t T /2 ⎞ 1 1 ⎟= dt = lim ⎜ βˆ’ lim ( βˆ’e βˆ’Ξ± T + 1) = T β†’βˆž ⎜ 2Ξ± 0 ⎟ 2Ξ± T β†’βˆž 2Ξ± ⎝ ⎠

Thus x4 (t ) is an energy signal. e.

x5 (t ) = Ξ  (t / 3) + Ξ  (t )

Solution: x5 (t )

2

1

βˆ’3 / 2

3/ 2

t

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


T /2

βˆ’1/2

1/ 2

βˆ’1/ 2

βˆ’3/ 2

βˆ’1/2

βˆ’3/2

Ex5 = lim ∫ Π (t / 3) + Π (t ) dt = ∫ 1dt + ∫ 4dt + ∫ 1dt 2

T β†’βˆž

βˆ’T /2

= 1+ 4 +1 = 6 Thus x5 (t ) is an energy signal. f.

x6 (t ) = 5e( βˆ’2t + j10Ο€ t )u (t )

Solution: T /2

T /2

T /2

Ex6 = lim ∫ 5e( βˆ’2t + j10Ο€ t )u (t ) dt = lim ∫ 5e βˆ’2t e j10Ο€ t ) dt = lim 25 ∫ eβˆ’4t dt T β†’βˆž

2

T β†’βˆž

βˆ’T /2

βŽ› e = 25 lim ⎜ βˆ’ T β†’βˆž ⎜ 4 ⎝

βˆ’4 t T /2

0

2

T β†’βˆž

0

0

⎞ 25 25 ⎟= lim ( βˆ’e βˆ’2T + 1) = β†’βˆž T ⎟ 4 4 ⎠

Thus x6 (t ) is an energy signal. ∞

g. x7 (t ) = βˆ‘ Ξ› ⎑⎣( t βˆ’ 4n ) / 2 ⎀⎦ n =βˆ’βˆž

Solution:

x7 (t ) is a periodic signal with period To = 4 . T /2

1

1

(

)

2 1 o 2 1 2 ⎑⎣ Ξ› ( t / 2 ) ⎀⎦ dt = ∫ (1 βˆ’ t ) dt = ∫ 1 βˆ’ 2t + t 2 dt Px7 = ∫ To βˆ’To / 2 To 0 20 1

t3 ⎞ 1βŽ› 1βŽ› 1⎞ 1 = ⎜ t βˆ’ t 2 + ⎟ = ⎜1 βˆ’ 1 + ⎟ = 2⎝ 3 ⎠0 2⎝ 3⎠ 6 2.7 Evaluate the following expressions by using the properties of the delta function: a.

x1 (t ) = Ξ΄ (4t ) sin(2t )

Solution:

1 4

Ξ΄ (4t ) = Ξ΄ (t ) 1 1 x1 (t ) = Ξ΄ (t ) sin(2t ) = Ξ΄ (t ) sin(0) = 0 4 4

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ο€βŽž βŽ› b. x2 (t ) = Ξ΄ (t ) cos ⎜ 30Ο€ t + ⎟ 4⎠ ⎝ Solution:

Ο€βŽž Ο€βŽž βŽ› βŽ› βŽ›Ο€ ⎞ x2 (t ) = Ξ΄ (t ) cos ⎜ 30Ο€ t + ⎟ = Ξ΄ (t ) cos ⎜ 0 + ⎟ = cos ⎜ ⎟ Ξ΄ (t ) 4⎠ 4⎠ ⎝ ⎝ ⎝4⎠ c. x3 (t ) = Ξ΄ (t )sinc(t + 1) Solution:

x3 (t ) = Ξ΄ (t )sinc(t + 1) = Ξ΄ (t )sinc(0 + 1) = Ξ΄ (t )sinc(1) = Ξ΄ (t ) Γ— 0 = 0 d. x4 (t ) = Ξ΄ (t βˆ’ 2)e βˆ’ t sin(2.5Ο€ t ) Solution: x4 (t ) = Ξ΄ (t βˆ’ 2)e βˆ’ t sin(2.5Ο€ t ) = Ξ΄ (t βˆ’ 2)e βˆ’2sin(2.5Ο€ Γ— 2) = Ξ΄ (t βˆ’ 2)e βˆ’2sin(Ο€ ) = 0 ∞

e.

x5 (t ) = ∫ Ξ΄ (2t )sinc(t )dt βˆ’βˆž

Solution: ∞

∞

1 x5 (t ) = ∫ Ξ΄ (2t )sinc(t )dt = ∫ Ξ΄ (t )sinc(t ) dt 2 βˆ’βˆž βˆ’βˆž ∞

=

∞

1 1 1 Ξ΄ (t )sinc(0)dt = ∫ Ξ΄ (t )dt = ∫ 2 βˆ’βˆž 2 βˆ’βˆž 2 ∞

f. x6 (t ) = ∫ Ξ΄ (t βˆ’ 3) cos(t )dt βˆ’βˆž

Solution: ∞

∞

βˆ’βˆž

βˆ’βˆž

x6 (t ) = ∫ Ξ΄ (t βˆ’ 3) cos(t )dt = cos(3) ∫ Ξ΄ (t βˆ’ 3)dt = cos(3)

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

g. x7 (t ) = ∫ Ξ΄ (2 βˆ’ t ) βˆ’βˆž

1 dt 1βˆ’ t3

Solution: ∞

x7 (t ) = ∫ Ξ΄ (2 βˆ’ t ) βˆ’βˆž

∞

1 1 dt = ∫ Ξ΄ (t βˆ’ 2) dt 3 1βˆ’ t 1βˆ’ t3 βˆ’βˆž

∞

∞

1 1 1 dt = βˆ’ ∫ Ξ΄ (t βˆ’ 2)dt = βˆ’ = ∫ Ξ΄ (t βˆ’ 2) 3 1βˆ’ 2 7 βˆ’βˆž 7 βˆ’βˆž ∞

h. x8 (t ) = ∫ Ξ΄ (3t βˆ’ 4)e βˆ’3t dt βˆ’βˆž

Solution: ∞

x8 (t ) = ∫ Ξ΄ (3t βˆ’ 4)e βˆ’3t dt = βˆ’βˆž

∞

1 βŽ› 4⎞ Ξ΄ ⎜ t βˆ’ ⎟ e βˆ’3t dt ∫ 3 βˆ’βˆž ⎝ 3 ⎠

∞

∞

4 1 e βˆ’4 e βˆ’4 βŽ› 4 ⎞ βˆ’3Γ— βŽ› 4⎞ = ∫ Ξ΄ ⎜ t βˆ’ ⎟ e 3 dt = βˆ’ = Ξ΄ t dt ∫ ⎜⎝ 3 ⎟⎠ 3 βˆ’βˆž ⎝ 3 ⎠ 3 βˆ’βˆž 3

i.

x9 (t ) = Ξ΄ '(t ) βŠ— Ξ  (t )

Solution: ∞

x9 (t ) = ∫ Ξ  (t βˆ’ Ο„ )Ξ΄ '(Ο„ )dΟ„ = (βˆ’1) βˆ’βˆž

d Ξ  (t βˆ’ Ο„ ) dΟ„ Ο„ =0

= Ξ  ' (t ) = Ξ΄ ( t + 0.5 ) βˆ’ Ξ΄ ( t βˆ’ 0.5 ) 2.8 For each of the following continuous-time systems, determine whether or not the system is (1) linear, (2) time-invariant, (3) memoryless, and (4) casual. a.

y (t ) = x(t βˆ’ 1)

Solution:

The system is linear, time-invariant, causal, and has memory. The system has memory because current value of the output depends on the previous value of the input. The system is causal because current value of the output does not depend on future inputs. To prove linearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


y (t ) = x(t βˆ’ 1) = Ξ± x1 (t βˆ’ 1) + Ξ² x2 (t βˆ’ 1) = Ξ± y1 (t ) + Ξ² y2 (t ) T T where x1 (t ) ⎯⎯ β†’ y1 (t ) and x2 (t ) ⎯⎯ β†’ y2 (t ) .

To show that the system is time-invariant, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is y1 (t ) = x1 (t βˆ’ 1) = x(t βˆ’ 1 βˆ’ to ) = y (t βˆ’ to ) b. y (t ) = 3x(t ) βˆ’ 2 Solution:

The system is nonlinear, time-invariant, causal, and memoryless. The system is memoryless because current value of the output depends only on the current value of the input. The system is causal because current value of the output does not depend on future inputs. To prove nonlinearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is y (t ) = 3x(t ) βˆ’ 2 = 3 [Ξ± x1 (t ) + Ξ² x2 (t ) ] βˆ’ 2 β‰  Ξ± y1 (t ) + Ξ² y2 (t ) = Ξ± [3 x1 (t ) βˆ’ 2] + Ξ² [3 x2 (t ) βˆ’ 2] To show that the system is time-invariant, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is y1 (t ) = 3x1 (t ) βˆ’ 2 = 3x(t βˆ’ to ) βˆ’ 2 = y (t βˆ’ to ) c.

y (t ) = x(t )

Solution:

The system is nonlinear, time-invariant, causal, and memoryless. The system is memoryless because current value of the output depends only on the current value of the input. The system is causal because current value of the output does not depend on future inputs. To prove nonlinearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


y (t ) = Ξ± x1 (t ) + Ξ² x2 (t ) ≀ Ξ± x1 (t ) + Ξ² x2 (t )

Because

Ξ± x1 (t ) + Ξ² x2 (t ) = Ξ± x1 (t ) + Ξ² x2 (t ) β‰  Ξ± y1 (t ) + Ξ² y2 (t ) for all Ξ± and Ξ² , the system is nonlinear. To show that the system is time-invariant, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is y1 (t ) = x1 (t ) = x(t βˆ’ to ) = y (t βˆ’ to )

d. y (t ) = [ cos(2t )] x(t ) Solution:

The system is linear, time-variant, causal, and memoryless. The system is memoryless because current value of the output depends only on the current value of the input. The system is causal because current value of the output does not depend on future inputs. To prove nonlinearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is y (t ) = [ cos(2t ) ] x(t ) = [ cos(2t ) ][Ξ± x1 (t ) + Ξ² x2 (t ) ] = Ξ± [ cos(2t ) ] x1 (t ) + Ξ² [ cos(2t ) ] x2 (t ) = Ξ± y1 (t ) + Ξ² y2 (t ) To prove time-variance, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is

y1 (t ) = [ cos(2t ) ] x1 (t ) = [ cos(2t ) ] x ( t βˆ’ to ) β‰  y (t βˆ’ to ) = cos ⎑⎣ 2 ( t βˆ’ to ) ⎀⎦ x ( t βˆ’ to ) e.

y (t ) = e x (t )

Solution:

The system is nonlinear, time-invariant, causal, and memoryless. The system is memoryless because current value of the output depends only on the current value of the input. The system is causal because current value of the output does not depend on future inputs.

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


To prove nonlinearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is y (t ) = eΞ± x1 ( t ) + Ξ² x2 ( t ) = eΞ± x1 ( t ) e Ξ² x2 (t ) β‰  Ξ± y1 (t ) + Ξ² y2 (t ) = Ξ± e x1 ( t ) + Ξ² e x2 ( t )

for all Ξ± and Ξ² To show that the system is time-invariant, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is y1 (t ) = e x1 (t ) = e x (t βˆ’to ) = y (t βˆ’ to ) f. y (t ) = tx(t ) Solution:

The system is linear, time-variant, causal, and memoryless. The system is memoryless because current value of the output depends only on the current value of the input. The system is causal because current value of the output does not depend on future inputs. To prove nonlinearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is y (t ) = t [Ξ± x1 (t ) + Ξ² x2 (t ) ] = Ξ± tx1 (t ) + Ξ² tx2 (t ) = Ξ± y1 (t ) + Ξ² y2 (t )

To prove time-variance, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is y1 (t ) = tx1 (t ) = tx ( t βˆ’ to ) β‰  y (t βˆ’ to ) = ( t βˆ’ to ) x ( t βˆ’ to ) t

g. y (t ) = ∫ x(2Ο„ )dΟ„ βˆ’βˆž

Solution:

The system is linear, time-invariant, causal, and has memory. The system has memory because current value of the output depends only on the past values of the input. The system is causal because current value of the output does not depend on future inputs. To prove linearity, let x(t ) = Ξ± x1 (t ) + Ξ² x2 (t ) . The response of the system to x(t ) is

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


t

t

t

βˆ’βˆž

βˆ’βˆž

βˆ’βˆž

y (t ) = ∫ [Ξ± x1 (2Ο„ ) + Ξ² x2 (2Ο„ ) ] dΟ„ = Ξ± ∫ x1 (2Ο„ )dΟ„ + Ξ² ∫ x2 (2Ο„ )dΟ„ = Ξ± y1 (t ) + Ξ² y2 (t ) To check for time-variance, let x1 (t ) = x(t βˆ’ to ) be the system input. The corresponding output is t

t

t βˆ’ to

βˆ’βˆž

βˆ’βˆž

βˆ’βˆž

y1 (t ) = ∫ x1 (2Ο„ )dΟ„ = ∫ x [ 2(Ο„ βˆ’ to ) ] dΟ„ = ∫ x ( 2Ξ± ) dΞ± = y ( t βˆ’ to ) 2.9 Calculate the output y (t ) of the LTI system for the following cases: a.

x(t ) = e βˆ’2t u (t ) and h(t ) = u (t βˆ’ 2) βˆ’ u (t βˆ’ 4)

Solution:

βŽ› t βˆ’3⎞ h(t ) = u (t βˆ’ 2) βˆ’ u (t βˆ’ 4) = Ξ  ⎜ ⎟ ⎝ 2 ⎠ ∞

∞

βŽ›Ο„ βˆ’3 ⎞ y (t ) = ∫ h(Ο„ ) x(t βˆ’ Ο„ )dΟ„ = ∫ eβˆ’2(t βˆ’Ο„ )u (t βˆ’ Ο„ )Ξ  ⎜ ⎟ dΟ„ ⎝ 2 ⎠ βˆ’βˆž βˆ’βˆž For t < 2 , there is no overlap and y (t ) = 0. t

For 2 ≀ t < 4 , y (t ) = ∫ e

βˆ’2( t βˆ’Ο„ )

2

t βˆ’2

t βˆ’2

dΟ„ = ∫ e 0

βˆ’2Ο„

e βˆ’2Ο„ 1 βˆ’ eβˆ’2(t βˆ’ 2) dΟ„ = = βˆ’2 0 2

For t β‰₯ 4 , 4

y (t ) = ∫ e

βˆ’2( t βˆ’Ο„ )

dΟ„ = e

βˆ’2 t

2

⎧1 βˆ’ e βˆ’2(t βˆ’ 2) , βŽͺ 2 βŽͺ βŽͺβŽͺ βˆ’2(t βˆ’ 2) ( e 4 βˆ’ 1) y (t ) = ⎨e , 2 βŽͺ βŽͺ0, βŽͺ βŽͺ⎩

4

( e βˆ’ 1) e2Ο„ e8 βˆ’ e 4 = e βˆ’2t = e βˆ’2( t βˆ’ 2) 2 2 2 2 4

∫ e dΟ„ =e 2Ο„

βˆ’2 t

2

4

2≀t ≀4 t>4 otherwise

b. x(t ) = e βˆ’ t u (t ) and h(t ) = e βˆ’2t u (t )

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: ∞

y (t ) = ∫ e u (Ο„ )e βˆ’Ο„

βˆ’2( t βˆ’Ο„ )

βˆ’βˆž

t

u (t βˆ’ Ο„ )dΟ„ = ∫ e βˆ’Ο„ eβˆ’2(t βˆ’Ο„ ) dΟ„ 0

For t < 0 , there is no overlap and y (t ) = 0. y (t ) = e

βˆ’2 t

t

∫ e dΟ„ =e Ο„

βˆ’2 t

eΟ„ = eβˆ’2t ( et βˆ’ 1) = e βˆ’ t βˆ’ e βˆ’2t , t β‰₯ 0 t

0

0

c.

x(t ) = u (βˆ’t ) and h(t ) = Ξ΄ (t ) βˆ’ 3eβˆ’2t u (t )

Solution: ∞

∞

βˆ’βˆž

βˆ’βˆž

y (t ) = ∫ h(Ο„ ) x(t βˆ’ Ο„ )dΟ„ = ∫ ⎑⎣δ (Ο„ ) βˆ’ 3e βˆ’2Ο„ u (Ο„ ) ⎀⎦ u (Ο„ βˆ’ t )dΟ„ Now ∞

∫ Ξ΄ (Ο„ )u(Ο„ βˆ’ t )dΟ„ = u (βˆ’t )

βˆ’βˆž

∞

For t < 0 , ∫ 3e 0

∞

∞

βˆ’2Ο„

3e βˆ’2Ο„ 3 = dΟ„ = βˆ’2 0 2 ∞

For t β‰₯ 0 , ∫ 3e u (Ο„ )u (Ο„ βˆ’ t )dΟ„ = ∫ 3e βˆ’2Ο„

βˆ’βˆž

5 ⎧3 βŽͺβŽͺ 2 + 1 = 2 , y (t ) = ⎨ βŽͺ 3 e βˆ’2t , βŽͺ⎩ 2

t

∞

βˆ’2Ο„

3e βˆ’2Ο„ 3 = e βˆ’2t dΟ„ = βˆ’2 t 2

t<0 tβ‰₯0

d. x(t ) = Ξ΄ (t βˆ’ 2) + 3e3t u (βˆ’t ) and h(t ) = u (t ) βˆ’ u (t βˆ’ 1) Solution:

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

∞

βˆ’βˆž

βˆ’βˆž

y (t ) = ∫ h(Ο„ ) x(t βˆ’ Ο„ )dΟ„ = ∫ ⎑⎣δ (t βˆ’ Ο„ βˆ’ 2) + 3e3(t βˆ’Ο„ )u (βˆ’t + Ο„ ) ⎀⎦ [u (Ο„ ) βˆ’ u (Ο„ βˆ’ 1)] dΟ„ ∞

∞

βˆ’βˆž

βˆ’βˆž

= ∫ Ξ΄ (t βˆ’ Ο„ βˆ’ 2) [u (Ο„ ) βˆ’ u (Ο„ βˆ’ 1) ] dΟ„ + ∫ 3e3(t βˆ’Ο„ )u (βˆ’t + Ο„ ) [u (Ο„ ) βˆ’ u (Ο„ βˆ’ 1) ] dΟ„

Now ∞

∫ Ξ΄ (t βˆ’ Ο„ βˆ’ 2) [u(Ο„ ) βˆ’ u(Ο„ βˆ’ 1)] dΟ„ = u(t βˆ’ 2) βˆ’ u(t βˆ’ 2 βˆ’ 1) = Ξ  ( t βˆ’ 2.5)

βˆ’βˆž

For t < 0 , ∞

1

βˆ’βˆž

0

1

3( t βˆ’Ο„ ) 3( t βˆ’Ο„ ) 3t βˆ’3Ο„ ∫ 3e u(βˆ’t + Ο„ ) [u(Ο„ ) βˆ’ u(Ο„ βˆ’ 1)] dΟ„ = ∫ 3e dΟ„ = 3e ∫ e dΟ„

= 3e3t

0

βˆ’3Ο„ 1

e 1⎞ βŽ› = e 3t ⎜ 1 βˆ’ 3 ⎟ βˆ’3 0 ⎝ e ⎠

For 0 < t ≀ 1 , ∞

∫ 3e

3( t βˆ’Ο„ )

βˆ’βˆž

1

u (βˆ’t + Ο„ ) [u (Ο„ ) βˆ’ u (Ο„ βˆ’ 1) ] dΟ„ = ∫ 3e t

= 3e3t ⎧ 3t βŽ› 1⎞ βŽͺe ⎜ 1 βˆ’ e3 ⎟ , ⎠ βŽͺ ⎝ βŽͺ βŽ› 1⎞ y (t ) = ⎨e3t ⎜ e βˆ’3t βˆ’ 3 ⎟ , e ⎠ βŽͺ ⎝ βŽͺ1, βŽͺ ⎩0,

3( t βˆ’Ο„ )

1

dΟ„ = 3e ∫ eβˆ’3Ο„ dΟ„ 3t

t

βˆ’3Ο„ 1

e 1⎞ βŽ› = e3t ⎜ e βˆ’3t βˆ’ 3 ⎟ βˆ’3 t e ⎠ ⎝

t≀0 0 < t ≀1 2≀t ≀3 otherwise

2.10 The impulse response function of a continuous-time LTI is displayed in Figure P2.2(b). Assuming the input x(t ) to the system is waveform illustrated in Figure P2.2(a), determine the system output waveform y (t ) and sketch it. Solution:

For t < 1 , there is no overlap and y (t ) = 0.

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure P2.2 x(Ο„ )

(a)

1

1

0

Ο„

3

2

4

5

6

7

(b)

h(t βˆ’ Ο„ ) 1

1< t < 2

Ο„

0

1

2

4

3

h(t βˆ’ Ο„ )

(c)

1

5<t <6

Ο„

0

1

2

4

3 t -1

As shown in Figure (b), y (t ) = ∫ dΟ„ = t βˆ’ 1 for 1 ≀ t < 2 0

1

For 2 ≀ t < 3 , y (t ) = ∫ dΟ„ = 1 0 1

For 3 ≀ t < 4 , y (t ) = ∫ dΟ„ =1 βˆ’ t + 3 = 4 βˆ’ t t βˆ’3

t

Referring to Figure (c), y (t ) = ∫ dΟ„ = t βˆ’ 5 for 5 ≀ t < 7 5

t

For 7 ≀ t < 8 , y (t ) = ∫ dΟ„ = t βˆ’ t + 2 = 2 t βˆ’2 7

For 8 ≀ t < 10 , y (t ) = ∫ dΟ„ = 7 βˆ’ t + 3 = 10 βˆ’ t t βˆ’3

y(t ) 2

1

1

2

3

4

5

6

7

8

9

t 10 17

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


2.11 An LTI system has the impulse response h(t ) = e βˆ’0.5(t βˆ’ 2)u (t βˆ’ 2) . a.

Is the system casual?

Solution:

Yes. The system is casual because h(t ) = 0 for t < 0 . b. Is the system stable? Solution: ∞

∞

βˆ’βˆž

0

The system is stable because ∫ h(t ) dt = ∫ e

∞

βˆ’0.5 x

e βˆ’0.5 x =2 dx = βˆ’0.5 0

c. Repeat parts (a) and (b) for h(t ) = e βˆ’0.5(t + 2)u (t + 2) . Solution:

The system is not causal but stable. 2.12 Write down the exponential Fourier series coefficients of the signal x(t ) = 5sin(40Ο€ t ) + 7 cos ( 80Ο€ t βˆ’ Ο€ / 2 ) βˆ’ cos (160Ο€ t + Ο€ / 4 )

Solution:

Applying the Euler’s formula, we get the following terms: ⎑ e j 40Ο€ t βˆ’ e βˆ’ j 40Ο€ t ⎀ ⎑ e j 80Ο€ t eβˆ’ jΟ€ /2 + eβˆ’ j 80Ο€ t e jΟ€ /2 ⎀ ⎑ e j160Ο€ t e jΟ€ / 4 + eβˆ’ j160Ο€ t eβˆ’ jΟ€ /4 ⎀ + x(t ) = 5 ⎒ 7 βŽ₯ ⎒ βŽ₯βˆ’βŽ’ βŽ₯ 2j 2 2 ⎣ ⎦ ⎣ ⎦ ⎣ ⎦ j 40Ο€ t βˆ’ j 40Ο€ t j 80Ο€ t βˆ’ j 80Ο€ t jΟ€ /4 j160Ο€ t βˆ’ jΟ€ /4 βˆ’ j160Ο€ t = βˆ’ j 2.5e + j 2.5e βˆ’ j 3.5e + j 3.5e βˆ’ 0.5e e βˆ’ 0.5e e

The Fourier coefficients are

C1 = βˆ’ j 2.5, Cβˆ’1 = j 2.5 C2 = βˆ’ j 3.5, Cβˆ’2 = j 3.5 C3 = βˆ’0.5e jΟ€ /4 , Cβˆ’3 = βˆ’0.5e βˆ’ jΟ€ /4 a. Is x(t) periodic? If so, what is its period? Solution:

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Yes. Ο‰o = 40Ο€ β‡’ f o = 20, To =

1 1 . The period is = 0.05sec . 20 20

2.13 A signal has the two-sided spectrum representation shown in Figure P2.3. Figure P2.3

a. Write the equation for x(t). Solution:

Ο€βŽž Ο€βŽž βŽ› βŽ› x(t ) = 14 cos ⎜100Ο€ t βˆ’ ⎟ + 10 + 8cos ⎜ 300Ο€ t βˆ’ ⎟ 3⎠ 2⎠ ⎝ ⎝ b. Is the signal periodic? If so, what is its period? Solution:

Yes. It is periodic with fundamental period To =

1 = 0.02 . 50

c. Does the signal have energy at DC? Solution:

Yes as indicated by the presence of DC term C0 = 10 . 2.14 Write down the complex exponential Fourier series for each of the periodic signals shown in Figure P2.4. Use odd or even symmetry whenever possible. Solution:

a. To = 3, f o = 1/ 3

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


2 3 ⎀ 1 1⎑ C0 = ⎒ ∫ 2dt βˆ’ ∫ 1dt βŽ₯ = ( 4 βˆ’ 1) = 1 3 ⎣0 2 ⎦ 3 2 3 2Ο€ nt 2Ο€ nt βˆ’j βˆ’j ⎀ 1⎑ Cn = ⎒ ∫ 2e 3 dt βˆ’ ∫ e 3 dt βŽ₯ 3 ⎣0 2 ⎦ 2 2Ο€ nt 3 ⎀ βˆ’j j 3 ⎑ βˆ’ j 2Ο€3nt ⎒ 2e = βˆ’e 3 βŽ₯ 3 Γ— 2Ο€ n ⎒ 0 2βŽ₯ ⎣ ⎦ j ⎑⎣ 2e βˆ’ j 4Ο€ n /3 βˆ’ 2 βˆ’ e βˆ’ j 2Ο€ n + e βˆ’ j 4Ο€ n /3 ⎀⎦ = 2Ο€ n 3e βˆ’ j 2Ο€ n /3 βŽ› e + j 2Ο€ n /3 βˆ’ e βˆ’ j 2Ο€ n /3 ⎞ j 3 βˆ’ j 4Ο€ n /3 = βˆ’ = 1 e ( ) Ο€n ⎜ ⎟ 2Ο€ n 2j ⎝ ⎠

3e βˆ’ j 2Ο€ n /3 βŽ› 2Ο€ n ⎞ = sin ⎜ ⎟ , n = Β±1, Β±2,..... Ο€n ⎝ 3 ⎠

b. To = 2, f o = 1/ 2 1

1 ⎀ 1 t2 1⎑ 1 C0 = ⎒ ∫ tdt βŽ₯ = = (1 βˆ’ 1) = 0 2 ⎣ βˆ’1 ⎦ 2 2 βˆ’1 4

Cn =

1 1 ⎀ 1 ⎑ βˆ’ jΟ€ nt ⎀ 1 ⎑ βˆ’ jΟ€ nt = βˆ’ te dt ) ⎒∫ βŽ₯ ⎒ ∫ td ( e βŽ₯ 2 ⎣ βˆ’1 j 2Ο€ n ⎣ βˆ’1 ⎦ ⎦

=

1 ⎀ j ⎑ βˆ’ jΟ€ nt 1 βˆ’ jΟ€ nt βˆ’ te e dt ⎒ βŽ₯ ∫ βˆ’1 2Ο€ n ⎣ βˆ’1 ⎦

=

1 βˆ’ jΟ€ nt 1 ⎀ j ⎑ βˆ’ jΟ€ n + jΟ€ n +e + e e ⎒ βˆ’1 βŽ₯ 2Ο€ n ⎣ jΟ€ n ⎦

j ⎑ e βˆ’ jΟ€ n e + jΟ€ n e βˆ’ jΟ€ n e jΟ€ n ⎀ = ⎒ + + 2 2 βˆ’ 2 2βŽ₯ 2 ⎣ Ο€n jΟ€ n jΟ€ n ⎦ Ο€n je βˆ’ jΟ€ n j ( βˆ’1) = = , n = Β±1, Β±2,..... Ο€n Ο€n n

c. To = 2, f o = 1/ 2 1

1 βŽ› t2 ⎞ ⎀ 2A ⎑ 1 A 1 C0 = βˆ’ t dt = A ) βŽ₯ ⎜ t βˆ’ ⎟ = A βŽœβŽ›1 βˆ’ ⎟⎞ = ⎒∫ ( 2 ⎣0 2 ⎠0 ⎝ 2⎠ 2 ⎦ ⎝

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Since x3 (t ) is an even function of time, Cn =

1 1 ⎀ An ⎑ 2 A 1 Ο€ Ο€ 1 cos( ) cos( ) t nt dt A nt dt A =⎒ βˆ’ = βˆ’ ( ) βŽ₯ ∫0 ∫0 t cos(Ο€ nt )dt 2 ⎣ 2 ∫0 ⎦

= 0βˆ’ =

1 1 ⎀ A A ⎑ 1 Ο€ Ο€ sin( ) sin( ) sin(Ο€ nt )dt βŽ₯ td nt dt t nt = βˆ’ + ( ) ⎒ ∫ ∫ 0 Ο€n 0 Ο€n ⎣ 0 ⎦

1 A ⎑ cos(Ο€ nt ) ⎀ A A 0 βˆ’ ⎒ βŽ₯ = βˆ’ 2 2 [ cos(Ο€ n) βˆ’ 1] = 2 2 [1 βˆ’ cos(Ο€ n)] Ο€ n ⎒⎣ Ο€ n 0 βŽ₯⎦ Ο€ n Ο€ n

⎧0, βŽͺ = ⎨ 2A βŽͺ⎩ Ο€ 2 n 2 ,

n even n odd

d. To = 3, f o = 1/ 3 1 1 3/ 2 ⎀ 1 ⎑1 1 ⎀ 2A ⎀ 2A ⎑t2 2A ⎑ 3/2 C0 = +t1 βŽ₯ = ⎒ + βŽ₯ = ⎒ ⎒ ∫ tdt + ∫ 1dt βŽ₯ = 3 ⎣0 βŽ₯⎦ 3 ⎣ 2 2 ⎦ 3 1 ⎦ 3 ⎒⎣ 2 0

Since x4 (t ) is an even function of time, Cn =

1.5 3/2 ⎀ 2A ⎑1 ⎀ An ⎑ 2 A =⎒ = + x t nt dt t nt dt ( ) cos(2 / 3) cos(2 / 3) cos(2Ο€ nt / 3)dt βŽ₯ Ο€ Ο€ βŽ₯ ⎒∫ 4 ∫ ∫ 2 ⎣ 3 0 1 ⎦ 3 ⎣0 ⎦

Now 1

∫ t cos(2Ο€ nt / 3)dt = 0

1 1 ⎀ ⎀ 3 ⎑ 3 ⎑ 1 Ο€ Ο€ td sin(2 nt / 3) t sin(2 nt / 3) sin(2Ο€ nt / 3)dt βŽ₯ = βˆ’ ( ) ⎒∫ βŽ₯ ⎒ ∫ 0 2Ο€ n ⎣ 0 0 ⎦ 2Ο€ n ⎣ ⎦

3 ⎑ 3 1⎀ Ο€ sin(2 n / 3) cos(2Ο€ nt / 3) 0 βŽ₯ + ⎒ 2Ο€ n ⎣ 2Ο€ n ⎦ 3 ⎑ 3 sin(2Ο€ n / 3) + = [cos(2Ο€ n / 3) βˆ’ 1]⎀βŽ₯ ⎒ 2Ο€ n ⎣ 2Ο€ n ⎦ =

3/2

3

∫ cos(2Ο€ nt / 3)dt = 2Ο€ n sin(2Ο€ nt / 3) 1

3/2 1

=βˆ’

3 2Ο€ n

sin(2Ο€ n / 3)

Substituting yields

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


2 A βŽ› 3 ⎞ ⎑ βŽ› 2Ο€ n ⎞ ⎀ 3 A ⎑ βŽ› 2Ο€ n ⎞ ⎀ ⎜ ⎟ ⎒cos ⎜ ⎟ βˆ’ 1βŽ₯ = 2 2 ⎒cos ⎜ ⎟ βˆ’1 3 ⎝ 2Ο€ n ⎠ ⎣ ⎝ 3 ⎠ ⎦ 2Ο€ n ⎣ ⎝ 3 ⎠ βŽ₯⎦ 2

Cn =

∞

e.

x5 (t ) = βˆ‘ p ( t βˆ’ 8n ) n =βˆ’βˆž

where p ( t ) = Ξ  ⎑⎣( t βˆ’ 2 ) / 2 ⎀⎦ + Ξ  ⎑⎣( t βˆ’ 2 ) / 4 ⎀⎦ βˆ’ Ξ  ⎑⎣( t βˆ’ 6 ) / 2 ⎀⎦ βˆ’ Ξ  ⎑⎣( t βˆ’ 6 ) / 4⎀⎦ The FT of the pulse shape p ( t ) over [ 0, To ] is given by To

P ( f ) = ∫ p (t )e βˆ’ j 2Ο€ ft dt 0

The FS coefficients of a periodic signal with basic pulse shape p ( t ) are given by T

Cn =

1 o p (t )e βˆ’ j 2Ο€ nfot dt ∫ To 0

Comparing yields Cn =

1 P ( f ) f = nf o To

Now β„‘ Ξ  ⎑⎣( t βˆ’ 2 ) / 2 ⎀⎦ β†βŽ― β†’ 2sinc ( 2 f ) e βˆ’ j 4Ο€ f β„‘ Ξ  ⎑⎣( t βˆ’ 2 ) / 4 ⎀⎦ β†βŽ― β†’ 4sinc ( 4 f ) e βˆ’ j 4Ο€ f β„‘ Ξ  ⎑⎣( t βˆ’ 6 ) / 2 ⎀⎦ β†βŽ― β†’ 2sinc ( 2 f ) e βˆ’ j12Ο€ f β„‘ Ξ  ⎑⎣( t βˆ’ 6 ) / 4 ⎀⎦ β†βŽ― β†’ 4sinc ( 4 f ) e βˆ’ j12Ο€ f

Therefore,

P ( f ) = 2sinc ( 2 f ) eβˆ’ j 4Ο€ f ⎑⎣1 βˆ’ eβˆ’ j 8Ο€ f ⎀⎦ + 4sinc ( 4 f ) eβˆ’ j 4Ο€ f ⎑⎣1 βˆ’ eβˆ’ j 8Ο€ f ⎀⎦ The FS coefficients of a periodic signal x5 (t ) are now obtained as

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Cn = =

{

}

1 2sinc ( 2nf o ) eβˆ’ j 4Ο€ nfo ⎑⎣1 βˆ’ e βˆ’ j 8Ο€ nfo ⎀⎦ + 4sinc ( 4nf o ) eβˆ’ j 4Ο€ nfo ⎑⎣1 βˆ’ eβˆ’ j 8Ο€ nfo ⎀⎦ To

{

}

1 sinc ( n / 4 ) e βˆ’ jΟ€ n /2 ⎑⎣1 βˆ’ e βˆ’ jΟ€ n ⎀⎦ + 2sinc ( n / 2 ) e βˆ’ jΟ€ n /2 ⎑⎣1 βˆ’ e βˆ’ jΟ€ n ⎀⎦ 4

2.15 For the rectangular pulse train in Figure 2.23, compute the Fourier coefficients of the new periodic signal y(t) given by a.

y (t ) = x(t βˆ’ 0.5To )

Solution: ∞ ⎑ ( t βˆ’ nTo ) ⎀ The FS expansion of a periodic pulse train x(t ) = βˆ‘ Ξ  ⎒ βŽ₯ of n =βˆ’βˆž ⎣ Ο„ ⎦ rectangular pulses is given by

∞

x(t ) = βˆ‘ Cnx e j 2Ο€ nfot n =βˆ’βˆž

where the exponential FS coefficients are Cnx =

Ο„ To

sinc ( nf oΟ„ )

Let the FS expansion of a periodic pulse train y (t ) = x(t βˆ’ 0.5To ) be expressed as ∞

y (t ) = βˆ‘ Cny e j 2Ο€ nfot n =βˆ’βˆž

where Cny = =

1 1 y (t )e βˆ’ j 2Ο€ nfot dt = ∫ x(t βˆ’ 0.5To )e βˆ’ j 2Ο€ nfot dt ∫ To To To To 1 βˆ’ j 2Ο€ nf o (Ξ½ + 0.5To ) βˆ’ j 2Ο€ nf o ( 0.5To ) 1 x(Ξ½ )e dΞ½ = e x(Ξ½ )e βˆ’ j 2Ο€ nfoΞ½ dΞ½ ∫ ∫ To To To To Cnx

= e βˆ’ jΟ€ nCnx

Time Shifting introduces a linear phase shift in the FS coefficients; their magnitudes are not changed.

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. y (t ) = x(t )e j 2Ο€ t / To Solution:

Cny = =

1 1 y (t )e βˆ’ j 2Ο€ nfot dt = ∫ x(t )e j 2Ο€ tfo eβˆ’ j 2Ο€ nfot dt ∫ To To To To 1 βˆ’ j 2Ο€ tf o ( n βˆ’1) x(t )e dt ∫ To To

= Cnxβˆ’1 c.

y (t ) = x(Ξ± t )

Solution: Cny =

1 1 y (t )e βˆ’ j 2Ο€ nfot dt = ∫ x (Ξ± t )e βˆ’ j 2Ο€ nfot dt ∫ To To To To βŽ›f ⎞

βˆ’ j 2Ο€ n ⎜ o ⎟ν 1 ⎝α ⎠ ( ) = x Ξ½ e dΞ½ Ξ± To α∫To

= Cnx

Time Scaling does not change FS coefficients but the FS itself has changed as the f 2f 3f harmonic components are now at the frequencies Β± o , Β± o , Β± o ,…

Ξ±

Ξ±

Ξ±

2.16 Draw the one-sided power spectrum for the square wave in Figure P2.5 with duty cycle 50%. Figure P2.5

Solution:

The FS expansion for the square wave is given by

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

x(t ) = βˆ‘ Cn e j 2Ο€ nfot n =βˆ’βˆž

where 1 Cn = ∫ x(t )e βˆ’ j 2Ο€ nfot dt To To T /2 To ⎫βŽͺ 1 ⎧βŽͺ o βˆ’ j 2Ο€ nfot = ⎨A ∫ e dt βˆ’ A ∫ eβˆ’ j 2Ο€ nfot dt ⎬ To βŽͺ⎩ 0 To / 2 βŽͺ⎭

= =

{

To / 2 To A e βˆ’ j 2Ο€ nfot βˆ’ eβˆ’ j 2Ο€ nfot 0 To /2 To ( βˆ’ j 2Ο€ nf o )

}

jA βˆ’ jΟ€ n e βˆ’ 1 βˆ’ eβˆ’ j 2Ο€ n + eβˆ’ jΟ€ n ) ( 2Ο€ n

Therefore, ⎧ j2 A , βŽͺβˆ’ Cn = ⎨ Ο€ n βŽͺ⎩0,

n odd otherwise

Average power in the frequency component at f = nf o equals Cn . Figure 2

displays the one-sided power spectrum for the square wave.

One-sided Power Spectrum of Square wave 0.9 0.8

One-sided Power Spectrum

0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

0

5

10 15 Frequency (xfo)

20

25

a. Calculate the normalized average power. Solution: 25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The normalized average power for a periodic signal x (t) is given by T /2

A2To 1 o 2 = = A2 ( ) Px = x t dt To βˆ’T∫o /2 To b. Determine the 98% power bandwidth of the pulse train. Solution:

n

1 3 5 7 9 11 13 15 17 19 21 2.17

Total Power including current Fourier coefficient 0.8106 0.9006 0.9331 0.9496 0.9596 0.9663 0.9711 0.9747 0.9775 0.9798 0.9816

98% Power bandwidth = 21Γ— f o

Determine the Fourier transforms of the signals shown in Figure P2.6.

Figure P2.6

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution (a)

The pulse x1 (t ) can be expressed as x1 (t ) = A ⎑⎣Π ( t + 0.5 ) βˆ’ Ξ  ( t βˆ’ 0.5 ) ⎀⎦ Now β„‘ Ξ  ( t ) β†βŽ― β†’ sinc ( f )

Applying the time-shifting property of the FT, we obtain β„‘ Ξ  ( t + 0.5 ) β†βŽ― β†’ sinc ( f ) e jΟ€ f β„‘ Ξ  ( t βˆ’ 0.5 ) β†βŽ― β†’ sinc ( f ) e βˆ’ jΟ€ f

Adding

X 1 ( f ) = A ⎑⎣sinc ( f ) e jΟ€ f βˆ’ sinc ( f ) eβˆ’ jΟ€ f ⎀⎦ = Asinc ( f ) ⎑⎣e jΟ€ f βˆ’ eβˆ’ jΟ€ f ⎀⎦ = Aj 2sinc ( f ) sin (Ο€ f ) = j 2Ο€ fA ⎑⎣sinc 2 ( f ) ⎀⎦ Solution (b)

The pulse x2 (t ) can be expressed as x2 (t ) = Ξ  ( 2t ) cos ( 2Ο€ t )

Now 1 β„‘ Ξ  (2t ) β†βŽ― β†’ sinc( f / 2) 2 1 β„‘ cos(2Ο€ t ) β†βŽ― β†’ ⎑⎣δ ( f βˆ’ 1) + Ξ΄ ( f + 1) ⎀⎦ 2 1 1 X 2 ( f ) = β„‘{Ξ  (2t )} βŠ— β„‘{cos(2Ο€ t )} = sinc( f / 2) βŠ— ⎑⎣δ ( f βˆ’ 1) + Ξ΄ ( f + 1) ⎀⎦ 2 2 1 = ⎑⎣sinc ⎑⎣0.5 ( f βˆ’ 1) ⎀⎦ + sinc ⎑⎣0.5 ( f + 1) ⎀⎦ ⎀⎦ 4

Solution (c)

The pulse x3 (t ) can be expressed as

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x3 (t ) = p ( t ) + p (βˆ’t )

where p ( t ) = e βˆ’ t ⎑⎣u ( t ) βˆ’ u ( t βˆ’ 1) ⎀⎦ From Table 2.2, we have β„‘ eβˆ’ t u (t ) β†βŽ― β†’

1 1 + j 2Ο€ f

Using the time-shifting property of the FT, we obtain e u ( t βˆ’ 1) = e e βˆ’t

βˆ’1 βˆ’ ( t βˆ’1)

e βˆ’ j 2Ο€ f e βˆ’(1+ j 2Ο€ f ) = u ( t βˆ’ 1) β†βŽ―β†’ e 1 + j 2Ο€ f 1 + j 2Ο€ f β„‘

βˆ’1

Combining

1 e βˆ’(1+ j 2Ο€ f ) 1 ⎑1 βˆ’ eβˆ’(1+ j 2Ο€ f ) ⎀ p(t ) β†βŽ―β†’ P ( f ) = βˆ’ = ⎦ 1 + j 2Ο€ f 1 + j 2Ο€ f 1 + j 2Ο€ f ⎣ β„‘

By time-reversal property, β„‘ p ( βˆ’t ) β†βŽ― β†’ P (βˆ’ f ) =

1 ⎑1 βˆ’ e βˆ’(1βˆ’ j 2Ο€ f ) ⎀ ⎦ 1 βˆ’ j 2Ο€ f ⎣

X3 ( f ) = P ( f ) + P (βˆ’ f ) = = =

1 1 βˆ’(1βˆ’ j 2Ο€ f ) ⎑1 βˆ’ eβˆ’(1+ j 2Ο€ f ) ⎀ + ⎑ ⎀ ⎦ 1 βˆ’ j 2Ο€ f ⎣1 βˆ’ e ⎦ 1 + j 2Ο€ f ⎣

{(1 βˆ’ j 2Ο€ f ) ⎑⎣1 βˆ’ e 1 + ( 2Ο€ f ) 1

2

2 1 + ( 2Ο€ f )

2

βˆ’ (1+ j 2Ο€ f )

}

⎀ + (1 + j 2Ο€ f ) ⎑1 βˆ’ eβˆ’(1βˆ’ j 2Ο€ f ) ⎀ ⎦ ⎣ ⎦

⎑⎣1 βˆ’ eβˆ’1 cos ( 2Ο€ f ) + 2Ο€ feβˆ’1 sin ( 2Ο€ f ) ⎀⎦

Solution (d)

The pulse x4 (t ) can be expressed as x4 (t ) = Ξ  ( t / 2 ) + Ξ  ( t / 4 )

Now

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


β„‘ Ξ  ( t / 2 ) β†βŽ― β†’ 2sinc ( 2 f ) β„‘ Ξ  ( t / 4 ) β†βŽ― β†’ 4sinc ( 4 f )

Adding X 4 ( f ) = 2sinc ( 2 f ) + 4sinc ( 4 f )

2.18 Use properties of the Fourier transform to compute the Fourier transform of following signals. a. sinc 2 (Wt ) Solution:

Ο„ βŽ› fΟ„ ⎞ β„‘ Ξ› (t / Ο„ ) β†βŽ― β†’ sinc 2 ⎜ ⎟ 2 ⎝ 2 ⎠ Using the duality property, we obtain β„‘ Wsinc 2 (Wt ) β†βŽ― β†’ Ξ› ( f / 2W )

β„‘ β†’ sinc 2 (Wt ) β†βŽ―

1 Ξ› ( f / 2W ) W

Thus the Fourier transform of a sinc2 pulse is a triangular function in frequency. b. Ξ  (t / T ) cos(2Ο€ f c t ) Solution: β„‘ Ξ  ( t / T ) β†βŽ― β†’ Tsinc ( fT )

1 β„‘ cos(2Ο€ f ct ) β†βŽ― β†’ ⎑⎣δ ( f βˆ’ f c ) + Ξ΄ ( f + f c ) ⎀⎦ 2 1 X ( f ) = β„‘{Ξ  ( t / T )} βŠ— β„‘{cos(2Ο€ f c t )} = Tsinc ( fT ) βŠ— ⎑⎣δ ( f βˆ’ f c ) + Ξ΄ ( f + f c ) ⎀⎦ 2 T sin c ⎑⎣T ( f βˆ’ f c ) ⎀⎦ + sinc ⎑⎣T ( f + f c ) ⎀⎦ = 2

{

c.

}

( e cos10Ο€ t ) u (t ) βˆ’t

Solution:

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


From Table 2.2, β„‘ eβˆ’ t u (t ) β†βŽ― β†’

1 1 + j 2Ο€ f

Now

{

} {

}

β„‘ ( e βˆ’ t u (t ) ) cos10Ο€ t = β„‘ ( e βˆ’t u (t ) ) βŠ— β„‘{cos10Ο€ t} =

1 1 βŠ— ⎑⎣δ ( f βˆ’ 5 ) + Ξ΄ ( f + 5 ) ⎀⎦ 1 + j 2Ο€ f 2

=

⎀ 1⎑ 1 1 + ⎒ βŽ₯ 2 ⎣1 + j 2Ο€ ( f βˆ’ 5 ) 1 + j 2Ο€ ( f + 5 ) ⎦

=

1 ⎑1 + j 2Ο€ ( f + 5 ) + 1 + j 2Ο€ ( f βˆ’ 5 ) ⎀ ⎒ βŽ₯ 2 2 2 ⎒⎣ (1 + j 2Ο€ f ) βˆ’ ( j 2Ο€ 5) βŽ₯⎦

⎑ ⎀ 1 + j 2Ο€ f =⎒ βŽ₯ 2 2 ⎒⎣ (1 + j 2Ο€ f ) + 100Ο€ βŽ₯⎦ ⎑ ⎀ 1 + j 2Ο€ f βŽ₯ =⎒ 2 2 2 ⎒⎣ (1 + 100Ο€ ) + j 4Ο€ f βˆ’ 4Ο€ f βŽ₯⎦ d.

teβˆ’ t u (t )

Solution:

Applying the differentiation in frequency domain property in (2.85), we obtain β„‘ β†’ te βˆ’t u (t ) β†βŽ―

j d β„‘{e βˆ’ t u (t )} 2Ο€ df

That is, βˆ’1 ⎑ ⎀ j d ⎣(1 + j 2Ο€ f ) ⎦ j 1 j 2Ο€ β„‘{te u (t )} = =βˆ’ 2 2Ο€ df 2Ο€ (1 + j 2Ο€ f ) βˆ’t

=

e. e βˆ’Ο€ t

1

(1 + j 2Ο€ f )

2

2

Solution:

30 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

X(f ) = ∫ e

βˆ’Ο€ t 2

e

βˆ’ j 2Ο€ ft

βˆ’βˆž

∞

dt = ∫ e

(

βˆ’Ο€ t 2 + j 2 ft

) dt

βˆ’βˆž

Multiplying the right hand side by e βˆ’Ο€ f eΟ€ f yields 2

X(f ) =e

βˆ’Ο€ f 2

∞

( ∫e

βˆ’Ο€ t 2 + j 2 ft βˆ’ f 2

) dt = e βˆ’Ο€ f

βˆ’βˆž

2

∞ 2

βˆ’Ο€ ( t + jf ) dt ∫e 2

βˆ’βˆž

Substituting t + jf = Ξ½ , we obtain X(f ) =e

βˆ’Ο€ f 2

∞

βˆ’Ο€Ξ½ ∫ e dΞ½ 2

βˆ’βˆž

1

f.

4sinc (t ) cos (100Ο€ t ) 2

Solution:

βŽ› f ⎞ β„‘ 4sinc 2 ( t ) β†βŽ― β†’ 4Ξ› ⎜ ⎟ ⎝2⎠ 1 β„‘ cos (100Ο€ t ) β†βŽ― β†’ ⎑⎣δ ( f βˆ’ 50 ) + Ξ΄ ( f + 50 ) ⎀⎦ 2 βŽ› f ⎞ 1 X ( f ) = β„‘{4sinc 2 ( t )} βŠ— β„‘{cos (100Ο€ t )} = 4Ξ› ⎜ ⎟ βŠ— ⎑⎣δ ( f βˆ’ 50 ) + Ξ΄ ( f + 50 ) ⎀⎦ ⎝2⎠ 2

{

}

= 2 Ξ› ⎑⎣0.5 ( f βˆ’ 50 ) ⎀⎦ + Ξ› ⎑⎣ 0.5 ( f βˆ’ 50 ) ⎀⎦ 2.19 Find the following convolutions: a. sinc(Wt ) βŠ— sinc(2Wt ) Solution:

We use the convolution property of Fourier transform in (2.79). β„‘ x(t ) βŠ— y (t ) β†βŽ―β†’ X ( f )Y ( f )

Now β„‘ β†’ sinc(2Wt ) β†βŽ―

1 Ξ  ( f / 2W ) 2W

31 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Therefore, 1 1 Ξ ( f / W ) Γ— Ξ  ( f / 2W ) 2W W 1 = Ξ ( f / W ) 2W 2

β„‘ β†’ sinc(Wt ) βŠ— sinc(2Wt ) β†βŽ―

b. sinc 2 (Wt ) βŠ— sinc(2Wt ) Solution:

Again using the convolution property of Fourier transform 1 1 Ξ› ( f / 2W ) Γ— Ξ  ( f / 2W ) 2W W 1 = Ξ› ( f / 2W ) 2W 2

β„‘ β†’ sinc 2 (Wt ) βŠ— sinc(2Wt ) β†βŽ―

2.20 The FT of a signal x(t ) is described by X(f ) =

1 5 + j 2Ο€ f

Determine the FT V ( f ) of the following signals: a. v(t ) = x(5t βˆ’ 1) Solution:

⎑ βŽ› 1 ⎞⎀ v(t ) = x(5t βˆ’ 1) = x ⎒5 ⎜ t βˆ’ ⎟ βŽ₯ ⎣ ⎝ 5 ⎠⎦ Let β„‘ y (t ) = x(5t ) β†βŽ― β†’Y ( f ) =

=

1 βŽ› f ⎞ 1 1 X⎜ ⎟= 5 ⎝ 5 ⎠ 5 ( j 2Ο€ f / 5 ) + 5 1 j 2Ο€ f + 25

βˆ’ j 2Ο€ f βˆ’ j 2Ο€ f 1 βŽ› 1⎞ β„‘ 5 = v(t ) = y ⎜ t βˆ’ ⎟ β†βŽ―β†’ V ( f ) = Y ( f )e e 5 j 2Ο€ f + 25 ⎝ 5⎠

32 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. v(t ) = x(t ) cos(100Ο€ t ) Solution:

⎑⎣ x(t )e j100Ο€ t + x(t )eβˆ’ j100Ο€ t ⎀⎦ v(t ) = x(t ) cos(100Ο€ t ) = 2 Now ⎑⎣ x(t )e j100Ο€ t + x(t )eβˆ’ j100Ο€ t ⎀⎦ β„‘ 1 β†βŽ―β†’V ( f ) = ⎑⎣ X ( f βˆ’ 50 ) + X ( f + 50 ) ⎀⎦ 2 2 1 1 = + j 2Ο€ ( f βˆ’ 50 ) + 5 j 2Ο€ ( f + 50 ) + 5 After simplification, we get V( f ) =

j 2Ο€ f + 5 j 20Ο€ f + (Ο€ 2104 + 25 βˆ’ 4Ο€ 2 f 2 )

c. v(t ) = x(t )e j10t Solution: 5⎞ 1 βŽ› β„‘ β†’V ( f ) = X ⎜ f βˆ’ ⎟ = v(t ) = x(t )e j10t β†βŽ― 5⎞ Ο€βŽ  βŽ› ⎝ j 2Ο€ ⎜ f βˆ’ ⎟ + 5 Ο€βŽ  ⎝ dx(t ) d. v(t ) = dt

Solution:

Using the differentiation property of FT V ( f ) = j 2Ο€ fX ( f ) =

d β„‘ x(t ) β†βŽ―β†’ j 2Ο€fX ( f ) , we obtain dt

j 2Ο€ f 5 + j 2Ο€ f

e. v(t ) = x(t ) βŠ— u (t ) Solution: β„‘ Using the convolution property of FT x(t ) βŠ— y (t ) β†βŽ―β†’ X ( f )Y ( f ) , we can write

33 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


V ( f ) = X ( f )U ( f ) =

βŽ›1 1 1 ⎞ ⎜ Ξ΄( f )+ ⎟ j 2Ο€ f ⎠ 5 + j 2Ο€ f ⎝ 2

1 1 1 = Ξ΄(f ) + 2 5 + j 2Ο€ f j 2Ο€ f ( 5 + j 2Ο€ f ) =

1 1 Ξ΄(f )+ 10 j 2Ο€ f ( 5 + j 2Ο€ f )

2.21 Consider the delay element y (t ) = x(t βˆ’ 3) . a. What is the impulse response h(t)? Solution:

Since y (t ) = h(t ) βŠ— x(t ) = x(t βˆ’ 3) , the impulse response of the delay element is given from (2.16) as h(t ) = Ξ΄ (t βˆ’ 3) b. What is the magnitude and phase response function of the system? Solution:

H ( f ) = β„‘{Ξ΄ (t βˆ’ 3)} = e βˆ’ j 6Ο€ f H( f ) =1 H ( f ) = βˆ’6Ο€ f 2.22 The periodic input x(t ) to an LTI system is displayed in Figure P2.7. The frequency response function of the system is given by H( f ) =

2 2 + j 2Ο€ f

Figure P2.7

34 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Write the complex exponential FS of input x(t ) . Solution:

The input x(t ) is rectangular pulse train in Example 2.24 shifted by To / 4 and duty cycle

Ο„

= 0.5 . That is,

To

∞ ⎑ ( t βˆ’ nTo βˆ’ To / 4 ) ⎀ x(t ) = gTo ( t βˆ’ To / 4 ) = βˆ‘ Ξ  ⎒ βŽ₯ 0.5To n =βˆ’βˆž ⎣ ⎦

The complex exponential FS of gTo (t ) from Example 2.24 with To = 2 ( f o = 0.5 ) and

Ο„

To

= 0.5 is given by

∞

gTo (t ) = 0.5 βˆ‘ sinc ( 0.5n )e jΟ€ nt n =βˆ’βˆž

In Exercise 2.15(a), we showed that time shifting introduces a linear phase shift in the FS coefficients; their magnitudes are not changed. The phase shift is equal to e βˆ’ j 2Ο€ nfou for a time shift of u. The exponential FS coefficients x(t ) are Cn = 0.5sinc ( 0.5n ) e

βˆ’ j 2Ο€ nf o ( 0.25To )

= e βˆ’ jΟ€ n /2 0.5sinc ( 0.5n )

∞

x(t ) = 0.5 βˆ‘ ⎑⎣e βˆ’ jΟ€ n /2sinc ( 0.5n ) ⎀⎦e jΟ€ nt n =βˆ’βˆž

b. Plot the magnitude and phase response functions for H ( f ) . Solution:

H( f ) =

2 1 = 2 + j 2Ο€ f 1 + jΟ€ f

H ( nf o ) =

1 1 = 1 + jΟ€ f 1 + jΟ€ nf o

35 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0

0 -10

-5 Phase Response(degrees)

Magnitude Response(dB)

-20 -10

-15

-20

-30 -40 -50 -60 -70

-25 -80 -30

0

2

4 6 Frequency (f)

8

-90

0

2

4 6 Frequency (f)

8

c. Compute the complex exponential FS of the output y (t ) . Solution:

Using (2.114), the output of an LTI system to the input ∞

x(t ) = βˆ‘ ⎑⎣0.5eβˆ’ jΟ€ n / 2sinc ( 0.5n ) ⎀⎦e jΟ€ nt n =βˆ’βˆž

Cn

is given by ⎑ ⎀ βˆ’ jΟ€ n /2 ⎒ βŽ₯ 0.5 e y (t ) = βˆ‘ Cn H (0.5n)e jΟ€ nt = βˆ‘ ⎒ sinc ( 0.5n ) βŽ₯ e jΟ€ nt n =βˆ’βˆž n =βˆ’βˆž ⎒1 + j 05Ο€ n βŽ₯ FS coefficient of y ( t ) ⎣⎒ ⎦βŽ₯ ∞

∞

2.23 The frequency response of an ideal LP filter is given by ⎧βŽͺ5e βˆ’ j 0.0025Ο€ f , H( f ) = ⎨ βŽͺ⎩0,

f < 1000 Hz f > 1000 Hz

Determine the output signal in each of the following cases: a.

x(t ) = 5sin ( 400Ο€ t ) + 2 cos (1200Ο€ t βˆ’ Ο€ / 2 ) βˆ’ cos ( 2200Ο€ t + Ο€ / 4 )

36 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

⎧βŽͺ5, H( f ) = ⎨ βŽͺ⎩0, βŽ§βˆ’ βŽͺ 0.0025Ο€ f , H( f ) = ⎨ βŽͺ⎩0, Since H (200) = 5 and

f < 1000 Hz f > 1000 Hz f < 1000 Hz f > 1000 Hz

H (200) = βˆ’Ο€ / 2 , the output of the system for an input

5sin(400Ο€t) can now be expressed using (2.117) as 25sin(400Ο€t βˆ’ Ο€/2). Next H (600) = 5 and

H (600) = βˆ’3Ο€ / 2 = Ο€ / 2 , the output of the system for

an input 2 cos (1200Ο€ t βˆ’ Ο€ / 2 ) can now be expressed using (2.117) as 10 cos (1200Ο€ t βˆ’ Ο€ / 2 + Ο€ / 2 ) = 10 cos (1200Ο€ t ) .

Now H (1100) = 0. So the LP filter doesn’t pass cos ( 2200Ο€ t + Ο€ / 4 ) . The output of the LP filter is therefore given by y (t ) = 25sin ( 400Ο€ t βˆ’ Ο€ / 2 ) + 10 cos (1200Ο€ t )

b. x(t ) = 2sin(400Ο€ t ) +

sin ( 2200Ο€ t ) Ο€t

Solution:

Since H (200) = 5 and

H (200) = βˆ’Ο€ / 2 , the output of the system for an input

2sin(400Ο€t) is 10sin(400Ο€t βˆ’ Ο€/2). To calculate the response to

sin ( 2200Ο€ t ) , we note that Ο€t

sin ( 2200Ο€ t ) βŽ› f ⎞ β„‘ = 2200 Γ— sinc ( 2200t ) β†βŽ― β†’Ξ βŽœ ⎟ Ο€t ⎝ 2200 ⎠

In frequency domain, the output of LP filter to

sin ( 2200Ο€ t ) is Ο€t

βŽ› f ⎞ βˆ’ j 0.0025Ο€ f βŽ› f ⎞ βŽ› f ⎞ βˆ’ j 0.0025Ο€ f Π⎜ Π⎜ ⎟ 5e ⎟ = 5Ξ  ⎜ ⎟e ⎝ 2200 ⎠ ⎝ 2000 ⎠ ⎝ 2000 ⎠

37 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Now βŽ› f ⎞ βˆ’ j 0.0025Ο€ f β„‘ Π⎜ β†βŽ―β†’ 2000sinc ⎑⎣ 2000 ( t βˆ’ 0.00125 ) ⎀⎦ ⎟e ⎝ 2000 ⎠ The output of the LP filter is therefore given by y (t ) = 10sin ( 400Ο€ t βˆ’ Ο€ / 2 ) + 10000sinc ⎑⎣ 2000 ( t βˆ’ 0.00125 ) ⎀⎦ c.

x(t ) = cos(400Ο€ t ) +

sin (1000Ο€ t ) Ο€t

Solution:

Since H (200) = 5 and

H (200) = βˆ’Ο€ / 2 , the output of the system for an input

cos(400Ο€ t ) is 5cos ( 400Ο€ t βˆ’ Ο€ / 2 ) . To calculate the response to

sin (1000Ο€ t ) , we note that Ο€t

sin (1000Ο€ t ) βŽ› f ⎞ β„‘ = 1000 Γ— sinc (1000t ) β†βŽ― β†’Ξ  ⎜ ⎟ Ο€t ⎝ 1000 ⎠

In frequency domain, the output of LP filter to

sin (1000Ο€ t ) is Ο€t

βŽ› f ⎞ βŽ› f ⎞ βˆ’ j 0.0025Ο€ f 5eβˆ’ j 0.0025Ο€ f Ξ  ⎜ ⎟ = 5Ξ  ⎜ ⎟e ⎝ 1000 ⎠ ⎝ 1000 ⎠ Now βŽ› f ⎞ βˆ’ j 0.0025Ο€ f β„‘ Π⎜ β†βŽ―β†’1000sinc ⎑⎣1000 ( t βˆ’ 0.00125 ) ⎀⎦ ⎟e ⎝ 1000 ⎠ The output of the LP filter is therefore given by y (t ) = 5cos ( 400Ο€ t βˆ’ Ο€ / 2 ) + 5000sinc ⎑⎣1000 ( t βˆ’ 0.00125 ) ⎀⎦ d. x(t ) = 5cos(800Ο€ t ) + 2Ξ΄ (t ) Solution:

38 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Since H (400) = 5 and

H (400) = βˆ’Ο€ , the output of the system for an input

5cos ( 800Ο€ t ) is 25cos ( 800Ο€ t βˆ’ Ο€ ) . The response of the system to Ξ΄ (t ) is h(t ) .

The impulse response of the ideal LP filter is 10000sinc ⎑⎣ 2000 ( t βˆ’ 0.00125 ) ⎀⎦ . Combining y (t ) = 25cos ( 800Ο€ t βˆ’ Ο€ ) + 2h(t ) = 25cos ( 800Ο€ t βˆ’ Ο€ ) + 20 Γ— 103 sinc ⎑⎣ 2000 ( t βˆ’ 0.00125 ) ⎀⎦ 2.24 The frequency response of an ideal HP filter is given by ⎧βŽͺ4, H( f ) = ⎨ βŽͺ⎩0,

f > 20 Hz, f < 20 Hz

Determine the output signal y (t ) for the input a.

x(t ) = 5 + 2 cos ( 50Ο€ t βˆ’ Ο€ / 2 ) βˆ’ cos ( 75Ο€ t + Ο€ / 4 )

Solution: y (t ) = 8cos ( 50Ο€ t βˆ’ Ο€ / 2 ) βˆ’ 4 cos ( 75Ο€ t + Ο€ / 4 )

b. x(t ) = cos ( 20Ο€ t βˆ’ 3Ο€ / 4 ) + 3cos (100Ο€ t + Ο€ / 4 ) Solution: y (t ) = 12 cos (100Ο€ t + Ο€ / 4 )

2.25 The frequency response of an ideal BP filter is given by ⎧βŽͺ2eβˆ’ j 0.0005Ο€ f , 900< f < 1000 Hz, H( f ) = ⎨ otherwise βŽͺ⎩0, Determine the output signal y (t ) for the input a.

x(t ) = 2 cos (1850Ο€ t βˆ’ Ο€ / 2 ) βˆ’ cos (1900Ο€ t + Ο€ / 4 )

Solution: H (925) = 2 and H (950) = 2 .

39 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


H ( f ) = βˆ’0.0005Ο€ f . Therefore, H (925) = βˆ’0.0005Ο€ f = βˆ’0.0005Ο€ Γ— 925 = βˆ’0.462Ο€ H (950) = βˆ’0.0005Ο€ f = βˆ’0.0005Ο€ Γ— 950 = βˆ’0.475Ο€ y (t ) = 4 cos (1850Ο€ t βˆ’ Ο€ / 2 βˆ’ 0.462Ο€ ) βˆ’ 2 cos (1900Ο€ t + Ο€ / 4 βˆ’ 0.475Ο€ )

b. x(t ) = sinc ( 60t ) cos(1900Ο€ t ) Solution:

X(f ) = =

1 βŽ› f ⎞ 1 Ξ  ⎜ ⎟ βŠ— [Ξ΄ ( f βˆ’ 950) + Ξ΄ ( f + 950) ] 60 ⎝ 60 ⎠ 2

1 ⎑ βŽ› f βˆ’ 950 ⎞ βŽ› f + 950 ⎞ ⎀ Π⎜ ⎟+Π⎜ ⎟βŽ₯ ⎒ 120 ⎣ ⎝ 60 ⎠ ⎝ 60 ⎠ ⎦

Y( f )= H( f )X ( f ) = 2e βˆ’ j 0.0005Ο€ f Γ—

1 ⎑ βŽ› f βˆ’ 950 ⎞ βŽ› f + 950 ⎞ ⎀ Γ— ⎒Π ⎜ ⎟+Π⎜ ⎟βŽ₯ 120 ⎣ ⎝ 60 ⎠ ⎝ 60 ⎠ ⎦

Now 1 βŽ› f βˆ’ 950 ⎞ β„‘ j1900Ο€ t Γ—Ξ βŽœ ⎟ β†βŽ―β†’ sinc ( 60t ) e 60 ⎝ 60 ⎠ e βˆ’ j 0.0005Ο€ f

1 βŽ› f βˆ’ 950 ⎞ β„‘ j1900Ο€ ( t βˆ’ 0.00025 ) Γ—Ξ βŽœ ⎟ β†βŽ―β†’ sinc ⎑⎣60 ( t βˆ’ 0.00025 ) ⎀⎦ e 60 ⎝ 60 ⎠

Similarly 1 βŽ› f + 950 ⎞ β„‘ βˆ’ j1900Ο€ t Γ—Ξ βŽœ ⎟ β†βŽ―β†’ sinc ( 60t ) e 60 ⎝ 60 ⎠ eβˆ’ j 0.0005Ο€ f

1 βŽ› f + 950 ⎞ β„‘ βˆ’ j1900Ο€ ( t βˆ’ 0.00025 ) Γ—Ξ βŽœ ⎟ β†βŽ―β†’ sinc ⎑⎣ 60 ( t βˆ’ 0.00025 ) ⎀⎦ e 60 ⎝ 60 ⎠

Therefore,

y (t ) = sinc ⎑⎣60 ( t βˆ’ 0.00025 ) ⎀⎦ ⎑⎣e j1900Ο€ ( t βˆ’0.00025) + e βˆ’ j1900Ο€ ( t βˆ’0.00025) ⎀⎦ = 2sinc ⎑⎣60 ( t βˆ’ 0.00025 ) ⎀⎦ cos ⎑⎣1900Ο€ ( t βˆ’ 0.00025 ) ⎀⎦

40 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c.

x(t ) = sinc 2 ( 30t ) cos(1900Ο€ t )

Solution:

X(f ) = =

1 βŽ› f ⎞ 1 Ξ› ⎜ ⎟ βŠ— [Ξ΄ ( f βˆ’ 950) + Ξ΄ ( f + 950) ] 30 ⎝ 60 ⎠ 2 1 ⎑ βŽ› f βˆ’ 950 ⎞ βŽ› f + 950 ⎞ ⎀ Ξ›βŽœ ⎟ + Ξ›βŽœ ⎟βŽ₯ ⎒ 60 ⎣ ⎝ 60 ⎠ ⎝ 60 ⎠ ⎦

Y( f )= H( f )X ( f ) = 2e βˆ’ j 0.0005Ο€ f Γ—

1 ⎑ βŽ› f βˆ’ 950 ⎞ βŽ› f + 950 ⎞ ⎀ Ξ›βŽœ ⎟+ Ξ›βŽœ ⎟βŽ₯ ⎒ 60 ⎣ ⎝ 60 ⎠ ⎝ 60 ⎠ ⎦

Now 1 βŽ› f βˆ’ 950 ⎞ β„‘ 2 j1900Ο€ t Γ—Ξ›βŽœ ⎟ β†βŽ―β†’ sinc ( 30t ) e 30 ⎝ 60 ⎠ e βˆ’ j 0.0005Ο€ f

1 βŽ› f βˆ’ 950 ⎞ β„‘ j1900Ο€ ( t βˆ’ 0.00025) 2 Γ—Ξ›βŽœ ⎟ β†βŽ―β†’ sinc ⎑⎣30 ( t βˆ’ 0.00025 ) ⎀⎦ e 30 ⎝ 60 ⎠

Similarly 1 βŽ› f + 950 ⎞ β„‘ 2 βˆ’ j1900Ο€ t Γ—Ξ βŽœ ⎟ β†βŽ―β†’ sinc ( 30t ) e 30 ⎝ 60 ⎠ e βˆ’ j 0.0005Ο€ f

1 βŽ› f + 950 ⎞ β„‘ βˆ’ j1900Ο€ ( t βˆ’ 0.00025 ) 2 Γ—Ξ βŽœ ⎟ β†βŽ―β†’ sinc ⎑⎣30 ( t βˆ’ 0.00025 ) ⎀⎦ e 30 ⎝ 60 ⎠

Therefore, y (t ) = sinc 2 ⎑⎣30 ( t βˆ’ 0.00025 ) ⎀⎦ ⎑⎣ e j1900Ο€ ( t βˆ’0.00025) + eβˆ’ j1900Ο€ ( t βˆ’0.00025) ⎀⎦ = 2sinc 2 ⎑⎣30 ( t βˆ’ 0.00025 ) ⎀⎦ cos ⎑⎣1900Ο€ ( t βˆ’ 0.00025 ) ⎀⎦ 2.26 The signal 2e βˆ’2t u (t ) is input to an ideal LP filter with passband edge frequency equal to 5 Hz. Find the energy density spectrum of the output of the filter. Calculate the energy of the input signal and the output signal. Solution:

41 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

∞

∞

e βˆ’4t =1 Ex = ∫ 2e u (t ) dt = ∫ 4e dt = 4 βˆ’4 0 βˆ’βˆž 0 2

βˆ’2 t

β„‘ x(t ) = 2e βˆ’2t u (t ) β†βŽ― β†’

βˆ’4 t

2 2 + j 2Ο€ f 2

The energy density spectrum of the output y(t), Y ( f ) , is related to the energy density spectrum of the input x(t) 2

2 βŽ› f ⎞ Y( f ) = H( f ) X( f ) = Π⎜ ⎟ ⎝ 10 ⎠ 2 + j 2Ο€ f 2

2

∞

2

2

∞

∞

2

2

2 βŽ› f ⎞ E y = ∫ y (t ) dt = ∫ Y ( f ) df = ∫ Ξ  ⎜ ⎟ df ⎝ 10 ⎠ 2 + j 2Ο€ f βˆ’βˆž βˆ’βˆž βˆ’βˆž 2

2

2

5

5

1 1 df = 2∫ df =∫ 1 + jΟ€ f 1+ Ο€ 2 f 2 0 βˆ’5

Making change of variables Ο€ f = u β‡’ df = Ey =

2

5Ο€

1

2

du = tan ( u ) Ο€ ∫ 1+ u Ο€ 2

0

βˆ’1

5Ο€ 0

=

2

Ο€

1

Ο€

du , we obtain

(1.507 ) = 0.9594

Thus output of the LP filter contains 96% of the input signal energy. 2.27 Calculate and sketch the power spectral density of the following signals. Calculate the normalized average power of the signal in each case. a. x(t ) = 2 cos (1000Ο€ t βˆ’ Ο€ / 2 ) βˆ’ cos (1850Ο€ t + Ο€ / 4 ) x1 ( t )

x2 ( t )

Solution: T /2

1 Rx (Ο„ ) = lim x(t ) x(t βˆ’ Ο„ )dt = Rx1 (Ο„ ) + Rx2 (Ο„ ) βˆ’ Rx1x2 (Ο„ ) βˆ’ Rx2 x1 (Ο„ ) T β†’βˆž T ∫ βˆ’T /2 Now

42 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


T /2

1 Rx1 (Ο„ ) = lim x1 (t ) x1 (t βˆ’ Ο„ )dt T β†’βˆž T ∫ βˆ’T /2 1 Ο€βŽž Ο€βŽ€ βŽ› ⎑ 2 cos ⎜1000Ο€ t βˆ’ ⎟ 2 cos ⎒1000Ο€ ( t βˆ’ Ο„ ) βˆ’ βŽ₯ dt T β†’βˆž T ∫ 2⎠ 2⎦ ⎝ ⎣ βˆ’T /2 T /2

= lim

T /2

{

}

1 cos (1000πτ ) + cos ⎑⎣1000Ο€ ( 2t βˆ’ Ο„ ) βˆ’ Ο€ ⎀⎦ dt T β†’βˆž T ∫ βˆ’T /2

= 2 lim

= 2 cos (1000πτ )

The second term is zero because it integrates a sinusoidal function over a period. Similarly, T /2

1 1 x2 (t ) x2 (t βˆ’ Ο„ )dt = cos (1850πτ ) ∫ T β†’βˆž T 2 βˆ’T / 2

Rx2 (Ο„ ) = lim

The cross-correlation term T /2

T /2

1 1 x1 (t ) x2 (t βˆ’ Ο„ ) = lim 2 cos (1000Ο€ t βˆ’ Ο€ / 2 ) cos ⎑⎣1850Ο€ ( t βˆ’ Ο„ ) + Ο€ / 4 ⎀⎦dt ∫ T β†’βˆž T T β†’βˆž T ∫ βˆ’T / 2 βˆ’T / 2

Rx1 x2 (Ο„ ) = lim

T /2

1 = lim {cos (850Ο€ t βˆ’ 1850πτ + 3Ο€ / 4 ) + sin ( 2850Ο€ t βˆ’ 1850πτ βˆ’ Ο€ / 4 )}dt T β†’βˆž T ∫ βˆ’T / 2 is zero because it integrates a sinusoidal function over a period in each case. Similarly, it can be shown that all other cross-correlation terms are zero. Therefore, 1 Rx (Ο„ ) = Rx1 (Ο„ ) + Rx2 (Ο„ ) = 2 cos (1000πτ ) + cos (1850πτ ) 2

1 ⎧ ⎫ Gx ( f ) = β„‘{Rx (Ο„ )} = β„‘ ⎨2 cos (1000πτ ) + cos (1850πτ ) ⎬ 2 ⎩ ⎭ 1 = [Ξ΄ ( f βˆ’ 500) + Ξ΄ ( f + 500) ] + [Ξ΄ ( f βˆ’ 925) + Ξ΄ ( f + 925) ] 4 The normalized average power is obtained by using (2.172) as

43 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

∞

βˆ’βˆž

βˆ’βˆž

Px = ∫ Gx ( f )df = ∫ [Ξ΄ ( f βˆ’ 500) + Ξ΄ ( f + 500) ] df +

∞

1 ∫ [Ξ΄ ( f βˆ’ 925) + Ξ΄ ( f + 925)] df 4 βˆ’βˆž

1 1 5 = 1+1+ + = 4 4 2

Power Spectral Density

1

0.8

0.6

0.4

0.2

0 -1

-0.8

-0.6

-0.4

-0.2 0 0.2 Frequency (kHz)

0.4

0.6

0.8

1

b. x(t ) = [1 + sin(200Ο€ t ) ] cos(2000Ο€ t ) Solution:

x(t ) = [1 + sin(200Ο€ t ) ] cos(2000Ο€ t ) = cos(2000Ο€ t ) + sin(200Ο€ t ) cos(2000Ο€ t ) 1 1 = cos(2000Ο€ t ) + sin ( 2200Ο€ t ) βˆ’ sin (1800Ο€ t ) 2 2 x (t ) 1

x2 ( t )

x3 ( t )

Now T /2

1 Rx (Ο„ ) = lim x(t ) x(t βˆ’ Ο„ )dt = Rx1 (Ο„ ) + Rx2 (Ο„ ) + Rx3 (Ο„ ) T β†’βˆž T ∫ βˆ’T /2 where 1 cos ( 2000πτ ) 2 1 Rx2 (Ο„ ) = cos ( 2200πτ ) 8 1 Rx3 (Ο„ ) = cos (1800πτ ) 8

Rx1 (Ο„ ) =

44 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Therefore, 1 1 1 Rx (Ο„ ) = cos ( 2000πτ ) + cos ( 2200πτ ) + cos (1800πτ ) 2 8 8 1 1 ⎧1 ⎫ Gx ( f ) = β„‘{Rx (Ο„ )} = β„‘ ⎨ cos ( 2000πτ ) + cos ( 2200πτ ) + cos (1800πτ ) ⎬ 8 8 ⎩2 ⎭ 1 1 = [Ξ΄ ( f βˆ’ 1000) + Ξ΄ ( f + 1000) ] + [Ξ΄ ( f βˆ’ 1100) + Ξ΄ ( f + 1100) ] 4 16 1 + [Ξ΄ ( f βˆ’ 900) + Ξ΄ ( f + 900) ] 16

The normalized average power is obtained by using (2.172) as ∞

∞

∞

1 1 Px = ∫ Gx ( f )df = ∫ [Ξ΄ ( f βˆ’ 1000) + Ξ΄ ( f + 1000) ] df + ∫ [Ξ΄ ( f βˆ’ 1100) + Ξ΄ ( f + 1100)] df 4 βˆ’βˆž 16 βˆ’βˆž βˆ’βˆž ∞

+

1 1 1 1 3 [Ξ΄ ( f βˆ’ 900) + Ξ΄ ( f + 900)] df = + + = ∫ 16 βˆ’βˆž 2 8 8 4

Power Spectral Density

0.25

0.2

0.15

0.1

0.05

0

c.

-1

-0.8

-0.6

-0.4

-0.2 0 0.2 Frequency (kHz)

0.4

0.6

0.8

1

x(t ) = cos 2 ( 200Ο€ t ) sin (1800Ο€ t )

Solution:

45 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1 1 1 ⎑⎣1 + cos ( 400Ο€ t ) ⎀⎦ sin (1800Ο€ t ) = sin (1800Ο€ t ) + sin (1800Ο€ t ) cos ( 400Ο€ t ) 2 2 2 1 1 1 = sin (1800Ο€ t ) + sin (1400Ο€ t ) + sin ( 2200Ο€ t ) 2 4 4

x(t ) =

Now

Rx (Ο„ ) = Rx1 (Ο„ ) + Rx2 (Ο„ ) + Rx3 (Ο„ ) where 1 Rx1 (Ο„ ) = cos (1800πτ ) 8

Rx2 (Ο„ ) =

1 cos (1400πτ ) 32

Rx3 (Ο„ ) =

1 cos ( 2200πτ ) 32

Therefore, 1 1 1 Rx (Ο„ ) = cos (1800πτ ) + cos (1400πτ ) + cos ( 2200πτ ) 8 32 32

1 1 ⎧1 ⎫ Gx ( f ) = β„‘{Rx (Ο„ )} = β„‘ ⎨ cos (1800πτ ) + cos (1400πτ ) + cos ( 2200πτ ) ⎬ 32 32 ⎩8 ⎭ 1 1 = [Ξ΄ ( f βˆ’ 900) + Ξ΄ ( f + 900) ] + [Ξ΄ ( f βˆ’ 700) + Ξ΄ ( f + 700) ] 16 64 1 + [Ξ΄ ( f βˆ’ 1100) + Ξ΄ ( f + 1100) ] 64 The normalized average power is obtained by using (2.172) as ∞

∞

∞

1 1 Px = ∫ Gx ( f )df = [Ξ΄ ( f βˆ’ 900) + Ξ΄ ( f + 900)]df + ∫ [Ξ΄ ( f βˆ’ 700) + Ξ΄ ( f + 700)] df ∫ 16 βˆ’βˆž 64 βˆ’βˆž βˆ’βˆž ∞

+

1 1 1 1 3 [Ξ΄ ( f βˆ’ 1100) + Ξ΄ ( f + 1100)] df = + + = ∫ 64 βˆ’βˆž 8 32 32 16

46 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0.1 0.09

Power Spectral Density

0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

47 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 4 4.1

The message signal s1 (t ) = sin(100Ο€ t ) modulates the carrier c(t ) = cos(36000Ο€ t ) to generate the DSB-SC AM signal. a. Sketch the spectrum of message signal. Solution:

S1 ( f ) =

1 ⎑δ ( f βˆ’ 50 ) βˆ’ Ξ΄ ( f + 50 ) ⎀⎦ 2j ⎣ S1 ( f ) 1/ 2

βˆ’50

50

0

f

(S1 ( f ) Ο€ /2 50 βˆ’50

f

βˆ’Ο€ / 2

b. Determine and sketch the spectrum of the resulting DSB-SC AM signal. Identify the upper and lower sidebands in the spectrum. Solution: x1 (t ) = s1 (t )cos(36000Ο€ t ) = sin(100Ο€ t )cos(36000Ο€ t )

=

1 [sin(36100Ο€ t ) βˆ’ sin(35900Ο€ t )] 2

Taking the FT of both sides, we obtain

X1 ( f ) =

1 ⎑δ ( f βˆ’ 18050 ) βˆ’ Ξ΄ ( f + 18050 ) βˆ’ Ξ΄ ( f βˆ’ 17950 ) + Ξ΄ ( f + 17950 ) ⎀⎦ 4j ⎣

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


X1 ( f ) USB

LSB

USB

LSB 1/ 4

βˆ’18.05

f (kHz)

βˆ’17.95

0

17.95

18.05

(X 1 ( f )

Ο€ /2 18.05

βˆ’17.95 βˆ’18.05

f (kHz)

0

17.95

Ο€ /2

c. Repeat (a) and (b) for s2 (t ) = cos(600Ο€ t ) cos(1800Ο€ t ) . Solution:

s2 (t ) = cos(600Ο€ t )cos(1800Ο€ t ) =

1 [cos(1200Ο€ t ) + cos(2400Ο€ t )] 2

1 S2 ( f ) = ⎑⎣δ ( f βˆ’ 600 ) + Ξ΄ ( f + 600 ) + Ξ΄ ( f βˆ’ 1200 ) + Ξ΄ ( f + 1200 ) ⎀⎦ 4

S2 ( f ) 1/ 4

βˆ’1200

βˆ’600

0

600

1200

f

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The resulting DSB-SC AM signal is given by

x2 (t ) = s2 (t ) cos(36000Ο€ t ) = =

1 [cos(1200Ο€ t ) + cos(2400Ο€ t )] cos(36000Ο€ t ) 2

1 [cos(34800Ο€ t ) + cos(37200Ο€ t ) + cos(33600Ο€ t ) + cos(38400Ο€ t )] 4

Taking the FT of both sides, we obtain

1 X 2 ( f ) = ⎑⎣δ ( f βˆ’ 17400) + Ξ΄ ( f + 17400) + Ξ΄ ( f βˆ’ 18600) + Ξ΄ ( f + 18600) 4 +Ξ΄ ( f βˆ’ 16800 ) + Ξ΄ ( f + 16800 ) + Ξ΄ ( f βˆ’ 19200) + Ξ΄ ( f + 19200 ) ⎀⎦

X2 ( f ) USB

LSB

LSB

USB

1/ 4

βˆ’19.2 βˆ’18.6 βˆ’17.4 βˆ’16.8

0

f (kHz) 16.8 17.4

18.6 19.2

d. Calculate the PEP supplied by the DSB-SC modulator in each case. Solution: Since max s1 (t ) = max s2 (t ) = 1 , PEPDSB is obtained from (4.7) as t

t

2

2

Ac2 ⎑ max s1 (t ) ⎀ Ac2 ⎑ max s1 (t ) ⎀ t ⎣ ⎦ ⎣ t ⎦ =1 PEPDSB = = 2 2 2

4.2

because Ac = 1

The message signal s(t ) = 2cos(6Ο€ t ) + 0.5sin(10Ο€ t ) modulates the carrier signal

c(t ) = Ac cos(100Ο€ t ) using DSB-SC AM scheme. a. Write an expression for the modulated signal x(t ) . Solution:

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x(t ) = s (t )c(t ) = Ac [ 2 cos(6Ο€ t ) + 0.5sin(10Ο€ t )] cos(100Ο€ t ) = Ac [ 2 cos(6Ο€ t ) cos(100Ο€ t ) + 0.5sin(10Ο€ t ) cos(100Ο€ t ) ] = Ac [ cos(94Ο€ t ) + cos(106Ο€ t ) βˆ’ 0.25sin(90Ο€ t ) + 0.25sin(110Ο€ t ) ] b. Determine and sketch the spectrum of the modulated signal x(t ) . Solution: Taking the FT of both sides, we obtain

X( f ) =

Ac ⎑δ ( f βˆ’ 47 ) + Ξ΄ ( f + 47 ) + Ξ΄ ( f βˆ’ 53) + Ξ΄ ( f + 53) 2 ⎣ ⎀ 0.25 0.25 0.25 0.25 Ξ΄ ( f βˆ’ 45) + Ξ΄ ( f + 45) + Ξ΄ ( f βˆ’ 55) βˆ’ Ξ΄ ( f + 55) βŽ₯ βˆ’ j j j j ⎦

X(f)

USB

Ac 2

LSB

LSB

USB

Ac 8 -55 -53

-50

45 47 50

0

-47 -45

53 55

f (Hz)

(X ( f )

Ο€ /2 -45 -55 -53 -50 -47

55 0

45 47

50

f (Hz)

53

βˆ’Ο€ / 2 c. Calculate the power contained in the modulated signal x(t ) .

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: ⎑ 1 1 ( 0.25 )2 ( 0.25 )2 ⎀ 17 A2 c Px = A ⎒ + + + βŽ₯= 2 2 βŽ₯⎦ 16 ⎒⎣ 2 2 2 c

A modulating signal s(t ) = 2cos(6Ο€ t ) + 5sin(10Ο€ t ) modulates the carrier signal c(t ) = 100cos(1000Ο€ t ) using convention AM scheme. The modulator operates with a modulation index of 0.7.

4.3

a. Write an expression for the modulated signal x(t ) . Solution: The message signal s(t ) = 2cos(6Ο€ t ) + 5sin(10Ο€ t ) is displayed in Figure (a). Using MATLAB, the minimum value of s (t ) is βˆ’6.9412.. The normalized message signal sn (t ) is now obtained as

sn (t ) =

s(t ) min s(t )

=

2cos(6Ο€ t ) + 5sin(10Ο€ t ) = 0.288cos(6Ο€ t ) + 0.72sin(10Ο€ t ) 6.9412

t

The conventional AM signal is given by x AM (t ) = 100 {1 + 0.7 [ 0.288 cos(6Ο€ t ) + 0.72 sin(10Ο€ t ) ]} cos(1000Ο€ t )

8

2

6

1.5

4

1

Conventional AM signal xAM(t)

Message signal s(t)

Figure (b) displays the signal x AM (t ) .

2 0 -2 -4 -6 -8

0.5 0 -0.5 -1 -1.5

0

0.1

0.2

0.3

0.4

0.5 t

(a)

0.6

0.7

0.8

0.9

1

-2

0

0.1

0.2

0.3

0.4

0.5 t

0.6

0.7

0.8

0.9

(b)

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

1


b. Determine and sketch spectrum of the modulated signal x(t ) . Solution:

X ( f ) = 50 ⎑⎣δ ( f βˆ’ 500 ) + Ξ΄ ( f + 500 ) ⎀⎦ + 10.08 ⎑⎣δ ( f βˆ’ 503) + Ξ΄ ( f + 503) + Ξ΄ ( f βˆ’ 497 ) + Ξ΄ ( f + 497 ) ⎀⎦ +

25.2 ⎑δ ( f βˆ’ 505) βˆ’ Ξ΄ ( f + 505) βˆ’ Ξ΄ ( f βˆ’ 495) + Ξ΄ ( f + 495) ⎀⎦ j ⎣

X(f) Carrier USB

Carrier

50

LSB

LSB

USB

25 f (Hz) 0

-505 -503 -500 -497 -495

495 497 500 503 505

(X ( f )

Ο€ /2 497 500 503 505

-503 -500 -497 -495 -505

0

495

f (Hz)

βˆ’Ο€ / 2 c. Compare the power contained in the sidebands to the total power in the modulated signal. What is the power efficiency this AM scheme? Solution:

1 1 2 2 ( 0.288 ) + ( 0.72 ) 2 2 = 0.04147 + 0.2592 = 0.301 W .

Power in the normalized message signal Psn =

Ac2 Ac2 ma2 + Psn Power in the conventional AM signal Px = 2 2 1002 2 = 1 + ( 0.7 ) Γ— 0.301 = 5.737 kW 2

(

)

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


(

)

Ac2 ma2 1002 2 Power in the sidebands = Psn = ( 0.7 ) Γ— 0.301 = 737 W 2 2 The power efficiency of this AM scheme is

Ξ·=

737 = 12.85% 5737

d. Calculate the PEP supplied by the AM transmitter. Solution:

Using MATLAB, max sn (t ) = 1 . The PEPAM supplied by the transmitter is t

obtained from (4.34) as PEPAM =

1002 264.45 2 = 14.45 kW [1 + 0.7 Γ—1.0] = 2 2

Note that PEPAM is approximately 2.5 times the average power supplied by the AM signal. 4.4 The output of an AM modulator is given by x(t ) = Ac cos(2000Ο€ t ) + 50 cos(2100Ο€ t ) + 50 cos(1900Ο€ t ) The carrier power is 5 kW. a. Determine the modulation index ma . Solution:

Since the carrier power is 5 kW, we have

1 2 Ac = 5000 2 Therefore, Ac = 100 Substituting

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x(t ) = 100 cos(2000Ο€ t ) + 50 cos(2100Ο€ t ) + 50 cos(1900Ο€ t ) = 100 [1 + cos(100Ο€ t ) ] cos(2000Ο€ t ) Therefore, ma = 1.0 . b. Write an expression for the normalized modulating signal. Solution:

sn (t ) = cos(100Ο€ t ) c. Calculate the power efficiency. Solution:

The power efficiency is given from (4.30) as

Ξ·=

ma2 Psn 1 + ma2 Psn

Psn =

Ξ·=

1 2

1.02 Γ— 0.5 = 0.333 or 33.3% 1 + 1.02 Γ— 0.5

d. Calculate the PEP supplied by the AM transmitter and tabulate it along with the normalized average power and the carrier power. Solution:

PEPAM =

2 Ac2 ⎑ 1002 2 1 + ma Γ— max sn (t ) ⎀ = [1 + 1] = 20 kW t ⎣ ⎦ 2 2

Normalized average power Px = Carrier Power Average Power Px 5 kW 7 kW

Ac2 1002 ⎑ 1 ⎀ ⎑⎣1 + ma2 Psn ⎀⎦ = 1 + = 7.5 kW 2 2 ⎒⎣ 2 βŽ₯⎦

Peak Envelope Power PEPAM 20 kW

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


4.5 The envelope detector shown in Figure 4.16 (a) is used to demodulate the message signal s(t ) from the conventional AM signal x(t ) = Ac [1 + s(t )] cos(2Ο€ fct ) where s(t ) is a square wave taking on 1 and -1 and having a period To 1/ f c . Sketch the demodulated signal if RL C = To / 40 and To / 4 . Solution:

The demodulated signal was calculated using the following MATLAB script: %Exercise 4.5 Envelope detection of square wave clc Fs = 1000 %Sampling rate Ts=1/Fs fc = 100; %carrier freq. fm=1. To = 1 t = [0:1/Fs:2]; A =1.25 m = square(2*pi*fm*t, 50); figure(1) plot(t,m) axis([0 2 -1.25 1.25]) smin=min(m) mn=m/abs(smin); %Modulator c = cos(2*pi*fc*t); ma = abs(smin)/A % AM = A*(1+ma*mn).*c; figure(2) plot(t,AM,'b') N=4; TRC =To/4 [bLP,aLP]=butter(N,2*fm*10*Ts); figure(3) BB_sig = Envelope_Detector(AM,bLP,aLP,Ts,TRC);%clean baseband signal plot(t(1:2000),BB_sig(1:2000),'k'); hold on TRC =To/40 BB_sig = Envelope_Detector(AM,bLP,aLP,Ts,TRC);%clean baseband signal plot(t(1:2000),BB_sig(1:2000),'r--'); xlabel('\itt'); ylabel('Envelope detector output signal y(\itt)');hold off legend( 'Detector RC time constant= T_o/4','Detector RC time constant= T_o/40')

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1.5 Detector RC time constant= To/4 Detector RC time constant= To/40

Envelope detector output signal y(t)

1

0.5

0

-0.5

-1

-1.5

0

0.2

0.4

0.6

0.8

1 t

1.2

1.4

1.6

1.8

2

4.6 Consider the demodulation of conventional AM signals using a square law detector 2 (t ) , where are k1 and k2 constants with transfer characteristic y (t ) = k1 xAM (t ) + k2 xAM with k2 k1 . a. Calculate the detector output y(t ) . Solution:

The conventional AM signal is given by xAM (t ) = Ac [1 + ma sn (t )]cos(2Ο€ f c t ) The detector output y(t ) is given by y (t ) = k1 Ac [1 + ma sn (t )]cos(2Ο€ f c t ) + k2 Ac2 [1 + ma sn (t )]2 cos 2 (2Ο€ f c t ) = k1 Ac [1 + ma sn (t )]cos(2Ο€ f c t ) +

k2 Ac2 [1 + 2ma sn (t ) + ma2 sn2 (t )] [1 + cos(4Ο€ f c t )] 2

b. Calculate the output yD (t ) of the LP filter. Note that it contains the desired signal as well as distortion term. Show that if Ac s (t ) , the distortion can be neglected. Solution:

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The message signal sn (t ) can be recovered by passing it through a LPF. The output yD (t ) of the LP filter is yD (t ) =

k2 Ac2 [1 + 2ma sn (t ) + ma2 sn2 (t ) ] 2 signal term

distortion term

k A2 m2 s 2 (t ) The output contains the distortion term 2 c a n . Distortion can be kept 2 within an acceptable level if ma sn (t ) 1. 4.7 The spectrum of signal x(t ) is illustrated in Figure P4.1. Derive an expression for the spectrum of the signal y(t ) = x(t ) cos(2π f c t ) + xˆ (t ) sin(2π f c t ) Assume B << f c . Sketch the spectrum Y ( f ) . Figure P4.1

X(f)

βˆ’B

0

B

f

Solution:

We express y (t ) in terms of the signal x βˆ’ (t ) = x(t ) βˆ’ jxΛ† (t ) as

{

y (t ) = Re x βˆ’ (t )e j 2 Ο€fct

{

}

* 1 βˆ’ x (t )e j 2 Ο€fct + ⎑⎣ x βˆ’ (t ) ⎀⎦ e βˆ’ j 2 Ο€fct 2 1 = x βˆ’ (t )e j 2 Ο€fct + x + (t )e βˆ’ j 2 Ο€fct 2

=

{

}

}

Taking FT of both sides, the spectrum Y ( f ) is obtained as

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Y( f ) =

1 X βˆ’ ( f βˆ’ f c ) + X + ( f + f c )} { 2

X βˆ’ ( f βˆ’ fc ) represents the negative frequency portion of X ( f ) shifted in 2 X + ( f + fc ) represents frequency by the carrier frequency fc. On the other hand, 2 the positive frequency portion of X ( f ) shifted in frequency by the amount –fc. Thus, it is spectrum of an lower sideband SSB-AM signal with modulating signal spectrum X ( f ) . Figure displays the spectra of y(t ) .

Y( f ) +

X βˆ’ ( f βˆ’ fc ) 2

X ( f + fc ) 2

βˆ’ fc

βˆ’ fc + B

0

fc βˆ’ B

fc

f

4.8 Find the Hilbert transform of the following time signals a.

x1 (t ) = sinc(t )

Solution:

sinc(t ) =

sin (Ο€ t ) 2sin (Ο€ t / 2) cos (Ο€ t / 2) = = sinc(t / 2) cos (Ο€ t / 2) Ο€t Ο€t

Using the low-pass high-pass product property, we can write H sinc(t / 2) cos (Ο€ t / 2 ) β†βŽ― β†’ sinc(t / 2) sin (Ο€ t / 2 )

Therefore, xˆ1 (t ) = sinc(t / 2)sin (π t / 2) b. x2 (t ) =

sin(4Ο€ t ) cos(300Ο€ t ) t

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: sin(4Ο€ t ) H cos(300Ο€ t ) β†βŽ― β†’ 4Ο€ sinc(4t ) sin ( 300Ο€ t ) t

Therefore, xΛ†2 (t ) = 4Ο€ sinc(4t )sin ( 300Ο€ t ) c. x3 (t ) = cos(300Ο€ t ) + 3sin(600Ο€ t ) Solution: H β†’ sin(300Ο€ t ) βˆ’ 3cos(600Ο€ t ) cos(300Ο€ t ) + 3sin(600Ο€ t ) β†βŽ―

Therefore, xΛ†3 (t ) = sin(300Ο€ t ) βˆ’ 3cos(600Ο€ t ) 4.9 If x(t) and y(t) are signals with nonoverlapping spectra, where x(t) is LP and y(t) is BP signal, then H x(t ) y (t ) β†βŽ―β†’ x(t ) yΛ† (t )

Solution:

Let g (t ) = x(t ) y(t ) . Then

G( f ) = X ( f ) βŠ— Y ( f ) = X ( f ) βŠ— [Y ( f )u( f ) + Y ( f )u(βˆ’ f )] where u ( f ) denotes the unit step function. Since X ( f ) and Y ( f ) are nonoverlapping , X ( f ) βŠ— (Y ( f )u ( f ) ) is zero for f < 0. Similarly, X ( f ) βŠ— (Y ( f )u (βˆ’ f ) ) is zero for f > 0. Thus

GΛ† ( f ) = βˆ’ jsgn( f )G( f ) = βˆ’ jsgn( f ) [ X ( f ) βŠ— Y ( f )] = βˆ’ jsgn( f ) X ( f ) βŠ— [Y ( f )u( f ) + Y ( f )u(βˆ’ f )] = βˆ’ jX ( f ) βŠ— Y ( f )u( f ) + jX ( f ) βŠ— Y ( f )u(βˆ’ f ) = X ( f ) βŠ— [ βˆ’ jY ( f )u( f ) + jY ( f )u(βˆ’ f )] = X ( f ) βŠ— [ βˆ’ jsgn( f )Y ( f )] = X ( f ) βŠ— YΛ† ( f ) 4.10 Consider the signal x(t ) = ⎑⎣ 2Wsinc ( 2Wt ) + Wsinc2 (Wt ) ⎀⎦ cos(2Ο€ f ct ) .

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Determine and sketch the spectrum of analytic signal x + (t ) . Solution:

The analytic signal x+(t) is given from (4.60) as x + (t ) = x(t ) + jxΛ† (t ) Now H 2Wsinc(2Wt ) cos(2Ο€ f ct ) β†βŽ― β†’ 2Wsinc(2Wt )sin(2Ο€ f ct ) H Wsinc2 (Wt ) cos(2Ο€ fct ) β†βŽ― β†’Wsinc2 (Wt )sin(2Ο€ fct )

Therefore, x + (t ) = ⎑⎣ 2Wsinc ( 2Wt ) + Wsinc 2 (Wt ) ⎀⎦ [ cos(2Ο€ f c t ) + j sin(2Ο€ f c t ) ] = ⎑⎣ 2Wsinc ( 2Wt ) + Wsinc 2 (Wt ) ⎀⎦ e j 2Ο€ fct X(f )

(a) 1

βˆ’ fc βˆ’ W

βˆ’ fc

βˆ’ fc + W

fc βˆ’ W

fc

fc + W

fc βˆ’ W

fc

fc + W

f

X +( f )

(b)

2

f

X ( f ) 2

(c)

f βˆ’W

W

14

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎑ βŽ› f ⎞ βŽ› f ⎞⎀ X + ( f ) = ⎒Π ⎜ ⎟+ Ξ›βŽœ ⎟βŽ₯ βŠ— Ξ΄ ( f βˆ’ fc ) ⎝ 2W ⎠ ⎦ ⎣ ⎝ 2W ⎠ ⎑ βŽ› f βˆ’ fc ⎞ βŽ› f βˆ’ fc ⎞ ⎀ = ⎒Π ⎜ + Ξ›βŽœ ⎟ ⎟βŽ₯ ⎝ 2W ⎠ ⎦ ⎣ ⎝ 2W ⎠

b. Determine and sketch the spectrum of the complex envelope x (t ) . Solution:

x (t ) = x + (t )e βˆ’ j 2Ο€ fct = ⎑⎣ 2Wsinc ( 2Wt ) + Wsinc 2 (Wt ) ⎀⎦ e j 2Ο€ fc t e βˆ’ j 2Ο€ fc t = 2Wsinc ( 2Wt ) + Wsinc 2 (Wt )

βŽ› f ⎞ βŽ› f ⎞ X ( f ) = Ξ  ⎜ ⎟+ Ξ›βŽœ ⎟ ⎝ 2W ⎠ ⎝ 2W ⎠ +

The spectra of x (t ) and x (t ) are displayed in the Figure. 4.11 An LSB-AM signal is generated by modulating 1 kHz carrier by the message signal s(t ) = 2cos(6π t ) + 0.5sin(10π t ) . The carrier power is 5 kW. a. Determine the signal sˆ(t ) . Solution:

sΛ†(t ) = 2sin(6Ο€ t ) βˆ’ 0.5cos(10Ο€ t ) b. Write an expression for the LSB-AM signal. Solution:

Since the carrier power is 5 kW, we have

1 2 Ac = 5000 2 Therefore, Ac = 100 The LSB-AM signal can be expressed using (4.80) as

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


xLSB (t ) = 50 {[ 2 cos(6Ο€ t ) + 0.5sin(10Ο€ t ) ] cos(2000Ο€ t ) + [ 2sin(6Ο€ t ) βˆ’ 0.5cos(10Ο€ t ) ] sin(2000Ο€ t )} = 50 {[ 2 cos(6Ο€ t ) cos(2000Ο€ t ) + 2sin(6Ο€ t ) sin(2000Ο€ t ) ] + [ 0.5sin(10Ο€ t ) cos(2000Ο€ t ) βˆ’ 0.5cos(10Ο€ t ) sin(2000Ο€ t )]} = 50 [ 2 cos(1994Ο€ t ) βˆ’ 0.5sin(1990Ο€ t )] c. Determine and sketch the magnitude spectrum of the LSB-AM signal. Solution:

X LSB ( f ) = 50 {Ξ΄ ( f βˆ’ 997) + Ξ΄ ( f + 997) + j 0.25 [Ξ΄ ( f βˆ’ 995) βˆ’ Ξ΄ ( f + 995)]}

X LSB ( f ) 50

12.5 -1000 -997 -995

0

f (Hz)

995 997 1000

d. Compare the PEP and the normalized average power of the LSB-AM signal. Solution:

PEPLSB βˆ’ AM = Power supplied by sinsusoidal waveform with amplitude 50 Γ— max t

Now s 2 (t ) + sˆ 2 (t ) = 4 + 0.25 + 2sin(4π t ) . Therefore, max t

s 2 (t ) + sˆ 2 (t )

s 2 (t ) + sˆ2 (t ) = 2.5 .

( 50 Γ— 2.5) = 7.81 kW = 2

PEPLSB βˆ’ AM

2

Average power of the message signal Ps =

22 0.52 + = 2.125 W 2 2

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ac2 Ps 1002 Γ— 2.125 Average power of the LSB-AM signal Px = = = 5.312 kW 4 4 4.12 Suppose the message signal s(t ) = sinc(2t ) modulates the carrier signal c(t ) = 10cos(50Ο€ t ) . a. Plot the spectrum of the USB-AM signal and compare it with that of the DSBSC signal. Solution:

The spectra of the DSB-SC and USB-AM signals are displayed Figures (b) and (c) respectively.

S( f ) 0.5 (a)

βˆ’1

1

0

f

X DSB ( f ) (b) 2.5

βˆ’24

βˆ’25

βˆ’26

f 24

0

25

26

X USB ( f ) (c) 2.5

βˆ’26 βˆ’25.5 βˆ’25

f 0

25 25.5 26

b. From the plot of the Fourier transform of the USB signal, show that the USB signal is given by xUSB (t ) = 5cos(51Ο€ t )sinc(t )

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

From Figure (c), we can write

5 XUSB ( f ) = ⎑⎣Π ( f βˆ’ 25.5) + Ξ  ( f + 25.5) ⎀⎦ 2 Taking the inverse FT of both sides, we obtain 5 5 xUSB (t ) = sinc(t )e j 51Ο€ t + sinc(t )eβˆ’ j 51Ο€ t 2 2 j 51Ο€ t ⎑e + eβˆ’ j 51Ο€ t ⎀ = 5sinc(t ) ⎒ βŽ₯ = 5sinc(t ) cos(51Ο€ t ) 2 ⎣ ⎦ c. Now show that 5 [ s (t ) cos(50Ο€ t ) βˆ’ sΛ†(t ) sin(50Ο€ t ) ] equals xUSB (t ) of part (b). Solution:

We can express 5 [ s (t ) cos(50Ο€ t ) βˆ’ sΛ†(t ) sin(50Ο€ t ) ] as 5 [ s (t ) cos(50Ο€ t ) βˆ’ sΛ†(t ) sin(50Ο€ t )] = 5 Re {[ s (t ) + jsΛ†(t )] e j 50Ο€ t } = 5 Re {s + (t )e j 50Ο€ t } = =

{

βˆ— 5 + s (t )e j 50Ο€ t + ( s + (t ) ) eβˆ’ j 50Ο€ t 2

}

5 + s (t )e j 50Ο€ t + s βˆ’ (t )e βˆ’ j 50Ο€ t } { 2

Now 5 + 5 β„‘ s (t )e j 50Ο€ t + s βˆ’ (t )e βˆ’ j 50Ο€ t } β†βŽ― β†’ {S + ( f βˆ’ 25) + S βˆ’ ( f + 25)} { 2 2 5 = {S + ( f βˆ’ 25) + S βˆ’ ( f + 25)} 2 5 = {Ξ  ( f βˆ’ 25.5 ) + Ξ  ( f + 25.5 )} 2 The right-hand side is identical to the expression for X USB ( f ) from part (b) above.

Therefore, 5 [ s (t ) cos(50Ο€ t ) βˆ’ sΛ†(t ) sin(50Ο€ t ) ] equals xUSB (t ) = 5sinc(t ) cos(51Ο€ t ) .

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ac [ s(t)cos(2π fct) + sˆ(t)sin(2π fct )] . Assume 2 that the LO at the demodulator generates reference carrier with a fixed phase offset φ . That is, the receiver multiplies x(t ) with cos(2π f c t + φ ) and LP filters the output to produce the demodulated signal yD (t ) .

4.13 Consider the LSB-AM signal x(t ) =

a. Find yD (t ) in terms of s(t ) and sˆ(t ) . Comment on the distortion in the demodulated signal introduced by the phase offset. Solution:

y (t ) = xLSB (t ) Γ— 2cos(2Ο€f ct + Ο† ) =

Ac {s(t ) cos(2πfct ) + sˆ(t )sin(2πfct )} × 2 cos(2πfct + φ ) 2

Ac {2s(t ) cos(2Ο€fct ) cos(2Ο€fct + Ο† ) + 2sΛ†(t )sin(2Ο€fct ) cos(2Ο€fct + Ο† )} 2 ⎧ ⎑ ⎀ ⎑ ⎀ ⎫βŽͺ Ac βŽͺ ⎒ βŽ₯ ⎒ = ⎨ s(t ) cos(4Ο€fc t + Ο† ) + cos(Ο† ) + sΛ†(t ) sin(4Ο€f c t + Ο† ) βˆ’ sin(Ο† ) βŽ₯ ⎬ 2 βŽͺ ⎒ Filtered βŽ₯ ⎒ Filtered βŽ₯βŽͺ out by LP filter out by LP filter ⎣ ⎦ ⎣ ⎦⎭ ⎩ =

By passing y (t ) through a LP filter, the double-frequency components are eliminated leaving us with y D (t ) =

Ac {s(t ) cos(Ο† ) βˆ’ sΛ†(t ) sin(Ο† )} 2

The demodulated signal is attenuated by the factor cos(Ο† ) . Further, it contains a residue of sΛ†(t ) . b. Calculate the output spectrum YD ( f ) . Solution: Ac A β„‘ {s (t ) cos(Ο† ) βˆ’ sΛ†(t ) sin(Ο† )} = c {S ( f ) cos(Ο† ) + j sgn( f ) S ( f ) sin(Ο† )} 2 2 AS( f ) = c {cos(Ο† ) + j sgn( f ) sin(Ο† )} 2 ⎧ Ac S ( f ) A S ( f ) jΟ† e , f β‰₯0 {cos(Ο† ) + j sin(Ο† )} = c βŽͺβŽͺ 2 2 =⎨ βŽͺ Ac S ( f ) cos(Ο† ) βˆ’ j sin(Ο† ) = Ac S ( f ) e βˆ’ jΟ† , f <0 } βŽͺ⎩ 2 { 2

YD ( f ) =

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


4.14

The main technical difficulty in the phasing method of generating SSB-AM signal (Figure 4.22) implementing the Hilbert transformer over a wide-range of frequencies. An alternative method of generating SSB-AM signal proposed by Weaver is shown in Figure P4.2. Although, it is a more complex design, it avoids the use of wide-band phase shifter. We assume that the message signal s(t ) is band-limited to B Hz. The cutoff frequency of ideal LP filters is B/2 Hz. Prove that x(t ) is an USB-AM signal. Figure P4.2 Weaver’s SSB-AM modulator

Γ—

s (t )

Ο…U (t )

LPF

xU (t )

Γ—

cos Ο€ Bt

cos 2Ο€ ( f c + 0.5 B ) t

~

~

x (t )

+ βˆ’90o

90o

βˆ’ sin Ο€ Bt

Γ— Ο… (t ) L

LPF

xL (t )

Γ—

sin 2Ο€ ( f c + 0.5 B ) t

Solution:

Let the message signal s (t ) = cos ( 2Ο€ f m t ) , where 0 < f m < B . The input to upper LPF is

Ο…U (t ) = cos(2Ο€ fmt )cos(Ο€ Bt ) =

{

}

1 cos ⎑⎣2Ο€ ( fm + B / 2) t ⎀⎦ + cos ⎑⎣2Ο€ ( fm βˆ’ B / 2) t ⎀⎦ 2

The input to lower LPF is

Ο…L (t ) = βˆ’ cos ( 2Ο€ fmt ) sin (Ο€ Bt ) =

{

}

1 sin ⎑⎣2Ο€ ( fm βˆ’ B / 2) t ⎀⎦ βˆ’ sin ⎑⎣2Ο€ ( fm + B / 2) t ⎀⎦ 2

The outputs of LPFs are

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1 xU (t ) = cos ⎑⎣2Ο€ ( fm βˆ’ B / 2) t ⎀⎦ 2 1 xL (t ) = sin ⎑⎣2Ο€ ( fm βˆ’ B / 2) t ⎀⎦ 2 The output of the Weaver USB-AM modulator is x(t ) = xU (t ) cos ⎑⎣ 2Ο€ ( f c + B / 2 ) t ⎀⎦ + xL (t ) sin ⎑⎣ 2Ο€ ( f c + B / 2 ) t ⎀⎦ 1 = cos ⎑⎣ 2Ο€ ( f m βˆ’ B / 2 ) t ⎀⎦ cos ⎑⎣ 2Ο€ ( f c + B / 2 ) t ⎀⎦ 2 1 + sin ⎑⎣ 2Ο€ ( f m βˆ’ B / 2 ) t ⎀⎦ sin ⎑⎣ 2Ο€ ( f c + B / 2 ) t ⎀⎦ 2 cos ⎑⎣ 2Ο€ ( f c + f m ) t ) ⎀⎦ cos ⎑⎣ 2Ο€ ( f c βˆ’ f m + B ) t ) ⎀⎦ = + 4 4 cos ⎑⎣ 2Ο€ ( f c + f m ) t ) ⎀⎦ cos ⎑⎣ 2Ο€ ( f c βˆ’ f m + B ) t ) ⎀⎦ + βˆ’ 4 4 1 = cos ⎑⎣ 2Ο€ ( f c + f m ) t ) ⎀⎦ 2 It can be shown that a LSB-AM signal is generated instead if outputs of upper and lower LPFs are multiplied by cos ⎑⎣ 2Ο€ ( f c βˆ’ B / 2 ) t ⎀⎦ and

sin ⎑⎣ 2Ο€ ( f c βˆ’ B / 2 ) t ⎀⎦ , respectively. 4.15 One disadvantage of synchronous demodulation of SSB-AM signals is the interference caused by the presence of residual frequency components from the removed sideband. By using a demodulation scheme shown in Figure P4.3, it is possible to demodulate either upper or lower sideband and cancel the other sideband. Prove that by choosing the sign of 90 phase shifter, either the upper or lower sideband component is demodulated while suppressing the other. Figure P4.3

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The output of the multiplier in the upper branch is given by yU (t ) = { Au cos [ 2Ο€ ( f c + f m )t ] + AA cos [ 2Ο€ ( f c βˆ’ f m )t ]} Γ— Ac cos 2Ο€ f c t =

Ac Au AA cos ( 2Ο€ f mt ) + cos [ 2Ο€ (2 f c + f m )t ]} + c l {cos ( 2Ο€ f mt ) + cos [ 2Ο€ (2 f c βˆ’ f m )t ]} { 2 2

The output of the LP filter in the upper branch can now be expressed as

yU (t ) =

Ac Au AA cos ( 2Ο€ f mt )} + c l {cos ( 2Ο€ f mt )} { 2 2

The output of the multiplier in the lower branch is given by yL (t ) = { Au cos [ 2Ο€ ( f c + f m )t ] + AA cos [ 2Ο€ ( f c βˆ’ f m )t ]} Γ— βˆ’ Ac sin ( 2Ο€ f c t ) =

Ac Au AA sin ( 2Ο€ f m t ) βˆ’ sin [ 2Ο€ (2 f c + f m )t ]} + c l {βˆ’ sin ( 2Ο€ f m t ) βˆ’ sin [ 2Ο€ (2 f c βˆ’ f m )t ]} { 2 2

The output of the LP filter in the lower branch can now be expressed as

yL (t ) =

Ac Au AA ⎑⎣sin ( 2Ο€ f mt ) ⎀⎦ βˆ’ c l ⎑⎣sin ( 2Ο€ f mt ) ⎀⎦ 2 2

After 90o phase shift, the output of the lower branch is given as

{ (

Ac Au sin 2Ο€ f mt + 90o 2

)} βˆ’ A2A {sin ( 2Ο€ f t + 90 )} = A2A {cos ( 2Ο€ f t )} βˆ’ A2A {cos ( 2Ο€ f t )} c

o

l

m

c

u

m

c

l

m

The demodulated output is now obtained by adding the output of upper and lower branches as Ac Au AA AA AA cos ( 2Ο€ f mt ) + c l cos ( 2Ο€ f mt ) + c u cos ( 2Ο€ f mt ) βˆ’ c l cos ( 2Ο€ f mt ) 2 2 2 2 = Ac Au cos ( 2Ο€ f mt )

yD (t ) =

If we instead choose 90o phase shift, the output of the lower branch is given as

{ (

Ac Au sin 2Ο€ f mt βˆ’ 90o 2

)} βˆ’ A2A {sin ( 2Ο€ f t βˆ’ 90 )} = βˆ’ A2A {cos ( 2Ο€ f t )} + A2A {cos ( 2Ο€ f t )} c

l

o

m

c

u

m

c

l

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

m


The demodulated output is now obtained by adding the output of upper and lower branches as Ac Au AA AA AA cos ( 2Ο€ f mt ) + c l cos ( 2Ο€ f mt ) βˆ’ c u cos ( 2Ο€ f mt ) + c l cos ( 2Ο€ f mt ) 2 2 2 2 = Ac Al cos ( 2Ο€ f mt )

yD (t ) =

4.16 Consider the phasing method illustrated in Figure 4.22 to generate USB-AM signal. The modulating signal is a single tone of frequency f m . The 90o phase-shift network introduces a constant phase offset of Ο†o between the in-phase and quadrature carriers. a. Calculate the output of the USB-AM modulator. Solution:

The output of USB-AM modulator in Figure 4.22 can be expressed as

Ac {cos ( 2Ο€fmt ) cos ( 2Ο€fct ) βˆ’ sin ( 2Ο€fmt ) sin ( 2Ο€fct + Ο†o )} 2 A = c cos ( 2Ο€f mt ) cos ( 2Ο€fc t ) βˆ’ sin ( 2Ο€f mt ) ⎑⎣sin ( 2Ο€fct ) cos (Ο†o ) + cos ( 2Ο€fct ) sin (Ο†o ) ⎀⎦ 2 A = c {cos ( 2Ο€f mt ) cos ( 2Ο€fc t ) βˆ’ sin ( 2Ο€f mt ) sin ( 2Ο€fc t ) cos (Ο†o )} 2 A βˆ’ c sin ( 2Ο€f mt ) cos ( 2Ο€fc t ) sin (Ο†o ) 2

x(t ) =

{

}

Assuming phase small offset Ο†o , cos (Ο†o ) β‰ˆ 1. Therefore, x(t ) =

A sin (Ο†o ) Ac cos ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ βˆ’ c sin ( 2Ο€f mt ) cos ( 2Ο€f ct ) 2 2

Now Ac sin (Ο†o ) A sin (Ο†o ) sin ( 2Ο€f mt ) cos ( 2Ο€f c t ) = c sin ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ βˆ’ sin ⎑⎣ 2Ο€ ( f c βˆ’ f m ) t ⎀⎦ 2 4

{

}

Substituting x(t ) =

A sin (Ο†o ) Ac cos ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ βˆ’ c sin ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ βˆ’ sin ⎑⎣ 2Ο€ ( f c βˆ’ f m ) t ⎀⎦ 2 4

{

}

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


For phase small offset Ο†o ,

x(t ) β‰ˆ

Ac sin (Ο†o ) A c . Therefore, 4 2

A sin (Ο†o ) Ac cos ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ + c sin ⎑⎣ 2Ο€ ( f c βˆ’ f m ) t ⎀⎦ 2 4

b. Calculate the residual power in the lower sideband as a percentage of the power in the desired sideband.

Ac2 sin 2 (Ο†o ) sin 2 (Ο†o ) Power in the undesired sideband 32 = = Ac2 Power in the desired sideband 4 8 c. Evaluate the magnitude of undesired sideband rejection for phase offset Ο†o = 1.5o . 2 D Power in the undesired sideband sin (1.5 ) 42.83 = = Γ— 10βˆ’6 = βˆ’37.7 dB Power in the desired sideband 4 4

Thus, the power in the undesired sideband is approximately 40 dB below that in the desired sideband. 4.17. A VSB-AM signal is generated from an input s (t ) by first generating a conventional AM signal (ma = 0.875) with a carrier frequency f c = 45.75 MHz and then passing this signal through a filter whose frequency response is given by

⎧ f βˆ’ fc + fv , βŽͺ 2 fv βŽͺβŽͺ H ( f ) = ⎨1, βŽͺ0, βŽͺ βŽͺ⎩

fc βˆ’ fv ≀ f < fc + fv f c + f v ≀ f < f c + 4.5 MHz otherwise

where f v = 0.75 MHz . a. Determine an expression for the resulting VSB signal if s1 (t ) = cos(30Ο€ t Γ—103 ) . Solution: x AM (t ) = ⎑⎣1 + 0.875 cos ( 2Ο€ f m t ) ⎀⎦ cos ( 2Ο€ f c t ) = cos ( 2Ο€ f c t ) + 0.4375 cos ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ + 0.4375 cos ⎑⎣ 2Ο€ ( f c βˆ’ f m ) t ⎀⎦

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The VSB filter output is

{

}

xVSB (t ) = cos ( 2Ο€ f c t ) + 0.4375cos ⎑⎣ 2Ο€ ( f c + f m ) t ⎀⎦ + 0.4375cos ⎑⎣ 2Ο€ ( f c βˆ’ f m ) t ⎀⎦ βŠ— h(t )

⎧δ ( f + fc ) + Ξ΄ ( f βˆ’ fc ) ⎫ βŽͺ βŽͺβŽͺ H( f ) βŽͺ ⎑ ⎀ Ξ΄ Ξ΄ f f f f f f + + + βˆ’ + ( ) ( ) XVSB ( f ) = ( ) ( ) ⎨ ⎬ c m c m 2 βŽͺ+0.4375 ⎒ βŽ₯βŽͺ ⎒⎣+Ξ΄ ( f + ( fc βˆ’ f m ) ) + Ξ΄ ( f βˆ’ ( fc βˆ’ f m ) ) βŽ₯⎦ ⎭βŽͺ ⎩βŽͺ Now f c = 45.75 MHz and f m = 15 kHz . From Figure H ( 45.75 Γ— 106 ) = 0.5 H ( 45.765 Γ— 106 ) = 0.51 H ( 45.735 Γ— 106 ) = 0.49

0.5 ⎑δ ( f + 45.75 Γ—106 ) + Ξ΄ ( f βˆ’ 45.75 Γ—106 ) ⎀ ⎦ 2 ⎣ 0.223 ⎑δ ( f + 45.765 Γ—106 ) + Ξ΄ ( f βˆ’ 45.765 Γ—106 ) ⎀ + ⎦ 2 ⎣ 0.214 ⎑δ ( f + 45.735 Γ—106 ) + Ξ΄ ( f βˆ’ 45.735 Γ—106 ) ⎀ + ⎦ 2 ⎣

XVSB ( f ) =

This corresponds to

(

)

(

)

(

xVSB (t ) = 0.5cos 91.5 Γ—106 Ο€ t + 0.223cos 91.53 Γ— 106 Ο€ t + 0.214 cos 91.47 Γ— 106 Ο€ t

)

b. Determine the spectrum of the VSB signal. X VSB ( f ) Carrier

Carrier

0.5

0.25 f (MHz -45.765 - 45.75

-45.735

0

45.735

45.75 45.765

c. Calculate the ratio of the PEP to the average power.

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


( 0.5) + ( 0.223) + ( 0.214 ) = 0.172 Power in the VSB-AM signal P = 2

x

PEPVSB βˆ’ AM =

2

2

2

2

2

1 0.878 2 = 0.439 ( 0.5 + 0.223 + 0.214 ) = 2 2

PEPVSB βˆ’ AM 0.439 = = 2.55 0.172 Px d. Repeat (a) – (c) for s2 (t ) = cos(Ο€ t Γ—106 ) and s3 (t ) = cos(4Ο€ t Γ—106 ) . Solution:

For s2 (t ) = cos(Ο€ t Γ—106 ) , we have H ( 45.75 Γ— 106 ) = 0.5 H ( 46.25 Γ— 106 ) = 0.833 H ( 45.25 Γ— 106 ) = 0.167

0.5 ⎑δ ( f + 45.75 Γ—106 ) + Ξ΄ ( f βˆ’ 45.75 Γ—106 ) ⎀ ⎦ 2 ⎣ 0.364 ⎑δ ( f + 46.25 Γ—106 ) + Ξ΄ ( f βˆ’ 46.25 Γ—106 ) ⎀ + ⎦ 2 ⎣ 0.073 ⎑δ ( f + 45.25 Γ—106 ) + Ξ΄ ( f βˆ’ 45.25 Γ—106 ) ⎀ + ⎦ 2 ⎣

XVSB ( f ) =

(

)

(

)

(

xVSB (t ) = 0.5cos 91.5 Γ—106 Ο€ t + 0.364 cos 92.5 Γ—106 Ο€ t + 0.073cos 90.5 Γ— 106 Ο€ t

)

X VSB ( f ) Carrier

Carrier

0.5

0.25 f (MHz) -46.25 - 45.75

-45.25

0

45.25

45.75 46.25

( 0.5) + ( 0.364 ) + ( 0.073) = 0.194 Power in the VSB-AM signal P = 2

x

2

2

2

2

2

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


PEPVSB βˆ’ AM =

1 0.878 2 = 0.439 ( 0.5 + 0.364 + 0.073) = 2 2

PEPVSB βˆ’ AM 0.439 = = 2.26 0.194 Px For s3 (t ) = cos(4Ο€ t Γ—106 ) , we have H ( 45.75 Γ—106 ) = 0.5 H ( 47.75 Γ—106 ) = 1 H ( 43.75 Γ—106 ) = 0

0.5 ⎑δ ( f + 45.75 Γ—106 ) + Ξ΄ ( f βˆ’ 45.75 Γ—106 ) ⎀ ⎦ 2 ⎣ 0.4375 ⎑δ ( f + 47.75 Γ—106 ) + Ξ΄ ( f βˆ’ 47.75 Γ—106 ) ⎀ + ⎦ 2 ⎣

XVSB ( f ) =

(

)

(

xVSB (t ) = 0.5cos 91.5 Γ— 106 Ο€ t + 0.4375cos 95.5 Γ—106 Ο€ t

)

X VSB ( f ) Carrier

Carrier

0.5

0.25 f (MHz) 0

45.75 47.75

( 0.5) + ( 0.4375) = 0.220 Power in the VSB-AM signal P = 2

x

PEPVSB βˆ’ AM =

2

2

2

1 0.878 2 = 0.439 ( 0.5 + 0.4375) = 2 2

PEPVSB βˆ’ AM 0.439 = =2 0.22 Px

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


4.18 A superheterodyne receiver is designed to cover the RF frequency range of 45 860 MHz, with channel spacings of 8 MHz. . Assume high-side injection. a. If the receiver down-converts the RF signals to an IF of 40 MHz, calculate the range of frequencies for the LO. Solution:

The LO minimum and maximum frequencies are given by

( f LO )min = ( fc )min + f IF = 45 + 40 = 85 MHz ( f LO )max = ( fc )max + f IF = 860 + 40 = 900 MHz b. Determine the range of image frequencies. Solution:

The range of image frequencies is given by

(f (f

) )

image min

= ( f c )min + 2 f IF = 45 + 80 = 125 MHz

image max

= ( f c )max + 2 f IF = 860 + 80 = 940 MHz

Note that band of image frequencies and the signal band overlap. This is undesirable. So we consider up-conversion to a higher IF of 1.2 GHz. c. Calculate the range of frequencies for the LO. Solution:

( f LO )min = ( fc )min + f IF = 45 + 1200 = 1245 MHz ( f LO )max = ( fc )max + f IF = 860 + 1200 = 2060 MHz d. Determine the range of image frequencies. Solution:

(f (f

) )

image min

= ( f c )min + 2 f IF = 45 + 2400 = 2445 MHz

image max

= ( f c )max + 2 f IF = 860 + 2400 = 3260 MHz

e. Is there any overlap between image and signal bands? Solution: 28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


By choosing higher vs lower IF (i.e., up-conversion vs down-conversion), the overlap between signal and image frequency bands is eliminated. f. Since it is difficult to realize highly selective filtering at high IF, a dual conversion superheterodyne design is desirable choice for wide bandwidth receiver spanning several octaves. Draw the block diagram of a dual conversion superheterodyne receiver and specify the reasons for your choice of first and second IF frequencies. Solution:

The block diagram of a dual conversion superheterodyne receiver is shown. The first IF of 1.2 GHz was selected so that the VCO leakage is out of IF band. Further, the band of image frequencies doesn’t overlap with the signal band. The second IF frequency of 45.75 MHz was chosen because it is easy to realize highly selective filtering in that frequency range using the SAW filter technology.

Mixer RF Filter

LNA

Mixer BP Filter

IF Filter

1200 MHz

45.75 MHz

∼

∼

VCO: 1245-2060 MHz

1154.25 MHz

LNA Low-noise amplifier VGA Variable gain amplifier

VGA To Demodulator

LO

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 5 5.1

A message signal s (t ) is shown in Figure P5.1. Sketch the FM and PM waveforms if the carrier frequency is 50 Hz, k f = 30 Hz/V and k p = 10Ο€ radians/V. Figure P5.1

s (t ) 1 0

1

2

3

… t (msec)

βˆ’1

s(t), x(t)

Solution:

t (msec)

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


s(t), x(t)

t (msec) 5.2 An angle-modulated signal is described by ΞΈ (t ) ⎑ ⎀ x(t ) = 100 cos ⎒ 2Ο€ Γ— 105 t + 0.01cos(4Ο€ Γ— 103 t ) βŽ₯ . ⎒ βŽ₯ Ο†i ( t ) ⎣ ⎦

a. Write an expression for the instantaneous frequency of x(t ) . Solution:

The instantaneous frequency of the angle-modulated signal is given by 1 dΟ†i (t ) 1 d ⎑⎣ 2Ο€ Γ— 10 t + 0.01cos(4Ο€ Γ— 10 t ) ⎀⎦ fi (t ) = = 2Ο€ dt 2Ο€ dt 5 3 3 = 10 βˆ’ 0.01Γ— 2 Γ— 10 sin(4Ο€ Γ—10 t ) 5

3

= 105 βˆ’ 20sin(4Ο€ Γ— 103 t ) By comparing with (5.16), we conclude that βˆ†f max = 20 Hz. b. If x(t ) is an FM signal, what is the message signal sn (t ) ? 2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

If x(t ) is an FM signal, the excess phase ΞΈ (t ) is given by t

ΞΈ (t ) = 2Ο€ βˆ†f max ∫ sn (t )dt = 0.01cos(4Ο€ Γ— 103 t ) βˆ’βˆž

Taking the derivative of both sides yields 2Ο€βˆ†f max sn (t ) = βˆ’40Ο€ sin(4Ο€ Γ—103 t ) Therefore, the normalized message signal is sn (t ) = βˆ’ sin(4Ο€ Γ— 103 t ) c. If x(t ) is a PM signal, what is the message signal sn (t ) ? Solution:

If x(t ) is a PM signal, the excess phase ΞΈ (t ) is given by

ΞΈ (t ) = βˆ†Ο†max sn (t ) = 0.01cos(4Ο€ Γ—103 t ) Therefore, the normalized message signal is sn (t ) = cos(4Ο€ Γ—103 t ) 5.3 An angle-modulated signal is given by ⎑ ⎀ x(t ) = 10 cos ⎒ 2Ο€ Γ— 106 t + 2sin(4Ο€ Γ— 103 t ) βŽ₯ . ⎒⎣ βŽ₯⎦ ΞΈ (t ) a. Determine the peak phase deviation. Solution:

The excess phase ΞΈ (t ) is

ΞΈ (t ) = βˆ†Ο†max sn (t ) = 2sin(4Ο€ Γ—103 t ) Therefore, the peak phase deviation is βˆ†Ο†max = 2 radians b. Determine the peak frequency deviation.

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: 1 dΟ†i (t ) 1 d ⎑⎣ 2Ο€ Γ—10 t + 2sin(4Ο€ Γ—10 t ) ⎀⎦ fi (t ) = = 2Ο€ dt 2Ο€ dt 6 3 3 = 10 + 4 Γ—10 cos(4Ο€ Γ—10 t ) 6

3

By comparing with (5.16), we conclude that βˆ†f max = 4 Γ—103 Hz. c. Calculate the average power in the modulated signal x(t ) . Solution:

The power in the angle-modulated signal x (t ) is Ac2 102 Px = = = 50 W 2 2 c. Is this a frequency- or phase-modulated signal? Solution:

The angle-modulated signal x(t ) can be interpreted as either a PM or an FM signal. It is a PM signal with the peak phase deviation βˆ†Ο†max = 2 radians and the normalized message signal sn (t ) = sin(4Ο€ Γ— 103 t ) . It is a FM signal with the peak frequency deviation βˆ†f max = 4 Γ—103 and the normalized message signal sn (t ) = cos(4Ο€ Γ— 103 t ) . 5.4 Consider an FM signal generated by modulating a 10 MHz carrier with a 1 kHz sinusoidal waveform such that peak frequency deviation is 2.5 kHz. a. Determine the bandwidth of the modulated signal. Solution:

BT = 2(βˆ†f max + f m ) Substituting f m = 1 kHz and βˆ†f max = 2.5 kHz , we obtain BT = 2(2.5 + 1) = 7 kHz b. If the modulating signal amplitude is doubled, determine the bandwidth of the modulated signal. 4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

Doubling the amplitude doubles the peak frequency deviation βˆ†f max . Therefore, βˆ†f max = 5 kHz Substituting yields BT = 2(5 + 1) = 12 kHz c. Determine the bandwidth of the modulated signal if the modulating signal frequency is doubled. Solution:

Now f m = 2 kHz and βˆ†f max = 2.5 kHz . Substituting BT = 2(2.5 + 2) = 9 kHz d. Determine the bandwidth of the modulated signal if both the amplitude and frequency of the modulating signal are doubled. Solution:

Now f m = 2 kHz and βˆ†f max = 5 kHz . Substituting BT = 2(5 + 2) = 14 kHz 5.5 Let the modulating signal be s (t ) = 10 cos(2Ο€ Γ— 300t ) + 25cos(2Ο€ Γ— 600t ) a. Write an expression for the FM waveform xFM (t ) when Ac = 100, f c = 5 MHz, and k f = 200 Hz/V . Solution: t ⎑ ⎀ xFM (t ) = Ac cos ⎒ 2Ο€f c t + 2Ο€ βˆ†f max ∫ sn (Ξ± )dΞ± βŽ₯ βˆ’βˆž ⎣ ⎦

In the present case, max s (t ) = 35 . Therefore,

sn (t ) =

1 [10 cos(2Ο€ Γ— 300t ) + 25cos(2Ο€ Γ— 600t )] 35

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βˆ†f max = k f max s (t ) = 200 Γ— 35 = 7 Γ— 103

Substituting t ⎑ ⎀ 2Ο€ Γ— 7 Γ— 103 xFM (t ) = 100 cos ⎒10Ο€ Γ— 106 t + [10 cos(2Ο€ Γ— 300Ξ± ) + 25cos(2Ο€ Γ— 600Ξ± )]dΞ± βŽ₯ ∫ 35 βˆ’βˆž ⎣ ⎦

⎑ 2Ο€ Γ— 7 Γ— 103 ⎑ 10 25 ⎀⎀ sin(2Ο€ Γ— 300t ) + sin(2Ο€ Γ— 600t ) βŽ₯ βŽ₯ = 100 cos ⎒10Ο€ Γ— 106 t + ⎒ 35 2Ο€ Γ— 600 ⎣ 2Ο€ Γ— 300 ⎦⎦ ⎣ 20 25 ⎑ ⎀ = 100 cos ⎒10Ο€ Γ— 106 t + sin(2Ο€ Γ— 300t ) + sin(2Ο€ Γ— 600t ) βŽ₯ 3 3 ⎣ ⎦

b. Determine maximum frequency deviation βˆ†f max , maximum phase deviation βˆ†Ο†max , and deviation ratio D of the modulated signal. βˆ†f max = 7 Γ—103 Hz The maximum phase deviation βˆ†Ο†max is the maximum value of the angle

ΞΈ (t ) =

20 25 sin(2Ο€ Γ— 300t ) + sin(2Ο€ Γ— 600t ) , which equals 15 radians. 3 3

Deviation ratio D =

βˆ†f max 7 Γ—103 70 = = B 600 6

c. Determine bandwidth of the modulated signal. BT = 2(βˆ†f max + B) = 2(7 Γ—103 + 600) = 15.2 kHz 5.6 Consider a PM signal generated by modulating a 10 MHz carrier with a 1 kHz sinusoidal waveform with peak phase deviation of 1 radian. a. Write an expression for the PM signal and determine its Carson bandwidth. Solution:

The PM signal is

xPM (t ) = Ac cos ⎑⎣ 2Ο€ Γ— 107 t + cos(2Ο€ Γ— 103 t ) ⎀⎦ For a sinusoidal modulating signal with Ξ² = βˆ†Ο†max = 1 kHz , the bandwidth of an

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


angle-modulated signal is given by BT = 2(βˆ†Ο†max + 1) f m = 2(1 + 1) Γ— 1 = 4 kHz b. Plot the spectrum of the PM signal. Solution:

Consider a PM signal with maximum phase deviation Ξ² produced by a sinusoidal modulating signal. That is, xPM (t ) = Ac cos [ 2Ο€f c t + Ξ² cos(2Ο€f mt ) ]

The PM signal can be expressed as

{

xPM (t ) = Ac Re e j 2 Ο€fct e j Ξ² cos(2 Ο€fmt )

}

( m) The function e is periodic with period 1/ fm, and therefore it can be expanded in a complex Fourier series: j Ξ² cos 2 Ο€f t

e

j Ξ² cos ( 2 Ο€f m t )

∞

= βˆ‘ Cn e j 2Ο€ nfmt n =βˆ’βˆž

where Cn = f m ∫

1/ f m

0

e

j Ξ² cos ( 2 Ο€f m t ) βˆ’ j 2Ο€ nf m t

e

dt =

1 2Ο€ j ( Ξ² cos z βˆ’ nz ) e dz 2Ο€ ∫0

Ο€βŽž βŽ› Substituting cos ( z ) = sin ⎜ z + ⎟ , we obtain 2⎠ ⎝ ⎑

βŽ›

Ο€βŽž

⎀

1 2Ο€ j ⎒⎣ Ξ² sin ⎜⎝ z + 2 ⎟⎠ βˆ’ nz βŽ₯⎦ Cn = e dz 2Ο€ ∫0 Making change of variable z + βŽ›

Cn =

Ο€ 2

= y yields

nΟ€ ⎞

jnΟ€ jnΟ€ 1 5Ο€ /2 j ⎜⎝ Ξ² sin y βˆ’ ny + 2 ⎟⎠ 1 2Ο€ j ( Ξ² sin y βˆ’ ny ) ⎫ 2 ⎧ 2 e dy e e dy e Jn ( Ξ² ) = = ⎨ ∫0 ⎬ 2Ο€ βˆ«Ο€ /2 ⎩ 2Ο€ ⎭

Since the integrand is periodic function of y with period 2Ο€, the limits of integral can be changed to any period of length 2Ο€ to obtain

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Cn = e

jnΟ€ 2

jnΟ€

⎧ 1 2Ο€ j ( Ξ² sin y βˆ’ ny ) ⎫ dy ⎬ = e 2 J n ( Ξ² ) ⎨ ∫0 e ⎩ 2Ο€ ⎭

The PM signal can, therefore, be expressed as nΟ€ ⎞ βŽ› ∞ j ⎜ n 2 Ο€f m t + ⎟ βŽͺ ⎫ βŽͺ⎧ j 2 Ο€f c t 2 ⎠ ⎝ xPM (t ) = Re ⎨ Ac e J n ( Ξ² )e ⎬ βˆ‘ n =βˆ’βˆž βŽͺ⎩ βŽͺ⎭ ∞ nΟ€ ⎀ ⎑ = Ac βˆ‘ J n ( Ξ² ) cos ⎒ 2Ο€ ( f c + nf m ) t + 2 βŽ₯⎦ ⎣ n =βˆ’βˆž

In the present case, the PM signal is given by ∞ nΟ€ ⎀ ⎑ xPM (t ) = Ac βˆ‘ J n (1) cos ⎒ 2Ο€ (107 + n Γ—103 ) t + 2 βŽ₯⎦ ⎣ n =βˆ’βˆž

The spectrum of the PM signal is displayed in the Figure. PM Spectrum for Ac = 1,

fm(kHz) = 1

& Max phase deviation = 1

-10

-2 0 2 Frequency(kHz)

1

Magnitude spectrum Magnitude

0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

-8

-6

-4

4

6

8

10

f βˆ’ f c ( kHz )

c. Determine the normalized average power in the PM signal. Solution:

The power in the PM signal x(t ) is Px =

Ac2 2

d. Calculate the percentage of the total power at the carrier frequency. Solution:

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ac2 2 The average power in the component at the carrier frequency is J 0 (Ξ² ) 2 where Ξ² = βˆ†Ο†max for a PM signal. For Ξ² = βˆ†Ο†max = 1, J 0 (1) = 0.765 . Therefore, percentage of the average power at the carrier frequency = 58.5%.

e. Repeat parts (a) and (d), if the amplitude of the modulating signal is doubled. Solution:

If the amplitude of the modulating signal is doubled, the peak phase deviation is also doubled. That is, Ξ² = βˆ†Ο†max = 2 . Therefore, the PM signal becomes nΟ€ ⎀ ⎑ , xPM (t ) = Ac cos ⎒ 2Ο€ Γ— 106 t + 2 cos(2Ο€ Γ— 103 t ) + 2 βŽ₯⎦ ⎣

and the bandwidth of the signal is given by BT = 2(βˆ†Ο†max + 1) f m = 2(2 + 1) Γ— 1 = 6 kHz

The spectrum of the PM signal is shown below. PM Spectrum for Ac = 1,

fm(kHz) = 1

& Max phase deviation = 2

-10

-2 0 2 Frequency(kHz)

1

Magnitude spectrum Magnitude

0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

-8

-6

-4

4

6

8

10

f βˆ’ f c ( kHz )

For Ξ² = 2, J 0 (2) = 0.224 . The percentage of the average power at the carrier frequency = J 02 (2) = ( 0.224 ) = 0.0502 or 5.02% . 2

5.7 A single-tone modulated FM signal is given by xFM (t ) = 10 cos ⎑⎣ 2Ο€ Γ— 106 t + 4sin(4Ο€ Γ— 103 t ) ⎀⎦

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Plot the spectrum of the FM signal. Solution:

The FM signal can be expressed as ∞

xFM (t ) = 10 βˆ‘ J n (4) cos ⎑⎣ 2Ο€ (106 + 2n Γ— 103 ) t ⎀⎦ n =βˆ’βˆž

FM Spectrum for A c = 1,

fm(kHz) = 2

& beta = 4

0.5

Magnitude spectrum Magnitude

0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0

-10

-8

-6

-4

-2 0 2 Frequency(kHz)

4

6

8

10

f βˆ’ f c ( kHz )

b. Determine Carson’s bandwidth of the FM signal. Solution:

Ξ² = 4, f m = 2 Γ— 103 Hz BT = 2( Ξ² + 1) f m = 2(4 + 1) Γ— 2 Γ—103 = 20 Γ— 103 Hz

c. Determine the normalized average power of the FM signal. Solution:

The normalized average power of the FM signal x(t ) is 102 Px = = 50 W 2 d. Calculate the percentage of the total power at the carrier frequency. How does the magnitude of power contained in the carrier frequency component changes if the amplitude of the modulating signal is doubled?

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The average power in the component at the carrier frequency is Ac2 2 J 0 (Ξ² ) 2

For Ξ² = 4, J 0 (4) = βˆ’0.3971 . Therefore, percentage of the average power at the carrier frequency = 15.77%. If the amplitude of the modulating signal is doubled, Ξ² = 8 and J 0 (8) = 0.1717 . Therefore, percentage of the average power at the carrier frequency = 2.95%. 5.8

The message signal s (t ) modulates a carrier at 1 MHz to produce an anglemodulated signal. s (t ) is periodic waveform with period To as shown in Figure P5.2. Assuming Am = 1 and To = 1 sec , determine Figure P5.2

s (t )

…

Am βˆ’To

T βˆ’ o 2

T βˆ’ o 4

… 0

βˆ’ Am

To 4

To 2

t

To

a. Determine the 97% bandwidth of the message signal. Solution:

The Fourier series coefficients are given by C0 = 0 because x (t ) is an odd function.

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Cn =

1 x(t )e βˆ’ j 2Ο€ nfot dt ∫ To To βˆ’T /4

T /4

T /2

1 o 1 o 4t βˆ’ j 2Ο€ nfot 1 o βˆ’ j 2Ο€ nfot βˆ’ j 2Ο€ nf o t = βˆ’e dt + e dt + e dt To βˆ’T∫o /2 To βˆ’T∫o / 4 To To To∫/4 To /2 βˆ’To /4 βˆ’ je βˆ’ j 2Ο€ nfot je βˆ’ j 2Ο€ nfot 4 ⎑ jT te βˆ’ j 2Ο€ nfot To2 e βˆ’ j 2Ο€ nfot ⎀ = + + 2⎒ o + 2βŽ₯ To 2Ο€ nf o βˆ’T /2 To 2Ο€ nf o T /4 To ⎒⎣ To 2Ο€ nf o (To 2Ο€ nf o ) βŽ₯⎦ o

o

To / 4

βˆ’ To /4

βŽ› je+ jΟ€ n je+ jΟ€ n /2 ⎞ βŽ› je βˆ’ jΟ€ n jeβˆ’ jΟ€ n / 2 ⎞ =⎜ βˆ’ βˆ’ ⎟+⎜ ⎟ 2Ο€ n ⎠ ⎝ 2Ο€ n 2Ο€ n ⎠ ⎝ 2Ο€ n +

⎀ To2 4 ⎑ jTo2 βˆ’ jΟ€ n /2 + jΟ€ n /2 βˆ’ jΟ€ n / 2 βˆ’ jΟ€ n /2 e e e e + + βˆ’ ⎒ βŽ₯ ( ) ( ) 2 To2 ⎒⎣ 8Ο€ n ( 2Ο€ n ) βŽ₯⎦

=

j ⎑ βŽ› n ⎞⎀ βŽ›Ο€n ⎞ βŽ›Ο€n ⎞ cos (Ο€ n ) βˆ’ cos ⎜ ⎟ + cos ⎜ ⎟ + sinc ⎜ ⎟ βŽ₯ ⎒ Ο€n ⎣ ⎝ 2 ⎠⎦ ⎝ 2 ⎠ ⎝ 2 ⎠

=

j ⎑ n ⎀ n ( βˆ’1) + sinc βŽ›βŽœ ⎞⎟ βŽ₯ , n = Β±1, Β±2,...... ⎒ Ο€n ⎣ ⎝ 2 ⎠⎦

Using the procedure illustrated in Example 2.27, the 97% bandwidth of the 10 signal is calculated as B = . To b. Calculate the bandwidth of an FM signal with k f = 100 Hz/V . Solution:

The peak frequency deviation, βˆ†f max , of the FM signal is given from (5.15) by βˆ†f max = k f max s (t ) = 100 Γ— 1 = 100 Hz

BT = 2(βˆ†f max + B) = 2(100 + 10) = 220 Hz c. Determine the bandwidth of an PM signal with k p = Ο€ / 2 . Solution:

The peak phase deviation, βˆ†Ο†max , of the PM signal is given from (5.9) by βˆ†Ο†max = k p max s (t ) = Ο€ / 2

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


BT = 2(βˆ†Ο†max + 1) B = 2(Ο€ / 2 + 1)10 = 51.41 Hz d. Calculate the bandwidth of an FM signal with k f = 1000 Hz/V . Solution: βˆ†f max = k f max s (t ) = 1000 Γ— 1 = 1000 Hz

BT = 2(βˆ†f max + B) = 2(1000 + 10) = 2020 Hz e. How do answers to parts (a) βˆ’ (c) change for the case where Am = 2 and To = 1 msec . Solution:

For To = 1 msec , the message bandwidth B = 10 kHz For Am = 2 , βˆ†f max = 200 , BT = 2(βˆ†f max + B) = 2(200 + 10000) = 20.4 kHz For Am = 2 , βˆ†Ο†max = Ο€ and BT = 2(βˆ†Ο†max + 1) B = 2(Ο€ + 1)10000 = 82.83 kHz f. How do answers to parts (a) βˆ’ (c) change for the case where Am = 1 and To = 0.5 msec . Solution:

For To = 0.5 msec , the message bandwidth B = 20 kHz For Am = 1 , βˆ†f max = 100 , BT = 2(βˆ†f max + B) = 2(100 + 20000) = 40.2 kHz For Am = 1 , βˆ†Ο†max = Ο€ / 2 , BT = 2(βˆ†Ο†max + 1) B = 2(Ο€ / 2 + 1)20000 = 102.83 kHz 5.9

A 1 MHz carrier is frequency-modulated by a single tone of frequency 2 kHz, resulting in the peak frequency deviation of 10 kHz. a. What is the bandwidth occupied by the modulated signal? Plot the spectrum of the FM signal (only sidebands in the Carson’s bandwidth). Solution:

βˆ†f max = 10 kHz, B = f m = 2 kHz

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


BT = 2(βˆ†f max + B) = 2(10 + 2) = 24 kHz

Ξ²=

βˆ†f max 10 = =5 2 fm

The spectrum of the FM signal contains 2(Ξ² +1) = 12 sidebands within the Carson’s bandwidth of 24 kHz. FM Spectrum for Ac = 1,

fm(kHz) = 2

& beta = 5

0.5

Magnitude spectrum Magnitude

0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0

-10

-5

0 Frequency(kHz)

5

10

f βˆ’ f c ( kHz )

b. If the amplitude of the modulating sinusoidal signal is increased by a factor of 3 and its frequency is decreased to 1 kHz, how is the bandwidth of the modulated signal modified? Plot the spectrum of the FM signal. Solution:

If the amplitude of the modulating sinusoidal signal is increased by a factor of 3, the peak FM deviation is increased by a factor of 3 to βˆ†f max = 30 kHz . βˆ†f max = 30 kHz, B = f m = 1 kHz BT = 2(βˆ†f max + B) = 2(30 + 1) = 62 kHz

Ξ²=

βˆ†f max 30 = = 30 1 fm

The spectrum of the FM signal contains 2(Ξ² +1) = 62 sidebands within the Carson’s bandwidth of 62 kHz.

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


FM Spectrum for Ac = 1,

fm(kHz) = 1

& beta = 30

0.5

Magnitude spectrum Magnitude

0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0 -30

-20

-10

0 Frequency(kHz)

10

20

30

f βˆ’ f c ( kHz )

c. Repeat part (b) with frequency of the modulating sinusoidal signal increased to 3 kHz. Solution:

βˆ†f max = 30 kHz, B = f m = 3kHz BT = 2(βˆ†f max + B) = 2(30 + 3) = 66 kHz βˆ†f 30 Ξ² = max = = 10 3 fm The spectrum of the FM signal contains 2(10 + 1) = 22 sidebands within the Carson’s bandwidth of 66 kHz. FM Spectrum for Ac = 1,

fm(kHz) = 3

& beta = 10

0.5

Magnitude spectrum Magnitude

0.45 0.4 0.35 0.3 0.25 0.2 0.15 0.1 0.05 0

-30

-20

-10

0 10 Frequency(kHz)

20

30

f βˆ’ f c ( kHz )

5.10 Consider the parallel RLC tuned circuit in Figure P5.3 used as a slope detector.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure P5.3 Parallel resonant circuit

R

I ( jω )

X ( jω )

L

C

V ( jω )

a. Show that the transfer function of the tuned circuit is given by H ( jω ) =

jωωo / Q V ( jΟ‰ ) = 2 Comment: X ( jΟ‰ ) Ο‰o βˆ’ Ο‰ 2 + jωωo / Q

where

Ο‰o = Q=

1 1 , Ο‰3dB = RC LC

Ο‰o C =R L Ο‰3dB

Solution:

βŽ› 1 ⎞ + jΟ‰C ⎟ I = V ( jΟ‰ ) ⎜ ⎝ jΟ‰ L ⎠ βŽ› 1 ⎞ + jΟ‰C ⎟ + V ( jΟ‰ ) X ( jΟ‰ ) = RI + V ( jΟ‰ ) = RV ( jΟ‰ ) ⎜ ⎝ jΟ‰ L ⎠ βŽ› R ⎞ = V ( jΟ‰ ) ⎜ + RjΟ‰C + 1⎟ ⎝ jΟ‰ L ⎠ The transfer function H ( jΟ‰ ) of the parallel RLC tuned circuit can be expressed as H ( jΟ‰ ) =

V ( jΟ‰ ) 1/ R = X ( jΟ‰ ) βŽ› 1 1⎞ ⎜ jΟ‰ L + jΟ‰C + R ⎟ ⎝ ⎠

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Substituting Ο‰o =

1 C , we obtain ,Q = R L LC

jωωo2 L R = = H ( jΟ‰ ) = 2 jΟ‰ L ⎞ βŽ› Ο‰ βŽ› jΟ‰ L ⎞ βŽ› 2 2 jωωo Ο‰o βˆ’ Ο‰ 2 + ⎜ 1 βˆ’ Ο‰ LC + ⎟ ⎜1 βˆ’ 2 + ⎟ ⎜ R ⎠ ⎝ Ο‰o ⎝ R ⎠ ⎝ R jΟ‰ L R

=

jω L R

jωωo R

L C

βŽ› 2 jωωo 2 ⎜ Ο‰o βˆ’ Ο‰ + R ⎝

L⎞ ⎟ C⎠

=

L⎞ ⎟ C⎠

jωωo / Q Ο‰ βˆ’ Ο‰ 2 + jωωo / Q 2 o

b. Determine appropriate values for R, L and C for Ο‰o = 2Ο€ Γ—106 and Q = 20 . Solution:

We choose C = 0.01 Β΅ F and L = 0.1 mH so that f o = 106 =

1 βˆ’3

0.1Γ— 10 Γ— 0.01Γ— 10βˆ’6

Next we calculate R using Q = 20 . 20 = R

C 0.01Γ— 10βˆ’6 β‡’ 400 = R 2 = R 210βˆ’4 βˆ’3 L 0.1Γ— 10

R = 400 Γ— 104 = 2000 ohms

c. Plot the magnitude frequency response of the parallel RLC tuned circuit from 940 kHz to 1 MHz. Select the discriminator center frequency, discriminator constant K FD , and permissible peak frequency deviation for the input signal. Solution:

The frequency response H ( jω ) of the tuned circuit from 940 kHz to 1 MHz is plotted in the Figure. We choose the discriminator center frequency as 970 kHz. The discriminator constant K FD is now calculated from the figure as K FD =

0.7778 βˆ’ 0.5222 0.2556 = = 12.78 Β΅ V/Hz 6 ( 0.98 βˆ’ 0.96 ) Γ—10 0.02 Γ—106

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The determination of permissible peak frequency deviation is subject to the amount of acceptable distortion in the demodulated signal. From the amplitude vs frequency characteristic above, we observe that βˆ†f max = 20 kHz is a good choice. Frequency Response of Parallel Resonant Circuit 1

0.9

|H(j Ο‰)| Magnitude

0.8

0.7

0.6

0.5

0.4

940

950

960

970 Frequency(kHz)

980

990

1000

5.11 Delay-line FM discriminator Consider the FM signal xFM (t ) = Ac cos[2Ο€f c t + ΞΈ (t )] t

where ΞΈ (t ) = 2Ο€ βˆ†f max ∫ sn (t )dt . We use the FM demodulation scheme illustrated in βˆ’βˆž

Figure P5.4. The input FM signal is passed through a delay line that produces a delay of Ο€ / 2 radians at the carrier frequency f c . That is, 2Ο€ f c td = Ο€ / 2 . The output of delay-line is subtracted from the incoming FM signal, and the resulting difference signal is envelope detected. Let y (t ) = xFM (t ) βˆ’ xFM (t βˆ’ td ) Assume ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) 1 . Figure P5.4

xFM (t ) Delay t = 1 d

y (t )

βˆ’

4 fc

Envelope detector

yD (t )

+

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Show that the envelope of y (t ) is given by ⎑ Ο€ ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ v(t ) = 2 Ac sin ⎒ + βŽ₯ 2 ⎣4 ⎦ Solution: y (t ) = xFM (t ) βˆ’ xFM (t βˆ’ td )

= Ac cos [ 2Ο€f c t + ΞΈ (t ) ] βˆ’ Ac cos [ 2Ο€f c (t βˆ’ td ) + ΞΈ (t βˆ’ td )]

ΞΈ (t ) + ΞΈ (t βˆ’ td ) ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ ⎑ ⎀ ⎑ βˆ’ Ο€ βŽ₯ 2 Ac sin ⎒ Ο€f c td + y (t ) = sin ⎒ 2Ο€f ct βˆ’ Ο€f ctd + βŽ₯ 2 2 ⎦ ⎣ ⎦ ⎣ Hig-frequency term

Low-frequency envelope

The first term on the right-hand side is modulating signal dependent carrier term. The second-term is modulating signal dependent low-frequency envelope. Since ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) 1 , the argument of the second term exhibits

Ο€

. This implies that envelope always remains positive 4 to assure proper detection. small variations around

The envelope detector tracks the envelope of y (t ) which is given by

ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ ⎑ v(t ) = 2 Ac sin ⎒ Ο€f c td + βŽ₯ 2 ⎣ ⎦ ⎑ Ο€ ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ = 2 Ac sin ⎒ + βŽ₯ 2 ⎣4 ⎦ b. Show that the envelope detector output can be expressed as yD (t ) =

1 ⎑ 1 dΞΈ ⎀ 1 1+ td = [1 + Ο€ βˆ†f max td sn (t )] 2 ⎒⎣ 2 dt βŽ₯⎦ 2

Solution: ⎑ Ο€ ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ v(t ) = 2 Ac sin ⎒ + βŽ₯ 2 ⎣4 ⎦ ⎑ βŽ›Ο€βŽž βŽ› ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎞ βŽ› Ο€ ⎞ βŽ› ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎞ ⎀ = 2 Ac ⎒sin ⎜ ⎟ cos ⎜ ⎟ + cos ⎜ ⎟ sin ⎜ ⎟βŽ₯ 2 2 ⎝4⎠ ⎝ ⎝ ⎠ ⎠⎦ ⎣ ⎝4⎠ ⎑ βŽ› ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎞ βŽ› ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎞ ⎀ = 2 Ac ⎒ cos ⎜ ⎟ + sin ⎜ ⎟βŽ₯ 2 2 ⎠ ⎝ ⎠⎦ ⎣ ⎝

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Since ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) 1 , the output of the envelope detector can be approximated as ⎑ ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ yD (t ) = 2 Ac ⎒1 + βŽ₯ 2 ⎣ ⎦ ⎑ 1 dΞΈ (t ) ⎀ td βŽ₯ = 2 Ac ⎒1 + ⎣ 2 dt ⎦ Now dΞΈ (t ) = dt

t d ⎑ 2Ο€ βˆ†f max ∫ sn (t )dt ⎀ ⎒⎣ βŽ₯⎦ βˆ’βˆž = 2Ο€ βˆ†f max sn (t ) dt

Substituting ⎑ ΞΈ (t ) βˆ’ ΞΈ (t βˆ’ td ) ⎀ yD (t ) = 2 Ac ⎒1 + βŽ₯ 2 ⎣ ⎦

(*)

= 2 Ac [1 + Ο€ βˆ†f max td sn (t ) ]

c. Calculate the output yD (t ) for a single-tone modulated FM signal xFM (t ) = Ac cos[2Ο€f c t + Ξ² sin 2Ο€f mt ] . Assume f c f m so that f mtd 1 . Solution:

For a single-tone modulating signal t

ΞΈ (t ) = 2Ο€ βˆ†f max ∫ sn (t )dt = Ξ² sin 2Ο€f mt βˆ’βˆž

Taking the derivative of both sides 2Ο€ βˆ†f max sn (t ) = Ξ² 2Ο€ f m cos ( 2Ο€f mt ) β‡’ sn (t ) = cos ( 2Ο€f mt )

Substituting into equation (*), we obtain yD (t ) = 2 Ac [1 + Ο€ βˆ†f max td sn (t ) ] = 2 Ac ⎑⎣1 + Ο€ βˆ†f max td cos ( 2Ο€ f mt ) ⎀⎦ 5.12

A superheterodyne FM receiver operates in the frequency range of 88-108 MHz. Assuming that an IF of 10.7 MHz is selected, determine the range of variation of

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


the local oscillator frequency f LO . Does the range of image frequencies fall outside of the 88-108 MHz band? Solution: We will assume high-side injection. So the LO frequency is f LO = f c + f IF . The

range of LO frequencies is obtained as [88 + 10.7 , 108 + 10.7 ] = [98.7 , 118.7 ] . The image frequencies are located at fimage = f c + 2 f IF . So the range of image frequencies is obtained as [88 + 21.4 , 108 + 21.4] = [109.4 , 129.4] . Image frequencies fall outside the signal band. 5.13

A first-order PLL has phase detector characteristic shown in Figure P5.5. Assume that the phase detector output voltage swing is Β±1.5 V. Determine a. Phase detector gain constant Solution:

Phase detector gain constant K PD =

3

Ο€

V/radians

b. Hold-in range of the PLL. Solution:

The magnitude of the hold-in range βˆ†Ο‰H is calculated by finding the frequency offset of the input that causes a phase error of Β±Ο€/2 radians. The phase detector output voltage swing is Β±1.5 V for this range of phase error variation. We can obtain the PLL hold-in range by multiplying the change in phase detector voltage by KVCO F (0) . Since F (0) = 1 for a first-order PLL, βˆ†Ο‰H is given by βˆ†Ο‰H = 3KVCO Figure P5.5

Ο…e (t )

…

βˆ’Ο€

0

Ο€ 2

Ο€

2Ο€

… Phase error ΞΈ e

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


5.14 A first-order PLL is operating in phase lock when a frequency step βˆ†Ο‰ is applied. Assume that the loop gain K = 500Ο€ . Assume K PD = 0.8V/radians a. Determine the steady-state phase error, in degrees, for βˆ†Ο‰ = 100Ο€ , 200Ο€ , and 800Ο€ . Solution:

For a first-order PLL, the steady-state phase-error due to frequency-step βˆ†Ο‰ is given by

θ e (∞ ) =

βˆ†Ο‰ K

βˆ†Ο‰

θ e (∞ )

100Ο€ 200Ο€ 800Ο€

0.2 0.4 1.6

b. Plot the control voltage in each case. What is the steady-state control voltage after the initial transients have died? Solution:

The control voltage Ο…e (t ) is given from (5.110) as

Ο…e (t ) =

K PD βˆ†Ο‰ 1 βˆ’ eβˆ’ K t K

(

)

1.4

1.2

1 Freq. offset = 100*pi Freq. offset = 200*pi Freq. offset = 800*pi

ve(t)

0.8

0.6

0.4

0.2

0

0

0.5

1

1.5

2

2.5 t(sec)

3

3.5

4

4.5

5 -3

x 10

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βˆ†Ο‰

Ο… e (∞ )

100Ο€ 200Ο€ 800Ο€

0.16 0.32 1.28

c. What is the 3-dB bandwidth of the loop in each case? Comment on the tradeoff between the noise performance of the first-order PLL versus its steady-state phase error in part(a). Solution:

The 3-dB bandwidth of the PLL is K = 500Ο€ (1/sec). The shortcoming of the first-order PLL is that steady-state phase error ΞΈ e (∞) is inversely proportional to the loop gain K. Larger the loop gain, smaller the steady-state phase error ΞΈ e (∞) . However, the larger loop gain implies larger loop bandwidth and more output noise. 5.15 Consider two-pole, second-order PLL with loop filter F ( s ) =

1 . 1 + sΟ„ 1

a. Derive closed-loop transfer function of the PLL in the standard form. Solution:

The open-loop transfer function G ( s ) for the loop is given by G ( s) =

K s (1 + sΟ„ 1 )

We can now write the closed-loop transfer function H ( s ) as

H (s) =

K βŽ› ⎞ K s (1 + sΟ„ 1 ) ⎜⎜1 + ⎟⎟ ⎝ s (1 + sΟ„ 1 ) ⎠

=

K / Ο„1 s s 2 + + K / Ο„1

Ο„1

We can express H ( s ) in the standard form as H (s) =

Ο‰n2 s 2 + 2sΞΆΟ‰n + Ο‰n2

where

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


K

Ο‰n =

ΞΆ =

Ο„1

1 2 KΟ„ 1

b. Determine and compare the 3-dB bandwidth and noise equivalent bandwidth BN of the PLL. Solution:

H ( jω ) =

Ο‰n2

Ο‰n2 βˆ’ Ο‰ 2 + 2ΞΆ jΟ‰nΟ‰

H ( jω ) =

Ο‰n4

2

(Ο‰ βˆ’ Ο‰ ) + ( 2ΞΆΟ‰ Ο‰ ) 2 n

2

2

2

n

Now H ( jω3dB ) =

Ο‰n4

=

1 2

(Ο‰ βˆ’ Ο‰ ) + 4ΞΆ Ο‰ Ο‰

2

2

(Ο‰ βˆ’ Ο‰ ) + ( 2ΞΆΟ‰ Ο‰ ) 2 n

2 3dB

2

n

2

3dB

Solving for Ο‰3dB, we have

⎑ ⎣

(

Ο‰ ⎑ B3dB = n ⎒1 βˆ’ 2Ο‚ 2 + 2Ο€ ⎣

(1 βˆ’ 2Ο‚ ) + 1⎀βŽ₯⎦

∞

1 βˆ’ 2Ο‚ 2

2

∞

BN = ∫ H ( f ) df = ∫ 0

2

1/2

2

Ο‰n4

2

0

)

1/2

⎀ + 1βŽ₯ ⎦

Ο‰3dB = Ο‰n ⎒1 βˆ’ 2Ο‚ 2 +

2 n

2 2

2

2 n

df

∞

Ο‰n4 df 4 2 2 2 2 4 0 ( 2Ο€ f ) + 8Ο€ Ο‰n f ( 2ΞΆ βˆ’ 1) + Ο‰n

=∫ =

Ο‰n 8ΞΆ

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


B3dB Ο‰n ⎑ = 1 βˆ’ 2Ο‚ 2 + ⎒ 2Ο€ ⎣ BN

(1 βˆ’ 2Ο‚ )

8ΞΆ ⎑ = 1 βˆ’ 2Ο‚ 2 + 2Ο€ ⎒⎣

(1 βˆ’ 2Ο‚ )

2

2

2

2

8ΞΆ ⎀ + 1βŽ₯ Γ— Ο‰n ⎦ 1/2

1/2

⎀ + 1βŽ₯ ⎦

8ΞΆ ⎑ 1 βˆ’ 2ΞΆ 2 + It can be shown that ⎒ 2Ο€ ⎣ B3dB < BN .

(1 βˆ’ 2ΞΆ ) 2

2

1/2

⎀ + 1βŽ₯ ⎦

< 1 for ΞΆ > 0. Therefore,

5.16 A frequency step of βˆ†Ο‰ is applied to the second-order PLL with loop active PI loop filter analyzed in Section 5.5.4. a. Derive an expression for the control voltage applied to the VCO. What is the steady-state control voltage after the initial transients have died? Solution:

The closed-loop transfer function H ( s ) the second-order PLL with loop active PI loop filter is given by H (s) =

Θout ( s ) 2sΞΆΟ‰n + Ο‰n2 = 2 Θin ( s ) s + 2 sΞΆΟ‰n + Ο‰n2

The control voltage Ο…e (t ) in s-domain is now obtained as Ve ( s ) =

(

)

sΘin 2 sΞΆΟ‰n + Ο‰n2 sΘout ( s ) = K VCO K VCO s 2 + 2 sΞΆΟ‰n + Ο‰n2

(

)

For a step change βˆ†f in frequency, Θin ( s ) =

Ve ( s ) =

(

2Ο€βˆ†f 2 sΞΆΟ‰n + Ο‰n2

(

)

sK VCO s + 2 sΞΆΟ‰n + Ο‰n2 2

βˆ†Ο‰ . Substituting yields s2

)

The control voltage Ο…e (t ) is now obtained by taking the inverse Laplace transform as

Ο…e (t ) =

⎞ 2Ο€βˆ†f βŽ› Ο‚ eβˆ’Ο‚Ο‰nt ⎜1 βˆ’ e βˆ’Ο‚Ο‰nt cos( 1 βˆ’ Ο‚ 2 Ο‰nt ) + sin( 1 βˆ’ Ο‚ 2 Ο‰nt ) ⎟ u (t ), Ο‚ < 1 ⎟ K VCO ⎜⎝ 1βˆ’ Ο‚ 2 ⎠

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Therefore, the steady-state control voltage after the initial transients have died is given by lim Ο…e (t ) = t β†’βˆž

2Ο€βˆ†f K VCO

The above result can also be derived by applying the final value theorem of the Laplace transform. b. Calculate the peak phase error for the step frequency change βˆ†Ο‰ . Solution:

The phase error ΞΈ e (t ) , for the step frequency change βˆ†Ο‰ , is given from (5.130) as

ΞΈ e (t ) =

βˆ†Ο‰ e βˆ’ΞΆΟ‰nt βŽ› 1 ⎜ sin Ο‰n ⎜⎝ 1 βˆ’ ΞΆ 2

(

⎞ 1 βˆ’ ΞΆ 2 Ο‰n t ⎟ , ΞΆ < 1 ⎟ ⎠

)

The peak phase error ΞΈ p is obtained by setting

ΞΈp =

βˆ†Ο‰

Ο‰n

e

(

dΞΈ e (t ) = 0 and solving to give dt

)

βˆ’ tan βˆ’1 ΞΊ / ΞΊ

where

ΞΊ = 1βˆ’ ΞΆ 2 / ΞΆ 5.17 Consider the second-order PLL with an active PI loop filter. A single tone modulated FM signal with maximum frequency deviation βˆ†f max is applied to the PLL, where the frequency of the modulating signal is f m . a. Calculate the magnitude of the phase error. Solution:

For the second-order active PI loop, the phase error in the s-domain is given from (5.124) as

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Θin ( s ) s 2 Θe ( s ) = 2 s + 2 sΞΆΟ‰n + Ο‰n2 The magnitude of the phase error in the frequency domain can be expressed as Θe ( jΟ‰ ) =

Θin ( jΟ‰ ) Ο‰ 2

(Ο‰ βˆ’ Ο‰ ) + 4ΞΆ Ο‰ Ο‰ 2 n

2

2

2

2 n

2

For an FM signal with maximum frequency deviation βˆ†f max caused by a sinusoidal tone of frequency Ο‰m , the maximum phase deviation from (5.26) is

Ξ²=

βˆ†f max βˆ†Ο‰max = Ο‰m fm

The magnitude of the PLL phase error in tracking the FM signal with the phase deviation Ξ² is now obtained as

Θe ( jΟ‰ ) =

Ξ²Ο‰ 2

(Ο‰ βˆ’ Ο‰ ) + 4ΞΆ Ο‰ Ο‰ 2 n

2

2

2

2 n

2

b. For fixed βˆ†f max , calculate the value of modulating signal frequency f m for which the peak phase error occurs. What is the corresponding value of the peak phase error? Solution:

The phase error at Ο‰ = Ο‰m = 2Ο€ f m is given by Θe ( jΟ‰m ) =

Ξ²Ο‰m2

(Ο‰ βˆ’ Ο‰ ) + 4ΞΆ Ο‰ Ο‰ 2 n

2 2 m

For fixed βˆ†f max , we calculate

2

2 n

= 2 m

d Θe ( jΟ‰m )

d Ο‰m occurs for Ο‰m = Ο‰n . Substituting yields

Ξ² 2

2 βŽ› Ο‰n2 ⎞ 2 Ο‰n ΞΆ βˆ’ 1 + 4 ⎜ 2 ⎟ Ο‰m2 ⎝ Ο‰m ⎠

= 0 . We find that the maximum error

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ› βˆ†Ο‰max ⎞ 1 ⎟ ⎝ Ο‰n ⎠ 2ΞΆ

Ξ΅ p = max Θe ( jΟ‰m ) = ⎜ fm

c. Calculate the parameters of PLL ( K ,Ο„ 1 ,Ο„ 2 ) for a FM signal with βˆ†f max = 75 kHz and f m = 15 kHz . The PLL uses the phase detector with characteristic in Figure P5.5. Assume ΞΆ = 0.707 , and Ο„ 1 = Ο„ 2 . Solution:

The PLL must demodulate the signal with uniform gain and stay within the linear portion of the phase detector characteristic. To assure uniform gain, we choose

Ο‰n > Ο‰m = 15 kHz In order that the PLL operates within the linear portion of the phase detector characteristic, the peak phase error Ξ΅ p < Ο€ / 2 . That is, βŽ› βˆ†Ο‰max ⎞ 1 Ο€ < ⎟ ⎝ Ο‰n ⎠ 2ΞΆ 2

Ρp =⎜

or 75 Ο€ < fn 2 2 or fn >

2 Γ— 75

Ο€

= 33.76 kHz

Therefore, we choose f n = 34 kHz . Now from Table 5.4, we obtain parameters of the second-order PLL with an active PI loop filter as follows:

Ο‰n =

ΞΆ =

K

Ο„1

Ο„ 2Ο‰n 2

and ΞΆ =

β‡’Ο„2 =

Also, Ο‰n Γ— ΞΆ =

2ΞΆ

Ο‰n

Ο„2 2

=

K

Ο„1

2 = 6.62 Β΅ sec 2Ο€ Γ— 34 Γ— 103

Ο„2 K . Assuming Ο„ 2 = Ο„ 1 , 2 Ο„1

K = 2 Γ— Ο‰n Γ— ΞΆ = 2 Γ— 0.707 Γ— 2Ο€ Γ— 34 Γ— 103 = 3.02 Γ— 105 (1/ sec)

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 6 6.1

An unfair coin is tossed 3 times. Assume that the probability of a head p = 0.35 and the probability of a tail 1βˆ’ p = 0.65. a. What is the sample space? Solution: Ω = { HHH , HHT , HTT , HTH , THH , THT , TTT , TTH }

b. Calculate P { HHT } and P {1 tail} . Solution: P { HHT } = 0.35 Γ— 0.35 Γ— 0.65 β‰ˆ 0.08 P {1 tail} = P { HHT , HTH , THH } = 3 Γ— 0.08 = 0.24

c. Determine P {1st toss is not head 1 head} . Solution:

New sample space = { HTT , THT , TTH } P {1st toss is not head 1 head} = P {THT , TTH } =

2 3

Alternatively, ⎧βŽͺ ⎫βŽͺ P { A ∩ B} P ⎨1st toss is not head 1 head ⎬ = P { B} A βŽͺ⎩ βŽͺ⎭ B where A = {THH , THT , TTT , TTH } B = { HTT , THT , TTH } A ∩ B = {THH , THT , TTT , TTH } ∩ { HTT , THT , TTH } = {THT , TTH } P {THT } = P {TTH } = P { HTT } = 0.35 Γ— 0.65 Γ— 0.65 β‰ˆ 0.148

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


P {1st toss is not head 1 head} = P { A B} = =

P { A ∩ B} P { B}

P {THT , TTH }

P { HTT , THT , TTH }

=

0.148 + 0.148 2 = 0.148 + 0.148 + 0.148 3

6.2 Three tetrahedral dice are rolled. Let A be the event that at least one 4 appears and B be the event that no two dice show the same value. a. Find P ( A ) , P ( B ) , and P ( AB ) . Solution:

There are 43 = 64 possible outcomes. From the tree diagram, we observe that 4 appears at least once in 37 outcomes. Therefore, P ( A) =

37 64

From the tree diagram, we observe that no two dice show the same value in 24 outcomes. Therefore,

P ( B) =

24 3 = 64 8

A ∩ B = {124,134,142,143, 214, 234, 241, 243,314,324,341,342, 412, 413, 421, 423, 431, 432} P ( AB ) =

18 9 = 64 32

b. Are A and B statistically independent? Prove your answer. A and B are not statistically independent because P ( AB ) =

9 37 3 111 β‰  P ( A) P ( B ) = Γ— = 32 64 8 512

Alternatively, P ( A ) = P {At least one 4 appers} = P {One 4 appers βˆͺ Two 4's apper βˆͺ Three 4's apper} βŽ› 3⎞ βŽ›3⎞ 37 2 2 3 = ⎜ ⎟ 0.25 Γ— ( 0.75 ) + ⎜ ⎟ ( 0.25 ) Γ— 0.75 + ( 0.25 ) = 64 ⎝1 ⎠ ⎝ 2⎠

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


n! 4! = = 24 (n βˆ’ k )! (4 βˆ’ 3)! 24 3 P ( B ) = P {One of the ordered pairs w/o replacement occurs} = = 64 8

Number of ordered pairs w/o replacement = ( n )k =

2

1

3

4 2

1

3 1

4

4

12 34

3

2 3

4

1 2

1 2 3 4

2

1

3 4 1 2

3

4

1 2

2

3 4 1 2

1

3

3 1 2 34 1 4 2

4

3 4

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6.3 Internet traffic from Los Angeles is routed to New York via Chicago with probability 0.8. In case of congestion, the traffic is routed via Denver with conditional probability of packet being dropped 0.3. Assuming that the conditional probability of packet being dropped via Chicago route is 0.2, determine a. The probability that a packet is dropped. Solution:

Let A = {Packet is routed through Chicago} B = {Packet is dropped }

Now

{ }

P { A} = 0.8 , P { B A} = 0.2 , and

( ) (

P B A = 0.3

)

P ( B ) = P ( A) P ( B A ) + P A P B A = 0.8 Γ— 0.2 + 0.2 Γ— 0.3 = 0.16 + 0.06 = 0.22

b. The conditional probability that a packet is routed via Chicago given that it is not dropped. Solution:

( ) = P ( B A) P ( A) = P ( B A) P ( A) ( ) P ( B) P ( B) P ( B) P ( B A ) = 1 βˆ’ P ( B A ) = 1 βˆ’ 0.2 = 0.8 P AB =

P AB

Γ— 0.8 0.64 = = 0.82 ( ) 0.8 1 βˆ’ 0.22 0.78

P AB =

6.4 The PMF of random variable x is given by ⎧ K / xi , xi = 3, 6,9,12 p x ( xi ) = ⎨ otherwise ⎩0,

a. What is the value of K?

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

K

K

K

K

βˆ‘ p ( x ) = 3 + 6 + 9 + 12 + = 1 x

i

i

25 ⎑12 + 6 + 4 + 3 ⎀ K⎒ =K =1 βŽ₯ 36 36 ⎣ ⎦ 36 K= 25 b. Find P { x > 6} . Solution:

P { x > 6} = P { x = 9 or 12} = P { x = 9 } + P { x = 12} =

36 36 7 + = 25 Γ— 9 25 Γ— 12 25

c. Find P {6 ≀ x ≀ 12} . Solution:

P {6 ≀ x ≀ 12} = P { x = 6 or 9 or 12} = P { x = 6 } + P { x = 9 } + P { x = 12} = 6.5

36 36 36 13 + + = 25 Γ— 6 25 Γ— 9 25 Γ— 12 25

The CDF of the random variable x is given by ⎧ βŽͺ0, βŽͺ βŽͺ (3 + 2 x) Fx ( x) = ⎨ , βŽͺ 6 βŽͺ βŽͺ1, ⎩

3 2 3 3 βˆ’ ≀x≀ 2 2 3 x> 2 x<βˆ’

a. Plot the CDF and PDF. Solution:

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Fx (x) fx (x)

1.0

1/3

0.5

βˆ’1.5

x βˆ’1.5

1.5

x 1.5

b. Find P { x ≀ βˆ’1.5} . Solution: P { x ≀ βˆ’1.5} = Fx (βˆ’1.5) = 0

c. Find P {βˆ’1 < x ≀ 1} . Solution:

P {βˆ’1 < x ≀ 1} = Fx (1) βˆ’ Fx (βˆ’1) =

5 1 4 2 βˆ’ = = 6 6 6 3

d. Find P { x ≀ 2} . Solution: P { x ≀ 2} = Fx (2) = 1

e. Find P { x > 3} . Solution: P { x > 3} = 1 βˆ’ P { x ≀ 3} = 1 βˆ’ Fx (3) = 0

6.6 The PDF of the random variable x is given by f x ( x) = K Ξ› ⎑⎣( x βˆ’ 2 ) / 2 ⎀⎦ . a. What is the value of K?

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: Area of the traingle = 1Γ— K = 1 ∴K =1

b. Plot the PDF.

1.2

fx (x)

1

1.0 Fx (x)

Fx(x)

0.8

0.6

0.4

0.2

0

x 1

2

0

3

0

0.5

1

1.5

2 x

2.5

3

3.5

4

x

c. Determine and plot the CDF. Solution:

For x < 1, Fx ( x) = 0 x

x

t2 x2 For 1 ≀ x ≀ 2, Fx ( x) = ∫ ( t βˆ’ 1)dt = βˆ’ t = βˆ’ x + 0.5 2 2 1 1 For 2 ≀ x ≀ 3, x

βŽ› t2 ⎞ βŽ› x2 ⎞ x2 Fx ( x) = 0.5 + ∫ ( βˆ’t + 3)dt = 0.5 βˆ’ ⎜ βˆ’ 3t ⎟ = 0.5 βˆ’ ⎜ βˆ’ 3 x βˆ’ 2 + 6 ⎟ = βˆ’ + 3 x βˆ’ 3.5 2 ⎝2 ⎠2 ⎝ 2 ⎠ 2 x

For x β‰₯ 3, Fx ( x) = 1 d. P { x ≀ 2} . Solution: P { x ≀ 2} = Fx (2) = 0.5

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


e. Find P {βˆ’1 ≀ x βˆ’ 2 ≀ 1} . Solution:

P {βˆ’1 ≀ x βˆ’ 2 ≀ 1} = P {1 < x ≀ 3} = Fx (3) βˆ’ Fx (1) = 1βˆ’ 0 = 1 f. Find P { x > 2} Solution: P { x > 2} = 1 βˆ’ P { x ≀ 2} = 1 βˆ’ 0.5 = 0.5

6.7 The PDF of random variable x is given by f x ( x) = 0.5e

βˆ’Ξ± x

βˆ’βˆž < x < ∞

,

a. Determine α so that f x ( x) is a PDF. Solution: ∞

∫ 0.5e

βˆ’Ξ± x

βˆ’βˆž

∞

∞

dx = 2 ∫ 0.5e

βˆ’Ξ± x

0

βŽ› e βˆ’Ξ± x ⎞ 1 1 dx = ⎜ ( 0 βˆ’ 1) = = 1 ⎟ = Ξ± βˆ’Ξ± ⎝ βˆ’Ξ± ⎠ 0

Ξ± = 1.0 b. Find its CDF. Solution: x

x

βˆ’βˆž

βˆ’βˆž

Fx ( x) = ∫ f x (t )dt = ∫ 0.5e dt x

βˆ’t

For x < 0, Fx ( x) = ∫ 0.5et dt = 0.5 et βˆ’βˆž

x

βˆ’βˆž

= 0.5 ( e x βˆ’ 0 ) = 0.5e x

For x β‰₯ 0, x

eβˆ’t = 0.5 βˆ’ 0.5 ( eβˆ’ x βˆ’ 1) = 1 βˆ’ 0.5eβˆ’ x Fx ( x) = 0.5 + ∫ 0.5e dt = 0.5 + 0.5 βˆ’1 0 0 x

βˆ’t

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎧βŽͺ0.5e x , Fx ( x) = ⎨ βˆ’x βŽͺ⎩1 βˆ’ 0.5e , c.

x≀0 xβ‰₯0

Find P {βˆ’1 ≀ x ≀ 1}

Solution:

P {βˆ’1 ≀ x ≀ 1} = Fx (1) βˆ’ Fx (βˆ’1) = 1 βˆ’ 0.5e βˆ’1 βˆ’ 0.5e βˆ’1 = 1 βˆ’ eβˆ’1 = 0.632 d. Determine E { x} and Var ( x ) E { x} = 0

{ }

Var ( x ) = E x 2 βˆ’ E 2 { x} 0

∞

∞

βˆ’βˆž

0

= ∫ x 2 f x ( x)dx = 2 Γ— 0.5∫ x 2 eβˆ’ x dx =

2! =2 1

6.8 The CDF of random variable x is shown in Figure P6.1. Figure P6.1

Fx ( x ) 1 5/8

3/8

βˆ’1

0

1

2

x

a. Sketch the PDF of x, f x ( x ) .

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

fx (x) 3/8 3/8 (a) Let y = 2x βˆ’1. Compute the values of P {βˆ’2 < y ≀ 1} . 1/4

x 0

-1

2

1

b. Let y = 2x βˆ’1. Compute the values of P {βˆ’2 < y ≀ 1} . Solution:

⎧ 1 ⎫ βŽ› 1⎞ 5 4 1 P {βˆ’2 < y ≀ 1} = P βŽ¨βˆ’ < x ≀ 1⎬ = Fx (1) βˆ’ Fx ⎜ βˆ’ ⎟ = βˆ’ = ⎩ 2 ⎭ ⎝ 2⎠ 8 8 8 c. Find the value of E { x x > 0} . Solution: ∞

E { x x > 0} = ∫ x f x ( x x > 0 ) dx . βˆ’βˆž

Fx ( x x > 0 ) = P ( x ≀ x x > 0 ) =

P ( x ≀ x, x > 0 ) P ( x > 0)

=

Fx ( x )

P ( x > 0)

,x>0

Differentiating both sides, we obtain f x ( x x > 0) =

fx ( x)

P ( x > 0)

,x>0

Since P ( x > 0 ) = 3 / 8 , the conditional PDF f x ( x x > 0 ) is a rectangular pulse of amplitude 1 over the interval (1,2] centered at x = 1.5. Therefore, E { x x > 0} = 1.5 .

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6.9 The random variable x is passed through a soft limiter with transfer characteristic y = g ( x ) is shown in Figure P6.2. Figure P6.2 y 1 0

x

a βˆ’1

a. Find an expression for the mean and variance of the output random variable y for an arbitrary continuous random variable x . Solution: ∞

βˆ’a

a

∞

x E { y} = ∫ g ( x) f x ( x ) dx = ∫ f x ( x ) dx βˆ’ ∫ f x ( x ) dx + ∫ f x ( x ) dx a βˆ’βˆž βˆ’a βˆ’βˆž a a

.

1 = ∫ x f x ( x ) dx βˆ’ Fx ( βˆ’a ) + ⎑⎣1 βˆ’ Fx ( a ) ⎀⎦ a βˆ’a ∞

2

βˆ’a

∞

βŽ›x⎞ E y 2 = ∫ g ( x) f x ( x ) dx = ∫ ⎜ ⎟ f x ( x ) dx + ∫ f x ( x ) dx + ∫ f x ( x ) dx a⎠ βˆ’βˆž βˆ’a ⎝ βˆ’βˆž a

{ }

a

a

1 = 2 ∫ x 2 f x ( x ) dx + Fx ( βˆ’ a ) + ⎑⎣1 βˆ’ Fx ( a ) ⎀⎦ a βˆ’a

{ }

Var ( y ) = E y 2 βˆ’ E 2 { y} b. If x is a Gaussian random variable, determine the PDF of the output random variable y . Solution: Fy ( y ) is zero for y < βˆ’1 . For y > 1 , Fy ( y ) = P { y ≀ y} = 1 .

For βˆ’1 < y < 1 , Fy ( y ) = P { y ≀ y} = P { x ≀ ay} = Fx ( ay )

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The CDF Fy ( y ) of random variable y can now be expressed as

⎧0, βŽͺ Fy ( y ) = ⎨ Fx ( ay ) , βŽͺ1, ⎩

y < βˆ’1 y ≀1 y >1

Note that at the points y = Β±1 , Fy ( y ) is discontinuous and the steps are given by Fy (βˆ’1+ ) βˆ’ Fy (βˆ’1βˆ’ ) = Fx (βˆ’ a ) Fy (1+ ) βˆ’ Fy (1βˆ’ ) = 1 βˆ’ Fx (a )

For βˆ’1 < y < 1 , y = g ( x) =

f y ( y) =

x . Therefore a

f x ( x) = af x ( x ) x = y = af x ( ay ) g '( x) x = g βˆ’1 ( y )

The PDF f y ( y ) of random variable y is given by f y ( y ) = Fx (βˆ’ a )Ξ΄ ( y + 1) + [1 βˆ’ Fx (a ) ] Ξ΄ ( y βˆ’ 1) + af x (ay ),

y ≀1

If x is N (0, Οƒ x2 ) , f y ( y ) is given by ⎑ 2 2 2 βŽ› a ⎞ βŽ› βˆ’a ⎞ ⎀ a f y ( y) = Q ⎜ eβˆ’ a y /2Οƒ x ⎟ Ξ΄ ( y + 1) + ⎒1 βˆ’ Q ⎜ ⎟ βŽ₯ Ξ΄ ( y βˆ’ 1) + ⎒⎣ 2πσ x2 βŽΟƒx ⎠ ⎝ Οƒ x ⎠ βŽ₯⎦ 2 2 2 βŽ› a ⎞ a e βˆ’ a y /2Οƒ x , = Q⎜ ⎟ ⎑⎣δ ( y + 1) + Ξ΄ ( y βˆ’ 1) ⎀⎦ + 2 2πσ x βŽΟƒx ⎠

y ≀1

c. Determine the mean and variance of the output random variable y if x is a N (0, Οƒ x2 ) . Solution:

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞ βŽ› a ⎞1 E { y} = ∫ y f y ( x ) dy = Q ⎜ ⎟ ∫ y ⎑⎣δ ( y + 1) + Ξ΄ ( y βˆ’ 1) ⎀⎦ dy ⎝ Οƒ x ⎠ βˆ’1 βˆ’βˆž ∞

a

+∫y

2 2

2πσ

βˆ’1

e βˆ’ a y /2Οƒ x dy

2 x

2

1 2 2 2 βŽ› a ⎞ a = Q⎜ βˆ’ + 1 1 y e βˆ’ a y /2Οƒ x dy = 0 ( ) ⎟ ∫ 2πσ x2 βŽΟƒx ⎠ βˆ’1

{ }

E y

2

∞

βŽ› a ⎞1 2 = ∫ y f y ( y ) dy = Q ⎜ ⎟ ∫ y ⎑⎣δ ( y + 1) + Ξ΄ ( y βˆ’ 1) ⎀⎦ dy ⎝ Οƒ x ⎠ βˆ’1 βˆ’βˆž 2

∞

+ ∫ y2 βˆ’βˆž

a 2πσ x2

e βˆ’ a y /2Οƒ x dy 2 2

2

2 2 2 βŽ› a ⎞ 1 2 a = 2Q ⎜ e βˆ’ a y /2Οƒ x dy ⎟ + 2∫ y 2 2πσ x βŽΟƒx ⎠ 0

2 2 2 βŽ› a ⎞ 1 2 a Var ( y ) = E y 2 βˆ’ E 2 { y} = E y 2 = 2Q ⎜ e βˆ’ a y /2Οƒ x dy ⎟ + 2∫ y 2πσ x2 βŽΟƒx ⎠ 0

{ }

{ }

6.10 Let y = x be the output of a full-wave rectifier. a. Determine the CDF of the output random variable y for an arbitrary continuous random variable x . Solution:

The equivalent event for { y ≀ y} is { x ≀ y} . Therefore, for y β‰₯ 0 Fy ( y ) = P { x ≀ y} = P {βˆ’ y < x ≀ y} = Fx ( y ) βˆ’ Fx (βˆ’ y )

b. Find the PDF of y for a Gaussian random variable x . Solution:

Assuming x is a continuous random variable f y ( y ) = f x ( y ) + f x ( βˆ’ y ),

yβ‰₯0

If f x ( x) is even, then f x ( x) = f x (βˆ’ x) and

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


f y ( y ) = 2 f x ( y ),

yβ‰₯0

If x is N (0, Οƒ x2 ) , f y ( y ) is given by 2 e βˆ’ y / 2Οƒ x 2

f y ( y) =

Ο€

2

Οƒx

,

yβ‰₯0

6.11 x is a Gaussian random variable with mean mx = 2 and variance Οƒ x2 = 16 a. Calculate P { x ≀ 2} , P { x β‰₯ 3} , P {6 < x ≀ 10} , P { x βˆ’ 2 ≀ 4} and P { x > 16} . Solution:

(

)

If x is N mx , Οƒ x2 , we have. βŽ›m βˆ’x⎞ P{ x ≀ x} = Fx ( x) = Q ⎜ x ⎟ ⎝ Οƒx ⎠ βŽ› x βˆ’ mx ⎞ P { x > x} = Q ⎜ ⎟ ⎝ Οƒx ⎠

Now βŽ› 2βˆ’2⎞ P{ x ≀ 2} = Fx (2) = Q ⎜ ⎟ = Q ( 0 ) = 0.5 ⎝ 4 ⎠ βŽ› 3βˆ’ 2 ⎞ βŽ›1⎞ P { x > 3} = Q ⎜ ⎟ = Q ⎜ ⎟ = 0.4013 ⎝ 4 ⎠ ⎝4⎠ .

P {6 < x ≀ 10} = Fx (10) βˆ’ Fx (6) βŽ› 2 βˆ’ 10 ⎞ βŽ› 2βˆ’6⎞ = Q⎜ ⎟ βˆ’Q⎜ ⎟ = Q ( βˆ’2 ) βˆ’ Q ( βˆ’1) ⎝ 4 ⎠ ⎝ 4 ⎠ = βˆ’Q ( 2 ) + Q (1) = βˆ’0.02275 + 0.1586 = 0.1358 P { x βˆ’ 2 ≀ 4} = P {βˆ’4 ≀ x βˆ’ 2 ≀ 4} = P {βˆ’2 ≀ x ≀ 6} = Fx (6) βˆ’ Fx (βˆ’2) βŽ› 2βˆ’6⎞ βŽ› 2+2⎞ = Q⎜ ⎟ βˆ’Q⎜ ⎟ = Q ( βˆ’1) βˆ’ Q (1) ⎝ 4 ⎠ ⎝ 4 ⎠ = 1 βˆ’ Q (1) βˆ’ Q (1) = 1 βˆ’ 2Q (1) = 1 βˆ’ 2 Γ— 0.1586 = 0.6828

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


P { x > 16} = P { x < βˆ’16 or x > 16} = P { x < βˆ’16 } + P { x > 16} βŽ› 2 + 16 ⎞ βŽ› 16 βˆ’ 2 ⎞ = Q⎜ ⎟ +Q⎜ ⎟ = Q ( 4.5 ) + Q ( 3.5 ) ⎝ 4 ⎠ ⎝ 4 ⎠ = 0.0000034 + 0.00023 = 0.0002334

b. P { x > Ξ± } = 10βˆ’3 , find Ξ±. Solution:

βŽ›Ξ± βˆ’2⎞ βˆ’3 P{x > Ξ±} = Q ⎜ ⎟ = 10 4 ⎝ ⎠ Ξ± βˆ’2 β‡’ = 3.09 4 Ξ± = 14.36 c. P { x ≀ Ξ± } = 0.995 , find Ξ±. Solution:

βŽ›Ξ± βˆ’2⎞ P{x ≀ Ξ±} = 1βˆ’ P{x > Ξ±} = 1βˆ’ Q ⎜ ⎟ = 0.995 ⎝ 4 ⎠ βŽ›Ξ± βˆ’2⎞ ∴Q ⎜ ⎟ = 1 βˆ’ 0.995 = 0.005 ⎝ 4 ⎠ Ξ± βˆ’2 = 2.575 β‡’ Ξ± = 12.3 4 d. Find P { x βˆ’ mx > 6Οƒ x } . Solution:

P { x βˆ’ mx > 6Οƒ x } = P { x βˆ’ mx < βˆ’24 or x βˆ’ mx > 24} = P { x < βˆ’22 } + P { x > 26} βŽ› 2 + 22 ⎞ βŽ› 26 βˆ’ 2 ⎞ = Q⎜ ⎟ +1βˆ’ Q ⎜ ⎟ ⎝ 4 ⎠ ⎝ 4 ⎠ = 2 Γ— Q(6) = 0.00198 Γ— 10βˆ’6

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6.12 x and y have joint PDF f x , y ( x, y ) = K ( x 2 + y 2 ) ,

βˆ’ 1 ≀ x ≀ 1, βˆ’ 1 ≀ y ≀ 1

a. Find the value of K? Solution: 1 1

∫ ∫ K (x + y ) 2

2

βˆ’1 βˆ’1

1

βŽ› x3 ⎞ dxdy = K ∫ dy ⎜ + y 2 x ⎟ ⎝ 3 ⎠ βˆ’1 βˆ’1 1

1

βŽ› y y3 ⎞ βŽ›1 ⎞ βŽ›4⎞ = 2 K ∫ dy ⎜ + y 2 ⎟ = 2 K ⎜ + ⎟ = 2 K ⎜ ⎟ = 1 ⎝3 ⎠ ⎝3⎠ ⎝ 3 3 ⎠ βˆ’1 βˆ’1 1

β‡’K=

3 8

b. Determine the joint CDF Fx , y ( x, y ) . Solution: x

βŽ› u3 ⎞ 3 y x 3 y Fxy ( x, y ) = ∫ ∫ u 2 + v 2 dudv = ∫ dv ⎜ + v 2u ⎟ 8 βˆ’1 βˆ’1 8 βˆ’1 ⎝ 3 ⎠ βˆ’1

(

)

y

βŽ› x3 ⎞ 3 βŽ› x 3v v 3 3 y 1 v v3 ⎞ = ∫ dv ⎜ + v 2 x + + v 2 ⎟ = ⎜ + x+ + ⎟ 8 βˆ’1 ⎝ 3 3 3 3 3 ⎠ βˆ’1 ⎠ 8⎝ 3 3 βŽ› x3 y xy 3 y y 3 ⎞ 3 βŽ› x 3 x 1 1 ⎞ = ⎜ + + + ⎟+ ⎜ + + + ⎟ 8⎝ 3 3 3 3 ⎠ 8⎝ 3 3 3 3⎠ 3 y 3 y 1 = x + 1 + ( x + 1) + x 3 + x + 2 8 8 8

(

)

(

)

That is, Fxy ( x, y ) =

y 3 y3 1 x + 1 + ( x + 1) + x3 + x + 2 , 8 8 8

(

)

(

)

βˆ’ 1 ≀ x ≀ 1; βˆ’ 1 ≀ y ≀ 1

c. Calculate the marginal PDFs of x and y . Solution:

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1

3 1 3βŽ› y3 ⎞ f x ( x) = ∫ x 2 + y 2 dy = ⎜ x 2 y + ⎟ 8 βˆ’1 8⎝ 3 ⎠ βˆ’1

(

)

3βŽ› 1 1⎞ 3βŽ› 1⎞ = ⎜ x2 + + x2 + ⎟ = ⎜ x2 + ⎟ , 8⎝ 3 3⎠ 4⎝ 3⎠

βˆ’1 ≀ x ≀ 1

1

⎞ 3 1 3 βŽ› x3 f y ( y ) = ∫ x 2 + y 2 dx = ⎜ + y 2 x ⎟ 8 βˆ’1 8⎝ 3 ⎠ βˆ’1

(

)

3βŽ›1 1 1⎞ ⎞ 3βŽ› = ⎜ + y2 + + y2 ⎟ = ⎜ y2 + ⎟ , 8⎝3 3 3⎠ ⎠ 4⎝

βˆ’1 ≀ y ≀ 1

6.13 x and y have joint PDF f x , y ( x, y ) = xye βˆ’( x + y ) ,

x β‰₯ 0; y β‰₯ 0

a. Determine f x ( x) and f y ( y ) . Solution: ∞

∞

0

0

f x ( x) = ∫ xyeβˆ’( x + y ) dy = xeβˆ’ x ∫ yeβˆ’ y dy βˆ’x

= xe ,

xβ‰₯0

∞

∞

f y ( y ) = ∫ xye βˆ’( x + y ) dx = yeβˆ’ y xeβˆ’ x ∫ xeβˆ’ x dx 0

0

βˆ’y

= ye ,

yβ‰₯0

b. Are x and y statistically independent? Solution: f y ( y)

f xy ( x, y ) = xye

βˆ’( x + y )

= xe

βˆ’x

yeβˆ’ y = f x ( x) f y ( y )

fx ( x)

Therefore, x and y statistically independent. c. Find f y ( y x) and f x ( x y ) . Solution:

Since x and y statistically independent,

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


f y ( y x) = f y ( y ) = yeβˆ’ y ,

yβ‰₯0

To prove this, f y ( y x) =

f xy ( x, y ) f x ( x)

=

xye βˆ’( x + y ) = yeβˆ’ y = f y ( y ) βˆ’x xe

Similarly, f x ( x y ) = f x ( x) = xe βˆ’ x ,

xβ‰₯0

d. Find E ( y x = x) and E ( x y = y ) . Solution: ∞

∞

βˆ’βˆž

βˆ’βˆž

∞

E ( y x = x) = ∫ y f y ( y x)dy = ∫ y f y ( y )dy = ∫ y 2 eβˆ’ y dy = 2 0

E( y) ∞

∞

βˆ’βˆž

βˆ’βˆž

∞

E ( x y = y ) = ∫ x f x ( x y )dx = ∫ x f x ( x) dx = ∫ x 2 e βˆ’ x dx = 2 0

E( x)

e. Find E ( x ) and E ( y ) . Solution: ∞

∞

βˆ’βˆž

0

∞

∞

βˆ’βˆž

0

E ( x ) = ∫ x f x ( x)dx = ∫ x 2 eβˆ’ x dx = 2 E ( y ) = ∫ y f y ( y )dy = ∫ y 2 eβˆ’ y dy =2 6.14 Show that the correlation coefficient ρ xy between random variable x and y satisfies βˆ’1 ≀ ρ xy ≀ 1 . Solution:

Let w = x - ay . Then

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


{

}

Var ( w ) = E ( x - ay ) βˆ’ ⎑⎣ E ( x - ay ) ⎀⎦ 2

2

{ } { } = E { x } βˆ’ m + E {a y } βˆ’ a m βˆ’ E {2axy} + 2am m = E x 2 βˆ’ 2axy + a 2 y 2 βˆ’ mx2 βˆ’ 2amx m y + a 2 m 2y 2

2 x

2

2

2

2 y

x

y

= Var ( x ) + a Var ( y ) βˆ’ 2aCov ( xy ) 2

Since Var ( w ) β‰₯ 0 for any a, 2aCov ( xy ) ≀ Var ( x ) + a 2Var ( y ) . Now if we choose a =

Οƒx , Οƒy 2

βŽ›Οƒ ⎞ Οƒ 2 x Cov ( xy ) ≀ Var ( x ) + ⎜ x ⎟ Var ( y ) βŽœΟƒy ⎟ Οƒy ⎝ ⎠ or 2Cov ( xy ) ≀ Οƒ xΟƒ y + Οƒ xΟƒ y or Cov ( xy ) ≀ Οƒ xΟƒ y β‡’ ρ xy ≀ 1 Similarly by choosing a = βˆ’

Οƒx , we can show that Οƒy

Cov ( xy ) β‰₯ βˆ’Οƒ xΟƒ y β‡’ ρ xy β‰₯ βˆ’1 .

6.15 Random variables x and y have joint PDF f x , y ( x, y ) = C ( x + y ) ,

0 ≀ x ≀ 2; 0 ≀ y ≀ 1

a. Calculate C. ∞ ∞

2 1

βˆ’βˆž βˆ’βˆž

0 0

∫ ∫ f xy ( x, y)dxdy = ∫ ∫ C ( x + y)dxdy 1

2 βŽ› 1⎞ y2 ⎞ βŽ› = C ∫ dx ⎜ xy + ⎟ = C ∫ dx ⎜ x + ⎟ 2 ⎠0 2⎠ ⎝ ⎝ 0 0 2

2

βŽ› x2 x ⎞ = C ⎜ + ⎟ = 3C = 1 β‡’ C = 1/ 3 ⎝ 2 2⎠0 b. Determine E ( x ) and E ( y ) . Solution:

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

1

∞

2

1

x+ y xy y 2 1βŽ› 1⎞ f x ( x) = ∫ f xy ( x, y )dy = ∫ dy = + = ⎜ x + ⎟, 0 ≀ x ≀ 2 3 3 6 0 3⎝ 2⎠ 0 βˆ’βˆž 2

x+ y xy x 2 2 f y ( y ) = ∫ f xy ( x, y )dx = ∫ dx = + = ( y + 1) , 0 ≀ y ≀ 1 3 3 6 0 3 βˆ’βˆž 0 ∞

2

∞

1

2

xβŽ› 1⎞ 1 βŽ› x3 x 2 ⎞ 1 βŽ› 8 4 ⎞ 11 E { x} = ∫ xf x ( x)dx = ∫ ⎜ x + ⎟dx = ⎜ + ⎟ = ⎜ + ⎟ = 3⎝ 2⎠ 3⎝ 3 4 ⎠0 3⎝3 4⎠ 9 βˆ’βˆž 0 1

2y 2 βŽ› y3 y 2 ⎞ 2 1 1 5 E { y} = ∫ yf y ( y )dy = ∫ ( y + 1)dy = ⎜ + ⎟ = βŽ›βŽœ + ⎞⎟ = 3 3⎝ 3 2 ⎠0 3⎝3 2⎠ 9 βˆ’βˆž 0 b. Find Var ( x ) and Var ( y ) .

{ }

E x

2

{ }

E y

2

∞

2

x2 βŽ› 1⎞ 1 βŽ› x 4 x3 ⎞ 1 βŽ› 16 8 ⎞ 16 = ∫ x f x ( x)dx = ∫ ⎜ x + ⎟dx = ⎜ + ⎟ = ⎜ + ⎟ = 3 ⎝ 2⎠ 3⎝ 4 6 ⎠0 3⎝ 4 6⎠ 9 βˆ’βˆž 0 2

2

∞

1

2 y2 2 βŽ› y 4 y3 ⎞ 2 1 1 7 = ∫ y f y ( y )dy = ∫ ( y + 1)dy = ⎜ + ⎟ = βŽ›βŽœ + ⎞⎟ = 3 3⎝ 4 3 ⎠ 0 3 ⎝ 4 3 ⎠ 18 βˆ’βˆž 0 1

2

{ }

16 121 144 βˆ’ 121 23 βˆ’ = = 9 81 81 81

{ }

7 25 13 βˆ’ = 18 81 162

Var ( x ) = E x 2 βˆ’ E 2 { x} = Var ( y ) = E y 2 βˆ’ E 2 { y} =

c. Calculate Cov( x, y ) and ρ xy . Solution: COV ( x , y ) = E { xy} βˆ’ E { x} E { y} ∞

∞

βˆ’βˆž

βˆ’βˆž

2

E { xy} = ∫ dy ∫ xyf xy ( x, y )dx = ∫ dx 0

1

1

x y ( x + y )dy 3 ∫0 2

2 ⎑ x x 2 ⎀ 1 ⎑ x 2 x3 ⎀ 1 ⎑4 8⎀ 2 x⎑y y x⎀ 1 = ∫ dx ⎒ + = dx βŽ₯ ⎒ + βŽ₯= ⎒ + βŽ₯ = ⎒ + βŽ₯= ∫ 3⎣ 3 2 ⎦0 3 0 ⎣ 3 2 ⎦ 3 ⎣ 6 6 ⎦0 3 ⎣ 6 6 ⎦ 3 0 2

3

2

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


COV ( x, y ) =

2 5 11 2 55 1 βˆ’ = βˆ’ =βˆ’ 3 9 9 3 81 81

d. What is E ( x + y ) and Var ( x + y ) ? Solution:

E { x +y} = E { x} + E { y} =

11 5 16 + = 9 9 9

Var { x +y} = Var { x} + Var { y} + 2COV ( x, y ) =

23 13 2 13 + 46 βˆ’ 4 55 + βˆ’ = = 81 162 81 162 162

6.16 x and y are two N (0,1) random variables. Determine the PDF of z = x + y if a.

x and y are statistically independent.

Solution:

Since x and y are Gaussian random variables, their sum z = x + y is also Gaussian with mean and variance E { z} = E { x} + E { y} = 0 + 0 = 0 Var ( z ) = Var ( x ) + Var ( y ) = 1 + 1 = 2

The PDF of z can now be expressed as f z ( z) =

1 βˆ’ z 2 /4 e 4Ο€

b. The correlation coefficient ρ xy = βˆ’1/ 2 . Solution:

Since x and y are Gaussian random variables, their sum z = x + y is also Gaussian with mean and variance E { z} = E { x} + E { y} = 0 + 0 = 0

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Var ( z ) = Var ( x ) + Var ( y ) + 2Cov( x, y )

= Var ( x ) + Var ( y ) + 2 ρ xy Var ( x ) Var ( y ) = 1 + 1 + 2 ( βˆ’1/ 2 ) = 1 The PDF of z can now be expressed as f z ( z) =

1 βˆ’ z 2 /2 e 2Ο€

6.17 Let y = e- ax . a. Find the CDF and PDF of y if x is a uniformly distributed random variable in [0,1] . Assume a > 0. Solution:

For x ∼ U [ 0,1] , y assumes values in [ eβˆ’ a , 1]. For y ≀ 0, P { y ≀ y} = 0 . For y in [ e βˆ’ a , 1], we have

{

}

P { y ≀ y} = P e βˆ’ ax ≀ y = P {βˆ’ ax ≀ log e y}

⎧ ⎧ log e (1/ y ) ⎫ log e (1/ y ) ⎫ = P ⎨x > ⎬ = 1βˆ’ P ⎨ x ≀ ⎬ a a ⎩ ⎭ ⎩ ⎭ βŽ› log e (1/ y ) ⎞ = 1 βˆ’ Fx ⎜ ⎟ a ⎝ ⎠ ⎧0, y ≀ eβˆ’ a βŽͺ βŽ› log e (1/ y ) ⎞ βŽͺ Fy ( y ) = ⎨1 βˆ’ Fx ⎜ eβˆ’ a ≀ y ≀ 1 ⎟, a ⎝ ⎠ βŽͺ βŽͺ1, y β‰₯1 ⎩ Now ⎧0, βŽͺ Fx ( x) = ⎨ x, βŽͺ1 ⎩

x≀0 0 ≀ x ≀1 x >1

Substituting yields

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎧0, βŽͺ βŽͺ log e ( y ) Fy ( y ) = ⎨1 + , a βŽͺ βŽͺ1, ⎩

y ≀ eβˆ’ a eβˆ’ a ≀ y ≀ 1 y >1

⎧1 βŽͺ , f y ( y ) = ⎨ ya βŽͺ0, ⎩

eβˆ’ a ≀ y ≀ 1 elsewhere

b. Find the CDF and PDF of y if x is a Gaussian random variable. For the case a = βˆ’1, y is called lognormal random variable. Solution:

We consider the case a = βˆ’1. For y ≀ 0, P { y ≀ y} = 0 . For y > 0,

{

}

P { y ≀ y} = P e x ≀ y = P { x ≀ log e y} = Fx ( log e y ) y≀0

⎧βŽͺ0, Fy ( y ) = ⎨ βŽͺ⎩ Fx ( log e y ) ,

y>0

For y > 0 dF ( log e y ) d log e y 1 fy ( y) = x = f x ( log e y ) = f x ( log e y ) dy dy y Therefore, y≀0

⎧0, βŽͺ f y ( y) = ⎨ 1 βŽͺ y f x ( log e y ) , ⎩ For f x ( x) =

f y ( y) =

1 y

1

2πσ x2

e βˆ’ ( x βˆ’ mx ) /2Οƒ x , we have 2

2πσ x2 1

y>0

2

e βˆ’ (loge y βˆ’ mx ) /2Οƒ x , 2

2

y>0

6.18 The PDF of Rayleigh distributed random variable x is given by

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


f x ( x) =

x

Οƒ

e βˆ’ x /2Οƒ , 2

2

0≀ x<∞

2

Ο€βŽž βŽ› , E x 2 = 2Οƒ 2 and Var ( x ) = ⎜ 2 βˆ’ ⎟ Οƒ 2 2⎠ 2 ⎝

Ο€

a. Show that E { x} = Οƒ

( )

Solution: ∞

x2

E { x} = ∫

Οƒ

0

e βˆ’ x /2Οƒ dx = 2 2

2

∞

1

xe Οƒ ∫

2 βˆ’ x 2 /2Οƒ 2

2

dx

0

Now for the N (0, Οƒ 2 ) random variable, we have ∞

1 2πσ

2

∫ xe

2 βˆ’ x 2 /2Οƒ 2

dx = Οƒ 2

βˆ’βˆž

Since the integrand is even, we obtain ∞

1

2 βˆ’ x /2Οƒ dx = ∫xe 2

2

2πσ 2 0

Οƒ2 2

or ∞

2 βˆ’ x /2Οƒ dx = ∫xe 2

2

Οƒ 2 2πσ 2 2

0

=Οƒ3

Ο€ 2

Therefore, E { x} =

{ }

Οƒ3 Ο€ Ο€ =Οƒ 2 Οƒ 2 2 ∞

E x2 = ∫ 0

x3

Οƒ

e βˆ’ x /2Οƒ dx = 2 2

2

1

∞

xe Οƒ ∫

3 βˆ’ x 2 /2Οƒ 2

2

dx

0

b

b

To use integration by parts ∫ udv = uv a βˆ’ ∫ vdu , we let u = x 2 and v = e βˆ’ x /2Οƒ . b

a

2

2

a

Then dv = βˆ’

2 x βˆ’ x2 /2Οƒ 2 x βˆ’ x2 /2Οƒ 2 = βˆ’ e dx e dx Οƒ2 2Οƒ 2

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Therefore, we can write 1

∞

xe Οƒ ∫

3 βˆ’ x 2 /2Οƒ 2

2

0

∞

(

dx = βˆ’ ∫ x 2 d e βˆ’ x /2Οƒ 2

2

)

0

Now ∞

(

βˆ’βˆ« x d e 2

βˆ’ x 2 /2Οƒ 2

)

0

∞ 2 2 βŽͺ⎧ 2 βˆ’ x2 /2Οƒ 2 ∞ βŽͺ⎫ = βˆ’ ⎨x e βˆ’ ∫ eβˆ’ x /2Οƒ 2 xdx ⎬ 0 0 ⎩βŽͺ ⎭βŽͺ

∞ ∞ 2 2 x βˆ’ x2 /2Οƒ 2 βŽͺ⎫ x βŽͺ⎧ 2 2 = βˆ’ ⎨0 βˆ’ 2Οƒ ∫ 2 e dx ⎬ = 2Οƒ ∫ 2 e βˆ’ x /2Οƒ dx = 2Οƒ 2 Οƒ Οƒ 0 0 ⎩βŽͺ ⎭βŽͺ =1

{ }

Thus E x 2 = 2Οƒ 2 . Now 2

βŽ› Ο€βŽž βŽ› Ο€βŽž 2 Var ( x ) = E { x } βˆ’ E { x} = 2Οƒ βˆ’ ⎜⎜ Οƒ ⎟ = ⎜ 2 βˆ’ βŽŸΟƒ 2 ⎟⎠ ⎝ 2⎠ ⎝ 2

2

2

b. Find the CDF Fx ( x ) . Plot it. Solution: x

Fx ( x ) = ∫ 0

t

Οƒ

e βˆ’t /2Οƒ dt 2

2

2

To solve the integral, let us substitute z =

Fx ( x ) =

x 2 /2Οƒ 2

∫ 0

t2 t . Then dz = 2 dt . 2 Οƒ 2Οƒ

x 2 /2Οƒ 2

eβˆ’ z e βˆ’ z dz = βˆ’1 0

= 1 βˆ’ e βˆ’ x /2Οƒ , 2

0≀ x<∞

2

Rayleigh CDF 1.2

1

0.8

0.6

0.4 2 Οƒ =1

0.2

2 Οƒ =2 2 Οƒ =3

0

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. Find P { x ≀ 0.1Γ— x RMS } , where x RMS = 2Οƒ is the rms value of the random variable x. Solution: P { x ≀ 0.1Γ— x RMS } = 1 βˆ’ e βˆ’( 0.1) 2Οƒ /2Οƒ = 1 βˆ’ e βˆ’0.01 = 1 βˆ’ 0.99 = 0.01 2

2

2

The random variable x assumes values less than 0.1Γ— xRMS with a probability of 1%. 6.19 Consider linear transformation y = A x + b of a vector x = ( x1 , x2 ,........, xn ) of T

continuous random variables. Assume that the nΓ—n matrix A has rank n. a. Show that the PDF of y is given by f y ( y) =

( (

1 βˆ’1 fx A y βˆ’ b A

))

Solution:

{

( )

}

( )

Let B = y ≀ y . Therefore, Fy y = ∫ f y y d y . Since the inverse of matrix A B

exists, we can define the inverse transformation T by x=A

βˆ’1

( y βˆ’ b) ( )

T y

Since this is one-one transformation, we observe that y is in the set B

{

}

if and only if x is in the set T ( B ) = x A x + b ≀ y . Thus

( )

{

}

Fy y = P y in B = P { x in T ( B )} = ∫ f x ( x ) d x T ( B)

The n-dimensional elemental areas d x and d y are related by Jacobian as discussed in Section 6.8.1. That is dx1dx2 ...dxn = J ( y1 , y2 ,..., yn ) dy1dy2 ...dyn

where

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ› βˆ‚x1 βˆ‚x1 ⎜ βˆ‚y βˆ‚y 2 ⎜ 1 ⎜ βˆ‚x2 βˆ‚x1 ⎜ J ( y1 , y2 ,..., yn ) = det ⎜ βˆ‚y1 βˆ‚y2 ⎜ ⎜ ⎜ βˆ‚xn βˆ‚xn ⎜ βˆ‚y βˆ‚y 2 ⎝ 1

βˆ‚x1 ⎞ βˆ‚yn ⎟ ⎟ βˆ‚x1 ⎟ βˆ‚yn ⎟⎟ ⎟ ⎟ βˆ‚xn1 ⎟ βˆ‚yn ⎟⎠ x = Aβˆ’1 ( y βˆ’b )

It is easy to prove that J ( y1 , y2 ,..., yn ) = det ( Aβˆ’1 ) =

( )

Fy y = ∫ f x ( x ) d x = T ( B)

1 det ( A )

( (

))

1 βˆ’1 fx A y βˆ’ b d y ∫ det ( A ) B

Therefore, f y ( y) =

( (

1 βˆ’1 fx A y βˆ’ b A

))

b. If x = ( x1 , x2 ,........, xn ) is a Gaussian random vector with expected value T

m x and covariance matrix C x , the vector y is also Gaussian with expected value m y = Am x + b and covariance matrix C y = AC x A . T

Solution: ⎜ βˆ’ ( A ( y βˆ’b ) βˆ’ m x ) C x ( A ( y βˆ’b ) βˆ’ m x ) ⎟ 1 1 βˆ’1 ⎝ 2 ⎠ f y ( y) = fx A y βˆ’ b = e n /2 1/2 A ( 2Ο€ ) A C x

( (

βŽ› 1

))

T

βˆ’1

βˆ’1

βˆ’1

⎞

Now

A

βˆ’1

( y βˆ’ b ) βˆ’ m = A ( y βˆ’ b βˆ’ Am ) = A ( y βˆ’ m ) βˆ’1

x

βˆ’1

x

y

and

( A ( y βˆ’ b ) βˆ’ m ) = ( y βˆ’ b βˆ’ Am ) ( A ) = ( y βˆ’ m ) ( A ) T

βˆ’1

x

T

x

βˆ’1 T

T

βˆ’1 T

y

The argument of the exponential is therefore equal to

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


( y βˆ’ b βˆ’ Am ) ( A ) C A ( y βˆ’ b βˆ’ Am ) = ( y βˆ’ m ) ( A ) C A ( y βˆ’ m ) βˆ’1 T

T

βˆ’1 x

x

T

βˆ’1

x

T

βˆ’1

βˆ’1 x

y

βˆ’1

y

( ) C A = ( AC A ) , we can express

where m y = Am x + b . Since A

T

βˆ’1

βˆ’1 x

βˆ’1

T

βˆ’1

x

( y βˆ’ m ) ( A ) C A ( y βˆ’ m ) = ( y βˆ’ m ) ( AC A ) ( y βˆ’ m ) T

T

βˆ’1

y

βˆ’1 x

T

βˆ’1

y

y

T

βˆ’1

x

y

Letting C y = AC x A and noting that C y = A C x A = A C x , the joint pdf T

T

2

of the Gaussian random vector y can be expressed as f y ( y) =

1

( 2Ο€ )

n /2

Cy

e

1/2

T βˆ’1 βŽ› 1 ⎞ ⎜ βˆ’ y βˆ’m y C y y βˆ’m y ⎟ ⎝ 2 ⎠

(

)

(

)

6.20 Let y = x1 + x2 + ......... + xn be the sum of n independent random variables. a. Calculate the characteristic function Φ y ( jω ) . Solution:

{

}

Ξ¦ y (u ) = E {e jyu } = E e j ( x1 + x2 +.........+ xn )u = Ξ¦ x1 , x2 ,...., xn ( x1u, x2u,...., xn u ) If x1 , x2 ,........, xn are independent random variables we can write

{

Ξ¦ y (u ) = E e j ( x1 + x2 +.........+ xn )u n

}

{ }

= ∏ E e jxiu = Φ x1 (u )Φ x2 (u )..........Φ xn (u ) i =1

b. If x1 , x2 ,........, xn are independent Gaussian random variables, show that y is a Gaussian random variable. Solution:

For xi ~ N (mi , Οƒ i2 ) , the characteristic function of the random variable y is given by n

n

i =1

i =1

Φ y (u ) = ∏ Φ x1 (u ) = ∏ e

1 jmi u βˆ’ Οƒ i2u 2 2

=e

ju ( mi + m2 +...+ mn ) βˆ’

(

)

1 2 2 Οƒ1 +Οƒ 2 +.....+Οƒ n2 u 2 2

=e

1 jm y u βˆ’ Οƒ 2y u 2 2

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


where m y = m1 + m2 + .... + mn

Οƒ y2 = Οƒ 12 + Οƒ 22 + ....... + Οƒ n2 Thus y is N (m y , Οƒ y2 ) random variable.

(

)

6.21 A random signal is defined as x (t ) = At + B where A is N 0, Οƒ A2 random variable. a. Find the first-order PDF of x (t ) . Solution:

The PDF of x is given from (6.71) as f x ( x) =

f A ( A) 1 βŽ› xβˆ’B⎞ = fA ⎜ ⎟ g '( A) A= g βˆ’1 ( x ) t ⎝ t ⎠ 2

1

= t

2πσ A2

e

βŽ› xβˆ’B ⎞ 2 βˆ’βŽœ ⎟ /2Οƒ A ⎝ t ⎠

b. Find the mean and correlation functions, mx (t ) and Rx (t1 , t2 ) . Solution: mx (t ) = E { At + B} = E{ A}t + B = B

Rx (t1 , t2 ) = E { x (t1 ) x (t2 )} = E {( At1 + B )( At2 + B )} = E { A2t1t2 + B 2 + At2 B + At1 B}

= t1t2 E { A2 } + t1 BE { A} + t2 BE { A} + B 2 = t1t2Οƒ A2 + B 2 6.22

Let x (t ) be a zero-mean Gaussian random process with autocorrelation function βˆ’ t βˆ’t

Rx (t1 , t2 ) = 2e 2 1 . Determine the joint PDF of x (t ) and x (t + Ο„ ) .

Solution:

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Let x1 = x (t ) and x2 = x (t + Ο„ ) . The joint PDF of x1 and x2 is given from (6.169) as f x ( x) =

1

( 2Ο€ )

n /2

C

1/2

e

T βˆ’1 βŽ› 1 ⎞ ⎜ βˆ’ ( x βˆ’m) C ( x βˆ’m) ⎟ ⎝ 2 ⎠

where ⎑ m ⎀ ⎑ E { x ( t1 )} ⎀ βŽ₯=0 m=⎒ 1βŽ₯=⎒ ⎣ m2 ⎦ ⎒⎣ E { x ( t2 )}βŽ₯⎦ and ⎑Var ( x1 ) COV ( x1 x2 ) ⎀ ⎑ 2 C=⎒ βŽ₯ = ⎒ βˆ’Ο„ COV Var x x x ( ) ( ) βŽ₯ ⎣⎒ 2e 2 1 2 ⎦ ⎣⎒

2e βˆ’ Ο„ ⎀ βŽ₯ 2 ⎦βŽ₯

Now βˆ’1

C =

(

1

2 1 βˆ’ e βˆ’2 Ο„

(

C = 4 1 βˆ’ e βˆ’2 Ο„

)

)

⎑1 ⎒ βˆ’Ο„ ⎣⎒ βˆ’e

βˆ’Ο„ βˆ’e ⎀ βŽ₯ 1 ⎦βŽ₯

Also 1 1 1 T ( x βˆ’ m x ) C ( x βˆ’ m x ) = xT C x = 2 2 4 1 βˆ’ e βˆ’2 Ο„

(

=

(

1

4 1βˆ’ e

βˆ’2 Ο„

)

)

βŽ›1 ( x1 x2 ) ⎜⎜ βˆ’ Ο„ ⎝ βˆ’e

⎞ βŽ› x1 ⎞ ⎟⎜ ⎟ 1 ⎟⎠ ⎝ x2 ⎠

βˆ’e

βˆ’Ο„

( x + x βˆ’ 2x x e ) 2 1

βˆ’Ο„

2 1

1 2

Substituting yields f x1 x2 ( x1 , x2 ) =

1

4Ο€

( e

βˆ’1

4 1βˆ’ e

(1 βˆ’ e ) βˆ’2 Ο„

βˆ’2 Ο„

)

( x +x βˆ’ 2 x x e ) 2 1

2 1

βˆ’Ο„

1 2

30 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6.23

Let y (t ) = x (t ) cos(2Ο€ f c t + ΞΈ ) where x (t ) is a WSS random process and ΞΈ is statistically independent random variable uniformly distributed in the interval [0, 2Ο€]. a. Find the autocorrelation function R y (t , t + Ο„ ) . Is y (t ) WSS? Solution:

E { y (t )} = E { x (t ) cos ( 2Ο€ f c t + ΞΈ )} = E { x (t )} E {cos ( 2Ο€ f c t + ΞΈ )} = 0 R y (t , t + Ο„ ) = E { y (t ) y (t + Ο„ )} = E { x (t ) cos ( 2Ο€ f c t + ΞΈ ) x (t + Ο„ ) cos[2Ο€ f c (t + Ο„ ) + ΞΈ ]} E { x (t ) x (t + Ο„ )}

E {cos(2Ο€ f cΟ„ ) + cos ( 4Ο€ f c t + 2Ο€ f cΟ„ + 2ΞΈ )} 2 R (t , t + Ο„ ) ⎑cos(2Ο€ f cΟ„ ) + E {cos ( 4Ο€ f c t + 2Ο€ f cΟ„ + 2ΞΈ )}⎀ = x ⎣ ⎦ 2 =

Since x (t ) is WSS, Rx (t , t + Ο„ ) = Rx (Ο„ ) . Also E {cos [ 4Ο€ f c t + 2Ο€ f cΟ„ + 2ΞΈ ]} = ∫

∞

βˆ’βˆž

=

fΞΈ (ΞΈ ) cos [ 4Ο€ f c t + 2Ο€ f cΟ„ + 2ΞΈ ] dΞΈ

1 2Ο€ cos [ 4Ο€ f c t + 2Ο€ f cΟ„ + 2ΞΈ ]dΞΈ = 0 2Ο€ ∫0

Substituting R y (t , t + Ο„ ) =

1 Rx (Ο„ ) cos(2Ο€ f cΟ„ ) 2

y (t ) is WSS process because E { y (t )} = constant and R y (t , t + Ο„ ) is a function of

Ο„ only . b. Show that spectral density of y (t ) is related to that of x (t ) by

⎧1 ⎫ G y ( f ) = β„‘{ R y (Ο„ )} = β„‘ ⎨ Rx (Ο„ ) cos(2Ο€ f cΟ„ ) ⎬ ⎩2 ⎭ 1 = β„‘{ Rx (Ο„ )} βŠ— β„‘{cos(2Ο€ f cΟ„ )} 2 1 = Gx ( f ) βŠ— [Ξ΄ ( f βˆ’ f c ) + Ξ΄ ( f + f c ) ] 4 1 = [Gx ( f βˆ’ f c ) + Gx ( f + f c ) ] 4

31 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6.24 Let x (t ) = A cos(2Ο€ f c t ) + B sin(2Ο€ f c t ) be a random process where A and B are statistically independent N (0, Οƒ 2 ) random variables. a. Find the mean and correlation functions, mx (t ) and Rx (t1 , t2 ) . Solution:

E { x (t )} = E { A cos 2Ο€ f c t + B sin 2Ο€ f ct} = E { A} cos 2Ο€ f c t + E { B} sin 2Ο€ f ct = 0 Rx (t1 , t2 ) = E {( A cos 2Ο€ f c t1 + B sin 2Ο€ f c t1 )( A cos 2Ο€ f c t2 + B sin 2Ο€ f c t2 )} = E { A2 } cos 2Ο€ f c t1 cos 2Ο€ f c t2 + E { B 2 } sin 2Ο€ f c t1 sin 2Ο€ f c t2

+ E { AB} cos 2Ο€ f c t1 sin 2Ο€ f c t2 + E { AB} cos 2Ο€ f c t2 sin 2Ο€ f c t1 0

0

Rx (t1 , t2 ) = Οƒ 2 ( cos 2Ο€ f ct1 cos 2Ο€ f c t2 + sin 2Ο€ f ct1 sin 2Ο€ f c t2 ) = Οƒ 2 cos ( 2Ο€ f cΟ„ ) Cov x ( t1 , t2 ) = Rx ( t1 , t2 ) = Οƒ 2 cos ( 2Ο€ f cΟ„ )

where Ο„ = t2 βˆ’ t1 b. Is x (t ) WSS? Solution:

Yes. c. Determine the first-order PDF of x (t ) . Solution:

The random variables x (t ) is Gaussian because it is linear combination of Gaussian random variables A and B. Its mean and variance are given by E { x (t )} = 0 Var ( x (t ) ) = Cov x ( t , t ) = Rx ( t , t ) = Οƒ 2

The first-order PDF of x (t ) is

32 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1

f x ( x, t ) =

2πσ 2

e βˆ’ x /2Οƒ 2

2

6.25 Consider the random processes x (t ) = A cos ( 2Ο€ f c t + ΞΈ )

and y (t ) = B sin ( 2Ο€ f c t + ΞΈ )

where ΞΈ is a uniformly distributed random variable in the range [βˆ’Ο€, Ο€]. a. Are x (t ) and y (t ) each WSS? Solution:

It is easy to show that x (t ) and y (t ) each WSS as illustrated in Example 6.29. b. Find the crosscorrelation function Rxy (t1 , t2 ) . Solution:

Rxy (t1 , t2 ) = E { AB cos ( 2Ο€ f c t1 + ΞΈ ) sin ( 2Ο€ f c t2 + ΞΈ )} =

{

}

AB E sin ⎑⎣ 2Ο€ f c ( t2 βˆ’ t1 ) ⎀⎦ + sin ⎑⎣ 2Ο€ f c ( t2 + t1 ) + 2ΞΈ ⎀⎦ 2

Now

{

}

E sin ⎑⎣ 2Ο€ f c ( t2 βˆ’ t1 ) ⎀⎦ = sin ⎑⎣ 2Ο€ f c ( t2 βˆ’ t1 ) ⎀⎦

{

}

E sin ⎑⎣ 2Ο€ f c ( t2 + t1 ) + 2ΞΈ ⎀⎦ = 0 Therefore, Rxy (t1 , t2 ) =

AB sin ⎑⎣ 2Ο€ f c ( t2 βˆ’ t1 ) ⎀⎦ 2

b. Are the random processes jointly WSS? Solution:

33 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Since x (t ) and y (t ) are each WSS and their cross-correlation is invariant under the shift of time origin, that is, Rxy (t , t + Ο„ ) = Rxy (Ο„ ) , they are jointly WSS. c. Are the random processes uncorrelated? Solution:

The random processes x (t ) and y (t ) are correlated because E { x (t ) y (t + Ο„ )} =

AB sin ( 2Ο€ f cΟ„ ) β‰  E { x (t )} E { y (t + Ο„ )} = 0 for all Ο„ 2 0

0

6.26 The input to an LTI system with the transfer function ⎧10e βˆ’ j 2Ο€ fto , 0 ≀ f ≀ 4 Γ—103 H( f ) = ⎨ otherwise ⎩0,

βŽ› f ⎞ . Let is a WSS process x (t ) with power spectral density Gx ( f ) = 10βˆ’8 Ξ  ⎜ 5 ⎟ ⎝ 5 Γ— 10 ⎠ y (t ) denote the output of the system. a. Find the output spectra density G y ( f ) . Solution:

G y ( f ) = H ( f ) Gx ( f ) 2

βŽ› f ⎞ βŽ› f ⎞ = 100 Γ— 10βˆ’8 Ξ  ⎜ Π⎜ 3 ⎟ 5 ⎟ ⎝ 8 Γ—10 ⎠ ⎝ 5 Γ—10 ⎠ βŽ› f ⎞ = 10βˆ’6 Ξ  ⎜ 3 ⎟ ⎝ 8 Γ— 10 ⎠ ⎧10βˆ’6 , Gy ( f ) = ⎨ ⎩0,

0 ≀ f ≀ 4 Γ— 103 otherwise

b. Determine the output autocorrelation function R y (Ο„ ) . Solution:

Using the FT pair

34 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


β„‘ β†’ sinc(2Wt ) β†βŽ―

1 Ξ  ( f / 2W ) , 2W

⎧ 8 Γ—10βˆ’3 βŽ› f ⎞ ⎫ Π⎜ = 8 Γ— 10βˆ’3 Γ— sinc(8 Γ— 103Ο„ ) R y (Ο„ ) = β„‘βˆ’1 {G y ( f )} = β„‘βˆ’1 ⎨ 3 3 ⎟⎬ ⎝ 8 Γ— 10 ⎠ ⎭ ⎩ 8 Γ— 10

{

}

c. Find E y 2 (t ) . Solution:

{

}

E y 2 (t ) = R y (0) = 8 Γ— 103 6.27

Let x (t ) be a white Gaussian noise process with power spectral density Gx ( f ) = N o / 2 . It is input to a first-order Butterworth filter with 3-dB cutoff frequency f3dB . The transfer function is given by H( f ) =

1 1 + j ( f / f 3dB )

a. Find the output spectra density G y ( f ) and autocorrelation function R y (Ο„ ) . Solution:

G y ( f ) = H ( f ) Gx ( f ) 2

2

N N 1 1 = o = o 2 1 + j ( f / f 3dB ) 2 1 + ( f / f3dB )2 Using the FT pair e

βˆ’Ξ± t

β„‘ β†βŽ― β†’

2Ξ± , Ξ± + (2Ο€ f ) 2 2

⎧βŽͺ N ⎫βŽͺ 1 R y (Ο„ ) = β„‘βˆ’1 {G y ( f )} = β„‘βˆ’1 ⎨ o 2⎬ βŽͺ⎩ 2 1 + ( f / f 3dB ) βŽͺ⎭ ⎧βŽͺ N Ο€ f ⎫βŽͺ 4Ο€ f3dB = β„‘βˆ’1 ⎨ o 3dB 2⎬ 2 2 4Ο€ 2 f3dB + ( 2Ο€ f ) βŽͺ⎭ βŽͺ⎩ NΟ€f = o 3dB e βˆ’2Ο€ f3dB Ο„ 2

35 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Determine the average output power. Solution:

{

}

E y 2 (t ) = R y (0) =

N oΟ€ f3dB 2

c. Find the first-order PDF of y (t ) . Solution:

The random variables y (t ) is Gaussian with mean and variance are given by ∞

∞

E { y (t )} = ∫ E { x (t βˆ’ u )} h(u )du = mx ∫ h(u )du = 0 βˆ’βˆž

0

Var ( y (t ) ) = Cov y ( t , t ) = R y ( t , t ) =

βˆ’βˆž

N oΟ€ f3dB 2

The first-order PDF of y (t ) is f y ( y, t ) =

1 N oΟ€ f3dB 2

e βˆ’ x / NoΟ€ f3dB 2

d. Calculate the cross spectral density Gxy ( f ) ? Solution:

Using (6.234), the cross-spectral density Gxy ( f ) is given by Gxy ( f ) = H ( f ) Gx ( f ) =

No 1 2 1 + j ( f / f3dB )

6.28 x (t ) is a WSS random signal with power spectral density Gx ( f ) . The signal passes through the system shown in Figure P6.3. a. Is y (t ) WSS? Solution:

The mean and autocorrelation function of output random process y(t) are

36 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞

∞

βˆ’βˆž

βˆ’βˆž

m y (t ) = ∫ E { x (t βˆ’ u )} h(u )du = mx ∫ h(u )du R y (Ο„ ) = h(Ο„ ) βŠ— h(βˆ’Ο„ ) βŠ— Rx (Ο„ ) Since the mean of y (t ) does not vary with the choice of t, and its autocorrelation function depends on the time difference Ο„ only, the response of an LTI system to a wide-sense stationary random process is also wide-sense stationary. b. Find the output spectra density G y ( f ) . Solution:

The transfer function of the system is given by H ( f ) = 1 βˆ’ e βˆ’ j 2Ο€ fT The output spectra density G y ( f ) is related to the input spectra density by G y ( f ) = 1 βˆ’ e βˆ’ j 2Ο€ fT 6.29

2

Gx ( f ) = 2Gx ( f ) ⎑⎣1 βˆ’ cos ( 2Ο€ fT ) ⎀⎦ = 4Gx ( f ) sin 2 (Ο€ fT )

Let x (t ) be WGN process with power spectral density N o / 2 . It is applied to an ideal LP filter of bandwidth B and transfer function

βŽ› f ⎞ H( f ) = Π⎜ ⎟ ⎝ 2B ⎠ a. Find the output autocorrelation function R y (Ο„ ) . Solution:

G y ( f ) = H ( f ) Gx ( f ) 2

=

No βŽ› f ⎞ Π⎜ ⎟ 2 ⎝ 2B ⎠

β„‘ Using the FT pair sinc(2 Bt ) β†βŽ― β†’

function R y (Ο„ ) is given by

1 Ξ  ( f / 2 B) , the output autocorrelation 2B

R y (Ο„ ) = N o Bsinc(2 BΟ„ )

37 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. What is the maximum rate at which the filter output y (t ) can be sampled so that the resulting samples are independent? Solution:

R y (Ο„ ) = 0 for Ο„ =

n , n = Β±1, Β±2,....... 2B

1 . As a result, the 2B maximum rate at which samples of y (t ) are independent is 2B samples/second. The smallest value of Ο„ for which R y (Ο„ ) = 0 is

6.30 The autocorrelation function of a stationary process x (t ) is given by Rx (Ο„ ) = eβˆ’Ο€Ο„

2

a. Find the power spectral density Gx ( f ) . Solution:

{ }

Gx ( f ) = β„‘{ Rx (Ο„ )} = β„‘ e βˆ’Ο€Ο„

2

β„‘ From Table 2.2, eβˆ’Ο€Ο„ β†βŽ― β†’ e βˆ’Ο€ f 2

G x ( f ) = e βˆ’Ο€ f

2

2

{

}

b. Find the value of E x 2 (t ) . Solution:

E { x 2 (t )} = Rx (0) = 1 c. Determine the RMS and 3-dB bandwidth of the process. Solution:

The 3-dB bandwidth of the random process is given by solving Gx ( f3dB ) = 0.5Gx ( f 0 )

38 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0.5 = eβˆ’Ο€ f

2

βˆ’Ο€ f 2 = log e ( 0.5 ) β‡’ f =

log e ( 2 )

Ο€

The RMS bandwidth of the random process is ∞

2 βˆ’Ο€ f ∫ f e df 2

f RMS =

βˆ’βˆž ∞

∫e

βˆ’Ο€ f 2

df

=

1/ 2Ο€ 1 . = 1 2Ο€

βˆ’βˆž

6.31 Suppose that narrowband noise x (t ) is bandlimited to 2B Hz. Show that the crossspectral density of quadrature components xc (t ) and xs (t ) is given by ⎧βŽͺ j[Gx ( f βˆ’ f c ) βˆ’ Gx ( f + f c )], Gxc xs ( f ) = βˆ’Gxs xc ( f ) = ⎨ βŽͺ⎩0, Solution:

f ≀ fc otherwise

Rxc xs (Ο„ ) = E { xc (t ) xs (t + Ο„ )}

{

}

= E ⎑⎣ x (t ) cos ( 2Ο€ f c t ) + xΛ† (t ) sin ( 2Ο€ f c t ) ⎀⎦ ⎑⎣ xΛ† (t + Ο„ ) cos ( 2Ο€ f c (t + Ο„ ) ) βˆ’ x (t + Ο„ ) sin ( 2Ο€ f c (t + Ο„ ) ) ⎀⎦ = E { x (t ) xΛ† (t + Ο„ ) cos ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) )} βˆ’ E { x (t ) x (t + Ο„ ) cos ( 2Ο€ f c t ) sin ( 2Ο€ f c (t + Ο„ ) )}

βˆ’ E { xΛ† (t ) x (t + Ο„ ) sin ( 2Ο€ f c t ) sin ( 2Ο€ f c (t + Ο„ ) )} + E { xΛ† (t ) xΛ† (t + Ο„ ) sin ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) )} Rxc xs (Ο„ ) = RxxΛ† (Ο„ ) cos ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) ) βˆ’ Rx (Ο„ ) cos ( 2Ο€ f ct ) sin ( 2Ο€ f c (t + Ο„ ) ) βˆ’ Rxx Λ† (Ο„ ) sin ( 2Ο€ f c t ) sin ( 2Ο€ f c (t + Ο„ ) ) + RxΛ† (Ο„ ) sin ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) ) Λ† From Section 6.12, we apply RxxΛ† (Ο„ ) = RΛ† x (Ο„ ) , Rxx Λ† (Ο„ ) = βˆ’ Rx (Ο„ ) , and RxΛ† (Ο„ ) = Rx (Ο„ ) to obtain

Rxc xs (Ο„ ) = RΛ† x (Ο„ ) cos ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) ) βˆ’ Rx (Ο„ ) cos ( 2Ο€ f c t ) sin ( 2Ο€ f c (t + Ο„ ) ) +RΛ† x (Ο„ ) sin ( 2Ο€ f c t ) sin ( 2Ο€ f c (t + Ο„ ) ) + Rx (Ο„ ) sin ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) ) = Rx (Ο„ ) ⎑⎣ βˆ’ cos ( 2Ο€ f ct ) sin ( 2Ο€ f c (t + Ο„ ) ) + sin ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) ) ⎀⎦ + RΛ† x (Ο„ ) ⎑⎣cos ( 2Ο€ f c t ) cos ( 2Ο€ f c (t + Ο„ ) ) βˆ’ sin ( 2Ο€ f c t ) sin ( 2Ο€ f c (t + Ο„ ) ) ⎀⎦ = βˆ’ Rx (Ο„ ) sin ( 2Ο€ f cΟ„ ) + RΛ† x (Ο„ ) cos ( 2Ο€ f cΟ„ )

39 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The spectral density Gxc xs ( f ) is now obtained by taking the FT and applying β„‘ Rx (Ο„ ) β†βŽ― β†’ Gx ( f ) β„‘ RΛ† (Ο„ ) β†βŽ― β†’ βˆ’ j sgn ( f ) G ( f ) x

x

Gxc xs ( f ) = βˆ’Gx ( f ) βŠ—

[Ξ΄ ( f βˆ’ f c ) βˆ’ Ξ΄ ( f + f c )] [Ξ΄ ( f βˆ’ f c ) + Ξ΄ ( f + f c )] βˆ’ j sgn ( f ) Gx ( f ) βŠ— 2j 2

⎑sgn ( f βˆ’ f c ) Gx ( f βˆ’ f c ) + sgn ( f + f c ) Gx ( f + f c ) ⎀⎦ [Gx ( f βˆ’ f c ) βˆ’ Gx ( f + f c )] βˆ’ j⎣ 2 2 j j = ⎑⎣Gx ( f βˆ’ f c ) βˆ’ sgn ( f βˆ’ f c ) Gx ( f βˆ’ f c ) ⎀⎦ βˆ’ ⎑⎣Gx ( f + f c ) + sgn ( f + f c ) Gx ( f + f c ) ⎀⎦ 2 2 j j = Gx ( f βˆ’ f c ) ⎑⎣1 βˆ’ sgn ( f βˆ’ f c ) ⎀⎦ βˆ’ Gx ( f + f c ) ⎑⎣1 + sgn ( f + f c ) ⎀⎦ 2 2 = j

This expression can be simplified to βŽͺ⎧ j[Gx ( f βˆ’ f c ) βˆ’ Gx ( f + f c )], Gxc xs ( f ) = βˆ’Gxs xc ( f ) = ⎨ βŽͺ⎩0,

f ≀ fc otherwise

6.32 Consider the block diagram of a receiver shown in Figure P6.4. Find the overall noise figure of the receiver. Figure P6.4 RF Receiver cascade Tantenna = 50o K TLNA = 50o K

Mixer Gain = 20dB Loss = 4.35 dB Post Amp

LNA Line Loss 0.2 dB

Line Loss 0.2 dB LO

Demodulator NF = 3 dB

TA = 50o K Gain = 35 dB

Solution:

The following table summarizes gains and noise factor values required to calculate the overall noise figure.

40 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Line Loss LNA Line Loss LO

Post Amp Demodulator

Gain G (dB)

βˆ’0.2

20

βˆ’0.2

βˆ’4.35

35

Gain G

0.955

100

0.955

0.3673

3162.3

Accumulated Gain G1G2 ......Gn βˆ’1

0.955

95.5

91.2

33.5

10.6Γ—104

NF (dB)

0.2

0.2

4.35

3

F

1.047

1.047

2.728

2

Te

13.63

13.63

501.12

Te = Te1 +

Te2 G1

+

Te3 G1G2

50

+

Te4 G1G2 G3

+

Te5 G1G2 G3G4

+

50

290

Te6 G1G2 G3G4 G5

50 13.63 501.12 50 290 + + + + 0.955 95.5 91.2 33.5 10.6 Γ—104 = 13.63 + 52.356 + 0.143 + 5.495 + 1.49 + 0.0027 = 73.12o K

= 13.63 +

This corresponds to FT = 1 +

Te 73.12 = 1+ = 1.252 290 To

41 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 7 7.1

Consider the transmission of a 5 kHz message signal on a baseband communications channel with a power attenuation of 30 dB. The channel noise is AWGN with N o / 2 = 10βˆ’10 Watts/Hz. Calculate the minimum transmitted power PT to achieve a baseband SNRBB of at least 40 dB. Solution: SNRBB =

PR No B

PR 2 Γ— 10 Γ— 5 Γ—103 PR = 104 Γ—10 Γ— 10βˆ’7 = 1Γ— 10βˆ’2 W = 10 dBm

104 =

βˆ’10

PT = PR + Loss = 10 + 30 = 40 dBm = 10 W

7.2 The message signal s (t ) = 10 cos(1000Ο€ t ) + 5cos(2000Ο€ t ) modulates the carrier signal c(t ) = 10βˆ’3 cos(100 Γ—103 Ο€ t ) using DSB-SC AM scheme. White noise with power spectral density N o / 2 = 10βˆ’12 W/Hz is added during transmission. The received signal is coherently demodulated after ideal BP filtering.

a. Determine the receiver input CNR. Solution:

The receiver input CNR is given from (7.13) as CNRIN =

Ξ± 2 Ac2 s 2 2 No B

Now 102 52 125 s = + = = 62.5 2 2 2 2

Ac2 = 10βˆ’6 , Ξ± = 1, B = 1 kHz N o = 2 Γ— 10βˆ’12 Substituting

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


CNRIN =

10βˆ’6 Γ— 62.5 103 Γ— 62.5 = = 15.625 Γ—103 = 41.93 dB βˆ’12 3 4 Γ— 10 Γ— 10 4

b. Determine the output SNR. Solution:

SNRDSB = CNRIN = 41.93 dB c. What degradation in postdetection SNR occurs if instead a 4th order Butterworth filter with 3-dB bandwidth of 1.5 kHz is used as a post-detection filter. (Hint: ratio of noise-equivalent bandwidth to 3-dB bandwidth BN / f3dB = 1.03 for a 4th order Butterworth filter). Solution:

The noise power at the postdetection filter output equals Pnc = 2 N o BN . The rolloff of the 4th order Butterworth filter at 1 kHz is obtained from (2.159) as 1/ 1 + (1/1.5 ) = 0.981 , i.e., about 2%. Therefore, 8

(Ξ± Ac ) s = 10βˆ’6 Γ— 62.5 Γ— 0.982 = 10 Γ—103 = 40 dB P SNRDSB = D = Pnc 2 N o BN 4 Γ— 10βˆ’12 Γ— 1.5 Γ— 103 2

2

There is approximately 2 dB degradation in SNR using a 4th order Butterworth filter with 3-dB bandwidth of 1.5 kHz. 7.3 A message signal s (t ) with spectral density Gs ( f ) shown in Figure P7.1(a). It modulates the carrier signal c(t ) = 10βˆ’3 cos(2Ο€ fct ) using DSB-SC AM scheme. White noise with power spectral density N o / 2 = 10βˆ’12 W/Hz is added during transmission. The received signal is coherently demodulated. a. Assuming an ideal pre-detection BPF, determine the CNR at its output. Solution:

The ideal predetection filter has a bandwidth BT = 2 B for DSB-SC AM scheme. Therefore, the noise power, measured in the ideal predetection filter bandwidth is 2 N o B . The CNR, measured at the output of the predetection filter, is given by

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


CNRPD =

Ξ± 2 Ac2 s 2 Power in the input carrier signal = Input noise power in the predetection filter bandwidth 4No B

Figure P7.1

Gs ( f ) 1

(a) βˆ’5

0

f (kHz)

5

H PD ( f ) 10 kHz

(b)

1

f c βˆ’ 7.5

0

fc

f c + 7.5

f (kHz)

H LP ( f )

(c) 1

βˆ’5

βˆ’7.5

0

5

7.5

f (kHz)

From Figure P7.1 (a), we have ∞

s = ∫ Gs ( f )df = 5 2

βˆ’βˆž

Ac2 = 10βˆ’6 , Ξ± = 1, B = 5 kHz

N o = 2 Γ— 10βˆ’12 Substituting 10βˆ’6 Γ— 5 103 Γ— 5 = = 125 = 21 dB CNRPD = 8 Γ— 10βˆ’12 Γ— 5 Γ—103 8Γ— 5 b. Determine the output SNR assuming an ideal post-detection filter.

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

SNRDSB = CNRIN =

PR = 21 + 3 = 24 dB No B

c. Modify your calculations (a) and (b) for a pre-detection filter with amplitude response shown in Figure P7.1(b). Solution:

The CNR, measured at the output of the predetection filter with amplitude response shown in Figure P7.1(b), is given by

α 2 Ac2 s 2 Power in the input carrier signal CNRPD = = Input noise power in the predetection filter bandwidth 4 N o BN where BN is noise-equivalent bandwidth of the predetection filter ∞

∫ H ( f ) df 2

PD

BN = 0

2

H PD ( f ) max

2.5 ⎞ βŽ› = 2 ⎜ 5000 + 1000 Γ— ⎟ = 11.667 kHz 3 ⎠ ⎝

Substituting 10βˆ’6 Γ— 5 103 Γ— 5 = = 53.57 = 17.3 dB CNRPD = 8 Γ— 10βˆ’12 Γ—11.667 Γ— 103 8 Γ—11.667

Although the spectral density of the in-phase noise nc (t ) extends up to 7.5 KHz, the demodulator output noise is limited by the ideal LPF to 5 kHz. Thus, the performance of the system is not negatively impacted by the non-ideal predetection filter. Therefore, SNRDSB =

PR = 24 dB No B

d. How is the performance in (c) modified if a non-ideal post-detection filter with amplitude responses in Figure P7.1(c) is used instead. Solution:

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


From Figure P7.1(c), the noise-equivalent bandwidth of the post-detection filter BN = 5.8335 kHz. Now

Ξ± Ac ) s 2 ( = = 2

SNRDSB

2 N o BN

10βˆ’6 Γ— 5 = 214.28 = 23.3 dB 4 Γ— 10βˆ’12 Γ— 5.8335 Γ—103

7.4 The message signal s (t ) = 5cos ( 700Ο€ t ) + 2 cos ( 7000Ο€ t ) modulates the carrier signal c(t ) = cos(2Ο€ f ct ) using SSB-AM AM scheme. White noise with power spectral density N o / 2 = 10βˆ’12 W/Hz is added during transmission. The channel attenuates the transmitted signal by 60 dB. The received signal is coherently demodulated. a. Assuming an ideal pre-detection BPF, determine the CNR at its output. Solution:

The CNR at the ideal pre-detection BPF output is given by CNRPD =

Ξ± 2 Ac2 s 2 PR = 4 No B No B

Now 52 22 29 = 14.5 s = + = 2 2 2 2

Ac2 = 1, Ξ± = 10βˆ’3 , B = 3.5 kHz N o = 2 Γ— 10βˆ’12 Substituting CNRPD =

10βˆ’6 Γ— 14.5 103 Γ— 14.5 = = 5.178 Γ—102 = 27.14 dB 8 Γ— 10βˆ’12 Γ— 3.5 Γ—103 8 Γ— 3.5

b. Determine the output SNR. SNRSSB = CNRIN = CNRPD = 27.14 dB 7.5 A conventional AM system has a zero-mean Gaussian message signal whose spectrum is limited to B Hz. The peak value of the message signal is assumed to be

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


2.5Οƒ m where Οƒ m is the standard deviation of its amplitude variations. Determine the output SNR in terms of CNRIN . Assume ma = 0.875 . Solution:

SNRAM = Ξ· CNRIN where

Ξ·=

ma2 sn2 (1 + ma2 sn2 )

s (t ) can be expressed max s (t ) in terms the average and peak power of the message signal as

The power in the normalized message signal sn (t ) =

s2 s = Pmax 2 n

where Pmax is power corresponding to the peak value ( max s (t ) ) of the message

signal. For zero-mean Gaussian message signal, sn2 =

Οƒ m2 1 = 2 ( 2.5Οƒ m ) 6.25

Substituting

( 0.875) (1/ 6.25) = 0.109 Ξ·= = (1 + ma2 sn2 ) 1 + ( 0.875)2 (1/ 6.25) ma2 sn2

2

Therefore, SNRAM = 0.109 Γ— CNRIN 7.6 The message signal s (t ) = 1.0 cos ( 600Ο€ t ) + 0.5cos ( 6000Ο€ t ) modulates the carrier signal c(t ) = 2cos(100 Γ—103 Ο€ t ) using conventional AM scheme. The modulator operates with a modulation index ma = 0.85 .We assume that the channel adds white Gaussian noise with power spectral density N o / 2 = 10βˆ’8 W/Hz during transmission. The received signal is demodulated using an envelope detector.

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Determine the receiver input CNR. Solution:

The receiver input CNR from (7.42) is

(

Ξ± 2 Ac2 1 + ma2 sn2 PR PR CNRIN = = = 2 No B Pni N o B

)

Now ma = 0.85 sn2 =

1 βŽ› 12 0.52 ⎞ 1.25 s2 = 2⎜ + = 0.278 ⎟= Pmax 1.5 ⎝ 2 2 ⎠ 2.25 Γ— 2

Ac2 = 4, Ξ± = 1, B = 3 kHz N o = 2 Γ— 10βˆ’8 CNRIN =

(

4 1 + 0.852 Γ— 0.278 βˆ’8

4 Γ— 10 Γ— 3 Γ—10

3

) = 40.03 Γ—10 = 46 dB 3

b. Determine the output SNR. Solution:

SNRAM = Ξ· CNRIN

0.852 Γ— 0.278 Ξ·= = = 0.167 2 (1 + ma2 sn2 ) 1 + 0.85 Γ— 0.278 ma2 sn2

Therefore, SNRAM = Ξ· CNRIN = 0.167 Γ— 40.03 Γ— 103 = 6.685 Γ— 103 = 38.25 dB c. What degradation in postdetection SNR occurs if instead a fourth-order Butterworth filter with 3-dB bandwidth of 4.5 kHz is used as a postdetection filter.

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The noise-equivalent bandwidth BN of the fourth-order Butterworth filter equals its 3-dB bandwidth, i.e., 4.5 kHz. The roll-off of the filter at 3 kHz is about 2%, which is negligible. Therefore, SNRAM =

7.7

Ξ± 2 Ac2 ma2 sn2 2 N o BN

=

4 Γ— (0.85) 2 Γ— 0.278 = 4463 = 36.5 dB 4 Γ— 10βˆ’8 Γ— 4.5 Γ— 103

A conventional AM system transmits speech signal with bandwidth 3.3kHz and amplitude PDF given by f s ( s ) = 2.5e βˆ’5 s . The peak value of the message signal is assumed to be 3.5Οƒ m , where Οƒ m is standard deviation of its amplitude variations. The channel introduces white Gaussian noise with power spectral density N o / 2 = 10βˆ’10 W/Hz is added during transmission. Assume ma = 0.875 . a. Find the carrier power required so that the output SNR exceeds 45 dB. Solution:

ma = 0.875 , sn2 =

SNRAM =

Οƒ m2 = 0.0816 , N o = 2 Γ— 10βˆ’10 , Ξ± = 1 , B = 3.3 kHz 2 ( 3.5Οƒ m )

Ξ± 2 Ac2 ma2 sn2 2 No B

Ac2 Γ— (0.875) 2 Γ— 0.0816 = = 104.5 3 βˆ’10 4 Γ— 10 Γ— 3.3 Γ— 10

or Ac2 =

104.5 Γ— 10βˆ’7 Γ— 4 Γ— 3.3 = 0.668 (0.875) 2 Γ— 0.0816

Carrier power Pc = Ac2 / 2 = 0.668 = 28.25 dBm b. Determine the threshold value of carrier power. Solution:

The threshold in a conventional AM system occurs when CNRPD β‰ˆ 10 dB. That is,

10 = CNRPD =

(

Ac2 1 + ma2 sn2 4 No B

) = A Γ— (1 + (0.875) Γ— 0.0816) 2 c

2

8 Γ— 10βˆ’10 Γ— 3.3 Γ—103

or

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ac2 =

10 Γ— 10βˆ’7 Γ— 8 Γ— 3.3 26.4 Γ— 10βˆ’6 = = 24.9 Γ— 10βˆ’6 2 1 + (0.875) Γ— 0.0816 1.06

Threshold value of carrier power Pc = Ac2 / 2 = 12.45 Γ— 10βˆ’6 = βˆ’19.04 dBm 7.8

Consider a message signal with bandwidth B = 5 kHz, and a normalized power sn2 = 0.25 . It is required to transmit this signal via a channel with that has a power attenuation of 30 dB. The channel noise is AWGN with N o / 2 = 10βˆ’10 W/Hz. It is desirable to have an SNR of at least 40 dB at the receiver output. a. Find the required carrier power if DSB-SC modulation is used. Solution:

The output SNR for DSB-SC scheme is given by

SNRDSB =

PR No B

Substituting

104 =

PR β‡’ PR = 0.01 W = 10 dBm 2 Γ—10 Γ— 5 Γ—103 βˆ’10

Now 1 PR = Ξ± 2 Ac2 s 2 = Ξ± 2 s 2 Pc 2 where Pc = Ac2 / 2 is the carrier power. Since the channel produces an attenuation of 30 dB, the carrier power Pc is Pc =

PR 0.01 = βˆ’3 = 40 W = 46 dBm 10 Γ— 0.25 10 Γ— 0.25 βˆ’3

b. Find the carrier power required if conventional AM with modulation index of ma = 0.75 is used. Solution:

For the conventional AM scheme, the output SNR is given by

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


SNRAM = Ξ· CNRIN = Ξ·

Ξ·=

ma2 sn2 (1 + ma2 sn2 )

104 = 0.1233

=

PR , where No B

0.752 Γ— 0.25 = 0.1233 1 + 0.752 Γ— 0.25

PR β‡’ PR = 0.081 W = 19.09 dBm 2 Γ—10 Γ— 5 Γ— 103 βˆ’10

Now PR =

(1 + m s ) = Ξ± (1 + m s ) P 2

Ξ± 2 Ac2

2 2 a n

2

2 2 a n

c

where Pc = Ac2 / 2 is the carrier power. Since the channel produces an attenuation of 30 dB, the required carrier power Pc in the conventional AM case is given by Pc =

(

PR

Ξ± 1+ m s 2

2 2 a n

)

=

0.081 = 71 W = 48.54 dBm 10 Γ— (1 + 0.752 Γ— 0.25 ) βˆ’3

c. With the carrier power calculated in part (b), what is the maximum SNR that one can obtain for conventional AM (assuming of course that we do not overmodulate the message signal)? Solution:

Assuming ma = 1.0 yields

Ξ·=

ma2 sn2 (1 + ma2 sn2 )

=

1Γ— 0.25 = 0.2 1 + 1Γ— 0.25

Therefore,

(

)

Ξ± 2 1 + ma2 sn2 Pc PR SNRAM = Ξ· CNRIN = 0.2 Γ— = 0.2 Γ— No B No B = 0.2 Γ—

10βˆ’3 Γ— (1 + 0.25 ) Γ— 710 2 Γ— 10

βˆ’10

Γ— 5 Γ—10

3

= 177.5 Γ— 103 = 52.49 dB

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


7.9 Consider an FM system with peak frequency deviation βˆ†f max = 60 kHz , message signal bandwidth B = 10 kHz ,and a normalized power sn2 = 0.25 . The channel introduces AWGN with N o / 2 = 10βˆ’9 W/Hz. Assuming received power level PR = 250 mW , determine a. Output SNR. Solution:

D=

βˆ†f max 60 = = 6 , sn2 = 0.25 , PR = 250 mW , N o = 2 Γ— 10βˆ’9 10 B

Substituting SNRFM = 3D 2 sn2

PR 250 Γ— 10βˆ’3 = 3 Γ— 62 Γ— 0.25 No B 2 Γ—10βˆ’9 Γ— 10 Γ— 103

= 27 Γ—125 Γ— 102 = 337.5 Γ— 103 = 55.28 dB b. Required transmit power PT for an output SNR = 45 dB when the channel introduces attenuation of 30 dB. Solution:

PR 2 Γ—10 Γ—10 Γ—103 2 Γ—10βˆ’0.5 2 Γ— 10βˆ’0.5 = = 23.42 Γ— 10βˆ’3 W = 13.7 dBm PR = 3 Γ— 62 Γ— 0.25 27

104.5 = 3 Γ— 62 Γ— 0.25

βˆ’9

PT = 13.7 + 30 = 43.7 dBm 7.10

A PM system with transmission bandwidth BT = 140 kHz is used to transmit a message signal bandwidth B = 10 kHz, and normalized power sn2 = 0.25 . The channel introduces AWGN with N o / 2 = 10βˆ’9 W/Hz. Assuming received power level PR = 250 mW , determine a. Output SNR. Solution:

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


140 = 2(βˆ†Ο†max + 1)10 or βˆ†Ο†max = 7 βˆ’ 1 = 6 SNRPM = ( βˆ†Ο†max ) sn2CNRIN 2

where PR 250 Γ— 10βˆ’3 = = 125 Γ— 102 CNRIN = 4 βˆ’9 N o B 2 Γ— 10 Γ—10 SNRPM = 62 Γ— 0.25 Γ— 125 Γ— 102 = 112.5 Γ— 103 = 50.51 dB b. Required transmit power PT for output SNR = 45 dB when the channel introduces power attenuation of 30 dB. Solution: PR 2 Γ— 10 Γ— 10 Γ— 103 2 Γ—10βˆ’0.5 2 PR = 2 = = 70.27 Γ— 10βˆ’3 W = 18.47 dBm 6 Γ— 0.25 9 10

104.5 = 62 Γ— 0.25

βˆ’9

PT = 18.47 + 30 = 48.47 dBm c. Repeat (a) and (b) if the peak phase deviation βˆ†Ο†max is limited to Ο€ radians. Calculate the required transmission bandwidth BT . Solution:

SNRPM = ( βˆ†Ο†max ) sn2CNRIN = Ο€ 2 Γ— 0.25 Γ—125 Γ—102 = 30.84 Γ— 103 = 44.9 dB 2

104.5 = Ο€ 2 Γ— 0.25

PR 2 Γ—10 Γ—10 Γ— 103 βˆ’9

2 Γ— 10βˆ’0.5 = 256.32 Γ— 10βˆ’3 W = 24.087 dBm 2 Ο€ Γ— 0.25 PT = 24.087 + 30 = 54.087 dBm PR =

BT = 2(Ο€ + 1)10 Γ— 103 = 82.83 kHz

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


7.11 A message signal with bandwidth B = 15 kHz, and normalized power sn2 = 0.25 is transmitted using an FM system. Assuming the deviation ratio D = 3, find the output SNR for input CNR values (i) 11 dB, (ii) 25 (iii) 35 dB. In which case is the system operating below threshold? Solution:

( CNRIN )th β‰ˆ 20(3 + 1) = 80 = 19 dB For input CNR values of 25 and 35 dB, the output SNR is given by SNRFM = 3D 2 sn2CNRIN In dB form

(

)

SNRFM = 10 log10 3D 2 sn2 + CNRIN = 10 log10 ( 6.75 ) + CNRIN = 8.29 + CNRIN For CNRIN = 25 dB , SNRFM = 8.29 + 25 = 33.29 For CNRIN = 35 dB , SNRFM = 8.29 + 35 = 43.29 For input CNR of 11 dB, the system is operating below threshold and the output SNR is given by 3 2 Ξ² CNRIN 2 SNRFM = CNRIN βˆ’ 12 Ξ² 2(1+ Ξ² ) CNRIN e 1+

Ο€

Substituting values for Ξ² and CNRIN , we obtain SNRFM = 7.4033 dB 7.12 An RC filter with time constant 25 Β΅sec is used for de-emphasis in an FM system. Find the output SNR improvement in an FM system broadcasting signals with bandwidth 15 kHz. How much output SNR is improved if the signal bandwidth is increased to 53 kHz. Solution:

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


f1 =

1 2πτ

=

106 = 6.366 Γ—103 2Ο€ Γ— 25

With deemphasis filtering, the output noise power is given by 2

βŽ›K ⎞ ⎑B B⎀ Pno = 2 ⎜ FD ⎟ N o f13 ⎒ βˆ’ tan βˆ’1 βŽ₯ f1 ⎦ ⎣ f1 ⎝ Ac ⎠ For B = 15 kHz, 2

βŽ›K ⎞ 15 ⎀ ⎑ 15 Pno = 2 ⎜ FD ⎟ N o f13 ⎒ βˆ’ tan βˆ’1 6.366 βŽ₯⎦ ⎣ 6.366 ⎝ Ac ⎠ 2

2

βŽ›K ⎞ βŽ›K ⎞ = 2 ⎜ FD ⎟ N o f13 [ 2.356 βˆ’ 1.17 ] = 2.37 ⎜ FD ⎟ N o f13 ⎝ Ac ⎠ ⎝ Ac ⎠ For B = 53 kHz, 2

βŽ›K ⎞ 53 ⎀ ⎑ 53 Pno = 2 ⎜ FD ⎟ N o f13 ⎒ βˆ’ tan βˆ’1 6.366 βŽ₯⎦ ⎣ 6.366 ⎝ Ac ⎠ 2

2

βŽ›K ⎞ βŽ›K ⎞ = 2 ⎜ FD ⎟ N o f13 [8.325 βˆ’ 1.45] = 13.7 ⎜ FD ⎟ N o f13 ⎝ Ac ⎠ ⎝ Ac ⎠ Thus the output SNR is improved by 10 log10

13.7 = 7.62 dB if the signal 2.37

bandwidth is increased to 53 kHz. 7.13 Consider a message signal with bandwidth B = 5 kHz and a normalized power sn2 = 0.15 . It is required to transmit this signal via a channel that attenuates the transmitted signal by 30 dB. The channel noise is AWGN with spectral density N o / 2 = 10βˆ’10 W/Hz. It is desirable to have an SNR of at least 60 dB at the receiver output. a. Find the minimum required transmit power PT for a PM system with βˆ†Ο†max = 10. Solution:

SNRPM = ( βˆ†Ο†max ) sn2 2

PR No B

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


PR 2 Γ—10 Γ— 5 Γ— 103 1 1 = = 66.67 Γ— 10βˆ’3 W = 18.24 dBm PR = 2 100 Γ— 0.15 15

106 = 102 Γ— 0.15

βˆ’10

PT = PR + channel attenuation (dB) = 18.24 + 30 = 48.24 dBm = 66.68 Watts b. Find the minimum required transmit power PT for an FM system with D = 10. Solution:

SNRFM = 3D 2 sn2

PR No B

PR 2 Γ— 10 Γ— 5 Γ— 103 1 1 = = 22.22 Γ—10βˆ’3 W = 13.467 dBm PR = 3 Γ—100 Γ— 0.15 45

106 = 3 Γ— 102 Γ— 0.15

βˆ’10

PT = PR + channel attenuation (dB) = 13.467 + 30 = 43.467 dBm = 22.22 Watts c. Find the minimum required transmit power PT for an FM system utilizing preemphasis and de-emphasis with D = 10 and f1 = 600 Hz . Solution: 2

βŽ›B⎞ P ( SNRFM ) DE = D ⎜ ⎟ sn2 R No B ⎝ f1 ⎠ 2

PR 2 Γ—10 Γ— 5 Γ— 103 1 1 PR = = = 0.96 Γ— 10βˆ’3 W = βˆ’0.177 dBm 100 Γ— 69.44 Γ— 0.15 15 Γ— 69.44

106 = 102 Γ— 8.332 Γ— 0.15

βˆ’10

PT = PR + channel attenuation (dB) = βˆ’0.177 + 30 = 29.82 dBm = 0.96 Watts 7.14 In a certain FM satellite communication system, the output SNR is found to be 40 dB with D = 6. The modulating signal has a bandwidth B = 10 kHz and a normalized power sn2 = 0.15 . The system with D = 6 is not in threshold, but the output SNR is required to be at least 50 dB. The increase of the output SNR can be accomplished by increasing either (i) D (that is, the transmission bandwidth) and/or (ii) the transmitted power.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. If option (i) is selected, what are the maximum values of D and the corresponding transmission bandwidth that can be used without running into threshold? What is the corresponding output SNR? Solution:

For the output SNR = 40 dB and D = 6, the input CNRIN is given by CNRIN =

SNRFM 3D 2 sn2

=

104 = 617.3 (27.9 dB) 3 Γ— 62 Γ— 0.15

Next we determine the maximum value of D using the threshold condition (7.103).

( SNRFM )th = 105 = 60 D 2 ( D + 1) sn2 = 9 D 2 ( D + 1) Solving by trial and error or using MATLAB yields the maximum value of D β‰ˆ 19.43. Transmission bandwidth BT corresponding to deviation ratio D β‰ˆ 19.43 = 2( D + 1) B = 2(19.43 + 1)104 = 408.6 kHz The minimum input ( CNRIN )th required to operate above the threshold is

( CNRIN )th = 20( D + 1) = 408.6 = 26.113 dB For CNRIN = 27.9 dB , the system is not in the threshold and the output SNR is given by SNRFM = 3D 2 sn2CNRIN = 3 Γ— 19.432 Γ— 0.15 Γ— 617.3 = 104.87 Γ—103 = 50.2 dB b. If option (ii) is chosen instead, calculate the minimum increase in transmitted power required to attain an output SNR of 50 dB subject to the constraint that the channel bandwidth is limited to 250 kHz? What is the corresponding value of D? Solution:

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


If the available channel bandwidth is limited to 250 kHz, the maximum value of D is given by

250 Γ— 103 = 2( D + 1) Γ— 104 or D=

250 Γ— 103 βˆ’ 1 = 11.5 2 Γ— 104

CNRIN =

SNRFM 3D 2 sn2

=

105 = 1.68 Γ— 103 (32.25 dB) 3 Γ— 11.52 Γ— 0.15

Increase in transmitted power required = 32.25 βˆ’ 26.113 = 6.1375 dB

7.15 The baseband frequency spectrum for stereo FM broadcasting is depicted in Figure 5.41. a. Calculate the noise output power without pre-emphasis. Solution:

We refer to block diagram of the FM stereo receiver in Figure 5.42. L+R channel

The L+R channel occupies the frequency band [0 15] kHz. From (7.88), the power spectral density of the noise n1 (t ) at the FM demodulator output is βŽ§βŽ› K ⎞2 βŽͺ FD f 2 N o , Gn1 = GnL+R = ⎨⎜⎝ Ξ± Ac ⎟⎠ βŽͺ ⎩0,

0 ≀ f ≀ 15 kHz otherwise

The noise power at the FM demodulator output for the L+R channel is 2

2

βŽ›K ⎞ 2βŽ› K ⎞ Pn1 = ⎜ FD ⎟ N o B 3 = ⎜ FD ⎟ N o Γ— 2.25 Γ— 1012 3 ⎝ Ξ± Ac ⎠ ⎝ Ξ± Ac ⎠ L-R channel

The Lβˆ’R channel occupies the frequency band [23 53] kHz. From (7.88), the power spectral density of the noise at the FM demodulator output is

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ§βŽ› K ⎞ 2 βŽͺ⎜ FD ⎟ f 2 N o , GnLβˆ’R = ⎨⎝ Ξ± Ac ⎠ βŽͺ ⎩0,

23 ≀ f ≀ 53 kHz otherwise

The power spectral density of the noise n2 (t ) at the DSB-AM demodulator output is Gn2 = GnLβˆ’R ( f βˆ’ 2 f P ) + GnLβˆ’R ( f + 2 f P ) 2 βŽ§βŽ› K ⎞ 2 βŽ› K FD ⎞ 2 2 2 2 FD βŽͺ ( f βˆ’ 2 f P ) + ( f + 2 f P ) No = ⎜ ⎟ f + 4 f P 2 No , βˆ’ B ≀ f ≀ B = ⎨⎜⎝ Ξ± Ac ⎟⎠ Ξ± A ⎝ c⎠ βŽͺ otherwise ⎩0,

(

)

where f P = 19 kHz is pilot tone frequency in stereo FM signal. The noise power at the output of the DSB-AM demodulator (Lβˆ’R channel path) is given by 2

βŽ›K ⎞ B Pn2 = 2 N o ⎜ FD ⎟ ∫ f 2 + 4 f P2 df ⎝ Ξ± Ac ⎠ βˆ’ B

(

)

2

B ⎀ βŽ›K ⎞ ⎑B = 2 N o ⎜ FD ⎟ ⎒ ∫ f 2 df + 4 ∫ f P2 df βŽ₯ ⎝ Ξ± Ac ⎠ ⎣ βˆ’ B βˆ’B ⎦ 2

βŽ› K ⎞ ⎑ 2B3 ⎀ = 2 N o ⎜ FD ⎟ ⎒ + 8 f P2 B βŽ₯ ⎦ ⎝ Ξ± Ac ⎠ ⎣ 3 2

βŽ›K ⎞ = N o ⎜ FD ⎟ Γ— 91.14 Γ— 1012 ⎝ Ξ± Ac ⎠ b. Calculate the same for monophonic transmission (the baseband spectral range for mono FM signal is 15 kHz). Solution:

The noise output power at the FM demodulator output for a mono FM system is identical to that of the L+R channel. That is, 2

2

βŽ›K ⎞ 2βŽ› K ⎞ PnFM βˆ’mono = ⎜ FD ⎟ N o B 3 = ⎜ FD ⎟ N o Γ— 2.25 Γ— 1012 3 ⎝ Ξ± Ac ⎠ ⎝ Ξ± Ac ⎠ c. How much noisier is stereo FM versus mono FM in dBs?

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The output of the upper branch after matrixing is given by L ( t ) + R ( t ) + L ( t ) βˆ’ R ( t ) + n1 (t ) + n2 (t ) β‰ˆ 2 L ( t ) + n2 (t )

Similarly, the output of the lower branch after matrixing is given by L ( t ) + R ( t ) βˆ’ L ( t ) + R ( t ) + n1 (t ) βˆ’ n2 (t ) β‰ˆ 2 L ( t ) + n2 (t )

Therefore, the noise output power for both L+R and Lβˆ’R channels after matrixing is given by 2

βŽ›K ⎞ Pno = Pn1 + Pn2 = ⎜ FD ⎟ N o Γ— 93.39 Γ— 1012 stereo ⎝ Ac ⎠

( )

Thus,

(P ) 10 log (P )

βŽ› 93.39 Γ—1012 ⎞ = 10 log10 ⎜ ⎟ = 16.18 dB 2.25 Γ— 1012 ⎠ ⎝ no mono

no

10

stereo

We conclude that stereo audio is 16.18 dB noisier than mono audio without deemphasis filtering. d. Repeat (a) through (c) taking 75 Β΅sec pre-emphasis and de-emphasis into consideration. Show that stereo FM is 22 dB noisier than mono FM. Solution:

f1 =

1 2πτ

=

106 = 2.122 Γ—103 2Ο€ Γ— 75

Mono audio with deemphasis

For mono audio case, the output noise power of the after deemphasis filtering is given by

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


2

2

βŽ›K ⎞ βŽ›K ⎞ ⎑B B⎀ 15 ⎀ ⎑ 15 = 2 ⎜ FD ⎟ N o f13 ⎒ βˆ’ tan βˆ’1 βŽ₯ = 2 ⎜ FD ⎟ N o f13 ⎒ βˆ’ tan βˆ’1 Pno mono f1 ⎦ 2.122 βŽ₯⎦ ⎣ 2.122 ⎣ f1 ⎝ Ac ⎠ ⎝ Ac ⎠

( )

2

2

3 βŽ›K ⎞ βŽ›K ⎞ = 11.28 ⎜ FD ⎟ N o f13 = 11.28 ⎜ FD ⎟ N o 2.122 Γ— 103 ⎝ Ac ⎠ ⎝ Ac ⎠

(

)

Stereo audio with deemphasis

For stereo audio case, the output noise power at the output of the L+R channel branch after deemphasis filtering is identical to that in the mono case. That is, 2

3 βŽ›K ⎞ Pn1 = 11.28 ⎜ FD ⎟ N o 2.122 Γ—103 ⎝ Ac ⎠

(

)

For the Lβˆ’R channel, the power spectral density of the noise n2 (t ) at the DSBAM modulator output after deemphasis filtering is given by 2 ⎧ 2 βŽ› K FD ⎞ 2 2 βŽͺH (f) ⎜ ⎟ f + 4 f p 2 No , Gn2 = ⎨ DE ⎝ Ξ± Ac ⎠ βŽͺ ⎩0,

(

)

βˆ’ B ≀ f ≀ B kHz otherwise

The output noise power at the output of the Lβˆ’R channel branch after deemphasis filtering is now obtained as

(

)

2 2 βŽ› K FD ⎞ B f + 4 f p Pn2 = 2 N o ⎜ df ⎟ ∫ 2 ⎝ Ξ± Ac ⎠ βˆ’ B 1 + ( f / f1 ) 2

2 B ⎀ f p2 βŽ› K FD ⎞ ⎑ B f2 df df 4 = 2 No ⎜ + βŽ₯ ⎟ ⎒∫ 2 2 ∫ βŽ₯⎦ ⎝ Ξ± Ac ⎠ ⎒⎣ βˆ’ B 1 + ( f / f1 ) βˆ’ B 1 + ( f / f1 ) 2

βŽ›K ⎞ ⎑ βŽ›B B⎞ B⎀ = 4 N o ⎜ FD ⎟ ⎒ f13 ⎜ βˆ’ tan βˆ’1 ⎟ + 4 f p2 f1 tan βˆ’1 βŽ₯ f1 ⎠ f1 ⎦ ⎝ Ξ± Ac ⎠ ⎣ ⎝ f1 2

βŽ›K ⎞ ⎑ 15 ⎞ 3 βŽ› 15 2 βˆ’1 15 ⎀ Γ— 109 = 4 N o ⎜ FD ⎟ ⎒( 2.122 ) ⎜ βˆ’ tan βˆ’1 ⎟ + ( 38 ) Γ— 2.122 Γ— tan βŽ₯ 2.122 ⎠ 2.122 ⎦ ⎝ 2.122 ⎝ Ac ⎠ ⎣ 2

βŽ›K ⎞ = ⎜ FD ⎟ N o Γ—17.55 Γ— 1012 ⎝ Ac ⎠

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


We observe that Pn2 Pn1 . Therefore, the noise output power for both L+R and Lβˆ’R channels after matrixing is given by 2

βŽ›K ⎞ Pno = Pn1 + Pn2 β‰ˆ Pn2 = ⎜ FD ⎟ N o Γ— 17.55 Γ— 1012 stereo ⎝ Ac ⎠

( )

Thus,

(P ) 10 log (P )

βŽ› ⎞ 17.55 Γ—1012 ⎜ ⎟ = 22.1 dB = 10 log10 3 3 ⎜ ⎟ no mono ⎝ 11.28 Γ— 2.122 Γ—10 ⎠

no

10

stereo

(

)

We conclude that stereo audio is 22.1 dB noisier than mono audio when deemphasis filtering is applied in both cases. 7.16 In FDM telephony system, 12 voice channels are frequency-division-multiplexed to form a group that occupies a frequency band from 60 to 108 kHz. Each 3.3-kHz voice signal is SSB-AM modulated and assigned a 4 kHz frequency slot to provide 0.7 kHz guardband between channels. The frequency-division-multiplexed group signal is then frequency modulated with a peak deviation βˆ†f max of 400 kHz. a. Determine the transmission bandwidth of the FM signal. Solution:

D=

βˆ†f max 400 Γ—103 = = 3.7 B 108 Γ— 103

Transmission bandwidth BT = 2( D + 1) B = 2(3.7 + 1) Γ— 108 Γ— 103 = 1.0152 MHz . b. Determine the degradation in output SNR of the 12th channel compared with the first. Solution:

The 1st channel occupies the frequency band [60 64] kHz. From (7.88), the power spectral density of the noise at the FM demodulator output is βŽ§βŽ› K ⎞ 2 βŽͺ FD f 2 N o , GnFM ( f ) = ⎨⎜⎝ Ξ± Ac ⎟⎠ βŽͺ ⎩0,

f ≀ BT / 2 otherwise

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The noise power at the output of the 1st channel USB-AM demodulator is given by 2

βŽ›K ⎞ P = 2 ∫ GnFM ( f )df = 2 ∫ ⎜ FD ⎟ f 2 N o df Ξ± Ac ⎠ 60 60 ⎝ 64

64

1 n

2

2

βŽ› K FD ⎞ 2 Γ— 109 βŽ› K FD ⎞ 3 3 12 = Γ—βŽœ ⎟ N o ⎑⎣64 βˆ’ 60 ⎀⎦ = ⎜ ⎟ N o Γ— 30.76 Γ— 10 3 ⎝ Ξ± Ac ⎠ ⎝ Ξ± Ac ⎠ The 12th channel occupies the frequency band [104 108] Hz. The noise power at the output of the 12th channel USB-AM demodulator is given by 2

βŽ›K ⎞ P = 2 ∫ GnFM ( f )df = 2 ∫ ⎜ FD ⎟ f 2 N o df Ξ± Ac ⎠ 104 104 ⎝ 108

108

12 n

2

2

βŽ› K FD ⎞ 2 Γ— 109 βŽ› K FD ⎞ 3 3 12 = Γ—βŽœ ⎟ N o ⎑⎣108 βˆ’ 104 ⎀⎦ = ⎜ ⎟ N o Γ— 89.9 Γ— 10 3 ⎝ Ξ± Ac ⎠ ⎝ Ξ± Ac ⎠ Assuming equal signal output powers for all channels in the FDM group, the degradation in output SNR of the 12th channel compared with the 1st is Pn12 89.9 10 log10 1 = 10 log10 = 4.657 dB Pn 30.76 To assure equal demodulator output SNRs, the voice channels in the multiplex at centered at higher frequencies are carried at increasingly higher levels (resulting in higher frequency deviation) to compensate for the parabolic noise spectral density of FM demodulator.

7.17 A radio receiver block diagram is shown in Figure P7.2. Each block is impedance matched to the source of 50. The radio is designed to receive a signal with a bandwidth of 20MHz centered about the BP filter frequency. a. Calculate the noise figure of the overall receiver. Solution:

The noise factor of a lossy two-port device is equal to its attenuation or loss. For example, NF1 = L1 = 3 dB . Using Frii’s

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


FT = F1 +

F2 βˆ’ 1 F3 βˆ’ 1 F4 βˆ’ 1 + + + ... G1 G1G2 G1G2 G3

0.585 31.62 βˆ’ 1 1.585 βˆ’ 1 + + + ... 1.5 0.63 0.63 Γ—10 0.63 Γ— 101.5 Γ— 105 = 1.585 + 0.928 + 1.537 = 4.05 = 1.585 +

The noise figure NFT of the receiver is 6.07 dB b. Calculate the input signal to the receiver to achieve the SNR of at least 25 dB at the input of baseband stage. Specify the answer in dBm and in volts. Solution:

In order to achieve the SNR of at least SNRreq = 25 dB at the input of baseband stage, the SNR at the receiver input should be SNR1 = SNRreq + NFT = 25 + 6.07 = 31 The noise power at the receiver input from (6.295) is N in = kTB = 4 Γ— 10βˆ’21 Γ— 20 Γ— 106 = 8 Γ— 10βˆ’14 = βˆ’101 dBm Input signal power = βˆ’101 + 31 = βˆ’70 dBm (70.71 Β΅V RMS)

1 2 BPF

GBPF = βˆ’2 dB G1 = 15 dB NF1 = 2 dB

GLPF = βˆ’3 dB 4 LPF

3 G2 = 50 dB NF2 = 15 dB

5 Detector

Baseband

Gdet = βˆ’4 dB NF2 = 10 dB

c. Calculate the signal and noise power at each stage of the receiver chain for input signal level determined in part (b). Solution:

The output noise power is computed using (6.324).

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Stage (1) BP Filter (2) Low-noise Amplifier (3) Amplifier (4) LPF (5) Detector

Signal Power βˆ’72 dBm βˆ’57 βˆ’7 βˆ’10 βˆ’14

Noise Power βˆ’101 dBm βˆ’84 βˆ’32 βˆ’35 βˆ’39

d. The baseband stage can only work with signals as large as 500 mV. What is the maximum signal that can be received? Solution:

( 500 Γ—10 ) = 4 dBm Signal power corresponding to 500 mV maximum = βˆ’3

2

2 Γ— 50

Since the total gain of the receiver is 56 dB, the maximum signal that can be received at the receiver input is 4 βˆ’ 56 dBm = βˆ’ 52 dBm.

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 8 8.1

The signal x(t ) = 100 ⎑⎣1 + 0.707 cos (100Ο€ t ) ⎀⎦ cos ( 2000Ο€ t ) is sampled by an impulse train. a. Determine the minimum sampling rate. Solution: The bandwidth of x(t ) is 1050 Hz. Therefore, the minimum sampling rate is 2100 Hz.

b. What is the sampling rate if a guardband of 300 Hz is required. Solution:

The sampling rate to provide a guardband of 300 Hz is 2100 + 150 = 2.5 kHz. c. If the signal is sampled at f s = 1500 Hz , write an expression for the reconstructed signal xˆ (t ) . Display the spectra of original, sampled, and reconstructed signals in the same figure. Solution:

The signal x(t ) can be expressed as

x(t ) = 100 ⎑⎣1 + 0.707 cos (100Ο€ t ) ⎀⎦ cos ( 2000Ο€ t )

= 100 cos ( 2000Ο€ t ) + 70.7 cos (100Ο€ t ) cos ( 2000Ο€ t ) = 100 cos ( 2000Ο€ t ) + 35.35 ⎑⎣ cos ( 2100Ο€ t ) + cos (1900Ο€ t ) ⎀⎦

The recovered signal is xˆ (t ) obtained as

x [ n] = x ( nTs ) = 100 cos ( 4Ο€ n / 3) + 35.35 ⎑⎣cos ( 7Ο€ n / 5 ) + cos (19Ο€ n /15 ) ⎀⎦ = 100 cos ( 4Ο€ n / 3 βˆ’ 2Ο€ n ) + 35.35 ⎑⎣cos ( 7Ο€ n / 5 βˆ’ 2Ο€ n ) + cos (19Ο€ n /15 βˆ’ 2Ο€ n ) ⎀⎦ = 100 cos ( 2Ο€ n / 3) + 35.35 ⎑⎣cos ( 3Ο€ n / 5) + cos (11Ο€ n /15) ⎀⎦ = 100 cos (1000Ο€ nTs ) + 35.35 ⎑⎣cos ( 900Ο€ nTs ) + cos (1100Ο€ nTs ) ⎀⎦ β‡’ 100 cos (1000Ο€ t ) + 35.35 ⎑⎣cos ( 900Ο€ t ) + cos (1100Ο€ t ) ⎀⎦ = xΛ† (t )

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The frequencies 1000, 2100, and 1900 Hz in the original signal are aliased by the aliased signals at frequencies 500, 450, and 550 Hz, respectively, in the recovered signal xˆ (t ) .

X(f) Xs (f)

1.2

Folding frequency window

Magnitude response

1

0.8

0.6

0.4

XΜ‚ ( f )

0.2

0

-2.5

-2

-1.5

-1

-0.5 0 0.5 Frequency in kHz

1

1.5

2

2.5

8.2 Suppose the reconstruction filter output signal xˆ (t ) is cos ( 30π t + π / 6 ) . If the sampling rate fs = 200 Hz was used in obtaining it, determine two different input signals x1 (t ) and x2 (t ) that could have produced the above output signal. How many such input signals exist? Solution: xˆ (t ) = cos ( 30π t + π / 6 )

x1[n] = cos ( 30Ο€ nTs + Ο€ / 6 ) = cos ( 0.15Ο€ n + Ο€ / 6 ) = cos ( 0.15Ο€ n βˆ’ 2Ο€ n + Ο€ / 6 ) = cos (1.85Ο€ n βˆ’ Ο€ / 6 ) = cos (1.85Ο€ n 200Ts βˆ’ Ο€ / 6 ) = cos ( 370Ο€ nTs βˆ’ Ο€ / 6 ) β†’ cos ( 370Ο€ t βˆ’ Ο€ / 6 ) = x1 (t ) x2 [n] = cos ( 30Ο€ nTs + Ο€ / 6 ) = cos ( 0.15Ο€ n + Ο€ / 6 ) = cos ( 0.15Ο€ n + 2Ο€ n + Ο€ / 6 ) = cos ( 2.15Ο€ n + Ο€ / 6 ) = cos ( 2.15Ο€ n 200Ts + Ο€ / 6 ) = cos ( 430Ο€ nTs + Ο€ / 6 ) β†’ cos ( 430Ο€ t + Ο€ / 6 ) = x2 (t )

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Two different input signals could have produced the output signal xΛ† (t ) = cos ( 30Ο€ t + Ο€ / 6 ) are x1 (t ) = cos ( 370Ο€ t βˆ’ Ο€ / 6 ) x2 (t ) = cos ( 430Ο€ t + Ο€ / 6 )

An infinite number of signals, xA (t ) = cos ⎑⎣( 30Ο€ Β± 2Af sΟ€ ) t + Ο€ / 6 ⎀⎦ , A = Β±1, Β±2,... , exist that would produce the same output signal 8.3 A sinusoidal signal x(t ) = 5cos(10Ο€ t ) is naturally sampled using a 30% duty cycle square wave with period Ts . a. Determine the maximum value of the period Ts that allows the signal x(t ) to be reconstructed from the sampled signal. Solution:

Since the signal x(t ) is a sinusoidal waveform of frequency 5 Hz, the minimum sampling rate is 10 Hz, and the maximum value of the sampling period Ts = 0.1sec b. If the signal is sampled at twice the Nyquist rate, plot the spectrum X s ( f ) of the sampled signal. Solution:

For f s = 20 and Ο„ / Ts = 0.3 , the spectrum X s ( f ) of the naturally sampled signal is given from (8.23) as ∞

∞

n =βˆ’βˆž

n =βˆ’βˆž

X s ( f ) = Ο„ f s βˆ‘ sinc ( nf sΟ„ ) X ( f βˆ’ nf s ) = 0.3 βˆ‘ sinc ( 0.3n ) X ( f βˆ’ 20n )

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1 0.9 sinc

βŽ› 0.3 f ⎞ ⎟ roll-off ⎝ fs ⎠

X(f) Xs (f)

( f Ο„ ) = sinc ⎜

0.8

Magnitude response

0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

-60

-40

-20

0 Frequency (Hz)

20

40

60

c. Specify the transfer function of the reconstruction filter to recover x(t ) from the sampled signal generated in (b). Sketch its frequency response. Solution:

The transfer function Hr (f) of the reconstruction filter is given by

⎧10 βŽͺ3, βŽͺ βŽͺ 4 f H r ( f ) = βŽ¨βˆ’ + 10, βŽͺ 3 βŽͺ0, βŽͺ ⎩

f ≀5 5 ≀ f ≀ 7.5 otherwise

4 3.5

Magnitude response Hr(f)

3 2.5 2 1.5 1 0.5 0 -8

-6

-4

-2

0 2 Frequency (Hz)

4

6

8

4

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d. Repeat (a) and (b) if the duty cycle was 10%. Solution:

The spectrum X s ( f ) of the naturally sampled signal for Ο„ / Ts = 0.1 is given from (8.23) as ∞

∞

n =βˆ’βˆž

n =βˆ’βˆž

X s ( f ) = Ο„ f s βˆ‘ sinc ( nf sΟ„ ) X ( f βˆ’ nf s ) = 0.1 βˆ‘ sinc ( 0.1n ) X ( f βˆ’ 20n )

Magnitude response

βŽ› 0.1 f ⎞ sinc ( f Ο„ ) = sinc ⎜ ⎟ roll-off 0.25 ⎝ fs ⎠

X(f) Xs (f)

0.2

0.15

0.1

0.05

0 -200

-150

-100

-50

0 50 Frequency (Hz)

100

150

200

The transfer function Hr (f) of the reconstruction filter is given by ⎧10, βŽͺ H r ( f ) = ⎨ βˆ’4 f + 30, βŽͺ0, ⎩

f ≀5 5 ≀ f ≀ 7.5 otherwise

11 10

Magnitude response Hr(f)

9 8 7 6 5 4 3 2 1 0 -8

-6

-4

-2

0 2 Frequency (Hz)

4

6

8

5

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


8.4 The signal with spectrum shown in Figure P8.1 is sampled by multiplying it with a 1 and 25% duty cycle. square wave with period Ts = 2.2 B Figure P8.1

X(f ) 1

βˆ’ B βˆ’0.8B

0

f 0.8B B

a. Derive an expression for the spectrum X s ( f ) of the resultant sampled waveform and plot it. Solution:

The spectrum X s ( f ) of the naturally sampled signal for Ο„ / Ts = 0.25 is given from (8.23) as ∞ βŽ› n⎞ X s ( f ) = 0.25 βˆ‘ sinc ( 0.25n ) X ⎜ f βˆ’ ⎟ Ts ⎠ n =βˆ’βˆž ⎝

Natural Sampling 0.4 X(f) Xs (f)

0.35

sinc(f*tau) roll-off

Magnitude response

0.3 0.25 0.2 0.15 0.1 0.05 0

-8

-6

-4

-2

0 f/B (Hz)

2

4

6

8

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. If the samples are instead generated a by a sample and hold circuit, write an expression for the spectrum X s ( f ) of the sampled waveform and plot it. Solution:

The spectrum X s ( f ) of the sample and hold circuit output signal is given from (8.26) as ∞ βŽ› n⎞ X s ( f ) = 0.25sinc ( 0.25 fTs ) e βˆ’ j 0.25Ο€ fTs βˆ‘ X ⎜ f βˆ’ ⎟ Ts ⎠ n =βˆ’βˆž ⎝

Flat-top Sampling 0.4 X(f) Xs (f)

0.35

sinc(f*tau) roll-off

Magnitude response

0.3 0.25 0.2 0.15 0.1 0.05 0

-8

-6

-4

-2

0 f/B (Hz)

2

4

6

8

c. Specify the transfer function of the reconstruction filter in each case to recover the original signal without any distortion. The transfer function Hr (f) of the reconstruction filter for a naturally sampled signal is given by

⎧βŽͺ4, Hr ( f ) = ⎨ βŽͺ⎩0,

f ≀B otherwise

The transfer function Hr (f) of the reconstruction filter for a flat-top sampled signal is given by

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎧βŽͺ4sincβˆ’1 ( 0.25 fTs ) , Hr ( f ) = ⎨ βŽͺ⎩0,

f ≀B otherwise

8.5 The samples of Β±1 volt peak-to-peak analog signal with bandwidth 3.3 kHz are to be transmitted using a PCM system. a. Determine the minimum sampling rate if 700 Hz guard band is required. Solution:

Minimum sampling rate = 6.6 kHz with no guard band. Minimum sampling rate = 6.6 + 0.35 = 6.95 kHz with 700 Hz guard band. b. Calculate the number of quantization levels and bits/sample required, if the peak amplitude signal is to be represented within 0.1% accuracy. Solution:

Since the maximum quantization error allowed is 0.1% of the peak signal value, the peak quantization error e[n] = 0.001Γ— 1 = 0.001 . The step size of a uniform quantizer is related to the maximum quantization error by e[n] max =

βˆ† 2

Therefore, βˆ† = 0.001Γ— 2 = 0.002

Number of quantization levels =

Full-scale range 2 = = 1000 βˆ† 0.002

Assuming 210 = 1024 quantization levels are used, 10 bits/sample are required. c. What is the bit rate of PCM signal? Solution:

Serial bit rate of the PCM signal = 10 Γ— 6.6 = 66 kbit/sec (no guard band) Serial bit rate of the PCM signal = 10 Γ— 6.95 = 69.5 kbit/sec (750 Hz guard band)

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


8.6

For an m-bit ADC, show that peak SQNR is given by Peak SQNR = 6 m + 4.77 dB

where peak SQNR is defined as the ratio of peak signal power (i.e., at the crest of the signal waveform) to the average quantization noise power. Solution:

Assuming that the peak-to-peak signal equals the FS range of the quantizer, the peak signal-to-quantization noise ratio is given by Peak SQNR = 10 log10

βŽ›V2 ⎞ Peak signal power = 10 log10 ⎜ 2 ⎟ dB Average noise power ⎝ Οƒe ⎠

For an m-bit quantizer with full-scale range of 2V, the noise variance Οƒ e2 is given from (8.37) as

Οƒ e2 = 2βˆ’2 m V 2 / 3 βŽ› ⎞ V2 Peak SQNR = 10 log10 ⎜ βˆ’2 m 2 ⎟ = 10 log10 3 Γ— 22 m = 6m + 4.77 dB ⎝ 2 V /3⎠

(

)

8.7 Determine and illustrate the partition and quantization levels of a 4-bit, uniform midrise quantizer with Β±1 volt FS range. For the sequence {0.2, βˆ’0.3, βˆ’0.7, 0.08, 0.25, 0.5, 0.8, 0.95}, a. Determine the quantized sequence. Also determine the mean square quantization error and SNR. Solution:

The quantization step size βˆ† for a uniform quantizer with full-scale range of Β±1V is given by βˆ†=

2 = 0.125 16

Figure illustrates the partition and quantization levels for 16-level midrise type quantizer.

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Quantization Levels βˆ’0.9375 βˆ’0.6875 βˆ’0.4375 βˆ’0.1875

0.1875 0.4375 0.6875 0.9375

βˆ’0.8125 βˆ’0.5625 βˆ’0.3125 βˆ’0.0625 0.0625 0.3125 0.5625 0.8125 βˆ’1.0

βˆ’0.75

βˆ’0.25

βˆ’0.5

0

0.25

βˆ’0.875 0.625 βˆ’0.375 βˆ’0.125 0.125 0.375

0.5

0.75

0.625

1.0

0.875

Partition Levels For the sequence {0.2, -0.3, -0.7, 0.08, 0.25, 0.5, 0.8, 0.95}, the quantized sequence is given by

{0.1875, βˆ’ 0.3125, βˆ’ 0.6875, 0.0625, 0.1875, 0.4375, 0.8125, 0.9375} Mean square quantization error Οƒ e2 =

1 2 ( x[n] βˆ’ xΛ†[n]) βˆ‘ N n

2 2 2 2 1 ⎧βŽͺ( 0.2 βˆ’ 0.1875 ) + ( βˆ’0.3 + 0.3125 ) + ( βˆ’0.7 + 0.6875 ) + ( 0.08 βˆ’ 0.0625 ) ⎫βŽͺ = ⎨ ⎬ 8 βŽͺ + ( 0.25 βˆ’ 0.1875 )2 + ( 0.5 βˆ’ 0.4375 )2 + ( 0.8 βˆ’ 0.8125 )2 + ( 0.95 βˆ’ 0.9375 )2 βŽͺ ⎩ ⎭ = 0.0011

Signal variance Οƒ x2 =

(

)

2 1 x[n] βˆ’ x[n] βˆ‘ N n

Now the mean

x[n] =

1 {0.2 βˆ’ 0.3 βˆ’ 0.7 + 0.08+0.25 + 0.5 + 0.8 + 0.95} = 0.225 8

Substituting yields 2 2 2 2 1 ⎧βŽͺ( 0.2 βˆ’ 0.225 ) + ( βˆ’0.3 βˆ’ 0.225 ) + ( βˆ’0.7 βˆ’ 0.225 ) + ( 0.08 βˆ’ 0.225 ) ⎫βŽͺ Οƒ = ⎨ ⎬ 8 βŽͺ+ ( 0.25 βˆ’ 0.225 )2 + ( 0.5 βˆ’ 0.225 )2 + ( 0.8 βˆ’ 0.225 )2 + ( 0.95 βˆ’ 0.225 )2 βŽͺ ⎩ ⎭ = 0.1482 2 x

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ›Οƒ 2 ⎞ βŽ› 0.1482 ⎞ SQNR = 10 log10 ⎜ x2 ⎟ = 10 log10 ⎜ ⎟ = 21.3 dB ⎝ 0.0011 ⎠ βŽΟƒe ⎠

b. Determine 2's complement format binary stream corresponding to the quantized sequence. Solution:

The following table is generated using Two’s complement format to map quantization levels to codewords. Binary Word Quantization Level 15/16 0β—Š111 13/16 0β—Š110 11/16 0β—Š101 9/16 0β—Š100 7/16 0β—Š011 5/16 0β—Š010 3/16 0β—Š001 1/16 0β—Š000

Binary Word Quantization Level 1β—Š001 βˆ’15/16 1β—Š010 βˆ’13/16 1β—Š011 βˆ’11/16 1β—Š100 βˆ’9/16 1β—Š101 βˆ’7/16 1β—Š110 βˆ’5/16 1β—Š111 βˆ’3/16 1β—Š000 βˆ’1/16

The binary stream corresponding to the quantized sequence is

0001 1110 1011 0000 0001 0011 0110 0111 8.8 100 gigabyte hard disk is used to store PCM video signal. One volt peak-to peak NTSC video signal is sampled at 10.73864 MHz. The quantizing scheme is selected so that peak signal-to-quantization noise ratio is at least 45 dB. a. Calculate the number of quantization levels and bits/sample required. Solution:

From Problem 8.6, the peak SQNR is given by Peak SQNR = 6m + 4.77 dB 45 = 6m + 4.77 6m = 45 βˆ’ 4.77 = 40.23 mβ‰ˆ7

We will choose m = 8 because an 8-bit ADC is more widely available. Number of quantization levels = 28 =256

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. What is the serial bit rate of the digital video signal? Solution:

Serial bit rate of the digital video signal = 10.73864 MHz Γ— 8 = 85.91 Mb/s c. How many minutes of video program can the hard disk store? Solution:

Number of minutes of video program that can be stored on the hard disk =

Capacity of the disk 100 Γ— 1000 Γ— 8 Mbits = = 9312 seconds = 155 minutes Video ADC bit rate 85.91 Mb/s

8.9 A video signal x (t ) of bandwidth 4.2 MHz is to be digitized using an analog-todigital converter (ADC). a. Determine the Nyquist sampling rate. Solution:

Nyquist sampling rate = 2 Γ— 4.2 = 8.4 MHz b. Suppose that the video signal is instead sampled at f s = 10.73864 MHz. Specify and draw the frequency response of a realizable LP filter that allows reconstruction of x (t ) from its samples. Solution:

We select the following specifications for the LP elliptic filter designed using the MATLAB code in Example 2.34. Passband frequency fp = 4.2 MHz Stopband frequency fs = 5.37 MHz Maximum passband ripple Rp = 0.1 dB Minimum stopband ripple Rs = 60 dB

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Magnitude Response of Elliptic LP Filter 0

Magnitude Response(dB)

-10 -20 -30 -40 -50 -60 -70 -80 0

2

4

6 Frequency, Hz

8

10

12

c. A 10-bit ADC is used to digitize the video signal. What is the number of quantization levels? Assuming that the effective resolution of the ADC is 8.75 bits, calculate the ADC output SQNR. Solution:

Number of quantization levels = 210 = 1024 Peak SQNR = 6 Γ— 8.75 + 4.77 = 57.27 dB

d. What is the serial bit rate of the digital video signal. Solution:

Serial bit rate of the digital video signal = 10.73864 MHz Γ— 10 = 107.3864 Mb/s e. What practical implementation factors cause the SQNR loss in (c)? Solution:

Thermal noise Aperture-jitter noise βˆ’ variation in sampling clock 8.10 Determine and illustrate the partition and quantization levels of a Β΅ -law quantizer in the range of (βˆ’1,1) with 16 levels and Β΅ = 9. For the same sequence as in Problem 8.7,

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Determine the quantized sequence using the Β΅ -law quantizer. Also determine the mean square quantization error and SNR. Solution:

The partition levels of a 16-level uniform quantizer with FS range of (βˆ’1,1) are {βˆ’1.0 βˆ’0.875 βˆ’0.75 βˆ’0.625 βˆ’0.5 βˆ’0.375 βˆ’0.25 βˆ’0.125 0 0.125 0.25 0.375 0.5 0.625 0.75 0.875 1.0} We now apply inverse Β΅ -law mapping to obtain the partition levels for the nonuniform quantizer with Β΅ = 9. x = F βˆ’1 ( y ) =

y ⎀ xmax ⎑ xmax βˆ’ 1 sgn ( y ) 1 Β΅ + ( ) ⎒ βŽ₯ Β΅ ⎣ ⎦

The resulting partition levels for the nonuniform quantizer with Β΅ = 9 are obtained as {βˆ’1.0 βˆ’0.7221 βˆ’0.5137 βˆ’0.3574 βˆ’0.2403 βˆ’0.1524 βˆ’0.0865 βˆ’0.0371 0 0.0371 0.0865 0.1524 0.2403 0.3574 0.5137 0.7221 1.0} The quantization levels for both uniform and non-uniform quantizer are {βˆ’0.9375 βˆ’0.8125 βˆ’0.6875 βˆ’0.5625 βˆ’0.4375 βˆ’0.3125 βˆ’0.1875 βˆ’0.0625 0.0625 0.1875 0.3125 0.4375 0.5625 0.6875 0.8125 0.9375}

1 0.9 0.8 0.7

Output

0.6 0.5 0.4 0.3 0.2 Non-uniform Quantization Mu-law Uniform Quantization

0.1 0

0

0.1

0.2

0.3

0.4 0.5 0.6 Normalized input

0.7

0.8

0.9

1

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


For the sequence {0.2, βˆ’0.3, βˆ’0.7, 0.08, 0.25, 0.5, 0.8, 0.95}, the Β΅-law quantized sequence is given by

{0.4375, βˆ’ 0.5625, βˆ’ 0.8125, 0.1875, 0.5625, 0.6875 , 0.9375, 0.9375} b. For this sequence, which method (uniform vs. Β΅-law) gives more accurate result? Mean square quantization error using Β΅ -law quantizer Οƒ e2 =

1 2 ( x[n] βˆ’ xΛ†[n]) βˆ‘ N n

2 2 2 2 1 βŽͺ⎧( 0.2 βˆ’ 0.4375 ) + ( βˆ’0.3 + 0.5625 ) + ( βˆ’0.7 + 0.8125 ) + ( 0.08 βˆ’ 0.1875 ) ⎫βŽͺ = ⎨ ⎬ 8 βŽͺ + ( 0.25 βˆ’ 0.5625 )2 + ( 0.5 βˆ’ 0.6875 )2 + ( 0.8 βˆ’ 0.9375 )2 + ( 0.95 βˆ’ 0.9375 )2 βŽͺ ⎩ ⎭ = 0.0377

From problem 8.7 signal variance Οƒ x2 = 0.1482 βŽ›Οƒ 2 ⎞ βŽ› 0.1482 ⎞ SQNR = 10 log10 ⎜ x2 ⎟ = 10 log10 ⎜ ⎟ = 5.945 dB ⎝ 0.0377 ⎠ βŽΟƒe ⎠

For this example, Β΅-law quantizer’s performance is worse than that of the uniform quantizer. This is because the given sequence is very short and more sample values are larger. The Β΅-law quantizer is designed to maximize SNR for voice signal with Laplacian type amplitude distribution. 8.11 Consider the performance of 8-bit, Β΅ = 255 companded PCM system for a Gaussian message signal N 0, Οƒ x2 with peak amplitude xmax .

(

)

a. Write the expression for the output SQNR achievable with this companded system. Solution:

Consider the compressor characteristic y = F ( x ) . The output of the compressor is uniformly quantized. Let yi and βˆ† denote, respectively, the quantization level and the step size of the ith quantization interval for the compressed signal y. The corresponding input level and the partition interval are xi and βˆ† i respectively.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


y ymax

y = F ( x)

dF ( x) dx x = xi

yi

βˆ† xi

xmin

xmax

βˆ†i

x

ymin

Assuming that the number quantization levels M is large, βˆ† i is small and xi is mid-point of the ith partition interval. Further, we assume that the pdf f x ( x) β‰ˆ f x ( xi ) over the ith partition interval. Therefore, the quantization error Ξ΅ i = xi βˆ’ x has the mean-square value xi +

βˆ†i 2

xi +

βˆ†i 2

βˆ† i3 Οƒ = ∫ ( xi βˆ’ x ) f x ( x)dx β‰ˆ f x ( xi ) ∫ ( xi βˆ’ x ) dx = f x ( xi ) 12 βˆ†i βˆ†i 2

2 i

xi βˆ’

xi βˆ’

2

2

2

2 The variance of quantization noise Οƒ nu is obtained by summing the noise over all M quantization intervals as

M

βˆ† 3i f x ( xi ) i =1 12 M

Οƒ nu2 = βˆ‘ Οƒ i2 = βˆ‘ i =1

We observe from the Figure that step size βˆ† is related to βˆ†i by dF ( x) βˆ† = dx x = xi βˆ† i Substituting yields

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Οƒ nu2 =

f x ( xi )βˆ†i βˆ†2 M βˆ‘ 2 12 i =1 βŽ› dF ( x) ⎞ ⎜⎜ ⎟⎟ dx x x = i ⎠ ⎝

For M large, the summation can be approximated by an integral to obtain x

Οƒ nu2 =

x

2 2 max max ymax f x ( x) ymax f x ( x) dx dx = 2 2 ∫ 2 ∫ 3M xmin βŽ› dF ( x) ⎞ 3M xmin βŽ› dF ( x) ⎞ 2 ⎜ ⎟ ⎜ ⎟ ⎝ dx ⎠ ⎝ dx ⎠

For Β΅-law type of compression characteristic,

dF ( x) is given by dx

( Β΅ / xmax ) ymax dF ( x) = dx log e (1 + Β΅ ) ⎑1 + Β΅ ( x / xmax ) ⎀ ⎣ ⎦ The quantization noise added by a Β΅-law quantizer, Οƒ Β΅2 , is now obtained as 2

2

2 βŽ› log e (1 + Β΅ ) ⎞ xmax ⎑ βŽ› x ⎞⎀ ymax 2 σ¡ = 1 Β΅ + ⎜ ⎟ ⎒ ∫ ⎒ ⎝⎜ xmax ⎠⎟ βŽ₯βŽ₯ f x ( x)dx 3M 2 ⎜⎝ ymax ( Β΅ / xmax ) ⎟⎠ xmin ⎣ ⎦ 2 2 x 2 ⎀ βŽ› x ⎞ βŽ› log e (1 + Β΅ ) ⎞ max ⎑ xmax 2βŽ› x ⎞ ⎒ βŽ₯ 1 2 Β΅ Β΅ = + + ⎜ ⎟ ⎜ ⎟ f x ( x)dx ⎜ ⎟ ∫ 3M 2 ⎝ Β΅ ⎠ xmin ⎒⎣ ⎝ xmax ⎠ ⎝ xmax ⎠ βŽ₯⎦ 2 2 ⎀ 2 E{ x} βŽ› log e (1 + Β΅ ) ⎞ ⎑ xmax 2 Οƒx + Β΅ 1 2 Β΅ = + ⎒ βŽ₯ ⎜ ⎟ 2 xmax xmax 3M 2 ⎝ Β΅ ⎠ ⎒⎣ βŽ₯⎦

Now

Οƒ2 3M 2 SQNRΒ΅ = x2 = Οƒ Β΅ [ log e (1 + Β΅ ) ]2 =

( ¡σ / x ) x

1 + 2Β΅

E{ x} xmax

3 Γ— 22 m

2

max

+ Β΅2

Οƒ x2 2 xmax

1

[log e (1 + Β΅ )]

2

1

+

( ¡σ / x ) ( 2

x

max

E{ x} 2 +1 ¡σ x / xmax Οƒ x

)

In dB form, the SQNR of the Β΅-law quantizer can be expressed as

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


SQNRΒ΅ = 6m + 4.77 βˆ’ 20 log10 [ log e (1 + Β΅ ) ] ⎑ βŽ› x ⎞2 βŽ› x ⎞ E{ x}⎀ βŽ₯ βˆ’ 10 log10 ⎒1 + ⎜ max ⎟ + 2 ⎜ max ⎟ ⎒⎣ ⎝ ¡σ x ⎠ ⎝ ¡σ x ⎠ Οƒ x βŽ₯⎦

(dB)

For a Gaussian message signal, E { x } / Οƒ x = 0.798 . Therefore,

SQNRΒ΅ = 6m + 4.77 βˆ’ 20 log10 [ log e (1 + Β΅ )] ⎑ βŽ› x ⎞2 βŽ› x ⎞⎀ βˆ’ 10log10 ⎒1 + ⎜ max ⎟ + 1.6 ⎜ max ⎟ βŽ₯ ⎒⎣ ⎝ ¡σ x ⎠ ⎝ ¡σ x ⎠ βŽ₯⎦

(dB)

b. Plot the SQNR performance as a function of the relative RMS input level βŽ›Οƒ ⎞ 20log ⎜ x ⎟ and compare it with that for the PCM system without ⎝ xmax ⎠ companding. Solution: SQNR comparison : Gaussian message signal 60

Signal-to-quantization noise ratio (dB)

50

40

30

20

10

0 u-law quantizer, u=255 Uniform quantizer -10 -60

-50

-40

-30

-20

-10

0

8.12 Suppose a message signal can be modeled as a LP stationary random process x (t ) with Laplacian first-order PDF f x ( x) =

1 βˆ’ 2x e 2

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The bandwidth of the random signal is 5 kHz, and we desire to transmit it using a PCM system. a. If sampling is done at the Nyquist rate and a uniform quantizer with 64 levels is utilized, what is the resulting SQNR? Solution:

A Laplacian PDF is given by 2x

f x ( x) =

βˆ’ 1 e Οƒx 2Οƒ x

Therefore, in the present case, Οƒ x2 = 1 . Now P {βˆ’ K Οƒ x < x ≀ K Οƒ x } =

Kσ x

βˆ«Οƒ f ( x)dx x

βˆ’K

x

2 = 2Οƒ x

Kσ x

∫e

βˆ’

2x

Οƒx

βˆ’

2x

Kσ x

dx = βˆ’ e Οƒ x

0

= 1 βˆ’ eβˆ’ 2K 0

For K = 3, P {βˆ’ KΟƒ x < x ≀ KΟƒ x } = 98.563% K = 4, P {βˆ’ KΟƒ x < x ≀ KΟƒ x } = 99.65%

That is, for the signal amplitude has Laplacian distribution, only 0. 35% of the samples would lie outside the full-scale range of 8Οƒ x . So if we choose

xmax β‰ˆ 4Οƒ x , the probability that an analog sample stays within the range

[βˆ’ xmax , xmax ] is 0. 9965.

βŽ›x ⎞ SQNR = 6m + 4.77 βˆ’ 20 log ⎜ max ⎟ = 6 Γ— 6 + 4.77 βˆ’ 20 log ( 4 ) ⎝ Οƒx ⎠ = 28.77 dB

b. What is the bit rate of the PCM signal? Solution:

Serial bit rate = 10 Γ— 6 = 60 kb/s

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. If we need to increase the SQNR by 12 dB, what is the resultant bit rate increase? Solution:

If the SQNR needs to be increased by by 12 dB, we require 2 additional bits/sample. Therefore, Serial bit rate = 10 Γ— 8 = 80 kb/s Increase in the resultant bit rate =80 – 60 = 20 kb/s 8.13 Consider the Β΅ -law compression characteristic. Assume Β΅ = 255. If the FS range is Β±1 volt and 256 quantization levels are used, what is the minimum and maximum effective separation between partition levels? If no compression is used, what is the interval between partition levels? Solution:

If no compression is used, the interval between levels is given by βˆ†=

2 = 7.8125 mV 256

The y-axis is uniformly quantized with step size βˆ†y =

1 1 = 128 128

in both +ve and βˆ’ve direction. The smallest segment on the x-axis corresponds to the segment [0 1/128] on the y-axis. The point on x-axis corresponding to y = 1/128 is given from (8.47) as x = F βˆ’1 ( y ) =

1 ⎑ 1/128 βˆ’ 1⎀ = 1.73 Γ— 10βˆ’4 1 + 255 ) ( ⎦ 255 ⎣

The smallest segment size on the x-axis is 0.173 mV. The largest segment on the x-axis corresponds to the last segment on the y-axis, that is, [127/128 1]. The point on x-axis corresponding to y = 127/128 is given from (8.47) as x = F βˆ’1 ( y ) =

1 ⎑ 127/128 βˆ’ 1⎀ = 0.957 V 1 + 255 ) ( ⎦ 255 ⎣

The largest segment size on the x-axis is 1βˆ’ 0.957 = 42.563 mV.

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


8.14

The spectrum of a BP signal x(t) is shown in Figure P8.3. Determine the smallest sampling frequency that allows perfect reconstruction of x(t) from its samples x[n] for each of the following cases: Figure P8.3

X(f )

βˆ’ fH

a.

f L = 60 , f H = 80

b.

f L = 40 , f H = 50

c.

f L = 55 , f H = 75

βˆ’ fL

0

fL

fH

f

Sketch the spectrum of the sampled signal and frequency response of the ideal BP filter in each case. Solution (a):

f L = 60, f H = 80. BIF = 80 βˆ’ 60 = 20 . nmax is given from (8.124) as ⎒ f βŽ₯ ⎒ 80 βŽ₯ nmax = ⎒ H βŽ₯ = ⎒ βŽ₯ = 4 ⎣ BIF ⎦ ⎣ 20 ⎦

Therefore, the smallest possible sampling frequency is obtained from (8.124) as fs =

2 f H 2 Γ— 80 = = 40 Hz nmax 4

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Xs( f )

βˆ’2 f s

βˆ’100

βˆ’60

βˆ’ fs

βˆ’20

0

0

20

fs

20

40

2 fs

60

f

100

Hr ( f )

, βˆ’40

βˆ’20

0

f

Solution (b):

f L = 40, f H = 50. BIF = 50 βˆ’ 40 = 10 . nmax is given from (8.124) as ⎒ 50 βŽ₯ nmax = ⎒ βŽ₯ = 5 ⎣ 10 ⎦

Therefore, the smallest possible sampling frequency is obtained from (8.124) as fs =

2 f H 2 Γ— 50 = = 20 Hz nmax 5 Xs( f )

βˆ’50

βˆ’2 f s

βˆ’30

βˆ’ fs

βˆ’10

0

10

fs

30

10

20

30

2 fs

50

Hr ( f )

, βˆ’30

βˆ’20

βˆ’10

0

f

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

f


Solution (c):

f L = 55, f H = 75. BIF = 75 βˆ’ 55 = 20 . nmax is given from (8.124) as ⎒ 75 βŽ₯ nmax = ⎒ βŽ₯ = 3 ⎣ 20 ⎦

Therefore, the smallest possible sampling frequency is obtained from (8.124) as fs =

2 f H 2 Γ— 75 = = 50 Hz nmax 3 Xs( f )

βˆ’ fs βˆ’95

βˆ’75

βˆ’55

βˆ’45

βˆ’25

fs

0 βˆ’5

5

25

55

45

75

95 2 f s

Hr ( f )

βˆ’50

βˆ’25

0 5

25

50

f

8.15 Consider an IF sampling base station receiver for CDMA cellular system operating at an IF of 70 MHz. The bandwidth of the IF channel is 1.25 MHz. a. Determine the smallest sampling frequency to avoid aliasing. What is the corresponding SQNR degradation? Solution:

nmax is given from (8.124) as ⎒ f βŽ₯ ⎒ 70.625 βŽ₯ nmax = ⎒ H βŽ₯ = ⎒ βŽ₯ = 56 ⎣ BIF ⎦ ⎣ 1.25 ⎦

Therefore, the smallest possible sampling frequency is obtained from (8.124) as

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

f


fs =

2 f H 2 Γ— 70.625 = = 2.52 MHz nmax 56

Maximum SQNR degradation = 10log10 ( 56 ) = 17.48 dB

b. Determine the permissible sampling frequency range of that results in SQNR loss no larger than 7 dB. To keep SQNR degradation less than 7 dB, 10log10 ( n ) ≀ 7 . Therefore, n ≀ 5 . The smallest possible sampling frequency under this constraint is given from (8.124) as fs =

2 f H 2 Γ— 70.625 = = 28.25 MHz 5 5

8.16 A linear DM system is tested with 1 V peak-to peak, 5-kHz sinusoidal test signal. The signal is sampled at 10 times the Nyquist rate. a. Determine the step size required to prevent slope overload. Solution:

A2Ο€ f m < βˆ† / Ts 0.5 Γ— 2Ο€ Γ— 5 Γ—103 < βˆ† Γ—100 Γ—103 5Ο€ βˆ†> = 0.157 V 100 b. Calculate the quantization noise power in the test signal bandwidth. Solution:

βˆ† 2 f m ( 0.157 ) Γ— 5 Γ—10 NQ = = = 41.08 Γ—10βˆ’5 3 3 fs 3 Γ—100 Γ—10 2

3

c. Determine the demodulated SNR of the system. Solution:

( 0.5 ) / 2 = 3.04 Γ— 10 2 = 24.83 dB A2 / 2 SNRDM = = NQ 41.08 Γ— 10 βˆ’5 2

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


8.17 A linear DM system is designed to transmit speech signals with bandwidth 3.4 kHz. The signal is sampled at 10 times the Nyquist rate and a step size of 100 mV is used. a. The modulator is tested with a 1-kHz test signal. Determine the maximum amplitude of the test signal required to avoid slope overload. Solution:

Amax =

βˆ†f s 0.1Γ— 2 Γ— 3.4 Γ—104 = = 1.08 V 2Ο€ f m 2Ο€ Γ—103

b. Determine the demodulated SNR of the system. Solution: 3 βˆ† 2 f m ( 0.1) Γ—10 NQ = = = 49.02 Γ—10βˆ’6 3 fs 3 Γ— 6.8 Γ—104 2

(1.08 ) / 2 = 11.9 Γ— 103 = 40.75 dB A2 / 2 = SNRDM = max 49.02 Γ— 10 βˆ’6 NQ 2

8.18 Consider the first-order linear predictor defined by

xΛ†[n] = h1 x[n βˆ’1] where x[ n ] is a stationary random sequence with zero mean and h1 is coefficient of first-order predictor filter. Let us define the variance of prediction error as 2 Οƒ d2 = E ( x[ n] βˆ’ xΛ† [ n]) .

{

}

a. Determine the optimal value of h1 that minimizes Οƒ d2 and calculate the minimum value of Οƒ d2 . Solution:

{

Οƒ d2 = E ( x[ n] βˆ’ xΛ† [ n])

2

}

For first-order linear predictor xΛ† [n] = h1 x[n βˆ’ 1] . Substituting

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


{

Οƒ d2 = E ( x[n] βˆ’ h1 x[ n βˆ’ 1])

2

} = E { x [n] βˆ’ 2h x[n] x[n βˆ’ 1] + h x [n βˆ’ 1]} 2

1

2 1

2

= Rx ( 0 ) βˆ’ 2h1 Rx (1) + h12 Rx ( 0 ) βŽ› R (1) ⎞ = Rx ( 0 ) ⎜ 1 + h12 βˆ’ 2h1 x ⎟ ⎜ Rx ( 0 ) ⎟⎠ ⎝

Since x[n] is zero mean, Rx ( 0 ) = E { x 2 [n]} = Οƒ x2 . Therefore, the variance of the prediction error is given by βŽ›

Οƒ d2 = Οƒ x2 ⎜ 1 + h12 βˆ’ 2h1 ⎝

Rx (1) ⎞ ⎟ Οƒ x2 ⎠

To find h1 that minimizes Οƒ d2 , we take the derivative with respect to h1 and solve

dΟƒ d2 =0 dh1 R (1) R (1) 2h1 βˆ’ 2 x 2 = 0 β‡’ h1opt = x 2 Οƒx Οƒx The minimum value Οƒ d2 is βŽ› βŽ› R (1) ⎞ 2 βŽ› βŽ› R (1) ⎞ 2 ⎞ Rx (1) Rx (1) ⎞ x 2 ⎟ = Οƒ x ⎜1 βˆ’ ⎜ x 2 ⎟ ⎟ Οƒ = Οƒ ⎜1 + ⎜ 2 ⎟ βˆ’ 2 2 2 ⎜ ⎜ Οƒx ⎠ Οƒx Οƒx ⎟ Οƒx ⎠ ⎟ ⎝ ⎝ ⎠ ⎝ ⎝ ⎠ 2 d

2 x

b. Determine the optimal prediction gain Gp . Solution: Gp =

Οƒ x2 = Οƒ d2

Οƒ x2 βŽ› βŽ› R (1) ⎞ ⎞ Οƒ ⎜1 βˆ’ ⎜ x 2 ⎟ ⎟ ⎜ ⎝ Οƒx ⎠ ⎟ ⎝ ⎠ 2

2 x

=

1 βŽ› βŽ› R (1) ⎞ 2 ⎞ ⎜1 βˆ’ ⎜ x 2 ⎟ ⎟ ⎜ ⎝ Οƒx ⎠ ⎟ ⎝ ⎠

8.19 Consider 2nd order sigma-delta modulator shown in Figure P8.3. Show that y[n] = x[n βˆ’ 1] + ( e[n] βˆ’ 2e[ n βˆ’ 1] + e[n βˆ’ 2])

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


(

Y ( z ) = z βˆ’1 X ( z ) + 1 βˆ’ z βˆ’1

) E( z) 2

Figure P8.3

x[ n] + βˆ’

+

d1[n]

+ + +

+

Integrator 1

βˆ’

+

+ + +

d 2 [ n]

z

y[ n]

w[n]

βˆ’1

Integrator 2

z βˆ’1 1-bit DAC Solution:

Figure displays a linearized model of the second-order sigma-delta modulator where the 1-bit quantizer is replaced with a noise source e[n].

e[n] x[n]

+

βˆ’

+ + +

d1[n]

+ Integrator 1

βˆ’

+ +

d 2 [ n]

w[n]

z βˆ’1

y[n]

+

+ Integrator 2

z βˆ’1 1-bit DAC For the second loop, we have y[n] = w[n] + e[n]

(*)

d 2 [n] = d1[n] βˆ’ y[n] + w[n]

Now w[n] = d 2 [n βˆ’ 1] = d1[n βˆ’ 1] βˆ’ y[n βˆ’ 1] + w[n βˆ’ 1] = d1[n βˆ’ 1] βˆ’ e[n βˆ’ 1] ,

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Substituting into (*) yields y[n] = d1[n βˆ’ 1] βˆ’ e[n βˆ’ 1] + e[n]

(**)

For the first loop, we have d1[n] = x[n] βˆ’ y[n] + d1[n βˆ’ 1]

Therefore, d1[n βˆ’ 1] = x[n βˆ’ 1] βˆ’ y[n βˆ’ 1] + d1[n βˆ’ 2]

Substituting for y[n βˆ’ 1] from (**), we obtain d1[n βˆ’ 1] = x[n βˆ’ 1] βˆ’ d1[n βˆ’ 2] + e[n βˆ’ 2] βˆ’ e[n βˆ’ 1] + d1[n βˆ’ 2] = x[n βˆ’ 1] + e[n βˆ’ 2] βˆ’ e[n βˆ’ 1]

Substituting into (**) yields y[n] = x[n βˆ’ 1] + ( e[n] βˆ’ 2e[ n βˆ’ 1] + e[n βˆ’ 2])

Taking the z-transform of both sides, we get

(

)

(

Y ( z ) = z βˆ’1 X ( z ) + 1 βˆ’ 2 z βˆ’1 + z βˆ’2 E ( z ) = z βˆ’1 X ( z ) + 1 βˆ’ z βˆ’1

) E( z) 2

a. Show that the magnitude-squared of the noise transfer function is given by

(

H e ( f ) = 1 βˆ’ z βˆ’1 2

)

2 2 z = e jωTs

= 4 2 Γ— sin 4 (Ο€ f / f s )

Solution:

The signal and noise transfer functions are obtained from (***) as H s ( z ) = z βˆ’1

(

H e ( z ) = 1 βˆ’ z βˆ’1

)

2

The magnitude-squared of the noise transfer function is given by

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


(

H e ( f ) = 1 βˆ’ z βˆ’1 2

)

2 2

2 βˆ’2 jΟ€ fTs

= 4j e

z = e jωTs

(

= 1 βˆ’ e j 2Ο€ fTs

βŽ› e jΟ€ fTs βˆ’ e βˆ’ jΟ€ fTs ⎞ ⎜ ⎟ 2j ⎝ ⎠

)

2 2

2 2

= 4 ( sin (Ο€ fTs ) )

2 2

= 4 2 Γ— sin 4 (Ο€ fTs )

b. The quantization noise power at the output is given by N out =

Ο€ 4βˆ†2 60 K 5

Solution:

The PSD of output noise is given by

Gnout ( f ) = Ge ( f ) H e ( f )

2

where Ge ( f ) is a spectral density of the quantization noise.

Ge ( f ) =

Οƒ e2 fs

=

βˆ†2 12 f s

Therefore,

Gnout ( f ) =

4βˆ† 2 4 βŽ› Ο€ f ⎞ sin ⎜ ⎟ 3 fs ⎝ fs ⎠

The output quantization noise power in the signal band is given by B B βŽ›Ο€ f ⎞ 4βˆ† 2 N out = ∫ Gnout ( f )df = sin 4 ⎜ ⎟ df ∫ 3 fs βˆ’ B ⎝ fs ⎠ βˆ’B B βŽ›Ο€ f ⎞ 8βˆ† 2 sin 4 ⎜ = ⎟ df ∫ 3 fs 0 ⎝ fs ⎠

For very large oversampling ratio K, sin 4 (Ο€ f / f s ) β‰ˆ (Ο€ f / f s ) 4

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


5

B 8βˆ† 2 8βˆ† 2Ο€ 4 βŽ› B ⎞ βˆ† 2Ο€ 4 4 N out = ( Ο€ f / f ) df = = ⎜ ⎟ s 3 f s ∫0 15 ⎝ f s ⎠ 60 K 5

c. The output SNR of the 2nd order sigma-delta system is given by βŽ› 15 ⎞ SNR = 10 log10 ⎜ 4 ⎟ + 10 log10 ( K 5 ) = βˆ’11.135 + 50 log10 K ⎝ 2Ο€ ⎠ Solution:

Assuming a sinusoidal input of peak amplitude βˆ† / 2 , the signal power is given by 1βŽ›βˆ†βŽž Pout = ⎜ ⎟ 2⎝ 2 ⎠

2

The output SNR of a first-order sigma-delta modulator is Pout 1 βŽ› βˆ† ⎞ 60 K 5 15K 5 = ⎜ ⎟ = N out 2 ⎝ 2 ⎠ βˆ† 2Ο€ 4 2Ο€ 4 2

SNR =

or in dB form βŽ› 15 ⎞ SNR = 10 log10 ⎜ 4 ⎟ + 10 log10 ( K 5 ) = βˆ’11.135 + 50 log10 K ⎝ 2Ο€ ⎠ d. Prove that for the 2nd order sigma-delta system every doubling of the oversampling ratio, the SNR improves by 15 dB and the resolution improves by 2 Β½ bits. Solution:

Let the oversampling ratio K = 2 r . Substituting we obtain

SNR = βˆ’11.135 + 50log10 ( 2r ) = βˆ’11.135 + 15r For every doubling of the oversampling ratio K, that is, for every increment in r, the SNR improves by 15 dB, or equivalently, the resolution improves by 2.5 bits.

30 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 9 9.1

What is the duration of a transmitted pulse or symbol for each of the following signals? (a) 16-PAM signal at 200kb/s_________________ (b) Manchester coded data at 10 Mb/s_______________________________ (c) Bipolar encoded data at 1.544 Mb/s________________________________ (d) 2B1Q encoded signal with a bit rate of 144 kb/s _____________________ What is the first-null bandwidth of signals in (a) and (d)? _________________ Solution: a. 16-PAM signal at 200kb/s Pulse or symbol duration = 20 Β΅sec First-null bandwidth = 50 kHz b. Manchester coded data at 10 Mb/s Pulse or symbol duration = 100 nsec First-null bandwidth = 20 MHz c. Bipolar encoded data at 1.544 Mb/s Pulse or symbol duration = 0.647 Β΅sec First-null bandwidth = 1.544 MHz d. 2B1Q encoded signal with a bit rate of 144 kb/s Pulse or symbol duration = 13.89 Β΅sec First-null bandwidth = 72 kHz

9.2

An image is 1024 Γ— 768 pixels with 3 bytes/pixel coding. a. How long does it take to transmit it over a 56 kbps modem link? Over a 1.5 Mbps ADSL link? Over a 10 Mbps cable modem link?

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Compare the transmission times if JPEG compression is used prior to transmission. Assume that JPEG scheme achieves a compression ratio of 15:1.

Solution (a) and (b): An image with 1024 Γ— 768 pixels and 3 bytes/pixel produces 2.36 Mbytes = 18.8744Γ—106 bits. No compression Time required to transmit using 56 kb/s dial-up modem = 5.6174 min Time required to transmit using 1.5 Mb/s ADSL modem = 12.583 sec Time required to transmit over 10 Mb/s cable modem = 1.88744 sec Modem type

Transmit time No compression

Dial-up ADSL Cable modem

9.3

5.6174 min 12.583 sec 1.88744 sec

With JPEG compression (compression ratio =15) 22.47 sec 839 msec 125.83 msec

Consider a random data signal consisting of binary 1’s and 0’s occurring with equal probability. Calculate the power spectral density Gs ( f ) of unipolar RZ encoded signal assuming a 25% duty cycle. Solution: The FT of a rectangular pulse is obtained from Table 2.2 as β„‘ Ξ  (t / Ο„ ) β†βŽ― β†’Ο„ sinc( f Ο„ )

In the present case, V(f ) =

Ο„ Tb

= 0.25 . Therefore,

Tb sinc ( fTb / 4 ) 4

Substituting into (9.22) along with (9.25) and (9.26), the spectral density for the unipolar RZ encoded signal is given by

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


∞ βŽ› Rb Tb T 1 A⎞ sinc ( fTb / 4 ) + Rb2 βˆ‘ b sinc ( A / 4) Ξ΄ ⎜ f βˆ’ ⎟ 4 4 4 A=βˆ’βˆž 4 Tb ⎠ ⎝ 2

Gs ( f ) =

2

βŽ› Tb 1 ∞ A⎞ 2 sinc2 ( A / 4) Ξ΄ ⎜ f βˆ’ ⎟ = sinc ( fTb / 4 ) + βˆ‘ 64 64 A =βˆ’βˆž Tb ⎠ ⎝ a. Calculate the power spectral density Gx ( f ) of 25% duty cycle rectangular pulse train (Example 2.24) modulated by 101010… data pattern. Solution:

The periodic unipolar RZ signal, obtained by modulating the rectangular pulse train in Example 2.24 with 101010…data pattern, is shown in Figure.

x p (t )

1

…

T βˆ’ b 8

βˆ’2Tb

…

Tb 8 0

βˆ’Tb

Tb To

2Tb

The PSD Gx ( f ) of a periodic signal x p (t ) is given from (2.173) as ∞

Gx ( f ) = βˆ‘ Cn Ξ΄ ( f βˆ’ nf o ) 2

n =βˆ’βˆž

In the present case, To = 2Tb and Ο„ = Tb / 4 . Therefore, ∞ nR ⎞ 2 βŽ› Gx ( f ) = βˆ‘ Cn Ξ΄ ⎜ f βˆ’ b ⎟ 2 ⎠ ⎝ n =βˆ’βˆž

The exponential FS coefficients Cn of the periodic waveform are given by Cn =

βŽ› nT / 4 ⎞ 1 Tb / 4 βŽ›n⎞ sinc ⎜ b ⎟ = sinc ⎜ ⎟ 2Tb ⎝8⎠ ⎝ 2Tb ⎠ 8 ∞

2

nR ⎞ 1 ∞ nR ⎞ 1 βŽ›n⎞ βŽ› βŽ›n⎞ βŽ› sinc 2 ⎜ ⎟δ ⎜ f βˆ’ b ⎟ Gx ( f ) = βˆ‘ sinc ⎜ ⎟ Ξ΄ ⎜ f βˆ’ b ⎟ = βˆ‘ 2 ⎠ 64 n =βˆ’βˆž 2 ⎠ ⎝8⎠ ⎝ ⎝8⎠ ⎝ n =βˆ’βˆž 8

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Plot both on the same graph using the normalized frequency scale (i.e., f /Rb). What conclusions do you make? Solution:

Spectral density comparison: 25% duty cycle unipolar RZ signal vs rectangular pulse train 0.016 Unipolar RZ: Continuous portion Unipolar RZ: Discrete components 0.014 Rectangular pulse train

Spectral Density

0.012 0.01 0.008 0.006 0.004 0.002 0

9.4

0

1

2

3 4 5 Normalized Frequency f/Rb

6

7

8

Consider a random data signal consisting of binary 1’s and 0’s occurring with equal probability. Calculate the power spectral density Gs ( f ) of polar NRZencoded signal. Solution:

The spectral density of the binary polar NRZ signal is obtained from (9.33) as GpolarNRZ ( f ) =

βŽ› f ⎞ 1 sinc2 ⎜ ⎟ Rb ⎝ Rb ⎠

a. Calculate the power spectral density Gs ( f ) of a deterministic data pattern 101010…..with polar NRZ encoding. Solution:

In the present case, To = 2Tb . The periodic polar NRZ signal x p (t ) ,

corresponding data pattern 101010….. , is shown in Figure.

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x p (t )

1

…

βˆ’2Tb

… βˆ’Tb

0

βˆ’1

Tb

t 2Tb

To

The FS coefficients of the periodic polar NRZ signal x p (t ) are given by C0 = 0 βˆ’T /2 + Tb / 2 Tb ∞ ⎀ 1 1 ⎑ b βˆ’ j 2Ο€ nfot βˆ’ j 2Ο€ nf o t βˆ’ j 2Ο€ nf o t βˆ’ j 2Ο€ nf o t Cn = x t e dt e dt e dt e dt = βˆ’ + βˆ’ ( ) ⎒ βŽ₯ ∫ p ∫ ∫ To βˆ’βˆž 2Tb ⎒⎣ βˆ’βˆ«Tb βŽ₯⎦ βˆ’Tb / 2 Tb /2

=

Tb /2 Tb 1 ⎑ βˆ’ jΟ€ nt /Tb βˆ’Tb /2 βˆ’ jΟ€ nt /Tb Tb ⎀ +e βˆ’ e e βˆ’ jΟ€ nt /Tb ⎒ βŽ₯ βˆ’ /2 βˆ’ Tb /2 T T b b ⎦ jΟ€ n 2Tb j 2Ο€ n ⎣

=

1 1 ⎑ e jΟ€ n / 2 βˆ’ e jΟ€ n + e βˆ’ jΟ€ n βˆ’ e βˆ’ jΟ€ n /2 ⎦⎀ + ⎑e jΟ€ n /2 βˆ’ e βˆ’ jΟ€ n /2 ⎦⎀ ⎣ ⎣ j 2Ο€ n j 2Ο€ n

=

1

⎑⎣e jΟ€ n /2 βˆ’ e βˆ’ jΟ€ n / 2 ⎀⎦ = jΟ€ n

sin (Ο€ n / 2 ) Ο€n/ 2

βŽ›n⎞ = sinc ⎜ ⎟ ⎝2⎠

nR ⎞ βŽ›n⎞ βŽ› Gx ( f ) = βˆ‘ sinc 2 ⎜ ⎟δ ⎜ f βˆ’ b ⎟ 2 ⎠ ⎝2⎠ ⎝ nβ‰ 0 b. Repeat (a) for a test pattern consisting of six binary 1’s followed by two binary 0’s. Solution:

In the present case, To = 8Tb . The periodic polar NRZ signal x p (t ) , corresponding to data pattern … 011111100111111001111110… , is shown in Figure.

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x p (t )

1

…

βˆ’3Tb βˆ’8Tb

…

3Tb

-4Tb

0

To

4Tb

8Tb

βˆ’1

The FS coefficients of the periodic polar NRZ signal x p (t ) are given by

C0 =

3T βˆ’3Tb 4Tb ∞ ⎀ 4T 1 1 ⎑ b 1 = βˆ’ βˆ’ x ( t ) dt dt dt dt βŽ₯ = b = ⎒ ∫ p ∫ ∫ ∫ To βˆ’βˆž 8Tb ⎒⎣ βˆ’3Tb βŽ₯⎦ 8Tb 2 βˆ’4Tb 3Tb

Cn =

3T βˆ’3Tb 4Tb ∞ ⎀ 1 1 ⎑ b βˆ’ j 2Ο€ nfot βˆ’ j 2Ο€ nf o t βˆ’ j 2Ο€ nf o t βˆ’ j 2Ο€ nfo t x t e dt e dt e dt e dt = βˆ’ βˆ’ ( ) ⎒ βŽ₯ p ∫ ∫ ∫ To βˆ’βˆž 8Tb ⎣⎒ βˆ’3∫Tb βˆ’4Tb 3Tb ⎦βŽ₯

4Tb 3Tb 1 ⎑ βˆ’ jΟ€ nt /4Tb βˆ’3Tb 1 + e βˆ’ jΟ€ nt /4Tb ⎀ βˆ’ e eβˆ’ jΟ€ nt /4Tb βŽ₯ j 2Ο€ n βˆ’4Tb 3Tb ⎦ βˆ’3Tb j 2Ο€ n ⎣⎒ 1 1 ⎑e j 3Ο€ n / 4 βˆ’ e jΟ€ n + e βˆ’ jΟ€ n βˆ’ e βˆ’ j 3Ο€ n /4 ⎦⎀ + ⎑e j 3Ο€ n / 4 βˆ’ e βˆ’ j 3Ο€ n /4 ⎦⎀ = ⎣ ⎣ j 2Ο€ n j 2Ο€ n

=

=

2 3 sin ( 3Ο€ n / 4 ) ⎑⎣e j 3Ο€ n / 4 βˆ’ e βˆ’ j 3Ο€ n /4 ⎀⎦ = 2 3Ο€ n / 4 j 2Ο€ n

3 βŽ› 3n ⎞ = sinc ⎜ ⎟ 2 ⎝ 4 ⎠

Gx ( f ) =

nR ⎞ 1 9 βŽ› 3n ⎞ βŽ› + βˆ‘ sinc 2 ⎜ ⎟δ ⎜ f βˆ’ b ⎟ 4 4 nβ‰ 0 8 ⎠ ⎝ 4 ⎠ ⎝

c. Plot spectral densities on the same graph using the normalized frequency scale (i.e., f/Rb). Solution:

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

t


Spectral density comparison 2.5 Polar NRZ Square wave Six 1s and one 0 either side

Spectral Density

2

1.5

1

0.5

0

0

1

2

3 4 5 Normalized Frequency f/Rb

6

7

8

9.5 Optical fiber digital communication system uses unipolar Manchester pulses shown in Figure P9.1. a. Sketch the waveform for random data sequence 1011001. Solution: Unipolar Manchester signaling 1

0

1

1

0

0

1

1 0 2Tb

3Tb

4Tb

5Tb

6Tb

7Tb

b. Derive an expression for the spectral density Gs ( f ) assuming equiprobable binary data. How does this expression differ from (9.51) and why? Solution:

The spectral density of unipolar Manchester encoded signal is obtained by noting that x (t )um =

1 ⎑ x (t ) pm + 1⎀⎦ 2⎣

where

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


x(t )um = unipolar Manchester signal x(t ) pm = polar Manchester signal

The spectral density of unipolar Manchester encoded signal is Gum ( f ) =

G pm ( f ) 4

+

Ξ΄( f ) 4

where βŽ› fT ⎞ βŽ› Ο€ fTb ⎞ G pm ( f ) = Tbsinc 2 ⎜ b ⎟ sin 2 ⎜ ⎟ ⎝ 2 ⎠ ⎝ 2 ⎠ Gum ( f ) =

Tb ⎑ Ξ΄( f )⎀ 2 βŽ› fTb ⎞ 2 βŽ› Ο€ fTb ⎞ ⎒sinc ⎜ βŽ₯ ⎟ sin ⎜ ⎟+ Tb ⎦ 4⎣ ⎝ 2 ⎠ ⎝ 2 ⎠

Note that the spectrum of unipolar Manchester encoded signal has DC component as expected. 9.6 We want to design a digital communications link to transmit data at 1.544 Mb/s. How much (first-null) bandwidth is required using the following signaling schemes: a. Bipolar RZ b. Polar RZ c. 4-ary PAM d. Manchester Solution:

a. 1.544 MHz b. 3.088 MHz c. 772 kHz d. 3.088 MHz

9.7 Binary data is to be transmitted using M-ary PAM over the ideal bandlimited channel with a bandwidth W = 4 kHz. We use RC pulses with roll-off factor Ξ± = 0.5 so that there is no ISI. If we want to achieve a bit rate of 56 kb/s, determine

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. the required size of signal set M. b. symbol rate and duration. Solution:

a. For M-ary signaling, Babs = 0.5(1 + Ξ± ) D . Substituting 4 Γ— 103 = 0.5(1 + 0.5)D

Therefore, D =

4 Γ— 103 16 Γ—103 = symbol/sec 0.75 3

Number of bits symbol k =

R 56 Γ— 3 Γ— 103 21 = = = 10.5 β‰ˆ 11 bits/symbol D 16 Γ— 103 2

Size of signal set M = 2k = 211 = 2048 56 Γ— 103 b. Symbol rate D = = 5.09 Γ— 103 symbols/sec 11

Symbol duration T =

11 = 196.43Β΅ sec 56 Γ— 103

9.8 We want to design a digital communications link to transmit data at 1.544 Mb/s. Compare the bandwidth required for following line encoding schemes using RC pulses with roll-off factor Ξ± = 0.5: a. Unipolar NRZ b. Bipolar RZ c. 4-ary PAM d. 16-ary PAM Solution:

a. For binary signaling, Babs = 0.5(1 + Ξ± ) R , where Ξ± = roll-off factor.

Using Ξ± = 0.5, the absolute bandwidth for NRZ signaling using RC pulses is

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Babs = 0.5(1 + 0.5) Γ— 1.544 = 0.75 Γ— 1.544 = 1.158 MHz

b. Same as in (a). c. For M-ary signaling, Babs = 0.5(1 + Ξ± ) D

For 4-ary PAM, D = 772 ksymbols/second. Babs = 0.5(1 + Ξ± ) D = 0.75 Γ— 772 = 579 kHz

d. For 16-ary PAM, D = 386 ksymbols/second. Babs = 0.5(1 + Ξ± ) D = 0.75 Γ— 386 = 289.5 kHz

9.9 Consider a random data signal consisting of binary 1’s and 0’s occurring with equal probability. We assume that the digital communication system uses polar NRZ encoding and the basic pulse shape described by

⎧ βŽ› Ο€t ⎞ βŽͺcos ⎜ ⎟ , t < Tb / 2 v(t ) = ⎨ ⎝ Tb ⎠ βŽͺ otherwise ⎩0,

a. Sketch the waveform for data sequence 1011001. Solution:

1

0.5

0

-0.5

-1

0

1

2

3 t/Tb

4

5

6

b. Find an expression for the power spectral density.

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The power spectral density Gs ( f ) of a binary polar NRZ signal is given from (9.33) as

Gs ( f ) =

A2 2 V( f ) Tb

Now

βŽ› Ο€t ⎞ βŽ› t ⎞ v(t ) = cos ⎜ ⎟ Ξ  ⎜ ⎟ ⎝ Tb ⎠ ⎝ Tb ⎠ βŽ› t ⎞ β„‘ Ξ  ⎜ ⎟ β†βŽ― β†’ Tb sinc (Tb f ) ⎝ Tb ⎠ βŽ› Ο€t ⎞ β„‘ 1 ⎑ βŽ› βŽ› 1 ⎞ 1 ⎞⎀ β†’ ⎒δ ⎜ f βˆ’ cos ⎜ ⎟ β†βŽ― ⎟+Ξ΄ ⎜ f + ⎟βŽ₯ 2⎣ ⎝ 2Tb ⎠ 2Tb ⎠ ⎦ ⎝ Tb ⎠ ⎝ Therefore, ⎧βŽͺ βŽ› t ⎞ ⎫βŽͺ ⎧βŽͺ βŽ› Ο€ t ⎞ ⎫βŽͺ βŽ› 1⎑ βŽ› 1 ⎞ 1 ⎞⎀ V ( f ) = β„‘ ⎨Π ⎜ ⎟ ⎬ βŠ— β„‘ ⎨cos ⎜ ⎟ ⎬ = Tb sinc (Tb f ) βŠ— ⎒δ ⎜ f βˆ’ ⎟ +Ξ΄ ⎜ f + ⎟βŽ₯ 2⎣ ⎝ 2Tb ⎠ 2Tb ⎠ ⎦ ⎝ ⎩βŽͺ ⎝ Tb ⎠ ⎭βŽͺ ⎩βŽͺ ⎝ Tb ⎠ ⎭βŽͺ =

⎑ βŽ› ⎑ βŽ› Tb ⎑ 1 ⎞⎀ 1 ⎞⎀ ⎀ ⎒sinc ⎒Tb ⎜ f βˆ’ ⎟ βŽ₯ + sinc ⎒Tb ⎜ f + ⎟βŽ₯ βŽ₯ 2 ⎣⎒ 2Tb ⎠ ⎦ 2Tb ⎠ ⎦ ⎦βŽ₯ ⎣ ⎝ ⎣ ⎝

=

Tb ⎑ 1 ⎞⎀ 1⎞ βŽ› βŽ› sinc ⎜ Tb f βˆ’ ⎟ + sinc ⎜ Tb f + ⎟ βŽ₯ ⎒ 2 ⎠⎦ 2⎣ 2⎠ ⎝ ⎝

Substituting T ⎑ 1⎞ 1 ⎞⎀ βŽ› βŽ› Gs ( f ) = b ⎒sinc ⎜ Tb f βˆ’ ⎟ + sinc ⎜ Tb f + ⎟ βŽ₯ 4⎣ 2⎠ 2 ⎠⎦ ⎝ ⎝

2

T ⎑ 1⎞ 1⎞ 1⎞ 1 ⎞⎀ βŽ› βŽ› βŽ› βŽ› = b ⎒sinc2 ⎜ Tb f βˆ’ ⎟ + sinc 2 ⎜ Tb f + ⎟ + 2sinc ⎜ Tb f βˆ’ ⎟ sinc ⎜ Tb f + ⎟ βŽ₯ 4⎣ 2⎠ 2⎠ 2⎠ 2 ⎠⎦ ⎝ ⎝ ⎝ ⎝

2

We observe that the spectral sidelobes decay very rapidly because of the smooth shape of the cosine pulse.

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Spectral Density of Polar NRZ Signal 1.8 1.6

Spectral Density Gs (f)

1.4 1.2 1 0.8 0.6 0.4 0.2 0 -5

-4

-3

-2

-1 0 1 2 Normalized Frequency f/Rb

3

4

5

c. Compare the spectral efficiency with the system using rectangular pulses. Solution:

The first null bandwidth of the polar NRZ signal with cosine pulse shape is 1.5 Rb versus Rb for the rectangular pulse shape. However, the spectrum is much more compact thus avoiding significant adjacent channel interference. 9.10 Consider the unit impulse train in time with period T. ∞

Ξ΄ p (t ) = βˆ‘ Ξ΄ (t βˆ’ nT ) n =βˆ’βˆž

a. Show that the FS expansion for this signal is given by ∞

βˆ‘ Ξ΄ (t βˆ’ nT ) =

n =βˆ’βˆž

1 ∞ j 2Ο€ nt /T βˆ‘e T n =βˆ’βˆž

Solution:

The FS expansion for this signal is given by ∞

Ξ΄ p (t ) = βˆ‘ Cn e j 2Ο€ nf t o

(*)

n =βˆ’βˆž

where fo =

1 T

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


T /2

Cn =

1 1 1 Ξ΄ p (t )e βˆ’ j 2Ο€ nfot dt = Ξ΄ (t )e βˆ’ j 2Ο€ nfot dt = ∫ ∫ TT T βˆ’T /2 T

Substituting into (*) yields

Ξ΄ p (t ) =

1 ∞ j 2Ο€ nt /T βˆ‘e T n =βˆ’βˆž

b. By taking FT of both sides, derive the identity ∞

βˆ‘ eβˆ’ j 2Ο€ nfT =

n =βˆ’βˆž

1 ∞ βŽ› n⎞ δ⎜f βˆ’ ⎟ βˆ‘ T n =βˆ’βˆž ⎝ T⎠

Solution:

By taking FT of both sides, we obtain ∞ ∞ ⎧ ∞ ⎫ β„‘ ⎨ βˆ‘ Ξ΄ ( t βˆ’ nT ) ⎬ = βˆ‘ β„‘ {Ξ΄ ( t βˆ’ nT )} = βˆ‘ e βˆ’ j 2Ο€ nfT n =βˆ’βˆž ⎩ n =βˆ’βˆž ⎭ n =βˆ’βˆž

1 ∞ βŽ› n⎞ ⎧1 ∞ ⎫ 1 ∞ β„‘ ⎨ βˆ‘ e j 2Ο€ nt /T ⎬ = βˆ‘ β„‘ e j 2Ο€ nt /T = βˆ‘ Ξ΄ ⎜ f βˆ’ ⎟ T n=βˆ’βˆž ⎝ T⎠ ⎩ T n =βˆ’βˆž ⎭ T n =βˆ’βˆž

{

}

The identity is obtained by equating the left-hand sides as ∞

βˆ‘ eβˆ’ j 2Ο€ nfT =

n =βˆ’βˆž

1 ∞ βŽ› n⎞ δ⎜f βˆ’ ⎟ βˆ‘ T n =βˆ’βˆž ⎝ T⎠

9.11 Consider a baseband channel with bandwidth 64 kHz. a. If bipolar RZ signaling with RC pulses is used, show that the spectrum of 64 kb/s signal will fit into the channel when Ξ± =1. Find the absolute and 6-dB bandwidths. Solution:

For bipolar RZ signaling , Babs = 0.5(1 + Ξ± ) Rb . Substituting for Rb and Ξ± , we obtain Babs = 64 kHz = W = channel bandwidth

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6-dB bandwidth of RC pulses = D / 2 = 32 kHz Alternatively, it can be calculated as 2

G RC ( f ) V(f) = = 1 0 βˆ’ 0 .6 G R C (0 ) V (0 ) f = f βˆ’ 6dB 2

βŽ‘Ο€ T βŽ› 1⎧ 1 βˆ’ Ξ± ⎞⎀ ⎫ βˆ’0.6 ⎨1 + cos ⎒ ⎜ f βˆ’6dB βˆ’ ⎟ βŽ₯ ⎬ = 10 4⎩ 2T ⎠ ⎦ ⎭ ⎣α ⎝

βŽ‘Ο€T βŽ› 1⎧ 1 βˆ’ Ξ± ⎞⎀ ⎫ βˆ’0.3 ⎨1 + cos ⎒ ⎜ f βˆ’6dB βˆ’ ⎟ βŽ₯ ⎬ = 10 = 0.5 2⎩ 2T ⎠ ⎦ ⎭ ⎣α ⎝

βŽ‘Ο€ T βŽ› 1 βˆ’ Ξ± ⎞⎀ cos ⎒ ⎜ f βˆ’6dB βˆ’ ⎟ =0 2T ⎠ βŽ₯⎦ ⎣α ⎝ Ο€T βŽ› 1βˆ’Ξ± ⎞ Ο€ ⎜ f βˆ’6dB βˆ’ ⎟= Ξ± ⎝ 2T ⎠ 2 2Tf βˆ’6dB βˆ’ 1 + Ξ± = Ξ± 2Tf βˆ’6dB = 1 f βˆ’6dB =

D 1 = 2T 2

b. Repeat part (a) for the case of 144 kb/s quaternary PAM signaling. Choose appropriate value of Ξ±, if required. Solution:

For M-ary signaling, Babs = 0.5(1 + Ξ± ) D =

0.5(1 + Ξ± ) Rb . k

0.5(1 + Ξ± )144 Γ— 103 2 128 1+ Ξ± = = 1.7778 72 Ξ± = 0.7778 64 Γ— 103 =

9.12

A differential encoder is defined by the following Boolean expression d n = d n βˆ’1 βŠ• bn

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


where bn = current data bit into the differential encoder and dn = current differentially encoded bit. a. Assuming initial bit d 0 = 0 , calculate the differential encoder output for the input bit sequence 011110101. Solution:

Data bits bn Differentially encoded bits dn

0 1 1 1 1 0 1 0 1 0 1 1 1 1 1 0 0 1 1

b. Repeat (a) assuming initial bit d0 = 1 . Solution:

Data bits bn Differentially encoded bits dn

0 1 1 1 1 0 1 0 1 1 0 0 0 0 0 1 1 0 0

c. What conclusions do you make from (a) and (b) regarding the action of the encoder. Solution:

The effect of encoding in both cases is to toggle the differentially encoded bit an if bn is 0, and leave it unchanged if the incoming binary bit bn is 1. On the other hand, the differentially encoded bits in (b) are complement of those generated in (a). 9.13 Design the descrambler to recover the original data for the scrambler in Example 9.3. Verify that when the scrambled sequence cn is applied to the input of the descrambler, the output is the original sequence 10000000000. Solution:

The descrambler is shown in Figure.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


D

cn-5

D

cn-4

D

cn-3

D

+

cn-2

D

cn-1 cn

+

Scrambled Data

User Data bn

We assume that the initial state of the shift register is set to all zeros. The descrambled data output is now be obtained from (9.63) as bn = cn βŠ• cn βˆ’ 2 βŠ• cn βˆ’5

The calculation of descrambled bits is shown in the table below. cn

1

0

1

0

1

1

1

0

1

1

0

0

cn-1 Shift-register cn-2 contents cn-3 cn-4 cn-5 Data bits bn

0 0 0 0 0 1

1 0 0 0 0 0

0 1 0 0 0 0

1 0 1 0 0 0

0 1 0 1 0 0

1 0 1 0 1 0

1 1 0 1 0 0

1 1 1 0 1 0

0 1 1 1 0 0

1 0 1 1 1 0

1 1 0 1 1 0

0 1 1 0 1 0

Scrambled bits

9.14

A scrambler is shown in Figure P9.2. Design the descrambler to recover the original data. If a data sequence 100000001111 is applied to the input of the scrambler, determine the scrambled output sequence. Verify that the output is the original data sequence when the scrambled sequence cn is applied to the input of the descrambler. Solution:

The descrambler is shown in Figure.

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


D

cn-3

D

+

cn-2

D

cn-1

+

Scrambled data cn

User data bn

Descrambler

We assume that the initial state of the shift register is set to all zeros. The scrambled data output can now be obtained from (9.62) as cn = bn βŠ• cn βˆ’ 2 βŠ• cn βˆ’3

Table below displays the calculation of scrambled bits.

Data bits

Shift-register contents Scrambled bits

bn

1

0

0

0

0

0

0

0

1

1

1

1

cn-1 cn-2 cn-3 cn

0 0 0 1

1 0 0 0

0 1 0 1

1 0 1 1

1 1 0 1

1 1 1 0

0 1 1 0

0 0 1 1

1 0 0 1

1 1 0 0

0 1 1 1

1 0 1 0

We assume that the initial state of the shift register is set to all zeros. The descrambled data output can now be obtained from (9.63) as bn = cn βŠ• cn βˆ’ 2 βŠ• cn βˆ’3

Table below displays the calculation of descrambled bits.

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Scrambled bits

Shift-register contents Data bits

cn

1

0

1

1

1

0

0

1

1

0

1

0

cn-1 cn-2 cn-3 bn

0 0 0 1

1 0 0 0

0 1 0 0

1 0 1 0

1 1 0 0

1 1 1 0

0 1 1 0

0 0 1 0

1 0 0 1

1 1 0 1

0 1 1 1

1 0 1 1

9.15 A 7-bit ADC samples video signal at 10.7386 MHz. a. Find the serial bit rate of the digital signal being generated. Solution:

Serial bit rate = 7 Γ— 10.7386 = 75.17 Mb/s b. The digital signal is transmitted using RC pulses over a channel of bandwidth 12 MHz. If 16-ary PAM signaling is used, find the maximum roll-off factor Ξ± that can be used. Solution:

Symbol rate D =

75.17 Γ— 106 = 18.8 Γ— 106 symbols/sec 4

12 Γ—106 = 0.5(1 + Ξ± ) Γ—18.8 Γ—106 12 1+ Ξ± = = 1.2766 9.4 Ξ± = 0.2766

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 10 10.1

Binary data is transmitted over an AWGN channel with a power spectral density N o / 2 = 10βˆ’9 W/Hz. Determine the signal amplitude A required to achieve a BER = 10 βˆ’6 , when the data rate is (a) 1 Mb/s, (b) 10 Mb/s, and (c) 100 Mb/s. Evaluate for unipolar NRZ and RZ line coding schemes. What is the channel first- null bandwidth required in each case? Solution: For unipolar NRZ signaling,

βŽ› Eb ⎞ BER = Q ⎜⎜ ⎟⎟ using a MF receiver ⎝ No ⎠ N o / 2 = 10βˆ’9 β‡’ N o = 2 Γ—10βˆ’9 Using Table 6.1, we get x = 4.7535 for BER = 10-6.

∴

Eb 2 = ( 4.7535) = 22.6 β‡’ Eb = 4.519 Γ—10βˆ’8 No

Now Eb =

A 2Tb 2

(a) R = 1 Mbps, ∴Tb = 10βˆ’6 4.519 Γ—10 βˆ’8 Γ— 2 A = β‡’ A = 0.3 V 10βˆ’6 2

(b) R = 10 Mbps, ∴Tb = 10βˆ’7 A2 =

4.519 Γ—10βˆ’8 Γ— 2 β‡’ A = 0.95 V 10βˆ’7

(c) R = 100 Mbps, ∴Tb = 1Γ—10βˆ’8 4.519 Γ—10βˆ’8 Γ— 2 A = β‡’ A=3V 10βˆ’8 2

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ› Eb ⎞ A2Tb and BER = Q ⎜⎜ ⎟⎟ using a N 4 o ⎝ ⎠ MF receiver. From Table 6.1, we get x = 4.7535 for BER = 10-6. For unipolar RZ line coding scheme Eb =

∴

Eb 2 = ( 4.7535) = 22.6 β‡’ Eb = 4.519 Γ—10βˆ’8 No

Now (d) R = 1 Mbps, ∴Tb = 10βˆ’6 A2 =

4.519 Γ— 10βˆ’8 Γ— 4 β‡’ A = 0.425 V 10βˆ’6

(e) R = 10 Mbps, ∴Tb = 10βˆ’7 A2 =

4.519 Γ—10βˆ’8 Γ— 4 β‡’ A = 1.34 V 10βˆ’7

(f) R = 100 Mbps, ∴Tb = 1Γ—10βˆ’8 A2 =

4.519 Γ—10βˆ’8 Γ— 4 β‡’ A = 4.25 V 10βˆ’8

The following table summarizes the results.

Bit Rate (Mbps)

Unipolar NRZ

Unipolar RZ

Amplitude (V) BW (MHz)

Amplitude (V) BW (MHz)

1

0.3

1

0.425

2

10

0.95

10

1.34

20

100

3.0

100

4.25

200

,

10.2 Consider a binary signaling system using sinusoidal pulses

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ› Ο€t ⎞ s1 (t ) = A sin ⎜ ⎟ , 0 ≀ t ≀ Tb ⎝ Tb ⎠ s 2 (t ) = 0

A correlation detector is used for the detection of transmitted symbols at the output of an AWGN channel with noise spectral density N o / 2 = 2.8 Γ— 10βˆ’11 W/Hz. a. Determine an expression for the average probability of bit error assuming equiprobable binary data. Solution: The BER for a correlation or MF detector is given by βŽ› Eb ⎞ BERMF = Q ⎜ ⎜ N ⎟⎟ o ⎠ ⎝

where Eb = Average energy/bit =

1 1 E E1 + 0 = 1 2 2 2

βŽ› Ο€t ⎞ βŽ› 2Ο€ t ⎞ ⎀ A2Tb A2 Tb ⎑ E1 = ∫ A sin ⎜ ⎟ dt = ⎒1 βˆ’ cos ⎜ ⎟ βŽ₯ dt = 0 2 ∫0 ⎒⎣ 2 ⎝ Tb ⎠ ⎝ Tb ⎠ βŽ₯⎦ Tb

2

2

N o / 2 = 2.8 Γ—10βˆ’11 β‡’ N o = 5.6 Γ— 10βˆ’11 Substituting βŽ› A2T ⎞ b ⎟ BER = Q ⎜ ⎜ 4 No ⎟ ⎝ ⎠

b. Evaluate the bit error rate for A = 50 mV and the bit rate of 1 Mb/s. Solution: βŽ› ⎜ BER = Q ⎜ ⎜ ⎝

( 50 Γ—10 ) Γ—10 ⎞⎟ = Q ( 3.34 ) = 4.2 Γ—10 βˆ’3

2

4 Γ— 5.6 Γ— 10

βˆ’6

βˆ’11

⎟ ⎟ ⎠

βˆ’4

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. How much does the received pulse amplitude A have to increase for the same BER performance when the bit rate is doubled? Solution: To assure the same BER performance, the argument of Q function in the BER expression must remain the same when the bit rate is doubled. Therefore,

A2 Γ— 0.5 Γ—10βˆ’6 11.16 Γ— 4 Γ— 5.6 Γ—10βˆ’5 2 = 3.34 β‡’ A = = 5 Γ—10βˆ’3 β‡’ A = 70.7 mV 4 Γ— 5.6 Γ—10βˆ’11 0.5 10.3

A binary signaling system uses pulses s1 (t ) and s2 (t ), 0 ≀ t ≀ Tb to transmit binary data occurring with probabilities p and 1 βˆ’ p , respectively . A matched filter detector is used for the detection of transmitted symbols at the output of an AWGN channel with noise spectral density N o / 2 W/Hz. a. Show that the optimum threshold value Vopt is given by

Vopt =

No s +s p log e + o1 o 2 2 1βˆ’ p 2

where so1 and so 2 are given by (10.41) and (10.42), respectively. Solution: βŽ› s βˆ’V ⎞ βŽ›V βˆ’ s ⎞ BER = pQ ⎜ o1 T ⎟ + (1 βˆ’ p )Q ⎜ T o 2 ⎟ ⎝ Οƒo ⎠ ⎝ Οƒo ⎠

d ( BER) p 1 1βˆ’ p 1 βˆ’ (V βˆ’ s ) 2 /2Οƒ 2 βˆ’ (V βˆ’ s )2 /2Οƒ o2 = e opt o1 o βˆ’ e opt o 2 =0 2 dVT V =V 2 2πσ o2 2 2 πσ o T opt 2 2 βŽ› p ⎞ (V βˆ’ s ) βŽ› 1 βˆ’ p ⎞ (Vopt βˆ’ so 2 ) log e ⎜ ⎟ βˆ’ opt 2 o1 = log e ⎜ βˆ’ ⎟ 2Οƒ o 2Οƒ o2 ⎝2⎠ ⎝ 2 ⎠ βŽ› p⎞ βŽ› 1βˆ’ p ⎞ 2 2Οƒ o2 log e ⎜ ⎟ + 2Vopt so1 βˆ’ so21 = 2Οƒ o2 log e ⎜ ⎟ + 2Vopt so 2 βˆ’ so 2 ⎝2⎠ ⎝ 2 ⎠

βŽ› p ⎞ 2 2 2Οƒ o2 log e ⎜ ⎟ + 2Vopt so1 βˆ’ so1 = 2Vopt so 2 βˆ’ so 2 ⎝ 1βˆ’ p ⎠ Now solving for Vopt , we obtain

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


(

)

so22 βˆ’ so21 βŽ› p ⎞ Vopt = + log ( so 2 βˆ’ so1 ) e ⎜⎝ 1 βˆ’ p ⎟⎠ 2 ( so 2 βˆ’ so1 )

Οƒ o2

=

Οƒ o2

βŽ› p ⎞ so1 + so 2 + log e ⎜ 2 ( so 2 βˆ’ so1 ) ⎝ 1 βˆ’ p ⎟⎠

(*)

For MF detection

d 2 = so1 βˆ’ so 2 = so 2 βˆ’ so1

Οƒ o2 =

N (s βˆ’ s ) 2 No ∞ N H opt ( f ) df = o d 2 = o o 2 o1 ∫ 2 βˆ’βˆž 2 2

Substituting into (*) yields Vopt =

No s +s p log e + o1 o 2 2 1βˆ’ p 2

b. What is optimum threshold value when the binary signals are equiprobable? Solution: When the binary signals are equiprobable, p = 1 βˆ’ p = Vopt =

so1 + so 2 2

1 . Substituting yields 2

c. Show that the average probability of error for the system is given by βŽ› so1 βˆ’ so 2 N o βŽ› No s βˆ’s ⎞ p ⎞ p log e log e βˆ’ + o1 o 2 ⎟ ⎜ ⎟ ⎜ 2 2 1βˆ’ p ⎟ 2 1βˆ’ p 2 ⎟ BER = pQ ⎜ + (1 βˆ’ p )Q ⎜ ⎜ ⎟ ⎜ ⎟ N o ( so 2 βˆ’ so1 ) N o ( so 2 βˆ’ so1 ) ⎜ ⎟ ⎜ ⎟ 2 2 ⎝ ⎠ ⎝ ⎠

Solution: Substituting Vopt into the BER expression yields

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


No so1 + so 2 ⎞ s +s p p βŽ› βŽ› No ⎞ + o1 o 2 βˆ’ so 2 ⎟ log e ⎜ so1 βˆ’ 2 log e 1 βˆ’ p βˆ’ ⎟ ⎜ 2 2 1βˆ’ p 2 ⎟ + (1 βˆ’ p )Q ⎜ ⎟ BER = pQ ⎜ Οƒo Οƒo ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠ βŽ› so1 βˆ’ so 2 N o βŽ› No s βˆ’s ⎞ p ⎞ p βˆ’ + o1 o 2 ⎟ log e log e ⎜ ⎟ ⎜ 2 2 1βˆ’ p ⎟ 2 1βˆ’ p 2 ⎟ = pQ ⎜ + (1 βˆ’ p )Q ⎜ ⎜ ⎟ ⎜ ⎟ N o ( so 2 βˆ’ so1 ) N o ( so 2 βˆ’ so1 ) ⎜ ⎟ ⎜ ⎟ 2 2 ⎝ ⎠ ⎝ ⎠

10.4 The binary signaling system in Problem 10.3 uses antipodal pulses s1 (t ) = AΞ  ( t / Tb ) = βˆ’ s2 (t ) . a. Show that the optimum threshold value Vopt is given by Vopt =

No p log e 2 1βˆ’ p

Solution: For antipodal signaling, so1 = βˆ’ so 2 . Substituting

Οƒ o2

βŽ› p ⎞ so1 + so 2 log e ⎜ + 2 ( so 2 βˆ’ so1 ) ⎝ 1 βˆ’ p ⎟⎠ N p = o log e 2 1βˆ’ p

Vopt =

b. Calculate the value of optimum threshold Vopt for following a priori bit probabilities (i) p = 0.5,1 βˆ’ p = 0.5 , (ii) p = 0.3,1 βˆ’ p = 0.7 , p = 0.8,1 βˆ’ p = 0.2 . Solution:

( p,1 βˆ’ p ) ( 0.5, 0.5) ( 0.3,0.7 ) ( 0.8, 0.2 )

Vopt 0 βˆ’0.423N o 0.693 N o

c. Show that the average probability of error for the system is given by

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


No p ⎞ p βŽ› βŽ› No ⎞ ⎜ 2 Eb βˆ’ 2 log e 1 βˆ’ p ⎟ ⎜ 2 log e 1 βˆ’ p + 2 Eb ⎟ ⎟ + (1 βˆ’ p )Q ⎜ ⎟ BER = pQ ⎜ 2 N o Eb 2 N o Eb ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠

Solution: By combining (10.43), (10.44), and (10.54), we obtain the following the following relationship for antipodal signaling . ∞

so1 βˆ’ so 2 = d 2 = ∫ s1 (t ) βˆ’ s2 (t ) dt = 4Eb . 2

βˆ’βˆž

Substituting No p ⎞ p βŽ› βŽ› No ⎞ ⎜ 2 Eb βˆ’ 2 log e 1 βˆ’ p ⎟ ⎜ 2 log e 1 βˆ’ p + 2 Eb ⎟ ⎟ + (1 βˆ’ p )Q ⎜ ⎟ BER = pQ ⎜ 2 N o Eb 2 N o Eb ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠

When the binary signals are equiprobable

BER =

10.5

βŽ› 2 Eb ⎞ 1 βŽ› 2 Eb ⎞ 1 βŽ› 2 Eb ⎞ Q⎜ + Q⎜ = Q⎜ ⎟ ⎟ ⎜ N ⎟⎟ 2 ⎜⎝ N o ⎟⎠ 2 ⎜⎝ N o ⎟⎠ o ⎠ ⎝

The binary signaling system in Problem 10.3 uses unipolar NRZ pulses s1 (t ) = AΞ  ( t / Tb ) and s2 (t ) = 0 . a. Show that the optimum threshold value Vopt is given by

Vopt =

βŽ› p ⎞ No log e ⎜ ⎟ + Eb 2 ⎝ 1βˆ’ p ⎠

Solution:

Vopt =

Οƒ o2

βŽ› p ⎞ so1 + so 2 + log e ⎜ 2 ( so 2 βˆ’ so1 ) ⎝ 1 βˆ’ p ⎟⎠

For unipolar signaling

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d 2 = so 2 βˆ’ so1 = 2 Eb No 2 d = N o Eb 2 so1 + so 2 = Eb 2 A2Tb is average energy/bit. Substituting where Eb = 2 βŽ› p ⎞ N E Vopt = o b log e ⎜ ⎟ + Eb 2 Eb ⎝ 1βˆ’ p ⎠

Οƒ o2 =

=

βŽ› p ⎞ No log e ⎜ ⎟ + Eb 2 ⎝ 1βˆ’ p ⎠

b. Calculate the value of optimum threshold Vopt for following a priori bit probabilities (i) p = 0.5,1 βˆ’ p = 0.5 , (ii) p = 0.3,1 βˆ’ p = 0.7 , p = 0.8,1 βˆ’ p = 0.2 . Solution:

( p,1 βˆ’ p ) ( 0.5, 0.5) ( 0.3,0.7 ) ( 0.8, 0.2 )

Vopt Eb Eb βˆ’ 0.423 N o Eb + 0.693N o

c. Write an expression for the average probability of error at the detector output. Solution: s βˆ’s ⎞ p ⎞ p βŽ› so1 βˆ’ so 2 N o βŽ› No βˆ’ + o1 o 2 ⎟ log e log e ⎜ ⎟ ⎜ 2 2 1βˆ’ p 2 1βˆ’ p 2 ⎟ + (1 βˆ’ p )Q ⎜ ⎟ BER = pQ ⎜ Οƒo Οƒo ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠ No p ⎞ p βŽ› βŽ› No ⎞ ⎜ Eb βˆ’ 2 log e 1 βˆ’ p ⎟ ⎜ 2 log e 1 βˆ’ p + Eb ⎟ ⎟ + (1 βˆ’ p )Q ⎜ ⎟ = pQ ⎜ N o Eb N o Eb ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎜ ⎟ ⎝ ⎠ ⎝ ⎠

When the binary signals are equiprobable

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


BER =

10.6

βŽ› Eb ⎞ 1 βŽ› Eb ⎞ 1 βŽ› Eb ⎞ Q⎜ + Q⎜ = Q⎜ ⎟ ⎟ ⎜ N ⎟⎟ 2 ⎜⎝ N o ⎟⎠ 2 ⎜⎝ N o ⎟⎠ o ⎠ ⎝

Consider the binary digital communication system using antipodal signaling. The received signal corresponding to binary β€œ1” is given by r (t ) = s1 (t ) + n(t ) where s1 (t ) is shown in Figure P10.1 and n(t ) is AWGN with power spectral density N o / 2 Watts/Hz.

hopt (t )

(a)

s1 (t )

(b)

A

A

0

Tb / 2

Tb

t

βˆ’A

0

t

Tb

Tb / 2

βˆ’A

so1 (t )

(c)

(d)

A2Tb

Ο†1 (t ) βˆ’ A Tb 0 βˆ’

Tb / 2

Tb

3Tb / 2

2Tb

A Tb

t

A2Tb 2

a. Sketch the impulse response of the filter matched to s1 (t ) . Solution: The impulse response of the filter matched to s1 (t ) is sketched in Figure (b). b. Sketch the output of the filter matched to the input s1 (t ) .

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The output of the filter matched to s1 (t ) is sketched in Figure (c). c. Draw the signal constellation. What is the d min for the signal set? Solution:

The signal constellation is sketched in Figure (d).

d min = 2 A Tb d. Write an expression for BER in terms of A and No. Solution:

The BER for antipodal signaling using a matched filter detector is given by βŽ› 2 Eb ⎞ BER = Q ⎜ ⎜ N ⎟⎟ o ⎠ ⎝

In the present case, Eb =

1 2 1 A Tb + A2Tb = A2Tb . Substituting 2 2

βŽ› 2 A2T ⎞ b ⎟ BER = ⎜ ⎜ ⎟ N o ⎝ ⎠

10.7

A binary digital communication system uses orthogonal pulses shown in Figure P10.2. The channel noise is white Gaussian with a power spectral density N o / 2 W/Hz. a. Draw block diagram of the ML detector. Sketch impulse responses of matched filters. Solution:

In the matched-filter implementation of the ML detector, the impulse responses of matched filters are given by

h1 (t ) = Ο†1 (Tb βˆ’ t ) h2 (t ) = Ο†2 (Tb βˆ’ t ) where

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ο†1 ( t ) =

s1 (t ) A Tb

Ο†2 ( t ) =

s2 (t ) A Tb

The block diagram of ML detector is shown in Figure (a). The impulse responses of matched filters are displayed in Figure (b). T

r1 = ∫ r (t )Ο†1 (t )dt

(a)

0

h1 (t ) = Ο†1 (Tb βˆ’ t )

Threshold Comparator

t = Tb

r (t ) = s1 (t ) or s2 (t )

+

+

+ βˆ’

n(t ) h2 (t ) = Ο†2 (Tb βˆ’ t )

ro

ro

t = Tb T

r2 = ∫ r (t )Ο†2 (t )dt 0

(b)

h1 (t )

h2 (t )

1/ Tb

1/ Tb

0

βˆ’1/ Tb

Tb 4

Tb 2

Tb

t

0

Tb / 2

t

Tb

βˆ’1/ Tb

b. Plot the output of the filter matched to s1 (t ) when the input is s1 (t ) . Repeat when the input is instead s2 (t ) . Solution:

The outputs of the matched filter with impulse response h1 (t ) to input pulses s1 (t ) and s2 (t ) are illustrated in Figure.

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


h1 (t ) * s1 (t ) / A Tb

1 0.8

0.8

0.6

0.6

0.4

0.4

0.2

0.2

0

0

-0.2

-0.2

-0.4

-0.4

-0.6

-0.6

-0.8

-0.8

-1

0

0.2

0.4

0.6

0.8

h1 (t ) * s2 (t ) / A Tb

1

1 1.2 time (t/Tb)

1.4

1.6

1.8

2

-1

0

0.2

0.4

0.6

0.8

1 1.2 time (t/Tb)

1.4

1.6

1.8

1.6

1.8

2

c. Plot the output of the filter matched to s2 (t ) when the input is s2 (t ) . Repeat when the input is instead s1 (t ) . What do you conclude from (b) and (c)? Solution:

The outputs of the matched filter with impulse response h2 (t ) to input pulses s2 (t ) and s1 (t ) are illustrated in Figure.

h2 (t ) * s2 (t ) / A Tb

h2 (t ) * s1 (t ) / A Tb

1

1

0.8

0.8

0.6

0.6

0.4

0.4

0.2

0.2

0

0

-0.2

-0.2

-0.4

-0.4

-0.6

-0.6

-0.8

-0.8

-1

0

0.2

0.4

0.6

0.8

1 1.2 time (t/Tb)

1.4

1.6

1.8

2

-1

0

0.2

0.4

0.6

0.8

1 1.2 time (t/Tb)

1.4

2

We observe that response of the filter matched to one signal pulse (say, s1 (t ) ) is zero at the sampling instant Tb when the input is other signal pulse (say s2 (t ) ).

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d. Draw the signal constellation. What is the d min for the signal set? Solution:

Ο†2 (t )

(

s 2 = 0, Eb

)

d min s1 =

( E , 0)

Ο†1 (t )

b

The d min for the signal set is

d min = 2 Eb Substituting Eb = A2Tb , d min can be expressed as

d min = A 2Tb e. Write an expression for BER in terms of A and No. Solution:

Since the waveforms s1 (t ) and s2 (t ) are orthogonal, the BER is given by

βŽ› A2T ⎞ βŽ› Eb ⎞ b BER = Q ⎜ = Q ⎜ ⎟ ⎜ N ⎟⎟ ⎜ ⎟ N o o ⎝ ⎠ ⎝ ⎠ 10.8 Consider the signal set displayed in Figure P10.3. a. Apply the Gram-Schmidt procedure to determine an orthonormal basis for the signal set. Solution:

We take s1 (t ) as the first basis function. T

T

E1 = ∫ s (t )dt = A ∫ dt = 2 1

0

2

T /2

A2T 2

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure P10.3

s1 (t )

s2 (t )

A

A

0

T

T 2

0

t

t

T 2

s3 (t )

T

s4 (t )

A

A

0 T 2

T

βˆ’A

t

T

0 T 2

t

βˆ’A

The unit energy function Ο†1 (t ) is obtained by dividing s1 (t ) by E1 . That is, ⎧ 2 s1 (t ) , 0≀t ≀T βŽͺ Ο†1 (t ) = ⎨ T A βŽͺ0, otherwise ⎩

Although, it is obvious that s2 (t ) is orthogonal to s1 (t ) , we will proceed to compute the function ΞΈ 2 (t ) using (10.88).

ΞΈ 2 (t ) = s2 (t ) βˆ’ c21Ο†1 (t ) where

c21 = ( s2 (t ) β€’ Ο†1 (t ) ) = ∫ s2 (t )Ο†1 (t )dt = ∫ 0dt = 0 T

T

0

0

This proves that s2 (t ) is orthogonal to s1 (t ) . Therefore,

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


ΞΈ 2 (t ) = s2 (t ) T

T /2

0

0

2 2 ∫ s2 (t )dt = A ∫ dt = A

Since ΞΈ2 = E2 =

T , the second orthonormal 2

function is obtained as

Ο†2 (t ) =

⎧ 2 s2 (t ) , 0≀t ≀T βŽͺ =⎨ T A E2 βŽͺ otherwise ⎩0,

ΞΈ 2 (t )

To obtain the next orthonormal function, the function ΞΈ 3 (t ) is computed as

ΞΈ3 (t ) = s3 (t ) βˆ’ c31Ο†1 (t ) βˆ’ c32Ο†2 (t ) where T

c31 = ( s3 (t ) β€’ Ο†1 (t ) ) = ∫ s3 (t )Ο†1 (t )dt = 0

T

c32 = ( s3 (t ) β€’ Ο†2 (t ) ) = ∫ s3 (t )Ο†2 (t )dt = βˆ’ 0

T

1 2 2 AT T A2 dt = =A ∫ A T T /2 T 2 2 T /2

1 2 2 AT T A2 dt = βˆ’ = βˆ’A ∫ A T 0 T 2 2

Substituting the values of c31 and c32 , we obtain

ΞΈ3 (t ) = s3 (t ) βˆ’ A

T T Ο†1 (t ) + A Ο†2 (t ) = s3 (t ) βˆ’ s1 (t ) + s2 (t ) = 0 2 2

This implies that s3 (t ) is a linear combination of Ο†1 (t ) and Ο†2 (t ) . That is, s3 (t ) = A

T T Ο†1 (t ) βˆ’ A Ο†2 (t ) 2 2

Similarly, it is easy to conclude that s4 (t ) is a linear combination of Ο†1 (t ) and Ο†2 (t ) . That is, s4 (t ) = βˆ’ A

T T Ο†1 (t ) + A Ο†2 (t ) 2 2

Figure (a) displays the orthonormal basis of the signal set in Figure P10.3. b. Plot the signal constellation corresponding to the signal set.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The signal constellation for the signal set in Figure P10.3 is displayed in Figure (b).

(a)

Ο†1 (t )

Ο†2 (t )

2/T

2/T

0

T /2

0

t

T

T /2

Ο†2 (t )

T

t

2A T / 2

(b)

s4

s2

A T /2

s1 βˆ’A T / 2

2A T / 2

A T /2

βˆ’A T / 2

Ο†1 (t )

s3

10.9 Consider the signal set si (t ) =

2 Es cos ( 2Ο€ f c t + ψ i ) , 0 ≀ t ≀ T T

i = 1,......,8

where 5Ο€ 3Ο€ 7Ο€ ⎫ ⎧ Ο€ Ο€ 3Ο€ , , ,Ο€ , , , ⎬ 4 2 4 ⎭ ⎩ 4 2 4

ψ i ∈ ⎨0,

a. What is the dimensionality of signal space? Solution:

Dimensionality of signal space = 2 16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Determine the basis vectors for the signal set. Solution:

By choosing the basis functions

Ο†1 (t ) =

2 cos ( 2Ο€ f c t ) T

Ο†2 (t ) =

2 sin ( 2Ο€ f c t ) , T

s i = ( si1 Es , si 2 Es )

si1 = cos(ψ i ) si 2 = sin(ψ i ) c. Draw the constellation diagram of the signal set.

s 2 = (0, Es )

Ο†2 (t )

s 3 = (βˆ’ Es / 2, Es / 2)

s1 = ( Es / 2, Es / 2)

s 4 = (βˆ’ Es , 0)

Ο†1 (t ) s 0 = ( Es , 0)

s 5 = (βˆ’ Es / 2, βˆ’ Es / 2)

s 7 = ( Es / 2, βˆ’ Es / 2)

s 6 = (0, βˆ’ Es )

10.10 Consider the 2 basis functions shown in Figure P10.4 (a). Sketch the waveforms corresponding to the points in the constellation shown in Figures P10.4 (b) and (c).

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure P10.4

Ο†2 (t )

Ο†1 (t ) 1/ T

1/ T 0 T 4

3T 4

T

0

t

t

T 2

T

βˆ’1/ T

βˆ’1/ T

Ο†2 (t )

(a)

Ο†2 (t )

A βˆ’ 2

s2 β€’

(c)

β€’ s1

A

A βˆ’ 2

A

s2

33A A

Ο†1 (t )

s1

A

βˆ’A

Ο†1 (t )

A

βˆ’A

s3

(b)

s4

βˆ’3A

Solution:

For constellation (b), the waveforms corresponding to signal points s1 and s 2 are obtained as s1 = ( A, A) β‡’ s1 (t ) = s11Ο†1 (t ) + s12Ο†2 (t ) = AΟ†1 (t ) + AΟ†2 (t ) s 2 = (βˆ’ A / 2, βˆ’ A / 2) β‡’ s2 (t ) = s21Ο†1 (t ) + s22Ο†2 (t ) = βˆ’

A A Ο†1 (t ) βˆ’ Ο†2 (t ) 2 2

The waveforms are displayed in Figure.

s1 (t )

s2 (t )

2A / T A/ T 3T / 4

0

T /4

βˆ’2 A / T

t T

0

T

T /4

t

3T / 4

βˆ’A / T 18

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


For constellation (c), the waveforms corresponding to signal points s1 , s 2 , s 3 and s 4 are obtained as s1 = ( A, A) β‡’ s1 (t ) = s11Ο†1 (t ) + s12Ο†2 (t ) = AΟ†1 (t ) + AΟ†2 (t ) s 2 = (βˆ’ A,3 A) β‡’ s2 (t ) = s21Ο†1 (t ) + s22Ο†2 (t ) = βˆ’ AΟ†1 (t ) + 3 AΟ†2 (t ) s 3 = (βˆ’ A, βˆ’ A) β‡’ s2 (t ) = s31Ο†1 (t ) + s32Ο†2 (t ) = βˆ’ AΟ†1 (t ) βˆ’ AΟ†2 (t ) s 4 = ( A, βˆ’3 A) β‡’ s4 (t ) = s41Ο†1 (t ) + s42Ο†2 (t ) = AΟ†1 (t ) βˆ’ 3 AΟ†2 (t )

The waveforms are displayed in Figure.

s1 (t )

s3 (t ) 2A / T

2A / T

0

3T / 4

0 T /4

3T / 4 T

T

βˆ’2 A / T

βˆ’2 A / T

s2 (t )

s4 (t )

4A / T

4A / T

2A / T 0

βˆ’2 A / T βˆ’4 A / T

T /4

T T /2

2A / T

t

0

βˆ’2 A / T

T /2

t

T

βˆ’4 A / T

10.11 Using the basis functions in Figure P10.5(a), sketch the waveforms corresponding the points of the constellation shown in Figure P10.5(b). Solution:

The signal waveforms corresponding to the constellation in Figure P10.5(b) are shown in Figure.

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ο†2 (t ) 2A

s3

s2

s1

s0

Ο†1 (t )

2A

s5

s4

s7

s6

T s0 (t ) 2 A 0

T s1 (t ) 1 A 0

s 1(t)

2

s 0(t)

4

0

0.5

1

T s2 (t ) -1 A -2

T s3 (t ) -2 A

0.5

1

0

0.5

1

T s4 (t ) -2 A -4

T s5 (t ) -1 A

0

0.5

1

0

0.5 time (t/T)

1

s 5(t)

0

s 4(t)

0

-2 0

0.5

1 4

2 1

s 7(t)

s 6(t)

1

-4 0

T s6 (t ) A

0.5

s 3(t)

0

s 2(t)

0

0

T s7 (t ) 2 A 0

0 -1 0

0.5 time (t/T)

1

10.12 Consider the signal constellation shown in Figure P10.5(b). a. Derive the exact average probability of symbol error for the constellation. Solution:

For the constellation in Figure 10.5(b), d min = 2 A . The probability of symbol error can be exactly computed by noting that the conditional probability of a correct decision falls into one of two categories:

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


(i) Four corner points ( s 0 , s 3 , s 4 and s 7 ) P {correct decision s 0 sent} = P { n1 > βˆ’ d min / 2 ∩ n2 > βˆ’ d min / 2} = P { n1 > βˆ’ d min / 2} P { n2 > βˆ’ d min / 2} βŽ› βŽ› d βŽžβŽžβŽ› βŽ› d ⎞⎞ = ⎜ 1 βˆ’ Q ⎜ min ⎟ ⎟ ⎜ 1 βˆ’ Q ⎜ min ⎟ ⎟ ⎜ 2N ⎟ ⎟ ⎜ 2N ⎟ ⎟ ⎜ ⎜ o ⎠⎠⎝ o ⎠⎠ ⎝ ⎝ ⎝ 2

βŽ› d ⎞ ⎑ βŽ› d ⎞⎀ βŽ› d ⎞ = 1 βˆ’ 2Q ⎜ min ⎟ + ⎒Q ⎜ min ⎟ βŽ₯ β‰ˆ 1 βˆ’ 2Q ⎜ min ⎟ ⎜ 2 N ⎟ ⎒ ⎜ 2 N ⎟βŽ₯ ⎜ 2N ⎟ o ⎠ o ⎠⎦ o ⎠ ⎝ ⎝ ⎣ ⎝

βŽ› d ⎞ P {error s 0 sent} = 2Q ⎜ min ⎟ ⎜ 2N ⎟ o ⎠ ⎝

= P {error s 3 sent} = P {error s 4 sent} = P {error s 7 sent}

(ii) Four inner points ( s1 , s 2 , s 5 and s 6 ) P {correct decision s1 sent} = P {βˆ’ d min / 2 < n1 < d min / 2 ∩ n2 > βˆ’ d min / 2} = P {βˆ’ d min / 2 < n1 < d min / 2} P {n2 > βˆ’ d min / 2} βŽ› βŽ› d βŽžβŽžβŽ› βŽ› d ⎞⎞ = ⎜ 1 βˆ’ 2Q ⎜ min ⎟ ⎟ ⎜ 1 βˆ’ Q ⎜ min ⎟ ⎟ ⎜ 2N ⎟ ⎟ ⎜ ⎜ 2N ⎟ ⎟ ⎜ o ⎠⎠⎝ o ⎠⎠ ⎝ ⎝ ⎝ 2

⎑ βŽ› d βŽ› d ⎞ ⎞⎀ βŽ› d ⎞ = 1 βˆ’ 3Q ⎜ min ⎟ + 2 ⎒Q ⎜ min ⎟ βŽ₯ β‰ˆ 1 βˆ’ 3Q ⎜ min ⎟ ⎜ 2N ⎟ ⎜ 2N ⎟ ⎒⎣ ⎜⎝ 2 N o ⎟⎠ βŽ₯⎦ o ⎠ o ⎠ ⎝ ⎝

βŽ› d ⎞ P {error s1 sent} = 3Q ⎜ min ⎟ ⎜ 2N ⎟ o ⎠ ⎝

= P {error s 2 sent} = P {error s 5 sent} = P {error s 6 sent}

We now obtain the following expression for the average probability of symbol error Pe = =

βŽ› d ⎞⎞ 4 βŽ› βŽ› d ⎞⎞ 1 M 4βŽ› P {error s i sent} = ⎜ 2Q ⎜ min ⎟ ⎟ + ⎜ 3Q ⎜ min ⎟ ⎟ βˆ‘ ⎜ 2N ⎟ ⎟ 8 ⎜ ⎜ 2N ⎟ ⎟ M i =1 8 ⎜⎝ o ⎠⎠ o ⎠⎠ ⎝ ⎝ ⎝ 5 βŽ› d min ⎞ 5 βŽ› 2 A2 ⎞ Q⎜ ⎟ ⎟ = Q⎜ 2 ⎜⎝ 2 N o ⎟⎠ 2 ⎜⎝ N o ⎟⎠

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Compute the average probability of symbol error using the nearest neighbor estimate. Comment. Solution:

The number of minimum distance pairs for the constellation is M. Substituting K = M = 8 into (10.156) yields βŽ› 2 A2 ⎞ ⎞ βŽ› d ⎞ 8 βŽ› d Pe β‰ˆ 2 Q ⎜ min ⎟ = 2Q ⎜ min ⎟ = 2Q ⎜ ⎟ ⎜ 2N ⎟ ⎜ No ⎟ 8 ⎜⎝ 2 N o ⎟⎠ o ⎝ ⎠ ⎝ ⎠ The average probability of symbol error estimate using the nearest neighbor approximation is very accurate for this constellation. 10.13 Consider the signal constellations shown in Figure P10.6. a. Determine the average energy of each signal constellation. Solution:

The average energy of a signal constellation Es is

Es =

1 M si 2 βˆ‘ M i =1

Constellation (a) Es =

1 [ 2 Eb + 2Eb + 2Eb + 2 Eb ] = 2 Eb 4

Constellation (b) Es =

1 [0 + 4 Eb + 4 Eb + 8Eb ] = 4 Eb 4

Constellation (c) Es =

1 [ 2 Eb + 2Eb + 2Eb + 2 Eb ] = 2 Eb 4

b. Sketch decision regions in each case.

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

Ο†2(t)

Ο†2(t) (βˆ’ Eb , Eb )

( Eb , Eb )

s2

s1

D2

D1

D3

D2

D1

D3

D4

s3 (0, 0)

s4

(βˆ’ Eb , βˆ’ Eb )

s1

Ο†1(t)

D4

s3

(2 Eb , 2 Eb )

(0, 2 Eb ) s2

( Eb , βˆ’ Eb )

Ο†1(t)

(2 Eb , 0)

(b)

Ο†2(t)

(a)

s4

D2

s2 (0, 2 Eb )

D3 s3

D1

(βˆ’ 2 Eb , 0)

( 2 Eb , 0)

s4

D4

(0, βˆ’ 2 Eb )

(c)

c. Write the average probability of symbol error for each constellation using the nearest neighbor bound. Solution:

For each constellation, the number of minimum distance pairs is 4. Also d min = 2 Eb in every case. Substituting K = 4 into (10.156) yields ⎞ βŽ› 2 Eb ⎞ βŽ› 2 Eb ⎞ 4 βŽ› d Pe β‰ˆ 2 Q ⎜ min ⎟ = 2Q ⎜ ⎟ = 2Q ⎜⎜ ⎟⎟ ⎜ 2N ⎟ 4 ⎜⎝ 2 N o ⎟⎠ o ⎠ ⎝ No ⎠ ⎝

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d. From this example, what conclusions can you make about the constellation rotation and translation on the error performance of the signal set. Solution:

Although average energy of the signal set in (b) is twice that in (a) and (c), d min remains the same. Consequently, twice the energy is required in (c) for the same error performance. Since the translation and rotation of a signal constellation does not change distances between signal pairs, the average probability of symbol error remains the same. The signal energy efficient constellations, however, are centerd about the centroid (origin in the present example) of the signal set. 10.14 Consider the 8-PAM signal with constellation in Figure P10.7. a. Draw the block diagram of the correlation detector. Solution:

r (t ) = s (t ) + n (t ) Γ—

∫

ro

T 0

t =T

3-bit ADC

Bit sequence

Ο†1 (t ) ADC: Mid-rise Analog-to Digital converter

b. Sketch the transfer characteristic of the threshold comparator. Solution:

The transfer characteristic of the threshold comparator is displayed in Figure. c. Determine the estimated symbol sequence and corresponding bit sequence for the correlator output samples {+0.12, βˆ’0.201, +0.71, βˆ’1.55, βˆ’0.6,1.25} . Solution:

The estimated symbol sequence is {+0.25, βˆ’0.25, +0.75, βˆ’1.75, βˆ’0.75,1.25} . The corresponding bit sequence is {000,100, 001,110,101, 011} .

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


y[n] 010

1.75 011 1.25

001

0.75

0.25 βˆ’2.0

βˆ’1.5

βˆ’1.0

βˆ’0.5 100

101

111

000

ro[n] 0 0.5 βˆ’0.25

1.0

1.5

2.0

βˆ’0.75

βˆ’1.25

βˆ’1.75

110

10.15 Consider the 8-point signal constellation shown in Figure P10.8. a. Determine the symbol rate if the desired bit rate is 45 Mbps. Solution:

Since each symbol conveys 3 bits of information, the resultant symbol rate is D=

45 Γ—106 = 15 Γ— 106 symbols/sec 3

b. Calculate the average energy of the signal set. Solution: 1 44 2 11 2 Es = ⎑⎣ 4 Γ— ( 2 A2 ) + 4 Γ— ( 9 A2 ) ⎀⎦ = A = A 8 8 2

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. What is the d min for the signal set? Solution: d min = 2 A =

8 Es 11

d. Use the nearest neighbor bound to estimate the probability of bit error. Can you improve the estimate by including additional terms? Solution:

Pe β‰ˆ

2 K βŽ› d min ⎞ Q⎜ ⎟ M ⎜⎝ 2 N o ⎟⎠

Here K = 4, M =8. Therefore,

Pe β‰ˆ

βŽ› 4 Es ⎞ 8 Es ⎞ 2Γ— 4 βŽ› Q ⎜⎜ ⎟⎟ = Q ⎜⎜ ⎟⎟ 8 ⎝ 11Γ— 2 N o ⎠ ⎝ 11N o ⎠

Probability of bit error =

Pe 1 βŽ› 4 Es ⎞ 1 βŽ› 4 Γ— 3Eb ⎞ β‰ˆ Q⎜ ⎟ = Q⎜ ⎟ k 3 ⎜⎝ 11N o ⎟⎠ 3 ⎜⎝ 11N o ⎟⎠

If we include 8 signal pairs at distance 5, we get a better estimate

1 βŽ› 4 Γ— 3Eb ⎞ 2 βŽ› 5 Γ— 3Eb ⎞ Probability of bit error β‰ˆ Q ⎜⎜ ⎟ + Q⎜ ⎟ 3 ⎝ 11N o ⎟⎠ 3 ⎜⎝ 11N o ⎟⎠ 10.16 Consider the 8-point signal constellation shown in Figure P10.9. a. Assign the bits to each point in the signal constellation using Gray coding. Solution:

See Figure

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ο†2 (t ) D5

D4 101

β€’

β€’

111 3A

011

A

D1

D0

β€’

β€’

001

Ο†1 (t ) D2

D3

β€’

D6

110

β€’

βˆ’3A

000

β€’

βˆ’3A

010

β€’

βˆ’A

100

βˆ’A

D7 A

3A

b. Calculate the average energy of the signal set. Solution: 1 Es = ⎑⎣ 4 Γ— ( 2 A2 ) + 4 Γ— (18 A2 ) ⎀⎦ = 10 A2 8

c. Sketch ML decision regions Di for the signal set. Solution:

See Figure d. Use the nearest neighbor bound to estimate the probability of bit error. Solution:

The number of minimum distance pairs for the constellation is 4. Substituting K = 4 into (10.156) and applying (10.163) yields 2 Γ— 4 βŽ› d min ⎞ 1 βŽ› 2 A ⎞ 1 βŽ› 2 A2 ⎞ BER β‰ˆ Q⎜ ⎟ ⎟ = Q⎜ ⎟ = Q⎜ 3 Γ— 8 ⎜⎝ 2 N o ⎟⎠ 3 ⎜⎝ 2 N o ⎟⎠ 3 ⎜⎝ N o ⎟⎠

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 11 11.1 Digital data at 100 kbps is transmitted over an AWGN channel with a power spectral density N o / 2 = 10 βˆ’10 W/Hz. Calculate the average received power required to achieve a BER = 10-6 for the following modulation schemes: a. Coherent Binary ASK b. Coherent Binary PSK c. Coherent Binary FSK Solution: 10βˆ’6 = Q ( x) β‡’ x = 4.7534 a. For coherent BASK, BER = Q( Eb / N o ) . To achieve a BER = 10-6, we have Eb / N o = 4.7534 β‡’

Eb = 22.6 No

Eb = 22.6 Γ— 2 Γ—10βˆ’10 For BASK, the required average power Pav is obtained as Pav =

Eb = Eb Rb = 22.6 Γ— 2 Γ— 10βˆ’10 Γ— 105 = 452 Β΅ W= βˆ’ 3.45 dBm Tb

b. For coherent BPSK, BER = Q( 2 Eb / N o ) . To achieve a BER = 10-6, we have 2 Eb / N o = 4.7534 β‡’

Eb = 11.3 No

Eb = 11.3 Γ— 2 Γ—10βˆ’10 For BPSK, the required average power Pav is obtained as Pav =

Eb = Eb Rb = 11.3 Γ— 2 Γ— 10βˆ’10 Γ— 105 = 226 Β΅ W= βˆ’ 6.45 dBm Tb

c. For coherent BFSK, BER = Q( Eb / N o ) . To achieve a BER = 10-6, we have

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Eb / N o = 4.7534 β‡’

Eb = 22.6 No

Eb = 22.6 Γ— 2 Γ—10βˆ’10 For BFSK, the required average power Pav is obtained as Pav =

Eb = Eb Rb = 22.6 Γ— 2 Γ— 10βˆ’10 Γ— 105 = 452 Β΅ W= βˆ’ 3.45 dBm Tb

11.2 A binary digital carrier system with average transmitted power 100 mW has to be designed for the worst case transmission loss of 60 dB, and N o = 10 βˆ’12 W/Hz. Find the maximum allowable bit rate for a BER = 10-5 using: (a) BPSK (b) DBPSK (c) noncoherent BFSK. Solution: Average transmitted power = 20 dBm Average received power Pav = 20 – 60 = βˆ’ 40 dBm = 0.1 Β΅W Pav 10βˆ’7 = Eb = PavTb = Rb Rb 10βˆ’5 = Q( x) β‡’ x = 4.265 BPSK BER = Q( 2 Eb / N o ) To achieve a BER = 10-5, we have 2 Eb / N o = 4.265 β‡’

Eb = 9.095 No

10βˆ’7 105 R = 9.095 β‡’ = = 11 kbps b 10βˆ’12 Rb 9.095 DBPSK

βŽ› 0.5 ⎞ 5 BER = 0.5eβˆ’ Eb / No β‡’ Eb / No = log e ⎜ ⎟ = log e ( 0.5 Γ—10 ) = 10.82 ⎝ BER ⎠

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


10βˆ’7 105 = 10.82 β‡’ R = = 9.242 kbps b 10βˆ’12 Rb 10.82 Noncoherent BFSK

βŽ› 0.5 ⎞ 5 BER = 0.5eβˆ’ Eb /2 No β‡’ Eb / 2 No = log e ⎜ ⎟ = log e ( 0.5 Γ—10 ) = 10.82 ⎝ BER ⎠ 10βˆ’7 105 10.82 = β‡’ R = = 4.62 kbps b 2 Γ— 10βˆ’12 Rb 2 Γ— 10.82 11.3

Binary data 01001011101 is to be transmitted using DBPSK. Assume that the carrier frequency fc = 2Rb and the pulse shape is unipolar NRZ. a. Sketch the differential encoder and modulator output waveforms

I(t)

Differential Bits Bit Sequence

Solution:

DBPSK Waveforms 1 0.5 0 0

1

2

3

4

5

6

7

8

9

10

11

6

7

8

9

10

11

6

7

8

9

10

11

6

7

8

9

10

11

t/Tb 1 0.5 0 0

1

2

3

4

5 t/Tb

1 0 -1 0

1

2

3

4

5

x(t)

t/Tb 2 0 -2 0

1

2

3

4

5 t/Tb

b. Show that the DBPSK demodulator reconstructs the original data in the absence of noise 3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: Differentially encoded bits d n Threshold-comparison sign Decoded differential bit dˆ

1 1 0 0 0 1 1 0 1 0 0 1 + βˆ’ + + βˆ’ + βˆ’ βˆ’ βˆ’ + βˆ’ 1 1 0 0 0 1 1 0 1 0 0 1

n

Regenerated data bits bˆn

0 1 0 0 1 0 1 1 1 0 1

11.4 Binary string 01001011101 is to be transmitted using QPSK signal. Assume that the carrier frequency fc = Rb and the pulse shape is unipolar NRZ. Sketch a. Sketch in-phase and quadrature baseband waveforms I(t) and Q(t) b. Sketch in-phase and quadrature carrier modulated waveforms I (t ) cos ( 2Ο€ f c t ) and Q (t ) sin ( 2Ο€ f c t ) c. Sketch the QPSK waveform.

Bit Sequence

Solution:

1 0.5 0 0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

I(t)

1 0 -1

Q(t)

1 0

Q(t)sin(wc t)

I(t)cos(wc t)

-1

1 0 -1

1 0 -1

x(t)

2 0 -2

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


11.5 Binary string 01001011101 is to be transmitted using OQPSK signal. Assume that the carrier frequency fc = Rb and the pulse shape is unipolar NRZ. a. Sketch in-phase and quadrature baseband waveforms I(t) and Q(t) b. Sketch in-phase and quadrature carrier modulated waveforms I (t ) cos ( 2Ο€ f c t ) and Q (t ) sin ( 2Ο€ f c t ) c. Sketch the OQPSK waveform

Bit Sequence

Solution:

1 0.5 0 0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

I(t)

1 0 -1

Q(t)

1 0

Q(t)sin(wc t)

I(t)cos(wc t)

-1

1 0 -1

1 0 -1

x(t)

2 0 -2

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


11.6

Binary string 01001011101 is to be transmitted using MSK signal. Assume that the carrier frequency fc = Rb and the pulse shape is unipolar NRZ. a. Sketch in-phase and quadrature baseband waveforms I(t) and Q(t) b. Sketch in-phase and quadrature carrier modulated waveforms I (t ) cos ( 2Ο€ f c t ) and Q (t ) sin ( 2Ο€ f c t ) c. Sketch the MSK waveform.

Bit Sequence

Solution:

1 0.5 0 0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

0

1

2

3

4

5 t/Tb

6

7

8

9

10

I(t)

1 0 -1

Q(t)

1 0

Q(t)sin(wc t)

I(t)cos(wc t)

-1

1 0 -1

1 0 -1

x(t)

1 0 -1

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


ψ(t) βˆ’ ψ(0)

d. Plot the phase trellis for the bit sequence

180o 90o

1

0o

1

βˆ’90o 0

1

1

0 0

βˆ’180o

0

1

0

1

t Tb

2Tb 3Tb 4Tb 5Tb 6Tb 7Tb 8Tb 9Tb 10Tb 11Tb

11.7 A channel with bandwidth of 4 kHz is available what data rates can be supported by the following modulation schemes. Assume RC pulses with a roll-off factor Ξ± = 0.5. Ignore noise. a. BPSK Solution: The absolute bandwidth is related to the bit rate (from Table 11.4) by BBPSK = (1 + Ξ± ) Rb = 4000 Hz Rb =

4000 = 2.666 kb/s 1.5

b. QPSK Solution: The absolute bandwidth is related to the bit rate (from Table 11.4) by BQPSK = (1 + Ξ± ) D = Rb =

(1 + Ξ± ) Rb = 4000 Hz 2

2 Γ— 4000 = 5.333 kb/s 1.5

c. MSK

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution: The absolute bandwidth is related to the bit rate (Table 11.4) by 3(1 + Ξ± ) Rb = 4000 Hz 4 4 Γ— 4000 Rb = = 3.555 kb/s 3 Γ— 1.5 BMSK =

d. 8-PSK Solution: The absolute bandwidth is related to the bit rate (from Table 11.4) by B8βˆ’ PSK = (1 + Ξ± ) D = Rb =

(1 + Ξ± ) Rb = 4000 Hz 3

3 Γ— 4000 = 8 kb/s 1.5

e. 64-QAM Solution: The absolute bandwidth is related to the bit rate (from Table 11.4) by B64 βˆ’QAM = (1 + Ξ± ) D = Rb =

(1 + Ξ± ) Rb = 4000 Hz 6

6 Γ— 4000 = 16 kb/s 1.5

f. 256-QAM Solution: The absolute bandwidth is related to the bit rate (from Table 11.4) by B2564 βˆ’QAM = (1 + Ξ± ) D = Rb =

(1 + Ξ± ) Rb = 4000 Hz 8

8 Γ— 4000 = 21.333 kb/s 1.5

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


11.8 Repeat Problem 11.7 assuming that the modulator uses unipolar NRZ pulse shaping. a. BPSK Solution: The null-null bandwidth is related to the bit rate (from Table 11.4) by BBPSK = 2 Rb = 4000 Hz Rb =

4000 = 2.0 kb/s 2

b. QPSK Solution: The null-null bandwidth is related to the bit rate (from Table 11.4) by BQPSK = 2 D = Rb = 4000 Hz Rb = 4 kb/s

c. MSK Solution: The null-null bandwidth is related to the bit rate (Table 11.4) by 3Rb = 4000 Hz 2 2 Γ— 4000 Rb = = 2.666 kb/s 3 BMSK =

d. 8-PSK Solution: The null-null bandwidth is related to the bit rate (from Table 11.4) by B8βˆ’ PSK = 2 D = Rb =

2 Rb = 4000 Hz 3

3 Γ— 4000 = 6 kb/s 2

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


e. 64-QAM Solution: The null-null bandwidth is related to the bit rate (from Table 11.4) by B64βˆ’QAM = 2 D = Rb =

2 Rb = 4000 Hz 6

6 Γ— 4000 = 12 kb/s 2

f. 256-QAM Solution: The null-null bandwidth is related to the bit rate (from Table 11.4) by B2564 βˆ’QAM = 2 D = Rb =

2 Rb = 4000 Hz 8

8 Γ— 4000 = 16 kb/s 2

11.9 Consider a telephone line channel that is equalized to allow bandpass data transmission over a frequency range of 300 to 3300 Hz. The available channel bandwidth is 3000 Hz with the mid-channel frequency of 1800 Hz. Assume that the modulator uses RC pulse shaping. a. For QPSK transmission at 4,800 bps with fc = 1800 Hz, show that the spectrum of this signal will fit into the channel with roll-off factor Ξ± = 0.25. Find the absolute and 6-dB bandwidths of the QPSK signal. Solution: Rb = 4800 b/s, D = 2400 symbols/sec, Ξ± = 0.25 BQPSK = (1 + Ξ± ) D = 1.25 Γ— 2400 = 3000 Hz

Thus spectrum of QPSK with RC pulses at 2400 symbols/second ( = 4800 bps) will fit into the allocated channel bandwidth. The 6-dB bandwidth of RC pulses for any Ξ± > 0 is D/2. Therefore, 6-dB bandwidth of QPSK signal using RC pulses is BQPSK (6-dB) = 2 Γ— D / 2 = D = 2400 Hz

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Repeat part (a) for the case of 6000 bps 8-PSK signaling. Choose the appropriate value of Ξ±. Solution: Rb = 6000 b/s, D = 2000 symbols/sec 3000 = B8 PSK = (1 + Ξ± )2000 β‡’ Ξ± = 0.5 Therefore, the spectrum of 8-PSK signaling at 2000 symbols/second ( = 6000 bps) using RC pulses ( Ξ± ≀ 0.5 ) will fit into the allocated channel bandwidth. The 6 dB bandwidth of 8-PSK signal is 2Γ—D/2 = 2000 Hz. 11.10 A digital cellular system transmits data using QPSK over a BP channel with center frequency 1.93 GHz and bandwidth of 1.25 MHz. The modulator uses RC pulse shaping with a roll-off factor Ξ± = 0.5. Assume that the channel introduces AWGN of one-sided spectral density No = 10-9. a. Determine the maximum bit rate Rb of the system. Solution: Rb (1 + Ξ± ) 2 2 Γ— 1.25 Γ— 106 Rb = = 1.6667 Γ— 106 1.5

1.25 Γ— 106 =

b. Calculate the average power required at the receiver in order to guarantee a BER less than or equal to 10-6. Solution: BER = Q( 2 Eb / N o ) To achieve a BER = 10-6, we have 2 Eb / N o = 4.7534 β‡’

2 Eb = 22.6 No

Eb = 11.3 β‡’ Eb = 11.3 Γ— 10βˆ’9 No Pav = Eb Γ— Rb = 11.3 Γ—10βˆ’9 Γ—1.6667 Γ— 106 = 18.83 mW = 12.75 dBm

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


11.11 Binary data is to be transmitted at 4 Mbps on a radio channel having 1.25 MHz bandwidth. a. Select the modulation method that minimizes signal energy, and calculate E b / N o in dB needed for a BER = 10-6. Solution: We need spectral efficiency of 4/1.25 = 3.2 bps/Hz. We consider M-PSK and M-QAM for achieving this. For both these schemes, spectral efficiency = k/2. Therefore we need k = 6.4. We choose k = 8 which corresponds to M = 256. We consider 256-PSK and 256-QAM. 256-PSK BERMPSK β‰ˆ

2 ⎑ 2 Eb k 2 βŽ› Ο€ ⎞ ⎀ 1 ⎑ 16 Eb βŽ› Ο€ ⎞⎀ Q⎒ sin ⎜ ⎟ βŽ₯ = Q ⎒ sin 2 ⎜ ⎟βŽ₯ k ⎣⎒ N o ⎝ M ⎠ ⎦βŽ₯ 4 ⎣⎒ N o ⎝ 256 ⎠ ⎦βŽ₯

1 βŽ› 0.0024 Eb ⎞ = Q⎜ ⎟⎟ 4 ⎜⎝ No ⎠

To achieve a BER = 10-6, 0.0024 Eb E 19.936 = 4.465 β‡’ b = = 8.3 Γ— 103 No N o 0.0024 Eb ( dB ) = 39.2 No

256-QAM BERMQAM β‰ˆ

βŽ› 3 Eb ( log 2 256 ) ⎞ 15 βŽ› 0.094 E ⎞ 4( 256 βˆ’ 1) b ⎟= Q⎜ Q⎜ ⎟ N o ⎟⎠ (log 2 256) 256 ⎜⎝ ( 256 βˆ’ 1) N o ⎟⎠ 32 ⎜⎝

To achieve a BER = 10-6, 0.094 Eb E 21.27 = 4.612 β‡’ b = = 226 No N o 0.094 Eb ( dB ) = 23.54 No

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Suppose that we are willing to relax the data rate requirement to limit our choice to 4-point signal constellations. What bit rate is achievable with a modulation scheme that ensures constant envelope modulated signal? What Eb / N o in dB is needed for a BER = 10-6. Solution: To ensure constant envelope signal, we choose MSK modulated scheme. The null-null bandwidth is related to the bit rate (Table 11.4) by 3Rb = 1.25 MHz 2 2 Γ— 1.25 Γ— 106 Rb = = 833.33 kb/s 3 BMSK =

Now βŽ› 2 Eb ⎞ BERMSK = Q ⎜ ⎜ N ⎟⎟ o ⎠ ⎝

To achieve a BER = 10-6, we need

2 Eb / N o = 4.7534 β‡’

This is equivalent to

Eb = 11.3 No

Eb = 10.53 dB . No

11.12 Consider the 8-ary PSK constellation shown in Figure 11.41(a). a. Sketch the modulated waveform corresponding to the sequence 100101111010. The carrier frequency is fc = 2D, and the pulse shape is unipolar NRZ. Solution:

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Bit Sequence

1 0.5 0 0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

I(t)

1 0 -1

Q(t)

1 0

Q(t)sin(wc t)

I(t)cos(wc t)

-1

1 0 -1

1 0 -1

x(t)

2 0 -2

b. Draw the block diagram of the modulator and specify the appropriate symbol mapping table assuming the average signal energy Es = 5 Joules. Solution:

∞

I (t ) = βˆ‘ anI v(t βˆ’ nT ) n =βˆ’βˆž

anI

b2n even bits 00110

Γ—

PSF

10 cos(2Ο€ fct) T

0100111101

~

2-bit SPC

βˆ’90o

Binary Data bn

+ 8-PSK signal + _ x(t)

10 sin(2Ο€ fct) T

odd bits 10111

anQ

b2n+1

PSF

Γ— ∞

Q (t ) = βˆ‘ anQ v(t βˆ’ nT ) n =βˆ’βˆž

14 SM Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. Draw the block diagram of the demodulator.

I (t ) + noise

Γ—

r ( t ) = x (t ) + n (t )

∫

r1

T

0

cos ( 2Ο€ f c t )

t =T Compute

( r β€’ s i ) for

~

BPF BPF

Binary Data bˆ

n

i =1,2,...., M 90o

βˆ’ sin ( 2Ο€ f c t )

Γ—

∫

T

0

Q (t ) + noise r2

and choose the largest

t =T

d. Specify the threshold comparator characteristic for in-phase and quadrature branches. Solution: Because it is not a rectangular constellation, the decision is made by computing the inner product ( r β€’ si ) = r1si1 + r2 si 2 for each vector si in the signal constellation and declaring that s k was transmitted if i = k achieves the largest inner product value. 11.13 A QAM system operates on an AWGN channel with Es / N o = 28 dB and symbol rate D = 106. a. Select a square QAM constellation and specify a corresponding integer number of bits per symbol, k, for a modem with the highest data rate such that Pe < 10-6. Solution: βŽ› βŽ› M βˆ’1 ⎞ βŽ› 3 Es ⎞ 3 Es ⎞ Pe = 4 ⎜⎜ ⎟⎟ β‰ˆ 4Q ⎜⎜ ⎟⎟ for large M ⎟⎟ Q ⎜⎜ βˆ’ βˆ’ 1 1 M N M N M o ⎠ o ⎠ ⎝ ⎠ ⎝ ⎝

For Pe < 10-6, we must have

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


3 Es > 5.0263 M βˆ’ 1 No 3 Γ—102.8 M βˆ’1 < = 74.92 25.2638 M < 75.92 We choose M = 64 β‡’ k = 6 . b. Compute the bit rate for part (a). Solution: Bit rate = k Γ— D = 6 Γ— 106 = 6 Mbps c. Repeat part (a) if Pe < 10-9. Solution: For Pe < 10-9, we must have 3 Es > 6.2191 M βˆ’ 1 No 3 Γ— 102.8 M βˆ’1 < = 48.94 38.6773 M < 49.94 We choose M = 32 β‡’ k = 5 . d. Compute the bi rate for part (c). Solution: Bit rate = k Γ— D = 5 Γ— 106 = 5 Mbps 11.14 Consider the transmission of digital data using QAM over 6-MHz cable channel which introduces AWGN. We assume that the modem uses RC-shaped pulses with Ξ± = 0.5 . a. Determine the required Eb/No to achieve a bit error probability of 10-6 at 8 Mbps. Solution:

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


6 Γ— 106 = (1 + Ξ± ) D = 1.5 D β‡’ 4 Γ— 106 pulses or symbols/second Since k =

Rb 8 Γ— 106 = = 2 , a 4-QAM constellation is used. The probability of D 4 Γ— 106

bit error for M-QAM is given by

BER =

⎞ 4 βŽ› 1 ⎞ βŽ› 3log 2 M βˆ’ 1 Q E / N ⎜ ⎟⎟ b o ⎟ log 2 M ⎜⎝ M ⎠ ⎜⎝ M βˆ’ 1 ⎠

βŽ› 2 Eb ⎞ For M = 4, BER = Q ⎜⎜ ⎟⎟ ⎝ No ⎠ βŽ› 2 Eb ⎞ 2 Eb = 4.7534 10βˆ’6 = Q ⎜⎜ ⎟⎟ β‡’ No ⎝ No ⎠ Eb E = 11.2975 or b = 10.53 dB No No b. Repeat Part (a) for a bit rate of 16 Mbps. Solution: Since k =

Rb 16 Γ— 106 = = 4 , a 16-QAM constellation is used. 4 Γ— 106 D

3 βŽ› 0.8Eb ⎞ For M = 16, BER = Q ⎜⎜ ⎟ 4 ⎝ N o ⎟⎠ 0.8Eb 3 βŽ› 0.8Eb ⎞ = 4.695 10βˆ’6 = Q ⎜⎜ ⎟⎟ β‡’ 4 ⎝ No ⎠ No Eb E = 27.5532 or b = 14.4 dB No No c. Repeat Part (a) for a bit rate of 32 Mbps. Solution:

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Rb 32 Γ— 106 Since k = = = 8 , a 256-QAM constellation is used. 4 Γ— 106 D

For M = 256, BER =

10βˆ’6 =

15 βŽ› 24 Eb ⎞ Q⎜ ⎟ 32 ⎜⎝ 255 No ⎟⎠

15 βŽ› 24 Eb ⎞ 24 Eb = 4.6 Q ⎜⎜ ⎟⎟ β‡’ 32 ⎝ 255 N o ⎠ 255 N o

Eb E = 224.825 or b = 23.52 dB No No d. Comment on these results. Solution: k

2

4

8

Eb/No(dB)

10.53

14.4

23.52

It can be observed from the above table an increase on transmitted power of approximately 2 dB is required per additional bit per symbol. 11.15 Consider the 8-QAM signal constellation shown in Figure P11.1. a. Assign the bits to each point in the signal constellation using Gray coding. Solution:

Ο†2 (t ) 101

111 011

010 110

001 A

2A

Ο†1 (t )

000 100

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Sketch the modulated waveform corresponding to the sequence 100101111010. The carrier frequency is fc = 2D, and the pulse shape is unipolar NRZ.

Bit Sequence

Solution:

1 0.5 0 0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

0

2

4

6 t/Tb

8

10

12

I(t)

2 0 -2

Q(t)

2 0

Q(t)sin(wc t)

I(t)cos(wc t)

-2

2 0 -2

2 0 -2

x(t)

2 0 -2

c. Determine the symbol rate if the desired bit rate is 45 Mbps. Solution: Since each symbol conveys 3 bits of information, the resultant symbol rate is D=

45 Γ—106 = 15 Γ—106 symbols/sec 3

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d. Specify the appropriate symbol mapping table and threshold comparator characteristic for in-phase and quadrature branches. Solution: For the given constellation, the normalization constant Co is calculated using (11.130) as

Co2 = M

M M

βˆ‘βˆ‘ ⎑⎣(a ) + (a ) ⎀⎦ m =1 n =1

I 2 m

Q 2 n

=

8 2 = 20 5

2 5

Co =

The symbol mapping tables for in-phase and quadrature branches are shown below:

The signal points in the constellation of Figure P11.1 can now be expressed using above symbol tables as

(

s = anI Co Es , anQ Co Es

)

where Es =

5 A2 2

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Because it is not a rectangular constellation, the decision is made by computing the inner product ( r β€’ si ) = r1si1 + r2 si 2 for each vector si in the signal constellation and declaring that s k was transmitted if i = k achieves the largest inner product value. 11.16 Consider the 8-QAM signal constellation shown in Figure P11.1. a. Use the nearest neighbor approximation to estimate the probability of bit error. Solution:

As illustrated in Figure P11.1, the minimum distance between two adjacent signal points is

dmin = A From Problem 11.15, we have 5 A2 Es = 2 Therefore, A=

2 Es 5

and

d min =

2 Es 5

Substituting into (10.156) and noting that the factor 2K/M = 1, we obtain the following estimate of the symbol error rate for the 8-QAM constellation:

βŽ› 2 Es ⎞ βŽ› 3 Eb ⎞ Pe8-QAM = Q ⎜⎜ ⎟⎟ = Q ⎜⎜ ⎟⎟ ⎝ 5 2 No ⎠ ⎝ 5 No ⎠ b. Sketch the decision region boundaries for each point in the constellation. Solution:

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ο†2 (t ) 101

111 00 1

1 01

A

2A

Ο†1 (t )

0 01

000

110

100

c. Compare the Eb/No required for the 8-QAM with that required for the 8-PSK to achieve the same symbol error probability. Solution:

The probability of symbol error for 8-PSK is given by βŽ› E ⎞ Pe8-PSK = 2Q ⎜⎜ 6 sin 2 (Ο€ / 8) b ⎟⎟ No ⎠ ⎝

whereas the probability of symbol error for 8-QAM is given by

βŽ› 3 Eb ⎞ Pe8-QAM = Q ⎜⎜ ⎟⎟ ⎝ 5 No ⎠ Since the probability of symbol error is dominated by the argument of the Q function, the two signaling schemes will achieve the same probability of symbol error if βŽ›E ⎞ = 6 sin 2 (Ο€ / 8) ⎜ b ⎟ ⎝ N o ⎠ M-PSK

3 βŽ› Eb ⎞ ⎜ ⎟ 5 ⎝ N o ⎠ M-QAM

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


( Eb / No )M-PSK 3 = = 0.683 ( Eb / No )M-QAM 5 Γ— 6 Γ— sin 2 (Ο€ / 8) d. Which of the above two signaling schemes is more vulnerable to phase errors? Comment. Solution:

Assuming that the magnitude of the signal points is detected correctly, then the detector for the 8-PSK signal will make an error if the phase error magnitude is greater than 22.5o. In the case of 8-QAM constellation an error will be made if the magnitude of the phase error exceeds 45o. Hence, the QAM constellation is more immune to phase errors. 11.17 Consider the 16-QAM signal constellation shown in Figure 11.50. a. Sketch the modulated waveform corresponding to the sequence 0111100110101101. The carrier frequency is fc = 2D, and the pulse shape is unipolar NRZ.

Bit Sequence

Solution:

1 0.5 0 0

2

4

6

8 t/Tb

10

12

14

16

0

2

4

6

8 t/Tb

10

12

14

16

2

4

6

8 t/Tb

10

12

14

16

2

4

6

8 t/Tb

10

12

14

16

2

4

6

8 t/Tb

10

12

14

16

2

4

6

8 t/Tb

10

12

14

16

I(t)

2 0 -2

Q(t)

2 0 -2

I(t)cos(wc t)

0

2 0 -2

Q(t)sin(wc t)

0

2 0 -2 0

x(t)

5 0 -5

0

23

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Sketch the decision region boundaries for each point in the constellation. Solution:

Ο†2 (t ) Es 10

1011

β€’

1001

1110

Es 10

1010

β€’

1000

1100

βˆ’

Es 10

0001

β€’

βˆ’3

Es 10

0011

β€’

0000

β€’

0100

β€’

0110

0010

0101

0111

Es 10

Es 10

β€’

Es 10

1101

β€’

βˆ’3

βˆ’

β€’

β€’

β€’

β€’

1111

β€’

β€’

3

β€’

β€’

3

Ο†1 (t )

Es 10

c. Specify the appropriate symbol mapping table and the threshold comparator characteristic for in-phase and quadrature branches. The symbol mapping tables for in-phase and quadrature branches are shown below:

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Bits

Co anI

Bits

Co anI

0000

βˆ’1/ 10

1000

βˆ’1/ 10

0001

βˆ’3 / 10

1001

βˆ’1/ 10

0010

βˆ’1/ 10

1010

βˆ’3 / 10

0011

βˆ’3 / 10

1011

βˆ’3 / 10

0100 1/ 10

1100

1/ 10

0101 1/ 10

1101

3 / 10

0110

3 / 10

1110

1/ 10

0111

3 / 10

1111

3 / 10

Bits

Co anQ

Bits

Co anQ

0000

βˆ’1/ 10

1000

1/ 10

0001

βˆ’1/ 10

1001

3 / 10

0010

βˆ’3 / 10

1010

1/ 10

0011

βˆ’3 / 10

1011

3 / 10

0100

βˆ’1/ 10

1100

1/ 10

0101

βˆ’3 / 10

1101

1/ 10

0110

βˆ’1/ 10

1110

3 / 10

0111

βˆ’3 / 10

1111

3 / 10

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure displays threshold comparator characteristic for in-phase and quadrature branches. y[n]

3A

A

ro[n] βˆ’2A

βˆ’4A

0

2A

4A

βˆ’A

βˆ’3A

11.18 It is desired to transmit data at the rate of 500 kbps over a channel of bandwidth 200 kHz. Assume that the channel introduces AWGN of spectral density No = 10-9. The modulator uses RC pulse shaping with roll-off factor Ξ± = 0.5. a. Consider PSK, DPSK and QAM digital modulation schemes. Choose the constellation size M = 2n, where n is an integer. For QAM restrict to a square constellation. Solution: M-PSK 200 Γ— 103 = (1 + 0.5) D =

1.5 Γ— Rb 1.5 Γ— 500 Γ— 103 = k k

1.5 Γ— 500 Γ— 103 = 3.75 200 Γ— 103 We choose k = 4. Therefore, M = 24 = 16

β‡’k =

M-DPSK

1.5 Γ— Rb 1.5 Γ— 500 Γ—103 200 Γ—10 = (1 + 0.5) D = = k k 3 1.5 Γ— 500 Γ—10 β‡’k = = 3.75 200 Γ— 103 3

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


We choose k = 4. Therefore, M = 24 = 16 M-QAM

200 Γ—103 = (1 + 0.5) D =

1.25 Γ— Rb 1.5 Γ— 500 Γ—103 = k k

1.5 Γ— 500 Γ—103 β‡’k = = 3.75 200 Γ—103 We choose k = 4. Therefore, M = 24 = 16 b. Select the most efficient modulation scheme on the basis of average power required to achieve a BER = 10-6 or better. Solution: 16-PSK

For 16-PSK, the BER is given by

1 ⎑ 8Eb βŽ› Ο€ ⎞⎀ BER16βˆ’ PSK β‰ˆ Q ⎒ sin ⎜ ⎟ βŽ₯ 2 ⎒⎣ N o ⎝ 16 ⎠ βŽ₯⎦ or 1 ⎑ 8Eb βŽ› Ο€ ⎞⎀ 2 Γ—10βˆ’6 β‰ˆ Q ⎒ sin ⎜ ⎟ βŽ₯ 2 ⎣⎒ N o ⎝ 16 ⎠ ⎦βŽ₯

From Table 6.1, Q(x) = 2 Γ— 10-6 for x = 4.61. 4.612 =

8 Eb βŽ›Ο€ ⎞ sin 2 ⎜ ⎟ No ⎝ 16 ⎠

Eb 21.252 = = 69.8 = 18.44 dB N o 8 Γ— 0.038 Pav = Eb Rb = 2 Γ— 10βˆ’9 Γ— 69.8 Γ— 500 Γ— 103 = 69.8 mW = 18.44 dBm

16-DPSK

For 16-DPSK, the BER is given by

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1 BER16βˆ’ DPSK β‰ˆ Q( 16sin 2 (Ο€ / 32) Eb / N o ) 2 or 1 ⎑ 16 Eb βŽ› Ο€ ⎞⎀ 2 Γ—10βˆ’6 β‰ˆ Q ⎒ sin ⎜ ⎟ βŽ₯ 2 ⎣⎒ N o ⎝ 32 ⎠ ⎦βŽ₯

From Table 6.1, Q(x) = 2 Γ— 10-6 for x = 4.61. 4.612 =

16 Eb βŽ›Ο€ ⎞ sin 2 ⎜ ⎟ No ⎝ 32 ⎠

Eb 21.252 = = 138.25 = 21.4 dB N o 16 Γ— 0.0096 Pav = Eb Rb = 2 Γ— 10βˆ’9 Γ— 138.25 Γ— 500 Γ— 103 = 138.25 mW = 21.4 dBm

16-QAM

For 16-PSK, the BER is given by 3 βŽ› 0.8 Eb ⎞ BER16βˆ’QAM = Q ⎜ ⎟ 4 ⎜⎝ N o ⎟⎠ βŽ› 0.8 Eb ⎞ 4 Γ—10βˆ’6 = Q ⎜ ⎜ N ⎟⎟ 3 o ⎝ ⎠

From Table 6.1, Q(x) = 1.333 Γ— 10-6 for x = 4.7. 4.7 2 =

0.64 Γ— Eb No

Eb 22.09 = = 34.51 = 15.38 dB No 0.64 Pav = Eb Rb = 2 Γ— 10 βˆ’9 Γ— 34.51Γ— 500 Γ— 103 = 34.51 mW = 15.38 dBm

⎧69.8 mW (18.44 dBm ) βŽͺ Pav = ⎨138.25 mW ( 21.4 dBm ) βŽͺ ⎩34.51 mW (15.38 dBm )

16-PSK 16-DPSK 16-QAM

b. Discuss the relative advantages and disadvantages of the modulation schemes considered above for this application.

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

16-QAM has significant SNR/bit advantage against 16-PSK and 16-DPSK schemes. Further, 16-QAM is attractive from the implementation point of view in silicon. 11.19 The CCITT V.29 16-QAM signal constellation shown in Figure P11.2. Assume that the pulse shape is unipolar NRZ and average energy per symbol is 2 Wattssec. a. Draw a block diagram of the modulator and specify the contents of symbol mapping tables. Solution:

∞

I (t ) = Co βˆ‘ anI v(t βˆ’ nT ) n =βˆ’βˆž

Co anI

b2n

Γ—

PSF

even bits 00110

2Es cos(2Ο€ fct) T

0100111101

~

2-bit SPC Binary Data bn

SM

βˆ’90o

+ 16-QAM signal + _ x(t)

2Es sin(2Ο€ fct) odd bits 10111 b2n+1

Co anQ

PSF

Γ— ∞

Q (t ) = Co βˆ‘ anQ v(t βˆ’ nT ) n =βˆ’βˆž

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


For the given constellation (see Part (c) of the solution), the normalization constant Co is calculated using (11.130) as M 16 4 Co2 = M M = = 212 53 βˆ‘βˆ‘ ⎑⎣(amI )2 + (anQ )2 ⎀⎦ m =1 n =1

Co =

4 = 0.275 53

The symbol mapping tables for in-phase and quadrature branches are shown below:

The signal points in the constellation of Figure P11.2 can now be expressed using above symbol tables as

(

s = anI Co Es , anQ Co Es

) 30

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


where

2 = Es =

4 2 A + 9 A2 + 25 A2 + 18 A2 ) ( 16

53 A2 β‡’ =2 4 A = 0.3885 b.

Sketch the modulated waveform corresponding to the sequence 0111100110101101. The carrier frequency is fc = 2D, and the pulse shape is unipolar NRZ.

Bit Sequence

Solution:

1 0.5 0 0

2

4

6

8 t/Tb

10

12

14

16

0

2

4

6

8 t/Tb

10

12

14

16

0

2

4

6

8 t/Tb

10

12

14

16

0

2

4

6

8 t/Tb

10

12

14

16

0

2

4

6

8 t/Tb

10

12

14

16

0

2

4

6

8 t/Tb

10

12

14

16

I(t)

5 0 -5

Q(t)

5 0

Q(t)sin(wc t)

I(t)cos(wc t)

-5

5 0 -5

5 0 -5

x(t)

5 0 -5

c. Sketch the decision boundaries for the ML detector. Solution:

31 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Ο†2 (t ) β€’

0100 5A 0101 3A

β€’

β€’

0011

0001

β€’

1101 A

βˆ’A

1010

1011

1111

β€’

A

3A

β€’

1110β€’βˆ’ A

1000

1100

0110

β€’

β€’

β€’ β€’

β€’

0111

β€’

β€’

βˆ’3A

βˆ’3A

5A

β€’

βˆ’5A

1001

Ο†1 (

0000

0010 βˆ’5A

β€’

d. Determine the estimated symbol sequences aˆ nI and aˆ nQ and corresponding bit sequences for the following outputs of symbol-rate samplers. Solution:

n In-phase sampler O/P Quadrature sampler O/P Co Es aˆ nI

1 0.93

2 βˆ’2

3 βˆ’1.97

4 βˆ’0.052

5 2.1

6 βˆ’0.95

βˆ’0.56

0.015

2

0.95

βˆ’1.95

βˆ’0.015

1.1655

βˆ’1.9425

βˆ’1.9425

0

1.9425

βˆ’1.1655

Co E s aˆ nQ

βˆ’0.3885

0

1.9425

1.1655

βˆ’1.9425

0

Bits

1000

1010

0011

0101

0000

1011

11.20 For MSK signaling, show that the carriers in (11.125) are orthogonal. Solution:

The MSK signal over the time interval 0 ≀ t ≀ Tb is

32 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


s1 (t ) =

⎑ ⎀ 2E b Ο€t cos ⎒ 2Ο€ f c t + + ψ (0) βŽ₯ Tb 2Tb ⎣ ⎦

for binary 1 and s2 (t ) =

⎑ ⎀ 2E b Ο€t cos ⎒ 2Ο€ f c t βˆ’ + ψ (0) βŽ₯ Tb 2Tb ⎣ ⎦

for binary 0. For s1 (t ) and s2 (t ) to be orthogonal over 0 ≀ t ≀ Tb , it is required that Tb

T

⎑ ⎀ ⎑ ⎀ 2E b b Ο€t Ο€t s ( t ) s ( t ) dt cos ⎒ 2Ο€ f ct + = +ψ (0) βŽ₯ cos ⎒ 2Ο€ f c t βˆ’ +ψ (0) βŽ₯ dt ∫0 1 2 ∫ Tb 0 2Tb 2Tb ⎣ ⎦ ⎣ ⎦ T Tb βŽ› Ο€ t ⎞ ⎫βŽͺ E b ⎧βŽͺ b = ⎨ ∫ cos [ 4Ο€ f ct + 2ψ (0)] dt + ∫ cos ⎜ ⎟dt ⎬ = 0 + 0 = 0 Tb ⎩βŽͺ 0 ⎝ Tb ⎠ ⎭βŽͺ 0

a. Sketch the constellation diagram and determine the decision regions. Solution:

Using (11.122), we can express the MSK waveform in terms of quadrature components as x(t ) =

2E b {cos [ψ (t )] cos ( 2Ο€ fct ) βˆ’ sin [ψ (t )] sin ( 2Ο€ fct )} , Tb

0 ≀ t ≀ Tb

where

ψ (t ) = ψ (0) ±

Ο€t 2Tb

Now ⎑ βŽ› Ο€t ⎞ βŽ› Ο€t ⎞ Ο€t ⎀ cos [ψ (t )] = cos ⎒ψ (0) Β± ⎟ βˆ“ sin [ψ (0)] sin ⎜ ⎟ βŽ₯ = cos [ψ (0)] cos ⎜ 2Tb ⎦ ⎣ ⎝ 2Tb ⎠ ⎝ 2Tb ⎠ 0 because ψ (0) = 0 or Ο€

βŽ› Ο€t ⎞ = cos [ψ (0) ] cos ⎜ ⎟, ⎝ 2Tb ⎠

βˆ’ Tb ≀ t ≀ Tb

33 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The time interval has been extended to βˆ’Tb ≀ t ≀ Tb because cosine is an even

function. Similarly, it can be shown that sin [ψ (t )] can be expressed as

⎑ βŽ› Ο€t ⎞ βŽ› Ο€t ⎞ Ο€t ⎀ sin [ψ (t ) ] = sin ⎒ψ (0) Β± ⎟ Β± cos [ψ (0) ] sin ⎜ ⎟ βŽ₯ = sin [ψ (0) ] cos ⎜ 2Tb ⎦ ⎣ ⎝ 2Tb ⎠ ⎝ 2Tb ⎠ βŽ› Ο€t ⎞ = Β± cos [ψ (0) ] sin ⎜ ⎟ ⎝ 2Tb ⎠

Ο€βŽ€ ⎑ Now cos [ψ (0)] = cos ⎒ψ (Tb ) βˆ“ βŽ₯ = Β± sin [ψ (Tb )] . Therefore, 2⎦ ⎣ βŽ› Ο€t ⎞ sin [ψ (t ) ] = sin [ψ (Tb ) ] sin ⎜ 0 ≀ t ≀ 2Tb ⎟, 2 T b ⎝ ⎠ From discussion in Section 11.8, ψ (0) assumes values 0 or Ο€. Similarly,

ψ (Tb ) assumes values Β± β€’

Ο€ 2

. Thus four possibilities can arise:

ψ (0) = 0 and ψ (Tb ) =

Ο€

1 β€’

ψ (0) = Ο€ and ψ (Tb ) =

Ο€

βˆ’1 β€’

2

ψ (0) = Ο€ and ψ (Tb ) = βˆ’ symbol 1

β€’

, corresponding to the transmission of symbol

2

ψ (0) = 0 and ψ (Tb ) = βˆ’ symbol βˆ’1

, corresponding to the transmission of symbol

Ο€ 2

Ο€ 2

, corresponding to the transmission of

, corresponding to the transmission of

Thus the MSK signal can assume any one of four possible forms depending on values of ψ (0) and ψ (Tb ) . By choosing the basis functions

Ο†1 (t ) =

βŽ› Ο€t ⎞ 2 cos ⎜ ⎟ cos ( 2Ο€ f c t ) , Tb ⎝ 2Tb ⎠

βˆ’ Tb ≀ t ≀ Tb

Ο†2 (t ) =

βŽ› Ο€t ⎞ 2 sin ⎜ ⎟ sin ( 2Ο€ f c t ) , Tb 2 T ⎝ b⎠

0 ≀ t ≀ 2Tb

34 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


we can express the MSK signal as x(t ) = x1Ο†1 (t ) + x2Ο†2 (t ),

0 ≀ t ≀ Tb

where Tb

x1 = ∫ x(t )Ο†1 (t )dt = Eb cos [ψ (0) ] ,

βˆ’ Tb ≀ t ≀ Tb

βˆ’Tb

2Tb

x2 = ∫ x(t )Ο†2 (t )dt = βˆ’ Eb sin [ψ (Tb )] ,

0 ≀ t ≀ 2Tb

0

The 2-dimensional signal constellation and decision regions of the MSK signal are shown in Figure. It is similar to that of QPSK in that both have four signal points. However, there is significant difference in their interpretation. In QPSK each signal point represents two information bits, whereas in MSK each signal point represents one information bit. Further, each decision region (i.e., quadrant) in QPSK corresponds to a unique two-bit symbol. In MSK, however, both decision regions D1 and D3 are for transmitted symbol βˆ’1 and D2 and D4 are for transmitted symbol 1.

D2

Ο†2(t)

D1

Signal point s 2

Signal point s1

Transmitted symbol 1

Transmitted symbol βˆ’ 1

Ο€βŽž βŽ› ⎜ψ (0) = Ο€ and ψ (Tb ) = βˆ’ ⎟ 2⎠ ⎝ Signal point s 3

Ο€βŽž βŽ› ⎜ψ (0) = 0 and ψ (Tb ) = βˆ’ ⎟ 2⎠ ⎝ Ο†1(t) Signal point s 4

Transmitted symbol βˆ’ 1

Transmitted symbol 1

Ο€βŽž βŽ› ⎜ψ (0) = Ο€ and ψ (Tb ) = ⎟ 2⎠ ⎝

Ο€βŽž βŽ› ⎜ψ (0) = 0 and ψ (Tb ) = ⎟ 2⎠ ⎝

D3

D4

b. Draw the block diagrams of the modulator and the demodulator.

35 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


MSK modulator

βŽ› Ο€t ⎞ 2 cos ⎜ ⎟ Tb ⎝ 2Tb ⎠ SM b2n

a2n

even bits 00110

Γ—

Γ—

Eb cos ( 2Ο€ f c t ) MSK signal

~ +

0100111101

x(t)

2-bit SPC

Binary Data bn

βˆ’90o

b2n+1

odd bits 10111

Eb sin ( 2Ο€ f c t ) a2 n+1

Delay Tb

Γ—

SM

Γ—

βŽ› Ο€t ⎞ 2 sin ⎜ ⎟ Tb ⎝ 2Tb ⎠

MSK demodulator

I (t ) + noise r (t ) = x (t ) + n (t )

BPF BPF

Γ—

∫

T

0

t =T

VT

Tb

βŽ› Ο€t ⎞ 2 cos ⎜ ⎟ cos ( 2Ο€ f c t ) Tb ⎝ 2Tb ⎠ βŽ› Ο€t ⎞ 2 sin ⎜ ⎟ sin ( 2Ο€ f c t ) Tb ⎝ 2Tb ⎠

Γ—

∫

PSC & SM

Q (t ) + noise t =T

Binary Data bˆ

n

001011

aˆ 2 n+1

T

0

aˆ 2 n

VT

36 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 12 12.1 Let Pr ( f ) be the triangular spectrum given by

⎧ f ⎞ βˆ’4 βŽ› βŽͺ2.5 Γ—10 ⎜1 βˆ’ ⎟, Pr ( f ) = ⎨ 4000 ⎝ ⎠ βŽͺ ⎩0,

f < 4000 otherwise

a. For what symbol rate, pr ( t ) is a Nyquist pulse. Solution:

The folded spectrum Pr folded ( f ) is shown in Figure. If we choose 1 / 2T = 2000 , that is symbol rate D = 4000 symbols/second, then Pr ( f ) satisfies Nyquist criterion for ISI free transmission. Pr ( f ) 2.5 Γ— 10βˆ’4

βˆ’4000

0

f

4000

Pr folded ( f ) 2.5 Γ— 10βˆ’4

…

… βˆ’8000 βˆ’4000 1 βˆ’ 2T 2T

0 1 4000 2T 2 T

8000

f

b. Determine pr ( t ) and verify the conclusion from (a). Solution:

The pulse pr ( t ) corresponding to the given Pr ( f ) is given from Table 2.2 and applying (2.81) as

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


pr ( t ) = sinc2 ( Dt ) c. At this symbol rate, what is the excess bandwidth of the pulse and roll-off factor? Solution:

Excess bandwidth = Babs βˆ’ BNyquist = 4000 βˆ’ 2000 = 2000

Roll-off factor Ξ± = 12.2

Excess bandwidth 2000 = =1 2000 BNyquist ( = 1/ 2T )

Consider an M-ary PAM system to transmit data at 50 kbps over an ideal bandlimited channel with bandwidth W = 7500 Hz. Assume polar RRC pulse signaling with a roll-off factor Ξ± = 0.5. Determine a. the required size of the signal set, M.

Solution:

7500 =

k=

D (1 + Ξ± ) D (1 + 0.5) 15, 000 = β‡’D= = 10, 000 2 2 1.5

50, 000 = 5, 10, 000

M = 25 = 32

b. Eb / N o required to achieve Pe = 10βˆ’6 . Solution:

Pe =

⎞ 2( M βˆ’ 1) βŽ› Eb 6 log 2 M ⎞ 6 Es 2( M βˆ’ 1) βŽ› Q ⎜⎜ Q ⎜⎜ ⎟⎟ = ⎟⎟ 2 2 M M ⎝ N o ( M βˆ’ 1) ⎠ ⎝ N o ( M βˆ’ 1) ⎠

10βˆ’6 =

62 βŽ› Eb 30 ⎞ 62 βŽ› 0.0293Eb ⎞ Q ⎜⎜ ⎟ = Q⎜ ⎟⎟ 32 ⎝ N o (322 βˆ’ 1) ⎟⎠ 32 ⎜⎝ No ⎠

βŽ› 0.0293Eb ⎞ 32 Γ—10βˆ’6 = 0.516 Γ—10βˆ’6 = Q ⎜⎜ ⎟⎟ 62 N o ⎝ ⎠ From Table 6.1, we conclude that the argument of Q-function x = 4.88568

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0.0293Eb E = 23.87 β‡’ b = 814.67 No No Eb (dB) = 29.11 No

12.3

Binary data is transmitted using polar RC pulses with spectrum displayed in Figure P12.1. Figure P12.1

Pr ( f ) 1 0.5 1.4 2.0 2.6

f (kHz)

a. Calculate the roll-off factor. Solution:

Excess bandwidth = Babs βˆ’ BNyquist = 2600 βˆ’ 2000 = 600 Roll-off factor Ξ± =

600 = 0.3 2000

b. What is the maximum signaling rate using above RC pulses? Solution:

D=

2W 2 Γ— 2600 = = 4000 symbols/sec (1 + Ξ± ) (1 + 0.3)

c. The channel distorts the signal pulses and the sample values of the matched filter output pulse are given by

{q [ k ]} = {0.0194, βˆ’ 0.1452, 0.9677, 0.2032, 0.029}

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


List the bit sequence that will generate the worst-case ISI and the corresponding value of peak distortion. Solution:

The bit sequence is {βˆ’1, 1, 1, βˆ’ 1, βˆ’ 1} . The peak ISI distortion at the equalizer input is obtained applying (12.14) as ∞

D peak = βˆ‘ ak q [ k ] k =βˆ’βˆž k β‰ 0

= ( 0.0194 + 0.1452 + 0.2032 + 0.029 ) = 0.3968 d. How likely is such a sequence assuming that data bits are equiprobable and statistically independent? Solution: 5

1 βŽ›1⎞ P ({βˆ’1, 1, 1, βˆ’ 1, βˆ’ 1} ) = ⎜ ⎟ = ⎝ 2 ⎠ 32

12.4 Consider a 4-PAM system to transmit data through a bandlimited channel at 8.4 kbps. The channel is characterized by the frequency response Hc ( f ) =

1 1 + j ( f / 4200)

The channel introduces AWGN noise with spectral density N o / 2 = 10βˆ’12 W/Hz. a. Write transfer functions of transmit and receive filters to deliver RC output pulse (Ξ± = 1) at the receiver. Solution:

Since 1/T =4200, the RC pulse spectrum for Ξ± = 1 is given from (9.66) as ⎧ 1 ⎧βŽͺ βŽ› Ο€ f ⎞ ⎫βŽͺ βŽͺ ⎨1 + cos ⎜ ⎟ ⎬ , 0 ≀ f ≀ 4200 PRC ( f ) = ⎨ 8400 ⎩βŽͺ ⎝ 4200 ⎠ ⎭βŽͺ βŽͺ elsewhere ⎩0,

Substituting into (12.46) and (12.47), the optimum transmit and receive filter characteristics are given by

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎧ 1 βŽ›Ο€ f ⎞ 2 cos ⎜ βŽͺ ⎟ 1 + ( f / 4200) , 0 ≀ f ≀ 4200 H T ( f ) = H R ( f ) = ⎨ 4200 ⎝ 8400 ⎠ βŽͺ elsewhere ⎩0, b. Estimate the average energy/bit, Eb , required to achieve a BER = 10βˆ’6 . Solution:

The BER for M-ary PAM signaling over AWGN channel is given from and (10.177) as

BERM βˆ’ PAM =

2(M βˆ’ 1) βŽ› 6log 2 M Eb ⎞ Q⎜ ⎟ M log 2 M ⎜⎝ (M 2 βˆ’ 1) No ⎟⎠

For 4-PAM, this simplifies to

3 βŽ› 4 Eb ⎞ BER4βˆ’ PAM = Q ⎜⎜ ⎟ 4 ⎝ 5 No ⎟⎠ To achieve BER = 10βˆ’6, the argument x of Q-function is obtained from Table 6.1 as

x=

E 4 Eb = 4.695 β‡’ b = 27.55 5 No No

Eb = 14.4 dB No In the process of channel equalization, noise enhancement occurs. The decrease in SNR/bit , Eb / N o , due to noise enhancement is given from (12.53) by ⎑ βŽ› W P ( f ) ⎞ βˆ’2 ⎀ Eb / N o penalty = 10 log10 ⎒⎜ ∫ RC df ⎟ βŽ₯ ⎒⎜⎝ βˆ’W H c ( f ) ⎟⎠ βŽ₯ ⎣ ⎦ W

PRC ( f ) df was calculated numerically using MATLAB. In the present Hc ( f ) βˆ’W

The integral ∫ W

PRC ( f ) df = 1.213 . Therefore, Hc ( f ) βˆ’W

case, ∫

Additional Eb / N o required = 10 log10 (1.2132 ) = 1.6773 dB

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Eb / N o required to achieve BER of 10βˆ’6 = 14.4 + 1.6773 = 16.077 dB Eb required to achieve BER of 10βˆ’6 = 2 Γ—10βˆ’12 Γ—101.6077 = 0.081 nW = βˆ’70.9 dBm

12.5 The binary data 001011100 is applied to the input of a duobinary encoder. a. Construct the precoder output assuming initialization bits do = 1 . b. What is the corresponding received sequence? c. Derive the decoding rule at the receiver to reconstruct the data. Solution:

The following table shows the precoded sequence, the transmitted signal levels, the received sequence, and the decoded sequence. Data bits bk

0

0

1

0

1

1

1

0

0

Precoded sequence d k

1

1

1

0

0

1

0

1

1

1

Transmitted sequence ak

A

A

A

βˆ’A

βˆ’A

A

βˆ’A

A

A

A

Received sequence yk

2A

2A

0

βˆ’2A 0

0

0

2A

2A

Decoded

0

0

1

0

1

1

0

0

1

sequence bˆk

d. Assume that due to noise, the sampler output produced by the fourth bit is reduced to zero. Construct the decoded output sequence bˆk . How many errors are there in the decoded sequence? Solution: y4 = 0.The decoder will declare bˆ4 = 1 . Precoding means no error propagation.

12.6 The binary data 101100011 is applied to the input of a modified duobinary encoder.

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Construct the precoder output assuming initialization bits ( 0, 0 ) . Solution:

The precoded sequence {dk } is generated by the operation d k = bk βŠ• d k βˆ’2

The sequence {d k } is then mapped to the sequence of polar transmitted signal levels

{ak } according to the relationship 0 β†’ βˆ’A 1β†’ A

b. What is the corresponding received sequence? The noise-free samples at the output of the receive filter are given by y k = a k βˆ’ a k βˆ’2

c. Derive the decoding rule at the receiver to reconstruct the data. ⎧±2 A, yk = ⎨ ⎩0,

with probability 1/2 (d k β‰  d k βˆ’ 2 ) with probability 1/2 (d k = d k βˆ’ 2 )

Since bk = 1 toggles d k βˆ’ 2 bit, the decision rule in the absence of noise is given by ⎧1, bΛ†k = ⎨ ⎩0,

yk = Β±2 A yk = 0

The following table shows the precoded sequence, the transmitted signal levels, the received sequence, and the decoded sequence. d. Assume that due to noise, the sampler output produced by the fourth bit is reduced to zero. Construct the decoded output sequence bˆk . How many errors are there in the decoded sequence? Solution: y4 = 0.The decoder will declare bˆ4 = 0 .

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Data bits bk

1

0

1

1

0

0

0

1

1

Precoded sequence d k

0

0

1

0

0

1

0

1

0

0

1

Transmitted sequence ak

βˆ’A

βˆ’A

A

βˆ’A

βˆ’A

A

βˆ’A

A

βˆ’A

βˆ’A

A

Received sequence yk

2A

0

βˆ’2A

2A

0

0

0

βˆ’2A 2A

Decoded

1

0

1

1

0

0

0

1

1

sequence bˆk

12.7 Consider a channel with overall impulse response ⎧α k , q[k ] = ⎨ ⎩0,

Ξ± <1

k β‰₯ 0, otherwise

a. Calculate the peak ISI distortion at the equalizer input. Solution:

The peak ISI distortion is obtained by tha application of (12.14) as ∞

∞

∞

k =βˆ’βˆž k β‰ 0

k =1

k =0

D peak = βˆ‘ q[k ] = βˆ‘ Ξ± k = βˆ‘ Ξ± k βˆ’ 1 =

1 Ξ± βˆ’1 = 1βˆ’Ξ± 1βˆ’Ξ±

b. Calculate the coefficients of a linear equalizer that completely eliminates the ISI. Solution:

The z-transform of the sequence q[k ] is given by ∞

Q( z ) = βˆ‘ Ξ± i z βˆ’i = i =0

1 1 βˆ’ Ξ± z βˆ’1

The transfer function of the linear equalizer is obtained using (12.99) as H eq ( z ) =

1 = 1 βˆ’ Ξ± z βˆ’1 Q( z)

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The impulse response of the 2-tap equalizer is

heq [ k ] = {1, βˆ’Ξ± } c. Calculate the noise variance at the equalizer output. Solution:

The variance of noise at the equalizer output is given by

Οƒ eq2 =

No N 2 No 2 2 N ci = c0 + c1 ) = o (1 + Ξ± 2 ) ( βˆ‘ 2 i =βˆ’ N 2 2

where N o / 2 is the equalizer input noise spectral density. d. Derive an expression for the bit error rate of the system. Solution:

In the present case, the equalizer is successful in completely eliminating the ISI. That is, it can be easily shown that peq [ 0] = 1 and peq [ k ] = 0, k β‰  0 . Therefore, the BER is given from (12.172) as

βŽ› 2 Eb ⎞ BER = Q ⎜ ⎜ Ξ· N ⎟⎟ ⎝ NE o ⎠ The noise enhancement factor of the equalizer is obtained by using (12.169) as N

Ξ· NE = βˆ‘ ci2 = 1 + Ξ± 2 i =βˆ’ N

Substituting βŽ› BER = Q ⎜ ⎜ ⎝

⎞ ⎟ 1 + α 2 No ⎟ ⎠

(

2 Eb

)

12.8 Consider a binary antipodal system with overall impulse response

{q [ k ]} = {1, 0.7}

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The channel introduces AWGN noise with spectral density N o / 2 W/Hz. a. Design a 5-tap linear equalizer to eliminate ISI. Solution:

The z-transform of the sequence q[k ] is given by ∞

Q( z ) = βˆ‘ q [ k ]z βˆ’ k = 1 + 0.7 z βˆ’1 k =0

The transfer function of the linear equalizer is obtained using () as

H eq ( z ) =

1 1 = Q( z ) 1 + 0.7 z βˆ’1

(

= 1 βˆ’ 0.7 z βˆ’1 + βˆ’0.7 z βˆ’1

) + ( βˆ’0.7 z ) + ( βˆ’0.7 z ) + ( βˆ’0.7 z ) + ( βˆ’0.7 z ) + ... + ... 2

βˆ’1

3

βˆ’1

4

βˆ’1

5

βˆ’1

6

= 1 βˆ’ 0.7 z βˆ’1 + 0.49 z βˆ’2 βˆ’ 0.343z βˆ’3 + 0.24 z βˆ’4 βˆ’ 0.168 z βˆ’5 + 0.1176 z βˆ’6 + ... + ... When the equalizer has 5 taps, its transfer function is given by H 5 ( z ) = 1 βˆ’ 0.7 z βˆ’1 + 0.49 z βˆ’2 βˆ’ 0.343 z βˆ’3 + 0.24 z βˆ’4 The impulse response of the 5-tap equalizer is

h5 [ k ] = {1, βˆ’ 07, 0.49, βˆ’ 0.343, 0.24} The z-transform of the equalizer output sequence is

(

)(

Peq ( z ) = Q( z ) H 5 ( z ) = 1 + 0.7 z βˆ’1 1 βˆ’ 0.7 z βˆ’1 + 0.49 z βˆ’2 βˆ’ 0.343z βˆ’3 + 0.24 z βˆ’4

)

= 1 + 0.168 z βˆ’5 Therefore,

peq [ k ] = {1, 0, 0, 0, 0, 0.168} b. Calculate the noise variance at the equalizer output Solution:

The variance of noise at the equalizer output is given by

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


No 4 2 No ⎑ 2 2 2 2 ci = Οƒ = 1 + ( βˆ’0.7 ) + ( 0.49 ) + ( βˆ’0.343) + ( 0.24 ) ⎀ = 0.9527 N o βˆ‘ ⎣ ⎦ 2 i =0 2 2 eq

c. Derive an expression for the bit error rate of the system. Solution:

The BER of the system can be expressed as 1 1 P {error ak = 1, ak βˆ’5 = 1} + P {error ak = 1, ak βˆ’5 = βˆ’1} 4 4 1 1 + P {error ak = βˆ’1, ak βˆ’5 = 1} P {error ak = βˆ’1, ak βˆ’5 = βˆ’1} 4 4

BER =

Now using (12.171), we can calculate the conditional error probabilities as follows: P {error ak = 1, ak βˆ’5 = 1} = P =P

{ E ( p [0] + p [5]) + n < 0} b

{

βŽ› = Q⎜ ⎜ ⎝ P {error ak = 1, ak βˆ’5 = βˆ’1} = P =P

{

βŽ› = Q⎜ ⎜ ⎝ P {error ak = βˆ’1, ak βˆ’5 = 1} = P

eq

eq k

eq

βŽ› E 1.168 2 ⎞ ) ⎟ b( Eb 1.168 + n < 0 = Q ⎜ 2 ⎜ ⎟ Οƒ eq ⎝ ⎠ 2 βŽ› 1.432 Eb ⎞ Eb (1.168 ) ⎞⎟ = Q⎜ ⎟ ⎜ 0.9527 N o ⎟ N o ⎟⎠ ⎝ ⎠

}

eq k

{ E ( p [0] βˆ’ p [5]) + n < 0} b

eq

eq k

eq

βŽ› E 0.832 2 ⎞ ) ⎟ b( Eb 0.832 + n < 0 = Q ⎜ 2 ⎜ ⎟ Οƒ eq ⎝ ⎠ 2 βŽ› 0.7266 Eb ⎞ Eb ( 0.832 ) ⎞⎟ = Q⎜ ⎟⎟ ⎜ 0.9527 N o ⎟ No ⎝ ⎠ ⎠ eq k

}

{ E ( βˆ’ p [0] + p [5]) + n < 0} b

eq

eq k

eq

βŽ› E 0.832 2 ⎞ ) ⎟ b( = P βˆ’ Eb 0.832 + n > 0 = Q ⎜ 2 ⎜ ⎟ Οƒ eq ⎝ ⎠

{

eq k

}

βŽ› E 0.832 2 ⎞ ) ⎟ = Q βŽ› 0.7266 Eb ⎞ b( = Q⎜ ⎜⎜ ⎟⎟ ⎜ 0.9527 N o ⎟ No ⎝ ⎠ ⎝ ⎠

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


P {error ak = βˆ’1, ak βˆ’5 = βˆ’1} = P

{ E ( βˆ’ p [0] βˆ’ p [5]) + n > 0} b

eq

eq

eq k

βŽ› E 1.168 2 ⎞ ) ⎟ b( = P βˆ’ Eb 1.168 + n > 0 = Q ⎜ 2 ⎜ ⎟ Οƒ eq ⎝ ⎠

{

eq k

}

βŽ› E 1.168 2 ⎞ ) ⎟ = Q βŽ› 1.432 Eb ⎞ b( = Q⎜ ⎜⎜ ⎟ ⎜ 0.9527 N o ⎟ N o ⎟⎠ ⎝ ⎝ ⎠

Therefore, BER =

βŽ› 0.7266 Eb ⎞ ⎀ 1 ⎑ βŽ› 1.432 Eb ⎞ ⎒Q ⎜⎜ ⎟⎟ + Q ⎜⎜ ⎟⎟ βŽ₯ No ⎠ No 2 ⎣⎒ ⎝ ⎝ ⎠ ⎦βŽ₯

d. Plot the BER curves of the system (i) without equalizer and (ii) with the equalizer designed in (a). Compare with AWGN performance with no ISI Solution:

Without equalizer, the BER of the system can be expressed as 1 1 P {error ak = 1, ak βˆ’1 = 1} + P {error ak = 1, ak βˆ’1 = βˆ’1} 4 4 1 1 + P {error ak = βˆ’1, ak βˆ’1 = 1} P {error ak = βˆ’1, ak βˆ’1 = βˆ’1} 4 4

BER =

Now using (12.171), we can calculate the conditional error probabilities as follows: P {error ak = 1, ak βˆ’1 = 1} = P

{ E ( q [0] + q [1]) + n < 0} b

k

βŽ› E 1.7 2 ⎞ ) ⎟ b( = P Eb 1.7 + nk < 0 = Q ⎜ 2 ⎜ Οƒ eq ⎟ ⎝ ⎠ βŽ› 2 Eb ⎞ = Q ⎜1.7 ⎟ ⎜ N o ⎟⎠ ⎝

{

}

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


P {error ak = 1, ak βˆ’1 = βˆ’1} = P

{ E ( q [0] βˆ’ q [1]) + n < 0} b

k

βŽ› E 0.3 2 ⎞ ) ⎟ b( = P Eb 0.3 + nk < 0 = Q ⎜ 2 ⎜ Οƒ eq ⎟ ⎝ ⎠ βŽ› 2 Eb ⎞ = Q ⎜ 0.3 ⎟ ⎜ N o ⎟⎠ ⎝

{

P {error ak = βˆ’1, ak βˆ’1 = 1} = P

}

{ E ( βˆ’q [0] + q [1]) + n < 0} b

k

βŽ› E 0.3 2 ⎞ ) ⎟ b( = P βˆ’ Eb 0.3 + nk > 0 = Q ⎜ 2 ⎜ Οƒ eq ⎟ ⎝ ⎠

{

}

βŽ› 2 Eb ⎞ = Q ⎜ 0.3 ⎟ ⎜ N o ⎟⎠ ⎝ P {error ak = βˆ’1, ak βˆ’1 = βˆ’1} = P

{ E ( βˆ’q [0] βˆ’ q [1]) + n > 0} b

k

βŽ› E 1.7 2 ⎞ ) ⎟ b( = P βˆ’ Eb 1.7 + nk > 0 = Q ⎜ 2 ⎜ Οƒ eq ⎟ ⎝ ⎠ βŽ› 2 Eb ⎞ = Q ⎜1.7 ⎟ ⎜ N o ⎟⎠ ⎝

{

}

Therefore, BER =

βŽ› 2 Eb ⎞ 2 Eb ⎞ ⎀ 1⎑ βŽ› ⎒Q ⎜⎜ 0.3 ⎟⎟ + Q ⎜⎜1.7 ⎟⎟ βŽ₯ 2 ⎒⎣ ⎝ No ⎠ N o ⎝ ⎠ βŽ₯⎦ Bit Error Rate vs. (Eb/No)dB

0

10

Equalized Unequalized No ISI

-1

10

-2

10

-3

BER

10

-4

10

-5

10

-6

10

-7

10

0

2

4

6

8

10 12 Eb/No [dB]

14

16

18

20

13

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


12.9

Consider a binary digital communication system with overall impulse response

{q [ k ]} = {0.0105 βˆ’0.0542 0.1570 0.9710 βˆ’0.1698 0.022, 0.0107} The channel introduces AWGN noise with spectral density N o / 2 = 0.05 W/Hz. a. Calculate the worst-case eye opening at the equalizer input. Solution:

The peak ISI distortion at the equalizer input is obtained by applying (12.14) and (12.86) as ∞

D peak = Eb βˆ‘ q[n] n =βˆ’βˆž nβ‰ 0

= Eb ( 0.0105 +0.0542+ 0.1570 + 0.17 + 0.022 + 0.0107 ) = 0.4244 Eb

The worst-case eye opening at the equalizer input is

( 0.971 βˆ’ 0.4244 ) Eb = 0.5466 Eb b. Determine the coefficients of a 5-tap ZFE. Plot the equalized output waveform Solution:

βŽ› 0.0746 ⎞ ⎜ ⎟ ⎜ βˆ’0.1355 ⎟ c opt = ⎜ 0.9772 ⎟ ⎜ ⎟ ⎜ 0.1716 ⎟ ⎜ 0.0094 ⎟ ⎝ ⎠

1

q[k]

0.5

0

-0.5

1

2

3

4

5

6 7 Samples k

8

9

10

11

1

2

3

4

5

6 7 Samples k

8

9

10

11

1

peq[k]

0.5

0

-0.5

14

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The equalizer output pulse sample values are given by

peq [k ] = {0.0008 βˆ’ 0.0055

0.0294 0.0

0.0 1.0 0.0 0.0 0.0127

0.002

0.0001}

c. Calculate the noise enhancement and a worst-case estimate of BER at the equalizer output. Compare with AWGN performance with no ISI. Solution:

The noise enhancement factor of the equalizer is obtained by using (12.169) as 2

Ξ· NE = βˆ‘ ci2 = 1.0085 i =βˆ’2

The worst-case BER estimate is given from (12.172) by βŽ› 2E ΞΎ 2 ⎞ b ISI BERworst-case = Q ⎜ ⎟ ⎜ N o Ξ· NE ⎟ ⎝ ⎠

where

ΞΎ ISI = peq [ 0] βˆ’ Dpeak = 1 βˆ’ 0.0504 = 0.9496 Substituting yields BERworst-case = 1.1731Γ—10βˆ’5 for Eb / N o = 10 dB The BER for antipodal signaling over an AWGN for Eb / N o = 10 dB is given by

βŽ› 2 Eb ⎞ BER = Q ⎜ =Q ⎜ N ⎟⎟ o ⎠ ⎝

( 20 ) = 0.3875 Γ—10

βˆ’5

It follows that in the present case the 5-tap ZFE is able to equalize the channel without significant noise enhancement. 12.10 Consider a binary digital communication system with overall impulse response

{q [ k ]} = {0.0101, βˆ’0.0891, 0.5752, 0.7423, 0.2714, 0.1762, 0.074 } The channel introduces AWGN noise with spectral density N o / 2 = 0.05 W/Hz.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Design a 7-tap MMSE equalizer for the channel. Plot the equalized output waveform Solution: βŽ› βˆ’0.0658 ⎞ ⎜ ⎟ ⎜ 0.1512 ⎟ ⎜ βˆ’0.2335 ⎟ ⎜ ⎟ c opt = ⎜ 0.5981 ⎟ ⎜ 0.5870 ⎟ ⎜ ⎟ ⎜ βˆ’0.6859 ⎟ ⎜ 0.2157 ⎟ ⎝ ⎠ 1

q[k]

0.5

0

-0.5

0

2

4

6 8 Samples k

10

12

14

0

2

4

6 8 Samples k

10

12

14

1

peq[k]

0.5

0

-0.5

b. Calculate the worst-case eye opening at the equalizer output. Solution:

The equalizer output pulse sample values are given by

⎧ βˆ’ 0.0007 0.0074 βˆ’ 0.0537 0.0650 βˆ’ 0.0873 0.1409 0.8033 0.1543⎫ peq [k ] = ⎨ ⎬ ⎩ βˆ’ 0.1376 0.1217 βˆ’ 0.0189 βˆ’ 0.0127 0.0160 ⎭ Now Worst-case eye opening ΞΎ ISI = peq [ 0] βˆ’ D peak = 0.8033 βˆ’ 0.8161 = βˆ’0.0128 . So the eye is closed under worst conditions. c. Calculate the noise enhancement at the equalizer output.

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The noise enhancement factor of the equalizer is obtained by using (12.169) as 3

Ξ· NE = βˆ‘ ci2 = 1.3 i =βˆ’3

d. Plot DTFTs of the overall channel, equalizer, and combined responses.

|Q(ejw )|

Solution:

0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

|Heq(ejw )|

Ο‰/Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

|Peq(ejw )|

Ο‰/Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

Ο‰/Ο€

e. Repeat (a) through (d) for 31-tap MMSE equalizer. Comment about the performance improvement versus 7-tap equalizer. Solution:

The equalizer output pulse sample values are given by

⎧ 0.0 0.0 βˆ’ 0.0001 0.0001 βˆ’ 0.0002 0.0003 βˆ’ 0.0005 0.0010 ⎫ βŽͺ βˆ’ 0.0017 0.0029 βˆ’ 0.0051 0.0085 βˆ’ 0.0131 0.0216 βˆ’ 0.0365 0.0525 βŽͺ βŽͺβŽͺ βŽͺβŽͺ peq [k ] = ⎨ βˆ’ 0.0703 0.1166 0.8322 0.1166 βˆ’ 0.0703 0.0525 βˆ’ 0.0365 0.0216 ⎬ βŽͺ βˆ’ 0.0132 0.0085 βˆ’ 0.0051 0.0029 βˆ’ 0.0017 0.0011 βˆ’ 0.0006 0.0004 βŽͺ βŽͺ βŽͺ βŽͺ⎩ βˆ’ 0.0004 0.0002 0.0002 0.0 0.0001 βŽͺ⎭ Worst-case eye opening ΞΎ ISI = peq [ 0] βˆ’ D peak = 0.8322 βˆ’ 0.6628 = 0.1694 . So the eye is open worst conditions. 17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The noise enhancement factor of the equalizer is obtained by using (12.169) as 15

Ξ· NE = βˆ‘ ci2 = 1.8570 i =βˆ’15

1

q[k]

0.5

0

-0.5

0

5

10

15

20 Samples k

25

30

35

40

0

5

10

15

20 Samples k

25

30

35

40

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

1

peq[k]

0.5

0

|Q(ejw )|

-0.5

0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

|Heq(ejw )|

Ο‰/ Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

|Peq(ejw )|

Ο‰/ Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

Ο‰/ Ο€

We observe that the channel has a high frequency null near the Nyquist bandedge. This makes it difficult to equalize even with a 31-tap linear equalizer. The equalizer

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


tries to provide gain at higher frequencies, but it is unsuccessful in compensating without significant amplification of the noise. 12.11 Consider a binary digital communication system with overall impulse response

{q [ k ]} = {0.8729, 0.4364, 0.2182} The channel introduces AWGN noise with spectral density N o / 2 = 0.025 W/Hz. a. Design a 5-tap MMSE equalizer for the channel. Plot the equalized output waveform Solution: βŽ› 0.0027 ⎞ ⎜ ⎟ ⎜ 0.0219 ⎟ c opt = ⎜ 1.0763 ⎟ ⎜ ⎟ ⎜ βˆ’0.5241⎟ ⎜ 0.0434 ⎟ ⎝ ⎠

The equalizer output pulse sample values are given by

peq [k ] = {0.0 0.0 0.0023 0.0203 0.9497 0.0169 0.0441 βˆ’ 0.0954 0.0095}

q[k]

1

0.5

0

1

2

3

4

5 Samples k

6

7

8

9

1

2

3

4

5 Samples k

6

7

8

9

1

peq[k]

0.5

0

-0.5

b. Calculate the worst-case eye opening at the equalizer output. Solution:

Worst-case eye opening ΞΎ ISI = peq [ 0] βˆ’ Dpeak = 0.9497 βˆ’ 0.1886 = 0.7611 .

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. Calculate the noise enhancement at the equalizer output. Solution:

The noise enhancement factor of the equalizer is obtained by using (12.169) as 2

Ξ· NE = βˆ‘ ci2 = 1.4354 i =βˆ’2

|Q(ejw )|

d. Plot DTFTs of the overall channel, equalizer, and combined responses.

0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

|Heq(ejw )|

Ο‰/Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

|Peq(ejw )|

Ο‰/Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

Ο‰/

e. Repeat (a)-(d) with a 5-tap ZFE. Solution: βŽ›0 ⎞ ⎜ ⎟ ⎜0 ⎟ c opt = ⎜1.1456 ⎟ ⎜ ⎟ ⎜ βˆ’0.5726 ⎟ ⎜ βˆ’0.0002 ⎟ ⎝ ⎠

The equalizer output pulse sample values are given by

peq [k ] = { 0.0 0.0 0.0 0.0 1.0 0.0 0.0 βˆ’ 0.125 0.0}

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


q[k]

1

0.5

0

1

2

3

4

5 Samples k

6

7

8

9

1

2

3

4

5 Samples k

6

7

8

9

1

peq[k]

0.5

0

-0.5

Worst-case eye opening ΞΎ ISI = peq [ 0] βˆ’ Dpeak = 1 βˆ’ 0.1251 = 0.8749 . The noise enhancement factor of the equalizer is obtained by using (12.169) as 2

Ξ· NE = βˆ‘ ci2 = 1.6402 i =βˆ’2

0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

0.6

0.7

0.8

0.9

1

Ο‰/Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

Ο‰/Ο€ 0 -10 -20

0

0.1

0.2

0.3

0.4

0.5

Ο‰/Ο€

12.12 Show that the gradient vector of the mean-square error objective function

J (c) = c R yy c βˆ’ 2c r ay + Οƒ a2 T

T

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


is given by βˆ‡ c J (c) = 2 ( R yy c βˆ’ r ay ) . Solution:

The mean-square error objective function can be expanded as N

N

N

J (c) = βˆ‘ βˆ‘ ci c j R yy [i, j ] βˆ’ 2 βˆ‘ ci r ay [i ] + Οƒ a2 i =βˆ’ N j =βˆ’ N

i =βˆ’ N

We note that R yy [i, j ] = R yy [ j , i ] . Differentiating J (c) with respect to the equalizer coefficients ci , i = 0, Β±1, Β±2,....., Β± N , we obtain N βˆ‚J = 2 βˆ‘ c j R yy [i, j ] βˆ’ 2r ay [i], βˆ‚ci j =βˆ’ N

i = 0, Β±1, Β±2,....., Β± N

This can be expressed in the matrix form as βŽ› βˆ‚J ⎞ ⎜ ⎟ ⎜ βˆ‚cβˆ’ N ⎟ ⎜ # ⎟ ⎜ ⎟ βˆ‚J ⎟ ⎜ βˆ‡ c J (c ) = = 2 ( R yy c βˆ’ r ay ) ⎜ βˆ‚c0 ⎟ ⎜ ⎟ ⎜ # ⎟ ⎜ βˆ‚J ⎟ ⎜⎜ ⎟⎟ ⎝ βˆ‚cN ⎠

12.13 The overall channel model of a digital transmission system is described by the impulse response

{q [ k ]} = {0.743, 0.667} A DFE is used at the receiver to correct post-cursor ISI. a. Draw the block diagram of the equalizer? Solution:

Since there is only post-cursor ISI, no FFE is required. The FBE has only 1 tap. The feedback tap coefficient is given from (12.145) as

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b1 =

peq [1] peq [0]

=

q[1] 0.667 = = 0.9 q[0] 0.743 0.9 T

vk Receive filter yk = zk output samples 1.34

wk

Detected bits aˆ k

+

Threshold comparator

b. Write expressions for input to the equalizer yk and the threshold comparator zk assuming correct decisions are fed. Solution:

In the absence of FFE, the input to the equalizer yk is given by yk = ak q0 + ak βˆ’1q1 + nk

The input to the threshold comparator can be expressed using (12.141) as wk =

zk y q0 n ⎀ q ⎑ βˆ’ vk = k βˆ’ b1aΛ† k βˆ’1 = ⎒ak + ak βˆ’1 1 + k βŽ₯ βˆ’ b1aΛ† k βˆ’1 peq [0] q[0] 0.743 0.743 ⎦ ⎣ 0.743

= [ ak + 0.9ak βˆ’1 + 1.34nk ] βˆ’ 0.9aΛ† k βˆ’1 Assuming that correct decision is fed, the feedback term cancels the post-cursor ISI term. That is,

wk = ak + 1.34nk = Β± Eb + 1.34nk c. Calculate the noise amplification produced by the equalizer and probability of bit error. Solution:

The noise amplification Ξ· NE produced by the equalizer is given by 10 log10 (1.342 ) = 2.54 dB.

The probability of bit error is obtained from (12.172), by noting that ΞΎ ISI = 1 , as

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ› βŽ› 2 Eb ⎞ BER = Q ⎜ = Q⎜ ⎟ ⎜ Ξ· N ⎟ ⎜ ⎝ NE o ⎠ ⎝

⎞ βŽ› 1.114 Eb ⎞ ⎟ = Q⎜ ⎟ 2 N o ⎟⎠ (1.34 ) N o ⎟⎠ ⎜⎝ 2 Eb

12.14 The overall channel model of a digital transmission system is described by the impulse response

{q [ k ]} = {1, βˆ’ 0.45, 0.3, βˆ’0.05} A DFE is used at the receiver to correct post-cursor ISI. a. What are the equalizer coefficients? Solution:

Since there is only post-cursor ISI, no FFE is required. The FBE has 3 taps. The feedback coefficients are given from (12.145) as b1 = q[1] = βˆ’0.45 b2 = q[2] = 0.3 b3 = q[3] = βˆ’0.05 b. Draw the block diagram of the equalizer. Solution:

Input

zk

+

yk 1 peq [0]

+

Symbol decision

wk

aˆk

βˆ’

vk TT

βˆ’0.45

Ξ£

TT

0.3

TT

βˆ’0.05 Feedback Equalizer (FBE)

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. For an input data bit ak = 1 , calculate the equalizer input assuming previous data bits have values ak βˆ’1 = 1, ak βˆ’ 2 = βˆ’1, ak βˆ’3 = 1 . Assuming correct decisions are fed, calculate the threshold comparator input. Solution:

The input to the threshold comparator can be expressed using (12.141) as wk =

3 zk y βˆ’ vk = k βˆ’ vk = [ ak q0 + ak βˆ’1q1 + ak βˆ’ 2 q2 + ak βˆ’3 q3 + nk ] βˆ’ βˆ‘ bn aΛ† k βˆ’ n peq [0] q[0] n =1

= [ ak βˆ’ 0.45ak βˆ’1 + 0.3ak βˆ’ 2 βˆ’ 0.05ak βˆ’ 3 + nk ] + 0.45aΛ† k βˆ’1 βˆ’ 0.3aΛ† k βˆ’ 2 + 0.05aΛ† k βˆ’3

For an input data bit ak = 1 and previous data bits ak βˆ’1 = 1, ak βˆ’ 2 = βˆ’1, ak βˆ’3 = 1 , the threshold comparator input samples are given by

wk = ⎑⎣1 βˆ’ 0.45 (1) + 0.3 ( βˆ’1) βˆ’ 0.05 (1) + nk ⎀⎦ + 0.45aΛ†k βˆ’1 βˆ’ 0.3aΛ†k βˆ’ 2 + 0.05aΛ†k βˆ’3

= 0.20 + nk + 0.45aΛ†k βˆ’1 βˆ’ 0.3aΛ†k βˆ’ 2 + 0.05aΛ†k βˆ’3 Assuming correct decisions are fed, the feedback term cancels the post-cursor ISI term. That is,

wk = 0.20 + nk + 0.45 (1) βˆ’ 0.3 ( βˆ’1) + 0.05 (1) = 1 + nk d. Repeat (c) assuming that the previous decision is incorrect. Solution:

Assuming that the previous decision is incorrect, the threshold comparator input is given by

w k = 0.20 + nk + 0.45 ( βˆ’1) βˆ’ 0.3 ( βˆ’1) + 0.05 (1) = 0.1 + nk e. Repeat (d) assuming that errors were made in both previous bits. Compare the noise margin in all 3 cases and comment. Solution:

Assuming that both previous decisions are incorrect, the threshold comparator input is given by

wk = 0.20 + nk + 0.45 ( βˆ’1) βˆ’ 0.3 (1) + 0.05 (1) = βˆ’0.5 + nk

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The noise margins are 1 and 0.1 V in cases (c) and (d) respectively. 12.15. Consider a binary antipodal system with overall channel impulse response

{q [ k ]} = {0.58, 0.813} a. Design a 1-tap DFE for the channel. What is the feedback coefficient value? Solution:

Since there is only post-cursor ISI, no FFE is required. The FBE has only 1 tap. The feedback coefficient is given from (12.145) as b1 =

peq [1] peq [0]

=

q[1] = 1.4 q[0] 1.4 TT

vk Receive filter yk = z k output samples 1 0.58

wk

Detected bits aˆ k

+

Threshold comparator

b. Due to additive white Gaussian noise, the corrupted samples at the input to the equalizer for time instants k = 1,..., 6 are given by

{ y [ k ]} = {βˆ’0.116, 0.29, βˆ’ 0.174, 1.508, 0, βˆ’ 1.16} Assuming the correct previous decision value aΛ†0 = βˆ’1 is fed back, calculate the detected values of bits corresponding the input sequence { y [ k ]} .

Solution:

The threshold comparator input is given by applying (12.145) as wk =

zk y y βˆ’ v k = k βˆ’ b1aΛ† k βˆ’1 = k βˆ’ 1.4aΛ† k βˆ’1 peq [0] q0 0.58

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Table below displays calculation of the detected values of bits. 0

1 2 βˆ’0.116 0.29 1.2 βˆ’0.9 βˆ’1 1 βˆ’1

k yk wk aˆk

3 4 5 βˆ’0.174 1.508 0.0 1.1 1.2 βˆ’1.4 1 1 βˆ’1

6 βˆ’1.16 βˆ’0.6 βˆ’1

c. Assuming instead that the wrong previous decision value aˆ0 = 1 is fed back, calculate the detected values of bits corresponding the input sequence y [ k ] . How many incorrect decisions are made assuming that decisions in (b) are correct. Solution:

Table below displays calculation of the detected values of bits. 0 1 2 3 βˆ’0.116 0.29 βˆ’0.174 1.9 βˆ’1.7 βˆ’1.6 1 βˆ’1 1 βˆ’1

k yk wk aˆk

4 5 1.508 0.0

6 βˆ’1.16

4.0

βˆ’1.4 βˆ’0.6

1

βˆ’1

βˆ’1

Three incorrect decisions follow after wrong decision value aˆ0 = 1 is fed back. d. In both cases (b) and (c), calculate the mean-square error at the threshold comparator input assuming that decisions in (b) are correct. Solution:

The mean-square error at the threshold comparator input is defined as

{

J = E [ w k βˆ’ ak ]

2

}

In case (b), the mean-square error at the threshold comparator input can be expressed as 1 6 1 2 2 2 2 2 2 2 ( wk βˆ’ ak ) = ⎑⎣(1.2 βˆ’ 1) + ( βˆ’0.9 + 1) + (1.1 βˆ’ 1) + (1.2 βˆ’ 1) + ( βˆ’1.4 + 1) + ( βˆ’0.6 + 1) ⎀⎦ βˆ‘ 6 k =1 6 = 0.07

J=

In case (c), the mean-square error at the threshold comparator input is given by

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1 6 1 2 2 2 2 2 2 2 ( wk βˆ’ ak ) = ⎑⎣( βˆ’1.6 βˆ’ 1) + (1.9 + 1) + ( βˆ’1.7 βˆ’ 1) + ( 4.0 βˆ’ 1) + ( βˆ’1.4 + 1) + ( βˆ’0.6 + 1) ⎀⎦ βˆ‘ 6 k =1 6 = 5.29

J=

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 13 13.1 Consider the synchronous time-division-multiplexing of 8 1-Mbps digital signals. The output frame is composed of 64 blocks of user data and each block is formed by interleaving one bit from each input line. Assume that the multiplexer adds 1 framing byte to each frame to facilitate demultiplexing operation at the receiver. a. Illustrate the TDM output frame format.

512 data bits I1 I 2 I 3 I 4 I 5 I 6 I 7 I8

Framing byte

…

…

Block # 1

I1 I 2 I 3 I 4 I 5 I 6 I 7 I8

Block # 64

b. Determine the input bit duration. Solution: Input bit duration = 1 Β΅sec c. Determine the output bit duration. Solution: Number of bits from each data source per multiplexer output frame = 64 Total number of data bits per output frame = 64 Γ— 8 = 512 bits Time to accumulate 512 data bits at the multiplexer input = 64 Β΅sec Frame length = 512 + 8 = 520 bits Output bit duration = 64/520 = 8/65 Β΅sec d. Determine the output frame rate. Solution: Output frame rate =

106 = 15, 625 frames/sec 64

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


e. Determine the output bit rate. Solution: Output bit rate =

1 106 = = 8.125Mbits/sec Output bit duration 8 / 65

13.2 Consider the synchronous time-division-multiplexing of sixteen 2 Mb/s digital signals. The output frame is composed of 256 blocks of user data and each block is formed by interleaving bytes from each input line. Assume that the frame synchronization circuitry adds 2 framing bytes to each frame. Illustrate the TDM output frame format. Determine a. Determine the input bit and byte durations Solution: Input bit duration = 0.5 Β΅sec Input byte duration = 0.5Γ—8 = 4 Β΅sec b. Determine the output bit and byte durations Solution: Number of bytes from each data source in the multiplexer output frame = 256 Total number of data bytes per output frame = 256Γ—16 = 4096 Frame length = 4096 + 2 = 4098 bytes = 32,784 bits Time to accumulate 4096 data bytes at the multiplexer input = 256 Γ— 8/2Γ—106 = 1,024 Β΅sec Output bit duration =

1, 024 Γ— 10βˆ’6 64 = Β΅ sec 32, 784 2, 049

Output byte duration =

512 Β΅sec 2, 049

c. Determine the output frame rate. Solution: Output frame duration =

4098 Γ— 512 = 1024 Β΅sec 2, 049

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Output frame rate =

106 frames/sec 1024

d. Determine the output bit rate. Solution: Output bit rate =

1 2, 049 Γ— 106 = = 32.01563 Mbits/sec Output bit duration 64

13.3 The E-1 (CEPT-1) carrier system multiplexes thirty voice channels. E-1 frame consists of 32 bytes. Byte 0 carries the frame alignment word 0011011. Bytes 1-15 and 17-31 carry PCM words corresponding to voice channels. Byte 16 carries the signaling information. The frame transmission rate is 8000 frames/second. a. Sketch E-1 frame format. Solution: The bit rate of E1signal is 2.048 Mbps. As depicted in Figure, the E1 frame is comprised of 32 bytes labeled as timeslots 0 to 31. We calculate this bit rate by multiplying the 32-byt E1 frame by 8000 frames per second. Subtracting time slots 0 and 16, we see that E1 lines offer 30 time slots to carry user data or a payload-carrying capacity of 1.920 Mbps.

Frame sync and alarms

Signaling

Timeslot 0

Timeslot 1

0

2

1

3

……

4

5

6

Timeslot 16

……

Timeslot 30

Timeslot 31

7

Speech or Data bits

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. What is the duration of each E-1 frame? Solution: Like all basic frames used in telecommunications, the duration of E-1 frame is 125 Β΅seconds. c. What bit rate is assigned to each voice channel? Signaling channel? Solution: Bit rate of each voice channel (time slots 1βˆ’15 and 17βˆ’31) = 64 kbps Bit rate of signaling channel (time slot 16) = 64 kbps Bit rate of frame sync and user alarms channel (time slot 0) = 64 kbps d. Suppose 32 kb/s DPCM is used instead of PCM to digitize each voice channel. How many voice calls can be carried by E-1 carrier using this compressed format. Suggest the new format of E-1 frame. Solution: Time slots 1βˆ’15 and 17βˆ’ 31now carry speech or data bits from 2 channels. This allows E-1 carrier to carry 60 voice calls. The digital streams for 2 voice channels can be bit- interleaved in each time slot. 13.4 Suppose a multiplexer combines 4 input streams each operating at a nominal rate of 1 Mb/s. The multiplexer frame format is shown in Figure P13.1. The frame is composed of a framing byte and 256 bit-multiplexed data bits. To facilitate stuffing synchronization, 4 flag and 4 stuffable bits are provided one for each input channel. The flag bit for each channel indicates whether the corresponding stuffable bit location contains a stuffing or user data bit. Figure P13.1

256 data bits I1 I 2 I 3 I 4 I1 I 2 I 3 I 4 …

Framing byte

… Flag Stuffable bits bits

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Calculate the multiplexer output bit rate. Solution: Number bits in the frame = 8 + 256 + 4 + 4 = 272 Time to accumulate 256 data bits at the multiplexer input = 64/1Γ—106 = 64 Β΅sec Output bit duration =

Output bit rate =

64 Γ— 10βˆ’6 8 = Β΅ sec 272 34

34 Mb/s = 4.25 Mb/s 8

b. Determine the acceptable tolerance on input signal rates. Solution: The multiplexer provides either 64 or 65 bits for each stream per 272-bit frame (of duration 64 Β΅sec). Thus, it allows each of the four input streams to transmit as low as 1 Mbps and as high as 1.015625 Mbps. c. What is the maximum stuffing rate per channel? Solution: The frame structure allows 1 bit to be stuffed for each input bit stream, i.e., 1 bit every 64 Β΅sec per channel. Thus, the maximum stuffing rate per channel is 15.625 kbps. 13.5 The M12 multiplexer described in ITU-T Rec. G.473 combines four DS1 signals using stuffing synchronization. The multiplexer output frame format is shown in Figure 13.6. A tolerance of 50 ppm on nominal DS1 signal rates is allowed in the ITU-T standard. a. What is duration of a sub-frame? A frame? Solution: The bit rate of a DS2 signal is 6.312 Mbps. Each DS2 frame contains 49 Γ— 6 Γ— 4 = 1176 bits. Therefore, Frame duration =

1176 = 186.31 Β΅ sec 6.312 Γ— 106

Each DS2 sub-frame contains 49 Γ— 6 = 294 bits. Therefore, 5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Sub-frame duration =

294 = 46.578 Β΅ sec 6.312 Γ—106

b. Determine the maximum and minimum input DS1signal rates. Solution: Tolerance of Β± 50 ppm on the nominal DS1 rate implies that DS1 tributary rates into the multiplexer can vary 1.544Mbps Γ— Β±50 Γ— 10βˆ’6= Β± 77 bps. Therefore, DS1 rates at the M12 multiplexer input are expected to be in the range between 1.543,923 and 1.544,077 Mbps. As discussed in Example 13.3, the DS2 frame allows DS1 tributary rates between 1.540,429 and 1.545,796 Mbps. This wide range of rates allows DS2 signals the flexibility to transmit proprietary encoded DS1 signals as well as the commonly used 1.544Mbps Β±50ppm.

DS1 nominal rate 1.540429 Mbps 1.543923 Mbps 1.544 Mbps 1.544077 Mbps 1.545796 Mbps

1.544 Mbps Β±77 b/s

Range of acceptable DS1 rates multiplexed into a DS2

c. Determine the multiplexer synchronous rate per channel. Solution: The number of overhead bits per second in a DS2 signal is 5,367.35 frames/sec Γ— 24 overhead bits/frame = 128.8164 kbps Therefore, the total number of DS1 bits allocated in a DS2 signal is 6.312 Γ—106 βˆ’ 128.8164 kbps = 6.183184 Mbps

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


This capacity is divided equally among 4 DS1 signals. Therefore each DS1 signal may be input at a maximum rate of 6.183184Γ—106 Γ· 4 = 1.545796 Mbps. It is also the multiplexer synchronous rate per channel. Therefore, the bit stuffing rate for a DS1input tributary operating at this rate is 0 bps. However, if the DS1input tributary is operating at the minimum rate of 1.540429 Mbps, the bit stuffing rate for it is 5.367 kbps. 13.6

The frame format for a M23 multiplexer which combines 7 DS2 signals to form the DS3 signal is displayed in Figure P13.2. In each DS3 frame one bit can be stuffed for each of the seven DS2 signals. Specifically, the state of the three C-bits in the ith subframe indicates whether or not bit stuffing occurs for the ith DS2 input during the multiplexing process.

Figure P13.2 M23 Multiplexer Frame Format DS21

DS22

DS23

DS24

DS25

DS26

DS27

……

DS27

Stuffing indicator bits

a. What is the number of bits in a DS3 frame? Solution:

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The bit rate of a DS3 signal is 44.736 Mbps. Each DS3 frame contains 85 Γ— 8 Γ— 7 = 4,760 bits. b. How many frames/second are produced by the multiplexer? Solution: Number of frames produced by the multiplexer 44.736 Mbps Γ· 4,760 bits/frame = 9,398.32 frames/second c. Calculate the number of overhead bits/second added by the multiplexer. Solution: The DS3 frame is composed of seven subframes. Each subframe consists of eight blocks and each block contains 85 bits. The first bit in each block is a DS3 OH bit. Each DS3 frame contains 1 OH bit/block Γ— 8 blocks/subframe Γ— 7 subframes = 56 OH bits The number of overhead bits per second is given by 9,398.32 frames/sec Γ— 56 overhead bits/frame = 526.30592 kbps d. How many bits are available for stuffing per second? Solution: Total number of DS3 bits

= 44.736 Mbps

Seven DS2 signals (7 Γ— 6.312 Mb/s)

= βˆ’44.184 Mbps __________________ 552 kbps

DS3 OH bits

= βˆ’526.306 kbps __________________

Stuffing bits available

=

25.694 kbps

Therefore the bit stuffing rate for a DS2 signal operating at the nominal rate is 25.694 kbps Γ·7 DS2 signals = 3.671 kbps e. Specify minimum and maximum allowable rates for DS2 input signals. Solution:

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The maximum allowable DS2 rate is computed as follows: DS3 signal rate =

44.736 Mbps

DS3 OH bits

βˆ’526.306 kbps

=

Total DS2 bits =

44.209694 Mbps

The total number of DS2 bits is allocated evenly across the seven DS2 signals: 44.209694 Mbps Γ· 7 DS2 signals = 6.315671 Mbps Therefore, Maximum DS2 signal rate = 6.315671 Mbps. It is also the multiplexer synchronous rate per channel. The bit stuffing rate in the M23 multiplexer frame structure for a DS2 signal operating at this rate is 0 bps. The minimum allowable DS2 rate is computed by taking the maximum allowable DS2 rate and subtracting the maximum stuffing rate (i.e., the DS3 frame rate) as follows: Maximum DS2 rate = Maximum stuff rate = Minimum DS2 rate =

6.315671 Mbps βˆ’9.398 kbps 6.306272 Mbps

Therefore, Minimum DS2 signal rate = 6.306272 Mbps . The bit stuffing rate in the M23 multiplexer frame structure for a DS2 signal operating at this rate is 9.398 kbps. 13.7 The actual bit rates of 7 DS2 tributary signals input to a M23 multiplexer are given in the following table. Calculate the bit stuffing rate required for each of the DS2 signal for multiplexing them. Display the tributary and corresponding stuffing rates in a multiplexer block diagram. DS2 tributary 1 2 3 4 5 6 7

Bit rate (Mbps) 6.3075 6.306272 6.315671 6.310775 6.313225 6.31445 6.312

Solution: Stuff rate for DS2 tributary = Multiplexer synchronous rate – DS2 tributary rate

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Stuff rate for DS2 tributary No. 1 = 6.315671Mbpsβˆ’ 6.3075 Mbps = 8.171 kbps Stuff rate for DS2 tributary No. 2 = 6.315671 Mbpsβˆ’ 6.306272 Mbps = 9.399 kbps Stuff rate for DS3 tributary No. 3 = 6.315671 Mbpsβˆ’ 6.315671 Mbps = 0 kbps Stuff rate for DS2 tributary No. 4 = 6.315671 Mbpsβˆ’ 6.310775 Mbps = 4,896 kbps Stuff rate for DS2 tributary No. 5 = 6.315671 Mbpsβˆ’ 6.313225 Mbps = 2.446 kbps Stuff rate for DS2 tributary No. 6 = 6.315671 Mbpsβˆ’ 6.31445 Mbps = 1.221 kbps Stuff rate for DS2 tributary No. 7 = 6.315671 Mbpsβˆ’ 6.312 Mbps = 3.671 kbps Figure displays seven DS2 tributary signals and corresponding stuff rates. DS2 tributary # 1 6.307500 Mbps

6.315671 Mb/s

Stuff rate = 8.171 kbps DS2 tributary # 2 6.306272 Mb/s

6.315671 Mb/s

Stuff rate = 9.399 kbps DS2 tributary # 3 6.315671 Mb/s Stuff rate = 0 bps DS2 tributary # 4 6.310775 Mb/s

6.315671 Mb/s

DS3 output = 44.736 Mb/s

6.315671 Mb/s

Stuff rate = 4.896 kbps DS2 tributary # 5 6.313,225 Mb/s Stuff rate = 2.446 kbps

6.315671 Mb/s

DS2 tributary # 6 6.314450 Mb/s Stuff rate = 1.221 kbps

6.315671 Mb/s

DS2 tributary # 7 6.312000 Mb/s

6.315671 Mb/s

Stuff rate = 3.671 kbps DS3 overhead = 526.306 kbps

10

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


13.8 Consider the M12 multiplexer with frame format illustrated in Figure 13.6. a. What is the probability of accepting false FAW in the search mode, assuming random data from tributaries, if a perfect match is required with 8 framing (F) bits of the framing pattern? Solution: The probability that random data matches the FAW is obtained from (13.58) as 8

1 βŽ›1⎞ PFS = ⎜ ⎟ = ⎝ 2 ⎠ 256

b. What is the probability of rejecting true frame synchronization in the search mode for a link BER = 10-3? Solution: Probability of miss = 1 βˆ’ PD Now

PD = {All bits received correctly} = (1 βˆ’ p)8 where p = BER = 10βˆ’3 Probability of miss = 1 βˆ’ (1 βˆ’ 10βˆ’3 )8 = 7.972 Γ—10βˆ’3 13.9 The 8.448 Mb/s second-level multiplexer based on ITU-T Rec. G.742 combines four E1 (CEPT-1) signals at 2.048 Mb/s. A10-bit framing word is used at the beginning of each 848-bit frame. Frame alignment strategy requires the presence of the correct FAW without error. a. What is the probability of accepting a false FAW word in the in-frame mode assuming random binary data? Solution:

The probability that random data matches the FAW of length N is obtained from (13.58) as N

10

1 βŽ›1⎞ βŽ›1⎞ PFS = ⎜ ⎟ = ⎜ ⎟ = 1024 ⎝2⎠ ⎝2⎠

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Assuming a random starting position in the search mode, calculate the average number of tests required for rejection of that position for false alignment? Solution:

Let the random variable y denote the number of frames examined before a location mismatches the framing pattern. The average number of frames E { y} , examined before a location mismatches the FAW, can be expressed as ∞

E { y} = βˆ‘ yP { FAW mismatch detected on examining the ( y + 1) frame} y =0

= 0(1 βˆ’ PFS ) + 1PFS (1 βˆ’ PFS ) + 2 PFS2 (1 βˆ’ PFS ) + 3PFS3 (1 βˆ’ PFS ) + ......

{

} P(1 βˆ’(1Pβˆ’ P) )

= PFS (1 βˆ’ PFS ) 1 + 2 PFS + 3PFS2 + 4 PFS3 + ... =

FS

FS 2

FS

=

PFS 1 1 β‰ˆ = 1 βˆ’ PFS 1024 βˆ’ 1 1024

c. Calculate the average number of bits that elapse until the frame synchronizer locks onto the true FAW. Solution:

The length of a CEPT-2 frame n f is 106 bytes = 848 bits. On average, if the frame synchronizer starts at a random bit location in CEPT-2 frame, it will have to examine n f / 2 incorrect bit locations before locking onto the FAW. For each such incorrect bit location, on average, a FAW mismatch will be discovered after examining E { y} frames at which time the synchronizer will move one bit forward to the next bit. Since the synchronizer spends n f E { y} bit times in rejecting each incorrect bit location, the average number of bits elapsed until the nf nf n f E { y}) + frame synchronizer locks onto the framing bit is given by ( 2 2 1 , the average number of bits bits. Substituting n f = 848 and E { y} β‰ˆ 1024 βŽ› 848 ⎞ + 1⎟ = 775 bits elapsed is given by 424 ⎜ ⎝ 1024 ⎠ 13.10 Consider a QPSK system operating at 1 Mb/s. Calculate the phase error variance if a quadrupling loop is used to recover the carrier. Assume that the received signal Eb / N o is 11 dB and the PLL noise bandwidth = 5 kHz. Solution:

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Bit rate = 1 Mbps Loop filter noise bandwidth BN = 5 kHz Loop SNR ρ L =

Es = 11 + 3 dB β‡’ 25.12 No

The squaring loss is SL =

1 ⎑ 4.5 6 1.5 ⎀ + 2 + 3βŽ₯ 1+ ⎒ ρ ρL ρL ⎦ L ⎣

=

1 1 = = 0.84 6 1.5 ⎀ 1.19 ⎑ 4.5 + + 1+ ⎒ βŽ₯ ⎣ 25.12 631 15,849 ⎦

The loop phase error variance is

BN T 5 Γ— 2 Γ—10βˆ’3 = = 4.74 Γ—10βˆ’4 rad 2 Οƒ = o S L ρ L 25.12 Γ— 0.84 2 Ο†Λ†

13.11 A squaring loop is used for carrier recovery in a BPSK system. Calculate the normalized loop bandwidth BN Tb needed so that the output phase error variance after the prescaler is 0.04 rad2. Assume that the received signal Eb / N o is 11 dB. Solution

The output phase error variance due to AWGN is obtained from (13.23) as

Οƒ Ο†2Λ† = o

BN Tb BN Tb = = 0.0834 BN Tb rad 2 S L ρ L 0.952 Γ—12.59

1 times that at the input. Since N the phase error variance at the prescaler output is required to be 0.04 rad2, the input phase error variance (i.e., inside the loop) should be less than 22 Γ— 0.04 = 0.16 rad2. Therefore, we want to find BN Tb value such that 0.0834 BN Tb ≀ 0.16 . That is,

The phase (error) at the Γ· N prescaler output is

BN Tb ≀ 1.918 or BN ≀

1.918 Tb

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Let us choose BN =

1.875 . Tb

a. Write an expression for the closed-loop transfer function of the two-pole PLL that meets the above phase error specification. Solution:

For the two-pole PLL, we note the following relationship between K, ΞΆ, and Ο‰n from Table 5.4: K=

Ο‰n 2ΞΆ

The noise bandwidth of the two-pole PLL is given From Table 5.4 as BN =

Ο‰n 8ΞΆ

We choose damping constant ΞΆ = 1 to prevent an overshoot of the phase error. Substituting yields

Ο‰n = 8ΞΆ BN = 8 Γ— 1Γ—

1.875 15 = radians/sec Tb Tb

The closed-loop transfer function of the two-pole PLL is given by

H (s) =

Ο‰n2 225 = 2 2 2 2 s + 2sΞΆΟ‰n + Ο‰n s Tb + 30Tb s + 225

From Table 5.4, the open loop gain K and time-constant Ο„ 1 are given by K = 4 BN = 4 Γ—

Ο„1 =

1.875 7.5 = Tb Tb

Tb T 1 = = b 2 4KΞΆ 4 Γ— 7.5 30

The loop filter is given by F (s) =

7.5 / Tb K = 1 + Ο„ 1s 1 + s (Tb / 30 )

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Sketch an implementation of the PLL loop filter.

Ο„ 1 = RC =

R

K=

Ο…in

7.5 Tb

C

Tb 30

Ο…out

13.12 A Costas loop is used for carrier recovery in a BPSK system with following parameters: Bit rate = 1 Mb/s Loop filter noise bandwidth BN = 50 kHz Loop SNR ρ L = 10 dB a. Calculate the squaring loss. Solution: SL =

1+

1 = 0.5

ρL

1 1 = = 0.9524 0.5 1.05 1+ 10

b. Calculate the loop phase error variance. Solution:

Οƒ Ο†2Λ† = o

BN T 50 Γ—103 Γ—10βˆ’6 = = 5.25 Γ—10βˆ’3 rad 2 0.9524 Γ—10 SL ρL

13.13 PLLs used in clock recovery circuits are characterized by very small bandwidth (Ο‰3dBT << 1) and damping factor ΞΆ β‰₯ 5. a. Show that the closed loop transfer function of the PLL in (13.35) can be approximated to that of a single-pole filter.

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


H ( s) β‰ˆ

2ΞΆΟ‰n s + 2ΞΆΟ‰n

Solution:

The phase transfer function of the resulting second-order PLL active lead-lag loop filter is given from Table 5.4 as βŽ›

H (s) =

Ο‰n2 + s ⎜ 2ΞΆΟ‰n βˆ’

Ο‰n2 ⎞

⎟ K ⎠ ⎝ s 2 + 2 sΞΆΟ‰n + Ο‰n2

For large K, this can be simplified to 2ΞΆΟ‰n s + Ο‰n2 H ( s) = 2 s + 2 sΞΆΟ‰n + Ο‰n2

This can be expressed as 2ΞΆΟ‰n +

H (s) =

Ο‰n2 s

s + 2ΞΆΟ‰n +

Ο‰n2 s

In the limit as s β†’ ∞ , the phase transfer function asymptotically approaches the LP transfer function

H ( s) β‰ˆ

2ΞΆΟ‰n s + 2ΞΆΟ‰n

b. What is the 3-dB bandwidth of the loop ? Solution:

In Ο‰-domain, we can express H(s) as

H ( jΟ‰ ) β‰ˆ

2ΞΆΟ‰n 1 1 = = jΟ‰ + 2ΞΆΟ‰n βŽ› Ο‰ ⎞ βŽ› Ο‰ ⎞ j⎜ ⎟ +1 1+ j ⎜ ⎟ ⎝ 2ΞΆΟ‰n ⎠ ⎝ Bβˆ’3dB ⎠

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


where Bβˆ’3dB = 2ΞΆΟ‰n radians/sec is the 3-dB bandwidth of the loop. 13.14 Consider length-13 Neuman-Hofman sequence [1, 1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, 1] . a. Compute and sketch its autocorrelation function. Solution:

The autocorrelation function Rc (k ) of the FAW is given by Rc (k )

1 N βˆ’ k βˆ’1 βˆ‘ ci ci + k N i =0

Autocorrelation of length-13 Neuman-Hofman sequence: 1, 1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1, -1 1 0.9 0.8 0.7

Rc (k)

0.6 0.5 0.4 0.3 0.2 0.1 0 -10

-5

0 k

5

10

b. What is the magnitude of its maximum side-lobe values? Solution:

The autocorrelation function side-lobes for this sequence are no larger than 0.1538.

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


k

Rc (k )

k

Rc (k )

βˆ’12 βˆ’11 βˆ’10 βˆ’9 βˆ’8 βˆ’7 βˆ’6 βˆ’5 βˆ’4 βˆ’3 βˆ’2 βˆ’1 0

βˆ’0.0769 0.0 βˆ’0.0769 0.0 0.0769 0.0 0.0769 0.0 0.0769 0.1538 0.0769 0.1538 1.0

12 11 10 9 8 7 6 5 4 3 2 1

βˆ’0.0769 0.0 βˆ’0.0769 0.0 0.0769 0.0 0.0769 0.0 0.0769 0.1538 0.0769 0.1538

c. Comment on its correlation properties versus that of length-13 Barker sequence. Solution:

1. This sequence satisfies Barker property Rc (k ) ≀ 1, k β‰  0 2. The maximum sidelobe magnitude is

2 1 versus for Barker sequences. N N

13.15 Consider length-15 PN sequence [-1, 1, 1, 1, -1, -1, -1, -1, 1, -1, 1, -1, -1, 1, 1]. a. Compute and sketch its autocorrelation function. Solution: Autocorrelation of length-15 PN sequence: -1, 1, 1, 1, -1, -1, -1, -1, 1, -1, 1, -1, -1, 1, 1

0.8

Rc (k)

0.6

0.4

0.2

0

-0.2 -10

-5

0 k

5

10

18

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


k

Rc (k )

k

Rc (k )

βˆ’14 βˆ’13 βˆ’12 βˆ’11 βˆ’10 βˆ’9 βˆ’8 βˆ’7 βˆ’6 βˆ’5 βˆ’4 βˆ’3 βˆ’2 βˆ’1 0

βˆ’0.0667 0.0 0.2 0.133 βˆ’0.2 βˆ’0.133 βˆ’0.2 0.133 0.0667 βˆ’0.133 βˆ’0.2 βˆ’0.2677 βˆ’0.0667 0.0 1.0

14 13 12 11 10 9 8 7 6 5 4 3 2 1

βˆ’0.0667 0.0 0.2 0.133 βˆ’0.2 βˆ’0.133 βˆ’0.2 0.133 0.0667 βˆ’0.133 βˆ’0.2 βˆ’0.2677 βˆ’0.0667 0.0

b. What is the magnitude of its maximum side-lobe values? Solution:

The autocorrelation function side-lobes for this sequence are no larger than 0.2677. c. Comment on its correlation properties versus that of length-13 Barker sequence. Solution:

1. This sequence satisfies Barker property Rc (k ) ≀ 1, k β‰  0 2. The maximum sidelobe magnitude is

4 1 versus for Barker sequences. N N

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 14

14.1 A discrete memoryless source x emits symbols from the alphabet set A = {a, b, c, d , e} with probabilities {0.5, 0.3, 0.1, 0.05, 0.05} respectively. a. Determine the information content of the source in bits/symbol. Solution: H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈A

= βˆ’0.5log 2 ( 0.5 ) βˆ’ 0.3log 2 ( 0.3) βˆ’ 0.1log 2 ( 0.1) βˆ’ 0.05log 2 ( 0.05 ) βˆ’ 0.05log 2 ( 0.05 ) = 1.7855 bits/symbol b. What is the maximum information content of the source? Specify the corresponding source PMF. Solution: The entropy of the information source is maximum when all symbols in the alphabet are equiprobable. That is, the probabilities of symbols in the alphabet set A = {a, b, c, d , e} are {0.2, 0.2, 0.2, 0.2, 0.2} . The maximum value of source entropy is then log 2 5 = 2.3219 bits/symbol . c. Determine the number of bits per symbol required to transmit the source with simple binary coding. Solution: Since the number of symbols in the alphabet is 5, k = 3 bits are required with simple binary coding to satisfy 2k β‰₯ 5. 14.2 A discrete memoryless source emits symbols every 125 Β΅sec from the alphabet set A = {βˆ’1, βˆ’3 / 4, βˆ’1/ 2, βˆ’1/ 4,1/ 4,1/ 2,3 / 4,1} with respective probabilities

{1/16,1/16,1/ 8,1/ 4,1/ 4,1/ 8,1/16,1/16} . a. Determine the entropy of the source. Solution:

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈A

= βˆ’0.0625log 2 ( 0.0625 ) βˆ’ 0.0625log 2 ( 0.0625 ) βˆ’ 0.125log 2 ( 0.125 ) βˆ’ 0.25log 2 ( 0.25 ) βˆ’ 0.25log 2 ( 0.25 ) βˆ’ 0.125log 2 ( 0.125 ) βˆ’ 0.0625log 2 ( 0.0625 ) βˆ’ 0.0625log 2 ( 0.0625 ) = 2.75 bits/symbol

b. What is the minimum bit rate required to transmit the source? Solution: Minimum bit rate required to transmit the source =

2.75 = 22 kbps 125 Γ— 10βˆ’6

14.3 A discrete memoryless source emits symbols from the alphabet set A = {0,1/ 8,1/ 4,1 / 2,3 / 4, 7 / 8,15 / 16,1} with respective probabilities

{1/16, 1/ 8, 1/ 8, 1/ 4, 5 / 32, 1/ 8, 3 / 32, 1/16} . a. Determine the entropy of the source. Solution:

H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈A

1 1 1 1 5 log 2 (1/16 ) βˆ’ log 2 (1/ 8 ) βˆ’ log 2 (1/ 8 ) βˆ’ log 2 (1/ 4 ) βˆ’ log 2 ( 5 / 32 ) 16 8 8 4 32 1 3 1 βˆ’ log 2 (1/ 8 ) βˆ’ log 2 ( 3 / 32 ) βˆ’ log 2 (1/16 ) 8 32 16 = 2.8636 bits/symbol =βˆ’

b. Assuming that the source is quantized according to the following quantization table Input symbol 0, 1/8, 1/4 1/2, 3/4 7/8,15/16, 1

Quantizer output symbol 1/8 1/2 15/16

Find the entropy of the quantized source. Solution:

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The following table summarizes probabilities of the quantizer output symbols: Input symbol

Quantizer output symbol

0, 1/8, 1/4 1/2, 3/4 7/8,15/16, 1

1/8 1/2 15/16

Probability of quantizer output symbol 10/32 13/32 9/32

The entropy of the quantized source is given by H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈AQ

10 13 9 log 2 (10 / 32 ) βˆ’ log 2 (13 / 32 ) βˆ’ log 2 ( 9 / 32 ) 32 32 32 = 1.5671 bits/symbol =βˆ’

14.4 Consider a discrete-time, continuous amplitude source x characterized by the Laplacian PDF 2x

βˆ’ 1 e Οƒx 2Οƒ x

f x ( x) =

a. Calculate the differential entropy of x. Solution:

The differential entropy of x is obtained using (14.20) as ∞

∞

βˆ’βˆž

βˆ’βˆž

h ( x ) = βˆ’ ∫ f x ( x) log 2 f x ( x)dx = βˆ’ ∫ f x ( x)

log e f x ( x) dx log e 2

2x ⎀ ⎑ 1 βˆ’ Οƒx βŽ₯ log e ⎒ e ∞ βˆ’ 2x 2 Οƒ ⎒ βŽ₯ x 1 Οƒx ⎣ ⎦ dx e =βˆ’ ∫ log e 2 2Οƒ x βˆ’βˆž ∞ βˆ’ ⎑ βŽ› 1 ⎞ 2 x⎀ 1 e Οƒ x ⎒log e ⎜ dx =βˆ’ βˆ’ ⎟ ∫ ⎜ 2Οƒ ⎟ Οƒ βŽ₯ ( log e 2 ) 2Οƒ x βˆ’βˆž ⎒⎣ βŽ₯ x x ⎠ ⎝ ⎦ 2x

βŽ› 1 ⎞ log e ⎜ ⎟ 2x 2x ∞ 2Οƒ x ⎠ ∞ βˆ’ Οƒ x 2 x βˆ’ Οƒx 1 ⎝ e dx + =βˆ’ e dx ( log e 2 ) 2Οƒ x βˆ’βˆžβˆ« ( log e 2 ) 2Οƒ x βˆ’βˆžβˆ« Οƒ x

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The expression can be further simplified as follows h( x) =

( 2Οƒ ) 1

log e

∞

∫e

x

( log e 2 )

βˆ’

2x

Οƒx

2Οƒ x βˆ’βˆž

∞

2x

βˆ’ 2 1 Οƒx dx + x e dx ∫ Οƒ x ( log e 2 ) 2Οƒ x βˆ’βˆž

Οƒx

1

2

= log 2

( 2Οƒ ) Γ—1 + Οƒ ( log2 2) Οƒ 2 x

x

x

= log 2

e

log e = log ( 2Οƒ e ) ( 2Οƒ ) + log 2 e

2

x

x

e

b. Assume that the source x is uniformly quantized with a quantization step size βˆ†. Let p xQ ( iβˆ† ) be the probability that x is quantized to iβˆ†, where i = 0, Β±1, Β±2,... . Solution:

If the source x with Laplacian PDF is uniformly quantized with a quantization step size βˆ†, the PMF of the quantized source xQ is given by 2x ⎧( i + 0.5) βˆ† 1 βˆ’ Οƒx βŽͺ ∫ e dx, i = 0, Β±1, Β±2,... p xQ ( iβˆ† ) = ⎨( i βˆ’0.5 2 Οƒ βˆ† x ) βŽͺ otherwise ⎩0,

For i = 0, βˆ†/2

βˆ†/2

2x

2x

2x

βˆ’ βˆ’ βˆ’ 1 2 Οƒx Οƒx Οƒx px ( 0 ) = e dx = e dx = βˆ’ e ∫ ∫ Οƒx 0 2Οƒ x βˆ’βˆ† /2

where Ξ± =

βˆ† /2 βˆ’

Ξ±

= 1βˆ’ e 2 0

2βˆ†

Οƒx

For i β‰₯ 1, ( i + 0.5) βˆ†

2x

2x

βˆ’ βˆ’ 1 Οƒx Οƒx = βˆ’ p x ( iβˆ† ) = e dx e ∫ 2Οƒ x (i βˆ’0.5)βˆ† βˆ’

=

e

2iβˆ†

Οƒx

2

( i + 0.5) βˆ†

1⎑ βˆ’ = ⎒e 2⎒ ⎣ βˆ’ ( i βˆ’ 0.5) βˆ†

2 ( i βˆ’ 0.5) βˆ†

Οƒx

βˆ’e

βˆ’

2 ( i + 0.5) βˆ†

Οƒx

⎀ βŽ₯ βŽ₯ ⎦

2βˆ† ⎞ 2iβˆ† βŽ› + 2βˆ† βˆ’ βˆ’ βŽ› 2βˆ† ⎞ βˆ’ iΞ± βŽ›Ξ± ⎞ ⎜ e 2Οƒ x βˆ’ e 2Οƒ x ⎟ = e Οƒ x sinh ⎜ ⎟⎟ = e sinh ⎜ ⎟ ⎜ ⎜ ⎟ ⎝2⎠ ⎝ 2Οƒ x ⎠ ⎝ ⎠

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Because f x ( x) is even function (symmetric), we can show that

p x ( i βˆ† ) = p x ( βˆ’i βˆ† ) = e

βˆ’iΞ±

βŽ›Ξ± ⎞ sinh ⎜ ⎟ ⎝2⎠

c. Calculate the entropy of the quantized source xQ . Solution:

The entropy of the quantized source xQ can now be calculated as H ( xQ ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈AQ

∞

= βˆ’ p x (0) log 2 p xQ (0) βˆ’ 2βˆ‘ p x ( xi ) log 2 p x ( xi ) i =1

where A Q = {iβˆ†, i = 0, Β±1, Β±2,...} . Now ∞

βˆ’βˆ‘ p x ( xi ) log 2 p x ( xi ) = βˆ’ i =1

1 ∞ βˆ‘ px ( xi ) log e px ( xi ) log e 2 i =1

=βˆ’

1 ⎫ βŽ›Ξ± ⎞⎧ ∞ sinh ⎜ ⎟ βŽ¨βˆ‘ e βˆ’ iΞ± ⎑⎣ βˆ’iΞ± + log e ( sinh(Ξ± / 2) ) ⎀⎦ ⎬ log e 2 ⎝ 2 ⎠ ⎩ i =1 ⎭

=βˆ’

∞ 1 ⎫ βŽ›Ξ± ⎞⎧ ∞ sinh ⎜ ⎟ ⎨α βˆ‘ βˆ’ie βˆ’iΞ± + log e ( sinh(Ξ± / 2) ) βˆ‘ e βˆ’ iΞ± ⎬ log e 2 ⎝ 2 ⎠ ⎩ i =1 i =1 ⎭

From Appendix A, we have ∞

βˆ‘ eβˆ’iΞ± = i =1

e βˆ’Ξ± 1 = Ξ± βˆ’Ξ± 1βˆ’ e e βˆ’1

Taking derivative of both sides ∞

βˆ’βˆ‘ ie βˆ’ iΞ± = i =1

d βŽ› 1 ⎞ eΞ± = βˆ’ ⎜ ⎟ 2 dΞ± ⎝ eΞ± βˆ’ 1 ⎠ ( eΞ± βˆ’ 1)

Substituting ⎧ ⎫ ∞ 1 βŽͺ βˆ’Ξ± eΞ± βŽ›Ξ± ⎞βŽͺ log sinh( Ξ± / 2) βˆ’βˆ‘ p x ( xi ) log 2 p x ( xi ) = βˆ’ sinh ⎜ ⎟ ⎨ + ( ) ⎬ 2 2 eΞ± βˆ’ 1 βŽͺ ⎝ 2 ⎠ βŽͺ log e 2 ( eΞ± βˆ’ 1) i =1 ⎩ ⎭

5 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎧ ⎫ Ξ± Ξ± βˆ’ ⎞ βˆ’ ⎞ βŽ› βŽ› 1 βŽͺ βˆ’eΞ± βŽ›Ξ± ⎞βŽͺ Ξ± H ( xQ ) = βˆ’ ⎜1 βˆ’ e 2 ⎟ log 2 ⎜1 βˆ’ e 2 ⎟ βˆ’ 2sinh ⎜ ⎟ ⎨ log sinh( Ξ± / 2) + ) Ξ± ⎬ 2( 2 e βˆ’ 1βŽͺ ⎝ 2 ⎠ βŽͺ log e 2 ( eΞ± βˆ’ 1) ⎝ ⎠ ⎝ ⎠ ⎩ ⎭

14.5

For a continuous random variable x with x ≀ a , the entropy is maximum if x is uniformly distributed over [βˆ’a, a] . Show that the maximum entropy is given by log 2 2a . Solution:

We want to solve the following optimization problem: Max h ( x ) f x ( x)

subject to the constraint ∞

g1 ( x) = ∫ f x ( x)dx βˆ’ 1 = 0 βˆ’βˆž

x ≀a We use the calculus of variation to solve this constrained optimization problem1. In the present case, L ( x, f x ( x), Ξ» ) = h [ f x ( x) ] + Ξ» g1 [ f x ( x)]

The optimum f x ( x) and Lagrange multiplier Ξ» satisfy

b

1

Maximize:

h [ y ( x) ] = ∫ F ( x, y, y ') dx a b

Subject to:

g1 [ y ( x) ] = ∫ G ( x, y, y ') dx a

To solve this problem, the Lagrangian function L ( x, y, y ', Ξ» ) is formed as shown below:

L ( x, y, y ', Ξ» ) = F ( x, y, y ') + Ξ»G ( x, y, y ' ) To find the optimum y(x), the following unconstrained Euler equation is solved along with the constraint equation.

d βŽ› βˆ‚L ⎞ βˆ‚L =0 ⎜ βŽŸβˆ’ dx ⎝ βˆ‚y ' ⎠ βˆ‚y

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βˆ‚L =0 βˆ‚y That is, dh ( x ) dg ( x ) +Ξ» 1 =0 df x ( x) df x ( x)

Now a

h ( x ) = βˆ’ ∫ f x ( x) log 2 f x ( x)dx = βˆ’ βˆ’a

a

1 f x ( x) log e f x ( x)dx log e 2 βˆ’βˆ«a

Differentiating it with respect to f x ( x ) , we obtain dh ( x ) 1 =βˆ’ [1 + log e f x ( x)] log e 2 df x ( x)

=βˆ’

log e e log 2 f x ( x) βˆ’ log e 2 log e 2

= βˆ’ log 2 e βˆ’ log 2 f x ( x)

dg1 ( x ) =1 df x ( x)

Substituting, we obtain βˆ’ log 2 e βˆ’ log 2 f x ( x) + Ξ» = 0 or log 2 f x ( x) = βˆ’ log 2 e + Ξ» We note that optimum f x ( x ) is independent of x. Hence, the random variable x ≀ a must be uniformly distributed in the range [βˆ’a, a] . That is,

⎧1 βŽͺ , f x ( x ) = ⎨ 2a βŽͺ⎩0,

x ≀a otherwise

The maximum differential entropy of the random variable x ≀ a is given by 1 1 βŽ› 1 ⎞ h( x) = βˆ’ ∫ log 2 ⎜ ⎟ dx = log 2 ( 2a ) ∫ dx = log 2 ( 2a ) 2a 2a ⎝ 2a ⎠ βˆ’a βˆ’a a

a

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


14.6

For a continuous random variable x with x 2 = Οƒ x2 , the Gaussian PDF maximizes the entropy. Show that

1 h ( x ) ≀ log 2 ( 2Ο€ eΟƒ x2 ) bits 2 where the equality is achieved if x ~ N ( 0, Οƒ x2 ) . Solution:

We want to solve the following optimization problem: Max h ( x ) f x ( x)

subject to the constraints ∞

g1 ( x) = ∫ f x ( x)dx βˆ’ 1 = 0 βˆ’βˆž ∞

g 2 ( x) = ∫ x 2 f x ( x)dx βˆ’ Οƒ x2 = 0 βˆ’βˆž

As discussed in Problem 14.5, the optimum f x ( x ) and multipliers Ξ»1 , Ξ»2 satisfy dh ( x ) dg ( x ) dg ( x ) + Ξ»1 1 + Ξ»2 2 =0 df x ( x) df x ( x) df x ( x)

(*)

Now dh ( x ) 1 =βˆ’ [1 + log e f x ( x)] df x ( x) log e 2 dg1 ( x ) =1 df x ( x) dg 2 ( x ) = x2 df x ( x) Substituting into (*), we obtain the following condition for optimal solution.

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βˆ’1 βˆ’ log e f x ( x) + Ξ»1 log e 2 + ( Ξ»2 log e 2 ) x 2 = 0 or log e f x ( x) = ( Ξ»1 log e 2 βˆ’ 1) + ( Ξ»2 log e 2 ) x 2 Solving for the optimal f x ( x) yields

f x ( x ) = e( 1

Ξ» log e 2 βˆ’1) + ( Ξ»2 log e 2 ) x 2

(**)

We can now determine λ1 and λ2 by substituting the expression for f x ( x) into the constraint equations as follows: ∞

1 = ∫ e( 1

Ξ» log e 2 βˆ’1) + ( Ξ»2 log e 2 ) x 2

dx

βˆ’βˆž

= 2e( 1

Ξ» log e 2 βˆ’1)

∞

∫e

( Ξ»2 loge 2 ) x 2

dx

0

= 2e( 1

Ξ» log e 2 βˆ’1)

e( 1

Ξ» log e 2 βˆ’1)

βŽ›1 ⎞ Ο€ ⎜⎜ ⎟⎟ , ⎝ 2 βˆ’Ξ»2 log e 2 ⎠

Ξ»2 < 0

βˆ’Ξ»2 log e 2

=

Ο€

Also, ∞

Οƒ = ∫ x 2e( Ξ» log 2βˆ’1)+( Ξ» log 2) x dx 2

2 x

e

1

2

e

βˆ’βˆž

= e( 1

Ξ» log e 2 βˆ’1)

∞

∫xe 2

( Ξ»2 loge 2 ) x 2

dx

βˆ’βˆž

= =βˆ’

βˆ’Ξ»2 log e 2

Ο€

∞

∫xe 2

( Ξ»2 loge 2 ) x 2

dx

βˆ’βˆž

1 2Ξ»2 log e 2

or

Ξ»2 log e 2 = βˆ’

1 2Οƒ x2

Substituting the value of Ξ»2 yields

9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


e( 1

Ξ» log e 2 βˆ’1)

βˆ’Ξ»2 log e 2

=

Ο€

=

1 2πσ

2 x

=

1 2πσ x2

and

e( 2

Ξ» log e 2 ) x 2

= e βˆ’ x /Οƒ x 2

2

Substituting Ξ»1 and Ξ»2 into (**), the optimal f x ( x) is obtained as

f x ( x ) = e( 1

Ξ» log e 2 βˆ’1)

=

14.7

1

e( 2

Ξ» log e 2 ) x 2

e βˆ’ x /Οƒ x 2

2πσ x2

2

A Gaussian random signal with zero mean, variance Οƒ 2 and bandwidth B Hz is sampled at the Nyquist rate. The sampled signal is then applied to a quantizer with the following quantization table:

Quantizer Input (βˆ’βˆž, βˆ’4Οƒ) (βˆ’4Οƒ, βˆ’3Οƒ) (βˆ’3Οƒ, βˆ’2Οƒ) (βˆ’2Οƒ, βˆ’Οƒ) (βˆ’Οƒ, Οƒ) (Οƒ, 2Οƒ) (2Οƒ, 3Οƒ) (3Οƒ, 4Οƒ) (4Οƒ, ∞)

Quantizer output y y0 y1 y2 y3 y4 y5 y6 y7 y8

a. Determine the entropy of the quantizer output. Solution:

We calculate probabilities of the quantizer outputs by noting that P {k1Οƒ ≀ x ≀ k2Οƒ } = Fx (k2Οƒ ) βˆ’ Fx (k1Οƒ ) βŽ› βˆ’k Οƒ ⎞ βŽ› βˆ’k Οƒ ⎞ = Q ⎜ 2 ⎟ βˆ’ Q ⎜ 1 ⎟ = Q ( βˆ’k2 ) βˆ’ Q ( βˆ’ k1 ) ⎝ Οƒ ⎠ ⎝ Οƒ ⎠ = 1 βˆ’ Q ( k2 ) βˆ’ 1 + Q ( k1 ) = Q ( k1 ) βˆ’ Q ( k2 )

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Quantizer output y

Probability p y ( y j )

y0 y1 y2 y3 y4 y5 y6 y7 y8

3.1671Γ—10βˆ’5 0.0013 0.0214 0.1359 0.6827 0.1359 0.0214 0.0013 3.1671Γ—10βˆ’5

The entropy of the quantized source y is given by H ( y ) = βˆ’ βˆ‘ p y ( y j ) log 2 p y ( y j ) y j ∈A y

= βˆ’2 Γ— 0.0013log 2 ( 0.0013) βˆ’ 2 Γ— 0.0214 log 2 ( 0.0214 ) βˆ’ 2 Γ— 0.1359 log 2 ( 0.1359 ) βˆ’ 0.6827 log 2 ( 0.6827 ) = 1.4209 bits/symbol b. Calculate the minimum bit rate required to transmit the quantized source. Solution:

Minimum bit rate = 2BΓ—1.4209 =2.8418 B bits/sec 14.8

A discrete memoryless source has the alphabet A x = {a, b, c, d } with respective probabilities {1/2, 1/4, 1/8, 1/8}. a. Determine the number of typical sequences of length 8. Solution:

H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈AQ

= βˆ’0.5log 2 ( 0.5 ) βˆ’ 0.25log 2 ( 0.25 ) βˆ’ 0.125log 2 ( 0.125 ) βˆ’ 0.125log 2 ( 0.125 ) = 14 / 8 bits/symbol The number of typical sequences of length 8 is 2nH ( x ) = 28Γ—14/8 = 214 . b. Determine the number of nontypical sequences of length 8. Solution:

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The number of atypical sequences is 48 βˆ’ 214 = 216 βˆ’ 214 = 3 Γ— 214 . c. Write two examples each of typical and nontypical sequences of length 8. Solution:

Examples of typical sequences include those with a appearing 8Γ—1/2 = 4 times, b appearing 8Γ—1/4 = 2 times, etc.. Two such sequences are {a,d,b,b,a,a,c,a} and {a,a,a,a,c,d,b,b}. Examples of nontypical sequences of length 8: {d,d,b,c,c,a,b,d} and {c,c,c,c,c,b,c,c}. 14.9

A discrete memoryless source emits symbols every 1 ms from the alphabet A x = { x1 , x2 ,..., x8 } with respective probabilities

{0.35, 0.2, 0.15, 0.12, 0.08, 0.05, 0.03, 0.02} . a. Determine the entropy of the source. Solution:

H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈AQ

= βˆ’0.35log 2 ( 0.35 ) βˆ’ 0.2 log 2 ( 0.2 ) βˆ’ 0.15log 2 ( 0.15 ) βˆ’ 0.12 log 2 ( 0.12 ) βˆ’ 0.08log 2 ( 0.08 ) βˆ’ 0.05log 2 ( 0.05 ) βˆ’ 0.03log 2 ( 0.03) βˆ’ 0.02 log 2 ( 0.02 ) = 2.5443 bits/symbol b. Use the Huffman coding procedure to assign binary codewords to all symbols. Solution:

A Huffman tree for this source is developed in Figure. The Huffman code is displayed in Table.

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0.35

1

0.62 0

x1

0

x1 x4 x5

x1 x2 x3 x4 x5 x6 x7 x8

0.2

0.38

0

x2 x5 x6 x7 x8

x2 0.15

x3

1

0.27 0

x4 x5 1

0.12

x4

1

0.08

0.18 0

x5

x5 x6 x7 x8

0.05

0.05

x6

x6

0.03

x7

0.05 0

x7 x8

0.1 0

1

x6 x7 x8

1 0 1

0.02

x8

1

1

Symbol Codeword x1

00

x2

10

x3

010

x4

011

x5

110

x6

1110

x7

11110

x8

11111

c. What is the average length of the Huffman code and how does it compare with the entropy of the source? Solution:

The average number of bits/symbol for this code is given by using (14.97) as

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


l = βˆ‘ p x (ai )l (ai ) = 2 Γ— 0.35 + 2 Γ— 0.2 + 3 Γ— 0.15 + 3 Γ— 0.12 ai ∈A x

+ 3 Γ— 0.08 + 4 Γ— 0.05 + 5 Γ— 0.03 + 5 Γ— 0.02 = 2.6 bits/symbol

d. Calculate the minimum bit rate required to transmit the source. Solution:

Minimum bit rate required to transmit the source =

2.5443 = 2.5443 kbps 1Γ— 10βˆ’3

14.10 A discrete memoryless source emits symbols from the alphabet A x = {a, b, c, d } with respective probabilities {0.2, 0.5, 0.15, 0.15} . a. Design a Huffman code to assign binary codewords to all symbols. Solution:

A Huffman tree for this source is developed in Figure. The Huffman code is displayed in Table. 0.5

1.0 0

b

0

abcd

1 0.2 0

a

0.3

0.15

c 0.15

d

acd

0

cd 1

1

Symbol

Codeword

b a c d

0 10 110 111

1

b. Now design a Huffman code for encoding pairs of symbols at a time. Solution:

If we now encode pairs of source symbols, we will have the alphabet A x2 = {bb, ba, ab, bc, bd , cb, db, aa, ac, ca, ad , da, cc, cd , dc, dd } with probabilities

{0.25, 0.1, 0.1, 0.075, 0.075, 0.075, 0.075, 0.04, 0.03, 0.03, 0.03, 0.03, 0.0225, 0.0225, 0.0225, 0.0225}

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


A Huffman tree for this source is developed in Figure. The Huffman code is displayed in Table.

0.25

0.56 0

bb 0.1

bbdbaccaaddabacd

baab

0

1

0.1

0.44

1

ab 0

bc cc

0

bcaadcdd

0.075

0.31 dbaccaaddabacd

1

bd

0

0.15 bdcb

0.075 1

cb

0.135

0.075

0 dbacca

db 0.04

0.04

aa

aa

1 0

0.24

1

0.03

0.06 0

dbaccaaddacccd

1

acca

0.03 ca

1

baabdbaccaaddacccd 0.16

0.075

ac

bbdbaccaaddabacd baabdbaccaaddacccd

0.2

0

ba

1

0

0 1

1

0.03

0.06 0

ad

0.105

0

addacccd

adda

0.03 1 da

0.12

0.0225 cc

0.045

0

cccd

0.0225 cd

0.085 1 aadcdd

0.0225 dc 0.0225

1

0

0.045 dcdd

1

1

dd

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Symbol pair

Probability

Codeword

bb ba ab bc bd cb db aa ac ca ad da cc cd dc dd

0.25 0.1 0.1 0.075 0.075 0.075 0.075 0.04 0.03 0.03 0.03 0.03 0.0225 0.0225 0.0225 0.0225

00 100 101 0100 0110 0111 1100 01010 11010 11011 11100 11101 11110 11111 010110 010111

c. Compare the performance of the two codes. How do they compare with the entropy of the source? Solution:

H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈A x

= βˆ’0.5log 2 ( 0.5 ) βˆ’ 0.2 log 2 ( 0.2 ) βˆ’ 0.15log 2 ( 0.15 ) βˆ’ 0.15log 2 ( 0.15) = 1.7855 bits/symbol The average number of bits/symbol for the code in (a) is given by using (14.97) as l = βˆ‘ p x (ai )l (ai ) = 1Γ— 0.5 + 2 Γ— 0.2 + 3 Γ— 0.3 ai ∈A x

= 0.5 + 0.4 + 0.9 = 1.8 bits/symbol

The average number of bits/symbol pair for the code in (b) is given by using (14.101) as

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


l2 = βˆ‘ p x ( x)l ( x) = 2 Γ— 0.25 + 6 Γ— 0.1 + 16 Γ— 0.075 + 5 Γ— 0.04 + 20 Γ— 0.03 x

+ 10 Γ— 0.0225 + 12 Γ— 0.0225 = 0.5 + 0.6 + 1.2 + 0.2 + 0.6 + 0.225 + 0.27 = 3.595 bits/symbol pair Therefore, the average code length = 1.7975 bits/symbol. Coding method

Bits/symbol

Entropy Huffman coding symbols of alphabet Huffman coding pair of symbols

1.7855 1.8 1.7975

The entropy of this code is also 1.7855 bits/symbol. The average number of bits/symbol for the Huffman code is 1.8 bits. This code very closely approaches the entropy of the source. By encoding pair of symbols, we achieve a slight improvement but it is not worth the complexity. 14.11 Let a binary channel be described by the transition probabilities matrix βŽ› 2 / 3 1/ 3 ⎞ P=⎜ ⎟ ⎝ 1/ 8 7 / 8 ⎠ 3 1 and P ( x2 ) = . 4 4 a. Determine the output symbol probabilities.

Assume the source probabilities are P ( x1 ) =

Solution: The joint PMF p xy ( xi , y j ) of random variables x and y can be computed using the

transition probabilities matrix P and source probabilities as follows:

y

y1

y2

x1

1/2

1/4

x2

1/32

7/32

x

From the joint probability matrix, we can compute marginal PMF of the channel output random variable.

p y = (17 / 32 15 / 32 )

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Calculate H ( x ) , H ( x y ) , and mutual information I ( x; y ) . Solution:

H ( x ) = βˆ’ βˆ‘ p x ( xi ) log 2 p x ( xi ) xi ∈A x

= βˆ’0.75log 2 ( 0.75 ) βˆ’ 0.25log 2 ( 0.25 ) = 0.8113 bits/symbol

H ( y ) = βˆ’ βˆ‘ p y ( y j ) log 2 p y ( y j ) y j ∈A y

= βˆ’ (17 / 32 ) log 2 (17 / 32 ) βˆ’ (15 / 32 ) log 2 (15 / 32 ) = 0.9972 bits/symbol H ( x, y ) = βˆ’ βˆ‘ βˆ‘ p xy ( xi , y j ) log 2 p xy ( xi , y j ) xi ∈A x y j ∈A y

= βˆ’ (1/ 2 ) log 2 (1/ 2 ) βˆ’ (1/ 4 ) log 2 (1/ 4 ) βˆ’ (1/ 32 ) log 2 (1/ 32 ) βˆ’ ( 7 / 32 ) log 2 ( 7 / 32 ) = 1.6359 bits/symbol Now H ( x y ) = H ( x , y ) βˆ’ H ( y ) = 1.6359 βˆ’ 0.9972 = 0.6387 I ( x; y ) = H ( x ) βˆ’ H ( x y ) = 0.8113 βˆ’ 0.6387 = 0.1726 14.12 Consider the channel illustrated in Figure P14.1. Figure P14.1 1-p

0

x

p

1-p

1

1

y

p

p

2

0

1-p

2

a. Write the transition probabilities matrix P of the channel. Solution:

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0 ⎞ βŽ›1 βˆ’ p p ⎜ ⎟ 1βˆ’ p p ⎟ P = ⎜0 ⎜p 0 1 βˆ’ p ⎟⎠ ⎝

b. Calculate the capacity of the channel. For what input distribution is this capacity achieved? Solution:

Since the channel is symmetric, its capacity is given by C = log 2 N βˆ’ H ( p,1 βˆ’ p, 0 ) = log 2 3 βˆ’ H ( p,1 βˆ’ p ) = 1.585 βˆ’ H ( p ) bits/channel use

The capacity is achieved for the input PMF p x = (1/ 3 1/ 3 1/ 3) . 14.13 A channel is described by the transition probabilities matrix βŽ›3/ 8 P=⎜ ⎝ 1/ 8

1/8 3/8

3/8 1/8

1/8 ⎞ ⎟ 3/8 ⎠

Find the capacity of the channel. For what input distribution is this capacity achieved? Solution:

Since the channel is symmetric, its capacity is given by C = log 2 N βˆ’ H ( 3 / 8,1/ 8,3 / 8,1/ 8 ) = log 2 4 βˆ’ 1.8113 = 0.1887 bits/channel use .

The capacity is achieved for the input PMF p x = (1/ 2 1/ 2 ) 14.14 Two binary symmetric channels are connected in cascade as shown in Figure P14.2. a. Determine the transition probabilities matrix for the cascaded channel. Solution:

The transition probabilities matrices of channel 1 and 2 are given by

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ› 0.8 0.2 ⎞ βŽ› 0.8 0.2 ⎞ P1 = ⎜ ⎟ , P2 = ⎜ ⎟ ⎝ 0.2 0.8 ⎠ ⎝ 0.2 0.8 ⎠ Using (14.39), we can write p y = p x P1 p z = p y P 2 = p x P1 P 2 βŽ› 0.8 0.2 ⎞ βŽ› 0.8 0.2 ⎞ P1 = ⎜ ⎟ , P2 = ⎜ ⎟ ⎝ 0.2 0.8 ⎠ ⎝ 0.2 0.8 ⎠ The transition probabilities matrix of the cascaded channel is given by βŽ› 0.68 0.32 ⎞ P = P1 P 2 = ⎜ ⎟ ⎝ 0.32 0.68 ⎠ Figure P14.2

0.8

x1

0.2

0.2

x2

0.8

0.8

y1

y2

z1

0.2

0.2

z2 0.8

Channel 1

Channel 2

b. Calculate P ( z1 ) and P ( z2 ) when P ( x1 ) = P ( x2 ) = 0.5 . Solution:

p z = p x P1 P 2 = ( 0.5

βŽ› 0.68 0.32 ⎞ 0.5 ) ⎜ ⎟ = ( 0.5 ⎝ 0.32 0.68 ⎠

0.5 )

Therefore, P ( z1 ) = P ( z2 ) = 0.5 c. Determine the capacity of each channel. Solution:

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Since both channels are BSC, the capacity is given by C1 = C2 = log 2 (2) βˆ’ H ( 0.8, 02 ) = 1 βˆ’ 0.7219 = 0.2781 bits/channel use d. Determine the capacity of the cascaded channel. Solution:

Since the cascaded channel is BSC, its capacity is given by

C = log 2 (2) βˆ’ H ( 0.68, 0.32 ) = 1 βˆ’ 0.9044 = 0.0956 bits/channel use 14.15 The Z-channel has input alphabet {0, 1}, and output alphabet {0, 1}, like the BSC. However, the Z-channel is asymmetrical. The 0 symbol is always transmitted correctly, but the 1 symbol is received incorrectly (as 0) with probability Ξ΅. a. Sketch the channel diagram showing all transition probabilities. Solution:

0

P(0|0) = 1 |1 P(0

Input x 1

Ξ΅ )=

P(1|1) = 1βˆ’ Ξ΅

0 Output y 1

0 ⎞ βŽ›1 P=⎜ ⎟ ⎝Ρ 1βˆ’ Ξ΅ ⎠

b. Find the capacity of the channel and the input channel PMF that achieves it. Solution:

Let P { x = 0} = po and P { x = 1} = 1 βˆ’ po . p y = p x P = ( po

0 ⎞ βŽ›1 1 βˆ’ po ) ⎜ ⎟ = ( po + Ξ΅ (1 βˆ’ po ) ⎝Ρ 1βˆ’ Ξ΅ ⎠

(1 βˆ’ po )(1 βˆ’ Ξ΅ ) ) 21

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


H ( y ) = βˆ’ βˆ‘ p y ( y j ) log 2 p y ( y j ) y j ∈A y

= βˆ’ ⎑⎣ po + Ξ΅ (1 βˆ’ po ) ⎀⎦ log 2 ( po + Ξ΅ (1 βˆ’ po ) ) βˆ’ (1 βˆ’ po )(1 βˆ’ Ξ΅ ) log 2 ⎑⎣(1 βˆ’ po )(1 βˆ’ Ξ΅ ) ⎀⎦

= H ( (1 βˆ’ po )(1 βˆ’ Ξ΅ ) )

Now H ( y x = 0) = 0 H ( y x = 1) = βˆ’ ( Ξ΅ ) log 2 ( Ξ΅ ) βˆ’ (1 βˆ’ Ξ΅ ) log 2 (1 βˆ’ Ξ΅ ) = H ( Ξ΅ ) H ( y x ) = (1 βˆ’ po ) H ( Ξ΅ ) The channel capacity is given by

{

}

{

}

C = Max H ( y ) βˆ’ H ( y x ) = Max H ( (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ) βˆ’ (1 βˆ’ po ) H ( Ξ΅ ) px

po

Taking the derivative of H ( (1 βˆ’ po ) (1 βˆ’ Ξ΅ ) ) βˆ’ (1 βˆ’ po )H ( Ξ΅ )

(*)

with respect to po and setting the result to zero, we obtain d H ( (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ) dpo

+ H (Ξ΅ ) = 0

(**)

Now d H ( (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ) dpo

=

{

}

d βˆ’ ⎑ po + Ξ΅ (1 βˆ’ po ) ⎀⎦ log 2 ( po + Ξ΅ (1 βˆ’ po ) ) βˆ’ (1 βˆ’ po )(1 βˆ’ Ξ΅ ) log 2 ⎑⎣(1 βˆ’ po )(1 βˆ’ Ξ΅ ) ⎀⎦ dpo ⎣

=βˆ’

(1 βˆ’ Ξ΅ ) ⎑1 + log

{

log e 2 ⎣

e

( p + Ξ΅ (1 βˆ’ p ) )⎀⎦ βˆ’ ⎑⎣1 + log ( (1 βˆ’ p )(1 βˆ’ Ξ΅ ) )⎀⎦} o

o

e

o

⎑ p + Ξ΅ (1 βˆ’ po ) ⎀ ⎑ (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ⎀ = βˆ’ (1 βˆ’ Ξ΅ ) log 2 ⎒ o βŽ₯ = (1 βˆ’ Ξ΅ ) log 2 ⎒ βŽ₯ ⎣ (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ⎦ ⎣ po + Ξ΅ (1 βˆ’ po ) ⎦

Substituting into equation (**), we obtain

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


⎑ (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ⎀ βŽ₯ + H (Ξ΅ ) = 0 ⎣ po + Ξ΅ (1 βˆ’ po ) ⎦

(1 βˆ’ Ξ΅ ) log 2 ⎒ or

⎑ (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ⎀ H (Ξ΅ ) log 2 ⎒ βŽ₯=βˆ’ (1 βˆ’ Ξ΅ ) ⎣ po + Ξ΅ (1 βˆ’ po ) ⎦ or H (Ξ΅ )

(1 βˆ’ po )(1 βˆ’ Ξ΅ ) = 2βˆ’ (1βˆ’Ξ΅ ) po + Ξ΅ (1 βˆ’ po )

for 0 ≀ Ξ΅ < 1 . Solving for po , we obtain po =

1 βˆ’ Ξ΅ (1 + K ( Ξ΅ ) )

(1 βˆ’ Ξ΅ ) (1 + K (Ξ΅ ) )

βˆ’

H (Ξ΅ )

, K ( Ξ΅ ) = 2 (1βˆ’Ξ΅ )

βŽ› 1 βˆ’ Ξ΅ (1 + K ( Ξ΅ ) ) The optimal PMF is ⎜ ⎜ (1 βˆ’ Ξ΅ ) (1 + K ( Ξ΅ ) ) ⎝

K (Ξ΅ )

⎞ ⎟. (1 βˆ’ Ξ΅ ) (1 + K (Ξ΅ ) ) ⎟⎠

Substituting into equation (*), the channel capacity is given by βŽ› K (Ξ΅ ) ⎞ K (Ξ΅ ) C = H ( (1 βˆ’ po )(1 βˆ’ Ξ΅ ) ) = H ⎜⎜ H (Ξ΅ ) ⎟⎟ βˆ’ ⎝ 1 + K ( Ξ΅ ) ⎠ (1 βˆ’ Ξ΅ ) (1 + K ( Ξ΅ ) ) c. Discuss the special cases of (b) when Ξ΅ =0 and Ξ΅ =1. Solution:

For Ξ΅ = 0 , K ( 0 ) = 1. C = H (1/ 2 ) = 1 bit/channel use . The answer is obvious because the channel is exactly the noiseless channel as discussed in Example 14.11. For Ξ΅ = 1 , the capacity is 0 because it is not possible to determine from the output whether a 0 or 1 was transmitted. d. Evaluate the channel input probabilities that achieve the capacity for the case Ξ΅ = 1/2. Solution:

For Ξ΅ = 0.5 , K ( 0.5 ) = 0.25. Substituting, we obtain

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


2 C = H ( 0.2 ) βˆ’ H ( 0.5 ) = 0.7219 βˆ’ 0.4 = 0.3219 bit/channel use 5 14.16 Encode the following string using the LZW algorithm abracadabra Assume that the LZW implementation initializes the dictionary with values 0 βˆ’ 255, where the first 128 entries are ASCII characters. Solution:

The encoder dictionary is initialized with values 0 βˆ’ 255, where the first 128 entries are ASCII characters. Prefix w Nil a b r a c a d a ab r ra

Input a b r a c a d a b r a -

Dictionary

Output

Pointer

New Phrase

Phrase

Pointer

256 257 258 259 260 261 262 263 -

ab br ra ac ca ad da abr -

a b r a c a d ab ra

97 98 114 97 99 97 100 256 258

14.17 Encode the following string using the LZW algorithm This_love_ This_love _is_ a_strange_love_ A_faded_ kind_of_day_love _This_love Solution:

The encoder dictionary is initialized with values 0 βˆ’ 255, where the first 128 entries are ASCII characters. Prefix w nil T h

Input T h i

Dictionary

Output

Pointer

New Phrase

Phrase

Pointer

256 257

Th hi

T h

84 104

24 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


i s _ l o v e _ T Th i is _ _l o ov e e_ i is is_ a _ s t r a n g e e_ l lo v ve _ A _ f a d e d _ k

s _ l o v e _ T h i s _ l o v e _ i s _ a _ s t r a n g e _ l o v e _ A _ f a d e d _ k i

258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292

is s_ _l lo ov ve e_ _T Thi is_ _lo ove e_i is_a a_ _s st tr ra an ng ge e_l lov ve_ _A A_ _f fa ad de ed d_ _k ki

i s _ l o v e _ Th is _l ov e_ is_ a _ s t r a n g e_ lo ve _ A _ f a d e d _ k

105 115 45 108 111 118 101 45 256 258 260 262 264

267 97 45 115 116 114 97 110 103 264 261 263 45 45 102 97 100 101 100 45 107 25

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


i n d d_ o f _ d a y _ _l _lo v ve ve_ T Th Thi s s_ l lo lov e

n d _ o f _ d a y _ l o v e _ T h i s _ l o v e -

293 294 295 296 297 298 299 300 301 302 303 304 305 306 -

in nd d_o of f_ _d da ay y_ _lov ve_T This s_l love -

i n d_ o f _ d a y _lo ve_ Thi s_ lov e

105 110 290 111 102 45 100 97 121 268 282

266 259

281 101

14.18 Decode the following LZW-encoded string

1213346176889 The source encoder alphabet is binary. List the complete dictionary. Solution:

The decoder dictionary is initialized with codewords 1 and 2 for binary characters 0 and 1, respectively.

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Prefix w (Previous O/P)

NIL 0 1 0 01 01 10 010 0 011 010 100 100

Dictionary Input pointer

1 2 1 3 3 4 6 1 7 6 8 8 9

Output phrase

0 1 0 01 01 10 010 0 011 010 100 100 0100

Pointer

Phrase

1 2

0 1

3 4 5 6 7 8 9

01 10 00 010 011 100 0100

10 11 12 13

0110 0101 1001 1000

14.19 Consider a CATV channel with a bandwidth 6 MHz. Assume that the channel can be modeled as an AWGN channel. a. What is the capacity of the channel for a SNR of 35 dB. Solution:

C = W log 2 (1 + SNR ) bits/second =6 Γ—106 Γ— log 2 ( 3.16328 Γ—103 )

.

= 69.76 Mbps b. Calculate the minimum SNR required for a data rate of 43 Mb/s? Solution:

SNR = 2C /W βˆ’ 1 = 243/6 βˆ’ 1 = 142.675 SNR = 21.54 dB c. Compare the bit rate calculated in (a) with that achievable using 256-QAM. The modulator uses RRC pulses with roll-off factor Ξ± = 0.5.

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

Using Table 11.5, the bit rate achievable using 256-QAM is given by 6 Γ—106 = Rb (1 + Ξ± ) / log 2 M = Rb (1 + 0.5) / 8 Rb =

6 Γ— 8 Γ—106 = 32 Γ—106 bits/second 1.5

14.20 Calculate the maximum information rate that can be transmitted over an AWGN channel of bandwidth 200 kHz. Assume that the received power level is 1 mW and the one-sided noise spectral density is 10-9 Watts/Hz. Solution: βŽ› P ⎞ C = W log 2 ⎜1 + s ⎟ ⎝ N oW ⎠ βŽ› ⎞ 10βˆ’3 = 200 Γ—103 Γ— log 2 ⎜1 + βˆ’9 . 3 ⎟ ⎝ 10 Γ— 200 Γ—10 ⎠ = 200 Γ— 103 Γ— log 2 ( 6 ) = 517 kbps

a. How much the capacity is increased by doubling the received power? Solution:

βŽ› ⎞ 2 Γ— 10βˆ’3 C = 200 Γ—103 Γ— log 2 ⎜1 + βˆ’9 3 ⎟ ⎝ 10 Γ— 200 Γ—10 ⎠ = 200 Γ— 103 Γ— log 2 (11) = 691.8863 kbps b. How much the capacity is increased by doubling the bandwidth instead? Solution:

βŽ› ⎞ 10βˆ’3 C = 400 Γ—10 Γ— log 2 ⎜1 + βˆ’9 3 ⎟ ⎝ 10 Γ— 400 Γ— 10 ⎠ = 400 Γ— 103 Γ— log 2 ( 3.5 ) = 722.942 kbps 3

c. Comment on the power-bandwidth trade-off in (a) and (b). Solution:

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The increase in the channel capacity as a function of SNR is logarithmic. The effect of bandwidth on the capacity is more complicated because of two competing effects. On the one hand, the capacity increases linearly as a function of bandwidth. On the other hand, however, a higher bandwidth means higher input noise at the receiver which, in turn, decreases the SNR. In general, the increase in bandwidth provides more favorable tradeoff versus power. 14.21. Find the channel capacity of the DMC shown in Figure P14.3: Figure P14.3

x

y

+ n

The output y of the channel is given by y = x+n

where P {n = 0} = P {n = Ξ΅ } = 1/ 2 and x is a binary random variable with alphabet A x = {βˆ’1,1} . Assume that x and n are statistically independent. Calculate the capacity of channel for values of Ξ΅ = 0, Β±1, and 0.5. Solution:

Ξ΅ = 0 . In this case, y = x , and the channel is identical to the noise-free channel discussed in Example 14.11. Hence the capacity is 1 bit per channel/use.

Ξ΅ = 1 In this case, the channel has two possible outputs corresponding to each of the two inputs, as illustrated in Figure. Since the channel has nonoverlapping outputs, the input x can be determined without error by knowing the output. Hence, H ( x y ) = 0. Therefore,

{

}

C = Max H ( x ) βˆ’ H ( x y ) = Max { H ( x )} = 1 for px

px

p x = (1/ 2 1/ 2 ) .Thus, the capacity of this channel is also 1 bit

channel/use.

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


1/2

βˆ’1

βˆ’1

1/2

Input

0

x

1/2

Output

y

1

1 1/2

2

Ξ΅ = βˆ’1 In this case, the channel has two possible outputs corresponding to each of the two inputs, as illustrated in Figure. Knowing y, we know the x which was sent, and hence H ( x y ) = 0. Therefore,

C = Max { I ( x; y )} = Max { H ( x )} = 1 . The capacity of this channel is px

px

also 1 bit channel/use.

1/2

βˆ’1

1/2

Input

x

1/2 1 1/2

βˆ’1

βˆ’2 Output

y

1

0

Ξ΅ = 0.5 In this case, the channel has two possible outputs corresponding to each of the two inputs, as illustrated in Figure. Knowing y , we know the x which was sent, and hence H ( x y ) = 0. Therefore,

C = Max { I ( x; y )} = Max { H ( x )} = 1 . The capacity of this channel is px

px

also 1 bit channel/use. βˆ’1

1/2

1/2

Input

x

1/2 1

βˆ’1

βˆ’0.5 1

y

1/2 1.5

30 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


14.22 The DCT coefficients corresponding to an 8 Γ— 8 block of pixels is given below: ⎑1260 βˆ’ 1 βˆ’ 12 βˆ’ 5 2 βˆ’ 2 βˆ’ 3 1 ⎀ ⎒ βˆ’23 βˆ’ 17 βˆ’ 6 βˆ’ 3 βˆ’ 3 0 0 βˆ’ 1 βŽ₯βŽ₯ ⎒ ⎒ βˆ’11 9 βˆ’ 2 2 0 βˆ’ 1 βˆ’ 1 0 βŽ₯ ⎒ βŽ₯ 0 1 1 0 0 0βŽ₯ ⎒ βˆ’7 βˆ’2 ⎒ βˆ’1 βˆ’1 1 2 0 βˆ’1 1 1 βŽ₯ ⎒ βŽ₯ 0 2 0 βˆ’1 1 1 βˆ’1βŽ₯ ⎒ 2 ⎒ βˆ’1 0 0 βˆ’1 0 2 1 βˆ’1 βŽ₯ ⎒ βŽ₯ 2 1 βˆ’ 1 0 ⎦βŽ₯ ⎣⎒ βˆ’ 3 2 βˆ’ 4 βˆ’ 2 a. Using JPEG luminance quantization table, find the resulting block of quantized DCT coefficients. Solution:

The quantized DCT coefficients are obtained using (14.109) and table in Figure 14.34 as βŽ› 79 0 ⎜ ⎜ βˆ’2 βˆ’ 1 ⎜ βˆ’1 1 ⎜ βˆ’1 0 G =⎜ ⎜ 0 0 ⎜ ⎜ 0 0 ⎜ 0 0 ⎜⎜ ⎝ 0 0

βˆ’1 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0

0⎞ ⎟ 0⎟ 0⎟ ⎟ 0⎟ 0⎟ ⎟ 0⎟ 0⎟ ⎟ 0 ⎟⎠

b. Find the one-dimensional sequence that results after zig-zag scanning. Solution:

The one-dimensional sequence that results after zigzag scanning quantized DCT AC coefficients in (14.110) is 0 –2 βˆ’1 –1 –1 0 0 1 βˆ’ 1 EOB 14.23 Consider a black-and- white HDTV picture with the frame rate of 60 Hz. Each frame is made up of 1,080 scan lines Γ— 1,920 pixels/line. We assume that pixels

31 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


can occupy one of 16 brightness levels with equal probability and independent of others. a. Calculate the information content of the black-and- white HDTV image. What is minimum bit rate required to transmit the signal? Solution:

Since each pixel can assume one of 16 brightness levels with equal probability and independent of others, the entropy (information content) of the image is 4 bits/ pixel. . Total number of pixels in a frame = 1080Γ— 1920 = 2,073,600 Since each pixel can be represented by 4 bits, the minimum bit rate required to transmit the signal 2,073,600 Γ— 4 Γ— 60 = 497.664 Mbps. b. Repeat (a) for color HDTV if the pixels can additionally occupy one of 256 colors with equal probability and independent of others. Solution:

Since each pixel can assume one of 16 brightness levels and one of 256 colors levels with equal probability and independent of others, it can be represented by 4 + 8 = 12 bits. Minimum bit rate required to transmit the signal 2,073,600 Γ— 12 Γ— 60 = 1.492992 Gbps.

32 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Chapter 15 15.1

Suppose a (3,1) repetition code is used on a BSC with bit error rate p. a. Assuming that the receiver makes decision by taking majority vote of the three bits, find the probability of decoded bit error. Solution: The (3,1) repetition code has d min = 3 . It can correct t = 1 error. The probability of decoded bit error is upper-bounded by

d min n βŽ› n ⎞ j nβˆ’ j βˆ‘ ⎜ ⎟ p (1 βˆ’ p) n j =t +1 ⎝ j ⎠

Pb ≀

3 3 βŽ›3 ⎞ j 3βˆ’ j βˆ‘ ⎜ ⎟ p (1 βˆ’ p) 3 j =2 ⎝ j ⎠

=

= p 3 + 3 p 2 (1 βˆ’ p) b. How many errors this code can correct and detect? Solution:

The (3,1) repetition code can correct t = 1 error and detect s ≀ d min βˆ’ 1 = 2 errors. c. Plot error performance of the (3,1) code as a function of p. Solution: 0

Comparison of Probability of decoded bit error for (3,1)and (5,1) repitition codes

10

(3,1)repitition code (5,1) repitition code

-2

Probability of decoded bit error vs BER

10

-4

10

-6

10

-8

10

-10

10

-12

10

-14

10

-5

10

-4

10

-3

-2

10

10

-1

10

0

10

BER p

1 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d. Repeat (a) through (c) for (5,1) repetition code and compare its performance with the (3,1) code. Solution:

The (5,1) repetition code has d min = 5 . Therefore, it can correct t = 2 errors and detect 4 errors. The probability of decoded bit error is upper-bounded by

5 5 βŽ›5 ⎞ j Pb ≀ βˆ‘ ⎜ ⎟ p (1 βˆ’ p)3βˆ’ j 5 j =3 ⎝ j ⎠ = p 5 + 5 p 4 (1 βˆ’ p) 4 + 10 p 3 (1 βˆ’ p) 2 Figure displays performance comparison with the (3,1) code. 15.2

Consider the (4,1) repetition code a. Write generator and parity-check matrices for the code. Solution:

In this case, k =1, n =4. We have 3 parity bits that are the same as the message bit. Since G = ( I k # P ) for a systematic binary linear (n, k) code, the identity matrix I 1 = 1 and the parity matrix P is (1 1 1) of dimension 1Γ—3. Therefore,

G = ( I 1 # P ) = (1 # 1 1 1) The parity-check matrix is now obtained as

βŽ›1 # 1 0 0 ⎞ ⎜ ⎟ H = P # I 3 = ⎜1 # 0 1 0 ⎟ ⎜ ⎟ ⎝1 # 0 0 1⎠

(

T

)

(a) What is minimum distance d min of the code. How many errors can this code correct and detect? Solution:

The (4,1) repetition code has d min = 4 . Therefore, it can correct 1 error and detect 3 errors.

2 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


15.3

Consider the systematic binary linear (6, 3) code with generator matrix

βŽ›1 0 0 # 1 1 0 ⎞ ⎜ ⎟ G = ⎜ 0 1 0 # 0 1 1⎟ ⎜ ⎟ ⎝ 0 0 1 # 1 0 1⎠ a. Determine the parity-check matrix H of the code. Solution:

We observe that for a systematic binary linear (n, k) code G = ( I k # P ) and

(

)

H = P # I n βˆ’k . Therefore, T

βŽ›1 0 1 # 1 ⎜ H = ⎜1 1 0 # 0 ⎜ ⎝0 1 1 # 0

0 0⎞ ⎟ 1 0⎟ ⎟ 0 1⎠

b. What is minimum distance d min of the code. How many errors this code can correct and detect? Solution:

The codewords and their Hamming weights are tabulated below: Message vector 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

Codeword 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 1 1 0 1 1 1 1 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 0 0 0

Hamming weight 0 3 3 4 3 4 4 3

From the Table, d min = 3. Therefore, the code can correct all single errors and detect all double errors. c. Using the standard array, show that the code is able to correct one error pattern of Hamming weight 2, in addition to all error patterns of Hamming weight 1.

3 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

The standard array for the code is shown in the table. As an example, we will show that the error pattern (100001) can be corrected. Suppose that the code word x = (011110) is transmitted and y = (111111) is received. We calculate the syndrome of y as (111). This syndrome corresponds to the correctable error pattern e = (100001) from the table. Thus y + e = (111111) + (100001) = (011110) is identified as the transmitted codeword. We will see in parts (d) and (e) that the code correct all single errors but not all double errors. Standard array for (6, 3) code

Coset leaders 000000

Codewords

Syndrome

001101 010011

011110

100110

101011

110101

111000

000

000001

001100 010010

011111

100111

101010

110100

111001

001

000010

001111 010001

011100

100100

101001

110111

111010

010

000100

0010101 010111

011010

100010

101111

110001

111100

100

001000

000101 011011

010110

101110

100011

111101

110000

101

010000

011101 000011

001110

110110

111011

100101

101000

011

100000

101101 110011

111110

000110

001011

010101

011000

110

100001

101100 110010

111111

000111

001010

010100

011001

111

d. Use the standard array to find the most likely codeword, given that the noisy received vector is (010101). Solution:

We calculate the syndrome of y as (110). This syndrome corresponds to the correctable error pattern e = (100000) from the table. Thus y + e = (010101)+ (100000) = (110101) is identified as the transmitted codeword. . d. Now suppose (001101) is transmitted and (111101) is received. What is the decoded word? Comment on your result. Solution:

4 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


(001101) is transmitted and (111101) is received. We calculate the syndrome of y as (101). This syndrome corresponds to the error pattern e = (001000) from the table. The decoded word is identified as (111101) + (001000) = (110101). This is an incorrect decoding since the error pattern caused by the channel (110000) is not a correctable error pattern. This code corrects single errors in any position and one error pattern of double errors. Thus, as noted earlier, it is a single error correcting code. 15.4

` The parity bits of (7, 3) linear block code are given by b0 = m1 + m2 b1 = m2 + m3 b2 = m1 + m2 + m3 b3 = m1 + m3 a. Find the generator and parity check matrices G and H for this code. Solution:

The generator matrix of the (7, 3) linear block code is given by βŽ›1 0 0 # p00 p01 p02 p03 ⎞ ⎜ ⎟ G = ( I 3 # P ) = ⎜ 0 1 0 # p10 p11 p12 p13 ⎟ ⎜ ⎟ ⎝ 0 0 1 # p20 p21 p22 p23 ⎠

The parity bits are linear combinations of the message bits and are determined by the application of (15.12) as

b j = p0 j m1 + p1 j m2 + p2 j m3 ,

j = 0,1, 2,3

Therefore, βŽ›1 0 0 # 1 0 1 1 ⎞ ⎜ ⎟ G = ⎜0 1 0 # 1 1 1 0⎟ ⎜ ⎟ ⎝0 0 1 # 0 1 1 1 ⎠

(

H = P # I nβˆ’k T

)

βŽ›1 1 0 # 1 ⎜ ⎜0 1 1 # 0 =⎜ 1 1 1 # 0 ⎜ ⎜1 0 1 # 0 ⎝

0 0 0⎞ ⎟ 1 0 0⎟ 0 1 0⎟ ⎟ 0 0 1⎟⎠ 5

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. What is d min for the code? Solution:

dmin = 4 c. List all the codewords for this code. Solution:

The codewords and their Hamming weights are tabulated below: Message vector 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

Codeword 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 1 0 1 1 1 0 0 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 1 1 1 0 0 1 1 0 0 1 0 1 1 1 1 0 0 1 0

Hamming weight 0 4 4 4 4 4 4 4

d. Construct the standard array and determine the correctable error patterns and their syndromes. Solution:

The standard array for (7, 3) code is shown in the Table. The correctible error patterns and their syndromes are displayed in the first and last columns, respectively.

6 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Coset leaders 0000000 0010111

0101110 0111001 1001011 1011100 1100101 1110010 0000

0000001 0010110

0101111 0111000 1001010 1011101 1100100 1110011 0001

0000010 0010101

0101100 0111011 1001001 1011110 1100111 1110000 0010

0000100 0010011

0101010 0111101 1001111 1011000 1100001 1110110 0100

0001000 0011111

0111110 0101001 1011011 1010100 1101101 1111010 1000

0010000 0000111

0111110 0101001 1011011 1001100 1110101 1100010 0111

0100000 0110111

0001110 0011001 1101011 1111100 1000101 1010010 1110

1000000 1010111

1101110 1111001 0001011 0011100 0100101 0110010 1011

1000001 1010110

1101111 1111000 0001010 0011101 0100100 0110011 1010

1100000 1110111

1001110 1011001 0101011 0111100 0000101 0010010 0101

1010000 1000111

1111110 1101001 0011011 0001100 0110101 0100010 1100

1001000 1011111

1100110 1110001 0000011 0010100 0101101 0111010 0011

1000100 1010011

1101010 1111101 0001111 0011000 0100001 0110110 1111

1000010 1010101

1101100 1111011 0001001 0011110 0100111 0110000 1001

15.5

Codewords

Syndrome

Consider the systematic binary linear code with parity-check matrix

βŽ›1 0 # 1 0 0 ⎞ ⎜ ⎟ H = ⎜1 1 # 0 1 0 ⎟ ⎜ 0 1 # 0 0 1⎟ ⎝ ⎠ a. Determine the generator matrix G of the code. Solution:

βŽ›1 0 # 1 1 0 ⎞ G=⎜ ⎟ ⎝ 0 1 # 0 1 1⎠

7 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


b. Write all the codewords of the code and determine the minimum distance dmin of the code. How many errors can this code correct and detect? Solution:

Message vector 0 0 0 1 1 0 1 1

Codeword

Hamming weight

0 0 0 0 0 0 1 0 1 1 1 0 1 1 0 1 1 1 0 1

0 3 3 4

From the Table, d min = 3. Therefore, the code can correct all single errors and detect all double errors. c. Using the standard array, show that the code is able to correct two error patterns of Hamming weight equal to 2, in addition to all error patterns of Hamming weight 1. Solution:

The standard array for (5, 2) code is shown in the Table. The code is able to correct two error patterns (11000) and (10001) of Hamming weight equal to 2, in addition to all error patterns of Hamming weight 1. Standard array for (5, 2) code

Coset leaders 00000 01011

Codewords

Syndrome

10110

11101

000

00001

01010

10111

11100

001

00010

01001

10100

11111

010

00100

01111

10010

11001

100

01000

00011

11110

10101

011

10000

11011

00110

01101

110

11000

10011

01110

00101

101

10001

11010

00111

01100

111

8 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d. What is the asymptotic coding gain with respect to uncoded BPSK modulation? Solution:

For the hard-decision ML decoding, the asymptotic coding gain is given from (15.90) as

Ghd = 10 log10

Rc d min 0.4 Γ— 3 = 10 log10 = βˆ’2.21 dB 2 2

For the soft-decision ML decoding, the asymptotic coding gain is given from (15.95)) as Gsd = 10 log10 Rc d min = 10 log10 ( 0.4 Γ— 3) = 0.792 dB

15.6 Consider the systematic binary linear code with parity-check matrix

βŽ›0 0 0 0 1 1 1 1 1 1 1 # 1 0 0 0⎞ ⎜ ⎟ 0 1 1 1 0 0 0 1 1 1 1 # 0 1 0 0⎟ ⎜ H= ⎜1 0 1 1 0 1 1 0 0 1 1 # 0 0 1 0 ⎟ ⎜ ⎟ ⎝1 1 0 1 1 0 1 0 1 0 1 # 0 0 0 1 ⎠ a. Determine the generator matrix G of the code. Solution:

βŽ›1 0 0 0 0 0 0 0 0 0 0 # 0 0 1 1 ⎞ ⎜ ⎟ ⎜0 1 0 0 0 0 0 0 0 0 0 # 0 1 0 1⎟ ⎜0 0 1 0 0 0 0 0 0 0 0 # 0 1 1 0⎟ ⎜ ⎟ ⎜0 0 0 1 0 0 0 0 0 0 0 # 0 1 1 1⎟ ⎜0 0 0 0 1 0 0 0 0 0 0 # 1 0 0 1⎟ ⎜ ⎟ G = ⎜0 0 0 0 0 1 0 0 0 0 0 # 1 0 1 0⎟ ⎜0 0 0 0 0 0 1 0 0 0 0 # 1 0 1 1⎟ ⎜ ⎟ ⎜0 0 0 0 0 0 0 1 0 0 0 # 1 1 0 0⎟ ⎜0 0 0 0 0 0 0 0 1 0 0 # 1 1 0 1⎟ ⎜ ⎟ ⎜0 0 0 0 0 0 0 0 0 1 0 # 1 1 1 0⎟ ⎜ ⎟ ⎝0 0 0 0 0 0 0 0 0 0 1 # 1 1 1 1⎠ b. Determine the minimum distance d min of the code. How many errors can this code correct and detect? 9 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

All Hamming codes have d min = 3. Therefore, it can correct 1 error and detect 2 errors. c. What is the codewords corresponding to the message vector m = (1 0 1 1 1 0 0 0 1 1 1)? Solution:

The codewords corresponding to the message vector m = (1 0 1 1 1 0 0 0 1 1 1) is x = (1 0 1 1 1 0 0 0 1 1 1 0 1 1 1) d. If y = (1 1 1 0 1 1 0 0 0 0 1 1 0 1 0) is received at the receiver, what is the most likely code word x transmitted? Solution:

The syndrome table for (15,11) code is shown below: Error vector 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 1 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 1 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 1 0 0 0 0 0 0 0 0 0 0 0

Syndrome 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 1 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 1 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 1 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 1 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 1 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 1 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0 1 0

0 0 0 0 0 0 0 0 0 0 0 0 0 0 1

0 0 0 0 1 1 1 1 1 1 1 1 0 0 0

0 1 1 1 0 0 0 1 1 1 1 0 1 0 0

1 0 1 1 0 1 1 0 0 1 1 0 0 1 0

1 1 0 1 1 0 1 0 1 0 1 0 0 0 1

The syndrome of the received vector y is obtained as s = yH = ( 0 1 1 0 ) T

From table, the most likely error vector is ( 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 ) . Therefore,

10 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


xˆ = y + e j = (1 1 1 0 1 1 0 0 0 0 1 1 0 1 0 ) + ( 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 ) = (1 1 0 0 1 1 0 0 0 0 1 1 0 1 0 ) e.

If y = (0 1 1 0 1 0 1 0 1 1 1 0 1 1 0) is received at the receiver, what is the most likely message m transmitted?

Solution:

The syndrome of the received vector y is obtained as s = (1 0 1 1) From table, the most likely error vector is ( 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ) . Therefore,

xˆ = y + e j = ( 0 1 1 0 1 0 1 0 1 1 1 0 1 1 0 ) + ( 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 ) = ( 0 1 1 0 1 0 0 0 1 1 1 0 1 1 0) 15.7

Prove that an (n,k) block code can correct t errors if its code rate Rc statisfies the following inequality

⎑ t βŽ› n ⎞⎀ 1 Rc ≀ 1 βˆ’ log 2 ⎒ βˆ‘ ⎜ ⎟ βŽ₯ n ⎣ i =0 ⎝ i ⎠ ⎦ Solution:

An (n,k) block code that can correct t errors satisfies the Hamming bound (15.34). That is, t βŽ›n⎞ 2n βˆ’ k β‰₯ βˆ‘ ⎜ ⎟ i =0 ⎝ i ⎠

Taking logarithm of both sides, we obtain

⎑ t βŽ› n ⎞⎀ n βˆ’ k β‰₯ log 2 ⎒ βˆ‘ ⎜ ⎟ βŽ₯ ⎣ i =0 ⎝ i ⎠ ⎦ or ⎑ t βŽ› n ⎞⎀ k ≀ n βˆ’ log 2 ⎒ βˆ‘ ⎜ ⎟ βŽ₯ ⎣ i =0 ⎝ i ⎠ ⎦ Rc =

⎑ t βŽ› n ⎞⎀ k 1 ≀ 1 βˆ’ log 2 ⎒ βˆ‘ ⎜ ⎟ βŽ₯ n n ⎣ i =0 ⎝ i ⎠ ⎦

11 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Show that a (63, 39) block code capable of correcting 4 errors can exist. What is the redundancy of this code? Solution:

Using the Hamming bound (15.34), we obtain 4 βŽ› 63 ⎞ βŽ› 63 ⎞ βŽ› 63 ⎞ βŽ› 63 ⎞ βŽ› 63 ⎞ βŽ› 63 ⎞ 263βˆ’39 β‰₯ βˆ‘ ⎜ ⎟ = ⎜ ⎟ + ⎜ ⎟ + ⎜ ⎟ + ⎜ ⎟ + ⎜ ⎟ i =0 ⎝ i ⎠ ⎝ 0 ⎠ ⎝1 ⎠ ⎝ 2 ⎠ ⎝ 3 ⎠ ⎝ 4 ⎠ ?

16,777,216 β‰₯ 1 + 63 + 1,953 + 39,711 + 595,665 = 637,393

Yes. A (63, 39) block code capable of correcting 4 errors can exist.

Redundancy = 15.8

nβˆ’k k 39 = 1 βˆ’ = 1 βˆ’ β‰ˆ 38.1% n n 63

Consider the generator matrix of the (7, 4, 3) Hamming code given in Example 15.4. The code is extended to an (8, 4) code by adding an overall parity check bit to (7, 4, 3) code. a. Find the parity check matrix H for this code. Solution:

The G and H matrices of the (7, 4) Hamming code are given by βŽ›1 0 ⎜ ⎜0 1 G=⎜ 0 0 ⎜ ⎜0 0 ⎝

0 0 # 0 0 # 1 0 # 0 1 #

1 0 1⎞ ⎟ 1 1 1⎟ , 1 1 0⎟ ⎟ 0 1 1 ⎟⎠

βŽ›1 1 1 ⎜ H = ⎜0 1 1 ⎜1 1 0 ⎝

0 1

# 1 0 # 0 1

1

#

0

0⎞ ⎟ 0⎟ 1 ⎟⎠

0

The G and H matrices of the (8, 4) Hamming code are given by βŽ›1 0 ⎜ ⎜0 1 G =⎜ 0 0 ⎜ ⎜0 0 ⎝

0 0 # 0 0 # 1 0 # 0 1 #

1 0 1 1⎞ ⎟ 1 1 1 0⎟ , 1 1 0 1⎟ ⎟ 0 1 1 1 ⎟⎠

βŽ›1 1 1 ⎜ 0 1 1 H =⎜ ⎜1 1 0 ⎜ ⎝1 0 1

0

#

1

0

1 1

# #

0 0

1 0

1

#

0

0

0 0 ⎞ ⎟ 0 1⎟ 1 0⎟ ⎟ 0 1⎠

b. What is d min for the code? Solution:

12 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The codewords of (8, 4) extended Hamming code are tabulated below: Information Bits Code word

Weight

0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

0 4 4 4 4 4 4 4 4 4 4 4 4 4 4 8

00000000 00010111 00101101 00111010 01001110 01011001 01100011 01110100 10001011 10011100 10100110 10110001 11000101 11010010 11101000 11111111 From the table, dmin = 4 .

c. Does the extra check bit increase the error-correcting and error-detecting capabilities of the code? Solution:

The (8, 4) extended Hamming code has dmin = 4 . Therefore, it can correct 1 error and detect 3 errors. The (8, 4) extended Hamming code doesn’t improve the error-correcting capability versus (7, 4) Hamming code. However, it can detect triple errors. 15.9

Let g ( D) = D8 + D7 + D6 + D4 + 1 be the generator polynomial of (15, 7) cyclic code. a. Verify that g(D) can be a generator polynomial for the code. Solution:

To verify that g ( D) = D8 + D7 + D6 + D4 + 1 is a generator polynomial for (15, 7) cyclic code, it should divide D15 + 1 without any remainder.

13 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


D7 + D6 + D4 +1 D8 + D7 + D6 + D4 +1) D15 + 1 D15 + D14 + D13 + D11 + D7 D14 + D13 + D11 + D7 +1 D14 + D13 + D12 + D10 + D6 D12 + D11 + D10 + D7 + D6 +1 D12 + D11 + D10 + D8 + D4 D8 + D7 + D6 + D4 +1 D8 + D7 + D6 + D4 +1 0 b. Determine the code polynomial (code word) in systematical form for the message m( D) = D5 + D4 + D2 + 1 . Solution:

For this code, n βˆ’ k = 8. Therefore,

D8m( D) = D13 + D12 + D10 + D8 D5 + D3 + 1 D8 + D 7 + D 6 + D 4 + 1 ) D13 + D12 + D10 + D 8 D13 + D12 + D11 + D9 + D5 D11 + D10 + D9 + D8 + D5 D11 + D10 + D9 + D 7 + D 3 D8 + D 7 + D 5 + D 3 D8 + D 7 + D 6 + D 4 + 1 b ( D ) = D 6 + D 5 + D 4 + D 3 + 1 ↔ b = ( 01111001)

y( D) = D8m( D) + b ( D ) = D13 + D12 + D10 + D8 + D6 + D5 + D4 + D3 + 1 ↔ y = ( 0110101# 01111001) c. Is the polynomial y( D) = D14 + D11 + D5 + D2 + 1 a code word?

14 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

D 6 + D5 + D 2 + 1 D8 + D 7 + D 6 + D 4 + 1 ) D14 + D11 + D 5 + D 2 + 1 D14 + D13 + D12 + D10 + D 6 D13 + D12 + D11 + D10 + D 6 + D 5 + D 2 + 1 D13 + D12 + D11 + D9 + D5 D10 + D 9 + D 6 + D 2 + 1 D10 + D 9 + D8 + D 6 + D 2 D8 + 1 D8 + D 7 + D 6 + D 4 + 1 s ( D ) = D 7 + D 6 + D 4 ↔ s = (11010000 )

Since the syndrome is not zero, y ( D) is not a valid code polynomial. 15.10 Show that for an (n,k) block code, the probability of an undetected error Pu (e) over a BSC with crossover probability p is given by n

Pu (e) = βˆ‘ Ai p i (1 βˆ’ p ) n βˆ’i i =1

where A1 , A1 ,......., An represents the weight distribution of the code. Solution:

The probability of undetected error Pu (e) is given from (15.30) as Pu (e) = P {Error pattern is a nonzero codeword x}

βˆ‘

=

p wH ( x ) (1 βˆ’ p )

n βˆ’ wH ( x )

2k βˆ’1 nonzero codewords x

By rearranging terms in the summation on the basis of Hamming weight of the error patterns, we can write the above equation as n

Pu (e) = βˆ‘ Ai p i (1 βˆ’ p ) n βˆ’i i =1

15 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


where Ai is the number of code words with the Hamming weight i. For an (n,k,dmin) code, A1 to Admin βˆ’1 are zero. That is, n

Pu ( e) = βˆ‘ Ai p i (1 βˆ’ p ) n βˆ’ i i = d min

a. Suppose (7,4) Hamming code is used for error detection over a BSC with crossover probability p = 10-3. Compute the probability of an undetected error for this code. Solution:

dmin = 3 for the (7,4) Hamming code. The weight distribution of the code from Table 15.6 is A3 = 7, A4 = 7, and A7 = 1 . Therefore, Pu (e) = 7 p 3 (1 βˆ’ p ) + 7 p 4 (1 βˆ’ p ) + p 7 4

3

If p = 10βˆ’3, the probability of an undetected error is Pu (e) = 7 p 3 (1 βˆ’ p ) + 7 p 4 (1 βˆ’ p ) + p 7 4

3

= 7 Γ— 10 βˆ’9 Γ— 0.996 + 7 Γ— 10 βˆ’12 Γ— 0.997 + 10 βˆ’21 = 6.97 Γ— 10 βˆ’9

15.11 Consider the m = 4 Hamming code. a. What is the block length n and dmin for the code? Solution:

The key parameters of the m = 4 Hamming code are Block length:

n = 2m – 1 = 15

Number of data bits: k = 2m – m – 1 = 11 Number of parity bits: n – k = 4 Minimum distance: dmin = 3 b. Write the parity check matrix H for this code. Solution:

16 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Recall that columns of the (n βˆ’ k) Γ— n parity-check matrix for a Hamming code consists of all nonzero binary sequences of length n βˆ’ k.

(

H = P #I 4 T

)

⎑0 0 0 0 1 1 1 1 1 1 1 # 1 0 0 0⎀ ⎒0 1 1 1 0 0 0 1 1 1 1 # 0 1 0 0βŽ₯ ⎒ βŽ₯ ⎒1 0 1 1 0 1 1 0 0 1 1 # 0 0 1 0 βŽ₯ ⎒ βŽ₯ ⎣1 1 0 1 1 0 1 0 1 0 1 # 0 0 0 1 ⎦

c. Give the set of equations for computing the parity bits in terms of the message bits. Solution:

The set of equations for computing the parity bits are obtained using (15.11) as βŽ›0 0 11 ⎞ ⎜ ⎟ ⎜0 1 0 1⎟ ⎜0 1 1 0⎟ ⎜ ⎟ ⎜0 1 11 ⎟ ⎜1 0 0 1 ⎟ ⎜ ⎟ b = ( b0 , b1 ,..., b3 ) = mP = ( m0 m1 m2 m3 m4 m5 m6 m7 m8 m9 m10 ) ⎜1 0 1 0 ⎟ ⎜1 0 1 1 ⎟ ⎜ ⎟ ⎜1 1 0 0 ⎟ ⎜1 1 0 1 ⎟ ⎜ ⎟ ⎜1 1 1 0 ⎟ ⎜ ⎟ ⎝1 1 1 1 ⎠ b0 = m4 + m5 + m6 + m7 + m8 + m9 + m10 b1 = m1 + m2 + m3 + m7 + m8 + m9 + m10 b2 = m0 + m2 + m3 + m5 + m6 + m9 + m10 b3 = m0 + m1 + m3 + m4 + m6 + m8 + m10

d. Write an estimate of the probability of decoded bit error if the channel BER p = 10-4? Repeat for p = 10-6. Solution:

An estimate of the probability of decoded bit error is obtained by using (15.60) as

17 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Pb β‰ˆ

(

)

d min d min Admin 2 p(1 βˆ’ p ) n

From Table 15.6, Admin = A3 = 35 . Substituting yields

( (

) )

3 3 Γ— 35 Γ— 2 10βˆ’4 (1 βˆ’ 10βˆ’4 ) = 5.6 Γ—10βˆ’5 15 3 3 Pb β‰ˆ Γ— 35 Γ— 2 10βˆ’6 (1 βˆ’ 10βˆ’6 ) = 5.6 Γ—10βˆ’8 15

Pb β‰ˆ

for p = 10βˆ’4 for p = 10βˆ’6

15.12 Show that the coding gain for soft-decision decoded ( n, k , dmin ) block code is given by

⎑ k log e 2 ⎀ Gc = 10 log10 ⎒ Rc d min βˆ’ βŽ₯ dB Eb / N o ⎦ ⎣ where Eb / No = SNR/bit of the link. Solution:

For a coded system, the logarithm of the probability of code word error is given from (15.92) as βŽ›E ⎞ log e Pcw (e) β‰ˆ k log e 2 βˆ’ Rc d min ⎜ b ⎟ ⎝ N o ⎠coded For an uncoded system, the logarithm of probability of error for a word or packet of k bits is given from (15.84) by βŽ›k⎞ βŽ› E ⎞ log e Pw (e) β‰ˆ log e ⎜ ⎟ βˆ’ ⎜ b ⎟ ⎝ 2 ⎠ ⎝ N o ⎠ uncoded To achieve the same probability of error, the right-hand sides of above equations must be equal. That is, βŽ›E ⎞ βŽ›k⎞ βŽ› E ⎞ log e ⎜ ⎟ βˆ’ ⎜ b ⎟ = k log e 2 βˆ’ Rc d min ⎜ b ⎟ ⎝ 2 ⎠ ⎝ N o ⎠ uncoded ⎝ N o ⎠coded Dividing both sides by ( Eb / No )coded yields

18 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


βŽ›k⎞ log e ⎜ ⎟ ⎝ 2 ⎠ βˆ’ ( Eb / N o )uncoded = k log e 2 βˆ’ R d ( Eb / N o )coded ( Eb / N o )coded ( Eb / N o )coded c min

or

( Eb / N o )uncoded ( Eb / N o )coded

βŽ›k⎞ log e ⎜ ⎟ k log e 2 ⎝ 2 ⎠ β‰ˆ R d βˆ’ k log e 2 = Rc d min βˆ’ + ( Eb / N o )coded ( Eb / N o )coded c min ( Eb / N o )coded

Taking logarithm of both sides, we obtain ⎑ ( Eb / N o ) uncoded ⎀ ⎑ k log e ( 2 ) ⎀ G = 10 log10 ⎒ βŽ₯ = 10 log10 ⎒ Rc d min βˆ’ βŽ₯ ( Eb / N o )coded ⎦βŽ₯ ⎣⎒ ( Eb / N o )coded ⎦βŽ₯ ⎣⎒ a. Calculate the coding gain for (127, 36, 31) BCH code at ( Eb / No )coded = 8 dB. Solution: 36 Γ— log e ( 2 ) ⎀ ⎑ G = 10 log10 ⎒8.7874 βˆ’ βŽ₯ = 6.836 dB 6.3 ⎣ ⎦

15.13 Consider the performance of extended Golay code (24,12,8) over AWGN channel using binary antipodal signaling. a. Plot the probability of codeword error for hard-decision decoding for Eb/No in the range 4-14 dB. Solution:

The upper bound on the probability of codeword error for hard-decision decoding is given from (15.49) as n βŽ›n⎞ Pcw (e) ≀ βˆ‘ ⎜ ⎟ p j (1 βˆ’ p ) n βˆ’ j j = t +1 ⎝ j ⎠

where p for binary antipodal signaling over an AWGN channel is given by

βŽ› 2 Ecb ⎞ βŽ› R 2E ⎞ = Q⎜ c b ⎟ p = Q⎜ ⎟ ⎜ N ⎟ ⎜ No ⎟⎠ o ⎠ ⎝ ⎝ The probability of decoded bit error is now given by

19 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


d min Pcw (e) n

Pb β‰ˆ

Error peformance of Golay Code - Soft vs Hard decision decoding

-1

10

Uncoded (24,12) Golay code - soft decision decoding (24,12) Golay code- hard decision decoding

-2

Probability of Decoded Bit Error

10

-3

10

-4

10

-5

10

-6

10

-7

10

-8

10

4

5

6

7

8

9 10 Eb/No in dB

11

12

13

14

b. Repeat (a) for the soft-decision decoding. Solution:

The upper bound on the probability of codeword error for soft-decision decoding is given from (15.77) as n n βŽ› 2 Ecb d ⎞ Pcw (e) = βˆ‘ Ad P2 (d ) ≀ βˆ‘ Ad Q ⎜⎜ ⎟⎟ d = dmin d = d min ⎝ No ⎠

c. What is the difference in coding gain for two cases. Solution:

The coding gains at probability of decoded bit error Pb = 10βˆ’8 are Hard-decision decoding:

G = 2.4 dB

Soft-decision decoding:

G = 4.8 dB

20 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Soft-decision decoding provides a coding gain advantage of 2.4 dB over hard decision decoding in the present case. 15.14 Consider the error-detecting capability of an (n,k) CRC code. Prove the following: a. If the generator polynomial g ( D) has more than one term, it can detect single errors. Solution:

If the code polynomial x(D) is transmitted over a noisy channel, the received polynomial y(D) is given by

y ( D ) = x ( D ) + e( D ) If y(D) is divisible by g ( D) , it is a valid codeword polynomial. This implies that the received vector is either error-free or has been corrupted by an undetectable error pattern. Since x(D) is constructed as a multiple of the generator polynomial g ( D) , the error pattern is undetectable if the corresponding error polynomial e( D) is also a multiple of g ( D) ..So if we want a polynomial code to be able to detect a particular error pattern, then the corresponding error polynomial should not be divisible by g ( D) . For a single error, the error polynomial is of the form e( D) = Di . Now if g ( D) has at least two nonzero terms, it is easy to see that g ( D) can’t divide e( D) without remainder. Hence all single errors are detectable. b. If the generator polynomial g ( D) of the code is a primitive polynomial of degree nβˆ’ k, it will detect all double errors as long as the total codeword length doesn’t exceed 2 n βˆ’ k βˆ’ 1 . Solution:

An error polynomial corresponding to double errors will have the form e( D) = Di + D j = Di 1 + D j βˆ’i for some i and j > i . We know from discussion

(

)

i in (a) that if g ( D) has more than 1 term, it can’t divide D .Thus e( D) will be divisible by g ( D) if g ( D) divides 1 + D j βˆ’i . This implies that 1 + D m

(

)

( 1 ≀ m ≀ n ) should not be divisible by g ( D) in order that all double errors can be detected. Now if g ( D) is a primitive polynomial of degree nβˆ’ k, it cannot divide 1 + D m for all m < 2n βˆ’ k βˆ’ 1 . Thus if g ( D) is selected to be a primitive polynomial of degree nβˆ’ k, then it will detect all double errors as long as the codeword length does not exceed 2 n βˆ’ k βˆ’ 1 .

21 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


c. If the generator polynomial g ( D) of the code has (1 + D ) as a factor, it will be able to detect all odd number of errors. Solution:

Suppose all codewords have an even number of 1s, then all odd numbers of errors can be detected. If we evaluate the codeword polynomial x( D ) at D = 1, we then obtain the sum of binary coefficients of x( D ) . If x(1) = 0 for all codeword polynomials, then (1 + D ) must be a factor of x( D ) and hence g ( D) must contain (1 + D ) as a factor. The generator polynomial g ( D) is, therefore, frequently selected with (1 + D ) as a factor so that it can detect all odd number of errors. 15.15 Let g1 ( D) = 1 + D and let g 2 ( D) = 1 + D + D3 . Consider the message vector (1 0 0 1 0 1). a. If g1 ( D) is used as the generator polynomial, find the codeword. Solution:

n βˆ’ k =1 m ( D ) = D5 +D 2 + 1 Dm ( D ) = D 6 +D3 + D D5 + D 4 + D3 + 1

D + 1 ) D 6 +D 3 + D D 6 + D5 D5 + D3 + D D5 + D4 D 4 + D3 + D D 4 + D3

D D +1 b ( D ) = 1 ↔ b = (1)

22 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


y ( D) = Dm( D) + b ( D ) = D6 +D3 + D + 1 ↔ y = (100101#1) b. If g2 ( D) is used as the generator polynomial, find the codeword. Solution:

nβˆ’k =3 m ( D ) = D5 +D 2 + 1 D3m ( D ) = D8 +D5 + D3 D5 + D3 + D D 3 + D + 1 ) D8 +D 5 + D3 D8 + D 6 + D 5 D 6 + D3 D6 + D 4 + D3 D4 D4 + D2 + D b ( D ) = D 2 + D ↔ b = (110 )

y( D) = D3m( D) + b ( D ) = D8 +D5 + D3 + D2 + D ↔ y = (100101#110) c. Can g2 ( D) detect single errors? double errors? triple errors? Solution:

Single errors can be detected since g2 ( D) has more than one term. Double errors cannot be detected even though g2 ( D) is primitive because the codeword length exceeds 2 n βˆ’ k βˆ’ 1 = 7. Triple errors cannot be detected since (D + 1) is not a factor of g2 ( D) . d. Find the codeword corresponding the above message vector if g ( D) = g1 ( D) g2 ( D) is the generator polynomial. Comment on the errordetecting capabilities of g ( D) .

23 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Solution:

g ( D ) = g1 ( D ) g 2 ( D ) = (1 + D ) (1 + D + D3 ) = 1 + D + D3 + D + D 2 + D 4 = 1 + D 2 + D3 + D 4 nβˆ’k = 4 m ( D ) = D5 +D 2 + 1 D 4 m ( D ) = D9 +D 6 + D 4 D5 + D4 + D + 1 D 4 + D 3 + D 2 + 1 ) D 9 +D 6 + D 4 D 9 + D8 + D 7 + D5 D8 + D 7 + D 6 + D 5 + D 4 D8 + D 7 + D 6 + D 4 D5 D5 + D 4 + D3 + D D 4 + D3 + D D 4 + D3 + D 2 + 1 b ( D ) = D 2 + D + 1 ↔ b = ( 0111)

y( D) = D4 m( D) + b ( D ) = D9 +D6 + D4 + D2 + D + 1 ↔ y = (100101# 0111) The new code can detect all single and all odd errors. It cannot detect double errors because the codeword length exceeds 23 βˆ’ 1 = 7. (Degree of primitive polynomial factor g 2 ( D) = 3). 15.16 A rate Rc = Β½ convolution encoder is displayed in Figure P15.1. Figure P15.1 xi1 mi

mi-1

+

xi2 24

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


a. Find the generators polynomials for this code. Solution:

The generators polynomials for this code are g1 ( D) = 1 g1 ( D) = 1 + D b. Draw the state transition diagram. Solution:

Current state 0 1

Input

Next state 0 1 0 1

0 1 0 1

Output 00 11 01 10

0 input 1 input 0/00

S0 0

1/11

0/01

S1 1

1/10 c. Is the code systematic? Prove by an example. Solution:

25 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The code is systematic since g1 ( D) is of degree 0. For an input 011010, the output of the encoder is 00 11 10 01 11 01. Note that the input sequence appears in the output. c. Draw the decoding trellis to depth 8, and decode the received sequence 11 10 10 01 00 11 10 11.

0

10

11

10

Γ—

00

00

10

10

00

1

Γ—

11 Γ—

01 Γ— 11 Γ—

01

Γ—

01 Γ—11

00

11

10

11

Γ—

Γ— Γ— 1 Γ— 00Γ— 01 00 01 Γ— 00 1 00 0 0 11 Γ— 11 11 Γ—11 Γ— 01 Γ— Γ— Γ— 10 10 10 10 Γ—

00

The decoded sequence is 11100110. d. Draw the modified state transition diagram and determine the corresponding free distance dfree. Solution:

S0start 0

1/11

S1

0/01

D 2 KJ

1

DK

1/10

DKJ

S0end 0

0 input 1 input

S1 = D 2 KJS0start + DKJS1 S0end = DKS1

T ( D, K , J ) =

S0end D3 K 2 J = S0start 1 βˆ’ DKJ

= D 3 K 2 J (1 + DKJ + D 2 K 2 J 2 + ...)

d free = 3 from D3 K 2 J term.

26 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


15.17 A rate Rc = 1/3 convolution code is described by the generator polynomials g1 ( D ) = 1 + D 2 g2 ( D) = 1 + D + D 2

g3 ( D) = 1 + D a. Draw the shift-register convolution encoder for this code. Solution: xi1 = mi βŠ• miβˆ’2

+ Information Bits mi

Encoder Output Bits mi-1

mi-2

+

+

xi2 = mi βŠ• miβˆ’1 βŠ• miβˆ’2 xi3 = mi βŠ• miβˆ’1

Encoder output x11 x12 x13 x12 x22 x23 x31 x32 x33 x14 x42 x43 x51 x52 x53 .......

b. Draw the state transition diagram. What is the constraint length of this code? Solution:

Current state 00 01 10 11

Input 0 1 0 1 0 1 0 1

Next state 00 10 00 10 01 11 01 11

Output 000 111 110 001 011 100 101 010

27 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0/000

S0

1/111

00

0/110

1/001

0 input 1 input

S1

S2

01

10

0/011

S3

1/100

0/101

11

1/010

Constraint length of the code = 3 c. Draw the trellis diagram and calculate the encoder output sequence corresponding to input sequence 0 1 1 0 1 0. Solution: 0/000

S0 (00)

1/111

S1 (01)

1/001

S2 (10)

S3 (11) Depth

1

0

3

2

0/011

0/101

1/100

1 input 0 input

5

4

Input bit sequence:

0

1

1

0 1

Encoder output sequence:

000 111 100 101 001 011

6

0

d. If the input information rate is 1 Mb/s, what is the bit rate of the encoded sequence? Solution:

Since the encoder generates 3 output bits per input bit, the bit rate of the encoded sequence is 3 Mb/s. The actual bit rate of the encoded sequence is slightly higher due to the overhead of tail bits.

28 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


15.18 A rate Rc = 1/3 convolutional code is defined by the generator polynomials g1 ( D ) = 1 + D

g2 ( D) = 1 + D + D 2 g3 ( D) = D 2

a. Draw the state transition diagram Solution:

Current state 00 01 10 11

Input

Next state 00 10 00 10 01 11 01 11

0 1 0 1 0 1 0 1

Output 000 110 011 101 110 000 101 011

0/000 1/110 0 input 1 input

S0 00

1/101

S2 10

1/000

0/011

S1 01

0/110

S3

0/101

11

1/011

b. Determine its transfer function. Solution:

29 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


0 input 1 input

D 2 KJ S

start 0

00

1/101

1/110

S2

D 2 KJ

10

D2 K 1/000

JK

0/110

S1

0/011

01

D2 K

S0end 00

0/101

S3

D2 K

11

1/011

D 2 KJ S 2 = D 2 KJS0start + D 2 KJS1 S1 = D 2 KS2 + D 2 KS3 S3 = JKS2 + D 2 KJS3 S0end = D 2 KS1 Substituting for S2 , we obtain

S1 = D2 K ( D2 KJS0start + D2 KJS1 ) + D2 KS3 = D4 K 2 J ( S0start + S1 ) + D2 KS3 Substituting for S2 , we obtain S3 = D 2 K 2 J 2 ( S0start + S1 ) + D 2 KJS3 or S3 =

D 2 K 2 J 2 ( S0start + S1 ) 1 βˆ’ D 2 KJ

S1 = D K J ( S 4

2

start 0

+ S1 ) + D K 2

D 2 K 2 J 2 ( S0start + S1 ) 1 βˆ’ D 2 KJ

or S1 ⎣⎑(1 βˆ’ D 4 K 2 J )(1 βˆ’ D 2 KJ ) βˆ’ D 4 K 3 J 2 ⎦⎀ = S0start ⎣⎑ D 4 K 2 J (1 βˆ’ D 2 KJ ) + D 4 K 3 J 2 ⎦⎀ or S0end ⎑(1 βˆ’ D 4 K 2 J )(1 βˆ’ D 2 KJ ) βˆ’ D 4 K 3 J 2 ⎀ = S0start ⎑ D 4 K 2 J (1 βˆ’ D 2 KJ ) + D 4 K 3 J 2 ⎀ 2 ⎦ ⎣ ⎦ D K⎣

30 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


The transfer function T ( D, K , J ) is given by S0end D K ⎑⎣ D K J (1 βˆ’ D KJ ) + D K J ⎀⎦ T ( D, K , J ) = start = S0 (1 βˆ’ D 4 K 2 J )(1 βˆ’ D 2 KJ ) βˆ’ D 4 K 3 J 2 2

=

4

2

2

4

3

2

D 6 K 3 J (1 βˆ’ D 2 KJ + KJ )

(1 βˆ’ D KJ ) βˆ’ D K J (1 βˆ’ D KJ ) βˆ’ D K J D K J (1 βˆ’ D KJ + KJ ) = (1 βˆ’ D KJ ) βˆ’ D K J (1 βˆ’ D KJ + KJ ) 2

4

6

2

2

3

2

4

3

2

2

4

2

2

c. Calculate dfree for the code. Solution:

T ( D, K , J ) = D6 K 3 J (1 + KJ ) + D8 K 5 J 3 + ... There are two paths with Hamming weight 6. Thus, dfree = 6. d. Assuming hard-decision decoding and BPSK modulation, plot the probability of decoded bit error for Eb / N o = 4 βˆ’11 dB. Compare it with the performance achieved using soft-decision decoding. Solution:

The probability of decoded bit error for hard- and soft-decision decoding, computed using (15.126) and (15.129) respectively, are displayed.

31 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


e. What is the coding gain advantage of soft- versus hard-decision decoding at Pb = 10 βˆ’6 . Solution:

The coding gain advantage of soft- versus hard-decision decoding at Pb = 10 βˆ’6 is approximately 2.6 dB. 15.19 Consider (2, 1, 3) convolutional code with generator polynomials g1 = (1 0 1) and g2 = (1 1 1). Use soft-decision Viterbi decoding to find the estimate of the information sequence mΜ‚ when the received sequence is r = [(βˆ’1,βˆ’2) (2,βˆ’1) (βˆ’1,3 ) (1,βˆ’2) (βˆ’3,2) (1,2)] Solution: The transition diagram of the convolutional coder is shown in Figure.

0 input 1 input 0/00 1/11

S0 00

1/00

S2 10

1/10

0/11

S1 01

0/01

S3

0/10

11

1/01 Figure (a) displays the results of applying the VA at depth 1. We calculate the soft-decoding branch metrics for paths originating at state S0 at depth 0 and ending at depth 1 states using (15.111). To calculate branch metrics, we calculate the correlation between the first received symbol (βˆ’1, βˆ’2) and symbols on the trellis branches leading to depth 1 states. We use the polar mapping sAj,i = 1 βˆ’ 2 xAj,i for the symbols on trellis branches in computation of branch metrics.

32 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


n

m 1 2 d1 (0, 0) = βˆ‘ r1,m s0,0 = r1,0 s0,0 + r1,0 s0,0 = βˆ’1 Γ— 1 + βˆ’ 2 Γ— 1 = βˆ’ 3 m =1 n

m 1 2 d1 (0, 2) = βˆ‘ r1, m s0,2 = r1,0 s0,0 + r1,0 s0,2 = βˆ’1 Γ— βˆ’1 + βˆ’ 2 Γ— βˆ’ 1 = 3 m =1

These branch metrics are labeled next to state nodes at depth 1. The decoder stores these branch metrics and proceeds to depth 2. Figure (b) displays the results of applying the VA at depth 2. We see that there are now four paths, one for each state of the encoder. The computation of metrics for branches leading to depth 2 states follows: n

m 2 d 2 (0, 0) = βˆ‘ r2,m s0,0 = r2,0 s10,0 + r2,0 s0,0 = 2 Γ— 1 + βˆ’1 Γ— 1 = 1 m =1 n

m 1 2 d 2 (0, 2) = βˆ‘ r2,m s0,2 = r2,0 s0,0 + r2,0 s0,2 = 2 Γ— βˆ’1 + βˆ’ 1 Γ— βˆ’ 1 = βˆ’ 1 m =1 n

m 1 2 d 2 (2,1) = βˆ‘ r2,m s2,1 = r2,0 s0,0 + r2,0 s0,0 = 2 Γ— 1 + βˆ’1 Γ— βˆ’ 1 = 3 m =1 n

m 2 d 2 (2,3) = βˆ‘ r2,m s2,2 = r2,0 s10,0 + r2,0 s0,2 = 2 Γ— βˆ’1 + βˆ’ 1 Γ— 1 = βˆ’ 3 m =1

The accumulated partial metric for each of the four paths at depth 2 is now determined by adding these branch metrics to metrics noted above the states at depth 1. These partial metrics are now noted above state nodes at depth 2. Figure(a) 1

Depth Received sequence

S0 (00)

S2 (10)

2,βˆ’1

4

3

βˆ’1,3

1,βˆ’2

5

βˆ’3,2

6

1,2

-3

00

11

S1 (01)

βˆ’1,βˆ’2

2

3

S3 (11)

33 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure(b) 1

Depth

S0 (00)

βˆ’1,βˆ’2 -3

00

-2

6

11

S1 (01)

00

01

1,βˆ’2

5

βˆ’3,2

6

1,2

-4

3

S2 (10)

4

3

βˆ’1,3

2,βˆ’1

11

Received sequence

2

10

0

S3 (11)

Figure (c) displays the results of applying the VA at depth 3. There are now two paths leading to each state at depth 3. The decoder computes partial metrics for both paths entering each state by adding the corresponding branch metric to the partial metric of the connecting survivor at depth 2. The decoder discards the path segment with the smaller accumulated partial metric. This leaves one survivor path passing through each of the depth 3 state nodes. The partial metrics for survivor paths are now noted above state nodes at depth 3. In Figure (d), the surviving paths up to depth 3 are shown by solid lines and the paths not yet decoded by the decoder are shown as dashed lines. The decoding process is repeated for depths 5 and 6 as illustrated in Figures (e) and (g). At depth 6 a single path with the largest accumulated metric is selected by the algorithm, and decoding is complete. The decoded message sequence from Figures (g) is 101000. Figure(c) 1

Depth

S3 (11)

4

Γ—

-2

6

4

-4

Γ—

8

01

S 2 (10)

1,βˆ’2

00

11

S1 (01)

-3

00

βˆ’1,3

2,βˆ’1

Γ—

S0 (00)

βˆ’1,βˆ’2

3 10

0

4

3

11

Received sequence

2

Γ—

5

βˆ’3,2

6

1,2

4

0

34 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure(d) 1

Depth Received sequence

βˆ’1,βˆ’2

2

βˆ’1,3

2,βˆ’1

11 01

S3 (11)

1,2

5

11

Γ— Γ—

5

0

0

Γ—

5

2

3

10

6

βˆ’3,2

8

3

S2 (10)

Γ—

4

4

6

5

1,βˆ’2 4

S0 (00) S1 (01)

4

3

Figure(e) 1

Depth Received sequence

βˆ’1,βˆ’2

βˆ’1,3

2,βˆ’1

6

11

S1 (01)

01

3

S 2 (10)

5

1,βˆ’2 4

S0 (00)

4

βˆ’3,2

Γ—

5

4

6

4

11

8

5

Γ—

1,2 12

10

Γ— 10

10

0

S3 (11)

5

Γ—

10

Figure (f) 1

Depth Received sequence

βˆ’1,βˆ’2

2

βˆ’1,3

2,βˆ’1

01

S2 (10)

S3 (11)

3

6

1,2 12

11 8

5

βˆ’3,2

4

6

11

S1 (01)

1,βˆ’2 4

S0 (00)

4

3

Γ— Γ—

10

Γ—

5

10

35

11

13

10 5

15

Γ—

11

Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Figure (g) 1

Depth Received sequence

βˆ’1,βˆ’2

2

βˆ’1,3

2,βˆ’1

4

3

1,βˆ’2

5

βˆ’3,2

S0 (00)

1,2 00

11

11

S1 (01)

6

01

00

01

S 2 (10)

S3 (11) 15.20 Consider a TCM scheme shown in Figure P15.2.

Information bits

Figure P15.2

+

8-PSK Constellation Mapping

+ Convolutional Encoder (2,1,3)

a. Draw the trellis for this scheme, and assign subsets to the transitions according to the heuristic rules of Ungerboeck. Solution:

The trellis for the TCM scheme is shown in Figure.

36 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


00

00 / 000 10 /100

11/111

00

00 / 000 10 /100

01/ 011

00 01 00

00

00

00

01

01

01

10

10

011 00/ /111 10

/ 10/ 000 100

/1 1

10

00

/ 01

0 0

1 /00 0 0 1 /10 10 0 10 Input bits 1 10 0 1/0 Output bits 11/ 10 01/001 01/001 110 11 11/101 11 11/101

……

01/001 11 11/101 11

Next the three output (code) symbols on trellis branches are assigned signal phases according to the heuristic rules of Ungerboeck. This process is called set partitioning and is displayed in Figure. Note that the partitioning does not result in the natural mapping of the output bits to the constellation signal points. For example, the output symbol triplet (111) is assigned the constellation point 6 with corresponding phase shift of 270o. 8 βˆ’ PSK βˆ† 0 = 2sin(Ο€ / 8) = 0.765

βˆ†1 = 2

βˆ†2 = 2

000(0)

100(4)

011(2)

111(6)

001(1)

101(5)

010(3)

110(7)

The mapping of the output bits to the signal constellation points or phases is illustrated in the Figure.

37 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


011(2) 010(3)

001(1)

100(4)

000(0)

101(5)

110(7) 111(6)

The mapping of signal points in the constellation to the trellis branches is displayed in Figure.

00

0 4

0 00 4

6

2

00

00

01

01

01

7

10

10

10

1 5

11

2 6

01 0 1 10 5 7

0 4

00

00

4

10 3 11

3

1 5

11

1 5

11

b. What is the minimum distance error event through the trellis relative to the path generated by the all-zero bit sequence? Solution:

Figure displays two candidate paths, one generated by the all-zero bit sequence and the other erroneous, that diverges from the all-zero path and merges later. If they go to different states in the first transition, they will need at least three symbol intervals to rejoin. The total Euclidean distance between those two paths is d 2 = ( d leaving same node ) + ( d entering different nodes ) + ( d entering same node ) 2

2

2

> βˆ†12 +βˆ† 02 + βˆ†12 = 2 + 0.586 + 2 = 4.586

All other error events correspond to paths that are separated by even greater Euclidean distances.

38 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Erroneous non-parallel path at minimum Euclidean distance

00

0 4

0 00 4

6

2

All-zero path

00

00

01

01

01

7

10

10

10

1 5

11

2 6

01 0 1 10 5 7

0 4

00

00

4

10 3 11

3

1 5

11

1 5

11

The minimum distance error event through the trellis for this TCM scheme corresponds to parallel arms (e.g., paths labeled 0 and 4). They rejoin in one symbol interval and distance between them is 2 (i.e., d2 = 4). c. Assuming that your answer to part (b) is the minimum distance error event for the trellis, what is dfree of the code? Solution:

The minimum distance error event correspond to parallel transitions . i.e., the Euclidean distance d = 2. Therefore, d free = 2 . d. Assuming that parallel transitions dominate the error probability, what is the coding gain of this trellis code relative to uncoded 8-PSK, given that dmin for the 8-PSK is .765? Solution:

G = 10 log10

2 (TCM 8 βˆ’ PSK ) d free 4 = 10 log10 = 8.347 dB 2 2 d min (uncoded 8 βˆ’ PSK) (.765)

39 Β© 2012 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.


Turn static files into dynamic content formats.

CreateΒ aΒ flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.