Idle entry conditions

Official FreeEMS vanilla firmware development, the heart and soul of the system!
Post Reply
User avatar
ruzki
QFP80 - Contributor
Posts: 86
Joined: Thu Jun 20, 2013 4:24 pm

Idle entry conditions

Post by ruzki »

Wich conditions have to exist that the EMS enters idle mode ?

So we got 3 reasonable values the EMS needs to determine a idle condition
- MAP
- RPM
- TPS

Code: Select all

if (MAP < 40 && RPM < 1000 && TPS < 5)
    {
      set engine idle ; 
    }  
But what if the ambient temperature is -10°C and the engine needs to idle at 1200rpm and 45kpa ?
So should MAP and RPM conditions for idle be based on a curve ?
Maybe something like this

Code: Select all

 if (MAP < MAP_idle_condition && RPM < RPM_idle_condition && TPS < 5)
    {
      set engine idle ; 
    } 
A MAP_idle_condition curve could look like:

MAP | 45 45 40 40 35 35 | kPa
----|------------------|
CLT | -15 -5 10 40 60 90 | °C

A RPM_idle_condition curve could look like:

RPM | 1300 1100 1000 950 900 900 | rpm
----|——---————————————|
CLT | _-15__ -5 __ 10__40__60__ 90_ | °C
User avatar
Hentai
LQFP144 - On Top Of The Game
Posts: 302
Joined: Sun Jul 18, 2010 2:35 pm

Re: Idle entry conditions

Post by Hentai »

I personally don't think map is a good thing to use for idle.

I've seen a car idle around a map of 55kpa before, turbo 4 cylinder brand new car, with heater on and everything going. Idle with a lot of accessories can easily make pressure change a great bit.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Idle entry conditions

Post by Fred »

I agree with Hentai, MAP is a function of load, and vice versa. It's an output condition of your airflow control (throttle and valve).

If this were actually code, I'd not want to see TPS anywhere in sight. I'd want to see "throttleClosed" as the condition. Whether that condition comes from a switch or TPS threshold is not relevant to idle or decel cut, and should not be in more than one place.

Also "set idle" needs some sort of definition. I'd want to see that control the closed loop stuff (for technical wind-up reasons only, the controller should have limited authority anyway), but for just base PWM/airflow I'd want a simpler control to *always* be active. IE, while (throttleClosed) look up idle airflow from RPM and coolant in some fashion, be it 3d or 2* 2d. Why? I want the valve closed on the overrun, or maybe the opposite, perhaps I want it wide open while in decel cut. User defined.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Post Reply