Go Back   EcoModder Forum > EcoModding > Instrumentation
Register Now
 Register Now

Now available from EcoModder: ScanGauge II fuel economy gauge.  Click for details.  

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-06-2011, 03:50 AM   #1 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 102

Sonata97 - '97 Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Pulsar ST
Team Nissan
90 day: 37.01 mpg (US)
Thanks: 4
Thanked 3 Times in 3 Posts
VSS confusion

Prior to connecting directly to the injector and VSS input at the ECU, I was using an ALDL setup to try and get the MPGuino working that way (I thought it'd be a cleaner setup).

I started sampling the VSS sensor at the ALDL connector, and after some testing, concluded the value was 4750 pulses per KM.

I pondered more during my trial run but concluded that any request / response setup would be inherently flawed by the timing of the requests, interrupts ftw.

Finding the ECU, one time digging around, I thought we'd tap those connections. So I looked up the 4G63 ECU pin out online, and found the pinout - VSS and Injector one are taped into with jumper wire to my temporary setup.

I tested the value 4760 in the MPGuino, and ran a tank through it, the MPGuino thought we had done 500KM when we did 484.0KM.

From the start of the tank to today, I did random calculations to see how my value was travelling - it seemed wrong as the random tests gave numbers between 4950 and 4969. Most commonly, 4955.

I corrected the value to 4955 today. Drove ~6.58KM according to the cars ODO - the MPGuino logged 8.85KM. This disappointed me, the fuel economy was logging 8.2L/HK. Damned.
The calculation now suggests a value of 6664 - way too high.

If it helps, it's a 5V signal on that, as I tested it with a multimeter.
I did use a 47K resistor, and a Zener diode.

Any ideas on why the VSS value seems more dynamic than expected?
Any testing / troubleshooting suggestions? I had hoped to have an accurate setup so I could start testing the suggestions given earlier...


(Support Ecomodder.com & get rid of these annoying ads!)      
 

Last edited by toc; 04-06-2011 at 03:51 AM.. Reason: fixed.
  Reply With Quote
Old 04-06-2011, 04:11 AM   #2 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,032

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 156
Thanked 259 Times in 203 Posts
I assume this is a "homebuilt"?

the 47k resistor makes a just usable pulse well on the zener knee with 12v input.

I would suggest something more like 10k if you are sure you have a 5v signal.

Also of course I am not in a position to rule out software variables if it is customized (code branch, different fuses, extra code injected by arduino??).
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 04-06-2011, 04:17 AM   #3 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 102

Sonata97 - '97 Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Pulsar ST
Team Nissan
90 day: 37.01 mpg (US)
Thanks: 4
Thanked 3 Times in 3 Posts
Yeh Homebuilt (I did the math, after all the screwing around, I should have just bought from you - but I'd have the same issue!).

Back to it, the 47K resistor was chosen cause it was best suited to 50K suggested in the circuit diagram.

I might clamp a multimeter to that jumper and see how it without the resistor (watch for peaks above 5V at all).

Is the zener necessary? I understood it to clamp down the voltage from 12 to 5 - I thought it might not be needed, but wanted it to work so followed the circuit to the letter.

Would the resistor really explain the pulse differences?

Oh - the code is the Metric version with smooth numbers that was published on the forum - I'm sure the code is correct for others use it, and it's not too indifferent from your work.

Last edited by toc; 04-06-2011 at 04:19 AM.. Reason: code.
  Reply With Quote
Old 04-06-2011, 05:00 AM   #4 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,032

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 156
Thanked 259 Times in 203 Posts
without a scope, I would leave in the zener. Just lower the resistor so you get more signal to the pin on the cpu.

I don't know if it will fix it, just something that would likely be marginal at 5v and easy to try.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
The Following User Says Thank You to dcb For This Useful Post:
toc (04-06-2011)
Old 04-07-2011, 12:55 AM   #5 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 102

Sonata97 - '97 Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Pulsar ST
Team Nissan
90 day: 37.01 mpg (US)
Thanks: 4
Thanked 3 Times in 3 Posts
My initial testing shows this might have fixed it.
Still early testing, but it's now only out by 0.1KM (and that easily could be the wrong value used for VSS).

If the tyres are inflated higher, or deflated - would that change the VSS value at all?
  Reply With Quote
Old 04-07-2011, 06:10 AM   #6 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,032

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

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 156
Thanked 259 Times in 203 Posts
Quote:
Originally Posted by toc View Post
...
If the tyres are inflated higher, or deflated - would that change the VSS value at all?
Possibly, dunno.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 05-27-2011, 06:39 PM   #7 (permalink)
Grrr :-)
 
Nerys's Avatar
 
Join Date: May 2008
Location: Levittown PA
Posts: 761

Cherokee - '88 Cherokee
90 day: 19.44 mpg (US)

Ryo-Ohki - '94 Metro Xfi
90 day: 50.15 mpg (US)

Vger 2 - '00 Grand Voyager SE
Thanks: 12
Thanked 15 Times in 15 Posts
change your VSS? NO change your actual distance traveled for the same VSS YES. remember your odo does NOT measure distance. it measures "rotations" and then converts that into distance based on assumptions of gearing and tire diameter.

change diameter and those assumptions are wrong.
  Reply With Quote
Old 06-01-2011, 03:39 PM   #8 (permalink)
EcoModding Lurker
 
mcmancuso's Avatar
 
Join Date: Mar 2010
Location: TN-USA
Posts: 61

Green Metro - '99 Metro LSi Sedan
90 day: 32.78 mpg (US)

Metro Vert - '91 Metro LSi Convertible
90 day: 50.52 mpg (US)
Thanks: 0
Thanked 1 Time in 1 Post
A question that pertains to this: DCB I added a cruise control, and now if I have both it and the MPGuino running, the speed reading on the guino gets really flaky... could I reduce the resistor on the board to give it more signal voltage?


(Support Ecomodder.com & get rid of these annoying ads!)      
 
  Reply With Quote
Reply  Post New Thread

Thread Tools





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