Idle advance settings for Alpha-N

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

Post Reply
Sellig78
Helpful MS/Extra'er
Posts: 41
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Idle advance settings for Alpha-N

Post by Sellig78 »

Hi!

I'd like to use the idle advance strategy on my car but i'm using Alpha-N. I can't put a minimun threshold of engine load as on my dataloggs the values are under 0.
Is there any possibility to disable the load threshold or put negatives values?

Thinks.
Last edited by Sellig78 on Thu Mar 22, 2012 3:27 am, edited 1 time in total.
Gilles

1991 BMW M5 3.6 ms2-ex
Matt Cramer
Super MS/Extra'er
Posts: 17499
Joined: Thu Apr 16, 2009 8:08 pm

Re: Idle advcance settings for Aplha-N

Post by Matt Cramer »

It sounds like you need to set a lower closed ADC count for your TPS calibration.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
Sellig78
Helpful MS/Extra'er
Posts: 41
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advcance settings for Aplha-N

Post by Sellig78 »

Matt,

I don't understand the link with my close ADC, i used the calibration tool in TS for my throttle and give me a value of 125. I'm looking for the engine load formula to understand but don't have sucess to found it, could you explain me?

Thinks.
Gilles

1991 BMW M5 3.6 ms2-ex
Matt Cramer
Super MS/Extra'er
Posts: 17499
Joined: Thu Apr 16, 2009 8:08 pm

Re: Idle advcance settings for Aplha-N

Post by Matt Cramer »

Engine load is % throttle opening in alpha-N. If it is going negative, you need to fix your TPS calibration.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
mariob
Experienced MS/Extra'er
Posts: 193
Joined: Wed Nov 11, 2009 11:35 am
Location: Berlin, Germany

Re: Idle advcance settings for Aplha-N

Post by mariob »

If it just goes to -0.2% or so, you can leave the calibration as it is. Even if you get values of -2% or similar, you can use a threshold value of 0% and live with the small blip when leaving the throttle.

If you need to recalibrate your TPS, you will need to correct the lower part of the VE table.

Best Regards, Mario
Peugeot 106 Sergio_Tacchini, 1124cm³, MS2/Extra pre3.3alpah15, E85
Citroen AX, 954cm³, MS2/Extra pre3.3alpha15, E85
Peugeot 106 Rallye, 1298cm³ ... waiting for ITBs and full sequential injection
Sellig78
Helpful MS/Extra'er
Posts: 41
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advcance settings for Aplha-N

Post by Sellig78 »

Ok so i just put 0 in the load threshold and the idle advance strategy doesn't care if the engine load goes under.

Thinks guys!
Gilles

1991 BMW M5 3.6 ms2-ex
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advcance settings for Aplha-N

Post by Peter Florance »

Sellig78 wrote:Ok so i just put 0 in the load threshold and the idle advance strategy doesn't care if the engine load goes under.

Thinks guys!
I'm not sure this really works; this alpha-n MS2Extra3.2.1release on microsquirt module

Idle advance is set to 15 degrees
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advcance settings for Aplha-N

Post by Peter Florance »

Playing with it some more, maybe it would be better if the load comparison was removed for Alpha-N setups.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advcance settings for Aplha-N

Post by Peter Florance »

if (flash8.idle_special_ops & IDLE_SPECIAL_OPS_IDLEADVANCE) {
if ((outpc.tps < flash8.idleadvance_tps) &&
(outpc.rpm < flash8.idleadvance_rpm) &&
(outpc.fuelload > flash8.idleadvance_load) &&
(outpc.clt > flash8.idleadvance_clt)) {
if((idle_advance_timer >= flash8.idleadvance_delay) &&
(flagbyte4 & flagbyte4_idleadvreset)) {
/* deg x 10 */
lsum = intrp_1ditable(outpc.fuelload, 4, (int *)pg8_ptr->idleadvance_loads, 1,
(int *)pg8_ptr->idleadvance_curve);
} else {
if (!(flagbyte4 &flagbyte4_idleadvreset)) {
DISABLE_INTERRUPTS;
idle_advance_timer = 0;
ENABLE_INTERRUPTS;
flagbyte4 |= flagbyte4_idleadvreset;
}
}
} else {
flagbyte4 &= ~flagbyte4_idleadvreset;
}
}


