Lots of PWM???


Closed Thread
Results 1 to 2 of 2

Thread: Lots of PWM???

  1. #1
    Join Date
    Jan 2007
    Posts
    44

    Question Lots of PWM???

    Hi. I am working on a project that is going to need 10 PWM output signals to charge 10 li-poly or li-ion batteries. Yeah thats a lot of PWM!!!
    The problem is that I need a way to produce the signals with an accuracy of 10 bit, and:
    As i am going to charge 3.7v li ion with a 12v supply, using only pwm to drop the voltage to the battery (battery + to power supply+, minus to NPN transistor, and emitter to ground, pwm to transistor's base), how high does the frequency have to be so as not to kill the battery with the 12v spikes??? Perhaps using some caps connected in parallel to the battery??? Anyone knows how to calculate the value??
    Is there any I2C, serial, etc, external hardware PWM???

    Thanks a lot!!!!!! Sorry for my english
    Manuel

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i don't have a clue about battery charger, but to me a DC voltage instead of PWM would be safer... but i could be wrong.

    Assuming i'm right, the easy way is to use 10 bits DAC. You can find some I2C one. Now you just need to hook few of them on 1-2 i2C bus and you're in business.

    10 DAC would also require 10 ADC on the PIC for some 'feedback' control. But that's easy.

    Fortunately, i'm not the only one here and some may have better tips and or idea.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. PWM: Vernacular/Function (Newbee)
    By TerryN in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd July 2008, 16:58
  4. PWM setting PIC16F887
    By Gevo in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th June 2008, 07:24
  5. Tidying Up PWM Routine
    By Tissy in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st February 2005, 00:26

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts