RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

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

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Sat Oct 30, 2010 3:32 am 
Offline
Newbie

Joined: Wed Apr 21, 2010 10:22 am
Posts: 8
I couldn't get the spreadsheet to work in Excel 2007, as I was getting this error: "This workbook has lost its VBA project, ActiveX controls and any other programmability-related features", but it worked in Excel XP after changing macro security to medium.

I altered the ROM headers to lower rpms and different loads to match my current map, as well as a higher arbitrary value for the last column.

I had to increase the swath of data that the pivottables get their data from since I had like 50,000 lines of data.

Because of the new headers, I had to add some more line entries to the line graph.

I noticed that some of the requested logged values aren't chosen for the headers, so is it not necessary to log MAF (g/s) since MAF (v) is used?

Awesome spreadsheet. Totally smoothed out my GR STi 2800rpm hiccup.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Fri Nov 12, 2010 2:38 am 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
Hi Airboy,

Can you do a revison to the spreadsheed that will allow computation of logs from can? It goes beyond the limit of excel rows if I put more than 3 15 min logs.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Fri Nov 12, 2010 5:37 am 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
Adding half of the generated corrections from the pivot table has proven to be very effective. :-)


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Sat Nov 13, 2010 5:23 am 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
nil5 wrote:
I've implemented a utility similar to this spreadsheet, but in Matlab, to get around the 65535 Excel row limit.

Here it is.

Note that the function data_load_1, loads data in a particular format and will have to be edited depending on the format of your log files.


How is this working out for you guys? Same results as with Airboys spreadsheet?


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Fri May 13, 2011 7:20 pm 
Offline
Moderator

Joined: Thu May 20, 2010 4:01 am
Posts: 3117
Location: Johannesburg, South Africa
Has anybody managed to get the spreadsheet working in Excel 2010, using CAN logged data? I keep on getting errors that then crash excel - specifically:

Automation Error
The object invoked has disconnected from its clients

And then when entering debug, it highlights:

Selection.sort Key1:=Sheets(vs_RPM_page).Range("A2"), Order1:=xlAscending, Header:=xlYes, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom

If you exit the debug mode, Excel freezes.

Any ideas? thanks

_________________
He who dies with the most gadgets wins.

Please do not PM me - use the email option.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Sun May 15, 2011 12:24 am 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
Works fine on my excel 10 x32.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Wed May 18, 2011 12:19 am 
Offline
Newbie

Joined: Fri Sep 03, 2010 3:50 pm
Posts: 37
Location: atx
MFB wrote:
nil5 wrote:
I've implemented a utility similar to this spreadsheet, but in Matlab, to get around the 65535 Excel row limit.

Here it is.

Note that the function data_load_1, loads data in a particular format and will have to be edited depending on the format of your log files.


How is this working out for you guys? Same results as with Airboys spreadsheet?


I haven't tried to do a direct comparison to Airboy's, but my results are satisfactory.

In my scripts, I did make a slight modification, to take advantage of the 'closed loop fueling target' parameter. In AIrboy's spreadsheet, I believe it assumes the target is 14.7,but in some cases it is not, which might help in some cases--but not sure. What I do is track the quantity:

abs(data.afr - data.cl_fueling_target) < 0.2

which amounts to saying 'fueling error less than 0.2.'

I posted my latest scripts here:
viewtopic.php?f=32&t=7233&start=0


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Wed May 18, 2011 12:38 am 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
In some ecus like the one I have, there's a close loop compensation that adds to the target afr of 14.7. Can you incorporate that?

Here's the definiton to CL Fueling target Compensation A & B (Load)

This is the compensation to the closed loop base fueling target based on load and engine speed. Other compensations (some undefined), are also applied. Note: Lean compensation in this table will potentially force open loop during normally closed loop fueling conditions.

However as stated , there are other tables in play that are still undefined as well. There must be a way to check if the corrections applied are correct to the target.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Wed May 18, 2011 10:24 am 
Offline
Newbie

Joined: Fri Sep 03, 2010 3:50 pm
Posts: 37
Location: atx
What is the mathematical expression of the target AFR the ECU is trying to achieve in closed loop? I don't know if I see that in my ECU.

With the scripts I posted, it would be very easy to add functionality like what you describe.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Tue Jun 21, 2011 10:42 pm 
Offline
Newbie
User avatar

Joined: Sun Jul 06, 2008 10:21 am
Posts: 5
Wonder if this would work for trimming out speed density rom closed loop portion :) I am thinking it might help a lot! I will have to throws some logs at it tomorrow.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Mon Jul 11, 2011 7:20 pm 
Offline
Newbie

Joined: Sun Jul 10, 2011 8:12 am
Posts: 9
Maybe I'm just excel-retarded, but I'm having trouble with the command buttons in the Excel spreadsheet. I'm trying on both Windows 7 and Windows XP and pressing the buttons seem to do nothing, as if it's in edit mode. Any idea how to activate the buttons?


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Mon Jul 11, 2011 7:47 pm 
Offline
RomRaider Donator
User avatar

Joined: Mon Dec 15, 2008 3:12 am
Posts: 672
Location: The Philippines
You should allow macros to run on your worksheet.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Mon Jul 11, 2011 9:30 pm 
Offline
Newbie

Joined: Sun Jul 10, 2011 8:12 am
Posts: 9
Took a while to hunt down the macros settings but all is good now, thanks.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Fri Aug 05, 2011 5:39 pm 
Offline
Experienced

Joined: Tue Nov 21, 2006 5:31 am
Posts: 337
Airboy wrote:
The pivot table currently has ~9000 lines. You can change that by right-click on the pivot table and call up the Pivot Table Wizard. On the next window that pops up, click the "Back" button and change the data range.


(in excel 2k7) I only see "pivot table options" when I right click, not pivot table "wizard". In pivot table options, I dont see where I can increase the range. Any input is greatly appreciated.


Top
 Profile  
 
 Post subject: Re: Spreadsheet to generate fuel trim pivot table (RPM v. MR
PostPosted: Mon Apr 02, 2012 6:17 pm 
Offline
Newbie

Joined: Thu Jan 20, 2011 4:11 pm
Posts: 35
Location: Taiwan
Help, please!

I keep getting error message and halt on this command,
ActiveSheet.PivotTables("PivotTable_Total").PivotFields("Count of Total_Correction").Function = xlAverage

Can't get it work on both office 2003 and 2010.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 52 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

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