Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter One
1.1 Motivation 1
Chapter Two
2.1 Introduction 9
2.2 Modulation 10
Chapter Three
3.1 introductions 21
Conclusion 28
References 29
Program 31
Chapter One
Introduction
1.1 Motivation
1
1.2 Types of wireless systems
Wireless LANs are often used for connecting to local resources and to the
Internet, a wireless local area network (WLAN) links two or more devices over a
short distance using a wireless distribution method, usually providing a
connection through an access point for internet access. The use of spread-
spectrum or OFDM (Orthogonal frequency-division multiplexing) technologies
may allow users to move around within a local coverage area, and still remain
connected to the network. [3]
Wireless metropolitan area networks are a type of wireless network that connects
several wireless LANs.
2
1.2.5 Wireless WAN
Wireless wide area networks are wireless networks that typically cover large
areas, such as between neighboring towns and cities, or city and suburb. These
networks can be used to connect branch offices of business or as a public Internet
access system.
A global area network (GAN) is a network used for supporting mobile across an
arbitrary number of wireless LANs, satellite coverage areas, etc. The key
challenge in mobile communications is handing off user communications from
one local coverage area to the next. [4]
there are another two types of wireless, a radio frequency (RF): signal refers to a
wireless electromagnetic signal used as a form of communication, if one is
discussing wireless electronics. Radio waves are a form of electromagnetic
radiation with identified radio frequencies that range from 3Hz to 300 GHz. The
other type is Optical wireless: refers to the combined use of two technologies -
conventional radio-frequency (RF) wireless and optical fiber - for
telecommunication. Long-range links are provided by optical fiber (also known
as fiber optic cables), and links from the long-range end-points to end users are
accomplished by RF wireless. Sometimes the local links are provided by laser
systems, also known as free-space optics (FSO), rather than by RF wireless. [5]
3
1. 3Applications of wireless system
One of the best-known examples of wireless technology is the mobile phone, also
known as a cellular phone, with more than 4.6 billion mobile cellular
subscriptions worldwide. These wireless phones use radio waves from signal-
transmission towers to enable their users to make phone calls from many
locations worldwide. They can be used within range of the site used to house the
equipment required to transmit and receive the radio signals from these
instruments. [6]
Wi-Fi
Cellular data service
Mobile Satellite Communications
Wireless Sensor Networks
4
1.3.3Energy transfer
1.3.4Medical technologies
New wireless technologies, such as mobile body area networks (MBAN), have
the capability to monitor blood pressure, heart rate, oxygen level and body
temperature. The MBAN works by sending low powered wireless signals to
receivers that feed into nursing stations or monitoring sites. This technology
helps with the intentional and unintentional risk of infection or disconnection that
arise from wired connections. [9]
5
1.4 Wired vs. Wireless system
6
1.5 Advantages and Disadvantages of Wireless system
7
1-2. Project Objectives
8
Chapter Two
Overview of system
2.1 Introduction
Wireless communications is, by any measure, the fastest growing segment of the
communications industry. As such, it has captured the attention of the media and
the imagination of the public. Cellular phones have experienced exponential
growth over the last decade, and this growth continues unabated worldwide, with
more than a billion worldwide cell phone users projected in the near future.
Indeed, cellular phones have become a critical business tool and part of everyday
life in most developed countries, and are rapidly supplanting antiquated wire line
systems in many developing countries. In addition, wireless local area networks
are currently poised to supplement or replace wired networks in many businesses
and campuses. Many new applications, including wireless sensor networks,
automated highways and factories, smart homes and appliances, and remote
telemedicine, are emerging from research ideas to concrete systems. The
explosive growth of wireless systems coupled with the proliferation of laptop and
palmtop computers indicate a bright future for wireless networks, both as stand-
alone systems and as part of the larger networking infrastructure. However, many
technical challenges remain in designing robust wireless networks that deliver
the performance necessary to support emerging applications. [13]
9
2.2 Modulation
We can see that this sinusoid has 3 parameters that can be altered, to affect the
shape of the graph. The first term, A, is called the magnitude, or amplitude of the
sinusoid. The next term, 𝝎 is known as the frequency, and the last term, ∅ is
known as the phase angle. All 3 parameters can be altered to transmit data. [13]
Analog Modulation
Digital Modulation
Amplitude Modulation
Angle Modulation
10
Fig. (2-1) Basic Analog Communication System
1. Digital has finite levels and is easy to regenerate Analog has infinite levels and
never completely reproducible.
2. Digital offers multiplexing of different types of data, source coding, channel
coding, encryption and multiple access, all implemented in DSP Analog offers
them as well but is very hard to control.
3. Improved noise immunity and lower power consumption digital systems is
another advantage. Analog requires more power and lesser immunity. [14]
Analog – Quality often degraded due to noise, Requires high quality processing
which in turn demands costly hardware, costly storage requirements due to more
data, high power requirements. [15]
11
Analog modulation techniques
12
2.2.2Digital Modulation
13
Result can be reproduced easily: Since the output of digital systems unlike
analog systems is independent of temperature, noise, humidity and other
characteristics of components the reproducibility of results is higher in
digital systems than in analog systems. [15]
In the wireless digital communication, it is not easy to transmit the digital data
directly. This is because it needs to pass through the modulator and modulate the
carrier signal in order to send the signal effectively. One of the easiest ways is to
use the different data stream to change the amplitude of carrier, this kind of
modulation is called amplitude modulation, and we call it as amplitude shift
keying (ASK) modulation in digital communication. [18]
14
ASK modulation signal can be expressed as:
𝑋𝐴𝑆𝐾(𝑡) =
15
Differences between ASK and PSK
ASK
• Advantage: simplicity
• Application: ASK is used to transmit digital data over optical fiber. [15]
PSK
•Advantage: ƒ PSK is less susceptible to errors than ASK, while it
requires/occupies the same bandwidth as ASK ƒ more efficient use of bandwidth
(higher data-rate) are possible, compared to FSK
16
Fig. (2-6)operation of PSK modulation
Mode of Compression
Analog Digital
Signal Analog signal is a continuous Digital signals are discrete time
signal which represents signals generated by digital
physical measurements. modulation.
Waves Denoted by sine waves. Denoted by square waves.
Representation Uses continuous range of Uses discrete or discontinuous
values to represent values to represent information.
information.
Example Human voice in air, analog Computers, CDs, DVDs, and
electronic devices. other digital electronic devices.
Technology Analog technology records Samples analog waveforms into
waveforms as they are. a limited set of numbers and
records them.
17
Data Subjected to deterioration by Can be noise-immune without
transmissions noise during transmission and deterioration during
write/read cycle. transmission and write/read
cycle.
Response to More likely to get affected Less affected since noise
Noise reducing accuracy. response are analog in nature.
Flexibility Analog hardware is not Digital hardware is flexible in
flexible. implementation.
Uses Can be used in analog devices Best suited for Computing and
only. Best suited for audio digital electronics.
and video transmission.
Applications Thermometer PCs(personal communications
service), PDAs (Personal
digital assistants)
Bandwidth Analog signal processing can There is no guarantee that
be done in real time and digital signal processing can be
consumes less bandwidth. done in real time and consumes
more bandwidth to carry out the
same information.
Memory Stored in the form of wave Stored in the form of binary bit.
signal.
Power Analog instrument draws Digital instrument draws only
large power. negligible power.
18
2.3 Communication system
Transmitter
Communication channel
Receiver
19
2.4 Transmitter of the system
20
Chapter Three
Simulation of Modulation and Demodulation
Techniques
3.1 introductions
In this project we are implementing the amplitude shift keying (ASK) modulation
and demodulation ,and binary phase shift keying (BPSK) ) modulation and
demodulation in Matlab program by using M- File.[20][21]
21
3.2 ASK Modulation and Demodulation
a) Generation of ASK
In ASK modulator level of amplitude can be used to represent binary logic
0s and 1s.Wecan think of carrier signal as an ON or OFF Switch. In
modulated signal logic 0 is represented by the absence of carrier, thus giving
OFF/ON keying operation and hence the name given mathematically equation of
ASK. The fig (3.1) shows the ASK modulation
b) ASK Demodulators
At receiver side ASK modulated signal is multiplied by the carrier signal in
which is generated from the carrier generator output of multiplier consist of
higher frequency and lower frequency components this output of integrated
by integrator block and passed by Comparator block. Comparator blocks recover
digital data by comparing threshold values with integrated signal. The fig (3.2)
shows the ASK Demodulation
ASK waveform act as ON/OFF. Pulse shaping can be employed to
remove spectral spreading.
22
AKS poor performance, as it is heavily affected by noise, fading and
interference. [21]
23
B) ASK demodulation
1. Start FOR loop
2. Perform correlation of ASK signal with carrier to get decision variable
3. Make decision to get demodulated binary data. If x>0, choose ‘1’ else choose
‘0’
4. Plot the demodulated binary data.
In a coherent binary PSK system, the pair of signal S1(t) and S2 (t) used to
represent binary symbols 1 & 0 are defined by
24
Fig. (3.3) PSK modulation
b) PSK Demodulators
The received BPSK signal is applied to a correlator which is also supplied with a
locally generated reference signal c 1 (t). The correlated o/p is compared with a
threshold of zero volts. If x> 0, the receiver decides in favor of symbol 1. If x< 0,
it decides in favor of symbol 0.The fig (3.4) shows the PSK Demodulation.[24]
A) PSK modulation
1. Generate carrier signal.
2. Start FOR loop
25
3. Generate binary data, message signal in polar form
4. Generate PSK modulated signal.
5. Plot message signal and PSK modulated signal.
6. End FOR loop.
7. Plot the binary data and carrier.
The M- file code of PSK modulation in appendix B[25]
B) PSK demodulation
1. Start FOR loop
Perform correlation of PSK signal with carrier to get decision variable
2. Make decision to get demodulated binary data. If x>0, choose ‘1’ else choose
‘0’
3. Plot the demodulated binary data.
The M- file code of PSKDE modulation in appendix B
26
Fig. (3.5) waveform of ASK transceiver
27
Conclusion
28
References
29
[16] Fundamentals of Wireless Communications12, David Tse, University of California,
Berkeley, PramodViswanath, University of Illinois, Urbana-Champaign, August 13, 2004.
[17] Linebaugh, Kate. "Medical Devices in Hospitals go wireless." .The Wall Street Journal.
23 May 2010. Web. 27 Oct. 2013.
[18] Moser, Max; Schrödel, Philipp (2007-12-05). "27Mhz Wireless Keyboard Analysis
Report aka "We know what you typed last summer"". Retrieved 6 February 2012.
[19] M. HadiValipour, M. Mehdi Homayounpour and M. Amin Mehralian, Automatic digital
modulation recognition in presence of noise using SVM and PSO, in Proceedings of 2012
Sixth International Symposium on Telecommunications (IST), pp 378-382, Nov 2012,
Tehran, Iran.
[20] M. Hadi Valipour, M. Mehdi Homayounpour and M. Amin Mehralian, Automatic
digital modulation recognition in presence of noise using SVM and PSO, in Proceedings of
2012 Sixth International Symposium on Telecommunications (IST), pp 378-382, Nov 2012,
Tehran, Iran.
[21] Ghostly voices, New Scientist, 2 October 1999, retrieved 2017-04-25.
[22] P. Z. Peebles, Jr., Digital Communication Systems, Prentice Hall, 1987.
[23] M. Schwartz, Information Transmission, Modulation, and Noise, 4/e, McGraw
Hill, 1990.
[24] J. D. Gibson, Principles of Digital and Analog Communications, MacMillan, 1990.
[25] B. Sklar, Digital Communications: Fundamentals and Applications, Prentice Hall,
[26] Communications Systems, H. Stern & S. Mahmoud, Pearson Prentice Hall, 2004, p.
283.
[27] Tom Nelson, Erik Perrins, and Michael Rice. "Common detectors for Tier 1
modulations". T. Nelson, E.
30
Program
%ASK Modulation
clc;
clear all;
close all;
%GENERATE CARRIER SIGNAL
Tb=1; fc=10;
t=0:Tb/100:1;
c=sqrt(2/Tb)*sin(2*pi*fc*t);
%generate message signal
N=8;
m=rand(1,N);
t1=0;t2=Tb
for i=1:N
t=[t1:.01:t2]
if m(i)>0.5
m(i)=1;
m_s=ones(1,length(t));
else
m(i)=0;
m_s=zeros(1,length(t));
end
message(i,:)=m_s;
%product of carrier and message
ask_sig(i,:)=c.*m_s;
t1=t1+(Tb+.01);
t2=t2+(Tb+.01);
%plot the message and ASK signal
subplot(5,1,2);axis([0 N -2 2]);plot(t,message(i,:),'r');
title('message signal');xlabel('t--->');ylabel('m(t)');grid on
hold on
subplot(5,1,4);plot(t,ask_sig(i,:));
title('ASK signal');xlabel('t--->');ylabel('s(t)');grid on
hold on
end
hold off
%Plot the carrier signal and input binary data
subplot(5,1,3);plot(t,c);
title('carrier signal');xlabel('t--->');ylabel('c(t)');grid on
subplot(5,1,1);stem(m);
31
title('binary data bits');xlabel('n--->');ylabel('b(n)');grid on
% ASK Demodulation
t1=0;t2=Tb
for i=1:N
t=[t1:Tb/100:t2]
%correlator
x=sum(c.*ask_sig(i,:));
%decision device
if x>0
demod(i)=1;
else
demod(i)=0;
end
t1=t1+(Tb+.01);
t2=t2+(Tb+.01);
end
%plot demodulated binary data bits
subplot(5,1,5);stem(demod);
title('ASK demodulated signal'); xlabel('n--->');ylabel('b(n)');
grid on
% PSK modulation
clc;
clear all;
close all;
%GENERATE CARRIER SIGNAL
Tb=1;
t=0:Tb/100:Tb;
fc=2;
c=sqrt(2/Tb)*sin(2*pi*fc*t);
%generate message signal
N=8;
m=rand(1,N);
t1=0;t2=Tb
for i=1:N
t=[t1:.01:t2]
if m(i)>0.5
m(i)=1;
m_s=ones(1,length(t));
else
32
m(i)=0;
m_s=-1*ones(1,length(t));
end
message(i,:)=m_s;
%product of carrier and message signal
bpsk_sig(i,:)=c.*m_s;
%Plot the message and BPSK modulated signal
subplot(5,1,2);axis([0 N -2 2]);plot(t,message(i,:),'r');
title('message signal(POLAR form)');xlabel('t--->');ylabel('m(t)');
grid on; hold on;
subplot(5,1,4);plot(t,bpsk_sig(i,:));
title('BPSK signal');xlabel('t--->');ylabel('s(t)');
grid on; hold on;
t1=t1+1.01; t2=t2+1.01;
end
hold off
%plot the input binary data and carrier signal
subplot(5,1,1);stem(m);
title('binary data bits');xlabel('n--->');ylabel('b(n)'); grid on;
subplot(5,1,3);plot(t,c);
title('carrier signal');xlabel('t--->');ylabel('c(t)');
grid on;
% PSK Demodulation
t1=0;t2=Tb
for i=1:N
t=[t1:.01:t2]
%correlator
x=sum(c.*bpsk_sig(i,:));
%decision device
if x>0
demod(i)=1;
else
demod(i)=0;
end
t1=t1+1.01;
t2=t2+1.01;
end
%plot the demodulated data bits
subplot(5,1,5);stem(demod);
title('demodulated data');xlabel('n--->');ylabel('b(n)');
grid on
33