Author Topic: Is this correct? @ LiPo MCU charging circuit  (Read 5544 times)

0 Members and 1 Guest are viewing this topic.

Offline avc4evaTopic starter

  • Contributor
  • Posts: 18
Is this correct? @ LiPo MCU charging circuit
« on: October 26, 2014, 10:50:39 am »
Hi all,

New guy here, i'm designing a project using the Nordic nrf51822 MCU, one of my first queries is my  charging circuit for the device.

The device will be powered by a 110mAh 3.7V LiPo battery "https://www.sparkfun.com/products/731", the website offer the following to charge the battery "https://www.sparkfun.com/products/10401".

I have adapted the schematic from the second product to use in my own, seen below:



The device takes in 5V usb, places it into the MCP73831 charge management device (under voltage protection), outputting the required voltage 3V7 to charge the LiPo battery on CN1.

1. I have then placed a 3V3 LDO in parallel with LiPO to supply to my MCU, is this a safe setup?

2. I am also wondering if i am able to charge the LiPO and power the MCU at the same time?

Thanks all, any comment is welcome!


 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #1 on: October 26, 2014, 11:03:11 am »
I'm not sure how much LiPo's like being over discharged so an undervoltage sense and disconnect might be in order. Yes you can run the MCU and charge the battery, that's what phones do.
 

Offline avc4evaTopic starter

  • Contributor
  • Posts: 18
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #2 on: October 26, 2014, 11:40:53 am »
Thanks for the reply, i am pretty sure according to the PS that the MCP73831 stops under discharging.

So the circuit looks okay?

Thanks
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17816
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #3 on: October 26, 2014, 11:42:30 am »
You said you wanted to connect the LDO regulator across he LiPo, if your connecting it via the charge regulator thou will be fine
 

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 19508
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #4 on: October 26, 2014, 02:28:56 pm »
Thanks all, any comment is welcome!
If you aren't sure that you understand how to charge your specific type of lithium batteries, you might feel it prudent to charge them outdoors where explosions, flames and chemical spillages will do less harm.

If you work out the energy stored in a lithium battery, it is in the same ballpark as that that in a hand grenade. Improper charging can damage the battery internally, resulting in runaway exothermic reactions. Search on youtube, and you will see examples.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline avc4evaTopic starter

  • Contributor
  • Posts: 18
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #5 on: October 26, 2014, 04:11:13 pm »
After doing more searching i have found similar designs to what i have done:

1. http://electronics.stackexchange.com/questions/42229/3-3v-power-failover-supply-with-usb-li-ion-charger

2. http://atomsoft.wordpress.com/2011/01/08/lipo-charger-with-3-3v-reg-output-300ma-max/

Would it be a good idea to employ the switch design of the 2nd link? And also provide a switch to remove the battery from the circuit?

Thanks.
 

Offline graynomad

  • Regular Contributor
  • *
  • Posts: 54
  • Country: au
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #6 on: October 26, 2014, 11:57:08 pm »
Pin 2 on the 1824 is not connected to GND.
Graynomad, AKA Rob Gray www.robgray.com
 

Offline Teledog

  • Regular Contributor
  • *
  • Posts: 202
  • Country: ca
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #7 on: October 27, 2014, 01:47:59 am »
Perhaps I'm way off topic, but the last couple of tiny LiPo cells I've purchased on eBay for "RC purposes" (~100-250mAh) have a tiny regulator board built in.
One can see it on the top, through the transparent Kapton tape. (or peel the tape off & check the chips)
Tried initially charging them through a LiPo charger before I noticed the boards..the built-in boards obviously seem to have controlled the charging, not the charger.
..my 2 cents anyway...
 

Offline richcj10

  • Supporter
  • ****
  • Posts: 201
  • Country: us
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #8 on: October 27, 2014, 02:46:53 am »
Perhaps I'm way off topic, but the last couple of tiny LiPo cells I've purchased on eBay for "RC purposes" (~100-250mAh) have a tiny regulator board built in.
One can see it on the top, through the transparent Kapton tape. (or peel the tape off & check the chips)
Tried initially charging them through a LiPo charger before I noticed the boards..the built-in boards obviously seem to have controlled the charging, not the charger.
..my 2 cents anyway...

That board on the battery does not control charging. It prevents Under discharge, over charge, over current condition. 
 

Offline avc4evaTopic starter

  • Contributor
  • Posts: 18
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #9 on: October 27, 2014, 05:53:22 am »
Thanks, must have missed it!
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3240
  • Country: gb
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #10 on: October 27, 2014, 11:41:40 am »
Perhaps I'm way off topic, but the last couple of tiny LiPo cells I've purchased on eBay for "RC purposes" (~100-250mAh) have a tiny regulator board built in.
One can see it on the top, through the transparent Kapton tape. (or peel the tape off & check the chips)
Tried initially charging them through a LiPo charger before I noticed the boards..the built-in boards obviously seem to have controlled the charging, not the charger.
..my 2 cents anyway...

That is NOT a regulator board, it is only for under and over voltage protection.  There will be a couple of back to back MOSFETs to switch off the charge and discharge paths if the battery voltage gets too high or too low respectively, but it will not provide the current limiting that is required from a LiPo charger.
« Last Edit: October 28, 2014, 03:49:04 pm by mikerj »
 

Offline avc4evaTopic starter

  • Contributor
  • Posts: 18
Re: Is this correct? @ LiPo MCU charging circuit
« Reply #11 on: October 27, 2014, 07:45:04 pm »
I've now updated the design a bit:

Added:

1. Missing gnd.

2. SPDT switch to help with load sharing, able to charge the LiPO and supply the circuit separately using 5V usb. The other side of switch allow battery to source when USB disconnected.
N.B. i guess a mosfet could be used instead for automatic switching using the 5v USB to switch, not sure about volt drop though.

3. Added Stat line out from MCP73831 to GPIO of MCU, at the moment the LED lights when charging, i wanted the signal also to route to GPIO to detect this, will this work?



Thanks for everyones help, and ye the battery just protects from under voltage, the MCP73831 controls charging.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf