In another article, Analogue modulation, we talked about analogue communication systems. Analogue modulation takes a continuously varying signal such as voice signal and superimposes it onto a radio frequency carrier and demodulation at the receiver separates and extracts the signal. Thus the voice signal is recovered, amplified and can be fed to a loudspeaker. Various techniques such as AM, FM and PM were discussed.
Moving on from this topic, in this article we will discuss digital communication and digital modulation techniques and how they are used to transport non-continuous signals such as binary or serial data.
Difference between analogue and digital communication
Example of analogue communication
An example of an analogue communication system is a typical AM or FM radio broadcast. The microphone converts the voice into a continuously varying electrical signal. This signal is amplified and passed to the modulator where it is superimposed onto a radio frequency carrier. For this Frequency Modulation (FM) or Amplitude modulation (AM) is used. The modulated radio frequency signal is amplified and delivered to the station antenna for transmission.
At the receiver the radio wave is picked by the receiver antenna and converted back to the radio frequency signal. The signal is amplified and demodulation extracts the superimposed voice signal from the carrier. This is amplified and fed into a loudspeaker.
Example of digital communication
While analogue communication transmits a continuous signal, digital communication on the other hand is concerned with transmission of a bit stream. A single bit that makes up the bit stream can only be one of two signal states (bit 1 or bit 0). If instead of outputting a continuously varying voltage we output only 2 voltage levels – HIGH (bit 1) and LOW (bit 0). For example a HIGH signal could be assigned a voltage of +5V and a LOW signal could be assigned a voltage of -5V. If this voltage could be viewed, we would not see a continuous signal but instead see a series of digital pulses.
A common example of digital communication is the exchange of data between 2 computers on a network as shown below. A device called a modem converts the digital pulses to a signal suitable for transmission over a communication medium such as radio or telephone.
Digital communication over radio include digital television broadcasts (DVB-S2, ISDB etc.) , digital radio (DAB etc.) , GPS systems and mobile phone communication. In the next section, we will talk about how to modulate these bit streams so they can be transmitted over radio waves.
How do we transmit a bit stream?
A bit stream is just a signal with transitions from LOW to HIGH voltage levels instead of continuous variations. In analogue communication, we change the radio carrier’s amplitude (AM), frequency (FM) or phase (PM) in response to the input signal. If a similar technique is applied to digital signals, the output will be amplitude, frequency or phase shifts (where each shift is a transition from 0 to 1 and 1 to 0). The 3 main methods used to modulate digital signals are amplitude shift keying (ASK), frequency shift keying (FSK) and phase shift keying (PSK).
In the article, Analogue modulation, we talked about amplitude modulation or AM. By varying the amplitude of the radio wave carrier with our message signal, m(t) we can transmit analogue information such as a voice signal. The result is a radio wave carrier, s(t) with amplitude fluctuations.
If instead of a continuous signal we input voltage pulses, the result is a radio wave carrier with shifts in amplitude corresponding to the “HIGH” and “LOW” level in our signal. This is known as Amplitude Shift Keying or ASK.
While the hardware is simple to implement, it inherits the same weaknesses as AM – most notably information carried by variations in amplitude makes it highly susceptible to noise. In digital systems, since the receiver is only determining a HIGH and a LOW level, these noise fluctuations (if not too large) can be filtered out.
For the LOW level representation, the radio wave carrier could just be switched OFF (i.e zero amplitude). This method is known On-Off keying or OOK. This type of modulation is used mainly in Morse and CW systems.
In the article, Analogue modulation, we talked about frequency modulation or FM. By varying the frequency of the radio wave carrier with our message signal we can transmit analogue information such as a voice signal.
If instead of a continuous signal we input voltage pulses, the result is a radio wave carrier with shifts in frequency corresponding to the “HIGH” and “LOW” level in our signal. This is known as Frequency Shift Keying or FSK.
Similar to FM, FSK is more resistant to noise than ASK since information is carried by frequency shifts instead of amplitude shifts. A further advantage of FSK is that since there are no amplitude changes, non-linear amplifiers that are more power efficient can be used. This makes FSK suitable for battery powered operation.
FSK can be implemented by switching 2 oscillators of different frequency in response to our digital signal. However without careful timing, phase discontinuities will be present extending the sidebands into neighbouring channels causing interference across the spectrum. It was discovered that by applying a modulation index of 0.5, phase continuity could be maintained and FSK schemes such as MSK (Minimum Shift Keying) and GFSK (Gaussian Frequency Shift Keying) could be realised.
FSK finds its uses in telemetry, radiosondes on weather balloons, garage door openers etc. In some communication modems FSK can also be used to create audio tones (instead of using radio frequency) which can be used to send data across the telephone line. It is also used in amateur radio communication in the form of RTTY (Radio Teletype).
So far we have spoken about binary FSK where 2 frequencies are used to convey bit 1 or bit 0. By grouping 2 or more bits together we can form a symbol. For example, grouping 2 bits together means 4 symbols (00,01,10,11) and each symbol can be mapped to a frequency value. Thus higher order FSK such as 4-FSK can be realised and the result is that every symbol transition can now encode 2 bits.
In the article, Analogue modulation, we talked about phase modulation or PM. By varying the phase of the radio wave carrier with our message signal we can transmit analogue information such as a voice signal.
If instead of a continuous signal we input voltage pulses, the result is a radio wave carrier with shifts in phase corresponding to the “HIGH” and “LOW” level in our signal. This is known as Phase Shift Keying or PSK. The simplest PSK is BPSK (Binary Phase Shift Keying) where a single bit is mapped to one phase shift. For example, bit 0 can be 0 degrees and bit 1 can be 180 degrees phase shift.
Like FSK, PSK is also not so impacted by noise and constant amplitude allows use of non-linear amplifiers. PSK and its large number of variants are used in a wide range of applications such as digital television (e.g. DVB-S2, ISDB), wireless LAN and BlueTooth. With the availability of PCs and soundcards, it is also used in amateur radio for transmitting text e.g. PSK31.
In-phase and quadrature
In FSK and PSK, to design hardware that takes a radio wave carrier and precisely change its frequency and phase would be extremely difficult to design. In practice we use in-phase and quadrature modulation.
It can be mathematically shown that by taking 2 identical carriers that are 90 degrees out of phase with one another and amplitude modulating each one, we can modulate the radio wave carrier to contain any amplitude, frequency and phase. The below diagram shows how QPSK signal is created with the constellation diagram shown on the right.
In the diagram every bit change corresponds to one of the I and Q signals being inverted. The result is we can shift the phase of our QPSK signal to each one of the symbols shown. Since there are 4 symbols to choose from, we can encode 2 bits at a time. This system can be extended to encode more bits into one symbol and increase the number of positions in our constellation diagram. The result is higher order systems such as 8-PSK or 16-PSK can be realised.
We can see that the 8-PSK will allow encoding of 3 bits per symbol – 3 times as many as BPSK. While this allows higher bit rates, the trade off is that in a noisy channel the symbols become more closely spaced and the receiver will have a harder time deciding which symbol was sent. The receiver will therefore demand higher SNR from such systems. For example a noisy QPSK signal might look like this:
Demodulation of FSK and PSK
We can see that the I and Q system used amplitude modulation to modulate each of the in-phase and quadrature carriers. We know that to demodulate amplitude modulated signals, we mix the incoming signal with the same carrier wave and then apply a low pass filter. Similarly if we can mix the received signal with the same in-phase and quadrature carrier signals used at the transmitter and low pass filter them we can recover the baseband I and Q. It is important that the locally generated in-phase and quadrature carriers used to demodulate the incoming signal have the same phase relationship as those used at the transmitter.
Digital Quadrature Amplitude Modulation or QAM
It turns out that I and Q signals can be used to convey amplitude changes as well as frequency and phase. If we take a point anywhere in the constellation and measure its distance from the origin – this is the amplitude of our carrier wave. So I and Q can be used to receive AM transmissions.
The beauty of I and Q is we can combine phase and amplitude changes to map many points on the constellation diagram. These quadrature amplitude modulation systems can produce 8, 16, 64, 256 points.