Notices

AiM Steering Angle

Thread Tools
 
Search this Thread
 
Old 08-20-2020, 09:18 PM
  #16  
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,641
Received 967 Likes on 581 Posts
Default

Originally Posted by ProCoach
The nice thing about Motec 2D and 3D tables is that when loaded into the config, it processes onboard and outputs the O/S-U/S as a value.

I suppose you could make a math (or even a custom sensor) in AIM that could incorporate that.

Great work, boxer-11. I think the goal is relative balance rather than a set number, and this is perhaps the best way to do this.
Non linear custom sensors are not a problem for RS2 or RS3 devices.

I would say the goals are different for different teams, drivers, and championships.
Old 08-20-2020, 09:41 PM
  #17  
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 Matt Romanowski
Non linear custom sensors are not a problem for RS2 or RS3 devices.

I would say the goals are different for different teams, drivers, and championships.
Some hardware is more capable for certain tasks than others.

That's why it's good to have choices.
__________________
-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 08-22-2020, 08:54 PM
  #18  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

I'm more than happy to share -- the question is what format helps. The 2D table is in the Dash config file for my C125 -- to look at that you'd have to be using dash manager and I don't think I can share the config file anyway (because it has some templates in it that are licensed content). I could make a screen shot of it in the edit window?? The other element is the raw data -- I captured that in a spreadsheet. I could upload that and provide a link I imagine if that would be better. Let me know what form works best and I'll figure out how to deliver it.
Old 08-22-2020, 09:06 PM
  #19  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

Hmm, actually, I guess I made a table in both the dash config and the i2pro math channels. The one in i2pro as part of the math content can be exported to XML format if you want that.
Old 08-22-2020, 09:08 PM
  #20  
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 boxer-11
I'm more than happy to share -- the question is what format helps. The 2D table is in the Dash config file for my C125 -- to look at that you'd have to be using dash manager and I don't think I can share the config file anyway (because it has some templates in it that are licensed content). I could make a screen shot of it in the edit window?? The other element is the raw data -- I captured that in a spreadsheet. I could upload that and provide a link I imagine if that would be better. Let me know what form works best and I'll figure out how to deliver it.
If the comms template is "licensed content," both Chris and Joe lock the addresses (they also lock it to the hardware by serial number, so the config wouldn't work in a dash not listed for this config), just look for the padlock in the comms list on the CAN.

You can take a screenshot of the 2D window or export it. The spreadsheet would allow people to adapt it or build their own 2D.

Thanks for sharing.
Old 08-22-2020, 09:33 PM
  #21  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

OK, let's try this then:

Code:
<MathExpression Id="Steering Wheel Abs" DisplayUnit="deg" DisplayDPS="3" DisplayColorIndex="0" Interpolate="1" Script="choose('Steering Wheel Angle' [deg] &gt; 0, 1.0, -1.0) * 'Steering Wheel Angle' [deg]" SampleRate="0" Unit="deg"/>
<MathTable2D Id="Steered Toe" DisplayUnit="deg" DisplayDPS="3" DisplayColorIndex="0" Interpolate="1" Interpolation="1" Rate="0">
<XDim Count="41" Id="Steering Wheel Abs" Units="deg" Data="0.0000 5.0000 10.0000 15.0000 20.0000 25.0000 30.0000 35.0000 40.0000 45.0000 50.0000 55.0000 60.0000 65.0000 70.0000 75.0000 80.0000 85.0000 90.0000 95.0000 100.0000 105.0000 110.0000 115.0000 120.0000 125.0000 130.0000 135.0000 140.0000 145.0000 150.0000 155.0000 160.0000 165.0000 170.0000 175.0000 180.0000 185.0000 190.0000 195.0000 200.0000"/>
<Values Units="deg" Data="0.1450 0.4250 0.6950 0.9850 1.2750 1.5900 1.8250 2.1900 2.4750 2.7450 3.0500 3.3500 3.6500 3.9350 4.2350 4.4540 4.8250 5.1250 5.4400 5.7450 6.0450 6.3550 6.6500 6.9850 7.2650 7.6050 7.9250 8.2450 8.5600 8.9000 9.2300 9.5750 9.8950 10.2400 10.5900 10.9100 11.2600 11.5900 11.9450 12.3000 12.6550"/>
</MathTable2D>
<MathExpression Id="Outside Steered Wheel Angle" DisplayUnit="deg" DisplayDPS="2" DisplayColorIndex="1" Interpolate="1" Script="choose('Steering Wheel Angle' [deg] &gt; 0, 1.0, -1.0) * 'Steered Toe' [deg]" SampleRate="0" Unit="deg"/>
<MathExpression Id="Oversteer" DisplayUnit="deg" DisplayDPS="2" DisplayColorIndex="0" Interpolate="1" Script="smooth(choose('Corr Speed'[km/h] &lt; 50, 0, sgn('G Force Lat'[m/s/s]) * (('Vehicle Wheelbase'[m] * 'G Force Lat'[m/s/s] / sqr('Corr Speed'[m/s])) - sgn(stat_mean('Outside Steered Wheel Angle' [rad] * 'G Force Lat'[m/s/s])) * 'Outside Steered Wheel Angle' [rad])), 0.2)" SampleRate="0" Unit="rad"/>
<MathExpression Id="Oversteer (Speed Weighted)" DisplayUnit="deg" DisplayDPS="2" DisplayColorIndex="1" Interpolate="1" Script="'Corr Speed'[km/h] / 80 * 'Oversteer'[deg]" SampleRate="0" Unit="deg"/>
That's math channel spooge from i2pro. Being a bit lazy (and having averaged left/right recorded values anyway on the assumption that the car is symmetrical but the measurements might not show that owing to operator error ) I made a one sided 2D table. Thus first I take the normal steering wheel angle channel and take the absolute value of that so it's 0-200 degrees (I didn't measure more than that because in my car I apparently don't use more than that at the local tracks anyway). Then from there that values is fed into the 2D table that is made from the horizontal measured toe angle for various reported steering wheel angles (live view of the same channel that is recorded in the logger data). That gives me an interpolated steered wheel angle which I labeled "outside" to remind me that it's only talking about the outside wheel (relative to turn direction). [you can see in the spreadsheet that I did collect outside and inside wheel toe values but I think the inside ones aren't relevant to this exercise?? Dunno, someone may have to correct me on that ]. From there the formulas for oversteer and speed weighted oversteer are pretty standard from the usual sources (I think the speed weighted one is a Buddy Fey original??).

