Upload
larissa-wattles
View
267
Download
9
Tags:
Embed Size (px)
Citation preview
MixersTheory and Applications
BITX20 bidirectional SSB transceiver
BITX20 bidirectional SSB transceiver
LO BFO
Mic
Mixer
MixerIF FilterRF Filter
Antenna
Transmit direction shown
Summary of our radio waveforms
Audio Frequency (AF)
Beat Frequency Oscillator (BFO)
Intermediate Frequency stage (IF)
Local Oscillator (LO)
Radio Frequency stage (RF).
The ideal mixer (A reminder)
An ideal mixer multiplies rather than adds waveforms.
In a moment we will look at the electronics of mixers.
If you feed two sine waves at frequencies F and G into a multiplier you just get sine waves at frequencies F+G and F-G and no harmonics.
Lets remind ourselves what these waveforms are like before we look in more detail at real mixers.
The inputs to the ideal mixer
0.002 0.004 0.006 0.008 0.01
-1
-0.5
0.5
1
0.002 0.004 0.006 0.008 0.01
-1
-0.5
0.5
1
2000Hz
2200Hz
The output from the ideal mixer
0.002 0.004 0.006 0.008 0.01
-1
-0.5
0.5
1
200Hz
4200Hz
and
Some maths
Last time we noted that the output waveforms were 90 degree phase shifted sine waves of half the amplitude.
For many purposes this makes no difference. However we will look at this in more detail later in the talk (but avoiding maths).
Sin(f)* Sin(g) = Cos(f-g)/2 – Cos(f+g)/2
A simple unbalanced Mixer
R2
R1
R3
+V
F
G
Out
Diode Characteristic
Current in milliamps
Voltage in volts
1 2 3 4 5
0.62
0.64
0.66
0.68
0.7
Disadvantages of the simple mixer
• No carrier rejection (G)
• No input rejection (F)
• High drive voltage needed on all inputs
• Harmonic distortion on all signals
BITX20 bidirectional SSB transceiver
A diode ring Mixer
GF
Out
Ring Mixer G Positive
GF
Out
+
+
-
Ring Mixer G Negative
GF
Out
-
-
+
Advantages of the ring mixer
• Good carrier rejection
• Good Input rejection
Disadvantages of the ring mixer
• High drive current needed on carrier input
• Harmonic distortion (on carrier input)
• Expensive discrete components
• Needs transformers to work properly
A Double balanced Mixer
R1
R2 R3
+V
0V
Out 1 Out 2
F 1 F 2
G 1 G 2
G input positive on left
R1
R2 R3
+V
0V
Out 1 Out 2
F 1 F 2
+ -
G input positive on Right
R1
R2 R3
+V
0V
Out 1 Out 2
F 1 F 2
- +
Advantages of the double balanced mixer
• Almost linear on each input
• Great carrier and input rejection
• Low drive signals needed.
• Low harmonic distortion on both inputs
• Well suit to IC manufacture
• No transformers
• Cheap (due to IC process)
Real devices: MC1496
Real devices:SA602A
Orthogonality
Two things are orthogonal if changing one doesn’t change the other. In geometry this is a right angle.
For example: Latitude, Longitude and Altitude over sea are orthogonal. Over land they are not.
Sine waves of different frequencies are Orthogonal.
Most other waveforms are not orthogonal.
Orthogonality Example
If you feed sine waves at frequencies F and G into a mixer you get sine waves at frequencies F+G and F-G.
If F=G then you get 2F and DC out
So if you take the DC average of the output you will get zero unless F=G. (Only true for orthogonal waveforms such as sine waves)
So if we use an accurate signal generator for G then the DC value is a measure of the harmonic of F at G
The spectrum analyser
If we vary the frequency of our signal generator G into our mixer then we can measure the strength of the signal F at a range of frequencies. (Just like tuning a radio)
If the signal F that we are measuring is not a pure sine wave then as we tune the generator we will only measure the sine wave component of the signal F at the frequency of our generator G.
So by sweeping G we can measure the spectrum of F
The Fourier transform
Previously we said that when you mix F and G and F=G you will get a DC average. This is only true if F and G are in phase. If F and G are antiphase you get a negative DC value.
However if F and G are 90 degrees apart you will get zero. So you can measure the phase of F by measuring at both 0 and 90 degrees (I and Q).
Note that sine and cosine waves at the same frequency are orthogonal.
The Fourier transform
A Fourier transform is like a spectrum analyser.
Multiply the original waveform by sine waves of each harmonic in turn and take the DC averages. These give you the sine wave harmonics.
Now do the same thing with cosine waves, This gives you the cosine wave harmonics. (90 degrees shifted)
We will see that for a Square wave you get the 1/3, 1/5 1/7 ratios (odd harmonics) we used in the signals talk.
A square wave to be Fourier transformed
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer input G to measure the fundamental
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for the fundamental
0.0005 0.001 0.0015 0.002
0.2
0.4
0.6
0.8
1
Note the strong positive DC average
Mixer output for the 2nd harmonic
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Note the average is zero (even harmonic)
Mixer output for the 3nd harmonic
Note the 4 positive peaks 2 negative. Average is 2/6. This is 1/3 of the fundamental signal
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for the 4th harmonic
Note the average is zero (even harmonic)
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for 5nd harmonic
Note the 6 positive peaks 4 negative. Average is 2/10. This is 1/5 of the fundamental signal
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for the 6th harmonic
Note the average is zero (even harmonic)
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for 7nd harmonic
Note the 8 positive peaks 6 negative. Average is 2/14. This is 1/7 of the fundamental signal
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
But what about the cosine components?
So far we have only looked at the sine wave (in phase) components. We should check if there are any Cosine (90 degree phase shifted) components.
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Note the Cosine is symmetric about the centre
Mixer output for the Fundamental Cosine
Note the average is zero (anti-symmetric about centre)
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for the 2nd Harmonic Cosine
Note the average is zero (anti-symmetric about centre)
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Mixer output for the 3rd Harmonic Cosine
Note the average is zero (anti-symmetric about centre)
0.0005 0.001 0.0015 0.002
-1
-0.5
0.5
1
Summary of the components of a Square wave
We have seen that you do get the 1/3, 1/5 1/7 ratios (odd harmonics) we used in the signals talk.
The even Sine harmonics have equal numbers of plus and minus (half wave) peaks so are zero
Odd Sine harmonics all have two more positive peaks than negative out of a total of double their harmonic number. Hence the 1/3, 1/5, 1/7 etc. ratios.
Cosine harmonics are all anti-symmetric and thus zero
The Inverse Fourier transform
In the signals talk we took the harmonics of a square wave and combined them.
This was an Inverse Fourier transform!
(If done correctly these transforms are reversible and lossless)
We may look at the Fast Fourier transform (FFT) in a later talk. Its just a quicker way of doing Fourier transforms.
Questions?