Notices

data sampling suspension on the can bus?

Thread Tools
 
Search this Thread
 
Old 06-10-2022, 04:46 AM
  #1  
edub
Pro
Thread Starter
 
edub's Avatar
 
Join Date: Feb 2021
Posts: 723
Received 347 Likes on 191 Posts
Default data sampling suspension on the can bus?

I'm curious what the data rate on the suspension can bus is - and whether logging the ride height signal is possible there.

The reason I'm concerned is, when the car is moving quickly, will the suspension signals be sufficient to identify what the suspension is doing? (trying to avoid aliasing)

Digging around tonight I think I found that the CAN Chassis bus is 500kbps. (someone mentioned it here)

500,000 bits divided by 4 (4 struts) / divided by 2 (send and receive I assume is on the same CAN bus) If the value I want to log is 4 digits in length (10 bits), then the bus supports up to 1059 data frames a second (49 bit for overhead and 10 bit for data).

Thats 1,059 samples a second I could log per wheel which seems sufficient.



So my assumptions aside - does anyone know what values the suspension sends on the can bus? Are they suitable for data logging the suspension or do I need to measure this without the assistance of pasm?
Old 06-10-2022, 07:29 AM
  #2  
Matt Romanowski
Rennlist Hoonigan
which cost no drachmas
Lifetime Rennlist
Member


Rennlist
Site Sponsor
 
Matt Romanowski's Avatar
 
Join Date: Dec 2001
Location: Manchester, NH
Posts: 12,640
Received 967 Likes on 581 Posts
Default

The limit on CAN isn't the bus speed, it's the general architecture. It's often limited to 100 or 250 Hz. That is the bottom of what yo want to log suspension at.
The following users liked this post:
924RACR (06-10-2022)
Old 06-10-2022, 11:32 PM
  #3  
Frank 993 C4S
Addict
Rennlist Member

 
Frank 993 C4S's Avatar
 
Join Date: Mar 2003
Location: NY Tri-State
Posts: 8,658
Received 859 Likes on 528 Posts
Default

Originally Posted by edub
I'm curious what the data rate on the suspension can bus is - and whether logging the ride height signal is possible there.

The reason I'm concerned is, when the car is moving quickly, will the suspension signals be sufficient to identify what the suspension is doing? (trying to avoid aliasing)

Digging around tonight I think I found that the CAN Chassis bus is 500kbps. (someone mentioned it here)

500,000 bits divided by 4 (4 struts) / divided by 2 (send and receive I assume is on the same CAN bus) If the value I want to log is 4 digits in length (10 bits), then the bus supports up to 1059 data frames a second (49 bit for overhead and 10 bit for data).

Thats 1,059 samples a second I could log per wheel which seems sufficient.

So my assumptions aside - does anyone know what values the suspension sends on the can bus? Are they suitable for data logging the suspension or do I need to measure this without the assistance of pasm?
What kind of car is it?
Old 06-11-2022, 05:04 AM
  #4  
edub
Pro
Thread Starter
 
edub's Avatar
 
Join Date: Feb 2021
Posts: 723
Received 347 Likes on 191 Posts
Default

It's a 718 GT4

Matt, I'm a bit new to this but how is the 100Hz/250Hz calculated relative to the bus speed? Bandwidth is bits over times, so is the effective Hz a result of the microprocessor clock speeds on the CAN bus?

And yep, I feel like 100-200Hz will be too low as well

Old 06-11-2022, 04:19 PM
  #5  
Frank 993 C4S
Addict
Rennlist Member

 
Frank 993 C4S's Avatar
 
Join Date: Mar 2003
Location: NY Tri-State
Posts: 8,658
Received 859 Likes on 528 Posts
Default

You want 200, preferably 500 Hz of sampling speed for any meaningful analysis.
Old 06-11-2022, 04:26 PM
  #6  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Originally Posted by edub
It's a 718 GT4

Matt, I'm a bit new to this but how is the 100Hz/250Hz calculated relative to the bus speed? Bandwidth is bits over times, so is the effective Hz a result of the microprocessor clock speeds on the CAN bus?

And yep, I feel like 100-200Hz will be too low as well
@edub For the AiM on CAN on a 718 GT4 street car, there isn't any suspension displacement info coming through on the AiM driver that is effective and working on that car. So unless it's in there, which I don't think it is, you'll need to write something yourself.

Different channels have different sampling rates on the bus they're on or determined by the gateway. Here's the list (991_911, direct wired) for the protocol I use on the 718 GT4 street car. Some channels are available, some aren't. Some are limited to 10 Hz, some will allow 50 Hz or more. https://www.aim-sportline.com/downlo...11_109_eng.pdf
__________________
-Peter Krause
www.peterkrause.net
www.gofasternow.com
"Combining the Art and Science of Driving Fast!"
Specializing in Professional, Private Driver Performance Evaluation and Optimization
Consultation Available Remotely and at VIRginia International Raceway






















