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-20-2014, 03:59 AM   #1 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
VSS limit

Hi all

I have tapped into the VSS signal from the clocks on my NC700.

I have my pulses per mile set to 120000. If I set my vss delay to 2ms it reads up to 10mph only.

1ms reads up to 38 mph only.

0ms reads up to 78mph, after that speed it starts going down until it reaches 0.

The bike has a VSS which is a hall effect sensor.

Any ideas? I would really hate to have to add a reed switch and magnet as its very messy on the bike

Thanks in advance!

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 08-20-2014, 11:30 AM   #2 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
Just had a longer ride today, after a quick tweak half way through, the mileage tracking is spot on with the clocks which is great!

I have to have my VSS delay set to 0ms otherwise it isnt accurate (as per my prev post).

I had a thought, my VSS pulse is 0-5v and is being generated by a hall effect sensor in the gearbox. I would be very suprised if my inability to detect above 78mph is due to signal noise, but instead due to the voltage?

If I can generate 0-12v instead of 0-5v from the clocks, does anyone know if it will get any better?
  Reply With Quote
Old 08-20-2014, 02:49 PM   #3 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
If it is an issue of too many pulses, I am thinking of using a pulse divider with a CD4027 and powered by a 5v regulator:



pin 3 will be from the VSS sensor on the bike rather than the "ignition coil" like in that diagram.
  Reply With Quote
Old 08-20-2014, 04:56 PM   #4 (permalink)
Master EcoModder
 
P-hack's Avatar
 
Join Date: Oct 2012
Location: USA
Posts: 1,408

awesomer - '04 Toyota prius
Thanks: 102
Thanked 252 Times in 204 Posts
that is a lot of pulses, given the delay changes the top speed then that seems like the problem. A dedicated atmega chip might be able to keep up with it, but not one that is monitoring injectors and displaying data on an lcd and keeping running 64 bit tallies. I would divide by 24, that is every time the vss edge changes 24 times, toggle the output pin, set pulses to a sane 5000/mi. Lunch off the existing 5v supply and intercept the vss, no oscillator required if vss is interrupt driven. @ 8mhz you have about 3000 cpu cycles to sort each edge out @ 78mph.

Or use a gear sensor and some ferrous screws on a wheel.
  Reply With Quote
The Following 2 Users Say Thank You to P-hack For This Useful Post:
alexander.foti (08-20-2014), t vago (08-21-2014)
Old 08-20-2014, 04:59 PM   #5 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
Quote:
Originally Posted by P-hack View Post
that is a lot of pulses, given the delay changes the top speed then that seems like the problem. A dedicated atmega chip might be able to keep up with it, but not one that is monitoring injectors and displaying data on an lcd and keeping running 64 bit tallies. I would divide by 24, that is every time the vss edge changes 24 times, toggle the output pin, set pulses to a sane 5000/mi. Lunch off the existing 5v supply and intercept the vss, no oscillator required if vss is interrupt driven. @ 8mhz you have about 3000 cpu cycles to sort each edge out @ 78mph.
I would say thats the issue as well, although I would like somebody who is experienced with the code to let me know if it is.

Surely I can just use a freq divider on the VSS signal to keep it seperate from the mpguino? Im no good with IDE like the arduino, and OK with electronics (if following instructions )
  Reply With Quote
Old 08-21-2014, 03:49 AM   #6 (permalink)
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
Hi,
check my topic, I had speed jumping problem and I added capacitor to all my boards to smooth out speed-jumping
http://ecomodder.com/forum/showthrea...5-a-21984.html

Maybe you could try to remove that capacitor near input pins and resistors - it has 103 written to it. Probably you have so many pulses (normally pulses/mile is between 4000 and 10000) that capacitor is smoothing pulses to steady voltage.

Meelis
__________________
http://mpguino.wiseman.ee/eng - get assembled mpguino from here!
  Reply With Quote
Old 08-21-2014, 03:57 AM   #7 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
Hmm yes I see what you mean, it is a lot of pulses compared to everybody else.

I have already implemented the device into a watertight housing. I would have to destroy the case to get back to the pcb (stupid I know!).

Do you think dividing the pulses before it enters would also solve the problem?
  Reply With Quote
Old 08-21-2014, 04:50 AM   #8 (permalink)
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
Probably dividing pulses works, but removing one capacitor may work too, maybe not. But I understand if you dont want to destroy your enclosure. So if you laready have parts to make pulse divider then you could try it.

Can you post pics? would be nice to see how you made watertight enclosure.
__________________
http://mpguino.wiseman.ee/eng - get assembled mpguino from here!
  Reply With Quote
Old 08-21-2014, 04:51 AM   #9 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
Quote:
Originally Posted by meelis11 View Post
Probably dividing pulses works, but removing one capacitor may work too, maybe not. But I understand if you dont want to destroy your enclosure. So if you laready have parts to make pulse divider then you could try it.

Can you post pics? would be nice to see how you made watertight enclosure.
Of course, when this is all finished, I will do a whole write up with pictures, in case anybody else wants to do the same install on a NC700
  Reply With Quote
Old 08-21-2014, 10:08 AM   #10 (permalink)
EcoModding Lurker
 
Join Date: Nov 2008
Location: London UK
Posts: 95
Thanks: 3
Thanked 7 Times in 4 Posts
Have come up with the following:



Lets see if it works. This should divide the pulses by 16.

  Reply With Quote
Reply  Post New Thread






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