In Alpha-N this seems problematic because for me fuelload is TPS.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Sellig78
Helpful MS/Extra'er
Posts: 41
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advance settings for Aplha-N

Post by Sellig78 »

I agree with you Peter i still don't have success with the idle advance strategy with alpha-N, even with the load threshold at 0.
Gilles

1991 BMW M5 3.6 ms2-ex
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advance settings for Aplha-N

Post by Peter Florance »

Sellig78 wrote:I agree with you Peter i still don't have success with the idle advance strategy with alpha-N, even with the load threshold at 0.
I got it to work on the stim for a very narrow range of throttle inputs but only if I improperly calibrated the TPS to allow negative values.

I'm going to see what happens if I change the ini file to allow negative value for Idle Advance Minimum Fuel Load. I have no hope of my modifying the code as I don't know how to eliminate one of the comparisons in the case of Alpha N

Thanks for fixing the spelling in the subject to make it easier to find via search, too!
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advance settings for Aplha-N

Post by Peter Florance »

Ok modifying the ini file to allow negative values for min fuel load works.

Not pretty but it works.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
gslender
Super MS/Extra'er
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia
Contact:

Re: Idle advance settings for Aplha-N

Post by gslender »

In the later code releases I added an option for idle advance to enable when it goes into CL-Idle....and this options ignores all the other conditions and uses the same condition the idle code uses (which isn't load based etc).

Also, you get the adaptive advance based on rpm target which I believe is much superior.

Try that hey?

G
Mazda MX5 + MS3 Pro
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advance settings for Aplha-N

Post by Peter Florance »

gslender wrote:In the later code releases I added an option for idle advance to enable when it goes into CL-Idle....and this options ignores all the other conditions and uses the same condition the idle code uses (which isn't load based etc).

Also, you get the adaptive advance based on rpm target which I believe is much superior.

Try that hey?

G
Sounds like a plan.
Does it matter that the car has no idle valve?
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
gslender
Super MS/Extra'er
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia
Contact:

Re: Idle advance settings for Aplha-N

Post by gslender »

Peter Florance wrote:
gslender wrote:In the later code releases I added an option for idle advance to enable when it goes into CL-Idle....and this options ignores all the other conditions and uses the same condition the idle code uses (which isn't load based etc).

Also, you get the adaptive advance based on rpm target which I believe is much superior.

Try that hey?

G
Sounds like a plan.
Does it matter that the car has no idle valve?
Well kinda as it relies on the CL-idle code running, so you do have to configure it so etc. not sure what that means really as its point is to control the idle valve and if none exist it will be just trying to control nothing.

G
Mazda MX5 + MS3 Pro
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advance settings for Aplha-N

Post by Peter Florance »

gslender wrote:
Peter Florance wrote:
gslender wrote:In the later code releases I added an option for idle advance to enable when it goes into CL-Idle....and this options ignores all the other conditions and uses the same condition the idle code uses (which isn't load based etc).

Also, you get the adaptive advance based on rpm target which I believe is much superior.

Try that hey?

G
Sounds like a plan.
Does it matter that the car has no idle valve?
Well kinda as it relies on the CL-idle code running, so you do have to configure it so etc. not sure what that means really as its point is to control the idle valve and if none exist it will be just trying to control nothing.

G
I'll leave a bucket to collect all the unused PWM....
:)

Thanks
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
gslender
Super MS/Extra'er
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia
Contact:

Re: Idle advance settings for Aplha-N

Post by gslender »

Peter Florance wrote: I'll leave a bucket to collect all the unused PWM....
:)

Thanks
Actually, you only need an drain tube directly to the road. The ms2 makes pwm freely and doesn't need to be topped up or replenished :lol:
Mazda MX5 + MS3 Pro
Sellig78
Helpful MS/Extra'er
Posts: 41
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advance settings for Aplha-N

Post by Sellig78 »

Ok so i will try your code G.

Thanks.
Gilles

1991 BMW M5 3.6 ms2-ex
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: Idle advance settings for Aplha-N

Post by Peter Florance »

gslender wrote:
Peter Florance wrote: I'll leave a bucket to collect all the unused PWM....
:)

Thanks
Actually, you only need an drain tube directly to the road. The ms2 makes pwm freely and doesn't need to be topped up or replenished :lol:
seems MS3 does too; that is the black stain under my car every morning. :lol:
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Post Reply