IAE Academy

The whole Communications formula sheet, to print

99 formulas in 5 topics, each with when to use it. Each is explained in the topic notes.

Random processes, power spectral density and noise

Read the notes

MEAN AND VARIANCE OF A RANDOM VARIABLE

Holds for any random variable. is the mean-square value (average power for a signal).

GAUSSIAN DENSITY

Fully described by mean and variance .

GAUSSIAN TAIL PROBABILITY

Convention used in these notes: . Also and .

TIME AVERAGE OF A SAMPLE FUNCTION

For an ergodic process, and .

AUTOCORRELATION OF A WSS PROCESS (REAL)

Depends only on the lag when is WSS. The process is real-valued here.

RANDOM-PHASE SINUSOID

and are constants. A WSS process with zero mean and power . If is uniform over only , the mean depends on and the process is not WSS.

WIENER-KHINCHIN THEOREM

Applies to a WSS process. is two-sided, so it covers negative and positive frequencies.

POWER FROM THE PSD

Integrate over both sides of the spectrum. A nonzero mean contributes an impulse at .

OUTPUT MEAN

is the DC gain.

OUTPUT PSD

Only the magnitude of matters; phase has no effect on the output PSD.

OUTPUT AUTOCORRELATION

The Fourier transform of this is for real .

OUTPUT POWER

Total output mean-square value, including any DC part.

INPUT-OUTPUT CROSS-CORRELATION

Defined as . For the other order, and .

SUM OF TWO PROCESSES

Holds when and are jointly WSS and uncorrelated, with at least one of them zero-mean (for example, a signal plus independent zero-mean noise). Otherwise add the cross terms .

MODULATION BY A RANDOM-PHASE CARRIER

is WSS and is independent of . The output power is .

DIFFERENTIATOR

Follows from .

WHITE NOISE

Samples at different instants are uncorrelated (independent if the noise is also Gaussian). Total power is infinite, so ideal white noise is a model that is used only after some filtering.

WHITE NOISE THROUGH AN IDEAL LOW-PASS OR BAND-PASS FILTER

is the passband gain and is the one-sided bandwidth in Hz (for a low-pass filter, ; for a band-pass filter, total width centred on ).

AUTOCORRELATION OF WHITE NOISE AFTER AN IDEAL LOW-PASS FILTER

Unity gain, passband , . is zero at , , so samples taken apart are uncorrelated (independent if the noise is Gaussian).

NOISE-EQUIVALENT BANDWIDTH

Width of an ideal filter of the same peak gain that passes the same white-noise power: . The peak is at for a low-pass filter and at the centre frequency for a band-pass filter; in Hz.

RC LOW-PASS FILTER WITH WHITE NOISE INPUT

Here with . The output is coloured noise.

THERMAL NOISE OF A RESISTOR

J/K, in kelvin, in Hz. is the open-circuit mean-square voltage of a resistor , and is the power it delivers to a matched load. Thermal noise is Gaussian and is white for frequencies well below (about Hz at 290 K).

NARROWBAND NOISE REPRESENTATION

is zero-mean, WSS and band-pass. and are low-pass, zero-mean and jointly WSS; if is Gaussian, they are jointly Gaussian.

POWERS OF THE COMPONENTS

For white noise through an ideal band-pass filter of width (gain 1): each of the three powers equals .

ENVELOPE AND PHASE OF NARROWBAND GAUSSIAN NOISE

For zero-mean Gaussian narrowband noise with , written as : the envelope is Rayleigh, and the phase is uniform and independent of the envelope. and . If a sinusoid of amplitude is added, the envelope becomes Rician: close to Rayleigh for , and close to Gaussian about for .

Amplitude and angle modulation, receivers and multiplexing

Read the notes

SINGLE-TONE AM WAVE

Carrier plus two sidebands, each of amplitude . Bandwidth (for a general message, where is the highest message frequency).

POWER AND EFFICIENCY (SINGLE TONE)

These power relations hold for any . Without overmodulation () the efficiency is at most , reached at . Each sideband carries . In terms of antenna (load) current, .

