0% found this document useful (0 votes)
330 views4 pages

PSK Lab Manual

This document describes an experiment using Matlab to study phase shift keying (PSK). PSK is a digital modulation technique that changes the phase of the carrier signal based on the input data. The document discusses binary PSK (BPSK) modulation and demodulation. It provides block diagrams of the BPSK modulator and demodulator. It also includes the Matlab code, output plots, and conclusions from running a simulation of BPSK modulation and demodulation.

Uploaded by

Sakshi Dewade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
330 views4 pages

PSK Lab Manual

This document describes an experiment using Matlab to study phase shift keying (PSK). PSK is a digital modulation technique that changes the phase of the carrier signal based on the input data. The document discusses binary PSK (BPSK) modulation and demodulation. It provides block diagrams of the BPSK modulator and demodulator. It also includes the Matlab code, output plots, and conclusions from running a simulation of BPSK modulation and demodulation.

Uploaded by

Sakshi Dewade
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

EXPERIMENT NO:

Aim: To Study Phase Shift Keying on Matlab

Apparatus: Matlab Software

Theory: PSK is the digital modulation technique in which the phase of the carrier signal is
changed by varying the sine and cosine inputs at a particular time. PSK technique is widely
used for wireless LANs, bio-metric, contactless operations, along with RFID and Bluetooth
communications.

BPSK Modulator

The block diagram of Binary Phase Shift Keying consists of the balance modulator which has
the carrier sine wave as one input and the binary sequence as the other input. Following is the
diagrammatic representation.

The modulation of BPSK is done using a balance modulator, which multiplies the two signals
applied at the input. For a zero binary input, the phase will be 0° and for a high input, the
phase reversal is of 180°.

Following is the diagrammatic representation of BPSK Modulated output wave along with its
given input.

Department of Electronics and Communication Engineering DCOM Lab


The output sine wave of the modulator will be the direct input carrier or the inverted
180°phaseshifted input carrier, which is a function of the data signal.

BPSK Demodulator

The block diagram of BPSK demodulator consists of a mixer with local oscillator circuit, a
bandpass filter, a two-input detector circuit. The diagram is as follows.

Department of Electronics and Communication Engineering DCOM Lab


By recovering the band-limited message signal, with the help of the mixer circuit and the
band pass filter, the first stage of demodulation gets completed. The base band signal which
is band limited is obtained and this signal is used to regenerate the binary message bit stream.

In the next stage of demodulation, the bit clock rate is needed at the detector circuit to
produce the original binary message signal. If the bit rate is a sub-multiple of the carrier
frequency, then the bit clock regeneration is simplified. To make the circuit easily
understandable, a decision-making circuit may also be inserted at the 2nd stage of detection.

Procedure: 1. Open Matlab Software


2. Click on New Script and Start to write a Program
3. After wrote Save and Run Program
4. Command Window will open
5. Give the Following Input to generate PSK modulated wave.
6. Enter frequency of Carrier Sine wave: 60
7. Enter Message frequency: 10
8. Enter Carrier & Message Amplitude (Assuming Both Equal):3

Circuit Diagram/Block Diagram/Flow chart/Program:


clc %for clearing the command window
close all %for closing all the window except command window
clear all %for deleting all the variables from the memory
t=0:.001:1; % For setting the sampling interval
fc=input('Enter frequency of Carrier Sine wave: ');
fm=input('Enter Message frequency : ');
amp=input('Enter Carrier & Message Amplitude(Assuming Both Equal):');
c=amp.*sin(2*pi*fc*t);% Generating Carrier Sine
subplot(3,1,1) %For Plotting The Carrier wave
plot(t,c)
xlabel('Time')
ylabel('Amplitude')
title('Carrier')
m=square(2*pi*fm*t);% For Plotting Message signal
subplot(3,1,2)
plot(t,m)
xlabel('time')
ylabel('ampmplitude')
title('Message Signal')% Sine wave multiplied with square wave in order to
generate PSK
x=c.*m;
subplot(3,1,3) % For Plotting PSK (Phase Shift Keyed) signal
plot(t,x)
xlabel('t')
ylabel('y')
title('PSK')

Department of Electronics and Communication Engineering DCOM Lab


Results:

Conclusion: Hence we studied Phase Shift Keying successfully on Matlab


Software

Viva questions:

1. What does Phase Shift Keying means?

2. Why PSK is preferred in many application?

3. What are the application of PSK?

Department of Electronics and Communication Engineering DCOM Lab

You might also like