RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Wed Dec 24, 2025 3:19 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 60 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Vehicle Speed Sensor - MS41.2 into E30
PostPosted: Fri May 15, 2015 12:24 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
First of all I want to thank everyone here that has put all this time and effort into making a community tuning solution for this ecu. I have been using romraider to remove different factory emissions and safety stuff as I swap a s52 into my e30 but I have come across a problem with the vehicle speed sensor. On the e30 it comes from the diff and is processed by the cluster into a 9 pulse output. On the e36 it receives the speed from the right rear wheel speed sensor which is a 48 pulse output. is there anyway to change this in the ecu so that it sees the correct speed? the reason this is important to me is because I want to run the "launch control" 3000 rpm cut but it keeps cutting because its not reading a high enough speed


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 12:54 pm 
Offline
Senior Member

Joined: Wed Jan 22, 2014 6:54 pm
Posts: 1773
Could you adjust the axis for whatever the e30 sensor outputs?


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 2:48 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
I don't know what increments the ecu sees as far as mph does it see in 1 mph increments or less?


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:10 pm 
Offline
Experienced

Joined: Sat Mar 15, 2014 6:46 pm
Posts: 276
Location: Belarus
VS is calculated as VS_SEG_T_MES (must be >3) * 3600 / VS_FAC (word value from 0166h partial = 6185, so you can experiment with this!!!) result forced to be between 0 and 255. this is for ms412.


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:14 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
Wow I need to do a lot of research, I didn't understand any of what you posted, unfortunately, other than the equation.
but yes ms41.2 is what I am using


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:26 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
There is a speed sensor in an E36 rear diff. How do you know the MS41.2 code is not using that and using the right rear wheel sensor instead?

Do you have a wiring diagram for how the vehicle speed is routed in an E36?

_________________
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: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:30 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
Here are two links that are good at explaining it:
http://www.r3vlimited.com/board/showthread.php?t=285584
http://www.r3vlimited.com/board/showthread.php?t=264748


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:37 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
people wire e30 speed signal to pin 9 x20 which goes to the DME on pin 15 x6000 "right rear wheel speed" this seems to work but is off by a factor of 5.3333


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:41 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
I have interpreted this equation (VS_SEG_T_MES (must be >3) * 3600 / VS_FAC) as follows

-VS_SEG_T_MES is the amount of pulses during a given interval measured by the sensor
-*3600 the above is measured in pulses per second this is a conversion from seconds to hours (miles per hour)
-VS_FAC is the factor (based on the amount of pulses) that I need to change in order to fix this issue


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:45 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
OK reading through. In the meantime, does your instrument cluster read the correct speed?

I'm in the process of adding this calibration factorto the definitions so you can change this easily in RR.

_________________
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: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 3:46 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
yes it does


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 4:01 pm 
Offline
Experienced

Joined: Fri Nov 07, 2014 9:05 pm
Posts: 127
Location: Halifax, Canada
It would be awesome to have a way to correct for this, instead of messing around with the rev limit vs speed tables to "make it work"


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 4:03 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Try this attached file. I added a value called "Vehicle Speed Correction (ECU)" in the "Limiters" section for the 24KB version of MS41.2 thanks to the info provided by Alec.

Please report on the ideal value to be used for these fairly common swaps.


You do not have the required permissions to view the files attached to this post.

_________________
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: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 4:10 pm 
Offline
Newbie

Joined: Mon Sep 22, 2014 8:00 pm
Posts: 22
Awesome Thanks! I believe the value for the e30 should be 1160 I will be back with results


Top
 Profile  
 
 Post subject: Re: Vehicle Speed Sensor
PostPosted: Fri May 15, 2015 4:12 pm 
Offline
Senior Member

Joined: Fri Feb 10, 2006 7:04 pm
Posts: 2661
Location: RIP
Yeah, that was my guess as well. 6185/5.3333.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 60 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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