Amateur radio basics

More Optional Details

More Optional Details

Here are a few more details about the AM, SSB, and FM modulation schemes introduced on the Wave Modulation page.

For both AM and FM examples, we’ll let:

  • c(t)=cos⁡(2πfct)c(t) = \cos(2 \pi f_c t) be the radio carrier with frequency fcf_c

  • s(t)=cos⁡(2πfst)s(t) = \cos(2 \pi f_s t) be the baseband audio signal with frequency fsf_s

Illustration: More Optional Details

With the radio carrier frequency several times greater than the baseband audio signal.

Open interactive diagram

The resulting Amplitude Modulated radio wave is the product of the vertically shifted baseband signal and the radio carrier, which is also equal to the sum of the carrier and the two side bands:

(s(t)+1)×c(t)=(cos⁡(2πfst)+1)×cos⁡(2πfct)=cos⁡(2πfst)cos⁡(2πfct)+cos⁡(2πfct)=12cos⁡(2π(fc+fs)t)⏟USB+12cos⁡(2π(fc−fs)t)⏟LSB+cos⁡(2πfct)⏟Carrier\begin{aligned} \Big(s(t)+1\Big) \times c(t) &= \Big(\cos(2 \pi f_s t) + 1\Big) \times \cos(2 \pi f_c t) \\ &= \cos(2 \pi f_s t)\cos(2 \pi f_c t) + \cos(2 \pi f_c t)\\ &= \underbrace{\frac{1}{2} \cos\Big(2 \pi (f_c + f_s) t\Big)}_\text{USB} + \underbrace{\frac{1}{2} \cos\Big(2 \pi (f_c - f_s) t\Big)}_\text{LSB} + \underbrace{\cos(2 \pi f_c t)}_\text{Carrier} \end{aligned}

In line 1, I distributed the bracket, which, in line 2, gave us the carrier (last term) and a product (first term). To expend this product into the sum of the two side bands (line 3), I added these two trig identities together:

cos⁡(A+B)=cos⁡(A)cos⁡(B)−sin⁡(A)sin⁡(B)cos⁡(A−B)=cos⁡(A)cos⁡(B)+sin⁡(A)sin⁡(B)\begin{aligned} \cos(A+B) =& \cos(A)\cos(B) - \sin(A)\sin(B) \\ \cos(A-B) =& \cos(A)\cos(B) + \sin(A)\sin(B) \end{aligned}

Which gives:

cos⁡(A+B)+cos⁡(A−B)=2cos⁡(A)cos⁡(B)⇒cos⁡(A)cos⁡(B)=12cos⁡(A+B)+12cos⁡(A−B)\begin{aligned} &\cos(A+B) + \cos(A-B) = 2 \cos(A)\cos(B) \\ \Rightarrow &\cos(A)\cos(B) = \frac{1}{2}\cos(A+B) + \frac{1}{2}\cos(A-B) \end{aligned}

Use this animation to see what happens when you vary the individual frequencies. You can use the check boxes to show or hide different waves.

FIXME: animation in wrong place

Open interactive diagram

Download am.ggb

