I'm speaking as a mechanical hardware, & software, engineer of many years experience (now retired), designing machine-control systems since the days of the earliest microprocessors. I created several patents, both in the mechanical engineering arena, as well as IT.
This is unacceptably poor design. Everyone is familiar with aftermarket add-ons to car systems, e.g. fancy sound-systems with huge sub-woofers, lighting bars, dashcams etc. Any/all of these may add noticeable extra loads to the 12V battery at any time, and the car should cope with them. I'll explain why it doesn't below, and what the correct design
should have been.
You're describing a polled system. This is the simplest way to code up a control system that needs to respond to external events (in this case "low battery"). As any competent software engineer who has worked on microprocessor real-time control systems knows, this method is prone to failiure when the rate of events exceeds the rate of polling. The
correct design is to use an interrupt driven system.
What is meant by "exceeding calibration values" ? The way the Ioniq 5 won't charge the 12V battery in this polled way at all, if the main traction battery is below 20% SOC or whatever that threshold is? Fair enough, but a bit cautious perhaps.
Edit 2 Jan 2024: Post elsewhere here says ICCU update now continues to topup 12V battery down to 10% SOC - a step in the right direction IMHO.
My Ioniq '38 has this inadequate polling system, and originally it polled once per day. Here's a trace of how it attempted (not!) to deal with an unexpected discharge scenario. The cause of this remains unknown, wasn't damp in the door switches, wasn't bluelink.
View attachment 53488
As you can see, the voltage dropped to
well below the stage where a topup was needed.
My battery was damaged by this deep discharge, and another, similar one previously. It was the previous failure that made me design & build my own built-in battery-booster based on 22 Ah motorcycle battery + electronics to ensure my backup cannot be drained by these "vampire" attacks, and install a BM2 Battery Monitor that captured the 2nd such vampire attack shown here. The quick recovery from the attack shown is thanks to this backup working. I flip 2 switches and the 12V battery is changed over.
Finally, late 2022 or early 2023,
long after Hyundai has changed to 6 topups/day on the Kona, H decided to apply the same update to the Ioniq! Similar cars & electronics. (Why the Ioniq didn't get this update MUCH earlier baffles me).
So here's a shot of how the 6 topups/day algorithm works with a damaged-but-reconditioned Delkor OEM battery in it.
View attachment 53492
A few things have changed with the recent BMS update to 6/day topups. My damaged battery is managing to sit around 12.7V thanks to the regular topups, but immediately after a 5 hour AC charge, where the car holds the 12V battery at 13.0V steadily, the 12V battery drops to 12.5V. So this use of 13.0V during charging is insufficient to maintain a level state of charge in the 12V battery. Fortunately H have added a 12V battery test at the end of an AC charge session, and this test decides that 12.5V is too low, and sets off a series of 5 quick topups each about 20 minutes, and a re-test after.
Having done 4 such tests, the 12V is still only at 12.69V afterwards, but perhaps this is close enough to the pass/fail threshold which seems to be at 12.70V judging by the previous regular topups. At some stage in this re-test process it appears the timer for Regular topups gets reset to zero, as the regular topups restart at about 21:15 on 26 Dec.
Incorrect.
Onboard systems aren't going to fix a bad battery, but they should prevent it going bad in the first place. As they clearly have
failed to do in my example, and many others in this forum dating back several years.
The
correct system design is one where
any instance of the 12V battery dropping below a predetermined safety-level (let's say 12.70V as that seems to the the threshold for the regular topups) triggers an interrupt that wakes up a subsystem dedicated to monitoring the 12V battery state. The hardware required for this is minimal, a voltage comparator plus a voltage reference are all that is needed. It's quite possible this setup already exists in the battery-status-monitoring device already connected to the +ve terminals of the battery which reports to the car's computer.
Once such an interrupt is triggered, the code should first determine if it's a momentary spike due to noise or some other transient that can be safely ignored. Things like the spike above at 13:00 in Dec 25 where the wing mirrors operated momentarily. This kind of transient can be filtered out by waiting a few seconds then retesting the voltage to see of the transient passed. This is typically how things like mechanical switch bounces are filtered out, you do a few consecutive retests to see if the condition stabilises, and when it does, only then do you act on it.
Given an interrupt-driven topup mechanism, it would be perfectly possible to start providing topups at a rate of say 3 per hour, or more if neccessary. But you now have the precise timing information of when these topups are needed, and this gives you the ability to take sensible preventative action and log the actual rate for historical analysis.
A pattern of the number of topups per day increasing gradually from say 4/day, to 5/day, to 6/day over a period of weeks/months indicates a battery that's wearing out and needs replacement/reconditioning soon.
A pattern of suddenly needing 2 topups/hour out of the blue, indicates an anomaly of some kind. At this stage you keep applying regular topups, as well as provide other alerts to the owner. Such as a bluelink alert suggesting a door was left open, or something else draining the 12V. If bluelink not in use, a momentary blast on the horn every 5 minutes might be in order. Or flash the headlights. Or something.
A polled system such as Hyundai have implemented cannot cope with the scenario where the power consumed in the 12V devices powered up exceeds the power replaced by the regular topup approach. And the worst scenario happens when something keeps a relatively high-power device active, such as the ?car's computer? consuming maybe 240W, or 20A at 12V. This kind of power draw is enough to drain my 40 Ah battery in a couple of hours, which is less than the interval between regular topups. This kind of sudden high-current drain illustrates perfectly why a polled approach is unable to cope with real-world "extra-ordinary" events. And this is
precisely why an interrupt-driven approach is
far better.
Agreed. Mine's been down to 8.4V before the drain posted above. Fortunately it's still limping on, thanks to 6 topups/day, and regular use of a de-sulphating + reconditioning cycle on my Ctek smart charger. But I can see my battery is struggling!
If H had implemented the
correct algorithm,
both of my vampire attacks would have been spotted, and I would have been warned, before the voltage dropped to anywhere near 12.0V, let alone the 8.4V I discovered many hours later.
Neither of these damaging, sulphating discharges should have happened.
People have every right to expect a decent amount of 12V battery capacity. I see that Hyundai decided to fit a remarkably small battery to my Ioniq 38, something more suited to a Toyota Aygo sized car. But there's no high-current starter motor, so, hey-ho, let's fit a tiny one now!
When there are more and more "clever" things happening, like bluelink, OTA updates someday, remote-fob-sensing circuitry etc placing demands on the 12V system overnight when the car's asleep, it seems rather short-sighted to go downsizing the 12V battery so much! Unless you have a proper charging support system in place, which Hyundai clearly have not.
@HKtech , I'd like to thank you for your participation and help here. I really wish there were more around like you, as it's almost impossible to make any kind of technical connection with large corporations like Hyundai, which tend to hide the technical people behind armies of press departments & management etc. I worked for one such large corporation.
If there's anything you can do to contact the designers of the 12V subsystem, please do, and please pass on my opinions and charts. Thank you again.