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

Idle advance settings for Alpha-N

Postby Sellig78 » Thu Mar 15, 2012 3:57 am

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
Sellig78
Helpful MS/Extra'er
 
Posts: 40
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advcance settings for Aplha-N

Postby Matt Cramer » Thu Mar 15, 2012 5:21 am

It sounds like you need to set a lower closed ADC count for your TPS calibration.
Matt Cramer
Super MS/Extra'er
 
Posts: 8980
Joined: Thu Apr 16, 2009 8:08 pm

Re: Idle advcance settings for Aplha-N

Postby Sellig78 » Thu Mar 15, 2012 8:47 am

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
Sellig78
Helpful MS/Extra'er
 
Posts: 40
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advcance settings for Aplha-N

Postby Matt Cramer » Thu Mar 15, 2012 10:28 am

Engine load is % throttle opening in alpha-N. If it is going negative, you need to fix your TPS calibration.
Matt Cramer
Super MS/Extra'er
 
Posts: 8980
Joined: Thu Apr 16, 2009 8:08 pm

Re: Idle advcance settings for Aplha-N

Postby mariob » Thu Mar 15, 2012 12:55 pm

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
User avatar
mariob
Experienced MS/Extra'er
 
Posts: 189
Joined: Wed Nov 11, 2009 11:35 am
Location: Berlin, Germany

Re: Idle advcance settings for Aplha-N

Postby Sellig78 » Fri Mar 16, 2012 2:32 am

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
Sellig78
Helpful MS/Extra'er
 
Posts: 40
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advcance settings for Aplha-N

Postby Peter Florance » Wed Mar 21, 2012 2:42 pm

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advcance settings for Aplha-N

Postby Peter Florance » Wed Mar 21, 2012 2:58 pm

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advcance settings for Aplha-N

Postby Peter Florance » Wed Mar 21, 2012 5:08 pm

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advance settings for Aplha-N

Postby Sellig78 » Thu Mar 22, 2012 3:27 am

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
Sellig78
Helpful MS/Extra'er
 
Posts: 40
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advance settings for Aplha-N

Postby Peter Florance » Thu Mar 22, 2012 3:36 am

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advance settings for Aplha-N

Postby Peter Florance » Thu Mar 22, 2012 6:02 am

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advance settings for Aplha-N

Postby gslender » Thu Mar 22, 2012 1:35 pm

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
User avatar
gslender
Super MS/Extra'er
 
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: Idle advance settings for Aplha-N

Postby Peter Florance » Thu Mar 22, 2012 1:41 pm

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advance settings for Aplha-N

Postby gslender » Thu Mar 22, 2012 1:50 pm

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
User avatar
gslender
Super MS/Extra'er
 
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: Idle advance settings for Aplha-N

Postby Peter Florance » Thu Mar 22, 2012 1:57 pm

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA

Re: Idle advance settings for Aplha-N

Postby gslender » Thu Mar 22, 2012 2:09 pm

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
User avatar
gslender
Super MS/Extra'er
 
Posts: 1072
Joined: Fri Sep 16, 2011 5:29 am
Location: Brisbane, Australia

Re: Idle advance settings for Aplha-N

Postby Sellig78 » Fri Mar 23, 2012 2:56 am

Ok so i will try your code G.

Thanks.
Gilles

1991 BMW M5 3.6 ms2-ex
Sellig78
Helpful MS/Extra'er
 
Posts: 40
Joined: Sun Feb 14, 2010 6:12 am
Location: Coventry

Re: Idle advance settings for Aplha-N

Postby Peter Florance » Wed Apr 04, 2012 3:51 am

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
Check your grounds: http://www.msextra.com/doc/general/grounding.html
User avatar
Peter Florance
Super MS/Extra'er
 
Posts: 3358
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA


Return to MS2/Extra Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron