Sunday, February 16, 2025

Mathematical Analysis of a two-tone SSB Signal

Suppose we have an SSB Transmitter tuned to transmit at carrier frequency fc, upper sideband. With an input audio modulating signal of fa, the transmitter generates an output signal of fc+fa. For example if the tuned frequency is 7.0MHz and the audio input is 1kHz, a signal at 7.001MHz is generated.

Similarly, two input audio modulating signals fa with amplitude a, and fb with amplitude b, the transmitter generates a signal comprising two frequencies, one at fc+fa  and another at fc+fb.

The following analysis shows that this 2-frequency output signal can be generated by amplitude-modulating an a single frequency-modulated oscillator. 

The following trigonometric identities are used:

(I): cos(x+y)=cosxcosysinxsiny -- link

(II) xcosθ+ysinθ=ccos(θ+ϕ) where c=sgn(x)(x2+y2), ϕ=arctan(y/x) -- link

(III) sin2x+cos2x=1 -- link

We start with the output signal:

s=acos2π(fc+fa)t+bcos2π(fc+fb)

Define ωc=2πfcωa=2π(fc+fa) and ωb=2π(fc+fb):

s=acosωat+bcosωb

s=acosωat+bcos(ωat+(ωbωa)t)

Applying (I): 

s=acosωat+bcosωatcos(ωbωa)tbsinωatsin(ωbωa)t

Rearranging:

s=(a+bcos(ωbωa)t)cosωatbsinωatsin(ωbωa)t

Applying (II), with x=(a+bcos(ωbωa)t), y=bsin(ωbωa)t:

s=a2+2abcos(ωbωa)t+b2cos2(ωbωa)t+b2sin2(ωbωa)tcos(ωat+tan1bsin(ωbωa)ta+bcos(ωbωa)t)

Applying (III) to simplify the terms under the square root:

s=a2+2abcos(ωbωa)t+b2cos(ωat+tan1bsin(ωbωa)ta+bcos(ωbωa)t)

This complex equation can be better understood by rewriting it as:

s=Acos(ωat+f(t))

where:

  • A=a2+2abcos(ωbωa)t+b2 sets the amplitude of the generated signal, and varies slowly compared to the carrier frequency because ωbωaωc, and
  • f(t)=tan1bsin(ωbωa)ta+bcos(ωbωa)t and varies slowly compared to the ωat term, again because  ωbωaωc.

In other words, combining two input signals results in an output signal with a phase varying around ωat at the difference frequency ωbωa and with amplitude A also varying at the difference frequency.

Confidence that the formula is correctly derived can be gained by testing what happens if either of the modulating signals is removed (by setting it's amplitude term - either a or b - to zero. The formula should "collapse" to a single simple waveform. Indeed this is exactly what happens.

The analysis so far draws on "Frequency Analysis, Modulation and Noise", Standford Goldman, 1948 - p160. I believe what follows is novel.

Phase/Frequency Analysis

The full phase term is: (ωat+tan1bsin(ωbωa)ta+bcos(ωbωa)t).

The frequency at any instant in time is the derivative of this term with respect to time:

f=ddt(ωat+tan1bsin(ωbωa)ta+bcos(ωbωa)t)

f=ωa+ddt(tan1bsin(ωbωa)ta+bcos(ωbωa)t)

Deriving the derivative of this second term is beyond my mathematics skills, but thankfully the Derivative Calculator website will do this for us (click the "Go!" button). Here I have defined m=ωbωa.

The result is gives is: bm(acos(mt)+b)b(2acos(mt)+b)+a2

This formula isn't very informative, apart from showing that the output frequency varies with the difference frequency m=ωbωa. However, very helpfully, Derivative Calculator also interactively plots the input and derivative values for the input values a, b and m. For example:


Experimenting with different values starts to give some slight intuition about how the amplitude values influence the frequency output. For instance, as the two amplitudes approach each other, the frquency variation grows dramatically:

Finally, when the two amplitudes are equal, there's a discontinuity & the "blip" disappears from the graph view - the negative "blip" is still there and corresponds to the negative edge of the input signal, but it's infinitely narrow and doesn't display:

This tendency for the frequency "blip" to grow without bound as one amplitude approaches the other is extremely important phenomena to understand in later analysis. It will also become apparent that this phenomena changes slightly when we move from the continuous domain to the discrete/sampled domain.

Note that the blue waveform might initially look strange when the amplitude is increased further:

The explanation for the discontinuities in the blue input waveform is that it is a phase measurement and has been displayed to wrap every 2π. The red derivative is displayed correctly and does not show any "blips" at these transitions.

Amplitude Analysis

The amplitude term is A=a2+2abcos(ωbωa)t+b2.

Its behaviour can be interactively plotted here.

The most interesting plot is again when a=b:


This is a rectified sine wave, as can be demonstrated by setting a=b=1. The amplitude term simplifies to:

A=1+2cos(ωbωa)t+1

A=(2)1+cos(ωbωa)t

But sgn(cosθ2)1+cosθ2=cosθ2  (see link).

So, ignoring the sign term, the amplitude is the shape of a cosine wave.

A rectified sine wave has high harmonic content (see here or here), which will become relevant in later analysis.

Conclusions

This mathematical analysis has derived some equations for both amplitude and frequency shift that appear to correspond to expectations.

The interactive waveform plots give some intuition on the signal behaviour. In particular, when the two tones approach the same amplitude, the frequency shift approaches a discontinuity and values can become very large, and the amplitude waveform approaches a shape that has high harmonic content.


 





No comments:

Post a Comment