hambasics:sections:wavemodulationmath
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hambasics:sections:wavemodulationmath [2026/04/01 20:58] – va7fi | hambasics:sections:wavemodulationmath [2026/07/10 10:31] (current) – [FM] va7fi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== More Optional Details ====== | ||
| + | Here are a few more details about the AM, SSB, and FM modulation schemes introduced on the [[wavemodulation |Wave Modulation]] page. | ||
| + | For both AM and FM examples, we'll let: | ||
| + | * \$c(t) = \cos(2 \pi f_c t)\$ be the <fc # | ||
| + | * \$s(t) = \cos(2 \pi f_s t)\$ be the <fc # | ||
| + | |||
| + | {{ am01.png | ||
| + | |||
| + | 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: | ||
| + | |||
| + | \begin{align*} | ||
| + | \Big(s(t)+1\Big) \times c(t) &= \Big(\cos(2 \pi f_s t) + 1\Big) \times \cos(2 \pi f_c t) \\ | ||
| + | & | ||
| + | & | ||
| + | \end{align*} | ||
| + | |||
| + | In line 1, I distributed the bracket, which, in line 2, gave us the carrier (last term) and a product (first term). | ||
| + | |||
| + | \begin{align*} | ||
| + | \cos(A+B) | ||
| + | \cos(A-B) | ||
| + | \end{align*} | ||
| + | |||
| + | Which gives: | ||
| + | |||
| + | \begin{align*} | ||
| + | & | ||
| + | \Rightarrow & | ||
| + | \end{align*} | ||
| + | |||
| + | Use this animation to see what happens when you vary the individual frequencies. | ||
| + | |||
| + | FIXME: animation in wrong place | ||
| + | {{ggb>/ | ||
| + | |||
| + | Some things to try: | ||
| + | * Set <fc # | ||
| + | * Decrease <fc # | ||
| + | |||
| + | ===== Mixer ===== | ||
| + | Later on, we'll see that a //mixer// is an electronic component that multiplies two waves together, resulting in four different frequencies: | ||
| + | * Amplitudes \$A_1\$ and \$A_2\$ | ||
| + | * Frequencies \$f_1\$ and \$f_2\$ | ||
| + | * Phases (horizontal shift) \$\phi_1\$ and \$\phi_2\$ | ||
| + | * DC components (vertical shift) \$c_1\$ and \$c_2\$ | ||
| + | |||
| + | \begin{align*} | ||
| + | \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{align*} | ||
| + | |||
| + | The last line looks like a real mess, but all it says is that the result is: | ||
| + | * A wave with amplitude \$\frac{A_1 A_2}{2}\$, frequency \$f_1 + f_2\$, and phase \$\phi_1 + \phi_2\$ | ||
| + | * A wave with amplitude \$\frac{A_1 A_2}{2}\$, frequency \$f_1 - f_2\$, and phase \$\phi_1 - \phi_2\$ | ||
| + | * A wave with amplitude \$c_2 A_1\$, frequency \$f_1\$, and phase \$\phi_1\$ | ||
| + | * A wave with amplitude \$c_1 A_2\$, frequency \$f_1\$, and phase \$\phi_2\$ | ||
| + | * A DC component of \$c_1 c_2\$ | ||
| + | |||
| + | A mixer is useful to raise or lower the frequency of a signal. | ||
| + | |||
| + | ====== FM ====== | ||
| + | Mathematically, | ||
| + | |||
| + | \$$2\pi f_c \quad \rightarrow \quad 2\pi f_c + 2\pi k s(t)\$$ | ||
| + | |||
| + | * Here, \$f_c\$ 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. | ||
| + | |||
| + | <WRAP round alert box center 80%> | ||
| + | It might be tempting to simply substitute this sum in the wave like so: | ||
| + | |||
| + | \$$ \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: | ||
| + | |||
| + | \$$ \frac{d}{dt}\theta(t) = 2\pi f_c + 2\pi k s(t) \qquad | ||
| + | |||
| + | |||
| + | The frequency modulated transmission is actually given by: | ||
| + | |||
| + | \$$ \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 \pi f_s t)\$, the modulated radio signal becomes: | ||
| + | |||
| + | \begin{align*} | ||
| + | \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) \\ | ||
| + | & | ||
| + | \end{align*} | ||
| + | |||
| + | |||
| + | For more details about FM, see: [[http:// | ||
| + | |||
| + | 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 | ||
| + | {{ggb>/ | ||
| + | |||
| + | |||
| + | Some things to try: | ||
| + | * Set <fc # | ||
| + | * Decrease <fc # | ||
| + | * 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 " | ||
| + | |||
| + | See [[https:// | ||
| + | |||
| + | ====== PM ====== | ||
| + | //Phase Modulation// | ||
| + | * With FM, we saw that modulating the frequency led to \$\cos\Big(2 \pi f_c t + 2\pi k \int_0^{t}s(\tau)d\tau\Big)\$. | ||
| + | * With PM, it leads to \$\cos\Big(2 \pi f_c t + 2\pi k s(t)\Big)\$ | ||
| + | |||
| + | Essentially, | ||
| + | |||
| + | |||
| + | [[..: | ||
