BMW S1000RR Forum banner

Data Logging and Video for Trackdays

28K views 49 replies 14 participants last post by  JBuchanan  
#1 ·
I couldn't figure out how to change the title of my other post which I mislabeled "Wiring Diagram Needed". So, I'm starting a new thread.

Being a techno-geek, I can't help but wire up the bike to collect all sorts of data and video for trackdays. It's supposed to make me a better rider; at least that's what I'm telling my wife.

Turns out that the S1000RR will support some serious data collection. BMW and Alpha Racing are using a system from 2D Debus & Diebold MeĂźsysteme GmbH.

This is off the Alpha Racing site (Note the 2D box in the rightmost picture):

Image


Here is the dashboard on the racing bike:

Image


Here is the link to the available accessories brochure from Alpha Racing.

Here is a screenshot of the datalogging stuff.

Image


I emailed the US distributor for 2D and emailed Alpha Racing to get more information.

The US distributor (Werner Streich) responded:

2D offers a Kit and a interface for $ the S1000RR which will give the parameters you are looking for.

The SY-KITHP2_08-000 is $2,999 and the following components are included:

- 1 x Logger LG-KITTrackday08-001
- 1 x GPS
- 1 x 2D KIT HP2 Loom
- 1 x USB a/b download cable
- Velcro
- 1 x Software CD RaceKit
- Documentation Recording time 55 minutes

Logger details: Datalogger, 55 minutes recording time, 5 Analog-IN, 3 Digital-IN, 1 LAP IN, 1 Digital OUT, 1 CAN Interface 8 CAN channels, 1 CAN Interface for Display connection, 1 GPS-Mouse IN, 3 integrated Accelerometers, USB Interface including USB interface cable
I asked for clarification about using the 2D system with the bone stock S1000RR ECU:

yes the 2D HP2 Loom adapts to the BMW ECU. There is no additional wiring necessary (Plug & Play).
 
#2 ·
Now you just have to get your wife to let you spend the extra 3K on the bike for the data logger. Maybe you can get it added to the cost of the bike and finance it? BMW lets accessories be added to the cost of the bike if you buy it through BMW financial. Of course you are still paying for it, just not all at once.
 
#4 ·
Looks like there is enough room in the tail to fit the AIM Motorsports EVO4 datalogger that I already own.

Image


If I was starting fresh, I would probably go with the 2D system that is marketed by Alpha racing. They claim to be plug and play with the S1000RR. However, I've been on their site and can't figure out how they connect to the ECU.

I do know that the S1000RR uses a CAN system, so it should be possible to tap into it and connect the data bus to the EVO4.

The reason I'm going this route is my desire to have integrated video with a data stream like this:

Image

 
#6 · (Edited)
From sfoster: They claim to be plug and play with the S1000RR. However, I've been on their site and can't figure out how they connect to the ECU.


The instrument cluster is part of the CAN system. When you replace the stock one with the one from alpha racing you are pluging into the ECU through the CAN Bus network. You are also connecting to the ABS unit. The ECU uses some of the data it gets from the ABS sensors for traction control--wheel speeds.
 
#8 ·
Now that it may actually get into the 50's, it's time to think about that data logging project again. Thanks Viperclaw a bunch for the info on the CAN wires and which one is which.

The AIM Evo 4 fits perfectly in the tail section (unless you have the factory alarm installed). There is a cross brace to which the lockset is attached. This provides a good vertical reference plane for the accelerometers. The blue shop cloth is there just to keep it in place for now. The stock passenger seat installs fine and does not interfere with the EVO4. The alarm connector provides power and CAN access. Hopefully the CAN will map to the AIM software. If not, then it's manual connections.



Next is the SmartyCam. The BMW tankbag was installed so the frame provides a good mounting base. Not so sure about the location and whether it will interfere with riding position on a track. The camera/RAM mount would be angled well forward of the position in the picture. It's vertical here to maintain balance (not attached to the frame yet).

 
#9 ·
Nice post sfoster ;-)

I have a EVO4 as well and was starting to think about where to install it. The rear seems like a good idea. Please let me hear what you find out regaring the CAN bus connection.

I had the EVO4 on my KTM RC8 before but I never found out how to connect to the CAN ;-(

NB: I also have IR temp sensors for the tyres and suspension sensors for both the front and the rear :rolleyes:
 
#11 ·
First there's the connection to the CAN wires to see if any data can even be had directly from the ECU. There are no Mac programs for this so it will be a Windows day (will make sure there's a cold six pack handy to calm the frustration).
 
#12 ·
Not much progress today. Hooked up the CAN, power & ground to the data logger. Couldn't get a useful signal from the ECU.

Kind of shooting in the dark without a wiring diagram for the ECU. Other thread mentioned that the CAN signal may not be present at the connector under the passenger seat, with the alarm not installed. Can this be confirmed?
 
#13 ·
The CAN signal will be there. Do you still have the end plug in the wiring harness end where the alarm would be? There is a terminating resistor for the CAN bus loop that needs to be there for the CAN network to function correctly. The bike will still run without it but some CAN functions won't work correctly.

There is a CAN High and a CAN low signal from the wires. Do you have them correctly plugged into the data logger? I am not sure how the data logger functions so I am really just shooting in the dark here.
 
#14 ·
The CAN signal will be there. Do you still have the end plug in the wiring harness end where the alarm would be? There is a terminating resistor for the CAN bus loop that needs to be there for the CAN network to function correctly. The bike will still run without it but some CAN functions won't work correctly.
Doh! Should have known that.
Image


Need to test the resistor in the cap and duplicate it across the proper connectors. I didn't want to crimp on wire taps, so I used jumper wires from the pins with the cap off.
 
#18 ·
If you or someone you know speaks Italian, maybe you could speak with someone at AIM (Tel. (+39) 02-9290571), so see if they will support the S1000RR natively. If they did that, it would be plug and play, with all the data available to us.
 
#20 ·
The guy who sold me the EVO4 moved from Detroit to within 15 miles of my house. So, once they get the bike running again at the dealership, I plan on bribing him with a couple six packs. He builds the electronics for a lot of factory race cars, so I'm hoping he can make this work.
 
#22 ·
wow this is one project that i am very envious of! Where can i find more info of the different types of tachometers/speedmeters (what are they called)?

I know this is a query suggestion but they would of been 10x better if they made them colour screen!....or even touchscreen, come on its 2010! :D
 
#25 ·
Keep up the good work. I am really interested in this thread. I am a software programmer so I would love to make some custom code to work with the collected data. I was looking at the EVO4 but am now seriously considering the 2D. I am really interested to see what you find out. I am going to try and track down the West Coast S1000RR Ambassador. When I met them at MotoGP the bike they had, had a data logger in the passenger seat. I would love to find out who made it. He said it was custom BMW but who knows...
 
#26 ·
If he said it was custom BMW, then it was probably 2D.

The reason I want to get the AIM Motorsports EVO 4 working is the integration with the SmartyCam. I like the data overlay on the video, which can be viewed trackside with no need to use any software.
 
#27 ·
Yeah I noticed the 2D and Alpha Racing sponsor stickers on the race bike after you mentioned it. I am writing some video software like the Smarty Cam for the Go Pro. Windows new WPF platform allows some really cool video mixing within regular app space. You can even wrap the video realtime in side a graph if you want to. I am aiming for a MotoGP type display where you have the overlays around the edges but I want to allow you to choose any of your datapoints and that you want and from the different gauges and display it however you want over any video source. Then allow you to ghost and extruded GPS map over the top in an alpha blend. There are all kinds of trick possibilites including some really cool 3D graphs I have. I need to get the hardware side handled so I can get busy with the coding side. I use a multi-touch laptop for the track so it would be cool to incorporate that too. Just figured it would be fun to be able to analyze your data more visually and in reference to the track. The thing I like about the GoPro is that you can put 3 on the bike at once to get different perseptives. Like MotoGP. Thanks for the head up on the 2D. Even if I go that route I still want to put some pots on the suspension and who knows what else. BTW do you know if the 2D gets any data from the DTC/ABS sensors? Be cool to get that data. :)
 
#28 ·
Making progress. A test configuration was supplied by AIM and data was sampled from the CAN system. It was sweet to see all those data channels. Thanks to Jeff from Optimum Motorsports for the help. How many dealers are willing to come to your house to help set up the equipment they sold you?

Next step is to get the sampled data file back to AIM for them to build a standard config file. So, the setup with be plug and play. There will be an option to select BMW from the drop down configuration, which will show the S1000RR beside other BMW's autos. BTW, there is already a option to choose various Ducati models.

The bonus is the alarm connector in the tail provides the CAN high and low wires to connect to the data logger. Saves running wires.
 
#29 ·
Making progress. A test configuration was supplied by AIM and data was sampled from the CAN system. It was sweet to see all those data channels.
Both you and KrautBurner are much more tech oriented than I, but I would like to pursue the data logging portion of what you're doing. I currently use a ContourHD 1080p camera and would love to be able to overlay on-track data in the video; as well as have more in depth data to analyze to improve my track riding. I discovered this company while on the vholdr.com site and they seem to do some of what you guys are looking to achieve. They're at Vision Wells | On-Track Video Productions if you'd like to look at their output. Thanks for mentioning Optimum Motorsports, I took a look at their site and they seem to be a good resource, I'll call them tomorrow.
Steve
 
#31 ·
Got two database files back to test. One gave me a bunch of errors, which I think had to do with a table mismatch between the input and output tables. I'm pretty sure if I delete the output tables, they are self generated on startup.

The second file didn't give the errors but it detected an output file and asked if I wanted to delete it. I did and no errors. That's supports the earlier hypothesis.

Wired the unit a little more permanently. Once I get the final results, I'll go back and document (photograph) the whole thing.

Here it is under the passenger seat. It fits (barely) with the stock passenger seat.



Only the ECU connector is shown in the picture. The port to the right is for the Smartycam connection, and the one all the way over on the right is for the USB connection to the computer.

Was disappointed to see the throttle position missing from the output table, so that's a discussion for next week. May have been in the first data file which gave the errors.

Also need to confirm that the acceleration data was in fact coming from the CAN signal, not the EVO4 data logger. If it is, then the white box behind the battery is a three axis gyro. When the engineer was over, he pulled the numbers off the box and told me that he was pretty sure it was three axis but wasn't 100 percent sure.
 
#35 ·
Making progress on deciphering the ECU. Below is the latest, showing 16 channels of ECU data (the bottom 16 items). TPS stands for throttle position, which is not the physical throttle rotation, but the ECU commanded throttle position.

Turns out the white box under the seat contains a 2 axis accelerometer (long and vert) and a 2 axis gyro (roll and yaw).

Image
 
#37 ·
You beat me to it. Just upgraded to it today. Beats manually transferring database files.

Looks like the throttle information coming off the ECU isn't going to work for my needs. Just finished the Keith Code 2 day workshop (which I recommend to anyone). I really want to see smooth and constant application of throttle throughout the turn. ECU_2 (S1_TPS) throttle position doesn't really show this information. ACC_2 (longitudinal acceleration) will show the desired result of applying the throttle, but I want to see the actual input.

So, a potentiometer will probably be added to the throttle to measure position directly.
 
#40 ·
Success!! Thanks to Mike for pointing out the correct connector. It's the grey wire with red stripe.

Had a conversation with Jeff at OptimumMotorsports about how to figure out which wire is the right one (still no wiring diagram :mad:). He suggested that I use a pin and slide it into the connector along each wire to test for voltage. Never occurred to me. If you click on the last picture you can see the inserted pin.

I can't say enough about how Jeff has helped with this whole process. Helps that he lives less than 10 miles from my house. There's no way he made enough on this sale to "justify" the type of service he has given.

The grey wire with red stripe (#5 pin) provides a linear voltage from 0 (closed) to 5v (wide open). This is perfect.

 
#41 ·
Almost done.....almost. The only thing left, for now, is adding the brake indicator. Ran into a snag with the tail-light not providing the expected voltages. Must be a CAN operated tail-light.

Added the AIM TG Dash for lap timing display as well as providing data on what the EVO4 is doing. The lap timing works off GPS and is automatic once the track is entered into the system.

Image


Needed to add a four port data hub to run both the SmartyCam and the TG Dash at the same time. That would not be needed if the SmartyCam was not used. The data hub is powered by the EVO4 so no external wiring is required.

Luckily the TG Dash fit nicely on top of the triple clamp.

Image
 
#43 ·
Nothing yet. I was going to try and use the brake light to provide a simple on and off. That didn't work out so well. So, now I'm thinking of taking the plunge to measure braking pressure.