Notices
ECUs and Tuning Discuss Engine Management, Tuning, & Programming

How to drive an NB speedo without a speed sensor

Thread Tools
 
Search this Thread
 
Old Jan 21, 2016 | 02:36 PM
  #21  
AbeFM's Avatar
Elite Member
iTrader: (3)
 
Joined: Aug 2006
Posts: 3,047
Total Cats: 13
From: San Diego, CA
Default

Ah! I've been quite interested in this for years - never made it to the top of my "list of stuff I'll actually do".

I have no ABS, and I DO have the OEM VSS, but I've been wanting to make the MS apply my correction factor directly - as tire shape changes with speed (both larger from spinning and smaller from wrinkling), correlating GPS speed with pulses seems the way to go - then apply a correction algorithm to the input (be it ABS or VSS). I already take the VSS into the MS3Pro, but using the output to drive it makes sense.

Can you be more specific about this dwell time thing (or was that only for the tach)? As both have the same issue (https://abefm.smugmug.com/Miata/Modi...Tach-Response/) it would be nice to let the ECU just do ALL the corrections.
Old Jan 21, 2016 | 02:39 PM
  #22  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

We literally just connected an injector out with a 1k pullup to 5v, to the orange speedo wire. Set it up in MS3 and bam, it worked. Left the other yellow speedo wire floating

This has not been road tested, only tested up to about 45mph by spinning the front wheel.
Old Jan 22, 2016 | 08:22 PM
  #23  
AbeFM's Avatar
Elite Member
iTrader: (3)
 
Joined: Aug 2006
Posts: 3,047
Total Cats: 13
From: San Diego, CA
Default

I should just try it. What really killed my motivation was the lack of scaling options in MS.
Old Jan 22, 2016 | 08:31 PM
  #24  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

Originally Posted by AbeFM
I should just try it. What really killed my motivation was the lack of scaling options in MS.
I'll borrow a function generator from work and see what speeds I can get out of my spare cluster.
Old Jan 23, 2016 | 03:30 PM
  #25  
AbeFM's Avatar
Elite Member
iTrader: (3)
 
Joined: Aug 2006
Posts: 3,047
Total Cats: 13
From: San Diego, CA
Default

Oh, yeah, that would be good. I wonder if I have one? No. Spares of everything but what I need. :-)
Old Jan 23, 2016 | 03:57 PM
  #26  
aidandj's Avatar
Thread Starter
SADFab Destructive Testing Engineer
iTrader: (5)
 
Joined: Apr 2014
Posts: 18,643
Total Cats: 1,870
From: Beaverton, USA
Default

I have a spare cluster. And a MDO4k. It might even have a function generator output...
Old Jan 24, 2016 | 05:54 PM
  #27  
AbeFM's Avatar
Elite Member
iTrader: (3)
 
Joined: Aug 2006
Posts: 3,047
Total Cats: 13
From: San Diego, CA
Default

I think when I was doing it I used the Jim Stim. Drove the MS and compared screen to physical tach gauge.

""I fed the tach known spaced tach pulses, and found that the tach is accurate at low RPM (1000), and from ~1500-~4000 is picks up linearly about 175 rpm of offset (it reads high). Then it stays there until ~7200 (reading ~7375) and by 7500 it's reading correct again, which it retains through 8000 rpm, which is as high as I tested.""

There's my super-scientific data. Enough to know something's wrong, not sure enough of it. :-) But both tach and speedo should have ~7 point tables or a simple formula to tweak the output. The MS should be able to drive all of it - and it already knows the engine/road speed, etc, so why not do it there?
Old Jan 24, 2016 | 09:46 PM
  #28  
gooflophaze's Avatar
Senior Member
 
Joined: May 2007
Posts: 997
Total Cats: 156
From: Atlanta
Default



Here are my manual tach corrections. Big pain in the *** since it's obviously non-linear. I'm using scaled piecemeal functions for the moment (imagine point to point lines). Need to check against my 2nd cluster to see if the results are valid and not some inherent manufacturing differences (and create a few additional data points). Don't worry too much about how this data is actionable, this is primarily to see if wolfram alpha could create a best fit line that looked halfway implementable (hint: it didn't).

Did I mention I have this on my bench reading data from megasquirt thru canbus right now? Too cold to work in the shop so I'm working on my bench. I need to get the LFX running to pull OBDII data, but I can compensate for transaction times and other gotchas via MS. Been playing with the timer0 prescaler to try and knock out some jitter. Needles aren't flapping but it could always look better through the scope.
Attached Thumbnails How to drive an NB speedo without a speed sensor-tach_correction.png  

Last edited by gooflophaze; Jan 25, 2016 at 03:35 AM.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
MEGAsquirt
47
Oct 26, 2018 11:00 PM
StratoBlue1109
Miata parts for sale/trade
21
Sep 30, 2018 01:09 PM
zephyrusaurai
Meet and Greet
2
Sep 28, 2015 10:59 PM
Greasyman
General Miata Chat
2
Sep 28, 2015 10:44 AM




All times are GMT -4. The time now is 10:36 PM.