bit error rate in digital photoreceivers · the detected signal is above or below the threshold...

16
Page 15 Γ. Έλληνας, Διάλεξη 13-14, σελ. 29 Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες Bit Error Rate in Digital Photoreceivers In the previous slides, we saw that the photoreceiver makes a decision as to whether the recovered waveform is above (“1”) or below (“0”) the threshold level. When noise is present, a wrong decision can be made, i.e. we have a bit error. We will now examine techniques for calculating the bit error probability and hence the BER. Γ. Έλληνας, Διάλεξη 13-14, σελ. 30 Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες Digital Photoreceiver Recovered pulse train (output voltage) © Prentice-Hall

Upload: others

Post on 05-Nov-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 15

Γ. Έλληνας, Διάλεξη 13-14, σελ. 29Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Bit Error Rate in Digital Photoreceivers

In the previous slides, we saw that the photoreceiver makes a decision as to whether the recovered waveform is above (“1”) or below (“0”) the threshold level. When noise is present, a wrong decision can be made, i.e. we have a bit error.

We will now examine techniques for calculating the bit error probability and hence the BER.

Γ. Έλληνας, Διάλεξη 13-14, σελ. 30Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Digital Photoreceiver

Recovered pulse train

(output voltage)

© Prentice-Hall

Page 2: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 16

Γ. Έλληνας, Διάλεξη 13-14, σελ. 31Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

© Wiley

Example of a bit error

• Bit errors are a consequence of the noise present on the received signal. Since the noise is random and probabilistic, it can be described using a random variable.

Γ. Έλληνας, Διάλεξη 13-14, σελ. 32Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

S0

S1

D0

D1

Only two types of bit can be sent in a binary system: “1”s and “0”s. These events are mutually exclusive, so we have Pr(S0) + Pr(S1) = 1.S0 is the event “0” was sentS1 is the event “1” was sent

Only two types of decision can be made:the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive, so we have Pr(D0) + Pr(D1) = 1.D0 is the event “0” was detectedD1 is the event “1” was detected

Example of a bit error

Page 3: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 17

Γ. Έλληνας, Διάλεξη 13-14, σελ. 33Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

S0

S1

D0

D1

Conditional probabilities

D1 .S0

D0 .S0

D0 .S1D1 .S1

A total of four mutually exclusive outcomes are possible in a binary

communications system

Γ. Έλληνας, Διάλεξη 13-14, σελ. 34Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Conditional probabilities

D1 .S0

D0 .S0

D0 .S1D1 .S1

The shaded regions represent events thatgive a bit error:

• D1. S0 = a “1” is detected and a “0”was sent

• D0 .S1 = a “0” is detected and a “1”was sent

