View Single Post
  #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:	ve_surf.png
Views:	29
Size:	21.5 KB
ID:	16115  Click image for larger version

Name:	crankfuel_surf.png
Views:	23
Size:	18.5 KB
ID:	16116  Click image for larger version

Name:	sensor_scale_curve.png
Views:	22
Size:	10.0 KB
ID:	16117  
__________________
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