46

Circuit VR: Starting an Amplifier Design

 5 years ago
source link: https://www.tuicool.com/articles/hit/INRVZr
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Sometimes I wish FETs had become practical before bipolar transistors. A FET is a lot more like a tube and amplifies voltages. Bipolar transistors amplify current and that makes them a bit harder to use. Recently, [Jenny List] did a series on transistor amplifiers including the topic of this Circuit VR, the common emitter amplifier . [Jenny] talked about biasing. I’ll start with biasing too, but in the next installment, I want to talk about how to use capacitors in this design and how to blend two amplifiers together and why you’d want to do that.

But before you can dive into capacitors and cascades, we need a good feel for how to get the transistor biased to start with. As always, there’s good news and bad news. The bad news it that transistors vary quite a bit from device to device. The good news is that we’ll use some design tricks to keep that from being a problem and that will also give us a pretty wide tolerance on component values. The resulting amplifier won’t necessarily be precise, but it will be fine for most uses. As usual, you can find all the design files on GitHub , and we’ll be using theLT Spice simulator.

The Circuit Du Jour

FF3u6fA.png!web Here is a basic common emitter amplifier, with no capacitors yet. The transistor would like to amplify the base current by its beta to create the collector current. We are going to make a lot of assumptions to make the design process easier and one of those is that the base current is going to be small enough that the emitter current will be the same as the collector current. This means we can think of the collector and emitter currents being simply a beta multiple of the base current.

There are a few problems, though. First, beta is a terrible design parameter. It varies a lot, for a lot of reasons. So we’d like to change our design so that it doesn’t rely so much on beta. In addition, the transistor has to be in its active mode to make this work. For our purposes, this means the voltage on the base has to be able to be about 0.7 V higher than the voltage on the emitter. Since the emitter connects to ground here, you can’t put, say, 0.3 V on the base and expect the emitter to somehow make up the other 0.4 V. However, you can put, say, 3 V on the base and then the emitter will have around 2.3 V — the exact number depends on temperature and the current levels, but we are going to assume 0.7 V is close enough.

The idea behind R1 and R2 is to set the base voltage to turn the transistor into its active region. The input will cause it to wiggle around that number creating variations in the emitter voltage. Those wiggles will create corresponding negative wiggles in the collector side which will be much larger — if we set all the components up correctly. Sometimes, the output comes from the collector. Sometimes, the collector resistor is the load. For our purpose, it won’t really matter.

Close Enough is Usually Good Enough

There is a temptation to try to model exactly what the voltage drop is and what values of resistors you want. But the reality is, the transistors vary quite a bit. Your resistors have a range of possible values. You are not likely to get (or need) something that is exactly perfect. If you need extremely precise circuitry, that’s a whole design discipline on its own.

There are at least two starting points for biasing an amplifier like this. Obviously, the output signal can only go as low as 0 V and as high as the supply voltage (Vcc). The transistor can’t produce more voltage and will clip anything outside those limits. So to get the maximum possible range of output without distortion, it makes sense we’d like to set the collector voltage to half of the supply voltage.

However, sometimes we want to match a stage’s output impedance to the input of the next stage. In that case, you’ll want to pick a fixed RC value because that’s the amplifier’s output impedance. We’ll come back to that topic, but for now, let’s assume we are setting Vc to 1/2 of the supply voltage. You might want to skim ahead to the topic “In Summary” to get the big picture of the steps we are going to take and then return here for the details.

The Details

The next things you need to select are a realistic collector current, and a target gain. Keep in mind that your maximum signal times the gain has to be inside the 1/2 Vcc limit. So an input signal of +/- 1V will limit your gain to about 7. The collector current will influence the power you can deliver to the next stage. For a simple amplifier, you might pick a number somewhat lower than the transistor’s maximum. For example, if you think the device can do up to 100 mA, you might pick 75 mA.

Let’s say our supply voltage is 15 V, Ic=75 mA, and we want a modest gain of 5. We know we want Vc to be 7.5 V which means RC has to drop the remaining 7.5 V. Using Ohm’s law, we can see that RC must equal (15-7.5)/0.075 = 100 ohms. The gain of the amplifier is going to be mostly set by the ratio of RC/RE. So if RC is 100 and the gain is 5 then we solve for 5=100/RE and we can see that RE must be 20 ohms.

