The Subaru SVX World Network

The Subaru SVX World Network (https://www.subaru-svx.net/forum/index.php)
-   Technical Q & A (https://www.subaru-svx.net/forum/forumdisplay.php?f=5)
-   -   Gearshift Maps (https://www.subaru-svx.net/forum/showthread.php?t=46581)

Trevor 11-21-2009 07:09 AM

Re: Gearshift Maps Thread Hijack
 
Quote:

Originally Posted by cdvs (Post 625662)
Your work may be interesting, but IMO, it doesn't belong here in this thread.
It has only marginal relationship to the transmission.
What would anyone need to monitor, in semi-real time, in the transmission that isn't immediately apparent?
Even if you have a good answer, most of the focus is on engine performance.
The transmission is secondary.
From what I've seen, no method is provided to change the Gear Shift Maps.
Regardless, putting your stuff here steps on and thereby diminishes Phil's contribution.
Please, ask the Admins to move this stuff to it's own thread.

Yes, the thread has been well and truly over run and the original concept is no longer being followed. A separate thread is called for in order to sort things out.

Those posting more or less on a commercial front, surely should separate their promotions accordingly. ;)

longassname 11-21-2009 07:14 AM

Re: Gearshift Maps
 
I have no qualms about removing or moving my posts.

I've been posting here because I like to support Phil's transmission control unit work and it's my hope that the Ecutuner software/interface package will result in exponentially increasing his library of TCU and ECU firmware.

My appologies

b3lha 12-05-2009 01:44 PM

Re: Gearshift Maps
 
Good stuff Mike, thanks for sharing.

Any chance I can get a copy of your software to play with when it's ready?

Phil.

longassname 12-05-2009 02:09 PM

Re: Gearshift Maps
 
Yep, the software will be a public download but the coms will require the use of a ttl232r cable which has been purchased from/programmed by me. I'll send you a cable.

I'm working on data and table editing features now. The features and tabs involved in communicating with the control unit, everything from set up to monitoring parameters, monitoring bitmaps, clearing memory, and downloading firmware is complete (including debugging and optimizing). I just stopped posting progress after being scolded for jacking your thread.


Quote:

Originally Posted by b3lha (Post 627135)
Good stuff Mike, thanks for sharing.

Any chance I can get a copy of your software to play with when it's ready?

Phil.


cdvs 12-05-2009 02:39 PM

Re: Gearshift Maps
 
Quote:

Originally Posted by longassname (Post 627136)
....I just stopped posting progress after being scolded for jacking your thread.

I certainly didn't scold you or ask you to stop posting. Your work is worthy of it's own, properly indentified thread.

I can understand how this may have happened. The commumication hardware does seem, at first, to have direct application. However, everything not related to downloading the TCU ROM doesn't. Starting here put you on a slippery slope.

Failing to correct the situation after you were alearted to it might be a scoldable offense, but I have no interest in doing so. What you do about this reflects more on your character than your work.

Trevor 12-05-2009 06:27 PM

Re: Gearshift Maps
 
Quote:

Originally Posted by cdvs (Post 627139)
I certainly didn't scold you or ask you to stop posting. Your work is worthy of it's own, properly indentified thread.

I can understand how this may have happened. The commumication hardware does seem, at first, to have direct application. However, everything not related to downloading the TCU ROM doesn't. Starting here put you on a slippery slope.

Failing to correct the situation after you were alearted to it might be a scoldable offense, but I have no interest in doing so. What you do about this reflects more on your character than your work.

Congratulations are due.

At long last, another who in spite of possible negative reaction, has the courage to make a statement, due and necessary in the interest of members.

b3lha 12-08-2009 05:15 PM

Re: Gearshift Maps
 
A member here recently sent me an email asking this question
Quote:

How would one recalibrate the tcm on an svx to change the line pressure of the transmission.
As we know, the line pressure is controlled by Duty Solenoid A, so I'm rephasing the question as "How can we adjust the duty cycle of solenoid A?".

The subroutine that determines the Sol A Duty cycle is at address EBAA in the USDM TCU (rom id:705404). First it chooses a map from a list of thirty seven 16bit map addresses at location C870.
Code:

0000C870  C9 0E C9 26 C9 3E C9 56 C9 0E C9 0E C9 6E C9 86 
0000C880  C9 B6 C9 CE C9 0E C9 9E C9 E6 C9 FE CA 16 C9 0E 
0000C890  CA 2E CA 46 CA 5E CA 76 CA 8E CA A6 CA BE CA D6 
0000C8A0  CA EE CA A6 CA A6 CB 06 CB 1E CB 4E CB 66 CA A6 
0000C8B0  CB 36 CB 7E CB 96 CB AE CA A6

The first block of 16 addresses (C90E,C926,C93E,....,CA16,C90E) are used when the Torque Control Signal has failed (trouble code 25).
The next address CA2E (at C890) is used for Reverse gear.
The next four addresses (CA46,CA5E,CA76,CA8E), I'm not quite sure about. Maybe they are used under some kind of error condition. The 1st one related to 1st gear, the 2nd for 2nd gear etc.
The important part is the final block of 16 addresses from C89A to C8B9. These are split as follows
Code:

        Want_1  Want_2 Want_3 Want_4
Gear_1  CAA6  CABE  CAD6  CAEE
Gear_2  CAA6  CAA6  CB06  CB1E
Gear_3  CB4E  CB66  CAA6  CB36
Gear_4  CB7E  CB96  CBAE  CAA6

To explain, if the car is driving along happily in 3rd, it will use Gear_3_Want_3, the map at CAA6. If it is in 3rd, but has decided that it is about to change down to 2nd, it will use Gear_3_Want_2, the map at CB66. Similarly if it is in 3rd but has decided that it is about to change up to 4th then it will use Gear_3_Want_4, the map at CB36.
Now I'll explain how to decode the maps, taking the one at CAA6 as an example:
Code:

0000CAA0  xx xx xx xx xx xx 0F 7D 23 28 1F FA 1B 58 2F 96
0000CAB0  27 D8 5F 00 43 F8 FF 00 43 F8 xx xx xx xx xx xx

Split the data into groups of 4 bytes and arrange as follows:
Code:

TPS  M  C
0F  7D 2328
1F  FA 1B58
2F  96 27D8
5F  00 43F8
FF  00 43F8

Converting these from Hex into Decimal, we get:
Code:

TPS  M  C
15    125  9000
31    250  7000
47    150 10200
95      0 17400
255    0 17400

The first column is a TPS value from 0 to 255. 255 represents 100% throttle. The table means: "If the TPS value is up to 15, let M=125 and C=9000. If the TPS value is between 16 and 31, let M=250 and C=7000. etc)
Now we use the straight line formula y=mx+c. For example, if we have 10% throttle, that's a TPS value of 25, so we select the 2nd line of the table, M=250 and C=7000. Now we do y = (250*25)+7000 = 13250.
The duty cycles in the TCU are represented by numbers from 0 to 20000. So 13250 is about 66% duty.
I've plotted some graphs to show the different maps.
http://www.alcyone.org.uk/ssm/usdmsola.jpg
That's how the base Sol A duty cycle is calculated. Using the information above, you should be able to recalibrate the line pressure. But there is a little bit more to it. After calculating the base duty cycle, it applies a compensation based on the atmospheric pressure signal. It compares the barometric pressure to a list of 8 thresholds at address CBC6 and chooses the corresponding map address from a list of C8BA.
Code:

0000C8B0  xx xx xx xx xx xx xx xx xx xx CB CE CB E6 CB FE 
0000C8C0  CC 16 CC 2E CC 46 CC 5E CC 76 xx xx xx xx xx xx

To illustrate how the adjustment maps are encoded, I'll decode the one at CBCE:
Code:

TPS  X  Y  Z
20  00 08 80
40  20 0C 82
60  40 0C 85
80  60 10 88
A0  80 08 8C
FF  A0 00 8E

For TPS values up to 20 (hex) use row 1, for TPS values up to 40 (hex) use row 2 etc. Formula is something like y=(((TPS-X)*2Y+Z)/100-80)*64. All values in hex. This gets added onto the base duty cycle. If you really want to mess with the atmospheric pressure compension, then I suggest you study the code between EC86 and ECD6 and check that I've got the formula right as I'm not entirely sure of it. But I don't really see any need to adjust these compensation maps - the base map is the one you want to play with.

If the vehicle is not fitted with a barometic pressure sensor, or the sensor is faulty then the compensation is calculated differently based on current gear and vehicle speed. I haven't fully analysed it because it should not happen in the normal case.

I hope that information is helpful. I should also add that the first block of 16 maps at C870, the ones that are used if the torque control signal fails, are decoded in exactly the same way as the normal case ones at C89A.

I have not looked at the non-USDM code. The VTD boxes may work differently.

longassname 12-08-2009 06:25 PM

Re: Gearshift Maps
 
That's awesome Phil,

Adjusting the bottoms of the 3rd want 3 and 4th want 4 maps aught to extend the lives of a lot of transmissions that don't have performance valve bodies.

longassname 12-28-2009 02:32 PM

Re: Gearshift Maps
 
Phil,

One of your cars is JDM right? Is the TCU case on the JDM the same as the US model? Someone has sent me a TCU that he got with a JDM transmission which was supposed to be a JDM SVX TCU but the case is different and I'm suspecting it's something else. The case sticker is KM.

NeedForSpeed 12-28-2009 02:37 PM

Re: Gearshift Maps
 
Quote:

Originally Posted by longassname (Post 629112)
Phil,

One of your cars is JDM right? Is the TCU case on the JDM the same as the US model? Someone has sent me a TCU that he got with a JDM transmission which was supposed to be a JDM SVX TCU but the case is different and I'm suspecting it's something else. The case sticker is KM.

Mike,
Not the same, the JDM TCU case is mirror image to the US case, mounting under RHD-driver side. I might be able to contribute more, What is the trans number on the front diff?

NeedForSpeed 12-28-2009 02:39 PM

Re: Gearshift Maps
 
Quote:

Originally Posted by longassname (Post 629112)
Phil,

One of your cars is JDM right? Is the TCU case on the JDM the same as the US model? Someone has sent me a TCU that he got with a JDM transmission which was supposed to be a JDM SVX TCU but the case is different and I'm suspecting it's something else. The case sticker is KM.

Mike, please download the KM TCU for Phil's database, [as well as your own]

longassname 12-28-2009 02:45 PM

Re: Gearshift Maps
 
I don't have the transmission. I'm just supposed to socket the TCU and put my shift maps on it. The mount on this case isn't a mirror image of the US case. It's about a 3/4" high by 3" long tab with two screw holes.

NeedForSpeed 12-28-2009 02:50 PM

Re: Gearshift Maps
 
Quote:

Originally Posted by longassname (Post 629116)
I don't have the transmission. I'm just supposed to socket the TCU and put my shift maps on it. The mount on this case isn't a mirror image of the US case. It's about a 3/4" high by 3" long tab with two screw holes.

Is it possible to ask the owner what the number is on his transmission?
I wonder if the owner was told that the TCU was a match to the trans?
All JDM/UK TCU cases that I have seen are exact mirror image to US

longassname 12-28-2009 02:56 PM

Re: Gearshift Maps
 
Ya, I'll ask him. I suspect the transmission and tcu he was sold are in fact jdm but are jdm something else not svx. Who knows but hopefully we'll be able to figure it out.

NeedForSpeed 12-28-2009 03:06 PM

Re: Gearshift Maps
 
Quote:

Originally Posted by longassname (Post 629118)
Ya, I'll ask him. I suspect the transmission and tcu he was sold are in fact jdm but are jdm something else not svx. Who knows but hopefully we'll be able to figure it out.

I'm familiar with several JDM trans and associated numbers. I'll be glad to help. If you get the number, I'll check the list twice :)


All times are GMT -6. The time now is 06:18 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
© 2001-2015 SVX World Network
(208)-906-1122