More Details: AM / FM
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) be the radio carrier with frequency fc
- s(t)=cos(2πfst) be the baseband audio signal with frequency fs
With the radio carrier frequency several times greater than the baseband audio signal.
AM
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
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)
Which gives:
cos(A+B)+cos(A−B)=2cos(A)cos(B)⇒cos(A)cos(B)=12cos(A+B)+12cos(A−B)
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.
: animation in wrong place
Some things to try:
- Set fs at 10 and fc at 200 and check only the transmitted signal. You can easily imagine what the envelope (the baseband signal) should be that produced that signal. But...
- Decrease fc 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−f2. 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 A1 and A2
- Frequencies f1 and f2
- Phases (horizontal shift) ϕ1 and ϕ2
- DC components (vertical shift) c1 and c2
(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
The last line looks like a real mess, but all it says is that the result is:
- A wave with amplitude A1A22, frequency f1+f2, and phase ϕ1+ϕ2
- A wave with amplitude A1A22, frequency f1−f2, and phase ϕ1−ϕ2
- A wave with amplitude c2A1, frequency f1, and phase ϕ1
- A wave with amplitude c1A2, frequency f1, and phase ϕ2
- A DC component of c1c2
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.
FM
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)
- Here, fc is the frequency of the carrier, which is a constant (this is important),
- and k 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=0, there is no modulation, and the greater k becomes, the bigger the effect is.
Now, it might be tempting to simply substitute this sum in the wave like so:
cos(2πfct)→cos((2πfc+2πks(t))t)
but that's not quite right because the frequency is derived from the change in angle.
To solve this properly, we need some calculus and deduce the angle from our new frequency:
ddtθ(t)=2πfc+2πks(t)⇒θ(t)=2πfct+2πk∫t0s(τ)dτ
The frequency modulated transmission is actually given by:
cos(2πfct+2πk∫t0s(τ)dτ)
In our particular example, with s(t)=cos(2πfst), the modulated radio signal becomes:
cos(2πfct+2πk∫t0s(τ)dτ)=cos(2πfct+2πk∫t0cos(2πfsτ)dτ)=cos(2πfct+ksin(2πfst))
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.
: animation in wrong place
Some things to try:
- Set fs at 10 and fc 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 fc 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+ϕ), f is the frequency and ϕ 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∫t0s(τ)dτ).
- With PM, it leads to cos(2πfct+2πks(t))
Essentially, with PM, we simply let ϕ vary with the baseband s(t). But the thing to notice is that PM looks a lot like FM. In fact, an FM signal modulated by s(t) is the same as a PM signal modulated by ∫t0s(τ)dτ. In other words, the receiver needs to know if the signal was modulated in FM or PM since both wave forms look similar.