Exp 5 PCM TDM
Exp 5 PCM TDM
Theory:
Tl digital carrier system is a North American digital multiplexing standard since 1963. TI
stands for transmission one and specifies a digital carrier system using PCM encoded analog
signal. A TI carrier system is time division multiplexes PCM encoded samples from 24 voice
band channels for transmission over a single metallic wire pair or optical fibre transmission line.
Each voice band channel has BW around 300Hz to 3000KHz.
. ..,/ .., "" ·"
'-o , n11pl1ll 1' 11 1 >•H)()( t
'' ' ''' >-f H , .. , .. ,,l,0. .11111f,
. . . ,.,1,,.,.._. 1t1ul
A multiplexer is simply a digital switch with 24 independent inputs and one time division
multiplexed output. The PCM output signals from 24 voice band channe ls are sequentially
selected and connected through the multiplexer to the transmission line. With TI carrier system,
there is sampling, encoding and multiplexing of24 voice band channels. Each channel contains
an 8-bit PCM code and sampled 8000 times a second. Each channel is sampled at same rate but
not at same time. The figure shows that, each channel is sampled once in each frame, but not at
same time. Each channel's sample is offset from previous channel's sample by 1/24 of total
frame time. Therefore one 64Kbps PCM encoded sample is transmitted for each voice band
channel during each frame. The line Speed is calculated as:
11 ,z ln ts 8000 t rnmc-s
T /111s - .- - · X • , l. 5 3C>Mbps
f 1 flllU' .\' 1•1 ·u1u 1
-...,11 , p t,·11
'
_
8t.M1,
-~--
__ J
An additional bit (called framing bit) is added to each frame. The framing bit occurs once per
frame (8000bps rate) and recovered in receiver, where it is used to maintain frame and sample
~
-
~~-
1 ...
synchronization between TDM transmitter and receiver. So each frame contains 193 bits and
line speed for TI digital carrier system is
~
l<J 3 bit.~ (!000 fram Ps
- - - x -- - -- 1.544Mbps
frame second
~ Program:
~
~
clc;
clear all;
I
close all;
~
I
%PCM of 24 signals
No_samples=input('Enter no of samples to be considered/s ignal for display:');
~~ Total_Bitsper Signal=No_samples*8; ¾each sample represented in 8 bi ts
~ PCM_signals=randi([O, I], 24, Total_BitsperSignal);
. .__.,
f
figure(!);
for i=l:24
subplot(24, l ,i);
~ I stem(PCM_signals(i,: ));
title(sprintf(' PCM Sig:nal.-%d',i));
~ end
~
xlabel('bi ts------------>');
ylabel('amp------------->');
~ -~
%Mullip lxing of24 PCM signals
~ ---a
.,__, Tl frame=[];
for i=l:8:Total_BitsperSignal
f, multiplexed_signal=[];
for j=l:24.
multiplexed_signal=[multiplexed_signal PCM_signals(j,i:i+7)];
~('
ti -• end
end
Tlframe=[Tlframe Omultiplexed_signal ];
t-;- -9 figure(2);
~,
I x label('b its------------->');
~-I
I
ylabel('amp-------------->');
,~
tfI •a
·
,-
Sample Input/Output:
·Enter no of samples to be considered/signal for display: 8
,,
tr-•
t; .,
tr .,
"- .
r,- ~
,1,~--~
~-"
~
~ 7
~
-~
-,
-~
_,
--~
,-~
.-,
--,9
,-,
!" • : ~: ~· ; '_[_
Q
l\- :, :; -
---9
o! " · · -· : · :7 :: ";
'~ 0I ----'~ ~ * ,( ', , • . .
---,
_,
-, AO
l,
Ol
059
, ~
•j1--;--
-'----c---,--
"--'----;-- I
=~b,~
[?r=1:=
: .
• ,
·P-;~f~ii~~~~
c-~t :• :•
, ' "
lf , ; , .,
• •
, ' MS "· .
•
: ;i
. • . ·: . . • . ....
&!
I ' .. . : : I : :
,
~
J
: ;; --'--..,--;- •
•
· I· · . '°l . : : : ;i
_, [
•
.,
.
-·
-a
a
-a
-,
.
'I
.
•
-1
"l
,~
1'3- ......
r~ '
. i !I !
1~
-~
I
., •
11
I ,., . I j
.llllllf
.
' I 1111111 I I
I
I '
--~ I
!
I I
'
:~ I,
l
.-, '
li
.
! II I ,I
I
t I
I I
--~ I
I :I I
I 11 11· I I
--~ I "I I
I'!,
' I
.-, I,
I
,11
-·.9
I 11
II
II Lil
I II ~
_,
_., ~
Thus, rhe MATLAB code is developed for the generation o f the TI bit stream and verified wi th
--a the necessary wavcfonns.
-a
,
·•
•
,•
,
!t
•
•
•
•
•t
•
•