Old 06-11-2022, 04:27 PM
  #7  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Not even available on the ClubSport or ClubSport RS. See here: https://www.aim-sportline.com/downlo...rt_100_eng.pdf
Old 06-11-2022, 04:40 PM
  #8  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Now, if you had a McLaren 650S and a VBOX, you could get that information. https://www.racelogic.co.uk/_downloa...Laren-650S.pdf

Heck, you can even get it from a Tesla 3 or Model S! https://www.racelogic.co.uk/_downloa...el%20S%20X.pdf

But, you're limited not only to the default sampling rate for all channels in the VBOX unit itself and the standard, most useful analysis software has no other way to show it other than individual strip charts and/or dynamic on-screen elements on the video, rendered real-time with values.

To do this right, you'd need a dedicated AIM or MoTeC logger with linear, rotary (with an arm) or non-contact sensors and set up the software for chassis analysis, not only ride heights and damper compliance, but pitch, rake, roll (separated by front and rear on the latter).

John Block (auto-ware.co) is the best resource to help you set it up for usable, actionable information, IMO.
The following users liked this post:
edub (06-11-2022)
Old 06-11-2022, 06:26 PM
  #9  
edub
Pro
Thread Starter
 
edub's Avatar
 
Join Date: Feb 2021
Posts: 723
Received 347 Likes on 191 Posts
Default

Originally Posted by ProCoach
Now, if you had a McLaren 650S and a VBOX, you could get that information. https://www.racelogic.co.uk/_downloa...Laren-650S.pdf.
Haha, that's what inspired this research, that McLaren I just have tucked away in the back of my garage

I'm pretty surprised this information isn't already in the existing data buses on the car. I wonder what the DSC/PASM computer is reading and interpreting to make changes to the struts then?

There is a ride height sensor on the front suspension - are they suitable for sampling or are they also too crude?

Old 06-11-2022, 07:26 PM
  #10  
edub
Pro
Thread Starter
 
edub's Avatar
 
Join Date: Feb 2021
Posts: 723
Received 347 Likes on 191 Posts
Default

https://rennlist.com/forums/gt4-spyd...l#post14064718

If this post is accurate, then it suggests the ride height sensors will not be accurate enough to log strut position for tuning purposes using the OEM equipment.

Old 06-11-2022, 07:34 PM
  #11  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Originally Posted by edub
https://rennlist.com/forums/gt4-spyd...l#post14064718

If this post is accurate, then it suggests the ride height sensors will not be accurate enough to log strut position for tuning purposes using the OEM equipment.
Tom Chan at TPC would know.
Old 06-11-2022, 07:46 PM
  #12  
edub
Pro
Thread Starter
 
edub's Avatar
 
Join Date: Feb 2021
Posts: 723
Received 347 Likes on 191 Posts
Default

I'll ask Tom if he has more specifics, but it's his post of you noticed. He's just relaying what the DSC engineer explained to him.
Old 06-11-2022, 07:53 PM
  #13  
ProCoach
Rennlist
Basic Site Sponsor
 
ProCoach's Avatar
 
Join Date: Jun 2008
Location: Durham, NC and Virginia International Raceway
Posts: 19,097
Received 3,270 Likes on 1,865 Posts
Default

Originally Posted by edub
I'll ask Tom if he has more specifics, but it's his post of you noticed. He's just relaying what the DSC engineer explained to him.
One of the longest serving head honchos at TPC, Tom is the main customer interface for the DSC.

He’s a great guy. If he doesn’t know the answer, he’ll find out.
Old 09-12-2023, 09:33 PM
  #14  
edub
Pro
Thread Starter
 
edub's Avatar
 
Join Date: Feb 2021
Posts: 723
Received 347 Likes on 191 Posts
Default

With winter approaching I wanted to try and get a couple data logs in on the track to see what the viability of suspension data there is from the OEM sensors.

I added some traces to the suspension controller to pickup the raw voltage from suspension height sensors and the existing CAN high/low thats on the controller. Likely, I'll have to add another CAN hookup to get other interesting data, however I already have EXLAP and thats not terrible telemetry for amateur data logging.

I'll be able to log the suspension sensors to 12bit at 1Khz this way. Somewhere on rennlist I have a post about how much telemetry I estimate I can get from the OEM suspension sensors, but I'm guessing having not really logged them before or even opened one up.






23-35mm per second seem like its enough?

Last edited by edub; 09-12-2023 at 09:37 PM.
The following users liked this post:
ProCoach (09-12-2023)
Old 09-12-2023, 10:06 PM
  #15  
38D
Nordschleife Master
 
38D's Avatar
 
Join Date: Jun 2002
Location: About to pass you...
Posts: 6,654
Received 810 Likes on 411 Posts
Default

Awesome stuff!


Quick Reply: data sampling suspension on the can bus?



All times are GMT -3. The time now is 02:49 PM.