• No results found

Optimum Receiver for Binary Data Transmission

P5.1 First consider Z Tb

Nguyen

an orthonormal set.

What if the minus sign is put elsewhere, i.e.,

· cos θ − sin θ Are {φ1(t), φ2(t)} still orthonormal? If so does the matrix represent just a rotation?

(b) Need to find θ such thatRTb

Of course θ is determined by the signal set. You must know the signal set in order to rotate the original basis set as desired: ˆφ2(t) is perpendicular to the line joining s1(t) and s2(t).

The above result of θ can also be obtained geometrically (see the signal space diagram on Fig. 5.1). Use the following fact from geometry: Given the equation of a straight line y = mx + b, then the perpendicular to the line has a slope of −m1.

The slope of the line joining s1(t) and s2(t) is ss2221−s−s1211. Therefore the slope of ˆφ1(t) is tan θ = −ss2122−s−s1112, or θ = tan−1 ss2112−s−s1122.

Since we choose θ such that

Tb

Z

0

φˆ1(t) [s1(t) − s2(t)] dt = 0, (5.7)

Nguyen

Figure 5.1: Determining the rotation angle θ.

It follows that

Tb T < µ. Of course the argument of Q(x) is now negative and one would use the relationship Q(−x) = 1 − Q(x).

Stated in English, the area is a Q function whose argument is the distance from the mean to the threshold divided by the RMS value (standard deviation).

Technology Adoption Process

"The Chasm"

Laggards Late

Majority Early

Majority Early

Adoptors Innovators

Figure 5.2: Writing the shaded area in terms of the Q function.

Of course one must pay attention on which side of the mean the threshold lies and write the expression accordingly. For instance in terms of the Q function what is the shaded area in Fig. 5.2?

Nguyen

& Shwedyk

P5.4 (a) Since si(t) = si1φ1(t) + si2φ2(t), i = 1, 2, one has:

Ei = Z Tb

0

s2i(t)dt = Z Tb

0

[si1φ1(t) + si2φ2(t)]2dt

= Z Tb

0

[s2i1φ21(t) + 2si1si2φ1(t)φ2(t) + s2i2φ22(t)]dt

= s2i1 Z Tb

0

φ21(t)dt

| {z }

=1

+2si1si2 Z Tb

0

φ1(t)φ2(t)dt

| {z }

=0

+s2i2 Z Tb

0

φ22(t)dt

| {z }

=1

= s2i1+ s2i2 (b) Now let

