The MegaSquirt Project has experienced explosive growth other the years, with hundreds of new MS installations occurring every week - a phenomenal success! MegaSquirt has been successfully used in all aspects of Internal Combustion engine applications including R&D, Industry, Race, and Research. The MS project has transformed itself from a simple R&D project into a full-featured mature engine control system. To reflect this the support structure has also changed to meet the needs of MegaSquirt Users.
Moving forward, the R&D forums for MegaSquirt project are in a read-only mode - no new forum posts are accepted.
However the forums will remain available for view, they still contain a wealth of information on how MegaSquirt works, how it is installed and used. Feel free to search the forums for information, facts, and overview.While the R&D forum traffic has slowed in recent years, this is not at all a reflection of Megasquirt users, which continue to grow year after year. What has changed is that the method of MegaSquirt support today has rapidly moved to Facebook, this is where the vast majority of interaction is happening now. For those not on Facebook the msextra forums is another place for product support. Finally, for product selection assistance, all of the MegaSquirt vendors are there to help you select a system, along with all of the required pieces to make it complete.
OK Lance I'll upload the code the first chance I get.
I should also point out that many FWD transmissions have a set of intermediate gears between the gear cluster and the pinion shaft, maybe add a line in the notes to point this out as its not obvious to new users and manuals often only list the primary and final drive ratios. Think of the these intermediate gears as like those on a traditional 'quick change' rear end (like a Halibrand).. you may want to consider adding this 'quick change' gear ratio to the Gear Ratio page.. although the code may be tricky.. but maybe RWD users may still use quick change rear ends?
In my case the ratio is 1.159:1 and so I simply incorporate it into actual gear ratios I input in TS... i.e my 2.7:1 first is inputted as 2.7x1.159 = 3.13:1
That's good to know. Is the VSS likely to be mounted between the intermediate gear and final drive on configurations of which you are aware? (If the VSS is before then it is on the output shaft, if it is after it is effectively on the wheel.)
If the VSS is not likely to be mounted between the intermediate and final drive gears, then it is probably easier to incorporate the intermediate gear ratio into the final drive ratio. In that case I can have a separate spot for the intermediate gear, and do all the calculations like this:
effective final ratio = final drive ratio * intermediate ratio
So it should be easy to add to the code. I will look into this.
Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Obviously I cannot speak for ALL FWD transmissions, but I can say that other than mk1 Golf manual transmissions ALL that I have dealt with (Ford,VAG, Renault) have thier VSS sensor on the output from the trans, after the final drive. I suppose that makes a lot of sense for manufacturers as they don't have to calibrate speedos for different final drives..
It appears to work on my bench. The number to enter is the ratio of the rpm of output shaft to the rpm of pinion. So for example if the gears were 2:1 and slowed the pinion down compared to the output shaft, then you would enter 2.000.
The default value is 1.000 (i.e. no intermediate gear).
Let me know if you don't think this implementation is right.
Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Just a quick question Lance, I've upgraded to the latest 5099 code and my Can1VSShz has increased by a multiple of ~7.2
I need to investigate a little further (I only noticed in the evening when I was reviewing datalogs). Speeds v Engine RPM v Cgear are all still correct.
Example:
Datalog from December:
26mph @ 1400rpm in First gear = 25hz
39mph @ 2046pm in Second gear = 40hz
Datalog from yesterday
25mph @ 1365rpm in First gear = 180hz (25hz x 7.2)
39mph @ 2036rpm in Second gear = 286hz (40hz x 7.2)
Like I say, I'll investigate further this evening..
Curiously, in Neutral, wheels off ground, at idle (957rpm) I see 10mph and 72hz, again a ratio of 7.2.......
Yeah, the VSSHz is back-calculated from the speedo when using the CAN speedo, so it needs to take the adjustment factor into account. I obviously didn't get this right when I reworked those calculations!
Are you using the CAN speedo adjustment factor (i.e. not == 1.000)? This should be easy to sort out, but it would help I if had your msq to test with, so if you could post yours that would be great. If you happen to have a datalog, that might help too.
Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Are you getting your speedo value from the engine controller over the CANbus? That's what I call the CAN speedo (as opposed to using the VSS input circuit on VR1 directly).
I have had a look on my bench, and things appear correct here at my end with the default values (60 mph == 1584 Hz on the VSS regardless of the speedo adjustment factor).
However, I did have to fiddle with all the speedo calculations to put the CAN speedo adjustment in for MS3 users, so that's most likely where an error has crept in. But until I know the exact configuration you are using, it will be hard to narrow the error down further.
So post your MSQ/log when you get a chance and I'll have a look.
Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw