To determine your resistance parameter for constant current charging, you'll need to measure the dynamic resistance of your charging circuit, which includes both the battery's internal resistance and any series resistance in your charging path.
Here's the most effective approach:
Dynamic Resistance Measurement Method:
-
Take voltage/current measurements at different operating points - Use your existing sensors to measure several voltage-current pairs while charging. Apply different voltages from your PPS supply and record the corresponding currents.
-
Calculate incremental resistance - Use the formula: R = ΔV/ΔI between measurement points. This gives you the effective resistance that matters for control purposes.
-
Account for battery voltage changes - The battery voltage will rise during charging, so your control voltage needs to be: V_control = V_battery + (I_target × R_total)
Practical Implementation:
- Start with a small voltage step (maybe 0.1V) and measure the current change
- Repeat this at different battery charge states since internal resistance varies
- Consider that resistance will change with temperature and state of charge
- Build a lookup table or use a running average of recent R calculations
Key considerations:
- The battery's internal resistance changes during charging (typically decreases as it warms up)
- Your measurement frequency should be fast enough to respond to these changes
- Include some filtering/averaging to handle measurement noise
- Consider implementing a PI controller rather than pure proportional control for better stability
Since you have real-time current and voltage sensing, you can continuously update your resistance estimate and adjust accordingly. This adaptive approach will be much more accurate than trying to calculate a fixed resistance value.