follow ft86club on our blog, twitter or facebook.
FT86CLUB
Ft86Club
Delicious Tuning
Register Garage Members List Calendar Search Today's Posts Mark Forums Read

Go Back   Toyota GR86, 86, FR-S and Subaru BRZ Forum & Owners Community - FT86CLUB > Technical Topics > Tracking / Autocross / HPDE / Drifting

Tracking / Autocross / HPDE / Drifting What these cars were built for!


User Tag List

Reply
 
Thread Tools Search this Thread
Old 07-19-2015, 05:02 PM   #1
GSpeed
 
GSpeed's Avatar
 
Join Date: Apr 2015
Drives: 2015 BRZ
Location: Motorsport Ranch, TX
Posts: 619
Thanks: 227
Thanked 1,181 Times in 362 Posts
Mentioned: 30 Post(s)
Tagged: 1 Thread(s)
Race Studio 2 Analysis

After much playing around, we've got a good way of detecting ABS engagement using an Aim datalogger like a Solo DL, MXL2, or MXG and Race Studio 2.

Channels Required
4 Wheel Speeds
Brake Pressure

Step 1- Calculate Wheel Speed Rate of Change
You need to create two math channels that calculate the rate of change of your average wheel speeds at the front and rear of the car. Thankfully, Race Studio 2 has a nice little deriv() function that does all the hard math for you.

HTML Code:
dFrontWheelSpeed = deriv((TOYO_WHE_FL+TOYO_WHE_FR)/2)
dRearWheelSpeed = deriv((TOYO_WHE_RL+TOYO_WHE_RR)/2)
Step 2- Compare Wheel Speed Rates to Brake Line Pressure
This next function looks at your wheel speed rates and brake line pressure, and determines if an ABS event is probably occurring. The values used here are TOYO_BRAKE_PREX > 800psi, and wheel rates greater than 0 (i.e. accelerating). The theory is that under heavy braking events, the wheels will not be accelerating unless the ABS pump is stepping in and allowing wheel slip.

HTML Code:
ABS_ENGAGE = bit_or(bit_and(IF(GT(TOYO_BRAKE_PREX,800),1,0),IF(GT(dFrontWheelSpeed,0),1,0)),bit_and(IF(GT(TOYO_BRAKE_PREX,800),1,0),IF(GT(dRearWheelSpeed,0),1,0)))
It's a little awkward to read through, but it's an "OR" statement containing two "AND" statements we described above. We use two "AND" statements to check for positive wheel rate changes at the front or rear axle. If an ABS event is detected, it returns a value of 1, otherwise it returns 0.

Based on our experience, it's better to set a relatively high sample rate even though the wheel speeds are only read at 10 Hz. That gives you a nice sharp square wave on your graph, and sharper transitions on the GPS plot. Not great form from a programming standpoint, but for this application processor load isn't a realistic concern. This is calculated once, not continuously.

What does this tell me?
In short, this shows you where ABS is engaged on a race track. By looking at a GPS plot showing the "ABS_ENGAGE" channel we just created, you can visually see where you're engaging ABS, and then compare that information to other laps. Your fastest lap, instructor's lap, someone else's lap, etc.



It's a lot of work for such subtle differences on the map, but you can see the brief instances of color on the otherwise blue track. You may be invoking ABS somewhere you shouldn't be, or vice versa. It's just another data analysis tool to keep in your theoretical box to help you get more out of every session on track.

If anyone has any other ways of logging ABS events with the OBD channels, please post them up. More discussion is always a good thing. There's always different ways of doing things, but this is the first way we've found that consistently gives coherent data. We haven't validated it with a hardwired ABS signal, but based on driver notes and feedback, it seems to be accurate enough for our purposes.

