Driving a transistor base with PWM

atmeganpnpwmtransistors

I'm in desperate need of help here! No matter what I try, I can't seem to get this working!

I'm trying to drive a signal transistor with PWM on an AVR ATmega32. My PWM signal looks as it's supposed to:

PWM signal from ATmega32. Sweep Time/Div.: .5 ms | 2 Volts/Div.

I have it setup so that I can vary the duty cycle of the signal, and my initial thought was, that I would be able to control the amount of current being piped through the transistor.
The idea is to use the small signal transistor in conjunction with two MJ15003 power transistors for regulating power in a high current power supply.

The crude schematic looks something like this:

Circuit of high current power supply.

All devices in the circuit share the same ground, but sometimes when I measure the base voltage on the signalling transistor (TIP50) it just sky-rockets above 15V! What is going on!?

The MJ15003's require 5V @ 5A base current, so I figure my signal transistor is too small.

Best Answer

The circuit does not work because you have the bases of the MJ15003's strapped to +5V. Also, the TIP50 can not supply enough current.

Also, you confuse the device's MAXIMUM ratings with the dynamic characteristics. MAXIMUM rates tell you when the device will release the magic smoke.

You do not specify the maximum current you want to draw, I am assuming the maximum for a MJ15003 (about 20A). From the specs, figure 1, I see that the MJ15003 Hfe (current amplification) is about 20 at 20 Amps, meaning the base-emitter current should be about 1A. Figure 3 tells me that the B-E voltage will be about 1.4 Volts.

A TIP50 can supply at most 1A, so it is not powerful enough for this application. It's Hfe is about 30, so to feed 2A as required by the 2 power transistors, it will draw at least 66 mA from the AtMega. This is more than it can source (40mA), so you will need an extra stage.

Have a look at the Darlington configuration for how to make a power amplifier. You will probable need three transistors, not just two, and use one TIP50 for each MJ15003.