Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/322917143

Advanced Digital communication- Simulation using Simulink

Chapter · February 2018

CITATIONS READS

0 7,409

1 author:

Mounir Belattar
Université 20 août 1955-Skikda
54 PUBLICATIONS 65 CITATIONS

SEE PROFILE

All content following this page was uploaded by Mounir Belattar on 03 February 2018.

The user has requested enhancement of the downloaded file.


Advanced Digital
Communication
Simulation Using
Simulink

Dr. Belattar Mounir


Lecturer at 20 Août 1955 Skikda University
Foreword

Digital communication consisting of information coding has taken over the current era.
This digital code passes from one station to another by signals. The way to carry these signals
is very important as is the digital content. Indeed, the digital signal must not be deformed or
generate errors during its transmission.

Digital transmission produces fewer data errors than analog transmission, it is easier to
detect and correct information-bearing data errors, since transmitted data is binary, also error
coding is used to detect and correct digital transmission errors. At the other hand,
regenerative capability: consisting of digital repeaters placed along the transmission channel
can detect a distorted digital signal and retransmit a new, clean digital data signal. These
repeaters minimize the accumulation of noise and signal distortion along the transmission
channel.
The manuscript describes the main digital modulation techniques as well as the recovery
of signals, followed by a simulation of a digital transmission chain, using Simulink Matlab
program.
It is an advanced digital communication simulation course on the various digital
modulation techniques given for my Master 1 students in telecommunications, in “ 20 Août
1955” Skikda university, it can be considered also, as a brochure for digital communication
simulation work, which can be of great help to telecommunication students.
It can also be a support for courses or practical work for my colleagues in the field of
communications; I hope it will be beneficial and interesting.

The author: Mounir Belattar


Chapter I: Amplitude shift keying modulation and
demodulation (ASK)
I-1 Introduction:

Amplitude-shift keying (ASK) is a form of amplitude modulation that


represents digital data as variations in the amplitude of a carrier wave. In an ASK system, the
binary symbol 1 is represented by transmitting a fixed-amplitude carrier wave and fixed
frequency for a bit duration of T seconds. If the signal value is 1 then the carrier signal will
be transmitted; otherwise, a signal value of 0 will be transmitted.

Any digital modulation scheme uses a finite number of distinct signals to represent digital
data. ASK uses a finite number of amplitudes, each assigned a unique pattern of binary digits.
Usually, each amplitude encodes an equal number of bits. Each pattern of bits forms
the symbol that is represented by the particular amplitude. The demodulator, which is
designed specifically for the symbol-set used by the modulator, determines the amplitude of
the received signal and maps it back to the symbol it represents, thus recovering the original
data. Frequency and phase of the carrier are kept constant.

The simplest and most common form of ASK operates as a switch, using the presence of
a carrier wave to indicate a binary one and its absence to indicate a binary zero. This type of
modulation is called on-off keying (OOK), and is used at radio frequencies to transmit Morse
code (referred to as continuous wave operation).

Figure (I-1): Signals ASK and OOK

I-2 Simulation of ASK 2 modulation and demodulation:


1- Using Simulink, create the following assembly

Figure (I-2): ASK2 Modulation and demodulation simulation by Simulink

2- Make the configuration of all the blocks as follows


• Sine Wave 1
- Amplitude:1
- Frequency: 6 Hz
- Phase offset: 0 rad
- Sample mode: Discrete
- Output complexity: Real
- Computation method: Trigonometric fcn
- Sample time: 1/100
- Samples per frame:1
• Random Integer Generator
- M-ary number: 2
- Initial seed:37
- Sample time:1
- Output data type: double
• Ideal Rectangular Pulse Filter
- Pulse length(number of samples):2
- Pulse delay (number of samples):0
- Input processing: Columns as channels (frame based)
- Rate options: Enforce singe-rate processing
- Linear amplitude gain:1
• Sine Wave 2 and 3: same properties of Sine Wave 1.
• Integrate and Dump:
- Integration period (number of samples):2
- Offset (number of samples):0
• Delay:
- Delay length (Dialog):1
- Initial condition (Dialog):0.0
- External reset: none
- Input processing: Elements as channels (samples based)
- Sample time: -1
• Zero Order Hold:
-sample time: 0.01
• Compare To Zero:
- Operator: >
- Output data type: Boolean

3- What is the utility of using the blocks; "Integrate and dump, zero order hold"
4- What is the role of the block "compare to zero".
5- verify that the signals: modulating signal, modulated signal and demodulated signal
will be represented by the scope as follows:
Chapter II: Frequency Shift Keying modulation and
demodulation (FSK)

II-1 Introduction:

Frequency-shift keying (FSK) is a frequency modulation scheme in which digital


information is transmitted through discrete frequency changes of a carrier signal.
The technology is used for communication systems such as amateur radio, caller ID and
emergency broadcasts. The simplest FSK is binary FSK (BFSK). BFSK uses a pair of
discrete frequencies to transmit binary (0s and 1s) information. With this scheme, the "1" is
called the mark frequency and the "0" is called the space frequency.

(c )

Figure (II-1): Modulation FSK 4


II-2 Simulation:

1- Using Simulink, create the following assembly


2- Configure all the blocks as follows:

Figure (II-2): Modulation and demodulation FSK 4 simulation by Simulink

• Random Integer Generator :


- M-ary : 2
- Initial seed : 37
- Sample time : 1
- Output data type : double
• Sine wave 1:
- Amplitude :1
- Frequency (Hz): [3:1:6]
- Phase offset (rad):0
- Sample mode: discrete
- Output complexity: Real
- Computation method: Trigonometric fcn
- Sample time: 1/100
- Samples per frame:1
• Selector:
- Number of input dimensions: 1
- Index mode: Zero Based
- Index option: Starting index (port)
- Input port size:4
- Sample time:-1
• Sine wave 2: same as Sine wave 1
• Pulse generator:
- Pulse type: Sample based
- Time (t): use simulation time
- Amplitude : 1
- Period (number of samples):2
- Pulse width (number of samples):1
- Phase delay (number of samples):0
- Sample time:1
• Discrete time integrator:
- Integrator method: integration forward Euler
- Gain value:1.0
- External reset: rising
- Initial condition source: internal
- Initial condition: 0
- Initial condition setting: Compatibility
- Sample time:-1
- Upper saturation limit: inf
- Lower saturation limit: -inf
• Delay and Delay 1:
- Delay length (dialog):1
- Initial condition (dialog): 0.0
- External reset: none
- Input processing: Elements as channels (sample based)
- Sample time:-1
• Zero-order hold:
- Sample time:1
• Maximum:
- Mode: index
- Index base: one
- Find the maximum value over: each column
- Treat sample-based row input as a column
• Bias: -1

3- What is the utility of using the blocks; "Pulse Generator, Discrete time integrator,
Maximum and Bias.
4- What is the role of the block "Zero-Order hold.
5- verify that the signals: modulating signal and demodulated signal will be represented
by the scope as follows:
View publication stats

You might also like