digitaldanny / AudioEffectsGlove

A hand tracking glove that controls parameters of various audio effects.
1 stars 0 forks source link

Battery Recharging Research #25

Closed digitaldanny closed 3 years ago

digitaldanny commented 3 years ago

Is your feature request related to a problem? Please describe. This circuit is required to make the glove a wireless system.

Describe the solution you'd like Research the following..

Describe alternatives you've considered N/A

Additional context N/A

digitaldanny commented 3 years ago

Notes on "Battery University"

digitaldanny commented 3 years ago

Power Gauging Methods/State of Charge Notes This comment was moved to issue #26

digitaldanny commented 3 years ago

This YouTube video provides a good overview of lithium ion battery charging. Below are some of my notes on the video.

Need to do some additional research to find a circuit design I can experiment with.

digitaldanny commented 3 years ago

Note about purchasing a Li-ion battery: Make sure not to purchase "bare cell" batteries. The Li-ion cells must be integrated with appropriate safety circuitry to avoid overcharge or over-discharge.

digitaldanny commented 3 years ago

A common unit of measurement I'm seeing is "mAh" (milliamp hours). This refers to the amount of energy the battery can store. For example, a 400 mAh battery can power a load drawing 40 mA for 10 hours. This will be more important later on when I have a better estimate for the amount of current my device is pulling.

To be on the safe side, I will pick a battery with large storage capabilities. Once most of the hardware is completed, I could determine the average current draw and (hopefully) pick a smaller battery that takes up less wrist space.

digitaldanny commented 3 years ago

Some notes comparing buck converters and voltage regulators that might be relevant. Buck converter vs linear voltage regulator YouTube video.

Voltage Regulator

Buck Converter

A voltage regulator would save some PCB space, but I will need to make sure it doesn't burn through battery life too quickly - the glove should last 8-10 hours at least before requiring a recharge. Heat is probably the biggest drawback since this is going to be a wearable glove. An alternative to using a buck converter could be just to add a heat sink to the voltage regulator. My biggest concern with the buck converter its inductors will mess with the magnetometer measurements.

digitaldanny commented 3 years ago

As noted in this StackOverflow topic, there may be some power distribution issues when trying to enable normal load operation while re-charging the batteries. Basically, the battery may draw more current than necessary and could unexpectedly cause the device to power off because it is not being provided enough power.

A solution that should be explored more in a different issue would be to create a load balancing circuit that guarantees both circuits are provided sufficient power. This Charge Circuit with Load Sharing site shows a load sharing circuit that only requires 4 additional components - a P channel MOSFET, a schottky diode, a resistor, and a bypass capacitor.

digitaldanny commented 3 years ago

This allaboutcircuits link shows that USB-C has VBUS and GND pins that act as power and ground. The default VBUS voltage is 5V, which can be dropped down to 4.2V in a voltage divider for charging the Li-ion battery during the CV phase.

This Digikey link has a breakout board for USB-C.

digitaldanny commented 3 years ago

This MCP73831 seems to be a commonly used IC for this type of application. May be able to make a circuit based on the functional block diagram in this datasheet.

digitaldanny commented 3 years ago

Below are the expectations for the charger's output.