E90Post
 


 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Powertrain and Drivetrain Discussions > N57 / M57 Turbo Diesel Discussions - 335d > Transmission remap - Let's do it ourselves



Reply
 
Thread Tools Search this Thread
      09-02-2016, 07:54 PM   #1365
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

I'm trying to figure out what we can do in the data logging to answers these kinds of questions. Really appreciate the dialogue. It makes me think ...
Appreciate 0
      09-02-2016, 09:11 PM   #1366
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by DWR View Post
I'm just grasping at straws, and revisiting things I've already deciphered.

In my logs, SA_WERT it is the same in D or S. So, not directly related to maps.

Similarly, STAT_SCHALTDIAGRAMM_AGS_WERT = XE, even in S. I don't think it ever changes, just as others have said. So, how can the trans always be in extreme economy mode?
Quote:
Originally Posted by _TB_ View Post
My 325d is in xe when I. D and in s when in ... S
Oops, data logging error. I see it now.
Appreciate 0
      09-02-2016, 09:36 PM   #1367
Hoooper
Colonel
213
Rep
2,210
Posts

Drives: 335D
Join Date: Jun 2013
Location: Petaluma, CA

iTrader: (0)

Quote:
Originally Posted by DWR View Post
So, you are saying now that the map lookup is NOT by current gear and OSS.
It can be in 6th gear and make a shift based on a 5>4 downshift. Since we know the trans can skipshift, why didn't go into 4th? Not trying to be argumentative, just trying to nail down the logic. Wouldn't it have hit the 4>5 upshift first?
Maybe it did hit the 4-5 upshift and that triggered 5th? I would be surprised that it would downshift at the upshift line but since the programming is obviously not set up to deal with the type of scenario you get by flatlining the 6-5 down I would say anything is possible.

FWIW I was thinking it looked like it spiked RPM more on the second test than the first, suggesting a lower gear. It must be in your log but on a scale that doesnt make sense, how can you be sure it was only shifted to 4th? I can see it at the bottom there but the scale is way too small to tell, obviously you have the raw data so would know.
Appreciate 1
Mik325tds808.00
      09-03-2016, 10:27 AM   #1368
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Quote:
Originally Posted by Hoooper View Post
Maybe it did hit the 4-5 upshift and that triggered 5th? I would be surprised that it would downshift at the upshift line but since the programming is obviously not set up to deal with the type of scenario you get by flatlining the 6-5 down I would say anything is possible.

FWIW I was thinking it looked like it spiked RPM more on the second test than the first, suggesting a lower gear. It must be in your log but on a scale that doesnt make sense, how can you be sure it was only shifted to 4th? I can see it at the bottom there but the scale is way too small to tell, obviously you have the raw data so would know.
Good discussion guys. That's exactly what this thread was made for. Hoooper I see what you're suggesting now. Assuming the strategy is to always find the correct spot in the map for any given combination of OSS and Throttle input, my 70% throttle input could have caused a downshift to 4th and immediate upshift to 5th. However, according to the traces and map that should have already happened at around 50%.
Given the interest in the data, I massaged the plots a little bit more, deleted the torque as currently irrelevant and matched the scaling. Since OSS and wheelspeed are closely related (diff ratio), I calculated the OSS for the second log and also displayed that. Data is attached in the .zip file for anyone interested.
Attached Images
  
Attached Files
File Type: zip 7610591_mod_logs.zip (129.4 KB, 110 views)
Appreciate 0
      09-03-2016, 10:57 AM   #1369
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Actually, Hoooper might be right. The downshift occured exactly where the throttle input and OSS hit the 5>4 downshift line. Except that it didn't shift to 4th but 5th.
I guess the only way to find out if the 5>4 line caused the shift is to edit that one too. But that'll have to wait a couple of weeks.
Attached Images
 
Appreciate 0
      09-04-2016, 05:57 AM   #1370
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by Mik325tds View Post
Actually, Hoooper might be right. The downshift occured exactly where the throttle input and OSS hit the 5>4 downshift line. Except that it didn't shift to 4th but 5th.
I guess the only way to find out if the 5>4 line caused the shift is to edit that one too. But that'll have to wait a couple of weeks.
Mik325tds, throttle scale is from a Ford map. We don't know scale on the BMW map, do we? Also, it should have 13 data points. Not sure that changes the hypothesis, though.

