Insert BS here A place to discuss anything you want

Olderguy and other Electrical Wizards

Thread Tools
 
Search this Thread
 
Old 05-11-2007, 03:39 PM
  #1  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default Olderguy and other Electrical Wizards

Alright guys lets put our thinking caps on. I bought a new bike, but because of the new sprocket and tires I have put on the bike my speedo is off by 7.76%.

I want to be able to put something inline to correct this error. The speed sensor on the tranny output, sends a frequency to the speedo cluster and that displays the MPH. Based on two data points given in the service manual, 181 Hz = 60mph and 88Hz = 60kph, there is approximately ~ 2.35 Hz/mph.

How do I intercept the frequency and and change it?
Loki047 is offline  
Old 05-11-2007, 03:46 PM
  #2  
Elite Member
iTrader: (14)
 
jayc72's Avatar
 
Join Date: Mar 2006
Location: Edmonton, AB
Posts: 4,908
Total Cats: 1
Default

Did you get the 7.76% from comparing indicated speed to a GPS?

I wonder what the accepted error of the unmolested setup is? On my completely stock Tribute the speedo is out by nearly 5km/h @ 110km/h. What's that nearly 5%? I've heard +-5% is typical. My Miata is even worse.

Who knows, maybe the changes you are making will improve the accuracy Check with a GPS or a stop watch and mile markers.

As to your actual question, I don't have a clue since I'm just a uselss ******* Canadian.
jayc72 is offline  
Old 05-11-2007, 03:46 PM
  #3  
AFM Crusader
iTrader: (19)
 
olderguy's Avatar
 
Join Date: Oct 2004
Location: Wayne, NJ
Posts: 4,667
Total Cats: 336
Default

Go back to the old sprocket
olderguy is online now  
Old 05-11-2007, 03:58 PM
  #4  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by jayc72
Did you get the 7.76% from comparing indicated speed to a GPS?
No i got it from calculating the new gear ratios, I will measure the real error when I get home and can steal romanKs gps system for a run.
Loki047 is offline  
Old 05-11-2007, 03:59 PM
  #5  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by olderguy
Go back to the old sprocket
Thats more work than figuring this out.

Put those electrical skills to work.
Loki047 is offline  
Old 05-11-2007, 04:27 PM
  #6  
Elite Member
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

You still have access to whatever equipment your engineering dept. has, right? Or are you gone for good now? If you had access to a decent scope, I'd hook it up to the signal line and look at the shape of the wave. That'll shed some light onto what you'd have to do to change the frequency. In general though, wave signals aren't the easiest to change, unless it's like a pulse-counting system, which might be easier.
Atlanta93LE is offline  
Old 05-11-2007, 04:29 PM
  #7  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

**** the speedo. Unplug the speed sensor or remove the speedo sprocket. You can figure out speed by RPM. That's what I did with my GSXR.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 05-11-2007, 04:35 PM
  #8  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by Ben
**** the speedo. Unplug the speed sensor or remove the speedo sprocket. You can figure out speed by RPM. That's what I did with my GSXR.
**** that, I like knowing how fast I go$$$$ PLust the speedo and RPM are all on the same board it will display an error where the MPH is usually.... annoying!
Loki047 is offline  
Old 05-11-2007, 04:43 PM
  #9  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by Atlanta93LE
You still have access to whatever equipment your engineering dept. has, right? Or are you gone for good now? If you had access to a decent scope, I'd hook it up to the signal line and look at the shape of the wave. That'll shed some light onto what you'd have to do to change the frequency. In general though, wave signals aren't the easiest to change, unless it's like a pulse-counting system, which might be easier.
That might be what I have to do. Theres systems out there for about 100 bucks that will correct the speedo (speedohealer....) but I dont want to pay for something I can/should be able to figure out. (Im in the middle of finals and finishing sr design, I will be insanely busy for the next few days, and then freee till work starts, so well see what i can get accomplished in between)

Im pretty sure its a counting pulses its a square wave. ... from the service manual
Attached Thumbnails Olderguy and other Electrical Wizards-small.jpg  
Loki047 is offline  
Old 05-11-2007, 04:47 PM
  #10  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by Loki047
