MembersPage/GaborRacz/NewAlsLaunchAndOthers (2007-01-02 22:47:03)

Firmware and MegaTune patch for 1.0.23 - ALS, Launch control, Soft revlimiter, etc

With this modification, the current ALS code reworked a little to meet racer's needs. Several options implemented, whose you see only on expensive professional systems before. Take a look to the setup window:

AdvALS_Configwindow.PNG

Let me explain the config variables:

Global settings

Igniton retarding and spark cutting is done as seen of the figure:

als_config.PNG

Note: the horizontal axis is labelled TPS, don't think that is RPM!

Ignition Retarding

Spark Cutting

You can enable ALS functions in my_make:\nÿ1ÿ

Override default maximum 20 degree ATDC limit:\nÿ2ÿ


The patch contains implementation of three new soft revlimiters. Soft revlimiters cut spark instead of cutting fuel if the desired maximum rpm are about to beaten. These are used for idle control, launch control and redline control. Idle control is TPS sensitive, and disabled, if ALS enabled and working. Launch control can be enabled with a button on the steering wheel, and it can be combined with the ALS. Redline control is for normal overrun protection without unsafe lean run, which is essential for the turbo engines. All (soft)revlimiters in one window:

Revlimiters_Configwindow.PNG

And there is a little explaining about these.

Idle control

Used on racecars, where no other methods (IAC stepper, PWM solenoid) can be applied, especially where always open throttle is needed. The main function is to limit the rpm on a reasonable low range, when the pedal is depressed, and ALS is not active. See the figure.

softidle_config.PNG

You can enable spark-cut based idle control in my_make:\nÿ3ÿ

Launch control

Used on start line, to achieve best performance with the less effort. Driver must press gas pedal to 100%, and press a button on the wheel. Launch control routine need to limit the rpm into a desired range, while the button pressed, and allow ALS to work (ALS normally disabled on so high TPS). See the figure how it is achieved:

softlaunch_config.PNG

You can enable launch control in my_make:\nÿ4ÿ

Redline control

Simple sparkcut-based revlimiter, used below the hard RPM limiter, as you see on this figure:

softrpmlimiter_config.PNG

You can enable launch control in my_make:\nÿ5ÿ

If you are understand and accepted the warnings generated in compile time, when using SOFTRPM based new functions, you can disable them with the following line in my_make:\nÿ6ÿ


Fero's ALS related suggestions


How to disable ALS

The below config snippet (variables directly available since 1.0.32) disables ALS: (and kpa_conf configures reasonable unit for KPA-pressure related variables, 2 kPa for kpafac and 1 kPa for other variables including the k[] bins). kpa_conf=22 applies for the high-boost megatune profile (config units is 2kPa everywhere), for an engine that needs further retard and VE-increase above 256 kPa MAP (with this, engine mappable upto 510 kPa, above which further retard or VE-increase is not possible, but injector pulsewidth will continue to grow proportionally with even higher MAP of course).\n

als_cut_maxtps=00
als_cut_mintps=FF
als_deact_egt=00
als_deact_rpm=FF
als_deact_time=01
als_enrich=00
als_max_cut=00
als_react_tps=00
als_retard=00
als_retard_maxtps=00
als_retard_mintps=FF
als_tks_channel=FF
als_rev_limit=40
ign_balance=00
kpa_conf=21

Here is the quick path to start upgrade from a pre-ALS firmware to an ALS firmware. This minimizes the chance to get bitten by serious unintentionaly retard accidentally activated.

Uploading the tables is similar (although it can be done from MegaTune - Remember to use a recent MegaTune for the ALS firmware):


We tried 1.0.63,and its not working.With the same retard entered into launch control the car makes crazy laoud popping and flames,with als is just tries to maintain the low rpm entered,no matter what the air volume is (different tps positions).

Looks like something is not working in the als code,further (hopefully personal ) investigation needed.

-- What Retard are you running? -60 degrees is probably way too much and will cause engine to run bad, if not break down.

Tried with -20 as this engine should have?

ALS is de-activated under the low-rpm as you know, and thereof starting to run under that threshold, goes back above the threshold, then either killed by bad code or way too much retard. Please enclose details to any further tests, like config and engine details, i presume 4valve audi engine. 2 valve engines doesnt need as much as 20 DATDC timing.

// Emil Larsson

//Emil

tried -20 -40 -60 degs ,the less retard entered,the less ALS boost is produced,but marginally no change in als behaviour.Look,we programed approx 10 cars with ALS,i know what an engine like this needs,also spoke with Hungarys 2 fastest audis (10.4 and 10.8 on 1/4) and they also use -40 -50 degs ignition during ALS.Also im able to test the als code on 6 SAME ENGINED audis,all with coil type triggers work well,but the N-1 one looks not ok.

With real -60 degs there should be an insanely laud bumm coming from the exhaust WHICH IS HAPPENING WITH ONLY -20 -25 AT LAUNCH activated (60 retard entered, so appr 40-60=20ATDTC!

With ALS at >40 ATDC retard the engine torque weakened so much that it revs down to the point (low-RPM=3000 in your config as you said) =>IT LEAVES ALS !!! So it does not apply retard any more under low-RPM.

//Fero

I think we definitely need the separated low RPM settings with RPM tresholds. If you want hi boost in ALS mode the you need high retard and much air. So the engine will not lost the RPM. We need cut the ignition, with an adjustable RPM range, but the retard should stay. For example, we retard above 1500 RPM, and start the IGN cut at 3500 RPM with an adjustable treshold. So when we release the throttle, and the rev is high, the engine goes into ALS mode. Retard and cut the ignition. It will run at about 3500 RPM, according to the Ign cut treshold. But it stay retarded too! So the turbo'll boost. The RPM does not go below 3500 until the time limit reached. When it reached, the ALS mode is turned off, and RPM is limited by the idle soft RPM limiter. We need a treshold for the retard too, for the smooth change. And also i suggest set the retartd from TDC absolute. If we have the treshold variables, than the retard settings could be set esily using the treshold.

So i think we need low RPM variables and tresholds for ign retard and ign cut too. Beleive me, all the rally cars and wrc-s uses theese method for ALS, and this is configurable for drag race too. I've tuned several cars for this way. No stalling at all. RPM hold while boost at wherever you want, and idle mode comes only when the time limit reached.