Go to Post Your drivetrain might make my girlfriend break up with me :D - Tottanka [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 05-02-2014, 20:07
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Interpolation Curves/Surfaces in FRC

So, I read another thread discussing methods of finding an equation for a given set of points, I wondered how or if other teams use interpolation tables as a quick and easy way of scaling data and getting a desired transfer function.

I attached two examples of 3d surfaces (both are from Kettering's FSAE engine software) and a 2d curve (from a robot).

In either case, the input breakpoints and output values at each cell are calibrated in a table. You can change things so the response is nonlinear, or if you have exact values at certain points you can type them in. The software then finds the correct cells bounding the input variables, and interpolates linearly to find the output.

I use them all the time, both at work and in FRC. Does anyone else use them. What are your thoughts?
Attached Thumbnails
Click image for larger version

Name:	sensor_scale_curve.png
Views:	23
Size:	10.0 KB
ID:	16117  Click image for larger version

Name:	ve_surf.png
Views:	30
Size:	21.5 KB
ID:	16115  Click image for larger version

Name:	crankfuel_surf.png
Views:	24
Size:	18.5 KB
ID:	16116  
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:59.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi