RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 3:54 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: MAF Scaling Open Loop - External Wideband
PostPosted: Sun Apr 07, 2013 1:05 am 
Offline
Newbie

Joined: Sat Sep 17, 2011 11:20 pm
Posts: 51
I've been looking at the code for the MAF scaling tab. Its looks like the code for capturing external wideband data already in place. It looks like most of the re-factoring needs to take place on the MafUpdateHandler. Mostly read external wideband data and ignore AFR correction #1 as well as AFRlearning # 1. Use the wideband output and calculate % correction based on AFR table.

I identified that I can pull the Primary Open Loop Fueling table using the TableFinder. However, the table names are not standardized across ecu definitions. Additionally, if I search for Primary Open Loop Fueling multiple tables are returned, and thus it isnt 100% reliable at the moment. Maybe the answer is to prompt the user which table should be used.

Is there a dataItem for target AFR? I couldn't find a dataItem in the latest definitions. This would make it easier not having to pull the table.

Any thoughts? Anything I need to be made aware of?

_________________
RomRaider IRC Chat: http://webchat.freenode.net/?channels=romraider


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Sun Apr 07, 2013 1:53 am 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 10:14 am
Posts: 316
Location: Kenya
nitros wrote:
I've been looking at the code for the MAF scaling tab. Its looks like the code for capturing external wideband data already in place. It looks like most of the re-factoring needs to take place on the MafUpdateHandler. Mostly read external wideband data and ignore AFR correction #1 as well as AFRlearning # 1. Use the wideband output and calculate % correction based on AFR table.

I identified that I can pull the Primary Open Loop Fueling table using the TableFinder. However, the table names are not standardized across ecu definitions. Additionally, if I search for Primary Open Loop Fueling multiple tables are returned, and thus it isnt 100% reliable at the moment. Maybe the answer is to prompt the user which table should be used.

Is there a dataItem for target AFR? I couldn't find a dataItem in the latest definitions. This would make it easier not having to pull the table.

Any thoughts? Anything I need to be made aware of?


I have been using Final Fueling Base log parameter as the target AFR with pretty good end results.

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Sun Apr 07, 2013 8:16 pm 
Offline
Newbie

Joined: Sat Sep 17, 2011 11:20 pm
Posts: 51
Thanks, I'll look into it, I hope all ECU's have this

_________________
RomRaider IRC Chat: http://webchat.freenode.net/?channels=romraider


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Mon Apr 08, 2013 8:08 am 
Offline
Senior Member

Joined: Thu Aug 03, 2006 10:40 am
Posts: 1934
good stuff!


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Tue Apr 09, 2013 8:56 pm 
Offline
Newbie

Joined: Sat Sep 17, 2011 11:20 pm
Posts: 51
The code is pretty darn close. It is functional at this point. There is still some clean up I need to do.

1) ClosedLoop and OpenLoop work in parallel.
2) If ecu turns to openloop and a UseWideband is selected, it will use the external wideband.
3) All filters are applied to both closed loop and openloop mode.
4) The logger definition for Final Fueling Base must be available for your ecu.
5) This is not yet final

Here is a screenshot of it using my TXS Tuner Lite wideband, I forced the code to run open loop only. Due to a bad release bearing I cannot drive my car to do a proper test. I am willing to give this sample to testers, with the condition they do not actually use it to scale their maf, or edit any parts of the maf with the JAR I provide. There is alot of testing that needs to be done.
Image

_________________
RomRaider IRC Chat: http://webchat.freenode.net/?channels=romraider


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Tue Apr 09, 2013 10:40 pm 
Offline
Experienced
User avatar

Joined: Sun Apr 27, 2008 10:14 am
Posts: 316
Location: Kenya
nitros wrote:
The code is pretty darn close. It is functional at this point. There is still some clean up I need to do.

1) ClosedLoop and OpenLoop work in parallel.
2) If ecu turns to openloop and a UseWideband is selected, it will use the external wideband.
3) All filters are applied to both closed loop and openloop mode.
4) The logger definition for Final Fueling Base must be available for your ecu.
5) This is not yet final

Here is a screenshot of it using my TXS Tuner Lite wideband, I forced the code to run open loop only. Due to a bad release bearing I cannot drive my car to do a proper test. I am willing to give this sample to testers, with the condition they do not actually use it to scale their maf, or edit any parts of the maf with the JAR I provide. There is alot of testing that needs to be done.


Nice work, willing to help test if needed. Thanks for taking the time.

_________________
2009 JDM STi Spec C
RCM420-SR60
IDX1050
RCM FPR & PFR


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Thu Apr 11, 2013 10:46 am 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Looks like this doesn't break support for tuning by the stock wideband in both closed and open loop once the sensor is moved post-turbo. Nice.

_________________
MS41 Project Leader & Co-Developer (2012 - 2023)
MS41.3 https://sites.google.com/site/openms41/custom-code---ms41-3
MS41 ECU Portal https://sites.google.com/site/openms41/ms41-ecu-portal


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Tue May 14, 2013 1:26 am 
Offline
Newbie
User avatar

Joined: Thu Dec 03, 2009 4:52 am
Posts: 27
Location: CA Bay Area
This looks like a great addition!


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Tue Jul 09, 2013 2:05 pm 
Offline
Experienced

Joined: Wed Aug 29, 2012 1:52 pm
Posts: 109
Location: MA
Excellent, I think I asked for this a couple months ago. The other thing that would be excellent to add that I didnt notice was there would be something that makes it ignore data during transient enrichment. Either from a max dTPS value that we could set, or if there is a flag for when transient enrichments are happening.


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Mon Sep 09, 2013 3:31 am 
Offline
Newbie

Joined: Sat Sep 17, 2011 11:20 pm
Posts: 51
Sorry there hasn't been an update in a while been extremely busy at work. I should hopefully have this feature completed by end of this week.

_________________
RomRaider IRC Chat: http://webchat.freenode.net/?channels=romraider


Top
 Profile  
 
 Post subject: Re: MAF Scaling Open Loop - External Wideband
PostPosted: Tue Sep 10, 2013 2:14 pm 
Offline
Newbie

Joined: Sat Sep 17, 2011 11:20 pm
Posts: 51
I tested it last night. I am having a weird problem where the data is very delayed or not all caught. I will try to figure this out. Dev's if you have any ideas let me know.

_________________
RomRaider IRC Chat: http://webchat.freenode.net/?channels=romraider


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

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 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