Last edited by DWR; 09-04-2016 at 11:13 AM..
Appreciate 0
      09-04-2016, 02:34 PM   #1371
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Quote:
Originally Posted by DWR View Post
Mik325tds, throttle scale is from a Ford map. We don't know scale on the BMW map, do we? Also, it should have 13 data points. Not sure that changes the hypothesis, though.
I hate to be imperfect. Here's the corrected map. At least we're not lacking pretty pictures these last pages.
According to the trace, I crossed the 5>4 line with OSS 1914 rpm and throttle 78% about a 100ms before the STAT_SA invoked the shift. That is still a pretty good fit.
If this hypothesis is true, it should not shift until 100% throttle input if I'm driving faster than 110km/h (OSS=2715rpm).
Attached Images
 
Appreciate 0
      09-04-2016, 03:34 PM   #1372
_TB_
Lieutenant
152
Rep
453
Posts

Drives: E91 325d Touring
Join Date: Jul 2015
Location: Denmark

iTrader: (0)

Quote:
Originally Posted by DWR View Post
Mik325tds, throttle scale is from a Ford map.
Perhaps you can use some of the Bosch factors from EDC16/17?

Throttle (%) = (0.012207*[INPUT-EEPROM]/1)
RPM = (1.0000*[INPUT-EEPROM]/1)
Temperature (C) = (0,1000*[INPUT-EEPROM]/1)+(-273.1)
Time (uS) = (0,976*[INPUT-EEPROM]/1)
Engine Torque (NM) = (0,1000*[INPUT-EEPROM]/1)
Appreciate 0
      09-04-2016, 05:27 PM   #1373
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

I've plotted a point (star) at @1900, 78% throttle. Unless I've made a mistake, it is not near any shift point, on this map.
Attached Images
 

Last edited by DWR; 09-04-2016 at 05:47 PM..
Appreciate 0
      09-04-2016, 05:53 PM   #1374
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Quote:
Originally Posted by DWR View Post
I've plotted a point (star) at @1900, 78% throttle. Unless I've made a mistake, it is not near any shift point, on this map.
Well, yes, it is below the 5>4 shift line, thus it would determine to shift. Just like if the OSS would fall below the 6>5 line.
Appreciate 0
      09-04-2016, 05:54 PM   #1375
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Quote:
Originally Posted by _TB_ View Post
Perhaps you can use some of the Bosch factors from EDC16/17?

Throttle (%) = (0.012207*[INPUT-EEPROM]/1)
RPM = (1.0000*[INPUT-EEPROM]/1)
Temperature (C) = (0,1000*[INPUT-EEPROM]/1)+(-273.1)
Time (uS) = (0,976*[INPUT-EEPROM]/1)
Engine Torque (NM) = (0,1000*[INPUT-EEPROM]/1)
Not sure what to do with that. What value is EEPROM?
Appreciate 0
      09-04-2016, 07:47 PM   #1376
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by Mik325tds View Post
Well, yes, it is below the 5>4 shift line, thus it would determine to shift. Just like if the OSS would fall below the 6>5 line.
Yes, and it shifts back up to 6th when it drops below 25% throttle.
Just don't understand why it did not shift down to 4th. It met the criteria. It was solidly there, not just a tip in.

If you gave it more throttle, would it go down to 4th when it crossed the 4>3 shift line? If so, that means the shift lines are not gear specific. That would be very interesting.
Appreciate 0
      09-05-2016, 12:37 PM   #1377
_TB_
Lieutenant
152
Rep
453
Posts

Drives: E91 325d Touring
Join Date: Jul 2015
Location: Denmark

iTrader: (0)

Quote:
Originally Posted by Mik325tds View Post
Not sure what to do with that. What value is EEPROM?
That is the value found in the file. (16bit HiLo)
Appreciate 0
      09-05-2016, 01:55 PM   #1378
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Quote:
Originally Posted by DWR View Post
Yes, and it shifts back up to 6th when it drops below 25% throttle.
Just don't understand why it did not shift down to 4th. It met the criteria. It was solidly there, not just a tip in.

If you gave it more throttle, would it go down to 4th when it crossed the 4>3 shift line? If so, that means the shift lines are not gear specific. That would be very interesting.
Interesting logging session this morning. I tried some 100% throttle inputs at various speeds to see which gear it ends up in. The first try then revealed no shift at all. It stayed in 6th gear. However, the trace of STAT_SCHALTDIAGRAMM_AGS_TEXT revealed that I was in 'HM' mode - whatever that is. My only guess is that it means "Heating mode" as I had only driven 4 miles so far.
More traces later.
Attached Images
 
Appreciate 0
      09-05-2016, 11:21 PM   #1379
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by _TB_ View Post
That is the value found in the file. (16bit HiLo)
You are correct, no doubt there are values in the file for the axis. Unfortunately, we are uncertain what those values are.
Appreciate 0
      09-05-2016, 11:27 PM   #1380
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by Mik325tds View Post
Interesting logging session this morning. I tried some 100% throttle inputs at various speeds to see which gear it ends up in. The first try then revealed no shift at all. It stayed in 6th gear. However, the trace of STAT_SCHALTDIAGRAMM_AGS_TEXT revealed that I was in 'HM' mode - whatever that is. My only guess is that it means "Heating mode" as I had only driven 4 miles so far.
More traces later.
That's interesting, I assumed HM was Hot Mode.
Appreciate 0
      09-06-2016, 03:51 AM   #1381