**** that, I like knowing how fast I go$$$$ PLust the speedo and RPM are all on the same board it will display an error where the MPH is usually.... annoying!
Most bikes the tach will still work fine and the speedo will read 00.
In your miata, you can look at the tach and see 4k rpm, then know you're doing 80 w/o looking at the speedo right? You can do the same thing on a bike. You'll very quickly learn how fast you're going by feel anyway. I almost never look down at my speedo when riding; I don't have to. And if you're going so fast that you can't tell, you shouldn't be looking at the speedo anyway.

Anyway, if it's PWM based, you can build a comparator circuit inexpensively.

Ben
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 05-11-2007, 05:07 PM
  #11  
Elite Member
 
Philip's Avatar
 
Join Date: Dec 2004
Posts: 3,270
Total Cats: -4
Default

buy a better bike like an aprilia that uses a sensor on the rear brake.
Philip is offline  
Old 05-11-2007, 05:20 PM
  #12  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by Philip
buy a better bike like an aprilia that uses a sensor on the rear brake.
Haha thats so much simpler
Loki047 is offline  
Old 05-11-2007, 05:28 PM
  #13  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by Ben

Anyway, if it's PWM based, you can build a comparator circuit inexpensively.

Ben
Thats what Im trying to figure out.
Loki047 is offline  
Old 05-11-2007, 05:41 PM
  #14  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,022
Total Cats: 6,590
Default

One option would be a frequency-to-voltage converter, an op-amp, and then a VCO.

You didn't say whetehr it reads high or low. If it's reading high then maybe you could just build a simple divide-by-n circuit, something as simple as a shift register and a big multi-input AND gate to drop every nth pulse?
Joe Perez is online now  
Old 05-11-2007, 05:47 PM
  #15  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Its reading high, ie it reads 42 mph when im really going 38.5 mph.

I like that drop every pulse.
Loki047 is offline  
Old 05-11-2007, 06:00 PM
  #16  
Elite Member
iTrader: (3)
 
Mach929's Avatar
 
Join Date: Oct 2004
Location: lansdale PA
Posts: 2,494
Total Cats: 0
Default

most people don't worry about it, i kept my sprockets stock, any more aggressive and it will stand up even easier
Mach929 is offline  
Old 05-11-2007, 07:55 PM
  #17  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

So how do i drop a pulse?
Loki047 is offline  
Old 05-11-2007, 08:46 PM
  #18  
Lex
Junior Member
 
Lex's Avatar
 
Join Date: Apr 2007
Posts: 181
Total Cats: 0
Default

get a simple PIC microcontroller (16F series for example) and write a simple program to take counts in (on an interrupt) and use a variable to drop as many counts (or as little) as you want. Make sure you scope the signal beforehand and do some signal conditioning circuitry before the PIC input as it is a 0-5volt and current must also be watched.

The whole thing won't cost you more than a few dollars if you already have a PIC programmer and know some basic C (you need a compiler for that) or assembler.
Lex is offline  
Old 05-11-2007, 10:58 PM
  #19  
Elite Member
 
Philip's Avatar
 
Join Date: Dec 2004
Posts: 3,270
Total Cats: -4
Default

BTW most sport bikes are 10% fast from the factory, so you went what, + in the back and - in the front? It'll probably be more accurate now than before.
Philip is offline  
Old 05-12-2007, 12:08 AM
  #20  
Elite Member
Thread Starter
iTrader: (6)
 
Loki047's Avatar
 
Join Date: Sep 2005
Location: Chicago
Posts: 4,143
Total Cats: -5
Default

Originally Posted by Lex
get a simple PIC microcontroller (16F series for example) and write a simple program to take counts in (on an interrupt) and use a variable to drop as many counts (or as little) as you want. Make sure you scope the signal beforehand and do some signal conditioning circuitry before the PIC input as it is a 0-5volt and current must also be watched.

The whole thing won't cost you more than a few dollars if you already have a PIC programmer and know some basic C (you need a compiler for that) or assembler.
I need way more info than that. Im a M.E. my knowledge of electrical stuff is based solely on resistors and ...well thats about it.
Loki047 is offline  


Quick Reply: Olderguy and other Electrical Wizards



All times are GMT -4. The time now is 11:14 AM.