• These two events are mutually exclusive, hence:).().()errorbit ( 1001 SDPSDPP rrr +=

Page 4: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 18

Γ. Έλληνας, Διάλεξη 13-14, σελ. 35Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Baye’s formula( )( )1

1010

.)/(SP

SDPSDPr

rr =

Rearranging gives: ( ) )/()(. 10110 SDPSPSDP rrr =

Similarly, we have: ( ) )/()(. 01001 SDPSPSDP rrr =

Thus the bit error probability can be written as:

)/()()/()()errorbit ( 101010 SDPSPSDPSPP rrrrr +=

Probability of bit error

Γ. Έλληνας, Διάλεξη 13-14, σελ. 36Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

The previous formula can be used to calculate the bit error probability provided:

we know what the probabilities of sending “0”s and “1”s are (often we have Pr(S0) = Pr(S1) = 0.5)and we can obtain the conditional probabilities Pr(D1/S0) and Pr(D0/S1).

We can obtain Pr(D1/S0) and Pr(D0/S1) if we know what the PDFs associated with reception of the bits “0” and “1” in the presence of noise are.

These processes can be very accurately approximated by gaussian random variables; the gaussian PDF is plotted on the next slide.

Probability of bit error

Page 5: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 19

Γ. Έλληνας, Διάλεξη 13-14, σελ. 37Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Gaussian PDF

∞≤−≤∞−=−−

xexpmx2

2

2)(

221)( σ

πσ

m

p(x)

Γ. Έλληνας, Διάλεξη 13-14, σελ. 38Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

The gaussian PDF occurs very widely in many applications (and for that reason is also called the Normal distribution).

One reason for this is the central limit theorem. This theorem tells us that if we take the sum of a large number of independent variables X1, X2, .... Xn, and if each of these makes a small contribution to the sum X = X1 + X2 + .... + Xn, then the PDF of X will approach a gaussian shape as n →∞.The proof is beyond the scope of this course, but the idea can be illustrated best by an example, e.g. roll n dice and add their values. If this event is repeated enough times, you get a gaussian distribution.www.users.on.net/zhcchz/java/quincunx/quincunx.8.html

Gaussian PDF

Page 6: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 20

Γ. Έλληνας, Διάλεξη 13-14, σελ. 39Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Properties of the gaussian PDF

∫∞

∞−

= 1)(xp

5.0)()( =≥=≤ mXPmXP rr by symmetry

mean: mX =

σ is the standard deviation: when p(x) is used to describe the probability of detecting a noise current (or voltage) then σ represents the rms value of the noise current (or voltage).

Γ. Έλληνας, Διάλεξη 13-14, σελ. 40Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Obtaining probabilities from the gaussian PDF

When calculating the bit error probability later on, we will have to evaluate probabilities such as:

∫∞

=≥1

)()( 1x

r dxxpxXP

This expression cannot be calculated analytically, we must use numerical techniques. We define:

∫∞

−=k

y dyekQ 22

21)(π

This can be obtained numerically and then plotted:

Page 7: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 21

Γ. Έλληνας, Διάλεξη 13-14, σελ. 41Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Q(k)

Γ. Έλληνας, Διάλεξη 13-14, σελ. 42Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

To calculate:[ ] dxexXP

x

mxr ∫

∞−−=≥

1

22 2)(

212

1)( σ

πσLet: ymx

=−σ

⎟⎠⎞

⎜⎝⎛ −

=≥

=≥ ∫∞

σ

πσ

mxQxXP

dyexXP

r

mx

yr

11

2/1

)(

21)(

1

2

Obtaining probabilities from the gaussian PDF

Page 8: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 22

Γ. Έλληνας, Διάλεξη 13-14, σελ. 43Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

m

p(x)

⎟⎠⎞

⎜⎝⎛ −

=≥

=≥ ∫∞

σmxQxXP

dxxpxXP

r

xr

11

1

)(

)()(1

x1

Obtaining probabilities from the gaussian PDF

Γ. Έλληνας, Διάλεξη 13-14, σελ. 44Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

In the context of our digital photoreceiver, we can say that output voltage v(t) generated immediately after the amplifier stage in response to the transmission of “0” and “1” will have mean values of Vm0 and Vm1 for these two pulses. The threshold level (Vth) will be set between these two values.

However, noise (due e.g. to thermal and amplifier contributions) will be superimposed on these mean values, and the distributions will follow that of a gaussian PDF. Hence the received voltages for “0” and “1” have PDFs given by p0(v) and p1(v) respectively:

Towards BER .....

Page 9: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 23

Γ. Έλληνας, Διάλεξη 13-14, σελ. 45Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Pr(D1/S0)

Pr(D0/S1) Vm0

Vm1

detected voltage, v

Vth

p0(v)

p1(v)

Assume σ0 = σ1 = σ

Towards BER .....

Γ. Έλληνας, Διάλεξη 13-14, σελ. 46Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

)/()()/()( 101010 SDPSPSDPSPP rrrre +=

We saw earlier that the bit error probability is:

If we assume that “ones” and “zeros” are equally likely to be sent, then Pr(S0) = Pr(S1) = 0.5 and:

[ ])/()/( 100121 SDPSDPP rre +=

By considering an NRZ waveform with Vm0 = 0, and picking a threshold

midway between this and Vm1, i.e. Vth= Vm1 /2, show that:

( )σ21me VQP =

QUESTION

Page 10: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 24

Γ. Έλληνας, Διάλεξη 13-14, σελ. 47Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Bit Error Rate in Digital Photoreceivers

In the previous slides, we saw that the photoreceiver makes an error whenever noise “pushes” the waveform to the “wrong side”of the threshold level.

We also saw that we could model this process using the gaussian distribution.

We will now finish our treatment by showing how BER is related to SNR.

Γ. Έλληνας, Διάλεξη 13-14, σελ. 48Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Digital Photoreceiver

Recovered pulse train

(output voltage)

© Prentice-Hall

Bit errors can be made here;the number depends on the SNR

of the received signal

Page 11: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 25

Γ. Έλληνας, Διάλεξη 13-14, σελ. 49Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

)/()()/()( 101010 SDPSPSDPSPP rrrre +=

We saw earlier that the bit error probability is:

If we assume that “ones” and “zeros” are equally likely to be sent, then Pr(S0) = Pr(S1) = 0.5 and:

[ ])/()/( 100121 SDPSDPP rre +=

We will consider a NRZ waveform with Vm0 = 0, and pick a threshold midway between this and Vm1, i.e. Vth= Vm1 /2. We refer to this as a

unipolar waveform.

Towards BER .....

Γ. Έλληνας, Διάλεξη 13-14, σελ. 50Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

)/( 01 SDPr

Vth Vm10

v

p0(v) p1(v)

2

2

220

21)( σ

πσ

v

evp−

=

∫∞

=≥=thV

thrr dvvpVvPSDP )()()/( 001

Towards BER .....

Page 12: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 26

Γ. Έλληνας, Διάλεξη 13-14, σελ. 51Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

• Using the relationship:

⎟⎠⎞

⎜⎝⎛ −

=≥σ

mxQxXPr1

1 )(we have:

⎟⎠⎞

⎜⎝⎛=

≥=

σth

thrr

VQ

VvPSDP )()/( 01

Towards BER .....

Γ. Έλληνας, Διάλεξη 13-14, σελ. 52Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

)/( 10 SDPr( )

2

21

221

21)( σ

πσ

mVv

evp−−

=

∫∞−

=≤=thV

thrr dvvpVvPSDP )()()/( 110

v

0 Vth Vm1

p0(v) p1(v)

Towards BER .....

Page 13: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 27

Γ. Έλληνας, Διάλεξη 13-14, σελ. 53Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

• By symmetry, we have:

v

0 Vth Vm1

Green area = black area

3Vth

∫∞

=thV

r dvvpSDP3

110 )()/(

p1(v)

Towards BER .....

Γ. Έλληνας, Διάλεξη 13-14, σελ. 54Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

• Using ⎟⎠⎞

⎜⎝⎛ −

=≥σ

mxQxXPr1

1 )(

we have:

⎟⎠⎞

⎜⎝⎛=

⎟⎠⎞

⎜⎝⎛ −

=

≥=

σ

σ

th

mth

thrr

VQ

VVQ

VvPSDP

1

10

3

)3()/(

Towards BER .....

Page 14: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 28

Γ. Έλληνας, Διάλεξη 13-14, σελ. 55Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

[ ]

⎟⎠⎞

⎜⎝⎛=

⎟⎠⎞

⎜⎝⎛=

+=

σ

σ

2

)/()/(

1

100121

m

th

rre

VQ

VQ

SDPSDPP• Hence:

• Now, remember that σ is the rms noise voltage, so:

mean square noise power ∝ σ2

Towards BER .....

Γ. Έλληνας, Διάλεξη 13-14, σελ. 56Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

• Also, if ones and zeros are equally likely,

• Hence the SNR is:

mean square signal power ∝ [ ] 212

121

202

1mmm VVV =+

2

21

2σmV

• Comparing with the bit error probability,

⎟⎟⎠

⎞⎜⎜⎝

⎛=⎟

⎠⎞

⎜⎝⎛=

221 SNRQVQP m

e σ

Bit Error Probability

Page 15: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 29

Γ. Έλληνας, Διάλεξη 13-14, σελ. 57Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

From plot of Q function,for Pe = 10-9, need tofind Q(k) = 10-9, whichgives k = 6.0.

plot of Q function

Γ. Έλληνας, Διάλεξη 13-14, σελ. 58Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Hence we have for Pe = 10-9:

9102

−=⎟⎟⎠

⎞⎜⎜⎝

⎛=

SNRQPe

From the plot of Q(k) versus k, we have k = 6.0,i.e.:

0.720.62

=⇒= SNRSNR

In dB, we have SNR = 10 log10(72.0) = 18.6 dB

Pe and SNR

Page 16: Bit Error Rate in Digital Photoreceivers · the detected signal is above or below the threshold level, i.e. either a “1” or a “0” is detected. These events are mutually exclusive,

Page 30

Γ. Έλληνας, Διάλεξη 13-14, σελ. 59Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

- 1 0 -5 0 5 1 0 1 5 2 0 2 51 0

- 2 5

1 0- 2 0

1 0- 1 5

1 0- 1 0

1 0- 5

1 00

-5-10 0 5 10 15 20 25

1

10-5

10-10

10-15

10-25

10-20

SNR (dB)

Bit

erro

r pro

babi

lity

BER versus SNR for unipolar NRZ

Γ. Έλληνας, Διάλεξη 13-14, σελ. 60Μάθημα HMY 455: Συστήματα και Δίκτυα Επικοινωνιών με Οπτικές Ίνες

Note that we have used Q(k) in these calculations; most textbooks make use of the complementary error function erfc(x) defined as:

duexx

u∫∞

−=22)(erfc

πIt is straightforward to show this is related to Q(k) as follows:

⎟⎠

⎞⎜⎝

⎛=2

erfc21)( kkQ

(MATLAB, for example, uses erfc(x), not Q(x))

Complementary error function