PhysicsElectronics › Data communication

Data communication

A microphone's few kilohertz cannot cross a country on their own, so they ride a carrier wave, printed on its amplitude or on its frequency. Each choice has its advantages and its drawbacks, and the modern move is to send the wave as a stream of numbers instead.

Builds on Digital signal processing.

IN THIS TOPIC

  • Distinguish baseband from modulated transmission, and say what a carrier achieves.
  • Find sideband frequencies and bandwidth for AM, and bandwidth for FM.
  • Weigh AM against FM on bandwidth, noise and cost.
  • Choose a sampling rate, and follow a signal through pulse-code modulation.
  • Tell ground, sky and space waves apart by frequency, mechanism and range.
  • Explain why a satellite link uses one frequency up and a different one down.
  • Compare time-division with frequency-division multiplexing, and copper, fibre and radio as media.
  • Say what encryption and what authentication each protect, and why a checksum is neither.

COMMON MISCONCEPTION

FM radio sounds cleaner than AM because it is broadcast at higher power.

Baseband, and the case for a carrier

Send a signal in its own natural range of frequencies and you are transmitting at baseband. A telephone landline does exactly this, speech from about 300 Hz to 3.4 kHz travelling down a private pair of wires, and on a private wire baseband is fine. Radio has no private wires. Every transmitter shares the same air, and if each station broadcast baseband audio they would all occupy the same few kilohertz and land on top of one another.

There is a second, more physical objection. An efficient aerial needs to be a respectable fraction of a wavelength long, and a 3 kHz radio wave is 100 km long. Nobody builds that aerial. Both problems fall to the same trick: print the programme onto a high-frequency carrier wave. The carrier's short wavelength suits real aerials, and each station is allotted its own carrier frequency, so a tuned circuit at the receiver, resonance from earlier in this unit, can select one station and reject the rest. Printing the programme on is called modulation, and the two classic schemes divide this lesson between them.

Amplitude modulation

Amplitude modulation keeps the carrier frequency fcf_{c} fixed and makes its amplitude follow the programme, loud passages swelling the envelope. The surprise is what this does to the spectrum. Modulate a carrier with a single audio tone of frequency fMf_{M} and you transmit exactly three frequencies, the carrier itself plus two sidebands at fc+fMf_{c} + f_{M} and fc-fMf_{c} - f_{M}. The audio is not sent at its own frequency; it appears as the pair of new frequencies flanking the carrier.

The spectrum of an amplitude-modulated carrier: the carrier with one sideband either side, and a bandwidth of twice the modulating frequencycarriersidebandsideband4.5 kHz4.5 kHz904.5909913.5frequency / kHzbandwidth = 2 × 4.5 = 9 kHzone tone of 4.5 kHz on a 909 kHz carrier: three lines, nothing else
FIG. 1The spectrum of a carrier amplitude-modulated by one audio tone: a tall line at the carrier frequency, one sideband spaced f M below it and one f M above it, and the occupied width running from the lower sideband to the upper, twice f M.

Real programmes are a band of tones up to some maximum audio frequency fMf_{M}, so each sideband spreads into a band, and the transmission occupies everything from fc-fMf_{c} - f_{M} to fc+fMf_{c} + f_{M}. The occupied width is the bandwidth:

AM bandwidth=2fM\text{AM bandwidth} = 2f_{M}ON THE AQA DATA SHEET

WORKED EXAMPLE

Medium wave arithmetic

A medium-wave station on a 909 kHz carrier transmits audio limited to 4.5 kHz. Find the frequencies it occupies and its bandwidth.

Sidebands run from 909 − 4.5 = 904.5 kHz up to 909 + 4.5 = 913.5 kHz.

The bandwidth is 2 × 4.5 = 9.0 kHz, and medium-wave stations are duly spaced 9 kHz apart across the band.

The audio ceiling of 4.5 kHz is the consequence of that tight packing. Music loses its top octaves before it ever leaves the transmitter.

Frequency modulation

Frequency modulation holds the amplitude constant and swings the carrier's frequency instead, above and below fcf_{c} in step with the programme. Louder audio swings it further; the maximum swing is the frequency deviation Δf\Delta f. An FM signal's sidebands in truth trail off indefinitely, so the occupied band is an estimate covering the deviation and the modulating structure on top of it, Carson's rule:

