Notices
ECU Flash

The stock ECU has gear dependent boost control!

Thread Tools
 
Search this Thread
 
Old Dec 1, 2008 | 03:17 AM
  #151  
jcsbanks's Avatar
Evolved Member
20 Year Member
Photogenic
Photoriffic
Shutterbug
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Since we are logging the lower byte there is no more information in that SPEED variable then. We could look at FFFF6B7A, could be that we can get a better method of measuring such as measuring the time between pulses rather than the pulses in a certain time (if this is how it is done). Need to look more at the disasm.
Reply
Old Dec 1, 2008 | 03:22 AM
  #152  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
yeah but MUT2F doesn't make the RPM/Speed variable, its done on speed pulses.. not sure if we can increase the speed pulses resolution???
Reply
Old Dec 1, 2008 | 04:11 AM
  #153  
jcsbanks's Avatar
Evolved Member
20 Year Member
Photogenic
Photoriffic
Shutterbug
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
If they are measuring the frequency of pulses by counting over a time period, then it could be improved by measuring the period between pulses (this is how the terrible apparent resolution on the MAF is improved at idle at least on the old DSM). I think many have noticed how terrible the resolution is for speed in their logs, and you're finding that it struggles to reliably differentiate between adjacent gears.

The resolution in the AYC/ACD ECU will be much better because it uses toothed wheels and the frequency will be much higher than the gearbox sensor I think the engine ECU is using, but there is no connection we can implement in code as the engine ECU doesn't see these sensors.

I'll have a look at the disasm later on, unless someone beats me to it.

Last edited by jcsbanks; Dec 1, 2008 at 04:15 AM.
Reply
Old Dec 1, 2008 | 05:04 AM
  #154  
dan l's Avatar
Account Disabled
iTrader: (3)
 
Joined: Apr 2006
Posts: 1,029
Likes: 0
From: USA
But for people who don't have the AYC/ACD or will be removing it along with on the 9's that may cause problems.
Reply
Old Dec 1, 2008 | 05:06 AM
  #155  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
well we can increase the res for the speed variable by reducing the timer used for copying over the accumulated speed counter.

but yeah like I said b4 this speed variable isn't used in the rpm/speed routine that MrFred found.

I think the problem is that speed != rpm, ie speed is a function of rpm, but not exactly - there is slack involved.

If we could gate or bracket the rpm/speed variable into something discreet then that would be much better. but also lot harder code wise.
Reply
Old Dec 1, 2008 | 05:28 AM
  #156  
jcsbanks's Avatar
Evolved Member
20 Year Member
Photogenic
Photoriffic
Shutterbug
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
You CAN bracket any variable into something discrete with a few lines of code using the stock ECU routines. Just load one register with the address of your table and make a JSR. The table has the source and destination variables with the breakpoints. Your destination variable contains your gear number-1 which you use to look up your table.

Your new table looks something like this (about 22 bytes):

Source
Destination
Number of items
Speed for gear 0
Speed for gear 1
Speed for gear 2
Speed for gear 3
Speed for gear 4
Speed for gear 5

Hope I'm not telling you how to suck eggs!

Last edited by jcsbanks; Dec 1, 2008 at 05:55 AM.
Reply
Old Dec 1, 2008 | 05:28 AM
  #157  
MR Turco's Avatar
EvoM Staff Alumni
iTrader: (16)
 
Joined: May 2007
Posts: 3,233
Likes: 3
From: Massachusetts
Another problem is if someone happens to have a tiny wheel setup for the track it might throw off the entire variable. Obviously not an issue 100% of the time but still a caveat to note.
Reply
Old Dec 1, 2008 | 05:52 AM
  #158  
acamus's Avatar
Evolved Member
 
Joined: Mar 2008
Posts: 730
Likes: 3
From: Lattitude 48.38°, Longitude 17.58°, Altitude 146m = Slovakia, for common dude
Originally Posted by tephra
well we can increase the res for the speed variable by reducing the timer used for copying over the accumulated speed counter.

but yeah like I said b4 this speed variable isn't used in the rpm/speed routine that MrFred found.

I think the problem is that speed != rpm, ie speed is a function of rpm, but not exactly - there is slack involved.

If we could gate or bracket the rpm/speed variable into something discreet then that would be much better. but also lot harder code wise.
i went to mrfred's ROM and I see Speed_Pulses*RPM/4 to be the variable that is checked with the "Boost Control Limiting Speed" (sub_EEE = R4*R5 and not R4/R5), am I missing something here?
Reply
Old Dec 1, 2008 | 02:31 PM
  #159  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
Mike - yup the code will allow a custom rpm/speed... so different boxes or wheels will be ok.

John - what is the subroutine to do the table lookup, or are you just using Query_Table_2D... hrmm I didn't think of doing that with just gear numbers... wonder how well it would work... might try that! duh im donkey
Reply
Old Dec 1, 2008 | 02:35 PM
  #160  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
acamus - yeah I know... not sure exactly how it all works out, but in the real world its rpm/speed
Reply
Old Dec 1, 2008 | 03:09 PM
  #161  
jcsbanks's Avatar
Evolved Member
20 Year Member
Photogenic
Photoriffic
Shutterbug
 
Joined: May 2006
Posts: 2,399
Likes: 6
From: UK
Yes Dave. I think the table structure is dest, source, length, data.

I was looking a bit at some speed pulse stuff, looks like a counter in that really long and skinny interrupt called subroutine is incremented there, and perhaps reset by another interrupt. Complex!
Reply
Old Dec 1, 2008 | 03:47 PM
  #162  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
yeah - im not too good at deciphering code - you and mrfred are much better at that

let me get the bracketing going...
Reply
Old Dec 2, 2008 | 04:36 AM
  #163  
tephra's Avatar
EvoM Guru
15 Year Member
iTrader: (6)
 
Joined: Feb 2007
Posts: 9,486
Likes: 67
From: Melbourne, Australia
man that was hard work.

axis lookup -> 2d table lookup -> axis lookup -> 3d table lookup.

hopefully it works ... test on the way to work tomorrow

I have added a 7th column with gear 0, so that you can run 100% wgdc for launch, if thou so desires!
Reply
Old Dec 2, 2008 | 05:38 AM
  #164  
fostytou's Avatar
EvoM Community Team
iTrader: (15)
 
Joined: Sep 2006
Posts: 3,143
Likes: 7
From: Aurora, IL
Originally Posted by tephra
man that was hard work.

axis lookup -> 2d table lookup -> axis lookup -> 3d table lookup.

hopefully it works ... test on the way to work tomorrow

I have added a 7th column with gear 0, so that you can run 100% wgdc for launch, if thou so desires!
Me likey ...this also works for the people who are saying they come out too hard or want to be softer on their drivetrain. Have a lower boost until speed catches up with RPM if you so desire!

Might not be so bad to halfway interpolate that one, but I think its a moot point and probably not worth the work.
Reply
Old Dec 2, 2008 | 06:16 AM
  #165  
Deepnine's Avatar
Evolving Member
iTrader: (4)
 
Joined: Apr 2008
Posts: 186
Likes: 0
From: Germany
What happens when clutch is slipping?
Reply



All times are GMT -7. The time now is 01:09 AM.