Last edited by ichitaka05; 07-20-2015 at 12:39 PM.
GSpeed is offline   Reply With Quote
The Following 8 Users Say Thank You to GSpeed For This Useful Post:
BatStig (07-19-2015), Captain Snooze (07-20-2015), fstlane (07-19-2015), juliog (08-16-2015), philooo (07-19-2015), RedReplicant (05-23-2023), Sleepless (07-19-2015), sstfnv (07-20-2015)
Old 07-19-2015, 09:04 PM   #2
Sleepless
Senior Member
 
Sleepless's Avatar
 
Join Date: Apr 2014
Drives: 2014 BRZ
Location: Redmond, WA
Posts: 639
Thanks: 299
Thanked 392 Times in 229 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
THAT is awesome! Thx
__________________
Sleepless is offline   Reply With Quote
Old 07-19-2015, 11:15 PM   #3
philooo
Senior Member
 
Join Date: Mar 2014
Drives: 13' Scion FRS Track car
Location: miami
Posts: 417
Thanks: 76
Thanked 107 Times in 84 Posts
Mentioned: 7 Post(s)
Tagged: 2 Thread(s)
I think you guys are going to make us all so much faster !

I personally have a feeling my ABS is engaged, on the track, much more often than i'd like. Being able to see it visually will really help me know if I am paranoid ... or not
__________________
philooo is offline   Reply With Quote
The Following User Says Thank You to philooo For This Useful Post:
GSpeed (07-19-2015)
Old 07-19-2015, 11:19 PM   #4
philooo
Senior Member
 
Join Date: Mar 2014
Drives: 13' Scion FRS Track car
Location: miami
Posts: 417
Thanks: 76
Thanked 107 Times in 84 Posts
Mentioned: 7 Post(s)
Tagged: 2 Thread(s)
Quick question you say race studio 2, I thought the MXL2 was using their new file format and thus RaceStudio3 ? no ?
Or is it simply that you are more skilled at the Race Studio 2 coding ?
__________________
philooo is offline   Reply With Quote
Old 07-19-2015, 11:20 PM   #5
GSpeed
 
GSpeed's Avatar
 
Join Date: Apr 2015
Drives: 2015 BRZ
Location: Motorsport Ranch, TX
Posts: 619
Thanks: 227
Thanked 1,181 Times in 362 Posts
Mentioned: 30 Post(s)
Tagged: 1 Thread(s)
Whoops, my bad. Race Studio 2 Analysis.
GSpeed is offline   Reply With Quote
Old 07-20-2015, 08:47 AM   #6
AZP Installs
 
AZP Installs's Avatar
 
Join Date: Oct 2011
Drives: '11 STi->'14 BRZ | '14 Touareg TDi
Location: Kenilworth, NJ
Posts: 1,269
Thanks: 359
Thanked 556 Times in 371 Posts
Mentioned: 49 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to AZP Installs
Very Nice!

-mike
AZP Installs is offline   Reply With Quote
Old 08-16-2015, 05:41 PM   #7
Sleepless
Senior Member
 
Sleepless's Avatar
 
Join Date: Apr 2014
Drives: 2014 BRZ
Location: Redmond, WA
Posts: 639
Thanks: 299
Thanked 392 Times in 229 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Note that for me, the brake pressure variable is TOYO_BRAKE_PRE, not TOYO_BRAKE_PREX as shown above.

Great stuff, thanks so much!
__________________
Sleepless is offline   Reply With Quote
Old 08-16-2015, 05:44 PM   #8
Sleepless
Senior Member
 
Sleepless's Avatar
 
Join Date: Apr 2014
Drives: 2014 BRZ
Location: Redmond, WA
Posts: 639
Thanks: 299
Thanked 392 Times in 229 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Next challenge, probably not hard for you @PST:

- Create formulas for a similar track map to show the need for an LSD

Refer to: http://www.ft86club.com/forums/showthread.php?t=68310
__________________
Sleepless is offline   Reply With Quote
The Following User Says Thank You to Sleepless For This Useful Post:
philooo (08-16-2015)
Old 08-16-2015, 06:50 PM   #9
GSpeed
 
GSpeed's Avatar
 