FM bandwidth=2(Δf+fM)\text{FM bandwidth} = 2(\Delta f + f_{M})ON THE AQA DATA SHEET

WORKED EXAMPLE

Broadcast FM's appetite

A broadcast FM station uses a deviation of 75 kHz and carries audio up to 15 kHz. Find its bandwidth, and compare it with the medium-wave station's.

Bandwidth = 2 × (75 + 15) = 180 kHz.

That is twenty times the 9 kHz an AM station occupies. FM achieves its quality by using more spectrum, and the wide channels only fit because the FM band sits up near 100 MHz, where there is room.

What does 180 kHz achieve? Noise, whether from motors, lightning or distant sparks, adds to a wave's amplitude. An AM receiver reads the amplitude, so it faithfully reproduces the noise. An FM receiver reads only the frequency, and it clips the amplitude flat before detection, removing most amplitude noise; noise that disturbs the wave's apparent frequency or phase survives in smaller measure, and the advantage holds only while the signal stays comfortably above the receiver's working threshold.

FM also carries audio to 15 kHz rather than 4.5, and its constant amplitude lets the transmitter run steadily at full efficiency. AM's advantage is economy, a twentieth of the spectrum per station and receivers simple enough to build with a diode.

AMFM
bandwidth per stationnarrow, 2fM2f_{M}, about 9 kHzwide, 2(Δf+fM)2(\Delta f + f_{M}), about 180 kHz
response to noisenoise adds to amplitude, and is heardamplitude clipped flat, so most noise is removed
audio qualitylimited, about 4.5 kHz of audioup to 15 kHz of audio
transmitter and receiversimple and cheapmore complex circuitry
carrier frequencies usedlong and medium wave, longer rangeVHF, roughly line of sight

GUIDED PRACTICE

A narrowband compromise

A marine two-way radio uses FM with a deviation of 2.5 kHz and speech limited to 3.0 kHz. Find its bandwidth, and explain in one sentence why it accepts a far smaller deviation than broadcast FM.

Show the working

Bandwidth = 2 × (2.5 + 3.0) = 11 kHz.

Small deviation keeps each channel narrow, so many ships share the band; speech only needs to be intelligible, not high fidelity, and the noise advantage of FM survives in miniature.

Sending numbers instead: sampling and PCM

The last lesson argued that digital signals shrug off noise and can be regenerated without loss. To give an analogue signal those advantages, digitise it. Step one is sampling, measuring the signal's value at regular instants. Sample too rarely and wiggles between samples are missed entirely, and the rule has a sharp edge. The sampling rate must be greater than twice the highest frequency present in the signal. Sampled slower than that, a high frequency masquerades as a low one and the corruption cannot be undone afterwards.

Sampling and quantisation: the wave is measured at regular instants, each sample is rounded to one of eight levels, and three bits name the level000001010011100101110111100 110 111 110 100 001 000 001 100 110 111 110the bit stream sent: pulse-code modulation8 samples per cycle, 8 levels, 3 bits per samplecode
FIG. 2An analogue wave sampled at regular instants, each sample rounded to the nearest of eight quantisation levels. Three bits name each level, and the resulting bit stream is the wave as pulse-code modulation.

Step two is quantisation. Each sample is rounded to the nearest of 2n2^{n} fixed levels, and the level is named by an n-bit binary code. The rounding error is the quantisation error, shrunk by adding bits, since each extra bit doubles the number of levels and halves the step between them. The stream of codes, sent as pulses, is pulse-code modulation, PCM. From then on the signal enjoys every digital privilege, regeneration included, and noise stops accumulating along the route.

WORKED EXAMPLE

The telephone's budget

Telephone speech is limited to 3.4 kHz, sampled at 8.0 kHz with 8 bits per sample. Check the sampling rate and find the bit rate.

Twice the highest frequency is 6.8 kHz, and 8.0 kHz clears it, with margin left for imperfect filters.

Bit rate = 8000 samples per second × 8 bits = 64 000 bits per second, the standard worldwide figure for one digital phone call.

