Difference between revisions of "Custom Features"
(Created page with "= Custom Features = == Existing custom features == === Eurodyne === ==== Octane Slider ==== Eurodyne software includes custom features for an adjustable Octane slider. The w...") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
#There's a function call within the existing ignition angle calculation. | #There's a function call within the existing ignition angle calculation. | ||
#There's custom code that checks to see if the slider is enabled | #There's custom code that checks to see if the slider is enabled | ||
− | ## | + | #No: |
− | ## | + | ##use the "low octane" timing map (which has been repurposed from one of the existing timing maps) |
+ | #Yes: | ||
+ | ##get the value from the slider (memory), and the minimum and maximum adjustable octane settings (cal) | ||
##calculate an interpolation factor | ##calculate an interpolation factor | ||
##perform a map lookup against the low timing map | ##perform a map lookup against the low timing map | ||
Line 15: | Line 17: | ||
##apply the interpolation factor to the basic timing outputs from the two timing maps | ##apply the interpolation factor to the basic timing outputs from the two timing maps | ||
##Store the output as the basic ignition angle setting | ##Store the output as the basic ignition angle setting | ||
− | |||
== Proposed custom features == | == Proposed custom features == | ||
Line 21: | Line 22: | ||
The factory FlexFuel in the Simos18 has the capability of adjusting mass fuel flow (mff) for varying levels of alternative fuel both via a sensor and sensorless (using trims, etc). However, it doesn't have the ability to adjust timing. | The factory FlexFuel in the Simos18 has the capability of adjusting mass fuel flow (mff) for varying levels of alternative fuel both via a sensor and sensorless (using trims, etc). However, it doesn't have the ability to adjust timing. | ||
− | Performance FlexFuel (@ZuMble) is the idea that in addition to handling the additional fuel required to reach stoich, the ECU can adjust timing to a point, as well. | + | Performance FlexFuel (@ZuMble) is the idea that in addition to handling the additional fuel required to reach stoich, the ECU can adjust timing to a point, as well. |
A proposal: | A proposal: | ||
− | Repurpose the Eurodyne | + | Repurpose the Eurodyne [[#Octane_Slider]] so that instead of looking up the adjustable slider value and the min and max octane values - it looks up the %alternative fuel value (fac_afu_ratio_det/fac_afu_ratio), and calculates an interpolation value against that. |
+ | |||
+ | Existing settings for "min and max octane for adjustable features" can stay the same. The calibration can be adjusted for 0 - 50, for example. | ||
+ | |||
+ | Existing octane slider functionality would be overridden/removed. The implications of the slider 'write dynamic identifier' would need to be assessed | ||
+ | |||
+ | The following code in the octane lookup: | ||
+ | <pre> | ||
+ | movh.a a15,#0xd002 | ||
+ | and | ||
+ | lea a15,[a15]-0x2172 //a15 = d001de8e | ||
+ | </pre> | ||
− | + | Should change to: | |
+ | <pre> | ||
+ | movh.a a15,0xd001 | ||
+ | and | ||
+ | lea a15,[a15]-0x3e2e //a15 = 0xd000c1d2, fac_afu_ratio_sens_mmv | ||
+ | </pre> | ||
− | + | Which in ASM is: | |
+ | <pre> | ||
+ | 91 20 00 fd => 91 10 00 fd | ||
+ | and | ||
+ | d9 ff ce ad => d9 ff 12 7c | ||
+ | </pre> | ||
− | + | To make the search/replace more specific: | |
+ | <pre> | ||
+ | 40 f6 91 20 00 fd 40 c5 d9 dd => 40 f6 91 10 00 fd 40 c5 d9 dd | ||
+ | and | ||
+ | 40 e4 d9 ff ce ad d9 cc ca ad => 40 e4 d9 ff 12 7c d9 cc ca ad | ||
+ | </pre> |
Latest revision as of 21:45, 15 December 2020
Contents
Custom Features
Existing custom features
Eurodyne
Octane Slider
Eurodyne software includes custom features for an adjustable Octane slider. The way the adjustable octane slider works is this:
- There's a function call within the existing ignition angle calculation.
- There's custom code that checks to see if the slider is enabled
- No:
- use the "low octane" timing map (which has been repurposed from one of the existing timing maps)
- Yes:
- get the value from the slider (memory), and the minimum and maximum adjustable octane settings (cal)
- calculate an interpolation factor
- perform a map lookup against the low timing map
- perform a map lookup against the high timing map
- apply the interpolation factor to the basic timing outputs from the two timing maps
- Store the output as the basic ignition angle setting
Proposed custom features
Performance flex fuel
The factory FlexFuel in the Simos18 has the capability of adjusting mass fuel flow (mff) for varying levels of alternative fuel both via a sensor and sensorless (using trims, etc). However, it doesn't have the ability to adjust timing.
Performance FlexFuel (@ZuMble) is the idea that in addition to handling the additional fuel required to reach stoich, the ECU can adjust timing to a point, as well.
A proposal:
Repurpose the Eurodyne #Octane_Slider so that instead of looking up the adjustable slider value and the min and max octane values - it looks up the %alternative fuel value (fac_afu_ratio_det/fac_afu_ratio), and calculates an interpolation value against that.
Existing settings for "min and max octane for adjustable features" can stay the same. The calibration can be adjusted for 0 - 50, for example.
Existing octane slider functionality would be overridden/removed. The implications of the slider 'write dynamic identifier' would need to be assessed
The following code in the octane lookup:
movh.a a15,#0xd002 and lea a15,[a15]-0x2172 //a15 = d001de8e
Should change to:
movh.a a15,0xd001 and lea a15,[a15]-0x3e2e //a15 = 0xd000c1d2, fac_afu_ratio_sens_mmv
Which in ASM is:
91 20 00 fd => 91 10 00 fd and d9 ff ce ad => d9 ff 12 7c
To make the search/replace more specific:
40 f6 91 20 00 fd 40 c5 d9 dd => 40 f6 91 10 00 fd 40 c5 d9 dd and 40 e4 d9 ff ce ad d9 cc ca ad => 40 e4 d9 ff 12 7c d9 cc ca ad