Bit Error Minimization in A Digital Communication Systems Using Theoritical and Exprerimental Probability
Bit Error Minimization in A Digital Communication Systems Using Theoritical and Exprerimental Probability
I.
INTRODUCTION
III.
A. Transmitted Signals
In the analysis of this paper, the repeatedly sent signal S
can be represented by a vector (1 x n ) where n represents the
number of times the signal is being sent. The transmitted
signal S has two values: [+1] or [ -1], and represents sets of
information which is transmitted one at a time. However, to
increase system reliability, the source signal S is transmitted
three times by which S can be represented with values of
either [+1,+1,+1] or [-1,-1,-1].
The probability by which either signal is generated is
equally likely, thus 50% of chances occurring.
B. Noise Signals
The noise signals can be represented by
vectors, in the same manner by which the
transmitted signals are being represented: a (1 x 3)
matrix. The noise signals N have finite values {+2
, +1 , 0 , -1 ,-2} with each element probabilities of
occurring {0.1 , 0.2 , 0.4 , 0.2 , 0.1}, respectively.
Each element in the vector N is independent with
each other, which means that the first noise wont
affect the behavior of the second and the third and
so on. Because of this, the probability of each of
the vector simply is the product of each
probability of elements in the vector a
probability of simultaneous and sequential events.
C. Received Signals
The signal received at the receiving station, X,
is simply the sum of the two vectors, S + N. The
values of the X vector depend upon the values of
the sent signal S and the noise associated in the
system N.
IV.
DECISION RULE
b.
c.
d.
X= S + N
(1)
P(S
)
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
P(N|S)
0.1
0.1
0.1
0.2
0.1
0.1
0.1
0.2
0.2
0.4
0.1
0.1
0.2
0.2
0.2
0.4
0.4
0.1
0.2
0.2
0.4
0.4
0.4
0.2
0.4
0.4
0.4
0.1
0.1
0.2
0.1
0.1
0.2
0.4
0.1
0.2
0.1
0.2
0.4
0.1
0.2
0.4
0.1
0.2
0.4
0.2
0.4
0.1
0.2
0.4
0.4
0.2
0.4
0.4
0.1
0.2
0.1
0.1
0.4
0.2
0.1
0.2
0.1
0.1
0.4
0.2
0.4
0.2
0.1
0.2
0.1
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
0.1
0.2
0.002 [0 -1 0]
0.1
0.4
0.1
0.002 [-1 1 -1]
0.1
0.2
0.2
0.002 [-1 0 0]
0.1
0.1
0.4
0.002 [-1 -1 1]
0.2
0.1
0.1
0.001 [0 -1 -1]
0.1
0.2
0.1
0.001 [-1 0 -1]
0.1
0.1
0.2
0.001 [-1 -1 0]
0.1
0.1
0.1
0.0005 [-1,-1,-1]
CONDITIONAL PROBABILITY OF NOISE N GIVEN S
P ( X ) P ( S1 ) P( N1 ) P( S k ) P( N k )
TABLE III.
P( S | X )
P( X | S ) P(S )
P( X )
CONDITIONAL PROBABILITY OF X
P(S1)P(N1)+P(Sk)P(Nk)
P(X)
0.5*0.1*0.1*0.1+ 0.5*0.4*0.4*0.4
0.0325
P([1 1 0])
0.5*0.1*0.1*0.2+0.5*0.4*0.4*0.2
0.017
P([1 0 1])
0.5*0.4*0.2*0.4+0.5*0.1*0.2*0.2
0.017
P([0 1 1])
P([1 1 -1])
0.5*0.2*0.1*0.1+0.5*0.2*0.4*0.4
0.5*0.4*0.4*0.1+0.5*0.1*0.1*0.4
0.017
0.01
P([1 0 0])
0.5*0.1*0.2*0.2+0.5*0.4*0.2*0.2
0.01
P([1 -1 1])
0.5*0.4*0.1*0.4+0.5*0.1*0.4*0.1
0.01
P([0 1 0])
0.5*0.2*0.1*0.2+0.5*0.2*0.1*0.2
0.01
P([0 0 1])
0.5*0.2*0.2*0.4+0.5*0.2*0.2*0.1
0.01
P([-1 1 1])
0.5*0.4*0.1*0.1+0.5*0.1*0.2*0.4
0.01
P([1 0 -1])
0.5*0.4*0.2*0.1+0.5*0.1*0.2*0.4
0.008
P([1 -1 0])
0.5*0.1*0.4*0.2+0.5*0.4*0.1*0.2
0.008
P([0 1 -1])
0.5*0.2*0.4*0.1+0.5*0.2*0.1*0.4
0.008
P([0 0 0])
0.5*0.2*0.2*0.2+0.5*0.2*0.2*0.2
0.008
P([0 -1 1])
0.5*0.2*0.1*0.4+0.5*0.2*0.4*0.1
0.008
P([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
0.002
0.002
0.004
0.004
0.004
0.004
0.004
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.5
0.4
0.4
0.4
0.2
0.2
0.1
0.1
0.1
0.2
0.1
0.1
0.1
0.1
0.2
0.1
0.2
0.1
0.4
0.2
0.1
0.1
0.2
0.1
0.1
0.2
0.1
0.1
0.1
0.2
0.1
0.2
0.4
0.1
0.1
0.2
0.1
[-1 1 0]
[-1 0 1]
[1 -1 -1]
[0 0 -1]
[0 -1 0]
[-1 1 -1]
[-1 0 0]
[-1 -1 1]
[0 -1 -1]
[-1 0 -1]
[-1 -1 0]
[-1 -1 -1]
0.004
0.004
0.002
0.002
0.002
0.002
0.002
0.002
0.001
0.001
0.001
0.0005
1
1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0.059
MATLAB SIMULATION
CONCLUSION
ACKNOWLEGMENT
REFERENCES
% This program computes the Bit Error Rate of the Digital Communication System.
exp_freq=10000000;
% Transmitter
Tx = randi([0 1],1,exp_freq);
Rx = zeros(1,exp_freq);
array1= zeros(1,exp_freq);
% Receiver
for n = 1:exp_freq
if Tx(n)==0 && rand<0.1
Rx(n)=1;
elseif Tx(n)==0 && rand>0.1 &&rand<=0.3
Rx(n)=0;
elseif Tx(n)==0 && rand>0.3 && rand<=0.7
Rx(n)=-1;
elseif Tx(n)==0 && rand>0.7 && rand<=0.9
Rx(n)=-2;
elseif Tx(n)==0 && rand>0.9
Rx(n)=-3;
End