Stock Problems/Issues Discussions related to warranty related issues and repairs, or other problems with the OEM parts and software for MINI Cooper (R50), Cabrio (R52), and Cooper S (R53) MINIs.

MINI CAN bus data detective.

Thread Tools
 
Search this Thread
 
  #1  
Old 07-18-2004, 07:03 PM
Trippy's Avatar
Trippy
Trippy is offline
Banned
Thread Starter
Join Date: Mar 2003
Location: Plymouth, MN
Posts: 2,859
Likes: 0
Received 0 Likes on 0 Posts
MINI CAN bus data detective.

One dark and stormy night, I, Dirk Trippster, Automotive detective, got a call from an old friend:

"Oh, Dirk, you are the only one I can trust.... Can you PLEASE come over and "plug into" my MINI's CAN?"

Oh, yeah, I thought to myself. That's just the job for me.

I had to stop by a friend's house on the way and borrow his sys-tec USB-CANmodul interface, (Yeah, that's spelled correclty) and download some software from systec.com, but I was all prepared when I arrived.

I soldered two wires onto a Philips CAN bus interface chip in her tachometer module, and I took a peek under the covers using an oscilloscope, and I could clearly see the object of my desire. A pair of nicely formed sinusoids. Man, they looked great.

After a little timing, and inversion (I had to use a calculator for this since my slide-rule wasn't lubed up yet), I guessed that the bitrate was around 350 kilobits-per-second, so I tried setting the debugging module at 250 Kbits/second, and I was immediately disappointed.

BUSHEAVY Too many errors on the bus. I struck out at first base.

But if Dirk has learned anything in this rough-and-tumble world of bus-detective, it's never give up (at least right away)

So, on a whim, I tried 500 kbits/second, and I was rewarded with a page full of updating numbers.

Oh, such beautiful numbers. I gave her some gas, and took the revs up to 4500 and I got hit with that warm feeling seeing a small group of the numbers get larger... And larger... and larger as I revved her up.

Over time, I could see a smaller group of numbers expand until the radiator fan came on, and then, as she cooled off, they grew smaller. Hmmm.... Coolant temperature? That's likely.

Over the course of the evening's poking and prodding, she gave up many of her precious secrets. She told me about throttle-position; blinker-indicator; bright-headlights indicator; insturment backlighting status; ignition advance and many others.

She did leave some mystery to make sure I came back for a second tumble though.

Where is her intake airand ambient air temp? What about fuel-quantity? There were some tantalizing glimpses of possibly injector duration or something similar that she just wouldn't let go of quite yet.

I'll sing like a bird after the next meeting (whenever that might be. I need to rest up.)
 
  #2  
Old 07-26-2004, 07:58 AM
Trippy's Avatar
Trippy
Trippy is offline
Banned
Thread Starter
Join Date: Mar 2003
Location: Plymouth, MN
Posts: 2,859
Likes: 0
Received 0 Likes on 0 Posts
Second verse, same as the first.

I wrote a C program to capture the messages and went for a drive.

Then I spent a week trying to decode the mesasges, and I have found many things.
Engine RPM, 4 wheel-speed indicators, throttle-pedal position, blinker, highbeam,
parking brake lights, some temperatures (I think) and others I haven't decoded yet.

Here are some fun charts of wheel speed.

First, my entire trip:


And then a left-right-straight turn.


I have no idea what the units are for the wheel speed. I think 1200 units is aronud 35 MPH,
but I need to record some CAN data as well as some notebook data to get the calibration.
 
  #3  
Old 07-27-2004, 08:00 AM
Trippy's Avatar
Trippy
Trippy is offline
Banned
Thread Starter
Join Date: Mar 2003
Location: Plymouth, MN
Posts: 2,859
Likes: 0
Received 0 Likes on 0 Posts
My blinker-indicator isn't as accurate as it should be.

I'm REALLY disappointed in the accuracy of the blinker-indicator LED in the tach.

Just look at this plot!


The average on-time is 320 milliSeconds, but the standard deviation is 19.7 milliSeconds!!!

That's Awful. MINI should have been able to do a lot better. (Of course I'm just joking here)

(I'm just AMAZED at the things our car's computers talk about behind our backs. Or behind our dashboards I guess)

I'm having a good time eavesdropping.
 
  #4  
Old 07-27-2004, 08:15 AM
jsun's Avatar
jsun
jsun is offline
6th Gear
iTrader: (1)
Join Date: Jul 2002
Location: Massachusetts
Posts: 3,134
Likes: 0
Received 0 Likes on 0 Posts
Oh Trippy, you're our technical hero yet again! (is there no emoticon for swooning???) I for one would never have supposed that my car is using its computer to track the blink frequency of the turn signal.

Keep up the good work, and I'm assuming that much like the human genome project, the previous two postings are just the tip of the data iceberg.
 
  #5  
Old 07-27-2004, 08:18 AM
MINIclo's Avatar
MINIclo
MINIclo is offline
7th Gear Gal
Join Date: Jul 2002
Location: Weeblegabber West (aka WLA)
Posts: 36,087
Likes: 0
Received 3 Likes on 1 Post


Ah, Tripster: ever-creative in your attempt to graph all things MINI! YAY!

Clo/Wanda
 
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ludedude
MINIs & Minis for Sale
0
08-10-2015 07:16 PM
ECSTuning
Drivetrain Products
0
08-10-2015 01:59 PM
ECSTuning
Accessory Products
0
08-10-2015 01:35 PM
ECSTuning
Vendor Announcements
0
08-07-2015 08:02 AM



Quick Reply: MINI CAN bus data detective.



All times are GMT -7. The time now is 03:39 PM.