Author Topic: PWM amplifier  (Read 2219 times)

0 Members and 1 Guest are viewing this topic.

Offline merseylessTopic starter

  • Contributor
  • Posts: 11
PWM amplifier
« on: July 24, 2013, 08:29:11 am »
I'm working on a circuit where I'm taking a PWM input from a Arduino and amplifying it to an arbitrary voltage between 25v and 10v, I need to then smooth it out to get the average voltage and then feed that final voltage into a 20mA load.
So far I tried using a BJT to amplify the PWM signal, but when I fed it into the filter, it would charge and discharge the filter asymmetrically due to the need for a resistor between the emitter and ground.
So I tried using an opamp as a comparator, as the voltage from the arduino for pwm is between 5 and 0v, I used a voltage divider and fed 2.5v into the inverting, and fed the pwm into the non-inverting, and let it swing between the arbitrary voltage and ground. the only problem with this is that the filter I have designed draws 0.5ish amps. Which the Opamp does not like one bit.
Arduino PWM sits at around 500Hz, so I made a 3 stage 50Hz low pass filter using 22uF cap and a 160ohm resistor.
So, where do I go to from here?
 

Offline Alana

  • Frequent Contributor
  • **
  • Posts: 297
  • Country: pl
Re: PWM amplifier
« Reply #1 on: July 24, 2013, 08:46:29 am »
Tried half of h-bridge chips powered from your 10-25V and a voltage shifter if control logic is not on 5V level?
Oder idea is to use something like TDA2010 audio power amplifier as an op-amp.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf