Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 08-12-2008, 12:42 PM   #11 (permalink)
Master EcoModder
 
wagonman76's Avatar
 
Join Date: Jun 2008
Location: Northwest Lower Michigan
Posts: 1,006

Red Car - '89 Chevrolet Celebrity CL 4 door
Team Chevy
90 day: 36.47 mpg (US)

Winter Wagon - '89 Pontiac 6000 LE Wagon
90 day: 28.26 mpg (US)
Thanks: 8
Thanked 17 Times in 16 Posts
On vehicles that are having trouble with the VSS signal, does the VSS go through the ECM or VSS buffer? And if so, is the signal being tapped after that?

I know at least on mine, the signal from the VSS itself isnt very friendly. Depending on the vehicle, it goes either through the ECM or VSS buffer to clean up the signal, and then feeds the pulses per mile to the gauge cluster and cruise control module. I tapped into that and didnt have any problems once I got my wiring right.

__________________

Winter daily driver, parked most days right now


Summer daily driver
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-12-2008, 02:27 PM   #12 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: Marietta, Georgia
Posts: 23

4OVER4 - '85 Mitsubishi Starion ESi
90 day: 24.97 mpg (US)

Auto - '87 Mitsubishi Starion LE
90 day: 23.65 mpg (US)

Soarer - '96 Lexus SC-300
90 day: 25.27 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by wagonman76 View Post
On vehicles that are having trouble with the VSS signal, does the VSS go through the ECM or VSS buffer? I know at least on mine, the signal from the VSS itself isnt very friendly...
Starions: The signal to the ECM is not pre-filtered. It's a very bouncy/noisy 0-5v signal created by a magnet/reed switch combination at the speedometer.
  Reply With Quote
Old 09-07-2008, 12:00 PM   #13 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
Just a heads up, I think I made some progress this morning after the NASA guys got me thinking

Basic strategy,

keep track of the number of vss pulses (already do that) and accumulate the vss pulse lengths.

every 1/2 second compute the instant mph from the accumulated pulse lengths/number of vss pulses and reset.

I did a quick road test an instant mph is looking a lot better in the metro. Will release a new version when satisfied with it and when I integrate it into instant mpg.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-07-2008, 03:12 PM   #14 (permalink)
EcoModding Lurker
 
Join Date: Aug 2008
Location: Olympia, wa
Posts: 96

Red Beast - '82 Honda V45 Sabre Vetter Fairing
90 day: 39.38 mpg (US)

The Wife's bike - '82 Honda CM450E Red
90 day: 57.22 mpg (US)

Yellow Submarine - '04 Dodge Neon SXT
90 day: 28.71 mpg (US)
Thanks: 6
Thanked 1 Time in 1 Post

Here is the waveform supplied to me from DCB. Placing a filter circuit in there will clean up the extra high speed pulses (small peaks) that may trigger false signals.
__________________

Last edited by ac7ss; 09-07-2008 at 03:13 PM.. Reason: Image
  Reply With Quote
Old 09-07-2008, 03:18 PM   #15 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
There are no known false peaks being picked up though. The chip has built in a differential between ON and OFF detection and there is debouncing to boot. As well as the pulse count seems accurate over large distances, so what are you trying to fix? The extra hardware won't buy you anything at this point.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-07-2008, 03:28 PM   #16 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
I would add that as evidence that the fully processed signal is about as good as it is going to get is evidenced by the fact that when you average the readings over 1/2 second it now seems to be spot on and pretty smooth.

So it is accurate over distance, it is accurate on the 1/2 second scale, things will get progressively worse at less than 1/2 second for sure.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-07-2008, 03:54 PM   #17 (permalink)
EcoModding Lurker
 
Join Date: Aug 2008
Location: Olympia, wa
Posts: 96

Red Beast - '82 Honda V45 Sabre Vetter Fairing
90 day: 39.38 mpg (US)

The Wife's bike - '82 Honda CM450E Red
90 day: 57.22 mpg (US)

Yellow Submarine - '04 Dodge Neon SXT
90 day: 28.71 mpg (US)
Thanks: 6
Thanked 1 Time in 1 Post
Likely, the downslope and upslope are causing the difficulty. They may be triggering a longer / shorter duration between pulses depending on the trigger level. If the average over a half second is good. there is not likely to be a problem in the long term. If one wanted to play with it on their own, there are a few ways to normalize the signal. But if, as you say, the 1/2 second average is good, that is the best solution.
__________________
  Reply With Quote
Old 09-07-2008, 04:27 PM   #18 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
Quote:
Originally Posted by ac7ss View Post
Likely, the downslope and upslope are causing the difficulty.
Well, if you like, around position 1159760 in that file, the speed should be pretty steady, but I think you will find that the large verticals are not evenly spaced, likely due to mechanical "slop". The data is all there and you were the one who said it was "easy" You might have to look at more than one pulse though.

Quote:
Originally Posted by ac7ss View Post
of course, if we had a trace output of the anomalous pulses it would be easy to determine the easy way to screen them out.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 09-11-2008, 10:16 PM   #19 (permalink)
testing the waters
 
Join Date: Jun 2008
Location: usa
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
I just uploaded the v.72 code and the vss instant speed is awesome it is so fluid now, EXCEPT

when I get to 40 mph

then it waits until about 60 mph before it starts counting backward

1, 10, 30, 40, 40, 40, 40, 40, 39, 38, 37


CRAZY

where in the code can I tweak this to get it right?
  Reply With Quote
Old 09-11-2008, 10:27 PM   #20 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location:
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 267 Times in 210 Posts
Hmm.... Maybe
Code:
change:
  addEvent(enableVSSID,2 ); //check back in a couple milli
to:
  addEvent(enableVSSID,1 ); //check back in a couple milli

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Reply  Post New Thread


Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
VSS, tach, injector signal logic wikityler Instrumentation 2 07-20-2008 11:02 PM
Signal Generator dcb OpenGauge / MPGuino FE computer 26 06-27-2008 10:29 PM
Arduino-based turn signal jacket SVOboy Alternative Transportation 6 06-23-2008 10:22 AM
Opengauge/MPGuino development: Freeduino signal processing dcb OpenGauge / MPGuino FE computer 6 04-16-2008 09:40 AM
[CRXMPG Mailbag] SuperMID and VSS Issues with EF Civics SVOboy Instrumentation 0 02-03-2008 04:33 AM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com