This is what the table looks like in i2pro:




The excel file should be available here if I did the link permissions correctly. Let me know if it doesn't work. Also, especially for Matt and Peter -- if you guys see errors in my logic or math here, please correct me!

https://1drv.ms/x/s!AqD5pP4efjvbgogR...yCi3Q?e=jmHo1z

The following users liked this post:
ProCoach (08-23-2020)
Old 08-22-2020, 09:56 PM
  #22  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

Originally Posted by ProCoach
If the comms template is "licensed content," both Chris and Joe lock the addresses (they also lock it to the hardware by serial number, so the config wouldn't work in a dash not listed for this config), just look for the padlock in the comms list on the CAN.
Right but in this case I was debugging some bits and pieces with Chris so some of the templates are not locked and not mine to share.
The following users liked this post:
ProCoach (08-23-2020)
Old 08-22-2020, 11:04 PM
  #23  
Squeaky
Instructor
 
Squeaky's Avatar
 
Join Date: May 2018
Posts: 232
Likes: 0
Received 35 Likes on 28 Posts
Default

Originally Posted by boxer-11
I'm more than happy to share -- the question is what format helps. The 2D table is in the Dash config file for my C125 -- to look at that you'd have to be using dash manager and I don't think I can share the config file anyway (because it has some templates in it that are licensed content). I could make a screen shot of it in the edit window?? The other element is the raw data -- I captured that in a spreadsheet. I could upload that and provide a link I imagine if that would be better. Let me know what form works best and I'll figure out how to deliver it.
Hey, yeah a spreadsheet s absolutely fine. I'm not picky.
Old 08-22-2020, 11:10 PM
  #24  
Squeaky
Instructor
 
Squeaky's Avatar
 
Join Date: May 2018
Posts: 232
Likes: 0
Received 35 Likes on 28 Posts
Default

Originally Posted by boxer-11
OK, let's try this then:

Code:
<MathExpression Id="Steering Wheel Abs" DisplayUnit="deg" DisplayDPS="3" DisplayColorIndex="0" Interpolate="1" Script="choose('Steering Wheel Angle' [deg] &gt; 0, 1.0, -1.0) * 'Steering Wheel Angle' [deg]" SampleRate="0" Unit="deg"/>
<MathTable2D Id="Steered Toe" DisplayUnit="deg" DisplayDPS="3" DisplayColorIndex="0" Interpolate="1" Interpolation="1" Rate="0">
<XDim Count="41" Id="Steering Wheel Abs" Units="deg" Data="0.0000 5.0000 10.0000 15.0000 20.0000 25.0000 30.0000 35.0000 40.0000 45.0000 50.0000 55.0000 60.0000 65.0000 70.0000 75.0000 80.0000 85.0000 90.0000 95.0000 100.0000 105.0000 110.0000 115.0000 120.0000 125.0000 130.0000 135.0000 140.0000 145.0000 150.0000 155.0000 160.0000 165.0000 170.0000 175.0000 180.0000 185.0000 190.0000 195.0000 200.0000"/>
<Values Units="deg" Data="0.1450 0.4250 0.6950 0.9850 1.2750 1.5900 1.8250 2.1900 2.4750 2.7450 3.0500 3.3500 3.6500 3.9350 4.2350 4.4540 4.8250 5.1250 5.4400 5.7450 6.0450 6.3550 6.6500 6.9850 7.2650 7.6050 7.9250 8.2450 8.5600 8.9000 9.2300 9.5750 9.8950 10.2400 10.5900 10.9100 11.2600 11.5900 11.9450 12.3000 12.6550"/>
</MathTable2D>
<MathExpression Id="Outside Steered Wheel Angle" DisplayUnit="deg" DisplayDPS="2" DisplayColorIndex="1" Interpolate="1" Script="choose('Steering Wheel Angle' [deg] &gt; 0, 1.0, -1.0) * 'Steered Toe' [deg]" SampleRate="0" Unit="deg"/>
<MathExpression Id="Oversteer" DisplayUnit="deg" DisplayDPS="2" DisplayColorIndex="0" Interpolate="1" Script="smooth(choose('Corr Speed'[km/h] &lt; 50, 0, sgn('G Force Lat'[m/s/s]) * (('Vehicle Wheelbase'[m] * 'G Force Lat'[m/s/s] / sqr('Corr Speed'[m/s])) - sgn(stat_mean('Outside Steered Wheel Angle' [rad] * 'G Force Lat'[m/s/s])) * 'Outside Steered Wheel Angle' [rad])), 0.2)" SampleRate="0" Unit="rad"/>
<MathExpression Id="Oversteer (Speed Weighted)" DisplayUnit="deg" DisplayDPS="2" DisplayColorIndex="1" Interpolate="1" Script="'Corr Speed'[km/h] / 80 * 'Oversteer'[deg]" SampleRate="0" Unit="deg"/>
That's math channel spooge from i2pro. Being a bit lazy (and having averaged left/right recorded values anyway on the assumption that the car is symmetrical but the measurements might not show that owing to operator error ) I made a one sided 2D table. Thus first I take the normal steering wheel angle channel and take the absolute value of that so it's 0-200 degrees (I didn't measure more than that because in my car I apparently don't use more than that at the local tracks anyway). Then from there that values is fed into the 2D table that is made from the horizontal measured toe angle for various reported steering wheel angles (live view of the same channel that is recorded in the logger data). That gives me an interpolated steered wheel angle which I labeled "outside" to remind me that it's only talking about the outside wheel (relative to turn direction). [you can see in the spreadsheet that I did collect outside and inside wheel toe values but I think the inside ones aren't relevant to this exercise?? Dunno, someone may have to correct me on that ]. From there the formulas for oversteer and speed weighted oversteer are pretty standard from the usual sources (I think the speed weighted one is a Buddy Fey original??).

