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.