Amplitude Modulation vs Ringmodulation¶
Both amplitude modulation and ringmodulation are based on the multiplication of two signals - a carrier c and a modulator x. The basic formula is the same for both:
y(t)=x(t)⋅c(t)
However, the carrier signals are different:
For ringmodulation both the carrier and the modulator are symmetric (bipolar):
y(t)=sin[2πfct]⋅(sin[2πfmt])
For amplitude modulation, the carrier ist asymmetric (unipolar):
y(t)=(1+msin[2πfct])⋅(sin[2πfmt])
This differnce has an influence on the resulting spectrum and on the sound, as the following examples show.
AM Spectrum¶
In the discrete time case, the spectrum for amplitude modulation can be calculated as follows:
Y[k]=DFT(y[n])
The modulation index is set to m=1:
Y[k]=N−1∑n=0y[n]⋅e−j2πknN=N−1∑n=0sin(2πfcnfm)⋅(1+sin[2πfmnfm])⋅e−j2πknN\hspace{80pt} Use: sin(a)⋅sin(b)=0.5(cos(a−b)−cos(a+b)=N−1∑n=0(sin(2πfcnfm)+0.5(cos(2π(fc−fm)nfm)−cos(2π(f1+fm)nfm)))⋅e−j2πknN\hspace{40pt} Sines/cosines appear as δ-peaks at the relevant frequency bin.=δ[fc]+0.5δ[fc−fm]+0.5 δ[fc+fm]
AM creates a spectrum with a peak at the carrier frequency and two additional peaks - one below and one above the carrier. Their position is defined by the difference between carrier and modulator. For a modulation index of m=1, the sidebands have half the carrier's amplitude.
The following example shows an AM signal with a carrier frequency fc=10Hz and a modulator frequency of fm=200Hz.
Ringmodulator Spectrum¶
The spectrum of a ringmodulator is calculated in the continous time domain for this example.
F[y(t)]=inf∫−infy(t)e−j2πftdt=inf∫−inf(sin(2πfct)⋅sin(2πfmt))e−j2πftdtUse Euler to get complex representation:=12jinf∫−inf((−e−j2πfct+ej2πfct)(−e−j2πfmt+ej2πfmt)) e−j2πftdt=12jinf∫−inf(ej2π(fc+fm)t−ej2π(fc−fm)t−ej2π(−fc+fm)t+ej2π(−fc−fm)t)e−j2πftdtEach exponential represents a peak in the spectrum (including positive and negative):=12j[δ(fc+fm)−δ(fc−fm)−δ(−fc+fm)+δ(−fc−fm)]
Ringmodulation creates a spectrum with two peaks - one below and one above the carrier frequency. Their position is defined by the difference between carrier and modulator. The carrier is supressed, since it is a bipolar signal.