MULTI-TONE AM

For a message made of tones of different frequencies, each with its own index . Use in the power and efficiency formulas. The condition is enough to keep the envelope from going negative.

MODULATION INDEX FROM THE WAVEFORM

and are the maximum and minimum of the envelope, for a single tone with . For (overmodulation) the envelope is distorted and an envelope detector fails.

ENVELOPE DETECTOR RC CONDITION

The first condition (with replaced by for a general message) lets the capacitor smooth out the carrier ripple yet follow the envelope. The second is the condition, for a single tone of index , that avoids diagonal clipping (the capacitor discharging slower than the envelope falls).

DSB-SC SIGNAL AND POWER

Power in a load, for a zero-mean message. The spectrum has no carrier component. The envelope is , not , so an envelope detector cannot be used; DSB-SC needs coherent detection.

COHERENT DETECTION WITH ERRORS

DSB-SC input, local carrier of unit amplitude or , followed by a low-pass filter. The output vanishes at (quadrature null effect), and a frequency error gives a beating (fading) output. For SSB, a phase error causes phase distortion of the output, and a frequency error shifts every output tone by . A Costas loop or a squaring loop recovers a synchronous carrier for DSB-SC.

SSB SIGNAL (PHASE-SHIFT FORM)

Upper sign gives USB, lower sign gives LSB. is the Hilbert transform of and has the same power as . Power in a load. Coherent detection with a unit-amplitude local carrier gives .

PM AND FM DEFINITIONS

in rad/V, in Hz/V. Instantaneous frequency: FM ; PM . FM by is PM by , and PM by is FM by .

DEVIATION AND MODULATION INDEX (TONE $A_M\COS 2\PI F_M T$)

In FM, depends only on the amplitude of the message and falls as rises. In PM, depends only on the amplitude and grows with .

SINGLE-TONE FM SPECTRUM

Spectral lines at with amplitudes . The carrier amplitude vanishes at

POWER OF AN FM WAVE

In a load. Total power is independent of ; modulation only redistributes power from the carrier to the sidebands. Power in the carrier plus pairs of sidebands is .

CARSON'S RULE

An approximation; for a single tone it contains roughly 98 percent of the total power. For , (narrowband); for , (wideband). For a general message use , with peak deviation and deviation ratio .

FIGURE OF MERIT (SINGLE TONE, LARGE INPUT SNR)

Coherent detection for DSB-SC and SSB; envelope detection for AM above threshold, with , so its figure of merit is at most ; FM above threshold without pre-emphasis. For a general zero-mean message of power : AM gives and FM gives . FM beats fully modulated () AM when , that is . Above threshold, FM trades bandwidth for noise performance.

PRE-EMPHASIS AND DE-EMPHASIS

The noise at an FM discriminator's output has a PSD proportional to , so high-frequency message components suffer most. The transmitter boosts the high frequencies (pre-emphasis) and the receiver cuts them by the same amount (de-emphasis). The overall response to the message is flat, while the high-frequency noise is reduced. A time constant corresponds to kHz.

IF AND IMAGE FREQUENCY (HIGH-SIDE LO)

is the wanted station frequency. The image station lies at and also mixes down to , causing interference. With a low-side LO (), .

IMAGE REJECTION RATIO

For a single tuned circuit of loaded quality factor at the RF stage. is a voltage ratio; in dB it is . With identical tuned stages before the mixer, their ratios multiply. A larger IF moves the image farther from and improves image rejection; a smaller IF makes adjacent-channel selectivity easier to achieve.

FDM BANDWIDTH

is the guard band between adjacent channels. For identical SSB channels of bandwidth , . For DSB-SC or AM channels each .

TDM SAMPLING AND BIT RATE

channels, each band-limited to and sampled at (the frame rate), at or above the Nyquist rate . The minimum (Nyquist) transmission bandwidth is half the pulse rate: for PAM-TDM and for binary PCM-TDM. Add synchronisation bits per frame if given.

Information theory: entropy, source coding and channel capacity

Read the notes

INFORMATION OF A SYMBOL