φ1(t) = (q2

Tbcos(2πfct), 0 ≤ t ≤ Tb

0, otherwise (5.9)

and

φ2(t) = (q2

Tbsin(2πfct), 0 ≤ t ≤ Tb

0, otherwise (5.10)

Compute Z Tb

0

φ1(t)φ2(t) = 2 Tb

Z Tb

0

cos(2πfct) sin(2πfct)dt

= 1

Tb Z Tb

0

sin(4πfct)dt = − 1

4Tbπfccos(4πfct)

¯¯

¯¯

Tb

0

= − 1

4Tbπfc[cos(4πfcTb) − 1] (5.11) Thus, φ1(t) and φ2(t) are orthogonal if cos(4πfcTb) = 1 ⇒ 4πfcTb = 2kπ ⇒ fc= 2Tk

b, where k is a positive integer (k = 1, 2, . . .). There must be an integer number of half cycles of the cos and sin in the interval [0, Tb] for them to be orthogonal over the interval of Tb seconds. No other frequency suffices.

Finally, (fc)min= 2T1

b when k = 1. It is graphically illustrated in Fig. 5.3.

0 Tb t

sin

cos

Figure 5.3: Orthogonality of sin and cos with a minimum frequency.

P5.5 Consider the following two signals s1(t) and s2(t) (this is the same signal set considered in Example 5.5):

s1(t) = V cos(2πfct)

s2(t) = V cos(2πfct + θ), 0 ≤ t ≤ Tb, fc= k

2Tb, k integer (5.12)

Nguyen

& Shwedyk

(a) The energies of two signals can be computed as:

E1 =

cos(4πfct)dt

¸

where we have used the fact that cos(4πfct+β) is a periodic function with a fundamental period of Tb/k (regardless of the value of the phase β) and an integration over multiple periods of this function equals to zero.

The two signals s1(t) and s2(t) have unit energy if E1 = E2 = V22Tb = 1. Therefore, V =

q2 Tb.

Remark: In communications we invariably take fc to be an integer multiple of T1

b typ-ically, sometimes 2T1

b so the results for E1 and E2 hold (and those in P5.4). Typically fc is very large, on the order of 106 (MHz) or 109 (GHz) so that even if there aren’t an integer number of cycles (or half cycles) in the time interval, for engineering purposes E1 and E2 still are closely approximated by V2Tb/2.

(b) Since E1= E2= E, the correlation coefficient of the two signals is

ρ = 1

Two signals are orthogonal when the correlation coefficient ρ = 0, which is equivalent to cos θ = 0. So, θ = kπ2, k = ±1, ±2, ±3, . . . results in −φ2(t) of P5.4b. The signal space of the signal set is shown in Fig. 5.12 of the text and it is reproduced in Fig. 5.5.

Nguyen

Figure 5.5: Signal space representation of Problem 5.5.

P5.6 (a)

cos(2π(2fc)t)dt

| {z }

Nguyen

& Shwedyk

Plot of ρ versus the normalized frequency ∆f Tb is shown in Fig. 5.6.

0 fTb

ρ

1 1

or (minimum frequency separation

2 2

for orthogonality)

b

b

fT f

= ∆ = T

minimum point maximum distance point between the 2 points

ρ

ρmin

Figure 5.6: Plotting of ρ(∆f ).

(b) One can differentiate ρ with respect to the (normalized) variable ∆f Tb to find where the minimum occurs. From the plot of ρ we expect it to be between 0.5 and 0.75. Formally let x ≡ 2π∆f Tb. Then ρ(x) = sin xx and dρ(x)dx = cos xx sin xx2 = 0 (for maximum/minimum points) or x = tan x. Solve this numerically.

Another approach (still numerical) is to set up a table of values of sin xx between x = 2π × 0.65 and 2π × 0.75 in increments of say 0.01 and pick out value of x where the minimum occurs.

The simplest approach is to trust the answer and check it by seeing if x= tan x at x = 2π×? 0.715 (within acceptable engineering numerical accuracy), i.e., 2π×0.715= tan(2π × 0.715).? For ∆f Tb = 0.715, ρ = −0.2172. Therefore d =p

2E(1.2172).

When ρ = 0, d =√

2E. The distance has increased by a factor of 1.1033.

A more relevant way to “quantify” this increase is to state that for ρ = 0 the energy E needs to be increased by 1.2172 to achieve the same distance between the 2 signals as in the ρ = −0.2172 case. This is a 10 log10(1.2172) = 0.85 dB increase in energy (& hence power).

Nonetheless for other reasons, namely synchronization, ∆f is chosen so that ρ = 0.

Remarks:

(i) When the frequency separation ∆f is chosen to be 2T1

b the two signals are said to be “coherently” orthogonal, when ∆f is chosen to be k 1

Tb (k ≥ 2) they are called

“noncoherently” orthogonal. Chapter 7 discusses this further.

(ii) To obtain the signal space representation is not that straightforward, except for ρ = 0.

All that can be said of the top of one’s head is that the signal space is 2–dimensional, and that the 2 signals lie at a distance of

E (because of how we adjust V1, V2) from the origin. One basis function can be chosen to be, say φ1(t) = s1(t)

E . The other basis function is a function of ∆f .

P5.7 Using the Gram-Schmidt procedure, construct an orthonormal basis for the space of quadratic polynomials {a2t2+ a1t + a0; a0, a1, a2 ∈ R} over the interval −1 ≤ t ≤ 1.

Nguyen

& Shwedyk

It is simple to see that the equivalent problem is to find an orthonormal basis for three signals s1(t) = 1, s2(t) = t and s3(t) = t2 over the interval −1 ≤ t ≤ 1.

The first orthonormal basis function is simply φ1(t) = 1

2 since the energy of s1(t) = 1 over the interval −1 ≤ t ≤ 1 is 2.

Next observe that s2(t) = t is an odd function, while φ1(t) is an even function. It follows that s2(t) is already orthogonal to φ1(t). Thus, we set: The orthogonal signal is given by

φ03(t) = s3(t) − 2 3

2φ1(t) − 0 · φ2(t) = t21 3 Finally, the third orthonormal basis function is

φ3(t) =

In summary, (r

1

is an orthonormal basis set for the quadratic functions over [−1, 1]. The set is plotted in Fig.

5.7. One, of course, does not achieve very much by approximating a quadratic polynomial by another quadratic polynomial. Of more practical interest is the situation where we are given

Nguyen

& Shwedyk

−1 −0.5 0 0.5 1

−1.5

−1

−0.5 0 0.5 1 1.5 2

t

Figure 5.7: Orthonormal basis set for quadratic polynomials.

a more general time function, say s(t) of finite energy, and wish to approximate it by a quadratic polynomial over the interval of [−1, 1]. Then the set of {φ1(t), φ2(t), φ3(t)} found above can be used to approximate s(t) where the coefficients in the approximation s(t) ≈ ˆ

s(t) = s1φ1(t) + s2φ2(t) + s3φ3(t) are found by:

s1= Z 1

−1

s(t)φ1(t)dt, s2= Z 1

−1

s(t)φ2(t)dt, s3= Z 1

−1

s(t)φ3(t)dt.

Furthermore the mean-squared error [s(t) − ˆs(t)]2 is minimum (see P5.9).

Remark: The 3 polynomials {φ1(t), φ2(t), φ3(t)} are normalized versions of the first three members of what are referred to as Legendre polynomials. These are orthogonal polynomials over [−1, 1] that are solutions of Legendre’s differential equations:

(1 − t2)d2pn(t)

dt2 − 2tdpn(t)

dt + n(n + 1)pn(t) = 0.

The nth member is given by pn(t) = 2n1n! dn

dtn(t2− 1)n (Rodrique’s formula) and Z

−∞

pn(t)pm(t)dt =

½ 2

2n+1, n = m 0, n 6= m .

Nguyen

& Shwedyk

P5.8 Orthogonal : Z T

0 Now let us find the correlation coefficient:

ρmn = signals are antipodal with energy ˆE = E/2.

Nguyen

Therefore the signals {ˆsm(t)}Mm=1 are linearly independent since any one of them is a linear combination of the remaining M − 1 of them. They therefore lie in an (M − 1)-dimensional signal space at distance

q

M −1M from the origin. Further, since they are equally correlated the angle between any 2 vectors from the origin to the signal points is the same for each pair.

Putting this all together we have for:

M = 3: A 2-dimensional signal space. Signal points are at distance q2

3E from origin, laying at a angle spacing of 120, i.e., on vertices of an equilateral triangle.

M = 4: Lying in a 3-dimensional space, distance of q3

4E, on the vertices of a regular tetra-hedron.

Nguyen

& Shwedyk

energy of the estimation error is:

Ee =

Obviously Ee is a function of sk and therefore sk can be chosen to minimize Ee. To find the optimal sk, differentiate Ee with respect to each sk and set the result to zero:

dEe (b) SubstitutingR+∞

−∞ s(t)φk(t)dt = sk into (5.20), the minimum mean square approximation error is given by:

(Ee)min = Es− 2

Basically the energy of the approximation error is the signal energy minus the energy in the approximation signal.

Nguyen

(c) Determine the new set of coefficients sRij, i, j ∈ {1, 2} in the representation:

· s1(t)

One method is a straightforward calculation: sRij = Z 1

A second method is based on sij and θ directly:

· s1(t)

Nguyen

(d) Geometrical picture for both the basis function sets (original and rotated) and for the two signal points is shown in Fig. 5.10. Note: As seen from the geometrical picture,

2R( )t

Figure 5.10: Geometrical representation of the basis function sets (original and rotated) and the two signals.

sR11 = −sR22 and sR12 = sR21. This is seen in (c) above and is true for any θ. But do not jump to conclusions that this is true all the time. It comes about because of the locations of s1(t), s2(t) in the signal space.

(e) Determine the distance d between the two signals s1(t) and s2(t) in two ways:

(i) Algebraically: (ii) Geometrically: From the signal space plot of (d) one has d =√

2 + 2 = 2 (Note that both signal have energy E1= E2= 2).

Nguyen

& Shwedyk

(f) Thought φ1(t) and φ2(t) can represent the two given signals, they are by no means a complete basis set because they cannot represent an arbitrary, finite-energy signal defined on the time interval [0, 1]. As a start to complete the basis, we wish to plot the next two possible orthonormal functions φ3(t) and φ4(t). Obviously there are may possible choices for φ3(t) and φ4(t). One simple choice is shown below.

t

P5.11 (a) The first orthonormal basis function is chosen, somewhat arbitrarily, as φ1(t) = s1E(t)

1 = The third orthogonal signal is given by

φ03(t) = s3(t) −√

1(t) − 0 · φ2(t) =

½ −1, 2 ≤ t ≤ 3 0, elsewhere Since the energy of φ03(t) equal 1, one sets φ3(t) = φ03(t).

Finally, the fourth orthonormal basis function is obtained by fist projecting s4(t) onto φ1(t), φ2(t), φ3(t): The orthogonal signal is given by

φ04(t) = s4(t) +√

1(t) − 0φ2(t) − φ3(t) = 0

Nguyen

& Shwedyk

In conclusion, we need only 3 orthonormal basis functions to represent the signal set.

They are plotted in Fig. 5.12.

φ1(t) =

Figure 5.12: Three basis functions.

In terms of the above basis functions, the four signals are:

(b) First the 3 functions are certainly orthogonal (they are what one calles “time orthogonal”

since they do not overlap in time) and obviously each of them has unit energy. The question is do they represent the 4 time functions exactly. Well,

s1(t) = v1(t) + v2(t) + 0 · v3(t), s2(t) = v1(t) − v2(t) + 0 · v3(t) s3(t) = v1(t) + v2(t) − v3(t), s4(t) = −v1(t) − v2(t) − v3(t) (c) Geometrical representation of the four signals is plotted in Fig. 5.13.

P5.12 The signal set is given as:

s1(t) =

Nguyen

& Shwedyk

1( ) v t

2( ) v t

3( ) v t )

1(t s

3( ) s t

2( ) s t

4( ) s t

1 1

1

1

0

1

Figure 5.13: Geometrical representation of the 4 signals by {v1(t), v2(t), v3(t)}.

Tb 2

Tb

0 t

sin

cos

Figure 5.14

(a) There is one cycle of the cos and one cycle of the sin in the interval [0, Tb]. Graphically:

Obviously the area of the product is zero, regardless of the amplitudes of the sine and cos. Therefore s1(t) and s2(t) are orthogonal.

Nguyen

The energies of the two signals are:

E1 =

(b) The optimum decision rule for the minimum distance receiver is:

Nguyen

(c) From the signal space diagram, the squared distance between the two signals is:

d221 = E1+ E2=

r3A2Tb

2 + A2Tb

2 = 2A2Tb = 2Tb (when A = 1 volt) It follows that the bit error rate bit is:

P [error] = Q

Nguyen

& Shwedyk

(d) To implement the optimum receiver that uses only matched filter, one needs to rotate the basis functions as shown in the signal space diagram to obtain ˆφ1(t) and ˆφ2(t): ˆφ1(t) is perpendicular to the line joining s1(t) and s2(t). Since

tan(θ) = It follows that

φˆ2(t) = − sin θφ1(t) + cos θφ2(t)

The block diagram of the optimum receiver is shown below:

Received signal The impulse response of the filter is found as:

h(t) = ˆφ2(Tb− t) =

The threshold can be found from the signal space diagram to be:

T = −·p

For a given (fixed) energy per bit Eb, antipodal signalling achieves the smallest error probability amongst all binary signalling schemes. This is because the distance between the two signals in antipodal signalling is the largest (again, for a fixed Eb). Thus, the two signals can be modified as:

ˆ

Nguyen

& Shwedyk

V

t )

1(t s

V

0

Tb

t

)

2(t s

0 Tb

V

2 Tb

2 Tb

2

b

Vt T

2 2

b

Vt V

T +

2

1 3

V Tb

E = E2=V T2 b

Figure 5.18

0 t

Tb

0 Tb t

2 Tb

2 Tb 1( )t

φ φ2( )t

0 t

Tb

2 Tb

1 Tb

1 Tb

3

Tb 1( ) ( )2

s t s t V2

V2

total area

=0

Figure 5.19

P5.13 (a) To show s1(t) is orthogonal to s2(t), one needs to show that RTb

0 s1(t)s2(t)dt = 0.

The above is quite obvious by plotting s1(t)s2(t).

Since s1(t) and s2(t) are orthogonal, choose:

φ1(t) = s1(t)

√E1 =

3 V√

Tbs1(t); φ2(t) = s2(t)

√E2 = 1 V√

Tbs2(t) Plots of φ1(t) and φ2(t) are shown above.

(b) Plots of signal space diagram and the optimum decision regions are shown below:

Nguyen

The optimum decision rule is that of the minimum distance rule:

(r1− s21)2+ (r2− s22)2

(c) The squared distance between the two signals:

d221 = E1+ E2 = V2Tb

3 + V2Tb= 4V2Tb 3 = 4Tb

3 (when V = 1 volt) The error probability of the minimum distance receiver is:

P [error] = Q

Nguyen

To realize the optimum receiver that uses only one matched filter, one needs to obtain φˆ2(t) and the threshold T . The block diagram of the optimum receiver:

( )t

where the threshold can be found from the signal space diagram to be:

T = d21

Note: One can also make use of the result obtained in Question 2 to come up with the following implementation:

Nguyen

(e) Need to modify s2(t) so that the Euclidean distance d21 is maximized. Since the energy of s2(t) cannot be changed ⇒ move s2(t) to the point (−√

P5.14 (a) The two signals are (time) orthogonal with equal energy E = A22T (joules). The orthog-onal basis is φ1(t) = s1(t) (b)+(c) See above plots.

(d) P [bit error] = Q

(e) Rotate the orthogonal basis by 450 x and look at projection along φR2(t) = normalizing factors2(t)−s1(t) . (f) We want s2(t) as far away from s1(t) as possible. Therefore make it antipodal, i.e.,

s2(t) = −s1(t).

Nguyen

& Shwedyk

)

1(t φ )

2(t φ

E

E

( )

1 0T

s t

( )

2 1T

s t 1D

r2

r1

0

0D r2

Figure 5.26

t=Tb

( )t

r

( )

0

d

Tb

t

( )

0

d

Tb

t

t=Tb

Comparator

-+ Threshold = 0

2 1

r r r1

r2

)

1(t φ

)

2(t φ

Figure 5.27

0 t

T 1 T

1

T

2 T

2R( )t φ

Figure 5.28

t=Tb

( )

0

d

Tb

t

2

rR

2R( )t φ

( )t

r

Figure 5.29

P5.15 The noise, n(t) = n, is simply a DC level but the amplitude of the level is random and is

Nguyen

Figure 5.30: A binary communication system with additive noise.

Gaussian distributed with a probability density function given by fn(n) = 1 The received signal in the first bit interval can be written as:

r(t) = si(t) + n(t) = si(t) + n, 1 ≤ t ≤ Tb (5.27) (a) The autocorrelation function of the noise n(t) is

Rn(τ ) = E{n(t)n(t + τ )} = E{n × n} = E{n2} = N0,

Since Rn(τ ) = N0 for every τ , it follows that any two noise samples, no matter how far they are, are correlated. In fact, because the noise is modeled as a random DC level, knowing the value of the noise at one time instant gives a full knowledge about the noise at any other time instants.

The power spectral density of the noise is

Sn(f ) = F{Rn(τ )} = F{N0} = N0δ(f )

Note that Sn(f ) 6= 0 only when f = 0, or Sn(f ) = 0 for f 6= 0. This is of course due to the noise being modeled as a random DC level!

(b) Consider the following signal set and the receiver (as usual, s1(t) is used for the trans-mission of bit “0” and s2(t) is for the transmission of bit “1”). In essence, the system

uses antipodal signalling. The decision variable is r1 = T1 RT

0 r(t)dt. More specifically,

½ r1= V + n1 if “0” was transmitted r1= −V + n1 if “1” was transmitted

Solutions Page 5–26

Nguyen

& Shwedyk

Nguyen & Shwedyk A First Course in Digital Communications

where the noise n1 is Gaussian, zero-mean and has a variance of N0/T . Therefore the error probability of the receiver is:

P [error] = Q

(c) Consider the signal set plotted in Fig. 5.32.

Figure 5.32: A signal set.

To achieve a probability of zero, the receiver needs to remove the noise completely. There are many possibilities. Perhaps the simplest is to take 2 samples of r(t), at r(t1) and r(t2), where 0 < t1 < T /2 and T /2 < t2 < T , i.e., they are in the first half and second half of the bit interval, respectively. The decision rule is as follows:

If sample r(t1) equals r(t2), then decide s1(t).

If sample r(t1) is not equal to r(t2), then decide s2(t) (note that r(t1) > r(t2)).

When s1(t) is transmitted, r(t) = V + n, 0 ≤ t ≤ T ⇒ r(t1) = r(t2).

When s2(t) is transmitted, then r(t) =

½ V + n, 0 ≤ t ≤ T /2

−V + n, T /2 ≤ t ≤ T ⇒ r(t1) 6= r(t2).

Therefore it is possible to determine whether s1(t) or s2(t) was transmitted perfectly.

Another receiver implementation is as follows:

The noise process in this problem is an extreme example of colored noise. Using the signal space ideas developed in this chapter one can see that the noise lies along one

Nguyen

& Shwedyk

axis only, namely that given by φ1(t) = s1(t)E . It does not have any component along φ2(t) = s2(t)E. This is illustrated in Fig. 5.34. This allows you to determine which signal is sent exactly. In this context, another receiver implementation is shown in Fig. 5.34.

T t=

2

2

0 1

0 0

D D

r r

>

= ( )t

r ( )

0

d

T

t )

1(t φ )

2(t φ E

E

( )

s t1

0

( )

s t2

Noise projection is on ( ) onlyφ1 t φ2( )t

Figure 5.34: Noise projection and another receiver implementation.

P5.16 (Matched Filter )

) ( ) (t H f

h

( ) ( )

s t +w t sout( )t +wout( )t

Figure 5.35

(a) The response of the filter to the input signal component can be written as sout(t) = F−1{S(f )H(f )} =

Z

−∞

S(f )H(f )ej2πf tdf

⇒ sout(t0) = Z

−∞

S(f )H(f )ej2πf t0df ⇒ [sout(t0)]2=

·Z

−∞

S(f )H(f )ej2πf t0df

¸2

(5.28) (b) Since the input noise is white with power spectral density (PSD) N0/2, it follows that the PSD of the output noise is N2 |H(f )|0 2. The total power of the output noise Pwout is thus given by,

Pwout = Z

−∞

N0

2 |H(f )|2df = N0 2

Z

−∞

|H(f )|2df (5.29) From (5.28) and (5.29) the SNRout can be written as,

SNRout= [sout(t0)]2 Pwout =

hR

−∞S(f )H(f )ej2πf t0df i2

N0

2 Z

−∞

|H(f )|2df

(5.30)

Nguyen

& Shwedyk

(c) NowR

−∞[a(t) + λb(t)]2dt ≥ 0 (always). Considered as a quadratic in λ:

αλ2+ βλ + γ ≥ 0 (5.31)

with coefficients α, β and γ given as:

α =

The above inequality requires that the quadratic αλ2+βλ+γ cannot have any real roots, otherwise it was cross the real axis for some value of λ (actually at two points) and would be less than 0. From the formula for the roots this means that ∆ = β2− 4αγ < 0, which, upon substituting for α, β, γ is

·Z

which is known as Cauchy-Schwartz inequality. The equality holds when a(t) = Kb(t), where K is an arbitrary (real) scaling factor, i.e., the shapes of a(t) and b(t) are the same.

(d) Using Parseval’s relationship, Z where equality holds when A(f ) = KB(f ), K an arbitrary (real) scaling constant.

(e) Now let A(f ) = H(f ) and B(f ) = S(f )ej2πf t0, then (5.36) becomes: Combining (5.30) and (5.37) gives:

SNRout (f) The maximum value of SNRout is achieved by choosing A(f ) = KB(f ), i.e.,

H(f ) = KS(f )e−j2πf t0. Finally, the corresponding impulse response of the filter is

h(t) = Ks(t0− t) (5.39)

where K is any real number. Note that to arrive at the above relation, the following two properties of the Fourier transform have been used (x(t) is a real function here):

1. Time shift: x(t − t0) ⇔ X(f )e−j2πf t0.

Nguyen

& Shwedyk

0

t

1( ) s t K

3 T

T 2T 3 0

t

2( ) s t

K

3 T

T 2T 3

Figure 5.36: Signal set matched to the filter’s impulse response.

2. Time reversal: x(−t) ⇔ X(f ).

In our situation we take t0 to be Tb, the bit duration. Therefore h(t) = Ks(Tb− t).

P5.17 (a) The signal set would be ±Kh(Tb− t) where K is a scaling factor that determines the transmitted energy (or average power). They plot as in Fig. 5.36. This makes h(t) a matched filter to the signal set.

(b) Assume K = 1. The transmitted energy of either signal is E =

Z Tb

0

s21(t)dt = Z Tb/3

0

µ 3 Tbt

2 dt +

Z Tb

Tb/3

·

3 2Tbt +3

2

¸2

dt = Tb

3 (joules) P [bit error] = Q

Ãr2E N0

!

= Q

Ãr2Tb 3N0

!

= Q

µr 2

3rb× 10−9

≤ 10−3

rb 2 × 109

3[Q−1(10−3)]2 = 6.98 × 107 bits/second = 69.8 Mbps P5.18 (Antipodal signalling)

) (t s

Tb

0 A

/ 3 t

Tb 2Tb/ 3 )

(t y 2A T2 b 3

2 b 3 A T

Figure 5.37

(a) The impulse response of the filter matched to s(t) is

h(t) = s(Tb− t) = s(t) (5.40)

where to arrive at the last equality we recognize that s(t) is even about t = Tb/2.

Therefore, the impulse response h(t) looks exactly the same as s(t).

Nguyen

& Shwedyk

(b) The output of the matched filter when s(t) is applied at the input is y(t) = s(t) ∗ h(t) =

The output y(t) is sketched in Fig. 5.38. Observe that the output peaks at the sampling time t = Tb = 3. This is of course not a coincidence but due to the property of the matched filter, namely maximizing the signal-to-noise ratio at the sampling instant (see P5.16).

Figure 5.38: Output of the matched filter: only signal s(t) is present at the input.

(c) The output of the matched filter when −s(t) is applied at the input is the negative version of the waveform in Fig. 5.38. This is simply because [−s(t)] ∗ h(t) = −[s(t) ∗ h(t)].

(d) To compute the SNR, the variance (i.e., average power) of the noise at the output of the filter at t = Tb needs to be found. This can be accomplished as follows.

Approach 1: At the output of the matched filter and for t = Tb the noise is n = The variance of the noise is

σn2 = E

Nguyen

& Shwedyk

Approach 2: The PSD of the noise at the output of the matched filter is N0

2 |H(f )|2 =

The signal-to-noise ratio (SNR) at the output of the matched filter at the sampling instant is given by

SNR = [±y(Tb)]2

σ2n = (2A2Tb/3)2

N0A2 T3b = 4A2Tb

3N0 (5.45)

(e) For antipodal signalling, the distance between the two signals is d21= 2 E = 2

q2A2Tb

3 . Therefore the probability of bit error is

P [error] = Q

Finally, it follows from (5.46) and (5.45) that P [error] = Q³√

SNR

´

(5.47) Equation (5.47) holds for general antipodal signalling, i.e., regardless of what s(t) is used. The relationship in (5.47) also clearly shows that for antipodal signalling over an AWGN channel maximizing the SNR at the output of a receiving filter is the same as minimizing the probability of error!

(f) Plot of P [error] as a function of SNR is shown in Fig. 5.39. The minimum SNR to achieve a probability of error of 10−6 is

SNR = [Q−1(10−6)]2 = 22.595 = 13.54 (dB) (5.48) P5.19 (Bandwidth) Define W to be the bandwidth of the signal s(t) if ²% of the total energy of s(t)

is contained inside the band [−W, W ]:

Z W

Nguyen

Figure 5.39: Plot of P [error] as a function of SNR.

(ii) Half-sine: s(ii)(t) = Using the sifting property of the impulse function we have

S(ii)(f ) =

Nguyen

Doing all the necessary algebra, one obtains:

S(iii)(f ) = Substituting the above into (5.49) and changing the variable λ = f Tb one has the fol-lowing equations to solve for W Tb:

(i) Rectangular pulse:

2

Nguyen

& Shwedyk

(iii) Raised cosine:

2 Z W

0

2Tb 2

· sin(πf Tb) (f Tb)[1 − (f Tb)2]

¸2

df = 4 2

Z W T

b

0

sin2(πλ)

λ2(1 − λ2)2dλ = ²

100 (5.55) (b) The above equations can only be solved numerically. Using the numerical integration routine in MATLAB (quad or quad8 in MATLAB 5.3 and quadl in MATLAB 6.0), the following table is obtained.

Table 5.1: Values of W Tb

²% Rectangular Half-Sine Raised Cosine 90.0% 0.8487 0.7769 0.9501 95.0% 2.0740 0.9116 1.1146 99.0% 10.2860 1.1820 1.4093 99.9% 31.1677 2.7355 1.7290

Note that the bandwidth is normalized in terms of the signalling rate rb= 1/Tb(bits/second).

Asymptotically, as f becomes very large, the energy spectral densities behave as follows:

Rectangular: 1/f2; Half-sine: 1/f4 and Raised cosine: 1/f6.

Thus the raised cosine decays the fastest. This is related to the number of times a signal can be differentiated before impulses appear. In the above, impulses appear in the rectangular pulse after the first derivative, in the half-sine after the second derivative and in the raised cosine after the third derivative. Thus one would feel that the raised cosine is the smoothest, then the half-sine and finally the rectangular pulse. This agrees with the plot of all three signals in Figure 5.40.

In the frequency domain, this translates to the smoother signal occupies the lesser amount of frequency axis (though this may also depends on the value of ² used for bandwidth definition. Note from Table 5.1 that though the raised cosine’s spectral den-sity decays (asymptotically) the fastest, it does not start to occupying “less frequency axis” until the energy bandwidth criterion is 99.9%, a value that is probably not of engi-neering interest. A criterion of 95% or 99% would be more realistic values for engiengi-neering design and analysis.

Figures 5.41 and 5.42 plot the energy spectral densities of all three signals in linear and logarithmic scales, respectively. It can be seen that the faster the density decays with f , the wider the main lobe. This is reasonable because all three signals have the same energy (of 1 joule). Thus the energy of the respective signals has to wide up someplace on the frequency axis. If not at the higher frequency then the main lobe will do.

P5.20 (a) When the two bits are equally likely (uniform source), the error performance of a digital binary communications system only depends on the Euclidean distance between the two signals. This distance is 2

E for antipodal signalling, where√

E is the energy of s(t).

It follows that, for the two communication systems to have the same error performance, the energies of the two waveforms in Figure 5.43 have to be the same. That is:

It follows that, for the two communication systems to have the same error performance, the energies of the two waveforms in Figure 5.43 have to be the same. That is:

Related documents