Micro controller based charging and discharging of Li-ion battery.

Discussion in 'Homework Help' started by Lavish Kumar Bansla, Apr 15, 2018.

  1. Lavish Kumar Bansla

    Thread Starter New Member

    Sep 1, 2017
    3
    0
    Hey, guys please help here. It's urgent, Me and my friends are doing this project and the problem that we are facing is:
    1- We needed a constant current source and sink that we have made (as shown in the figure) but now the current output from both of these is few mA like below 5-6mA but we need current outputs of almost Ampere or at least greater than 500mA so that the battery would charge and discharge quickly.
    We have tried with LM317 but it was not working with Arduino(microcontroller).

    So, please guys can u tell me what to do. What changes should I do to get high output current values?

    I have to submit the project o 20 April 2018.

    NOTE: We have removed that Voltage sensor and attached the 2.2Kohm resistance directly to Ao pin of Arduino.

    The battery is of 3.7 V so we are providing a threshold of 3.2V above which charging would(that is constant current source circuit would start ) and below that discharging would start with a current sink.
     
    Last edited: Apr 15, 2018
  2. AlbertHall

    AAC Fanatic!

    Jun 4, 2014
    6,392
    1,485
    The maximum output current of the LM358 is around 40mA.
    Also note that lithium batteries are prone to explode or catch fire if improperly charged or discharged so I would strongly suggest that you do not attempt to design such circuits when even the professionals get it wrong from time to time - Boeing, Samsung, etc.
     
    Lavish Kumar Bansla likes this.
  3. danadak

    Well-Known Member

    Mar 10, 2018
    1,586
    327
    Expanded power current sinks, sources, covered here -

    https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=2ahUKEwjz6dLTprzaAhVi7IMKHYlzDwcQFjABegQIABA4&url=http://www.ti.com/lit/an/sboa046/sboa046.pdf&usg=AOvVaw1qjJeiJP3tRlRer20mLxch

    You could do this with a PSOC 4, it has a IDAC that can be used as a Vref, onboard
    OpAmps (2), see attached -

    What is the battery pack min and max V ?

    It has the A/D and Vref to monitor battery pack V, and T, you add
    a T sensor to it for the pack.

    The board ($4) you would use is -

    [​IMG]

    Here is an ap note using PSOC 5LP, you could port to 4 or use the
    equivalent 5LP board, $ 10.

    http://www.cypress.com/documentatio...oc-5lp-single-cell-lithium-ion-li-ion-battery


    Regards, Dana.
     
    Last edited: Apr 15, 2018
  4. Lavish Kumar Bansla

    Thread Starter New Member

    Sep 1, 2017
    3
    0
    Thanks, Albert for your time and suggestion, I would keep this in mind.
     
  5. Lavish Kumar Bansla

    Thread Starter New Member

    Sep 1, 2017
    3
    0
    Thanks, Dana for your help, I will try some of the circuits from that pdf. No mini max is written on battery just 3.7V.
     
  6. crutschow

    Expert

    Mar 14, 2008
    19,808
    5,543
    The AH rating of the battery gives a good indication of its charge rate.
    Generally never exceed its AH rating in amps to charge it, i.e. a 2AH battery should not be charged at more than 2A.
    Less is better.
     
Loading...