Professional Documents
Culture Documents
ECNG4302 SlideSet 1
ECNG4302 SlideSet 1
Communications II
Dr. Ahmed Khattab
Signal Space Analysis
1
Geometric Representation of Signals
• We seek to express the signal waveform: s(t) as a linear
combination of a set of orthonormal functions.
• A set of functions j ( t ) is orthonormal over the
interval 0 , T s if
Ts
0
j (t ) l (t ) dt 0 if jl
• Hence, 1 if jl
N
s(t ) s j j (t ) 0 t Ts
j 1
Ts
Ts
sij si (t ) j (t )dt
0
• We may represent si(t) by si= [si1,si2,….siN]T and we can obtain each
form from the other.
1 (t ) 1 ( t )
si1 T
x x
0
dt si1
Σ
T
si2 x
.
si(t)
si(t) x
.
0
dt si2
2 (t ) . .
. 2 (t ).
T
siN x x 0
dt siN
N (t ) N (t )
2
Example: Fourier Series Analysis of
square wave
• are
orthonormal basis functions.
• In this case, M= …, N= …
5
Linear Independence
• A set of elements (vectors) is said to be linearly independent
(LI), if no element (vector) in the set can be represented as a
linear combination of the other elements (vectors) in the set;
otherwise, we say the set is linearly dependent (LD)
• Examples
y x
x y
(LD) 3) (LD)
1) z
x x
2) y (LI) 4) (LI)
y Orthogonal 6
3
Examples (Cont’d)
2A
A
5) t t
LD
T T
A A
t
6) LI
2T T 2T t
A A
LI & Orthogonal
7) t
T T 2T t
7
s21 ...........................dt
0
Then, the projection is ……………..
4
3. Define an intermediate function g2(t) as follows
g2(t)
g 2 (t ) s2 (t ) s211 (t )
s2(t) 2 (t )
g 2 (t )
Define 2 (t )
Eg2 s 21 1 ( t )
s1(t)
1 (t )
Now, 2 (t ) 1 (t ) & has unit energy
g i (t )
j (t )
E gi
We proceed till i = M
• If the set of functions {si(t)} was LI, N=M. Otherwise N < M.
9
Example
• Obtain a basis set for si(t) shown & represent si(t) in terms of the
basis set.
s1(t)
s2(t) s3(t)
A A A
2T
T t T 2T t t
T
• Note: Ts=2T
-A
10
5
Solution
s1 (t ) s (t )
1 (t ) 1
ES1 A2T
Ts
g 2 (t ) s2 (t ) s211 (t ) s2 (t )
g 2 (t ) A 1
2 (t ) T t 2T
Eg2 AT 2
T
0 elsewhere
g3 (t ) s3 (t ) .............. ................
Ts Ts
A
s31 ...............dt TA T , s32 s3 (t )2 (t )dt ........................
0 T 0
0T T 2T 0T T 2T
g3 (t ) A A A A 0 11
(t ) 0
ECNG 4302 3 A. Khattab
2 (t )
S1 A T 0 T
A T S2
S 0
2 A T T
S1 1 (t )
S 3 A T -A T T A T
A T
S3
12
6
Some Measures in Signal Space
• recall that Si is a representation of si(t) in N-dimensional signal
space with N┴ axes Ø1(t) through ØN(t)
2 N
Ei S i sij2
13
j 1
ECNG 4302 A. Khattab
• Proof:
Recall that
2
Ts
N Ts
Ei s (t ) dt sij j (t ) dt
2
i
0 0 j 1
Ts N N
s
0 j 1
ij j (t ) sill (t )dt
l 1
N N Ts
s s ................dt
ij il
j 1 l 1 0
N 2
.......... S i
j 1
14
7
• Normalized cross- correlation:
im between si (t ) & sm (t )
Ts
S S
T s (t )si m (t )dt
im i m 0
Exercise : Prove equality
Si Sm Ei Em
1 im 1
Note : im Cos(im ) : where im is the " angle" between S i & S m
S i S m S i S m Cos(im )
T
[ si (t ) sm (t )]2 dt
2 15
d im2 S i S m
ECNG 4302 0 A. Khattab
Example
• Calculate all Ei’s, cross- correlations, & distances for the signal set in
the previous example
AT
E1 A T
2 2
A T A T
2 2
E2
A T A T 2 A T
2 2 2
E3
T
A T 0 AA TT
S1 S 3
2
A T 1
13
S1 S 3 ( A T )( A 2 T ) A 2T 2 2
8
d 12 S 1 S 2 (......... .....) 2
(......... .......) 2
A T 0 0 A
2
T
2
A 2 ( 2T )
A 2T
17
Estimates or
T
x
dt X1
T
0
decision
x . dt X Decision ^
xi(t) X2 Device S
. 0
2 (t ) . T
x dt XN
18
0
N (t )
9
• Note:
• The decision as to which message was sent is based
on X only
• At the output of the correlator bank
Ts
X j [s
0
i ( t ) w ( t )] j ( t ) dt s ij w j j 1,..., N
Ts
where : w j w ( t )
0
j ( t ) dt
We can write X Si w
N
x (t ) x j 1
j j ( t ) w ( t ) remainder noise term
N
w ( t ) x ( t ) x
j 1
j j (t )
19
N
Therefore, w(t ) xi (t ) w(t ) ( xik wk )k (t )
k 1
N
w(t ) wkk (t )
k 1
• It can be shown that w’(t) is irrelevant to the
decision based on X E[xjw’(t)]=0 j
20
10
Statistical Properties of Correlator
Output
1) E [ x j | S i was sent ] E [ s ij w j ] ....... E [ w j ]
s ij
2) Var [ x j | S i ] E [( x j E [ x j ]) 2 | S i ] E [( x j s ij ) 2 | S i ]
E [ w 2j ]
Ts Ts
E [ w (t ) j (t ) dt w ( ) j ( ) d ]
0 0
Ts Ts
0 0
j (t ) j ( ) E [ w (t ) w ( )] dtd
21
j (t ) j ( ) R w (t , ) dtd
ECNG 4302 A. Khattab
11
• Important Note:
• Since {xj} are Gaussian & uncorrelated, then they are independent.
23
y2(t) T
2 (T t ) y2(T)
x(t)
yN(t) T
N (T t ) yN(T)
y j (t ) x (t ) j (T t ) x( ) (T t )d
j
T
y j (T ) x( ) ( )d x( ) ( )d X
j
0
j j
24
• Note: this is true at t=T
ECNG 4302 A. Khattab
12
The Decision Device
• We now seek a mapping (decision rule) from the observation vector
X to an estimate mˆ (or Sˆ ) of the transmitted symbol mi (or S i ) so
that the decision error probability is minimized.
13
f ( X | m k ) f ( x1 | m k ) f ( x 2 | m k )... f ( x N | m k )
N N
1
f ( x j | mk )
( x S )2 / N 0
e j kj
j 1 j 1 N 0
N
1
N0 ( x j S kj ) 2
(N 0 ) N /2
e j 1
1 N
ln f ( X | m k ) ln(N 0 ) N / 2 ( x j S kj )
2
N 0 j 1
1 N 2
GaussianPDF
mˆ arg max mk ( x j s kj ) ( x x )2
1
N0 j 1
f x ( x) exp
2 2
2 x2
x
N
arg min mk ( x j s kj ) 2 x skj
j
j 1
X S
xj2 No / 2
2
arg min mk k for independent RP's x, y,
arg min mk X S k the joint PDFis given by
f x, y ( x, y) f x ( x) f y ( y)
28
14
Error Probability Computation
• Assume mi was transmitted
Pe|mi Pr ( X Zi | mi )
M From theorem.................
Pe Pe|mi Pr (mi )
i 1 P(A) P( A | Bi )P( Bi )
i
1 M
f ( X | mi )dx
M i 1 Zc
i
• Notes:
• The probability of error depends only on the
relative Euclidean distances between signal points
in the constellation
• Hence, rotation and translation do not affect Pe
• Notes:
• The average symbol energy (Eav) in a constellation is
minimum when the origin is at the center of gravity
of the constellation. 30
15
Example: Probability of Error Calculation
• Assume PCM system with NRZ Line Coding.
• We may represent transmitted signal by:
31
32
16
33
34
17
35
18