Integrated Circuits and Systems group, IIT Madras

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

courses:el3203_2014:mixer [2014/02/06 04:21]
courses:el3203_2014:mixer [2014/02/06 04:21] (current)
Line 1: Line 1:
 +====== Mixer ======
 +===== Goals =====
 +  * Understand the operation of a mixer used for frequency conversion
 +  * Design and build a single balanced mixer
  
 +===== Principle =====
 +  * A mixer is used for frequency conversion. For example, it is used in radio receivers to convert incoming signals at a high frequency to a lower intermediate frequency. And, in transmitters,​ it is used to convert low frequencies such as voice to high carrier frequencies.
 +  * A linear time invariant network cannot generate new frequencies. For frequency conversion, one needs nonlinearity or time variance. The mixer you'll build here is of the latter variety-i.e. its input signal will experience a time varying gain(controlled by another signal). In this respect, it'll be different from circuits you have studied so far, most of which have been linear and time invariant. Be sure to go through the description and this lecture before the experiment.
 +  * A message signal v<​sub>​RF</​sub>​(t) has to be shifted in frequency by an amount f<​sub>​LO</​sub>​ while retaining its spectral shape. i.e. V<​sub>​RF</​sub>​(f) has to be turned into V<​sub>​RF</​sub>​(f±f<​sub>​LO</​sub>​). Frequency conversion is accomplished by the mathematical operation v<​sub>​out</​sub>​ = k*v<​sub>​RF</​sub>​*v<​sub>​LO</​sub>​ where v<​sub>​LO</​sub>​ is a sinusoid of frequency f<​sub>​LO</​sub>​. Of the two components at f±f<​sub>​LO</​sub>,​ one of them can be selected using a filter to attenuate the other. (The terms v<​sub>​RF</​sub>​ and v<​sub>​LO</​sub>​ are carried over from radios where they stand for radio frequency input and local oscillator signal respectively)
 +  * For practical reasons, switching mixers are used instead of multipliers. i.e. v<​sub>​LO</​sub>​ is a square wave of frequency f<​sub>​LO</​sub>​ instead of a sinusoid. These are described by v<​sub>​out</​sub>​ = k*v<​sub>​RF</​sub>​*sgn(v<​sub>​LO</​sub>​) where sgn() denotes the signum function. sgn(v<​sub>​LO</​sub>​) where v<​sub>​LO</​sub>​ is a sinusoid at f<​sub>​LO</​sub>​ contains odd harmonics n*f<​sub>​LO</​sub>,​ n=1,3,5,... In this case, V<​sub>​RF</​sub>​(f) is turned into V<​sub>​RF</​sub>​(f±n*f<​sub>​LO</​sub>​),​ n=1,3,5,... As before, the desired component can be selected using a filter to attenuate all but one of them. 
 +  * The figure below shows a mixer. The combination of Q<​sub>​0</​sub>​ and R<​sub>​E</​sub>​ converts the input signal v<​sub>​RF</​sub>​ to a signal current i<​sub>​RF</​sub>​ riding on a bias current I<​sub>​bias</​sub>​. The differential pair Q<​sub>​1,​2</​sub>​ is driven by v<​sub>​LO</​sub>​ which is a square wave or a sufficiently high amplitude sinusoid such that only one of Q<​sub>​1,​2</​sub>​ is completely on at a given time and the other is switched off. The current I<​sub>​bias</​sub>​+i<​sub>​RF</​sub>​ is steered to the two load resistors alternately. Consequently,​ the voltage at the collector will be a certain bias voltage plus k*(I<​sub>​bias</​sub>​+i<​sub>​RF</​sub>​)*sgn(v<​sub>​LO</​sub>​). ​
 +  * One deviation of this circuit from the description in the previous paragraphs is the presence of I<​sub>​bias</​sub>​ in addition to i<​sub>​RF</​sub>​. Therefore, if v<​sub>​RF</​sub>​=0(i.e. i<​sub>​RF</​sub>​=0),​ the output will contain a component proportional to sgn(v<​sub>​LO</​sub>​). This also needs to be filtered out if only the sum or difference frequency component is to be extracted. This is known as local oscillator(LO) feedthrough and is a characteristic of this type of mixers which are known as single balanced mixers. ​
 +
 +{{mixer.png?​600}}
 +
 +===== To be done before the lab session =====
 +  * Go through the [[http://​www.ee.iitm.ac.in/​~nagendra/​EC330/​200901/​lectures/​ec330-mixer1/​ec330-mixer1.swf|lecture on mixers]].
 +  * Design a single balanced mixer using BC107 transistors(you can of course use BC177 transistors and turn the whole circuit upside down). Use a 12V supply and about 1mA bias current. Use a voltage divider to generate V<​sub>​bias1</​sub>​ and V<​sub>​bias2</​sub>​. Remember to bypass the bias nodes to ground. The mixer should be able to take in an input peak of 1V and have a conversion gain(ratio of the //​sinusoidal component// at f<​sub>​RF</​sub>​+f<​sub>​LO</​sub>​ OR f<​sub>​RF</​sub>​-f<​sub>​LO</​sub>​ at the output to the amplitude of the //input sinusoid//) of 1. 
 +  * Wire up the circuit. Circuits with many transistors tend to be more messy to wire up than circuits with ICs. Make sure you give yourselves enough time to do this.
 +  * You'll need the oscillator from the previous experiment to provide the LO input. The fixed frequency oscillator will be adequate.
 +
 +===== Experiment =====
 +  * Drive the input with a low frequency v<​sub>​RF</​sub>​(~ 1kHz) and a high frequency v<​sub>​LO</​sub>​(~10kHz) and observe the output. You can use the oscillator designed in the previous experiment as the 10kHz source. ​
 +  * Drive the mixer with a v<​sub>​RF</​sub>​ and v<​sub>​LO</​sub>​ at close by, but not identical frequencies and observe the low frequency(f<​sub>​RF</​sub>​-f<​sub>​LO</​sub>​) output. For filtering out the high frequency component, use a capacitor of appropriate value across R<​sub>​L</​sub>​ which will short it out at high frequencies. Filtering will be a lot easier if you choose a higher f<​sub>​LO</​sub>,​ say 25kHz or 50kHz, and a difference frequency around 1kHz. 
 +  * Remove the RF input and observe the LO feedthrough
 +
 +  * **Questions**: ​
 +    * How will you get rid of the LO feedthrough?​
 +    * What happens in this experiment if you do not bypass the bias nodes V<​sub>​bias1</​sub>​ and V<​sub>​bias2</​sub>​ generated using a resistive divider?
 +
 +===== Applications =====
 +  * This(modified to get rid of the LO feedthrough) is probably the most widely used topology for mixers. [An alternative is to use switches(MOS transistors or diodes) to direct the signal to the output and away from it.] It is used in both transmitters and receivers. Typically, in a receiver, a high frequency v<​sub>​RF</​sub>​ is mixed with a comparably high frequency v<​sub>​LO</​sub>​ to convert the signal to a relatively low intermediate frequency f<​sub>​IF</​sub>​=f<​sub>​LO</​sub>​-f<​sub>​RF</​sub>​. In a transmitter,​ a low frequency "​message signal"​ v<​sub>​mod</​sub>​ around zero frequency is mixed with a high frequency v<​sub>​LO</​sub>​ to convert the signal to the carrier frequency f<​sub>​LO</​sub>​. Although in its native form it does amplitude modulation, combinations of mixers are used for other types of signalling that involve both amplitude and phase modulation. You will see this in your courses on communication systems. ​
 +
 +===== Something to try on your own =====
 +  * Drive the lower input with audio, say from your computer or digital player. Drive the LO input with a sinusoid in the AM band(0.5-1.5MHz). You should be able to use an AM radio placed close by to receive the transmitted audio. You can use a short wire connected to the output node as an antenna. ​