MembersPage/GaborRacz/NewAlsLaunchAndOthers (2006-10-14 16:25:20)

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):