T1 Terry wrote: Thankyou Weber, ...
Thanks T1 Terry, for all your contributions to this thread. And thanks Johny, for those papers with much more precise and readable charts of open circuit voltage vs SoC for LiFePO4.
T1 Terry wrote: Learning every day till I die.... not quite sure what happens with all that knowledge after that

Well, with good enough backups, whatever knowledge you post here may outlive you.
And I'm in need of that knowledge right now. I admit I haven't been very interested in your methods before now, because I was planning to do something better, wasn't I

, controlling the PIP-4048MS on an individual cell basis, with Coulomb's and my BMS software. So why am I now eating a big serve of humble pie?
Because the system is booked in to be installed on Thursday, and although last night I went to bed happy (mind you that was at 3:30 am) because the PI-control was working well and had been tuned to perfection (while charging from the grid), this morning I got up and tried it charging from the PV array and it failed utterly.
The "thinking" of the MPPT device in the PIP seems to go something like this:
Oh, you want me to do something.
OK I see the battery voltage is less than the set absorb voltage.
I'll connect the PV array to myself. Relay clicks on.
I'll slowly reduce the operating voltage of the array until I get enough power to put enough current into the battery to bring it up to the voltage you want.
What's that you say? You have a new absorb voltage for me.
Never mind that it's the same as the previous voltage. I'd better drop what I'm doing and start over. Relay clicks off.
So because it gets a new voltage setting every 2 seconds, it spends all its time just getting started and never puts any current into the cells. Or only puts it in for about 2 seconds. It seems to ignore the voltage commands until it starts actually putting a little current into the battery, otherwise the relay would be clicking every 2 seconds.
When I disconnect the optic fibre to the PIP and manually set the ideal voltage for the present state of balancing it works beautifully. By watching the array voltage with a multimeter I can see it operating between max power voltage and open circuit voltage. When I have no AC loads I see it working near the OC voltage. When I put loads on, I see it working near the MP voltage.
So the only problem is this stupid business where it thinks it has to disconnect the array and start over every time its absorb or float voltage is updated (even if it doesn't actually change in value).
I have just 24 hours to get this thing completely working, with the customer's cells, and loaded in the back of the Prius with all the needed tools. David Chaplin (electrician) is arriving at my place 8am day after tomorrow. Therefore it would be madness to start trying to implement some new control scheme.
So it's time to forget about PI control and it's either find a Plan B, or find a warm bath and a razor blade.
And since a couple of people say they like having me around, it had better be Plan B (no, not you Kris). So I think I'm ready to place enormous and ridiculous faith in the inherent balanceability of LiFePO4 cells (after an initial manual balance).
So Plan B is:
Set the CMUs for a 95% SoC charge. Forget this 75% nonsense for now. I'll have the IMU send fixed bulk/absorb and float voltages to the PIP on startup and not do any PI control. Just turn the contactor off at stress 12 and back on at stress 7 to save an individual cell if necessary. And hope it never gets to stress 15 which will drop out the battery contactor and require a human to cycle the stop button to get it going again. I'll set the bypass voltage to just below the average cell voltage of the PIP's setting and hope it gets enough balancing to keep them all balanced.
Then I'll build Monolith #2 and work on more refined software at a more leisurely pace.
What I need from you, T1 Terry, are the magic numbers you suggest for the fixed bulk and float voltage setting for the PIP, and the bypass and alarm (contactor dropout) voltage settings for the CMUs. The CMUs can only bypass 0.8 A. It's a 16 cell system, nominally 48 volts with a maximum charge current from the array of 60 amps. The cells are new 180 Ah grey CALBs.
One of the fathers of MeXy the electric MX-5, along with Coulomb and Newton (Jeff Owen).