Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
The sequence is something like this
1. As soon as power is on the mode will be ALTERNATOR_OFF. Normal algorithm will be running.
2. One second over
if(battery voltage > ALTERNATOR_MIN_VOLTAGE && battery voltage < ALTERNATOR_MAX_VOLTAGE)
mode = ALTERNATOR_ON;
else if(battery current > CRANKING_CURRENT)
mode = CRANKING;
stop calculations for one minute till voltage stabilized = TRUE;
Please suggest if any mistakes.
You can test battery with a pulse load to detect drop in 1ms of known current or Rload and then store values at various resting voltage to determine battery SoC or aging where both conditions of Low SoC and expired battery from aging give high ESR or large drop with pulsed load. then save parameters for smart analyzer functions.
My turn, but I'm having trouble understanding what;s wanted.
The presence of ripple in the electrical system can tell you if the alternator is running. Maybe. The reason why maybe is that the alternator is disabled when starting.
RPM and crank position sensor frequency.