Ground wave, sky wave, space wave

Modulated or digitised, a radio signal still has to get there, and how it travels is decided by its frequency rather than by what is written on it. Below about 2 MHz the wave follows the ground. It induces currents in the conducting surface underneath, and that drag tilts the wavefront so the wave leans round the curve of the Earth, while its long wavelength diffracts it round hills and buildings. Those same induced currents are what attenuate it, since the ground takes energy from the wave, and it takes more the higher the frequency. Long wave reaches a thousand kilometres or so by this ground wave, medium wave a few hundred.

Between roughly 3 MHz and 30 MHz the wave leaves the ground and meets the ionosphere, layers of gas that solar ultraviolet has ionised from about 60 km upward. The free electrons there lower the refractive index, and since the ionisation increases with height the wave is refracted progressively, bending further and further until it is turned back towards the ground. It lands hundreds or thousands of kilometres away, and can reflect off the ground for a second hop. That is the sky wave, and it is how short wave crosses an ocean with no repeater in between.

Two consequences follow from where the sky wave comes from. The ionosphere is made by sunlight, so it thins at night and shifts with the solar cycle, and the frequency a station can use moves with it. And between the range where the ground wave fades out and the point where the sky wave first comes back down lies a skip zone that hears nothing at all.

Above about 30 MHz the ionosphere no longer bends the wave enough to return it and the ground wave has long since given up, so what is left travels in a nearly straight line from one aerial to the other. That is the space wave, and the horizon is its limit. Height is the only way to extend it, which is why television and FM masts stand on hills and why a hand-held marine radio reaches tens of kilometres and no further. The failure to be turned back is also the opportunity: a wave the ionosphere cannot hold on to is a wave that can be sent straight out to a satellite.

frequencieshow it travelsrange
ground waveup to about 2 MHzfollows the surface, diffracting round the curve and losing energy to the groundhundreds of km, further at lower frequency
sky waveabout 3 to 30 MHzrefracted back by the ionosphere, sometimes in several hopsthousands of km, with a skip zone and a day-night change
space waveabove about 30 MHzstraight line between aerials, or straight out through the ionosphereline of sight, so aerial height sets it

Up to the satellite and back down

A communications satellite is a repeater in orbit. The earth station transmits on the uplink frequency, the satellite's transponder amplifies what it hears, shifts it to a different downlink frequency and sends it back, and both are far above 30 MHz so that the ionosphere lets them through rather than turning them round. Typical pairs are 6 GHz up with 4 GHz down, or 14 GHz up with 11 GHz down.

The two frequencies have to differ, and the reason is plain enough. The satellite receives microwatts and transmits watts from the same small structure, so if it retransmitted on the frequency it was listening to, its own output would swamp its own receiver and the transponder would howl like a microphone held in front of its loudspeaker.

Which of the two is made the lower is a separate decision, and power settles it. Atmospheric attenuation depends on the band, and across the microwave bands these links use it worsens towards higher frequency, rain fade above all, while the satellite runs its transmitter on whatever its solar panels supply and the earth station can afford a large dish and a kilowatt. The weaker end of the link, the downlink, is therefore given the lower and less attenuated frequency.

WORKED EXAMPLE

The pause you can hear

A geostationary satellite sits 3.6 × 107 m above the equator. Find the delay between a word leaving one earth station and arriving at another, and the gap a speaker hears before a reply comes back.

The signal climbs to the satellite and comes down again, so it covers 2 × 3.6 × 107 = 7.2 × 107 m at 3.0 × 108 m s−1.

t = (7.2 × 107)/(3.0 × 108) = 0.24 s.

A reply makes the same trip, so the pause before an answer is about 0.48 s. That is long enough to hear, and it is why satellite telephone conversations tread on each other while a fibre call does not.

Sharing the channel, choosing the medium

One cable or one band is always shared, and there are two ways to slice it. Frequency-division multiplexing gives each user a permanent slice of the spectrum, every broadcaster transmitting continuously on its own carrier, which is precisely how the radio dial works. Time-division multiplexing gives each user the whole channel for a brief repeating time slot. Digital signals suit TDM perfectly: each user is assigned a short repeating slot in a fixed frame, the calls take strict turns on the one channel, and because digital samples compress into brief bursts, thirty phone calls interleave without colliding.