Some things to try:

  • Set fsf_s at 10 and fcf_c at 200 and check only the transmitted signal. You can easily imagine what the envelope should be, which is what the baseband signal is. But…

  • Decrease fcf_c slowly. At some point (around 20 or 30) the baseband signal becomes unrecoverable. This illustrates the point that to transmit a high frequency baseband, a higher frequency carrier is needed (at least 3 to 4 times the frequency of the baseband signal. This is why with digital signals, the higher the transfer speed, the higher the carrier frequency needs to be.

Mixer

Later on, we’ll see that a mixer is an electronic component that multiplies two waves together, resulting in four different frequencies: f1,f2,f1+f2, and f1−f2f_1, f_2, f_1+f_2, \text{ and } f_1 - f_2. Although it’s not modulation, the math is very similar to the way AM is created, so this is a good place to have a look at it. So let’s multiply two very general waves with the following properties:

  • Amplitudes A1A_1 and A2A_2

  • Frequencies f1f_1 and f2f_2

  • Phases (horizontal shift) ϕ1\phi_1 and ϕ2\phi_2

  • DC components (vertical shift) c1c_1 and c2c_2

(A1cos⁡(2πf1t+ϕ1)+c1)×(A2cos⁡(2πf2t+ϕ2)+c2)=A1A2cos⁡(2πf1t+ϕ1)cos⁡(2πf2t+ϕ2)+c2A1cos⁡(2πf1t+ϕ1)+c1A2cos⁡(2πf2t+ϕ2)+c1c2=A1A22cos⁡(2π(f1+f2)t+(ϕ1+ϕ2))+A1A22cos⁡(2π(f1−f2)t+(ϕ1−ϕ2))+c2A1cos⁡(2πf1t+ϕ1)+c1A2cos⁡(2πf2t+ϕ2)+c1c2\begin{aligned} \Big( A_1 \cos(2 \pi f_1 t + \phi_1) + c_1 \Big) \times & \Big( A_2 \cos(2 \pi f_2 t + \phi_2) + c_2 \Big) \\ \\ = & A_1 A_2 \cos(2 \pi f_1 t + \phi_1) \cos(2 \pi f_2 t + \phi_2 ) \\ & + c_2 A_1 \cos(2 \pi f_1 t + \phi_1 ) + c_1 A_2 \cos(2 \pi f_2 t + \phi_2) + c_1 c_2 \\ \\ = & \frac{A_1 A_2}{2} \cos(2 \pi (f_1+f_2) t + (\phi_1+\phi_2)) + \frac{A_1 A_2}{2} \cos(2 \pi (f_1-f_2) t + (\phi_1-\phi_2)) \\ & + c_2 A_1 \cos(2 \pi f_1 t + \phi_1 ) + c_1 A_2 \cos(2 \pi f_2 t + \phi_2) + c_1 c_2 \end{aligned}

The last line looks like a real mess, but all it says is that the result is:

  • A wave with amplitude A1A22\frac{A_1 A_2}{2}, frequency f1+f2f_1 + f_2, and phase ϕ1+ϕ2\phi_1 + \phi_2

  • A wave with amplitude A1A22\frac{A_1 A_2}{2}, frequency f1−f2f_1 - f_2, and phase ϕ1−ϕ2\phi_1 - \phi_2

  • A wave with amplitude c2A1c_2 A_1, frequency f1f_1, and phase ϕ1\phi_1

  • A wave with amplitude c1A2c_1 A_2, frequency f1f_1, and phase ϕ2\phi_2

  • A DC component of c1c2c_1 c_2

A mixer is useful to raise or lower the frequency of a signal. For example, if a signal at 13 Mhz is mixed with a local oscillator signal at 14 MHz, two new signals will be produced (in addition to the original two): one at 1 Mhz and the other at 27 Mhz. If we want the higher one, we can put the result through a high pass filter, which will discard the unwanted signals.

Open interactive diagram

Mathematically, FM is less intuitive and more complicated than AM to understand. The first step is to modulate the frequency by adding a scaled baseband function to it:

2πfc→2πfc+2πks(t)2\pi f_c \quad \rightarrow \quad 2\pi f_c + 2\pi k s(t)
  • Here, fcf_c is the frequency of the carrier, which is a constant (this is important),

  • and kk is a scaling factor we can use to decide how much of a variation we allow the baseband signal to impart on the carrier frequency. When k=0k = 0, there is no modulation, and the greater kk becomes, the bigger the effect is.

It might be tempting to simply substitute this sum in the wave like so:

cos⁡(2πfct)→cos⁡((2πfc+2πks(t))t)\cos(2\pi f_c t) \quad \rightarrow \quad \cos\Big(\big(2\pi f_c + 2\pi k s(t)\big) t\Big)

but that’s not quite right because the frequency is derived from the change in angle.

To solve this properly, we need some calculus to deduce the angle from our new frequency:

ddtθ(t)=2πfc+2πks(t)⇒θ(t)=2πfct+2πk∫0ts(τ)dτ\frac{d}{dt}\theta(t) = 2\pi f_c + 2\pi k s(t) \qquad \Rightarrow \qquad \theta(t) = 2\pi f_c t + 2\pi k \int_0^{t}s(\tau) d\tau

The frequency modulated transmission is actually given by:

cos⁡(2πfct+2πk∫0ts(τ)dτ)\cos\Big(2\pi f_c t + 2\pi k \int_0^{t}s(\tau) d\tau\Big)

In our particular example, with s(t)=cos⁡(2πfst)s(t) = \cos(2 \pi f_s t), the modulated radio signal becomes:

cos⁡(2πfct+2πk∫0ts(τ)dτ)=cos⁡(2πfct+2πk∫0tcos⁡(2πfsτ)dτ)=cos⁡(2πfct+ksin⁡(2πfst))\begin{aligned} \cos\Big(2 \pi f_c t + 2\pi k \int_0^{t}s(\tau)d\tau\Big) &= \cos\Big(2 \pi f_c t + 2\pi k \int_0^{t}\cos(2 \pi f_s \tau)d\tau\Big) \\ &= \cos\Big(2 \pi f_c t + k \sin(2 \pi f_s t)\Big) \end{aligned}

For more details about FM, see: http://www.ece.umd.edu/~tretter/commlab/c6713slides/ch8.pdf

Use this animation to see what happens when you vary the individual frequencies. You can use the check boxes to show or hide different waves.

FIXME: animation in wrong place

Open interactive diagram

Download fm.ggb

Some things to try:

  • Set fsf_s at 10 and fcf_c at 200 and check only the transmitted signal. Notice how when the baseband is high, the transmitted wave is “tight” (ie, its frequency is high), and vise-versa. But…

  • Decrease fcf_c slowly. At some point (around 20 or 30) that pattern becomes unnoticeable. Again, this illustrates the point that to transmit a high frequency baseband, a higher frequency carrier is needed (at least 3 to 4 times the frequency of the baseband signal). This is why with digital signals, the higher the transfer speed, the higher the carrier frequency needs to be.

  • Increase and decrease k to see the effect it has on the transmitted wave. The greater k, the more bandwidth the resulting signal uses. This dictates the difference between “Narrow Band FM” and “Wide Band FM”.

See https://electronicspost.com/narrow-band-fm-wide-band-fm/

PM

Phase Modulation is not usually discussed in ham radio courses, but after understanding FM, we pretty much get PM for free… Recall that for the wave cos⁡(2πf+ϕ)\cos(2\pi f + \phi), ff is the frequency and ϕ\phi is the phase shift. For a pure tone, both of these are constant.

  • With FM, we saw that modulating the frequency led to cos⁡(2πfct+2πk∫0ts(τ)dτ)\cos\Big(2 \pi f_c t + 2\pi k \int_0^{t}s(\tau)d\tau\Big).

  • With PM, it leads to cos⁡(2πfct+2πks(t))\cos\Big(2 \pi f_c t + 2\pi k s(t)\Big)

Essentially, with PM, we simply let ϕ\phi vary with the baseband s(t)s(t). But the thing to notice is that PM looks a lot like FM. In fact, an FM signal modulated by s(t)s(t) is the same as a PM signal modulated by ∫0ts(τ)dτ\int_0^{t}s(\tau)d\tau. In other words, the receiver needs to know if the signal was modulated in FM or PM since both wave forms look similar.

Illustration: PMOpen full-size image Illustration: PMOpen full-size image