RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 9:13 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Closed Loop Fueling Target Lambda Limits
PostPosted: Sat Dec 06, 2025 2:40 am 
Offline
Experienced

Joined: Sun Jun 28, 2020 2:25 am
Posts: 237
Hi there RR,

I'm investigating some Closed Loop routines this week in order to make some new patch functions and features.

Recently I have added the Closed Loop Compensations (ECT) to the Flex Fuel Functions, that way I can have a regular CL Target on Closed Loop warm-up for Gas, and a richer for Ethanol.

However, I've noticed that there was always a limit of 0.15 lambda enrichment for Closed Loop compensations. The richest I could go was 0.85 lambda, always, dispite adding higher and higher compensations.

Ethanol closed loop warm-up requires, 0.78 to 0.82 lambda below 30C, which is not possible without modifying those limits.

So I went deep on that CL routine and found out there was indeed a limit for Closed Loop Lambda MAX and MIN, post compensations.

On 32bit ROMs, search for 3F599999, you will find two main occurrences in the same Subroutine.

The main one limits the max and min, as follows:

mov #h'FFFFFFF0, r0
fmov.s @(r0,r9), fr4
mov #h'FFFFFFF8, r0
fmov.s @(r0,r9), fr8
fadd fr8, fr4
fldi1 fr8
fadd fr8, fr4
mov.l #Possible_Max_CL_Lambda_PostCompensations_B, r2
fmov.s @r2, fr6
mov.l #Possible_Min_CL_Lambda_PostCompensations_B, r2
jsr @r10 ; sub_BE634
fmov.s @r2, fr5

on my ROM, BE634 is the subroutine that does a basic comparison:

if value > max, value = max.
if value < min, value = min
else value = value.

* Changed the values to 0.75 and now closed loop allows compensations up to 0.75 lambda, verified in car.

Not sure if thats gonna be useful for anyone in the future, as ethanol blends lower than E85 won't require those fine tunings.

Best regards
Tom

_________________
2011 Forester S Edition 5EAT~ Flex Fuel
2011 WRX 6MT ~ Flex Fuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl