mixers theory and applications. bitx20 bidirectional ssb transceiver

44
Mixers Theory and Applications

Upload: larissa-wattles

Post on 16-Dec-2015

266 views

Category:

Documents


9 download

TRANSCRIPT

Page 1: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

MixersTheory and Applications

Page 2: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

BITX20 bidirectional SSB transceiver

Page 3: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

BITX20 bidirectional SSB transceiver

LO BFO

Mic

Mixer

MixerIF FilterRF Filter

Antenna

Transmit direction shown

Page 4: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Summary of our radio waveforms

Audio Frequency (AF)

Beat Frequency Oscillator (BFO)

Intermediate Frequency stage (IF)

Local Oscillator (LO)

Radio Frequency stage (RF).

Page 5: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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.

Page 6: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 7: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 8: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 9: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

A simple unbalanced Mixer

R2

R1

R3

+V

F

G

Out

Page 10: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Diode Characteristic

Current in milliamps

Voltage in volts

1 2 3 4 5

0.62

0.64

0.66

0.68

0.7

Page 11: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 12: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

BITX20 bidirectional SSB transceiver

Page 13: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

A diode ring Mixer

GF

Out

Page 14: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Ring Mixer G Positive

GF

Out

+

+

-

Page 15: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Ring Mixer G Negative

GF

Out

-

-

+

Page 16: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Advantages of the ring mixer

• Good carrier rejection

• Good Input rejection

Page 17: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 18: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

A Double balanced Mixer

R1

R2 R3

+V

0V

Out 1 Out 2

F 1 F 2

G 1 G 2

Page 19: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

G input positive on left

R1

R2 R3

+V

0V

Out 1 Out 2

F 1 F 2

+ -

Page 20: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

G input positive on Right

R1

R2 R3

+V

0V

Out 1 Out 2

F 1 F 2

- +

Page 21: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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)

Page 22: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Real devices: MC1496

Page 23: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Real devices:SA602A

Page 24: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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.

Page 25: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 26: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 27: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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.

Page 28: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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.

Page 29: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

A square wave to be Fourier transformed

0.0005 0.001 0.0015 0.002

-1

-0.5

0.5

1

Page 30: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Mixer input G to measure the fundamental

0.0005 0.001 0.0015 0.002

-1

-0.5

0.5

1

Page 31: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 32: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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)

Page 33: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 34: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 35: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 36: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 37: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 38: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 39: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 40: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 41: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 42: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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

Page 43: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

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.

Page 44: Mixers Theory and Applications. BITX20 bidirectional SSB transceiver

Questions?