mediumattenuationbandwidthweaknesses and strengths
copper cablehigh, repeaters every few kmmodest, tens of MHzpicks up electrical interference and crosstalk; cheap and everywhere
optic fibrevery low, repeaters tens of km apartenormous, many GHzimmune to electrical interference, harder to tap than copper or radio, light and thin
radio and microwave linkspreads and fades with distance and weatherlimited by the allocated bandno cable to lay, reaches moving and remote users, but shared and interceptable

The comparison that scores is argued through attenuation and bandwidth. Fibre loses least per kilometre, so its repeaters are furthest apart; it carries the most, and being an insulator carrying light it ignores electrical interference completely. Copper is the cheap incumbent for the last mile. Radio is the only choice when the receiver moves, and the drawback is a shared, weather-dependent medium in which whatever you transmit can be received by anyone.

INDEPENDENT PRACTICE

How many stations fit

The FM broadcast band runs from 87.5 MHz to 108.0 MHz, and each station is allocated 200 kHz of it. How many stations fit, and how many 9 kHz AM stations would the same span hold?

Show the working

The band spans 108.0 − 87.5 = 20.5 MHz = 20 500 kHz. At 200 kHz per station that is 20 500/200 = 102.5, so 102 stations.

At 9 kHz per station the same span would hold 20 500/9 ≈ 2277 stations.

The units are the usual trap. Convert the megahertz span into kilohertz before dividing, or the answer arrives a thousand times too small.

Who else is listening

Radio does not choose its audience. Everything transmitted arrives at every receiver in range, a shared cable can be tapped anywhere along its length, and fibre, the hardest of the three to intercept, is only hard rather than impossible. Since no medium can be trusted to keep a secret, the protection has to travel inside the data.

Encryption is the first half of it. Before transmission the bit stream is combined with a key by a reversible rule, and what goes out carries the same information in a form that nobody without the key can read. The receiver holds the matching key and undoes the operation exactly, so the message arrives intact while an interceptor collects every bit and learns nothing from any of them. The security sits in the secrecy of the key, and the method itself is assumed to be public knowledge, since a rule kept secret only stays secret until somebody takes a receiver apart.

Authentication is the other half, and it answers a different question. Encryption stops an eavesdropper reading the traffic; it does nothing to stop somebody transmitting a message of their own and claiming to be you. So the sender computes a short check value from the whole message together with a secret key and sends it alongside, and the receiver recomputes it from what arrived. A match says two things at once: the message came from a holder of that key, and not one bit of it was altered on the way. A mismatch means one of those has failed, and the receiver throws the block away instead of acting on it.

Keep both apart from error checking. A parity bit or a checksum catches the accidental corruption a noisy channel causes, and it is designed to be easy to recompute, so anyone who deliberately alters the message simply recomputes the checksum to match. Only a key nobody else holds makes the check unforgeable, which is the difference between detecting an accident and defeating an opponent.

INDEPENDENT PRACTICE

Which half does which job

A remote sensor sends readings by radio to a control room. Say which of encryption and authentication defeats each of these: a rival who records the transmissions to learn the readings, and a saboteur who transmits false readings of their own. Then say why moving the link to optic fibre is not a substitute for either.

Show the working

The rival is reading traffic that is not theirs, so encryption is the answer: without the key the recorded bits carry nothing they can use.

The saboteur is not reading anything, they are writing. Encryption alone would let their transmission through, so this needs authentication, a keyed check value the control room recomputes and finds wrong.

Fibre only makes interception harder, and it does nothing about a false message injected at either end. It reduces the chance of an attack rather than removing what an attack could achieve, so the medium is a precaution and the key is the protection.

