Professional Documents
Culture Documents
1. OBJECTIVE
Gain knowledge to generate binary phase shift keyed (BPSK) and Quadrature phase shift keyed
(QPSK) signals and synchronous demodulation of each generated signals using Simulink in
MATLAB software.
2. APPARATUS
MATLAB software (new version)
3. PREREQUISITES
It would be advantageous if you have a basic knowledge of operating MATLAB software and
Simulink in the area of linear modulation and demodulation.
4. PREPARATION
4.1. Generation of BPSK
If a sinusoidal high frequency carrier is modulated by a given bi-polar bit stream (+1 is
represented by +1 and 0 is represented by -1), the output signals polarity will get reversed
every time when the bit stream changes its polarity. For a sine wave this is equivalent to a
180phase reversal (shift). Thus the multiplier output will be a BPSK signal.
Here, the information about the bit stream can be identified by observing the changes of phase
of the transmitted (generated) signal.
The appearance of a BPSK signal in the time domain is shown in the Figure 02 below. The
upper trace is the Binary Bi-polar message sequence.
Figure 02: The Bi-polar message signal and BPSK signal in time domain
When you observe the BPSK wave form of the above Figure 02 you can clearly identify that the
wave shape is symmetrical at each phase transition. This is because the bit rate of the
message signal is a sub multiple of the carrier frequency
4.2.
BPSK Demodulation
Here the stage 1, translation back to the baseband is achieved using a synchronous
demodulator. It requires a local synchronous carrier. Thus the same carrier that was been used
for modulation process is used for the process of demodulation.
The output of the translation process will reproduce a band limited version of the original binary
sequence.
4.3.
Generation of QPSK
The Quadrature Phase Shift Keying (QPSK) is a Modulation Scheme where the Phase of the
modulated signal is shifted depending on the incoming bit stream by an angle of +450 or +1350,
-1350(+2250), -450 (+3150). Data into the modulator is separated into two channels called I and
Q. Two bits are transmitted simultaneously in one channel. Here the modulation takes two input
bits at a time and creates a symbol that represents one of four phases. For this binary or gray
coding are used.
In general the data to be modulated usually comes as a stream of contiguous binary signals. In
QPSK the modulator takes a pair of these signals and use one signal to modulate one carrier
and the other signal to modulate the other carrier.
In a 4-ary message signal the two sequences are been obtained by splitting the bit stream into
two paths. In one signal the convention that the first bit is used to modulate the sine wave and
the second bit the cosine wave of the carrier signal. (First bit received is left most bit)
Thus 4-ary sequence will become a serial-to-parallel conversion. The two streams become the
channel 1 and channel 2 messages as shown in figure below.
Once the binary signals have been identified then they can be used to implement QPSK using
the functional block diagram shown in the figure QPSK modulator. Conventionally the in phase
signal (cosine wave) is labeled as I carrier and the quadrature signal (sine wave) as the Q
carrier.
Channel 1
Channel 2
4.4.
Demodulation of QPSK
Cosine Carrier
Low-pass Filter
Q Demodulated
Signal
QPSK signal
Low-pass Filter
I Demodulated
Signal
Sine Carrier
5. EXPERIMENT
5.1.
Draw the schematic diagram to generate a BPSK signal in Simulink as shown in the figure
below.
M-ARY Number
- 2
Initial Seed
- 1
Sample time
- 20
- int8
M-ARY Number
- 2
Polarity
- Positive
- int8
Sine Wave
Sine type
- Sample based
Time (t)
Amplitude
- 1
Bias
- 0
- 20
- 0
Sample time
- 0.1
5.2.
BPSK Demodulator
Here a synchronous demodulator is been used for the process of BPSK demodulation.
Continue drawing the schematic diagram to demodulate the transmitted BPSK signal
as shown in the figure below.
BPSK Signal
5.3.
Set parameters as below. (Set the simulation time to 1000 and before running the Simulink disable
the data history limited to 5000).
Initial Seed
Sample time
20
int8
QPSK Modulator
Phase offset
pi/4
Constellation Ordering
binary
Input Type
Integer
Cosine Wave
Sine type
Sample based
Time
Amplitude
Bias
20
Sample time
0.2
- Sine Wave
Sine type
Sample based
Time
Amplitude
Bias
20
10
Sample time
0.2
Q8. Calculate the frequencies of message and two carrier signals (sine and cosine) (consider
the x-axis in ms).
Q9. After modulating the message signal with carrier signals and adding them what is the main
change that has been occurred in the transmitting signal?
5.4.
QPSK Demodulator
Here a synchronous demodulator is been used for the process of BPSK demodulation.
Continue drawing the schematic diagram to demodulate the transmitted BPSK signal
as shown in the figure below.
Schematic for demodulating the generated BPSK signal
QPSK Signal
-Sine Wave