Documente Academic
Documente Profesional
Documente Cultură
Wireless Communications
Part III
• It is done to
• improve transmission quality
• when the signal encounters
• noise
• interference,
• Doppler shift,
• multipath propagation
• What is space time codes?
• Space-time
time coding: coding over both space and time
• Code-word matrix for Alamouti space-time
space code
s1 s1 − s2*
S = 2 = *
s s2 s1
( )
log 2 Pe ≈ log 2 c − Gd log 2 Gc − Gd log 2 S
• What was diversity order/gain?
• The diversity gain/order determines the negative slope of an
• error rate curve plotted vs SNR on a log-log
log scale
• The coding gain gives the horizontal shifting of the uncoded system
error rate curve
• to the space time coded error rate curve plotted on a log-log
log scale
obtained for the same diversity order
( )
log 2 Pe ≈ log 2 c − Gd log 2 Gc − Gd log 2 S
Example − NR
1 r γλn µ m 1 4 rN R
Given that ⇒ P ( C1 → C2 )bound ≤ ∏ =
2 n =1 4 2 r
NR
∏ n γ
rN R
λ
n =1
Show that the diversity gain of space-time
space codes is rNR
where r is the rank of the codeword difference matrix D C1 ,C 2 ( )
which is basically the difference of two codeword matrices
Solution: Diversity gain is defined as
log 2 ( Pe )
Gd = − lim
SNR →∞ log 2 ( γ )
1 4rN R
log 2 NR
2
r
∏ n
rN R
λ γ
Gd = lim − n =1 ( )
log 2 Pe ≈ log 2 c − Gd log 2 Gc − Gd log
γ →∞ log 2 ( γ )
NR
r
( )
log 2 ( 2 ) + log 2 ∏ λn − log 2 4rN R + rN R log 2 {γ }
= lim n =1
γ →∞ log 2 ( γ )
rN R log 2 g {γ }
≈ lim = rN R
γ →∞ log 2 ( γ )
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 15
Communications, Cambridge University Press, 2017
What are the design criteria for space-time
space codes?
1
1
r r
• Similarly the coding gain is defined as ∏ n λ = A C1
, C 2
( ) r
n =1
1 1 2 1 − 1
C =
1
, C =
1 1 −1 1
• Also find the rank and trace of the codeword distance matrix.
• Solution:
• The codeword difference matrix is
0 2
( 1
D C ,C 2
) = C − C =
1 2
2 0
( ) ( )(
A C1 , C 2 = D C1 , C 2 D C1 , C 2 ) H
0 2 0 2 4 0
= =
2 0 2 0 0 4
• The rank and trace of the codeword distance matrix is 2 and 8
obviously
• The coding gain distance
( ) (
CGD = C 1 , C 2 = A C 1 , C 2 = 16 )
s1 s1 − s2*
S = 2 = *
s s2 s1
H
1
s ,s 2 1
=s s ( )
2
=0
h2 (t ) = h 2 (t + T ) = h2 = h2 e jθ 2
• The 2×1
1 vector signal output of the combiner is given as:
~
r1 h1* h2 r1 h1* r1 + h2 r2*
~ = * * = * *
r2 h2 − h1 2 h2 r1 − h1 r2
r
~
r1 h1* h2 h1 h2 s1 n~1
~ = * * * + ~
r2 h2 − h1 h2 − h1 s 2 n 2
%r = H H Hs + n%
r1 h1
~ s n~ s1 n~1 s1 n~1
2 2
~ =
r2
+ h2
0 h1
2
0
1
+
2 ~
1
+ h2 2 2
s n
= h1 ( 2
+ h2
2
) (
I 2 + ~ = h1
s 2 n 2
2
+ h2
2
)
s + n~
2 2
• ML detection
arg
sˆ1 =
min{m}
(
r%1 − h1 + h2
2 2
)sm 0≤t ≤T
s
• m ∈ {s }M
k k =1 is one of the M-ary
ary symbols
• We may express above decision criterion as
arg r%1
sˆ1 = − sm
2
min{m} h + h
1 ( 2
2
)
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 31
Communications, Cambridge University Press, 2017
Alamouti space-time
time codes
• ML detection
arg
sˆ2 =
min{m}
2 2
r%2 − h1 + h2 sm ( ) T ≤ t ≤ 2T
• sm ∈ { }
M
s k k =1
is one of the M-ary
ary symbols
• We may express above decision criterion as
arg r%2
sˆ2 = − sm
2
min{m} h1 + h2 2
( )
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 32
Communications, Cambridge University Press, 2017
What is the equivalent MRC receiver diversity?
• 2×1 Alamouti space-time
time code have similar performance to 1×2
1 SIMO
system
• For SIMO system, the received signals are
r1 = h1 s 0 + n1
r2 = h2 s 0 + n 2
• and the signal after the Maximall rat
ratio combining operation is given by
~
r0 = h1* r1 + h2* r2 = h1( 2
+ h2
2
)s 0 + h1* n1 + h2* n 2
+ M. Jankiraman, Space-time systems Artech House, 2004
time codes and MIMO systems,
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 33
Communications, Cambridge University Press, 2017
What is the equivalent MRC receiver diversity?
• In general,
• Alamouti space-time
time code with NT=2 and NR number of receiving
antennas
• has the same performance of a MRC with 2NR receive antennas
s A1 − s B1 2
+ s A2 − s B 2
2
0
A(S A , S B ) = 2 2
0 s A1 − s B1 + s A2 − s B 2
• Coding gain
s − s 2
+ s A2 − s B 2
2
0
A(S A , S B ) = det A1 B1
2
0 s A1 − s B1
2
+ s A2 − s B 2
(
= s A1 − s B1
2
+ s A2 − s B 2 )
2 2
1 1/ 2
2
( 2
CGD = s A1 − sB1 + s A 2 − sB 2
r
2
)
( 2
= s A1 − sB1 + s A 2 − sB 2
2
)
• We can observe that the Gc is equal to that of the uncoded system
SNR Alamouti =
( h
1
2
+ h2 ) E = (h
2 2
s 1
2
+ h2
2
)E = (h )E + (h )E
s 1
2
s 2
2
s
= γ1 +γ 2
(h
1
2
+ h2
2
)σ 2 σ 2
σ 2
σ 2
1 2
γ +γ 1 2 γ1 γ2
QQ ( γ1 + γ 2 ) = ∫ exp − 1 2 2
π 0 2sin θ
d θ =
π ∫0
exp −
2sin 2 θ
exp −
2sin 2 θ
dθ
• Hence, for iid case
π
∞∞
1 2
γ1 γ2
Pb ( E ) = ∫ ∫ ∫ 2sin 2 θ
exp − exp −
2sin 2 θ dθ pγ 1 ( γ 1 ) pγ 2 ( γ 2 )d γ 1d γ 2
0 0 π 0
π
2 ∞∞
1 γ1 γ2
π ∫0 ∫0 ∫0 pγ 1 ( γ 1 ) pγ 2 ( γ 2 )d γ 1d γ 2 dθ
= exp −
2sin 2 θ exp − 2
2sin θ
J. Craig, “A new, simple and exact result for calculating the probability of error for two-dimensional
two
ignal constellations”, in Proc. IEEE MILCOM,, pp. 25.5.1-25.5.5,
25.5.1 Boston, MA, 1991.
π M X (s) = ∫ exp ( sx ) p X ( x ) dx
1 2
1 1 −∞
Pb ( E ) = ∫ Μ γ1 − 2 Μγ 2 − 2sin 2 θ dθ
π 0 2sin θ
• For identical channels, we have the BER of BPSK for Alamouti space-
time code over any fading channel is given as
π
2
1 2
1
Pb ( E ) = ∫ Μ γ − 2 sin 2 θ dθ
π 0
1
4
x 2
Q Q 2 (x ) =
π
0
∫
exp −
2 sin 2
θ
dθ ; x ≥ 0
• For Alamouti space-time code,
• M-QAM
QAM over fading channel, we have SER as
∞∞ γ +γ 2
2
41 − 1 Q 2 g QAM 1 − 41 − 1 Q 2 2 g QAM γ 1 + γ 2
Pb (E ) = ∫∫
0
0
M
2
M
2
p γ (γ 1 ) p γ (γ 2 )dγ 1 dγ 2
1
2
4 1 2
g QAM g QAM
Pb (E ) = 1 −
π
M 0 ∫
Μγ −
1 2
2 sin θ
Μ γ −
2 2 sin 2 θ
dθ
π
2 4
4 1 g QAM g QAM
− 1 −
π
M ∫
0
Μ γ 1 −
2 sin 2
θ
Μ γ −
2 2 sin 2 θ
dθ
S11 S12 L S 1N T
S S 22 L S 2 NT
G= 21
M M O M
R=
k
S N L 1 S NL 2 L S N L NT NL
1 s1 s2
s = *
− s2
2
s = *
s1
(s )
1 H
• s2 = 0
• orthogonality property of G
s1 s2
[ 2
G H G = s1 + s2 I 2
2
] G= *
− s2 s1*
H 2 2 2
G G = s1 + s2 + L + s N T I N T
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 68
Communications, Cambridge University Press, 2017
Space-time block codes
• We can also find the diversity gain for the given generator matrices
• For instance, for 2×2
2 generator matrix of
s1 − s2
G2 =
s 2 s1
T
( s − s ) 2 + ( s − s ) 2 0
A (S A , SB ) = D (S A , SB ) ( D (S A , SB )) =
A1 B1 A2 B2
0 ( s A1 − sB1 ) + ( sA2 − sB 2 )
2 2
(
Gd = ( CGD ) = A ( S A , S B )
r
) (
2
=
2
( s A1 − sB1 ) + ( s A2 − sB 2 )
2
)
• which is the same as the squared Euclidean distance of the symbols
for uncoded system
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 75
Communications, Cambridge University Press, 2017
Space-time block codes
Es s1 − s2
[y1 y2 ] = [h1 h2 ] + [n1 n2 ]
2N 0 s 2 s1
arg r%j
sˆ j = − sm ; j = 1, 2
min{m} ES
2 N0
(
h12 + h2 2 )
• Differential OSTBC
• For non-coherent STBC,
• we can apply differential STBC so that
• we can estimate the transmitted symbol without CSIR
• Consider I-O model of a NT×NR MIMO system
• The received signal at time t can be expressed as
Yt = HXt + Nt
• where
• Yt is an NR×NL matrix
• H is an NR×NT matrix (for frequencyncy flat Rayleigh fading, elements of
H are iid distributed as NC(0,1) )
• Xt is an NT×NL OSTBC encoded transmission matrix at time t
• Nt is NR×NL matrix with i.i.d.. complex circular Gaussian random
variables (RVs) with each components distributed as NC(0,σ2)
p
1
• Then define Ut = ∑( V j s real
j
+ i W s
j j
imag
)
, i = −1
p j =1
2 1 s1 − s2*
Ut = *
2 s2 s1
X0 = I N
T × NT
• Alamouti Space Time Codes is the only full rate (rate r=1) and full
diversity
• OSTBC for complex signal constellations
• There are no OSTBC with full rate and full diversity for NT>2
• for complex signal constellations
• Can we have a full rate and full diversity STBC for N×N
N MIMO
system?
• This is possible with some class of space time codes
• popularly known as Algebraic space time codes
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 94
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
x1 0 L 0 x1 s1
0 x2 L 0 Hadm x2 s2
G DAST = HN ; = UN
N
M M O M M M
0 L 0 x
N xN sN
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 97
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• Unitary matrices:
U HN U N = I N
• Unitary matrices:
2π
• For N=2 dimension constructed on number fields Q cos
n
8N
4 ×1 − 1
4 × 2 −1
2 π
UN = cos × × [2 ×1 − 1 2 × 2 − 1 L 2 × N − 1]
N 4 N M
4 × − 1
N
+M. O. Damen, K. Abed-Meraim and J. C. Belfiore,
Belfiore “Diagonal Algebraic Space Time
Codes,” IEEE Trans. Inform. Theory,, vol. 48, no. 3, March 2002, pp. 628-636.
628
• H Hadm
N is the Hadamard matrix of N dimension
• which could be obtained from N N Hadamard matrix as follows
×
2 2
H Hadm H Hadm
Hadm
N /2 N /2
Hadm
H Hadm
N
= H N /2 − H N /2
1 1 1 1
1 − 1 1 − 1
H 4Hadm =
• For example 1 1 − 1 − 1
1 − 1 − 1 1
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 101
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• Groups:
• A Group (G) is a set of elements with a binary operation that obeys
• the following four properties (or axioms) and
• an optional fifth property +
• Closure:
∀a , b ∈ G , a • b ∈ G
• Associativity: ( )
∀a , b , c ∈ G , a • b • c = a • b • c ( )
+ B. A. Forouzan, Cryptography and Network Security,
Security Tata Mc-Graw Hill, 2007.
• Existence of identity: ∀a ∈ G , ∃ e , a • e = e • a = a
• Existence of an inverse: ∀a ∈ G , ∃ − a , a − a = − a + a = 0
∀a ∈ G , ∃a −1 , a × a −1 = a −1 × a = 1
• Commutativity (optional): ∀a , b ∈ G , a • b = b • a
• Ring:
• A ring is a set R along with
• two binary operations “+” and “×” “
• obeying the following axioms+:
• R is an Abelian group for the operation “+”
• satisfies all five axioms for “+” operation
( ) (
∀a , b , c ∈ R , a × b + c = a × b + a × c , a + b × c = a × c + b × c)
• Fields:
• A field is a commutative ring with identity (1 ≠ 0 )
• in which each non-zero
zero element has a multiplicative inverse
• Let Z be the set of integers
Z = L , −2, −1, 0, 1, 2, 3, L
∀a ∈ G , ∃a −1 , a × a −1 = a −1 × a = 1
+E.
Viterbo and F. Oggier, Algebraic Number Theory and Code Design for Rayleigh Fading Channels,
Channels Now
publishers, 2004
()
pθ x = x 2 − i
iπ
• Its root θ = i = e is called an algebraic number and
4
• Its conjugate θ = − e 4
1 1 θ s1 1 s1 + θs2
x = U 2s = 1 − θ s =
2 2 21s − θs 2
+B. S. Rajan, “Space-time block codes,” in Channel coding: Theory, Algorithms and Applications,
Applications D.
Declerq, M. Fossorier and E. Biglieri,, Eds., Oxford, UK: Elsevier Academic Press, 2014, pp. 451-495.
451
C DAST = H Hadm
N
• X = H Hadm
N
• diag U • s ( )
• Note that we need to construct an optimal unitary matrix in the
above equation s1
• symbol vector
s2
s= M
sN
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 122
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• The coding gain of N-dimension Dia
Diagonal Algebraic Space Time codes
are given by
2
2N
, N = 2, 4
δ min = 5
1
N −1 , N ≥ 8
N
2
• Minimum coding gain for N=2,4,8 are 0.8944, 0.6324 and 0.545
respectively
r k −1
CTAST
NT
k=1
(
= ∑ Dk U N x k γ Π
T
)( )
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 124
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
Π = e , e ,L, e , e
• T
N 1 NT − 2 NT −1 and ei is the ith column of a identity
matrix
• γ is a unit-magnitude
magnitude complex number which makes the TAST full
diverse and it is dependent on the QAM alphabet size and NT
( ) (
Dk U N x k = diag U N x k
T T
)
• is the diagonal matrix with diagonal elements consisting of a rotated
version of the kth symbol
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 125
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• For example for NT=2 and r=2, TAST code can be generated as
follows:
2 k −1
CTAST
2
k=1
(
= ∑ Dk U N x k γ Π
T
)( ) ( ) (
= D1 U 2 x1 + D2 U 2 x 2 γ Π )
• where x1 and x2 are symbols sent for layer 1 and 2
• For this case, iπ
1 e 4
0 1
1 iπ
1 0
U2 = 1 −e 4 ;γ Π = γ
2
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 127
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• Hence
iπ
iπ
1 e 4 x1,0 1 e 4 x2 ,0 0 γ
1 iπ x 1 iπ x γ 0
∴ CTAST
2
= Diag 1 −e 4 ,
11 + Diag 1 −e 4 2 ,1
2 2
• Diagonalize
iπ
iπ
x1,0 + e 4 x1,1 0 0 γ x2 ,0 + e 4 x2 ,1
1 iπ 1 iπ
⇒ CTAST = x1,0 − e 4 x1,1 + γ x − e 4 x
2
2
0
2 2 ,0
2 ,1
0
iπ
iπ
x1,0 + e 4 x1,1 γ x2 ,0 + e 4 x2 ,1
1 iπ
iπ
⇒ CTAST = γ x − e 4 x
2
2 2 ,0
2 ,1
x1,0
− e 4
x1,1
iπ iπ
• where for γ = e 6
for QPSK and γ = e for 16-QAM
16 constellations 4
• Z ring of integers
• Q field of rational numbers
• R field of real numbers
• C field of complex numbers
• Z(i) set of numbers a+ib, where a,b belongs to Z
• Q(i) set of numbers a+ib, where a,b belongs to Q
• R(i) is field of complex numbers C
φ ∈ K a (σ 1 (φ ), σ 2 (φ ), L, σ n (φ )) ∈ F n
M M O M
σ 1 (ωn ) σ 2 (ωn ) L σ n (ωn )
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 136
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• One notices that {σ1, σ2, σ3, σ4} forms a Galois group w.r.t. the
function composition law
() (
ze = eσ z = eσ a + bθ = e a + bθ ) ( )
• There is a corresponding matrix representation for a1 = z1 + ez 2 ∈ A
z1 z2
( )
A = X a = γσ z2 ( )
σ z1 ; z , z ∈ K
1 2
(
a1a2 = z1 + ez2 )( z 3 )( )
+ ez4 = z1 z3 + z1e z4 + ez2 z3 + e z2 e z4 ( )
= z1 z3 + eσ ( z ) z + ez z + γσ ( z ) z
1 4 2 3 2 4
= z1 z3 + γσ ( z ) z + e (σ ( z ) z + z z )
2 4 1 4 2 3
e2 = γ
( ) ( ( )
a1a2 = z1 z3 + γσ z2 z4 + e σ z1 z4 + z2 z3 )
• we may express the above equation in matrix form as
z1 γσ (z 2 ) z3
a1a2 = (1 e )
z2 σ ( z1 ) z 4
• A Space-time
time Block Code can be obtained by considering the matrix
of left multiplication in the given basis (1, e)
• If for a1 = z1 + e z2 belongs to A and z1, z2 belongs to K=Q(i,θ)
• Then the corresponding multiplication matrix as given above
• A space-time
time block code can be obtained by
• considering the matrix of left multiplication
• in the given basis {1, e, e2, e3}
• If a1=z1+ez2+e2z3+e3z4 belongs to A, z1,z2,z3,z4 belongs to K=Q(θ),
• and a2=z5+ez6+e2z7+e3z8 belongs to A, z1,z2,z3,z4 belongs to K=Q(θ),
• then the corresponding multiplication table can be obtained by
• considering multiplication of two elements a1, a2 belongs to A
• How to find ϒ?
• Example
• Let K=Q(i),
), L=Q and p be any rational prime integer of the form 4k+1
• Then any matrix of the form
x1 px2*
X= *
x2 x1
• is an invertible matrix
• Because
( ) (
det (X ) = x1 x1* − p x2 x2* = 0 )
x1 x1*
⇒ p= *
= yy *
, y = x x
1 2
−1
x 2 x2
• From number theory, any prime of the form 4k+1 cann’t be factorized
this way
a − b
(1 i )
b a
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 158
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
( )(
N ( x ) = xσ ( x ) = a + b m a − b m = a 2 − mb 2 )
• and trace is T(x) =x+σ(x)=2a
• For our case for code construction of algebraic space time code
• Note that norm of ϒ should be equal to 1
• in order to guarantee the same average transmitted energy
• from each antenna,
• at each channel use
• This limits our choice to ϒ=+1,-1,+i,
1,+i,-i and usually ϒ=i is chosen
• It means we need to show that norm for 2×2 2 case+
N ( x ) = a 2 − mb 2 ≠ i
+F. Oggier, G. Rekaya, J,-C. Belfiore and E. Viterbo,, “Perfect space-time
space block codes,” IEEE Trans. Inform.
Theory, vol. 52, no. 9, Sept. 2006, pp. 3885-3902.
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 161
Communications, Cambridge University Press, 2017
Algebraic Space Time Codes
• The rate r PSTBC for a MIMO system with NT transmit antennas+ can
be constructed as
r
1
C PSTBC
NT
= ∑ k
D Γ k −1
λ k =1
• where ( ( ) ( )
Dk = diag zk ,σ zk ,σ 2 zk ,L ,σ
NT −1
( z ))
k
(
Γ = γ e N , e1 , e 2 ,L, e N
T T −2
,eN
T −1 )
• For rate r=2 and NT=2, λ=5,, we have
z 0 z2 0 0 1
1 0 σ z
1
1
C2PSTBC = D1 + D2 Γ = 1 ( ) + 0 σ z2( ) γ 0
5
5
• For γ=i,
z1 z2 z1 z2
1 γσ z
σ z1 = 1 iσ z2
⇒ C2PSTBC = 2 ( ) ( ) ( ) ( )
σ z1
5 5
• In convolutional code+,
• the block of n code bits produced by the encoder in a particular
moment is dependent on
• the block of k message bits in that particular moment and
• the block of data bits for N-1
1 moments (N>1) before
• Fig. shows such a coder for the case N=3 and ν=2
• The output samples the ν modulo--2 adders in a sequence,
• once during each input-bit
bit interval
Example
• Assume that the input digits are 0101
• Find the coded sequence output
• Initially, the SRs s1 = s 2 = s 3 = 0
• Then y1 = 1, y2 = 0
• The coder output is 10
• When the third message bit 1 enters the SR,
s 1 = 1, s 2 = 0 , s 3 = 1
• Then y1 = y2 = 0
• The coder output is 00
• When the fourth message bit 0 enters the SR,
s1 = 0, s 2 = 1, s 3 = 0
• Then y1 = 1, y2 = 0
• State diagram:
• When a message bit enters the SR (s1),
• the coder outputs are dependent on both the message bit in s1 and
the two past bits already in s3 and s2
• There are four feasible combinations of the two past bits in s3 and s2 :
00, 01,10,11
• We will name these four states as a, b, c, d respectively
• we will adopt
• solid lines for 0 input bit, and
• dashed lines for 1 input bit
• State a goes to State a for 0 input and 00 output
• State a goes to State b for 1 input and 11 output
• State b goes to State c for 0 input and 00 output
• State b goes to State d for 1 input and 01 output
• Trellis diagram:
• Trellis diagram may be easily drawn from the above state diagram
• It commences from entire 0s in the SR, i.e., state a and
• makes transitions depending on every input data digit
• Such changes are represented by
• a solid line (ensuing data digit 0) and
• by a dashed line (ensuing data digit 1)
• only the path that matches most with the received sequence
• (the minimum distance path)) requires to be kept for each node
• For a received bit stream,
• it is necessary to determine a path in the trellis diagram with
• the output digit stream which matches most with the received
stream
Example
• Assume that the initial six received digits are 01 00 01
• Find the survivor paths (minimum--distance path with the received
sequence)
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 181
Communications, Cambridge University Press, 2017
Basics of convolutional codes
• Survivor paths after the 3rd branch of the Trellis diagram for received
sequence 01 00 01
• Note that every node can be checked in from two nodes only
• With four paths eliminated as illustrated in Table, the four survivor
paths are the only contestants
• To truncate the Viterbi algorithm and ultimately we need to resolve
on single path rather than four
Node a 00 00 00 2 Yes
11 10 11 3
Node b 00 00 11 2 Yes
11 10 00 3
Node c 00 11 10 5
11 01 01 2 Yes
Node d 00 11 01 3 Yes
11 01 10 4
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 183
Communications, Cambridge University Press, 2017
Basics of convolutional codes
• This is made possible for 00 given to the last two data digits
• When the first 0 is input to the SR,
• we look for the survivors at nodes a and c only
• When the second 0 enters the SR, we scrutinize survivor at node a
• For Viterbi algorithm, storage andd co
computational complexity reduces
considerably (proportional to 2N)
Table: Survivor paths after the 3rd branch of the Trellis diagram for
received sequence 01 00 01
Input States 0 1 2 3
0 00 10 20 30
1 01 11 21 31
2 02 12 22 32
3 03 13 23 33
1 0
2 0
(1 0 0 0 ) = (1 0 )
0 1
0 2
• Therefore, Ξ(1)= ejΠ/2=j and Ξ(0)= ej0Π/2=1 are sent at time t=1 from
the second and first antennas respectively
• Now the next state is 10 (State 1)
• Next two input bits are 00, hence, the outputs are
1 0
2 0
( 0 0 1 0 ) = ( 0 1)
0 1
0 2
• Therefore, Ξ(0)=ej0Π/2=1 and Ξ(1)= ej1Π/2=j are sent at time t=2 from
the second and first antennas respectively
• Now the next state is 00 (State 0)
• Next two input bits are 11, hence, the outputs are
1 0
2 0
(1 1 0 0 ) = (3 0)
0 1
0 2
• Therefore, Ξ(3)= ej3Π/2=-jj and Ξ(0)= ej0Π/2=1 are sent at time t=3 from
the second and first antennas respectively
• Now the next state is 11 (State 3)
• Next two input bits are 01, hence, the outputs are
1 0
2 0
( 0 1 1 1)
= ( 2 3)
0 1
0 2
1 0
2 0
( 0 0 0 1) = (0 2)
0 1
0 2
• Therefore, Ξ(0)= ej0Π/2=1 and Ξ(2)= ej2Π/2=-1 are sent at time t=5 from
the second and first antennas respectively
• Rank and coding gain distance (CGD) calculations
Example:
• The first path stays in state zero during both transitions that is 000
• The second path goes to state 2 in the first transition and merges to
state zero in the second transition that is 020
• Find the rank and CGD for these two trellis paths shown in next slide
j2
π
( ) ( ) = 1 2 Ξ ( 2 ) = e = −1 Ξ ( 0 ) = e = 1
j0 j0 2 j0
Ξ 0 = e = 1 Ξ 0 = e
C1 = ; C =
Ξ (0) = e j0 = 1 Ξ (0) = e j0 = 1 π
Ξ ( 0 ) = e j 0 = 1 Ξ ( 2 ) = e 2 = −1
j2
2 0
(
D C ,C 1 2
) 1
= C −C = 2
0 2
T 2 0 2 0 4 0
( 1
A C ,C 2
) = D (C , C ) ( D (C , C ))
1 2 1 2
=
0 2 0 2 =
0 4
1 1
(
CGD = A C , C 1 2
) = 16 ( (
Gd = A C1 , C2 )) r
( (
= A C1 , C2 )) 2
= 16 = 4
• Assume that for an Space Time Trellis Code with NT=2, the
transmitted codeword is 220313 and the decoder decides in favor of
the codeword 330122
• The symbols transmitted are from QPSK scheme
(Ξ(0) 0=1;
• Find the coding gain and diversity gain for this case (Ξ(0)e
Ξ(1)ejΠ/2=j; Ξ(2)e2jΠ/2=-1; Ξ(3)
e3jΠ/2=-j )
j − j −1 −1
1 2
C = 1 − j ;C = 1 j
−1 −1 − j − j
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 208
Communications, Cambridge University Press, 2017
Space-time
time trellis codes
• The codeword distance matrix has only two eigenvalues 2.5359 and
9.4641
• Therefore, rank of codeword distance matrix is 2 (diversity gain is 2NR)
and coding gain is
1/ r 1/ 2 1/ 2
Gd = ( CGD ) = ( CGD ) = ( 2.5359 × 9.4641) = 24
• Space Time Trellis Code employing QPSK for two transmit antennas
designed based on rank and determinant criteria
• T(4,4,2) 1 2 0 0
T (4 , 4 , 2 ) =
0 0 1 2
• M=4, S=4, NT=2 (rows = 2, columns = 4)
• Rank 2, Coding gain 2
• Space Time Trellis Code employing QPSK for two transmit antennas
designed based on rank and determinant criteria
• Y(4,16,2) 0 2 1 1 2 0
Y (4,16 , 2 ) =
2 2 1 2 0 2
• M=4, S=16, NT=2 (rows = 2, columns = 6)
• Rank 2, Coding gain 32
+Q. Yan and R. S. Blum, “Optimum space-time convolutional codes”, in Proc. Wireless Communications
and Networking Conference, 2000, Chicago, USA.
• B(4,16,2) 2 1 0 2 2 0
B (4 ,16 , 2 ) =
0 2 2 1 0 2
+S. Baro, G. Baush and A. Hansmann, “Improved Codes for Space-time trellis coded modulation”, IEEE
Communications Letters, 4(1), 2000, pp. 20-22.
• P(4,16,3)
• M=4, S=16, NT=3 (rows = 3, columns = 6)
0 2 1 2 2 0
P(4,16,3) = 2 1 2 0 3 2
2 1 3 2 1 2
+G. Taricco and E. Biglieri, “Exact pairwise error probability of space-time codes”, IEEE Trans. On Inform.
Theor., 48(2), Feb. 2002, pp. 510-513.
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 215
Communications, Cambridge University Press, 2017
Performance analysis of Space-time
Space codes
over separately correlated MIMO channel
• Using the alternate form of Q-function,
function, we have,
π
1 γ H∆
2
2
(1 2
π 0
P C → C H = ∫ exp − )
4sin 2 θ
dθ
1 2 ∞ γ H∆ 2
1 2 γ
(
P C →C 1 2
) = ∫ ∫ exp −
π 00 4sin 2 θ
p 2 (ζ )d ζ dθ = ∫ M 2
H∆∆ π 0 H∆ − 4sin 2 θ
dθ
• we can denote M H∆ ( s )
2 as thee m
moment generating function (MGF)
of H∆ 2
vect ( H ) = R H vect ( H w )
H
H∆
2
{
= vect H ( )} H
w (RH )
H /2
( I N R ⊗ ∆∆ H ) 1/ 2
(RH ) ( )
vect H wH
A = (RH )
H /2
( I N R ⊗ ∆∆ H ) (RH )
1/ 2
H
• Assuming { ( )}
v = vect H H
w is a zero mean ( µ v = 0 ) Gaussian
R v = I N R NT
y = Quad A ( v ) = vAv H
exp sµ v A {I − sR v A} ( µ v )
−1 H
M y (s) =
I − sR v A
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 221
Communications, Cambridge University Press, 2017
Performance analysis of Space-time
Space codes
over separately correlated MIMO channel
• Note that for ( µ v = 0 ) , the expone
onential term in the MGF expression
of equation will become 1
exp sµ v A {I − sR v A}
−1 H
(µv )
M y (s) =
I − sR v A
Hence, the MGF for random quadratic form of a Hermitian matrix A for
correlated Rayleigh fading channel is
−1 R v = I N R NT
M y (s ) = I N R N T − sA
−1
M y ( s ) = I N R NT − s ( R H )
H /2
(I NR ⊗ ∆∆ H
)(R )H
1/ 2
• Since I + AB = I + BA , we have,
−1
(
M y ( s ) = I N R NT − s I N R ⊗ ∆∆ H
)R H
1 γ H∆
2 ∞
2
1 2 γ
(
P C →C 1 2
) = ∫ ∫ exp −
π 00 4sin 2 θ
p 2 (ζ )d ζ dθ = ∫ M 2
H∆ π 0 H∆ − 4sin 2 θ
dθ
π
2 r rˆ −1 rˆ
γλn µ m r
(
P C1 → C 2 = ) π
1
∫ ∏∏ 1 + 2
dθ M y ( s ) = ∏∏ (1 − sλn µm )
−1
m =1
0 n =1
4 sin θ
n =1 m =1
R TX = I NT ⇒ ∆∆ H R TX = ∆∆ H
R R X = I N R ⇒ µ m = 1, rˆ = N R
0 2
4 0
( ) (
D C , C = 0 2; A C , C =
1 2 1 2
)
2 0 0 8
π π
NR NR NR NR
1 4 sin2 θ 4 sin2 θ 1 sin2 θ sin2 θ
2 2
(1 2
P C →C = ) ∫
π 4 sin2 θ + γ 4
2 dθ = ∫
π sin2 θ + γ
2 dθ
0
4 sin θ + γ 8 0
sin θ + 2γ
(
P C →C1 2
) bound
≤ ∏∏ 1 +
2 n =1 m =1 4
• For high SNR case, PEP is bounded as
−1
1 r
γλn µm
rˆ
(
P C →C1 2
) bound
≤ ∏∏
2 n =1 m =1 4
∆∆ H RTX = ∆∆ H
−1
1 r rˆ
γλn µm
R R X = I N R ⇒ µ m = 1, rˆ = N R P ( C → C ) ≤ ∏∏
1 2
bound 2 n =1 m =1 4
− NR
1 γλn
r
1 4 rN R
(
⇒ P C →C1 2
) ≤ ∏
2 n =1 4
=
2 r NR
bound
∏ n
rN R
λ γ
n =1
∑ ∑ P (C → Cˆ )
1
P (e ) ≤
M ˆ
C C≠C
• Encoder:
• Turbo codes are
• basically parallel concatenation of
• 2 systematic recursive convolutional codes (SRCC)
• Length k-message u encoded
• by the 1st encoder produces parity bits p(1)
• Interleaved u, i.e., Π(u) encoded
• by the 2nd encoder produces parity bits p(2)
+ S. J. Johnson, Iterative error corrections, Cambridge University Press, 2010.
• Interleaver:
• It is represented by a permutation sequence
∏ = [Π 1 , Π 2 , L , Π n ]
• Note that n1-k and n2-k are parity bits for SRCC1 and SRCC2
• Puncturing:
• To increase code rate,
• we may puncture the output of one or both convolutional codes
• For example, encoding message bits
• [0 1 0 1 0 0] with an encoder produces the two codeword bits
C1 = [0 1 0 1 0 0]; C 2 = [0 1 1 0 1 0]
• Present code rate=6/12=1/2
C 2 = [0 1 × 0 1 ×]
• where x indicates that the corresponding bit is not transmitted
• That means, for every 6 message bits,
• only 10 codeword bits which means the
• code rate=6/10=3/5
1 1 1
P=
1 1 0
1+ D 2
G = 1 2
1 + D + D
(b) Consider an input message bit of 100, find the output of the code
Solution:
• Assume input bits are coming as 1, 0 and 0
• Note that subscript denote the time, at time t=1,
• First part of the code is equal to the input message bit at that time
c1(1) = u1 = 1
• Second part of the code can be calculated as
( )
c1(2 ) = u1 ⊕ s1(1) ⊕ s1(2 ) ⊕ s1(2 ) = 1
( )
c 2(2 ) = u 2 ⊕ s 2(1) ⊕ s 2(2 ) ⊕ s 2(2 )
• At time t=3,
• First part of the code is equal to the input message bit at that time
c 3(1) = u 3 = 0
• Second part of the code can be calculated as
( )
c 3(2 ) = u 3 ⊕ s 3(1) ⊕ s 3(2 ) ⊕ s 3(2 )
(
s 3(1) = u 2 ⊕ s 2(1) ⊕ s 2(2 ) = 1 )
( 2) (1)
s3 = s 2 = 1
• Hence,
( )
c 3(2 ) = u 3 ⊕ s 3(1) ⊕ s 3(2 ) ⊕ s 3(2 ) = 1
• The final code word for the input message bit 100 is
[
C = c1(1) c1(2 ) ; c 2(1) c 2(2 ) ; c 3(1) ]
c 3(2 ) ; = [1 1; 0 1; 0 1;]
• ½ rate turbo code by Berrou, Glavieux and Thitimajshima
• It uses the same encoder 1 and 2: rate ½ SRCC shown in Fig.
• Hence it will produce rate 1/3 turbo code
+C. Berrou, A. Glavieux and P. Thitimajshima, “Near Shannon limit error-correcting coding and decoding:
turbo-codes,” in Proc. International Conference on Communications,
Communications Geneva, Switzerland, pp. 1064-1070,
1993. {citations 10,721 as of 07-Feb-2018}
1+ D 4
G = 1 2 3 4
1 + D + D + D + D
• Interleaver used is
Π = [3,7,6,2,5,10,1,8,9,4]
• At time t=2,
• First part of the code is equal to the input message bit at that time
c 2(1) = u 2 = 0
• We need to find the SRCC 1 states of the SR1, SR2, SR3 and SR4 first
(
s 2(1) = u1 ⊕ s1(1) ⊕ s1(2 ) ⊕ s1(3) ⊕ s1(4 ) = 1 )
s 2(2 ) = s1(1) = 1
s 2(3) = s 2(4 ) = 0
• Note that v 2 = 1
(
c 2(3) = p 2(2 ) = v 2 ⊕ s 2(1) ⊕ s 2(2 ) + s 2(3) + s 2(4 ) ⊕ s 2(4 ) )
• We need to find the SRCC 1 states of the SR1, SR2, SR3 and SR4 first
p(1) = [10 L]
• For puncturing matrix
1 1
P1 =
1 0
+ T. M. Duman & A. Ghrayeb, Coding for MIMO communication systems, John Wiley & Sons, 2007.
{ }
S = v, π (v ), π 2 (v ), L , π n −1 (v ) ; π 2 (v ) = π (π (v )), π 3 (v ) = π (π (π (v ))), L
• then ⇒ π ( w ) = a 0π (v ) + a1π 2
(v ) + a 2π 3
(v )
• S={v, π(v), π(v)}={100,010,001} ⇒ π (w) = a2 v + a0π (v ) + a1π 2 (v )
• Galois field
• Galois field a special class of cyclic fields
• The order of a finite field is always a prime or a power of a prime
• For each prime power, there exists exactly one finite field GF(pn)
Example:
• Galois Field (2) is the smallest field and
• it has (1,0) as elements
• Addition is XOR and
• Multiplication is AND operation
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 279
Communications, Cambridge University Press, 2017
Coding theory
• Consider the construction of GF(23) using the primitive polynomial
h(x)=1+x+x3
word x i mod h( x )
100 1
010 x
001 x2
110 x3 ≡ 1 + x
011 x4 ≡ x + x2
111 x 5 ≡ 1 + x + x 2
101 x6 ≡ 1 + x2
• Every non-zero codeword in Kn can be represented by some power of x
• In other words,
• The elements of GF(24) can be represented as polynomials with
degree less than 4
• A polynomial p(α)) that cannot be factored into polynomials of
lower degree is referred to as irreducible
Rakhesh Singh Kshetrimayum,, Fundamentals of MIMO Wireless
2/8/2018 281
Communications, Cambridge University Press, 2017
Coding theory
α 5 = αα 4 = α + α 2 ,α 6 = αα 5 = α 2 + α 3 ,α 7 = αα 6 = α 3 + α 4 = α 3 + α + 1