This is what the table looks like in i2pro:




The excel file should be available here if I did the link permissions correctly. Let me know if it doesn't work. Also, especially for Matt and Peter -- if you guys see errors in my logic or math here, please correct me!

https://1drv.ms/x/s!AqD5pP4efjvbgogR...yCi3Q?e=jmHo1z
i noticed the spreadsheet tab says 991. For some reason I thought you were doing it on your GT4.
Old 08-23-2020, 02:28 AM
  #25  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

Originally Posted by Squeaky
i noticed the spreadsheet tab says 991. For some reason I thought you were doing it on your GT4.
Ah yes, you are right: this is data for my GT3. I do have a set of numbers for the GT4 but I did those a less reliable way -- measuring the steering wheel turn by linear distance of the center mark from vertical and reading off the steered angle from the PCM display. That data has a fair measure of fudge because the linear distance measurement was less than precise and the PCM readout rounds pretty aggressively. Dundon wanted to borrow the GT3 for a fit test on their 991.2 splitter product so that's why that car ended up in their shop and I was able to make serendipitous use of their alignment rig for more precise measurements.
Old 08-23-2020, 05:57 AM
  #26  
Squeaky
Instructor
 
Squeaky's Avatar
 
Join Date: May 2018
Posts: 232
Likes: 0
Received 35 Likes on 28 Posts
Default

