You are on page 1of 5

Exp.

No:05

Time Division Multiplexing & Demultiplexing(TDM&D)

Aim: To Study the operation of 2- Channel Analog Multiplexing and De multiplexing Technique with

the help of MATLAB & Hardware Trainer.

Equipment Required:
1. Multiplexing and De multiplexing Trainer Kit .. 01
2. DSO . 01
3. Patch cards
4. DSO Probes. .. 02
5. Personal Computer .. 01

Software Required:
Matlab Software ver.7.5(R2007b)

Program :
clc;
close all;
clear all;
x=0:.5:4*pi;
y=0:.5:4*pi;
sig1=8*sin(x);
L=length(sig1);
sig2=2*cos(y);
subplot(2,2,1);
plot(sig1);
title('Sinusoidal Signal-1');
ylabel('Amplitude');
xlabel('Time');
subplot(2,2,2);
plot(sig2);
title('Sinusoidal Signal-2');
ylabel('Amplitude');
xlabel('Time');
subplot(2,2,3);
stem(sig1);
title('Sampled Sinusoidal Signal-1');
ylabel('Amplitude');
xlabel('Time');
subplot(2,2,4);
stem(sig2);
title('Sampled Sinusoidal Signal-2');
ylabel('Amplitude');
xlabel('Time');
L1=length(sig1);
L2=length(sig2);
for i=1:L1
sig(1,i)=sig1(i);
sig(2,i)=sig2(i);
end
tdmsig=reshape(sig,1,2*L1);
figure
stem(tdmsig);
title('TDM output Signal');
ylabel('Amplitude');
xlabel('Time');
demux=reshape(tdmsig,2,L1);
for i=1:L1
sig3(i)=demux(1,i);
sig4(i)=demux(2,i);
end
figure
subplot(2,1,1)
plot(sig3);
title('Demultiplexed Sinusoidal Signal-1');
ylabel('Amplitude');
xlabel('Time');
subplot(2,1,2)
plot(sig4);
title('Demultiplexed Sinusoidal Signal-2');
ylabel('Amplitude');
xlabel('Time');

Block Diagram:

Expected Waveforms:
PROCEDURE:-
1. Connect the circuit as shown in diagram.
2. Switch ON the power supply.
3. Set the amplitude of each modulating signal as 5v peak-peak.
4. Observe the TDM output at output of Multiplexer by changing the switch Position.
5. Connect the Multiplexer Output to the Demultiplexer and observe the Demultiplexer output.

You might also like