Join Date: Apr 2015
Drives: 2015 BRZ
Location: Motorsport Ranch, TX
Posts: 619
Thanks: 227
Thanked 1,181 Times in 362 Posts
Mentioned: 30 Post(s)
Tagged: 1 Thread(s)
Quote:
Originally Posted by Sleepless View Post
Note that for me, the brake pressure variable is TOYO_BRAKE_PRE, not TOYO_BRAKE_PREX as shown above.

Great stuff, thanks so much!
Good to know. What device are you using? Solo DL, right?

Quote:
Originally Posted by Sleepless View Post
Next challenge, probably not hard for you @PST:

- Create formulas for a similar track map to show the need for an LSD

Refer to: http://www.ft86club.com/forums/showthread.php?t=68310
Sure, that looks like fun! I still need to read through that full thread, I've seen it referenced a few times. I threw this together.

Ch: RearSpinLR
Desc: Shows rear wheel speed differential when throttle position is over 40%. Negative values indicate left rear wheel rotating faster, positive values indicate right wheel rotating faster.
Ch. Req:OBD2
Notes: Accuracy restricted by low refresh rate (10Hz) across OBD network.
Code:
IF(GT(TOYO_PEDAL_POS,40),TOYO_WHE_RR-TOYO_WHE_RL,0)
Ch: RearSpin
Desc: Shows rear axle speed difference compared to front axle speed. Positive indicates rear wheel spin.
Ch. Req:OBD2
Notes: Accuracy restricted by low refresh rate (10Hz) across OBD network.
Code:
((TOYO_WHE_RL+TOYO_WHE_RR)/2)-((TOYO_WHE_FL+TOYO_WHE_FR)/2)
Ch: RearSpinLR_Filter
Desc: Filters channel "RearSpinLR" to only show values when rear wheel speed differential is greater than the speed difference between front and rear axles. In other words, this filters out completely breaking the rear end loose and focuses on single-wheel events.
Ch. Req:OBD2
Notes: Accuracy restricted by low refresh rate (10Hz) across OBD network.
Code:
IF(GT(abs(RearSpinLR),RearSpin),RearSpinLR,0)
Here's that last one plotted over a lap:



There are a lot of small spikes there, so let's overlay the throttle position ("TOYO_PEDAL_POS").



Almost all of those spikes coincide with throttle application, which combined with the low magnitude and short duration make me say we can ignore them. Additionally, they're also the outside wheel for each of those corners, which reinforces that decision.

That large-ish spike at about 4500', though, does appear to be a wheel spin instance. It's mid corner, throttle solidly applied, and on corner exit. So let's add steering wheel position and see what happened there.



Yep, looks like a dab of oversteer there. We can tell from the steering wheel angle, it was a right hand corner, and the left rear wheel broke loose for a split second. Judging from the GPS trace, the driver probably went a bit wide and took more curb than he should have there. It would be good to watch the video and see how that corner went down, but hey, it's quittin' time. My workweek is over.

Myth: Plausible.


Jake
GSpeed is offline   Reply With Quote
Old 08-16-2015, 08:37 PM   #10
Sleepless
Senior Member
 
Sleepless's Avatar
 
Join Date: Apr 2014
Drives: 2014 BRZ
Location: Redmond, WA
Posts: 639
Thanks: 299
Thanked 392 Times in 229 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Yes, using Solo DL.
__________________
Sleepless is offline   Reply With Quote
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
detecting knock on stock ecu denso Software Tuning 11 06-08-2015 03:43 PM
OBD2 not detecting but vent gauge working Howardwei Software Tuning 1 05-26-2014 03:24 PM
ECUTek detecting car Deadspool Software Tuning 10 12-18-2013 01:25 PM
As all our cars are pretty much brand new!! Motion Detecting Dash Cams!! eddieEndo Scion FR-S / Toyota 86 GT86 General Forum 22 02-28-2013 04:42 PM


All times are GMT -4. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging v3.3.0 (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

Garage vBulletin Plugins by Drive Thru Online, Inc.