ASSESSMENT FOCUS

  • A carrier modulated by one tone transmits three frequencies, the carrier and one sideband each side. Writing one sideband, or four frequencies, is the standard sideband slip.
  • Bandwidth is the full occupied width, 2fM2f_{M} for AM, never fMf_{M}. Halving it is the most common lost mark in the topic.
  • Keep kHz and MHz apart. Convert the audio frequency and the carrier to the same unit before adding or subtracting, and check the sidebands sit close to the carrier, not at it.
  • FM bandwidth needs both terms, 2(Δf+fM)2(\Delta f + f_{M}). Dropping the fMf_{M} is the commonest error here, and it loses the mark.
  • State the sampling rule with its inequality, more than twice the highest signal frequency, and multiply samples per second by bits per sample for any bit-rate mark.
  • Media comparisons score through attenuation and bandwidth, argued in pairs. Fibre: least loss, widest band, immune to interference. Say all three, each against its rival.
  • Each propagation mode needs a frequency band and a mechanism, rather than a range on its own. Ground wave follows the surface below about 2 MHz, sky wave is refracted back by the ionosphere from about 3 to 30 MHz, space wave goes line of sight above 30 MHz.
  • Uplink and downlink differ so that the satellite's own transmitter does not swamp its receiver, and the downlink is the lower of the two because the satellite is the weaker transmitter and low frequencies are attenuated less.
  • Encryption hides the contents, authentication proves the sender and that nothing was altered. A parity bit or checksum finds accidental corruption and is neither of them.

CHECK YOURSELF

A station broadcasts speech limited to 4.0 kHz by AM on a 1.2 MHz carrier. Find the range of frequencies transmitted and the bandwidth. A rival carries the same speech by FM with a deviation of 6.0 kHz. Find the FM bandwidth, and state one advantage each listener holds over the other. Name the propagation mode each transmission relies on, and say why the FM station cannot be heard from another continent.

Show a hint

Convert the carrier to kHz first. AM occupies fc − fM up to fc + fM; FM needs the deviation as well. The carrier frequency determines how the wave travels.

Show the answer

The carrier is 1200 kHz, so the transmission runs from 1196 kHz to 1204 kHz, a bandwidth of 2 × 4.0 = 8.0 kHz.

FM bandwidth = 2 × (6.0 + 4.0) = 20 kHz, two and a half times the spectrum per station.

The FM listener hears less noise, because the receiver clips away amplitude disturbances. The AM listener's station spends far less bandwidth, so more stations fit in the band, and the receiver is simpler and cheaper.

At 1.2 MHz the AM station travels as a ground wave, following the surface, with a sky wave off the ionosphere after dark. FM sits near 100 MHz, so it travels as a space wave.

The ionosphere cannot bend a 100 MHz wave back to the ground, so the FM signal passes straight out through it and the transmission is limited to the horizon.

One modulating tone makes three frequencies, so AM occupies 2fM of spectrum while FM occupies 2(Δf + fM) and shrugs off amplitude noise.

Sample faster than twice the highest frequency, round to a level, send the code: PCM.

Ground wave hugs the surface, sky wave bends back off the ionosphere, space wave goes line of sight and on out to a satellite.

Fibre loses least and ignores interference; anything transmitted can be intercepted, so encryption and authentication have to ride in the data.

WORKBOOK

Printable practice for this topic: original exam-style questions with room to work, and a fully worked answer book. Free to use; please do not redistribute or sell.

17 questions on this topicAnswer them one at a time and mark yourself against the mark scheme.Practise this topic

Or read them with their mark schemes on the data communication questions page.

5 flashcards on this topicDefinitions, off-sheet equations and a spot-the-error card, scheduled by spaced repetition in your browser.Revise with flashcards

WHERE TO GO NEXT

CHECK YOUR PROGRESS

Rate how confident you feel with each objective for this lesson. Ratings are saved in this browser, on this device, unless you sign in.

  • Distinguish baseband from modulated transmission, and say what a carrier achieves.
  • Find sideband frequencies and bandwidth for AM, and bandwidth for FM.
  • Weigh AM against FM on bandwidth, noise and cost.
  • Choose a sampling rate, and follow a signal through pulse-code modulation.
  • Tell ground, sky and space waves apart by frequency, mechanism and range.
  • Explain why a satellite link uses one frequency up and a different one down.
  • Compare time-division with frequency-division multiplexing, and copper, fibre and radio as media.
  • Say what encryption and what authentication each protect, and why a checksum is neither.

Open the full revision checklist to track your progress across the whole unit.