








































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!









































Intuitive Guide to Principles of Communications www.complextoreal.com
Basic Concepts, Signal Space, Constellations and Phase Shift Keying modulations (PSK, QPSK, OQPSK, M-PSK, π /4-QPSK, MSK, and GMSK)
Modulation is the process of facilitating the transfer of information over a medium. Sound transmission in air has limited range for the amount of power your lungs can generate. To extend the range your voice can reach, we need to transmit it through a medium other than air, such as a phone line or radio. The process of converting information (voice in this case) so that it can be successfully sent through a medium (wire or radio waves) is called modulation.
We begin our discussion of digital modulation by starting with the three basic types of digital modulation techniques. These are;
Amplitude-Shift Keying (ASK) Frequency-Shift Keying (FSK) Phase-Shift Keying (PSK)
All of these techniques vary a parameter of a sinusoid to represent the information which we wish to send. A sinusoid has three different parameters than can be varied. These are its amplitude, phase and frequency. Modulation is a process of mapping such that it takes your voice (as an example of a signal) converts it into some aspect of a sine wave and then transmits the sine wave, leaving the actual voice behind. The sine wave on the other side is remapped back to a near copy of your sound.
The medium is the thing through which the sine wave travels. So wire is a medium and so are air, water and space. The sine wave is called the carrier. The information to be sent, which can be voice or data is called the information signal. Once the carrier is mapped with the information to be sent, it is no longer a sine
wave and we call it the signal. The signal has the unfortunate luck of getting corrupted by noise as it travels.
In ASK, the amplitude of the carrier is changed in response to information and all else is kept fixed. Bit 1 is transmitted by a carrier of one particular amplitude. To transmit 0, we change the amplitude keeping the frequency constant. On-Off Keying (OOK) is a special form of ASK, where one of the amplitudes is zero as shown below.
Figure 1 - Baseband information sequence – 0010110010
Figure 2 - Binary ASK (OOK) signal
In FSK, we change the frequency in response to information, one particular frequency for a 1 and another frequency for a 0 as shown below for the same bit sequence as above. In the example below, frequency f1 for bit 1 is higher than f used for the 0 bit.
FSK t
f t for bit f t for bit
sin( ) sin( )
1 2
Information can be defined in two forms, digital or analog. Analog signal is considered continuous. Its signal amplitude can take on any number of values between the signal maximum and minimum. Voice is analog and can take any number of volume levels between its “dynamic-range” which is the range of volumes your vocal cords can produce. Digital devices convert analog voice to a digital signal by process of sampling and quantization. The analog signal is first sampled and then quantized in levels and then each level is converted to a binary number. For example, we may quantize your voice in 16 levels. Each of these levels can be represented by four bits.
Perhaps you remember when your telephone system went to the “tone” dialing. It went from being a pure analog system to a digital system based on sampling and quantization. Other examples of analog information are music and voice transmitted via FM and AM radio transmissions. Nearly everything else nowadays is digital.
The medium is thing the signal travels through. It can be air, space or wires of all sorts. Each of these mediums offers its own unique set of advantages and distortions that determine what is used as a carrier. A short wire in a chip for example may not need a carrier at all. A signal through space such as for satellite transmission may need a very high frequency carrier that can overcome space loss and other atmospheric losses.
If medium is the road taken, then carrier is the truck that carries the information hence we call it Carrier. It is a sinusoid in our case. Depending on the medium, it will have a frequency appropriate to the medium. It can be at light frequencies as in optical fiber or a microwave frequency as for mobile communications. An electromagnetic carrier can be of any frequency depending on the medium and the communication needs. Most mediums dictate what type of carrier (its frequency, amplitude) can propagate through it and the type of distortions it will suffer while traveling through it.
Anything that is wireless is analog – always. Wired signals can be digital or analog. Communications inside a computer are examples of pure digital communications, digital data over digital medium. LAN communications are digital data over analog medium. The AM and FM radios are examples of analog data over analog medium.
In general when we talk about a digital system, we are usually talking about digital information over an analog medium. However, there are exceptions. Pulse Coded modulation (PCM) is a form of modulation where there is no carrier, so that makes it a pure digital system.
The “Shift Keying” the second two terms in the name of these modulations imply that they are digital modulations, i.e. the information is also digital.
The study of signal spaces provides us with a geometric method of conceptualizing the modulation process. In a physical space when we describe a vector by its coordinates (x, y); the vector is being described by a linear combination of two functions (1, 0) and (0, 1). Any vector can be written as a linear combination of these two functions. These functions are called basis functions and are orthogonal to each other.
Another example of such a family of functions are the unit width pulses separated in time shown below. Each of these is independent of others and clearly we can use these functions to create any random data sequence consisting of square pulses. Each one of these single pulses is a basis function. However, this is not a very efficient set of basis functions as it takes a large number of these functions to create a random signal.
φ 0 (t)
φ 1 (t)
φ 2 (t)
φ 3 (t)
Figure 5 - Ortho-normal basis set
Ideally we want as few basis functions as possible which when combined can create a large number of independent signals, both digital and analog. In general, basis functions should
i j −∞ i j
+∞
An important example of terrific basis functions is the pair of sine and cosine waves of unit amplitude. This special basis set is used as carriers in all real communications systems.
Phase of the signal tan 1 I Q
In itself, this is simple enough but gets confusing when related to modulation as we shall see.
A symbol is quite apart from a bit in concept although both can be represented by sinusoidal or wave functions. Where bit is the unit of information, the symbol is a unit of transmission energy. It is the representation of the bit that the medium transmits to convey the information. Imagine bits as widgets, and symbols as boxes in which the widgets travel on a truck. We can have one widget per box or we can have more. Packing of widgets (bits) per box (symbols) is what modulation is all about.
In communications, the analog signal shape, by pre-agreed convention, stands for a certain number of bits and is called a symbol.
Each of these is one bit of information, 0's and 1's.
This is a carrier symbol that represents one information bit.
Time
Bit baseband amplitude Carrier amplitude
Process of modulation converts bits to symbols.
Digital world of bits and information
Analog world of signal symbols
Figure 8 – Digital information travels on analog carrier
A symbol is just a symbol. It can stand for any number of bits, not just one bit. The bits that it stands for are not being transmitted, what is transmitted is the symbol or actually the little signal packet shown above. The frequency of this packet is usually quite high. The 1 Hz signal shown above is just an abstraction.
A baud is same as the symbol rate of a communication system. So if we send 200 bauds, then we are send 200 symbols per second.
Let’s imagine a ship lost at sea with no communication system. It sees an airplanes flying overhead and wants to communicate its plight to the airplane while it is overhead. The
captain marks two spots on each side of the mast as shown below. Now he holds a bright light and runs back and forth between the marked spots to signal a message. Spot to the right means a 1 and spot to the left means a 0. We assume that all airplanes seeing this know that what each light stands.
Figure 9 – Two signaling spots, a simple modulation system
This is a one dimensional signal, because the captain uses only one dimension (running from left to right) to indicate a symbol change.
The shining of the light is a symbol. There are two light positions, so those are two symbols. Let’s give these two symbols names of s 1 and s 2. Simplest thing is to have the symbol stand for just one bit. This method of transmitting information, i.e. the bits, is essentially a Binary Phase Shift Keying (BPSK) modulation. We utilize just one sinusoid as the basis function. We vary the phase of this signal to transmit information which is identical in concept to the example of shining the light from the deck. Each symbol is signaled by a change in position (really the phase) of the light as in this example. In BPSK we define two little packets of the cosine wave, one with zero phase and second one with a 180 degree different phase.
The BPSK signal is special. It lies totally in one axis, x-axis. It has no y-axis projection. The vector flip-flops on the x-axis depending on the value of the bit. Table 1 lists the two symbols and the signals used to represent them. (The carrier signal shown is for f = 1 Hz.) The I and Q amplitudes are the x and y projections computed by setting fc = 0, and
2 s = 1 E T
, then we get, I = 1 for the first symbol and -1 for the second symbol. Q
amplitude is zero for both symbols because sin of both 0° and 180° is zero.
Symbol Bit Expression Modulation Signal at fc = 1 Hz
At fc = 0
At fc = 0
2 s cos(2 π (^) c +0) E f t T (^) 1 0
2 s cos(2 π +π) E ft T (^) -1 0
What is a transition? A transition is the time at which we switch from one symbol to the next. What happens at the transition boundary is different for various modulations and is quite an important thing. In the case of BPSK, at every bit transition the signal does a 180 degree phase shift.
We worry about what the signal does at transitions because of amplifier non-linearities. Amplifiers used in communications have a very hard time with sudden changes in signal amplitudes and introduce distortions. Since this makes it harder to decode the symbol, we try to control these transitions.
Now imagine a different ship. Its captain thinks up a different signaling arrangement. Here the he has marked out four spots on the deck, to the East and West and North and South. He assigns four different combinations to each of the spots as shown below. He can send two bits, with each flash of the light. If he can do it in the same time period as the first ship, then this person would be able to communicate twice as fast.
Light to the North of mast means 01
Light to the South of mast means 10
Light to the East of mast means 11
Light to the Wast of mast means 00
Figure 11 – A two dimensional signaling system
By creating four signaling spots, he has added another dimension. This gives two basis functions, the East-West and the North-South movements. Now there are four different symbol positions possible and we can assign 2 bits to each unique symbol.
The dimensionality of a modulation is defined by the number of basis functions used. That makes QPSK a two-dimensional signal. Not because it sends two bits per symbol, but because it uses two independent signals (a sine and a cosine) to create the symbols. All PSK modulations we will discuss here are two-dimensional.
Now some light math –
QPSK signal is an extension of the BPSK signal. Both of these are a type of M-ary signals. We can write the process that describes the modulated signal in a polar form as
( ) ( )cos 2
s t i A ps tc f tc i M
Where ps(t) is the pulse shaping function. In digital phase modulation, the phase of the sinusoid is modified in response to a received bit. The changing phase is shown in blue. A sinusoid can go through a maximum of 2π phase change in one period. So the maximum phase we can change at any one time is 180°. We can use M quantized levels of 2π, to create a variety of PSK modulation. The variable i is a number from 1 to M. The allowed phases are given by
Modulation angles M
i i
M stands for the order of the modulation. M = 2, makes this a BPSK, M = 4 is QPSK, M = 8, 8PSK and so on. Following diagram shows three of these modulations and their “constellations.” A rotation of the second resulting in the third figure does not change the modulation, its power or performance. These modulation are called rotationally invariant.
E s
E s E s
(^10) E s
01 00
11 10
00
01
11
10
000
001 011 010
111
110 101
100
Figure 12 – M-PSK modulations, a. BPSK, b. QPSK, c. also QPSK, d. 8PSK
For baseband PSK signals, we use a square pulse. The pulse has an amplitude of A. The energy in this pulse is equal to the power of the signal times the duration, T it lasts. Power is equal to A^2 with R = 1 ohm and T is the symbol time.
T
A
t
Which gives this equation for the pulse; the pulse has this amplitude over a period T secs.
( ) ( )
( ) cos 2 4 2 2 2 cos 2 cos sin 2 sin 4 4
s i c
s c c
E i s t f t T M E i i f t f t T M
at fc = 0, we get four baseband signals we will use for signaling. We have initialized the phases to start at 45°. This shift has no effect on the modulation.
Now come the I and the Q channels, remember the basis set.
1 2
( ) cos ( ) sin
c c
t t t t
Any two signals created through the scaled versions of these basis signals are also orthogonal. So let’s scale these and call them I and Q channels.
( )
( )
cos 2
sin 2
s c
s c
I f T E Q f T
t
t
12
The above are clearly orthogonal because we just multiplied the basis functions with a constant. Now multiply them with the angle part from Eq. 11 part also. For i = 0, 1, 2, 3 and M = 4, a QPSK constellation, the second part is also a constant. So the two equations remain orthogonal.
( )
( )
cos 2 cos cos cos cos 4 4 4 4
2 3 5 7 sin 2 sin sin sin sin 4 4 4 4
s c
s c
I f t T
E Q
or or or
f t or or o T
r
Actually true orthogonality requires that fc be a integer multiple of T/M but for large carrier frequencies, this is not so important. Now we can express the modulation equation as
( ) ( ) ( ) (
1 2
( ) cos 2 sin
s cos ( ) (^) c s sin ( ) (^2) c
s t t f t T
f t T
) 13
This is called the quadrature form of the modulation equation. The two signals are orthogonal. The colored part is the amplitude of the I and the Q channels. The values of
these is the same as the x and y-axis projection of the signal of energy Es. So a phase modulated signal can now be seen as a combination of two quadrature signals, the amplitude of which changes in response to the phase change. The modulating signal can be seen as a vector with I and Q as its x and y components.
Although we created the BPSK modulated signal by stringing together the appropriate packets of signals, in real systems, we can not create a modulated carrier this way. What we have at our disposal are oscillators that can produce continuous sines and cosines. We can not just use a certain part of the signal as if it was sitting on a shelf for us to grab the needed piece. We need a way to create a signal packet of a particular phase when needed out of a free-running sine or cosine. This is where Quadrature Modulation with I and Q channels come into play. I and Q channels are not just concepts but also how modulators are designed. However, the signal created by I and Q channels is not what is transmitted, it is the sum or the difference (makes no difference as long the polar form is consistent) of these two, and that is the real modulated signal.
How the bits are mapped to the possible phases can be done in many ways, especially when you have a lot of symbols. Try this with 8PSK: The bit combinations are 001, 000, 100, 101, 111, 110, 010, 011. There are many different ways of doing this. The best way to do this is to number them such that each adjacent phase means just one bit difference. So that when a phase mistake is made and the most likely one is the nearest phase, then only one bit is decoded incorrectly. This is called Gray coding and is always applied in PSK. In QPSK we can do this perfectly. In other higher order (M > 4) PSK modulations, perfect gray ordering is not always possible.
For QPSK, we have four symbols, each stands for two bits. Nominally we start the first at 45 and then change phase by 90 each time to get the next symbol. The I and Q values are computed by setting fc = 0, and
2 s = 2 E T
. For the first symbol which lies in the first quadrant, the I and Q values are
both +1. Similarly for others as shown in this table.
Symbol Bits S(t) Phase,(Deg.)
Mod. Signal
At fc = 1 I Q
2 s cos(2 π (^) c +π/ 4) E f t T
f t T
example, the second integer in signal s1 below is 2. Its I channel value is 1 and its Q value is -1.
Figure 15 – QPSK, s1 – arbitrary integer stream indicating a bit stream of 2 bits per integer, s2 – the I channel mapping, s3. the Q channel mapping
Symbol 0 3 2 0 3 3 2 3 3 2
I Data 1 -1 1 1 -1 -1 1 -1 -1 1
Q Data 1 -1 -1 1 -1 -1 -1 -1 -1 -
Figure 16 – QPSK modulation s4 a cosine wave of frequency 1 Hz, s5 – s multiplied by s2, s6 – a sine wave of frequency 1 Hz, s7 – s6 multiplied by s3, s8 – add I and Q channels to get the real modulated signal
Signal s4 is the I carrier or the cosine wave of frequency 1. Signal s5, multiplies I channel values from signal s2 with carrier signal of s4. Signal s6 is the Q carrier or the sine wave of frequency 1. Signal s7 multiplies the carrier s6 with Q(t) of signal s3. Signal s7 and signal s5 are Q and I channel respectively. We add I and Q to get the real modulated signal in s8.
where m(t) is the information signal, varying between +1 and -1 with a rectangular pulse shape. Dp is called the phase sensitivity. It is equal to the peak phase deviation over one symbol. Its units are radians per volt. Plotting above equation, we get the modulated signal as a function of the phase sensitivity.
The phase sensitivity of a modulated signal is related to the traditional modulation index as
2 2 Dp h
θ π π
For a true, carrier suppressed PSK signal, the modulation index is equal to 1 since the peak phase variation is 90 degrees. PSK signals are all carrier suppressed and all have a modulation index of 100%.
-0.
-0.
-0.
-0.
0
1
0 10 20 30 40 50 60 70 80 90 100
D = 2 D = 1. D = 1 D =.
Figure 18 – The modulation index of a PSK signal is 100%
The square pulses shown here are not practical to send. They are hard to create and require a lot of bandwidth. So in their lieu we send shaped pulses that convey the same information but use smaller bandwidths and have other good properties such as intersymbol interference rejection. One of the most common pulse shaping is called “root raised cosine”. This pulse shaping has a parameter called the roll-off which controls the shape and the bandwidth of the signal.
Some common pulse shaping methods are
In Figure 19 we see the time domain traces of a QPSK I and Q channel where the signal has been shaped by root raised cosine pulses. The general bit shape can be seen easily.
Figure 19 – Root-raised cosine shaped pulses
We can draw a constellation diagram of this signal by sampling this signal every 20 samples, and then plotting the measured I values against Q values. We get the following constellation diagram.
Figure 20 – Constellation diagram of a root-raised cosine shaped signal