We know we need 75 mA through RE and if it is 20 ohms, that tells us that we have Ve = 1.5 V. Since the base has to be 0.7 V above that Vb = 2.2 V. Now we have to select R1 and compute R2. For some of our assumptions to hold true — in particular, that beta (B) won’t affect gain — the combination of R1 and R2 in parallel needs to be much less than RE*(B+1). If we assume B is 100 we get that the resistor combination must be a lot less than 2020 ohms.

EvQFnuJ.png!web Let’s start with a low value for R1 of 200 ohms. The voltage divider looks simple but you have to account for the fact that R2 will be in parallel with (roughly) RE times beta. However, since we are trying to get much less than that you can probably just ignore that effect. Let’s try it both ways.

By the way, Wolfram Alpha is great for solving these equations if you are too lazy to do it. We need a voltage divider to bring 15 V down to 2.2 V and we know R1 is 200 ohms. Solving you get about 34 ohms.

You could go the long way, though. To make things simple, let’s make up RX=R2*B*RE/(R2+B*RE) — the parallel combination of R2 and RE. Now we can solve for the voltage divider using RX instead of R2 and get the same answer, 34. Now the question is “what value of R2 in parallel with 2000 ohms gives 34 ohms?” Solving for that gives you about 34.6 ohms. So 34 ohms was probably fine.  Like I said, close enough is usually good enough when you consider how sloppy we are being with tolerances, temperature variations, and the like.

That’s it! You now know values for all the resistors. You did have to set the supply voltage, the collector current, the gain, and arbitrarily pick one resistor value.

Here’s the simulated circuit with the selected values. Note, there’s a capacitor on the input. We’ll talk about why that capacitor is there in the next Circuit VR.

IJ3YZb6.png!web

ymyAFnA.png!web

Note the vertical scales are not the same, but they do represent the same amount of voltage delta (1.1 V). For a 0.2 V peak-to-peak input, there is nearly a 1 V output, so the gain of 5 is right, but there is clearly a DC offset. Also, notice that the amplifier inverts. The peaks on the top trace correspond to the troughs in the bottom trace. That’s expected with a common emitter design.

In Summary

Here are the steps for reference:

  1. Select Vc to be about 1/2 the supply voltage (Vcc)
  2. Select Ic to be in range of the device
  3. Select your realistic target gain (G) (input signal times G has to be less than Vc)
  4. Compute RC=(Vcc-Vc)/Ic
  5. Compute RE=RC/G
  6. Compute Ve=RE*Ic (assuming Ic=Ie)
  7. Compute Vb=0.7+Ve
  8. Select R1 (note that R1 in parallel with R2 needs to be much less than RE*(Beta+1))
  9. Solve Vb=Vcc*(R2/(R2+R1)) for R2
  10. If you need more precision, solve R2=R2’*Beta*RE/(R2’+Beta*RE) for R2′ and use R2′ as R2
  11. Verify that R1 in parallel with R2 is much less than RE*(Beta+1)

To ensure that the transistor’s beta doesn’t become significant, you can apply the rule of thumb that RE*(Beta+1) should be much greater than the parallel resistance between R1 and R2. For example, with R1=100 and R2=300 the parallel value is 75 ohms (100*300/(100+300)). But with a 20 ohm RE and a beta value of 100, that leaves you with 75<2020 which is a fair statement.

uyIbu22.png!web

To make things easier, I’ve included a Google spreadsheet that captures all of this. The numbers might change a little because where I will round intermediate results when I’m scribbling at my desk (like the 34 ohm R2), the spreadsheet will not. The instructions for using it are in the spreadsheet.

What About Capacitors?

I promised we’d talk about capacitors, but that’s enough for today. You’ve seen we have a capacitor in the input. This keeps the input from messing up the DC biasing arrangement we’ve created. We’ll add another one, usually, to the output for the same reason. In addition, there’s a third capacitor we can add to promote higher gain without sacrificing DC stability.

Of course, just like with resistors, the trick is finding the values for those capacitors and understanding how they change the circuit. In the meantime, it is easy to experiment with the circuit in the simulator. How does changing RL affect things? By looking at the voltage and current from V2 can you figure out the input impedance of the amplifier? How does changing the amplitude or the frequency from V2 change the output? Can you determine what value of RL gets the most power from the amplifier? Here’s a hint. If Q1 were totally turned off, what value would RL need to be to get the most power? We will touch on many of these topics next time.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK