RF intermodulation products
How a nonlinear shared RF amplifier mixes vision, chroma and sound into an unwanted in-band signal, seen here as a fine brightness pattern on PAL colour bars.
Visible effect
A new frequency rides on flat colour
Start with the colour bars. Look inside the red and magenta regions: a fine brightness pattern rides over the otherwise flat colour. Turn down the sound carrier and the pattern disappears. Switch to the grey ramp and it disappears there too. Both observations matter: this particular interference needs vision, chroma and sound in the same nonlinear stage.
The amplifier has created a frequency that was absent at its input. Once that product falls inside the picture band, the receiver can recover it as unwanted brightness detail. Its spacing follows carrier frequencies and scan timing; it is not a texture painted over the image.
The experiment isolates one third-order product in a PAL B/G teaching model. Other products can produce different interference, and the complete amplifier also changes gain. The selected brightness pattern is evidence for this particular mixing path, not a universal appearance of every RF overload.
Physics
The amplifier multiplies signals that should stay separate
A linear radio-frequency (RF) amplifier scales its input. A nonlinear transfer also contains powers of that input. When several signals enter together, those powers contain products between them: intermodulation. The output gains sum-and-difference frequencies as well as changes to the original components. Third-order intermodulation is abbreviated IM3.
This page chooses a shared amplifier that carries vision and sound together. In a transmitter with separate vision and sound power stages and a linear output combiner, this particular mixing path is absent from those stages. The same mechanism can occur in a later nonlinear distribution amplifier, but the model here assigns it to the transmitter’s RF power stage.
1 · Three components enter one amplifier
Vision, one upper chroma component and sound share a nonlinear RF stage. Frequencies are offsets from vision. The line heights are schematic.
2 · Cubic mixing adds an in-band line
The term fᵥ + (fᵥ + fₛ) − (fᵥ + f꜀) lands at fᵥ + 1.06638125 MHz. Here fₛ and f꜀ are offsets. It sits inside the picture band, so an output filter cannot reject it without also removing wanted frequencies there.
3 · Recovery turns the line into brightness
One active line contains about 55.45 beat cycles. Solid and dotted traces are adjacent lines of the same colour patch, computed from the model; their vertical scale is enlarged here.
4 · Remove an ingredient
No sound in this stage means no selected three-component product. Other nonlinear products and gain compression can remain; a grey patch removes this path by supplying no chroma.
For the selected PAL B/G case, sound sits 5.5 MHz above the vision carrier. The upper colour sideband is centred 4.43361875 MHz above vision. A cubic cross term involving vision, sound and conjugated upper chroma produces a line 1.06638125 MHz above vision. “Conjugated” reverses a complex component’s phase, turning addition into frequency subtraction. The receiver’s coherent vision detector shifts this line down to a brightness oscillation at that difference frequency.
PAL names the colour encoding; B/G identifies the broadcast systems whose carrier spacing is used here. Other systems can give a different beat frequency. See analogue television colour systems for the regional distinctions.
Coherent detection compares the signal with a synchronized vision-carrier reference and keeps the low-frequency result. This experiment selects only the upper IM3 component before detection and holds receiver gain fixed. The polynomial also generates a companion below vision; a real vestigial-sideband (VSB) receiver may pass part of it, changing the brightness error. Rejecting that companion is an idealisation, not a prediction of a complete receiver.
An output filter cannot selectively remove an interference product at a frequency also occupied by wanted picture information. PAL colour averaging does not cancel an interference term recovered in the luma path.
Follow the analogue television signal path for composite encoding and recovery. Unlike overmodulation, this demonstration creates a new in-band frequency without requiring the requested vision envelope to cross zero. Gain compression changes original components; intermodulation creates additional ones. A nonlinear amplifier may do both.
The vision-modulation and VSB explanation derives coherent recovery and the contributions of the two sidebands. It supplies the nominal reference for the deliberately selected single interference component on this page.
Mathematics
Keep the cross term that enters the picture band
Let’s work relative to vision frequency fᵥ, rather than oscillating at the full RF frequency. A complex envelope z stores amplitude and phase in two real coordinates. Multiplying it by the vision carrier and taking the real part gives the RF waveform. The imaginary unit i obeys i² = −1; e to an imaginary angle describes a rotating component.
A is local vision-carrier amplitude, C is the complex upper-chroma amplitude and S is sound-carrier amplitude. These amplitudes are dimensionless, normalized to the input black-vision carrier in a common load, so power ratios are squared amplitude ratios. f꜀ and fₛ are frequency offsets from vision, in hertz. ψ is initial sound phase relative to chroma, in radians. The real cubic coefficient introduces amplitude nonlinearity without amplitude-dependent phase shift. Drive d scales all three input components. The constant 0.08 is an illustrative coefficient; it is not a measured transistor characteristic, power rating or broadcast tolerance.
The cubic term |z|²z is z·z·z*. The asterisk means complex conjugation. To obtain sound-minus-chroma frequency, choose sound from one z, vision from the other, and chroma from z*. The two choices of which z supplies sound give the factor two. We leave the initial phase ψ in the rotating factor ei[2π(fₛ−f꜀)t+ψ]; B below is its coefficient:
B is a complex amplitude, not a power. Its magnitude grows as d³ before normalization. Relative to an input carrier, which grows as d, the unwanted amplitude grows as d². Halving drive therefore quarters the normalized interference. Sound power ratio p is measured against the input vision carrier for black; S = √p, so quartering sound power halves this product’s amplitude.
For encoded RGB, use Y = 0.299R + 0.587G + 0.114B, U = 0.493(B − Y), V = 0.877(R − Y). These are gamma-coded video coordinates, not linear-light luminance. Let modulation depth m = 0.8, A = 1 − mY, and C = −m(U − isₙV)/2, where PAL sign sₙ = (−1)ⁿ. The division by two selects the upper sideband of the real quadrature chroma waveform. The lower sideband and VSB filter response are omitted in this teaching reduction.
Ideal coherent detection takes the real part of the selected product; negative vision AM then maps it back to video by −1/(dm). We hold all other amplifier terms at their clean values. Substitution gives the actual image equation:
x runs left to right from 0 to 1; n is a source scan row increasing downward. The line period TH is 64 µs, and active duration TA is a rounded 52 µs teaching window. A source image represents 288 active rows of one field. Phase zero is assigned to its first active pixel; ψ absorbs the omitted blanking offset. The 1.06638125 MHz difference produces about 55.45 cycles across that window. We keep carrier phase continuous between rows while reversing PAL’s V sign.
Finally add ΔY equally to R, G and B. Equal increments change encoded luma while preserving U and V before clipping. This is the isolated brightness contribution after ideal recovery. It does not reconstruct the complete distorted composite waveform.
Shader
Evaluate the recovered product at the scan position
The shared function takes encoded RGB, source x, integer source row, relative drive, sound-to-black-vision input power ratio and initial beat phase in degrees. It returns unclipped encoded RGB. The runtime obtains x and row before centred aspect-fill cropping, executes one texture read, calls the function, blends Effect mix and lets the framebuffer clip to display range.
// WHAT: Add the fine brightness pattern from one PAL B/G RF mixing product.
// HOW: Extract local colour components, derive the cubic IM3 coefficient,
// and coherently recover its real part at the current scan time.
// WHY: The product needs vision, upper chroma and sound in one nonlinear stage;
// its frequency and amplitude follow those signals, not an overlay texture.
// Input: encoded RGB, source x in [0,1], integer source row increasing downward,
// relative RF drive [0,1.5], sound/black-vision input power ratio [0,0.2],
// and an initial sound-minus-chroma phase in degrees. Output is unclipped RGB.
// Gain compression and every other cubic product are deliberately excluded.
vec3 applyRfIntermodulation(
vec3 encodedRgb,
float sourceX,
float sourceRow,
float drive,
float soundPower,
float phaseDegrees
) {
float luma = dot(encodedRgb, vec3(0.299, 0.587, 0.114));
float u = 0.493 * (encodedRgb.b - luma);
float v = 0.877 * (encodedRgb.r - luma);
float lineSign = mod(sourceRow, 2.0) < 1.0 ? 1.0 : -1.0;
// Rounded active window, exact nominal line period and carrier difference.
// Time belongs to the original source raster, before aspect-fill cropping.
float scanSeconds = sourceRow * 64e-6 + sourceX * 52e-6;
float cycles = fract(1066381.25 * scanSeconds + phaseDegrees / 360.0);
float phase = 6.28318530718 * cycles;
// z_out = drive * (z - q * |z|^2 * z), q = 0.08 * drive^2.
// Selected coefficient: -2 * drive * q * A * S * conjugate(C).
// A = 1 - 0.8*Y; C = -0.8*(U - i*lineSign*V)/2; S = sqrt(soundPower).
// Negative-AM coherent recovery is -real(IM3)/(0.8*drive).
// The drive cancels; this continuous expression also handles drive = 0.
float visionAmplitude = 1.0 - 0.8 * luma;
float deltaLuma = -0.08 * drive * drive * visionAmplitude * sqrt(soundPower)
* (u * cos(phase) - lineSign * v * sin(phase));
// Equal increments change encoded luma while preserving U and V.
return encodedRgb + vec3(deltaLuma);
}- Source textureGamma-coded video
- Cubic vision/chroma/sound productOne fullscreen pass · one texture read per pixel
- Read encoded RGB and source scan position
- Extract luma and PAL colour differences
- Derive the selected cubic IM3 coefficient
- Evaluate coherent brightness recovery at scan time
- Add equal RGB brightness increments
- Mix and display with RGB clipping
- Display output
- Separate luma from colour differences. Neutral patches supply no C, so they cannot generate this selected product.
- Convert horizontal position and row number into seconds. Do not derive the beat spacing from canvas pixels.
- Wrap accumulated cycles before trigonometry to keep the shader’s single-precision phase accurate.
- Use √p for sound amplitude. Multiplying by power directly gives the wrong scaling.
- Apply the PAL V sign and recover only the chosen IM3 term. Preserve unclipped colour differences by adding the same ΔY to all channels.
The diagnostic evaluates the same coefficient for one fixed colour patch. It plots selected input/output lines of the cubic envelope, including changes at original frequencies. Its brightness waveform uses only B, exactly as the image does. The model tests independently sample the nonlinear envelope and extract the coefficient by complex correlation.
Notes
- This is a local upper-sideband approximation with an isolated cubic product. The same polynomial also creates a companion at fᵥ − (fₛ − f꜀); a real VSB receiver can admit part of it, changing the recovered beat amplitude. This experiment rejects that companion. It also omits the lower input chroma sideband, full VSB shaping, other mixing products, gain compression in the image, amplifier memory, thermal response, phase nonlinearity, noise, receiver filters and loop dynamics. The complete cubic spectrum has more lines than the four shown.
- The polynomial is used only over the stated control ranges, not as a saturation curve or a calibrated RF amplifier. Strong settings exaggerate visibility; they do not establish a safe operating level. No coefficient is inferred from a device’s intercept point.
- Zero drive is the continuous normalized linear limit in the image. The absolute RF output is zero there, so the spectrum correctly contains no lines and no defined dB ratios. It does not claim that a receiver can recover a picture from zero transmitted power.
- No sound removes this selected product, not every possible nonlinear distortion. Likewise, the grey-ramp invariant belongs to this chroma-dependent path; a physical amplifier can still distort a monochrome signal.
- Sound is an unmodulated carrier in the model. Frequency-modulated audio would spread or move the interference phase; no audio waveform, dual sound or digital sound is simulated.
- The phase control selects a static initial phase. The demo does not simulate field-to-field carrier evolution, interlace or full PAL frame sequencing. Media playback changes the source but not that phase snapshot.
- Rapid row changes and fine horizontal structure can alias when a field is shrunk to a small canvas. The mathematical waveform gives the reference; inspect colour bars at a larger viewport for image detail.
- Local colour is treated as constant during carrier mixing. Real spatial transitions have sideband width and receiver filtering. Results on photographs are illustrative extensions of the colour-patch model.
- The receiver removes linear gain and retains only this product’s luma contribution. Display clipping can alter colour differences near gamut limits. Effect mix is a comparison blend, not an amplifier parameter; only the shown brightness waveform includes it.
References
Analog Devices — IP3 and Intermodulation Guide — derives frequency mixing from polynomial nonlinearities and explains third-order product scaling; the complex-envelope coefficient and selected three-component product are derived in this article.
Rohde & Schwarz — Quality Measurements on Digital and Analog TV Transmitters, §5.1 — connects RF power-amplifier nonlinearity with unwanted spectral components and incorrect analogue luminance/chrominance; the demo does not claim a measured amplifier characteristic.
ITU-R BT.470-6 — Conventional Television Systems, Tables 1, 2 and 3 — defines the selected PAL B/G line timing, colour frequency, negative vision modulation and 5.5 MHz vision/sound spacing; the simplified sideband amplitudes and receiver are declared teaching assumptions.