Always non-negative; a certain event () carries 0 bits.

ENTROPY OF A DMS

Average information per symbol. Take .

BOUNDS ON ENTROPY

Minimum 0 when one symbol has probability 1; maximum when all symbols are equiprobable.

BINARY ENTROPY FUNCTION

Entropy of a two-symbol source. , symmetric about , .

EXTENDED SOURCE

For the th extension of a DMS (blocks of independent symbols, block symbols).

JOINT AND CONDITIONAL ENTROPY

Chain rule. If and are independent, . The conditional entropy is an average: .

MUTUAL INFORMATION

Symmetric in and ; , with equality exactly when and are independent.

MUTUAL INFORMATION FROM PROBABILITIES

Here and . Terms with contribute 0.

AVERAGE CODE LENGTH

Binary code alphabet.

KRAFT INEQUALITY

A binary prefix code with lengths exists if and only if this holds. Every uniquely decodable binary code also satisfies it, so nothing is gained in length by giving up the prefix property. It tests lengths only; a set of codewords can obey it and still not be prefix-free.

SOURCE CODING THEOREM

The lower bound holds for every uniquely decodable binary code; an optimal binary prefix code (e.g. Huffman) also meets the upper bound. Using the th extension, .

EFFICIENCY AND REDUNDANCY

Binary code. For a code alphabet of symbols, . A binary code with has ; this needs every to be a power of .

CHANNEL CAPACITY

For a channel used times per second, the capacity is bits/s.

BINARY SYMMETRIC CHANNEL (CROSSOVER PROBABILITY P)

Reached with equiprobable inputs. at or , and at .

BSC WITH INPUT P(X=1) = Α

From : for every input, and . The maximum, at , is .

BINARY ERASURE CHANNEL (ERASURE PROBABILITY Ε)

Each bit is either received correctly or marked as erased; reached with equiprobable inputs.

BEC WITH INPUT P(X=1) = Α

From : the input is known unless the bit is erased, so . The maximum, at , is .

DIFFERENTIAL ENTROPY (CONTINUOUS SOURCE)

Unlike discrete entropy, it can be negative. Uniform on an interval of length : . Gaussian with variance : , the largest value for any density with that variance.

SHANNON-HARTLEY LAW

Band-limited AWGN channel of bandwidth Hz. is the average received signal power and is the power ratio (not dB); with two-sided noise PSD .

SNR IN DECIBELS

Convert to a ratio before using in the law: 20 dB means 100, 30 dB means 1000.

INFINITE-BANDWIDTH LIMIT

At fixed signal power , capacity grows with but saturates, because the noise power grows too.

SHANNON LIMIT (CONDITION FOR RELIABLE COMMUNICATION)

is the energy per bit. With and : , which tends to as . Below this, no reliable communication is possible at any positive rate.

BANDWIDTH-SNR TRADE-OFF

For a target rate , a smaller bandwidth needs an exponentially larger SNR; a larger bandwidth allows a lower SNR.

PCM, digital modulation and detection

Read the notes

STEP SIZE

Uniform quantiser with peak-to-peak range and levels.

QUANTISATION NOISE POWER

Error uniform on ; valid when the signal is large compared with and does not overload the quantiser.

SQNR FOR A GENERAL SIGNAL

Here is the average signal power and the quantiser's peak value.

SQNR, FULL-SCALE SINUSOID

Sinusoid of amplitude so and SQNR . Each extra bit adds about 6 dB. For a full-scale uniformly distributed signal () the SQNR is , i.e. dB.

PCM BIT RATE AND MINIMUM BANDWIDTH

Minimum (ideal Nyquist, sinc pulses) baseband bandwidth for binary PCM; with a raised-cosine pulse of roll-off it becomes . The first-null bandwidth of rectangular NRZ pulses is .

Μ-LAW COMPRESSOR

in the standard North American/Japanese system. In the limit , (no compression).

NO SLOPE OVERLOAD (DM)

For this is . If violated, the staircase cannot follow the signal (slope overload).

NYQUIST CRITERION FOR ZERO ISI