Originally Posted by boxer-11
Ah yes, you are right: this is data for my GT3. I do have a set of numbers for the GT4 but I did those a less reliable way -- measuring the steering wheel turn by linear distance of the center mark from vertical and reading off the steered angle from the PCM display. That data has a fair measure of fudge because the linear distance measurement was less than precise and the PCM readout rounds pretty aggressively. Dundon wanted to borrow the GT3 for a fit test on their 991.2 splitter product so that's why that car ended up in their shop and I was able to make serendipitous use of their alignment rig for more precise measurements.
The 991 has a quicker steering rack than the 981 doesn't it?
Old 08-23-2020, 01:28 PM
  #27  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

Yes, the ratio on the GT4 came out to 12-13-ish and the GT3 is more like 16-ish.
Old 08-23-2020, 01:33 PM
  #28  
Squeaky
Instructor
 
Squeaky's Avatar
 
Join Date: May 2018
Posts: 232
Likes: 0
Received 35 Likes on 28 Posts
Default

Originally Posted by boxer-11
Yes, the ratio on the GT4 came out to 12-13-ish and the GT3 is more like 16-ish.
Really? The published ratio at center for 981 is 16.5 though... Is it that the GT4 has a different rack?
Old 08-23-2020, 01:38 PM
  #29  
boxer-11
Rennlist Member
 
boxer-11's Avatar
 
Join Date: Sep 2013
Location: Olympia, WA
Posts: 451
Received 54 Likes on 37 Posts
Default

I know, right?? The GT4 numbers I got I'd take with a pinch salt...as I say, the methodology is probably suspect trying to measure steering wheel rim mark offset from vertical/straight ahead and converting that to turn angle gives lots of opportunity for slop plus I haven't tried to examine how accurate the steered value PCM spits out is so it's possible that too is a source of variation -- I mean I assumed it's steered wheel angle shown there, given the numbers, but it's possible that assumption isn't correct.
Old 08-23-2020, 01:48 PM
  #30  
Squeaky
Instructor
 
Squeaky's Avatar
 
Join Date: May 2018
Posts: 232
Likes: 0
Received 35 Likes on 28 Posts
Default

Originally Posted by boxer-11
I know, right?? The GT4 numbers I got I'd take with a pinch salt...as I say, the methodology is probably suspect trying to measure steering wheel rim mark offset from vertical/straight ahead and converting that to turn angle gives lots of opportunity for slop plus I haven't tried to examine how accurate the steered value PCM spits out is so it's possible that too is a source of variation -- I mean I assumed it's steered wheel angle shown there, given the numbers, but it's possible that assumption isn't correct.
Hmmm, hard to believe it's 30% off though. Couldnt you get the steering of AIM?

It's just a bit coincidental because supposedly the variable steering takes the ratio down to 12.7 IIRC, right in the range of what you got.


Quick Reply: AiM Steering Angle



All times are GMT -3. The time now is 08:21 PM.