R15 - DC Lab Manual
R15 - DC Lab Manual
Prepared by:
Dr. B. Somasekhar
Ms. P. Chaya Devi
Mr. R. Chandra Sekhar Dr. V. Rajya Lakshmi
Ms. CH. Padmasree Professor & HOD, ECE
MISSION OF INSTITUTE
To train young men and women into competent and confident engineers with excellent
communicational skills, to face the challenges of future technology changes, by imparting
holistic technical education using the best of infrastructure, outstanding technical and teaching
expertise and an exemplary work culture, besides molding them into good citizens.
VISION OF DEPARTMENT
To become a centre of excellence in Education and Research and produce high quality
engineers in the field of Electronics and Communication Engineering toface the challenges of
future technology changes.
MISSION OF DEPARTMENT
To achieve vision department will
Transform students into valuable resources for industry and society by imparting
contemporary technical education.
PEO1: Graduates excel in their career in the domains of Electronics, Communication and
Information Technology
PEO2: Graduates will practice professional ethics and excel in professional career through
interpersonal skills and leadership qualities
PEO3: Graduates demonstrate passion for competence in higher education, research and
participate in various professional activities
PROGRAM OUTCOMES (POs)
2
PO-5 Modern tool usage: Ability to apply appropriate techniques, modern engineering
and IT tools, to engineering problems.
PO-6 The engineer and society: An ability to apply reasoning to assess societal, safety,
health and cultural issues and the consequent responsibilities relevant to the
professional engineering practice
PO-7 Environment and sustainability: An ability to understand the impact of
professional engineering solutions in societal and environmental contexts
PO-8 Ethics: Apply ethical principles and commit to professional ethics and
responsibilities and norms of the engineering practice.
PO-9 Individual and team work: Ability to function effectively as an individual, and as a
member or leader in a team, and in multidisciplinary tasks.
PO-10 Communication: Ability to communicate effectively on engineering activities with
the engineering community such as, being able to comprehend and write effective
reports and design documentation, make effective presentations.
PO-11 Project management and finance: An ability to apply knowledge, skills, tools, and
techniques to project activities to meet the project requirements with the aim of
managing project resources properly and achieving the project’s objectives.
PO-12 Life-long learning: Recognize the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technological
change.
PSO1: Implement Signal & Image Processing techniques using modern tools.
3
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
Anil Neerukonda Institute of Technology & Sciences (Autonomous)
Sangivalasa-531 162, BheemunipatnamMandal, Visakhapatnam District
PO PSO PIs
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
PI: 1,3,1,1.4.1,3.1.1,3.1.6, 3.2.1, 4.1.1,
1 2 2 2 1 1 1 3 4.1.3,4.3.1,8.1.1,9.1.1,9.2.2,10.1.1,10.1.2
PI: 1.1.1,1.3.1,1.4.1, 3.1.1,3.1.6,
3.2.1,3.2.3,3.3.1,3.4.1, 4.1.1,
2 3 3 2 1 1 1 3
4.1.3,4.3.1,8.1.1,9.2.1,9.2.2,
10.1.1,10.1.2
PI: 1.3.3,1.4.1, 3.1.1,3.1.6, 3.2.1,
CO 3.2.3,3.3.1,3.4.1,4.1.1,
3 2 3 3 1 1 1 3
4.1.3,4.1.4,4.2.1,4.3.1,8.1.1,9.2.1,9.2.2,
10.1.1,10.1.2
PI: 1.3.1,1.4.1, 3.1.1,3.1.6, 3.2.1, 4.1.1,
4 2 2 2 3 1 1 1 3 4.1.3,4.3.1,5.1.1,5.1.2,5.2.2,8.1.1,9.2.1,9.
2.2, 10.1.1, 10.1.2
PI: 1.3.1,1.4.1,3.1.1, 3.1.6, 3.2.1, 4.1.1,
5 2 2 2 3 1 1 1 3 4.1.3,4.3.1,5.1.15.1.2,5.2.2,,8.1.1,9.2.1,9.
2.2, 10.1.1, 10.1.2
Justification of Mapping of Course Outcomes with Program Outcomes:
LIST OF EXPERIMENTS
S.No. Name of the Experiment CO Page No
TRAINER KIT BASED EXPERIMENTS
Generation and Detection of Pulse Code Modulation for
1. CO1 9
both A.C and D.C signals
Generation and Detection of Differential Pulse Code
2. CO1 17
Modulation
3. Generation and Detection of Delta Modulation CO1 24
5. Companding CO4 80
5
ABOUT digital COMMUNICATION LABORATORY
6
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
Anil Neerukonda Institute of Technology & Sciences (Autonomous)
Sangivalasa-531 162, Bheemunipatnam Mandal, Visakhapatnam District
RUBRICS
DC Laboratory
1. An ability to identify, Able to apply the concepts of Shows nearly complete Does not Poor knowledge
formulate and solve electronics and understanding of understand the on communication
Communication System communication engineering concepts of concept of engineering
problems with to solve the given problems. communication Communication concept.
communication engineering in problem engineering for
engineering knowledge Able to Develop a design solving. solving the given Unable to Develop
and to conduct Strategy, analyze and problems. a design Strategy.
experiments as well as decompose work into sub Able to Develop a design
design, analyse and tasks. Strategy, analyze and Uses a design Unable to
interpret data as an decompose work into strategy with handling of
individual or with a Able to conduct the sub tasks with the Guidance and not hardware/softwar
team. experiment using the modern guidance. able to analyze and e for producing
An Ability to use the simulation tools and/or decompose work desired results.
technical skills and available hardware resource Knowledge on modern into sub tasks.
modern simulation effectively and able to simulation
tools (5M) correlate the theoretical tool/available hardware Unable to use the
(PO1, PO3, PO4, PO5 & concepts with the concerned resource usage is less modern simulation
PO9) lab results with appropriate and there are minor tool/available
reasons. problem with the hardware to
implementation part produce desired
and able to correlate output and not able
the theoretical concepts to correlate the
with the concerned lab theoretical
results with some concepts with the
difficulties. concerned lab
results.
2. An ability to Able to describe the purpose Presents key elements Less knowledge on Unable to
communicate effectively of doing experiment, its scope, of oral presentation on purpose of doing describe the
when employing oral and related theoretical purpose of doing experiments and its purpose of doing
communications. concept effectively. experiment and its scope. Need experiment and
(Based on viva) (5M). scope and few desired improvement in relevant
(PO10) information is missing. effective theoretical
communication. information
clearly.
3. An ability to Report is well organized with Report is well organized Report is somewhat Report contains
communicate effectively very good professional with the professional code organized with many errors and
when employing writing skills and followed the of ethics but very few missing of some inadequate
written professional code of ethics. useful information information.
desired information’s are
Communications by The report contains all the and unable to apply
following the ethical desired information related to missing. the professional
principle of report the experiment. code of ethics. Need
writing. (10M) improvement in the
(PO8, PO10) report writing.
LIST OF MAJOR EQUIPMENT IN COMMUNICATION SYSTEMS
ENGINEERING LABORATORY
8
1.PULSE CODE MODULATION
9
10
Circuit Diagram:
11
12
13
14
MODEL WAVEFORMS:
V
t
V
t
V
t
V
t
PRECAUTIONS:
1. Avoid loose and wrong connections.
2. Readings should be noted without parallax error.
RESULT:
Thus Pulse Code Modulation signal is generated for both AC and DC input signals
and it is Demodulated.
15
VIVA QUESTIONS:
16
2. DIFFERENTIAL PULSE CODE MODULATION & DEMODULATION
17
18
19
Circuit Diagram:
20
21
Model waveforms:
PRECAUTIONS:
1. Avoid loose and wrong connections.
2. Readings should be noted without parallax error.
RESULT:
Thus Differential Pulse Code Modulated signal is generated for given input signal and
it is Demodulated.
22
VIVA QUESTIONS:
23
3. DELTA MODULATION
24
25
Circuit Diagram:
26
27
V
t t
28
29
MODEL WAVEFORMS:
.
PRECAUTIONS:
1. Avoid loose and wrong connections.
2. Readings should be noted without parallax error.
RESULT:
Thus Delta Modulated signal is generated for given input signal and it is
Demodulated
30
VIVA QUESTIONS:
31
4. PHASE SHIFT KEYING
32
Circuit Diagram:
33
Model waveforms
V
PRECAUTIONS:
1. Avoid loose and wrong connections.
2. Readings should be noted without parallax error.
RESULT:
Thus the PSK modulation signal is generated for a given input data signal and it is
demodulated.
34
VIVA QUESTIONS:
35
5. DIFFERENTIAL PHASE SHIFT KEYING
MODULATION & DEMODULATION
36
Circuit diagram:
37
38
Model waveforms:
V
PRECAUTIONS:
1. Avoid loose and wrong connections.
2. Readings should be noted without parallax error.
Result:
Thus the DPSK modulation and demodulation is performed and graphs were plotted.
39
VIVA QUESTIONS:
1. Define DPSK?
2. Mention the Advantages of DPSK?
3. Mention the Disadvantages of DPSK?
4. Draw the waveforms of DPSK?
5. Compare ASK, PSK, FSK& DPSK?
6. What are the Applications of DPSK?
40
6. FREQUENCY SHIFT KEYING
41
Circuit Diagram:
42
43
Model Waveforms:
PRECAUTIONS:
1. Avoid loose and wrong connections.
2. Readings should be noted without parallax error.
RESULT:
Thus the FSK modulation and demodulation is performed and graphs are plotted
VIVA QUESTIONS:
1. What is MSK?
2. For the given 8 bit data 10111010 draw the FSK output waveform.
3. Draw the constellation diagram of FSK.
4. What will happen if the same frequency is used for both the carriers?
44
7. QPSK MODULATION & DEMODULATION
AIM:
To generate a QPSK modulated signal for the given input data and its demodulated signal
45
46
47
48
49
50
V
51
t
Result :
Thus the QPSK modulated signal is generated and it is demodulated.
VIVA QUESTIONS:
1. Draw the constellation diagram of QPSK.
2. Give some applications of QPSK modulation scheme
3. Find the output of the following command. 5^ (2/3) – 25/ (2*3)
4. what is the relationship between 4 QAM and QPSK?
5. Design a simulink model for QPSK.
52
8. LINEAR BLOCK CODE - ENCODER & DECODER
AIM:
To Study the Hamming Code 7-bit Generation.
APPARATUS:
1. Linear Block Code- Encoder & Decoder Trainer Kit (Scientech 2121A &
2121B)
2. 2 mm Banana Cable
3. Regulated Power Supply
THEORY:
53
BLOCK DIAGRAM:
PROCEDURE:
1. Connect the power supply mains cord to the Scientech 2121A and
Scientech 2121B but do not turn ON the power supply until connections are made
for this experiment.
3.There are some conditions regarding H-Matrix selection manually which are:
Any row should not be identically selected like there should not all 1’s or all 0’s.
The matrix should be so chosen that all the rows are distinct and consist of at least
three 1’s in them.
6. At Scientech 2121A Block Code Encoder unit now select the data at seven
Segment display with the help of BCD (binary coded decimal) switch.
7. Check the data at seven segment display and its binary equivalent (d3, d2,
d1, d0), in the Code Word Generator block T where bit pattern is selected in the
form of 8, 4, 2, 1 format.
8. Now set the H matrix are per the condition given in step 3. In Observation
Table 3.1, some example sets are given (Set 1, Set2, Set3 and Set4). You can set
your own matrix or you can choose any set from example sets and select the H
Matrix as per the table.
54
6. After that check the H matrix in the form of H= [Ik] [P]; Identity matrix and Parity
matrix corresponding to the selected set as given in the Observation Table 3.1.
7. Check the massage signal in the form of (d3, d2, d1, d0, p3, p2, p1) and verify the
status of ‘Parity Bits’ (p3, p2, p1) as per the equations given for parity generation (see
bservation Table 3.1).
8. Connect 2mm patch cords between horizontal bit stream and p/s block as per the
connections diagram.
9. Observe the bit pattern output of codeword Generator at vertical 7-bit stream.
10. Now connect the Data output to the Data In of 2121B which is block code decoder.
11. Now connect the clock and ground of 2121A to 2121B via a 2mm patch cord.
12. Now set the H-Matrix section of 2121B Block code Decoder unit as per the same
set what you have chose for 2121A Encoder unit. Refer the Observation Table 3.1.
13. Now first set Data ‘0’ at Encoder unit and press reset switch until you get same
decoded data on LED display and as well as at the seven segment display in numeric
form. Once you get the same data 0 at decoder unit you can vary BCD switch to get
the sequential data from 0-9.
14. For any selected data from 0-9, check the H matrix in the form of H= [P] [Ik];
Parity matrix and Identity matrix as given in the Observation Table 3.1
15. Also check the massage signal in vertical matrix ‘R’ in the form of (d3, d2, d1, d0,
p3, p2, p1) and check the status of Syndrome Em. As there is no error in the bits it will
show (0 0 0).
16. Check the corrected code word and match it with the code word of Encoder unit.
17. Also check the Decode Bits (d3, d2, d1, d0) and match with the data at Encoder
unit.
55
Equations for Parity Generation:
Observation Table:
RESULT:
Linear Block Code encoding and decoding are verified.
56
VIVA QUESTIONS:
1 WHAT ARE THE BLOCK CODES EXPLAIN THE MECHANISM OF ENCODING AND
DECODING IN LINEAR BLOCK?
2 WHAT ARE THE PROPERTIES OF LINEAR BLOCK CODE?
3 WHAT IS MEANT BY LINEAR BLOCK CODES?
4 HOW IS LINEAR BLOCK CODE CALCULATED?
57
9.
58
59
60
61
62
63
64
VIVA QUESTIONS:
1 Which of them is not a convolution decoding method ?
2 Which of the following are method used for representing convolution encoder ?
65
SOFTWARE EXPERIMENTS:
1. AMPLITUDE SHIFT KEYING
66
67
V
Result: t
The program for ASK modulation and demodulation has been simulated in MATLAB and
necessary graphs are plotted
68
VIVA QUESTIONS:
3. Applications of ASK.
69
2. PHASE SHIFT KEYING
70
71
72
V
Result
The program for PSK modulation and demodulation has been simulated in MATLAB and
necessary graphs are plotted.
73
VIVA QUESTIONS:
74
3. TIME DIVISION
MULTIPLEXING
75
RESULT:
Thus the two signals are transmitted using TDM and they are demultiplexed.
76
4. PULSE CODE MODULATION
AIM:
Write a MATLAB program to generate PCM signal
PROGRAM:
clc;
close all;
clear all;
n=input('Enter n value for n-bit PCM system : ');
n1=input('Enter number of samples in a period : ');
L=2^n;
% % Signal Generation
% x=0:1/100:4*pi;
% y=8*sin(x);
% subplot(2,2,1);
% plot(x,y);grid on;
% Sampling Operation
x=0:2*pi/n1:4*pi;
s=8*sin(x);
subplot(3,1,1);
plot(s);
title('Analog Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
subplot(3,1,2);
stem(s);grid on; title('Sampled Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
vmax=8;
vmin=-vmax;
del=(vmax-vmin)/L;
part=vmin:del:vmax;
code=vmin-(del/2):del:vmax+(del/2);
[ind,q]=quantiz(s,part,code);
l1=length(ind);
l2=length(q);
for i=1:l1
if(ind(i)~=0)
ind(i)=ind(i)-1;
end
% i=i+1;
end
for i=1:l2
if(q(i)==vmin-(del/2))
77
q(i)=vmin+(del/2);
end
end
subplot(3,1,3);
stem(q);grid on;
title('Quantized Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
% Encoding Process
figure
code=de2bi(ind,'left-msb');
k=1;
for i=1:l1
for j=1:n
coded(k)=code(i,j);
j=j+1;
k=k+1;
end
i=i+1;
end
subplot(2,1,1); grid on;
stairs(coded);
axis([0 100 -2 3]); title('Encoded Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
procedure:
1. Run MATLAB
2. Open a new script file
3. Write the code for mu-law Companding technique.
4. Run the code for execution and obtain the necessary results
78
Observations:
Result:
pulse code modulation is performed using MATLAB
VIVA QUESTIONS:
1. What is meant by multiplexing technique and what are the different types of Multiplexers?
2. Briefly explain about TDM&FDM?
3. What is the transmission band width of a PAM/TDM signal?
4. Define crosstalk effect in PAM/TDM system?
5. What are the advantages of TDM system?
6. What are major differences between TDM&FDM?
7. Give the value of Ts in TDM system?
8. What are the applications of TDM system and give some example?
9. What is meant by signal overlapping?
10. Which type of modulation technique will be used in TDM?
79
5. COMPANDING
Program:
clc
clear
close all
fm=1;
A1=8;
A2=0.5;
Ts=1/(1000*fm);
t=0:Ts:1;
Signal1=A1*sin(2*pi*fm*t);
Signal2=A2*sin(2*pi*2*fm*t);
Signal=[Signal1 Signal2];
t1=0:Ts:2+Ts;
plot(t1,Signal)
title('original Signal')
mu=100;
Norm_Signal=(1/max(Signal))*Signal;
Signal_compress=(log(1+mu*abs(Signal))./log(1+mu)).*sign(Signal);
figure, plot(t1,Signal_compress);
title('Compressed Signal')
Signal_Expand=(1/mu)*(((1+mu).^abs(Signal_compress))-1).*sign(Signal_compress);
figure,plot(t1,Signal_Expand)
title('Expanded Signal')
80
mu=[0 5 50 100];
Rand_signal=0:0.01:1;
figure,
for i=1:length(mu)
if mu(i)==0
Rand_Signal_compress=Rand_signal;
plot(Rand_signal,Rand_Signal_compress)
hold on
else
Rand_Signal_compress=((log(1+(mu(i)*abs(Rand_signal))))./(log(1+mu(i)))).*sign(Rand_si
gnal);
plot(Rand_signal,Rand_Signal_compress)
hold on
end
end
legend('mu=0','mu=5','mu=50','mu=100');
title('mu Law Compander Charecyeristics')
a=max(abs(Rand_Signal_compress));
Observations:
V
RESULT:
Companding is performed using MATLAB
VIVA QUESTIONS:
1. Define Companding?
2. What is the principle of companding?
3. What is the main advantage of companding?
4. Explain µ-law and A-law companding characteristics?
81