Continue to Site

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.

  • 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.

Identify engine cranking event

Status
Not open for further replies.
It is possible the event may start in between or during your process . What errors will occur then?
 
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.
 
Rather than post code.
1st define functional spec
 
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.
 
Thank you for the in depth advise. Actually I have written logic for lead acid battery soc calculations. Can I post the logic? Will you give some advice?
 
I'd up that to 70+ amps. 20A can occur for things like the .... cigarette lighter and such.

That much for a lighter? Really Mosaic? :nailbiting: If so, for how long would you say?
 
Current surge when lighter coil is cold.....can trigger a reaction from a uC monitoring currents.
 
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.
 
Thank you all for the replies. I have put the current as my test variable, once it crosses certain range i assume cranking starts. yes i can put engine rpm also as variable.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top