theo92
New Member
Here I'm facing a critical problem to get an amplified PWM signal capable of driving high current loads.
My project is to control brightness of an 3V torch lamp using PWM from 0V to 5V. Then use the ADCs to measure the current draw at various potential differences.
I've programmed the PIC microcontroller and used two buttons, ie. Up and Down to increase or decrease the PWM duty cycles from 0 to 999 (I'm using PIC18F2550 @ 48MHz, PWM freq. 48KHz, duty cycle range = 0 to 999, using PWM writer utility and swordfish) every step of duty cycle increase or decrease, changes the voltage by 0.01. So, it's perfect for my application.
Now, the problem is the PIC's feeble PWM current can't drive the lamp which needs higher current. So, the solution is to use a BJT or FET amplifier. Can someone please suggest me a such amplifier design, preferably using BJT to
* Which can produce ~500mA at 5V
* The output voltage should be exactly same as the input voltage. This is my main requirements as I need a very accurate measurement of current draw at different potential differences. Although I don't know much in BJT basics. I think, it should be an current amplifier with current gain only and no voltage gain. Is it possible? If not possible then a small voltage gain will not be a great problem.
Please suggest me such a design.
My project is to control brightness of an 3V torch lamp using PWM from 0V to 5V. Then use the ADCs to measure the current draw at various potential differences.
I've programmed the PIC microcontroller and used two buttons, ie. Up and Down to increase or decrease the PWM duty cycles from 0 to 999 (I'm using PIC18F2550 @ 48MHz, PWM freq. 48KHz, duty cycle range = 0 to 999, using PWM writer utility and swordfish) every step of duty cycle increase or decrease, changes the voltage by 0.01. So, it's perfect for my application.
Now, the problem is the PIC's feeble PWM current can't drive the lamp which needs higher current. So, the solution is to use a BJT or FET amplifier. Can someone please suggest me a such amplifier design, preferably using BJT to
* Which can produce ~500mA at 5V
* The output voltage should be exactly same as the input voltage. This is my main requirements as I need a very accurate measurement of current draw at different potential differences. Although I don't know much in BJT basics. I think, it should be an current amplifier with current gain only and no voltage gain. Is it possible? If not possible then a small voltage gain will not be a great problem.
Please suggest me such a design.