Equivalent to (normalised so ). Smallest bandwidth satisfying it: Hz, with , where (ideal, not realisable).

RAISED-COSINE PULSE BANDWIDTH

Baseband (one-sided) bandwidth for symbol rate . is the roll-off factor. At it is the ideal ; at it is .

MAXIMUM ZERO-ISI SYMBOL RATE

For a baseband channel of bandwidth . For a bandpass (double-sideband modulated) channel of bandwidth the limit is .

BANDWIDTH EFFICIENCY (NULL-TO-NULL, PSK AND QAM ONLY)

With a raised-cosine pulse the passband bandwidth is , so . Not for FSK, whose bandwidth also depends on the tone spacing.

MINIMUM TONE SPACING FOR ORTHOGONAL BFSK

The two tones must be orthogonal over one bit interval for the stated error probability to hold.

MATCHED FILTER

Output sampled at . In the frequency domain . The peak SNR depends only on the pulse energy, not its shape. A correlation receiver (multiply by and integrate over ) gives the same output at the sampling instant .

MAP THRESHOLD, TWO LEVELS IN GAUSSIAN NOISE

Sample with and noise under both hypotheses. For antipodal levels , it is . For equal priors the threshold is the midpoint (ML). A less likely moves the threshold toward .

BPSK AND QPSK (GRAY CODED) BIT ERROR PROBABILITY

Here for BPSK. QPSK is two independent BPSK streams on the I and Q carriers, so its per-bit error probability is the same.

COHERENT BFSK

Orthogonal tones, . This needs 3 dB more than BPSK for the same BER.

COHERENT ASK (ON-OFF), AVERAGE EB

Equal priors, threshold midway between the two received levels. Here is the average bit energy: the "1" has energy , the "0" none. If the same formula is written with the energy of the "1", use .

LINK BETWEEN EB/N0 AND SNR

is the received signal power and the noise power in bandwidth . In dB: .

Error detection and correction

Read the notes

CODE RATE

Fraction of transmitted bits that carry message information; for an block code, since .

DETECTION CAPABILITY

A code with minimum distance is guaranteed to detect every pattern of up to bit errors, when it is used for detection only.

CORRECTION CAPABILITY

Guaranteed number of correctable errors when the receiver decodes to the nearest codeword (the spheres of radius around codewords do not overlap).

SIMULTANEOUS CORRECTION AND DETECTION

With this distance the decoder corrects every pattern of up to errors and, at the same time, detects (flags without miscorrecting) every pattern of up to errors. Here is a total number of errors, not extra errors.

ENCODING

Row vector (length ) times gives the codeword (length ), all operations modulo 2.

SYSTEMATIC FORM

Message bits appear unchanged in the first positions of the codeword; is . Over GF(2), .

PARITY-CHECK CONDITION

is . A word is a codeword exactly when every parity check is satisfied.

SYNDROME

means is a valid codeword (no detectable error). A nonzero means an error occurred.

HAMMING (SPHERE-PACKING) BOUND

Any binary code that corrects every pattern of up to errors must satisfy this: the syndromes must label every correctable error pattern, including the no-error pattern. A code that meets it with equality is called perfect.

NUMBER OF PARITY BITS

Smallest that lets data bits be protected against any single error: the check bits must label the error positions plus the no-error case.

HAMMING CODE PARAMETERS

Full-length Hamming code, . Correct one error, or detect two (not both together). Since , it meets the Hamming bound with exactly, so Hamming codes are perfect.

BLOCK DECODING-ERROR PROBABILITY

Probability that a block has more than errors. It is exactly the probability of not decoding the block correctly for a decoder that corrects every pattern of up to errors and no other (for example a Hamming code, ); for a decoder that also corrects some heavier patterns it is an upper bound.

UNDETECTED-ERROR PROBABILITY

For a linear code used for detection only: an error goes undetected exactly when the error pattern is itself a nonzero codeword. is the number of codewords of weight .

CRC COMPUTATION

Append zeros to the message, divide by using XOR (no borrow), and the remainder replaces the zeros. The transmitted word is exactly divisible by .