_TB_
Lieutenant
152
Rep
453
Posts

Drives: E91 325d Touring
Join Date: Jul 2015
Location: Denmark

iTrader: (0)

Quote:
Originally Posted by DWR View Post
You are correct, no doubt there are values in the file for the axis. Unfortunately, we are uncertain what those values are.
Yes that is some of the hard part. I'll see if the headers are normal Bosch headers.

As for the maps, they (the 3d and 2d) are pretty straightforward to find.

if we look at the file in 2d, 16bit HiLo:

View post on imgur.com


The pattern is pretty obvious - lets look at the values.. (disregard the ols map identifying for a second..)

View post on imgur.com


The two first values are 8 and 10 - that means we have a 8x10 3d map. The 8 first values after 10 is the X axis, and the next 10 are the Y axis. Then the next 80 values are the output values.

3d view of the map:

View post on imgur.com



The next task (for me) is to compare a D3 file with a B3 file since they are almost identical - apart from being for a gasoline and a diesel engine. This will give us vital information about the shift maps.

(The map in question here is not changed between the D3 and the B3 file)
Appreciate 2
Mik325tds808.00
DWR799.00
      09-06-2016, 09:06 AM   #1382
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by _TB_ View Post
Yes that is some of the hard part. I'll see if the headers are normal Bosch headers.

As for the maps, they (the 3d and 2d) are pretty straightforward to find.

if we look at the file in 2d, 16bit HiLo:

Name:  1.png
Views: 683
Size:  20.8 KB

The pattern is pretty obvious - lets look at the values.. (disregard the ols map identifying for a second..)

Name:  2.png
Views: 658
Size:  25.7 KB

The two first values are 8 and 10 - that means we have a 8x10 3d map. The 8 first values after 10 is the X axis, and the next 10 are the Y axis. Then the next 80 values are the output values.

3d view of the map:

Name:  3.png
Views: 674
Size:  83.3 KB


The next task (for me) is to compare a D3 file with a B3 file since they are almost identical - apart from being for a gasoline and a diesel engine. This will give us vital information about the shift maps.

(The map in question here is not changed between the D3 and the B3 file)
I believe the reason that WinOLS does not recognize the shift maps is because they do not take that form. However, you just reminded me of how I found the axis scales before. Here they are, first column is the value in the file, second is a scaled axis.
0 0
40 4
180 16
330 30
480 44
550 50
620 56
630 57
920 84
960 87
970 88
1000 91
1100 100
Appreciate 1
Mik325tds808.00
      09-06-2016, 09:19 AM   #1383
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Here is my inventory of potential maps:

Name:  1.png
Views: 706
Size:  27.6 KB
The shift maps are not in this inventory because I did not originally search for maps with axis greater than 13. I found those by visual inspection.

Has anyone identified what any of these maps are for?

It is a great idea to compare various cal file. That's what I am doing also. Still, it is a tremendous task.
Appreciate 1
Mik325tds808.00
      09-06-2016, 10:05 AM   #1384
dave205t
Private First Class
218
Rep
109
Posts

Drives: BMW e90
Join Date: Jan 2016
Location: Netherlands

iTrader: (0)

Quote:
Originally Posted by DWR View Post
Here is my inventory of potential maps:
It is a great idea to compare various cal file. That's what I am doing also. Still, it is a tremendous task.
Hi Guys,

I should be able to help out there. If you have a single confirmed start address of a shift map for me, i will be able to produce a list of maps belonging to that same shift program.

Best regards, Dave
Appreciate 1
Mik325tds808.00
      09-06-2016, 01:23 PM   #1385
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Dave, info on the way.
Appreciate 0
      09-06-2016, 08:32 PM   #1386
Mik325tds
Major
Mik325tds's Avatar
United_States
808
Rep
1,192
Posts

Drives: 335d M-Sport
Join Date: Jul 2014
Location: Greater Detroit

iTrader: (0)

Here are the rest of the logs from yesterday. This one was to confirm that there would be no shift if I go faster than 110 km/h (OSS>2715rpm) and roll in the throttle to almost 100%. I did this twice with different roll-in speeds. Both instances resulted in shifts to 5th. That would confirm my theory of the external modifier since the map clearly didn't pass a shift point.
Attached Images
 
Appreciate 2
DWR799.00
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 10:20 AM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST