frc-docs icon indicating copy to clipboard operation
frc-docs copied to clipboard

Add page on Dimensional Analysis

Open mdurrani808 opened this issue 4 years ago • 1 comments

Dimensional Analysis is a constant pain point for people in FRC as they begin to use more advanced features. This page should include:

  • What is Dimensional Analysis
  • What goes into dimensional analysis (gearing, wheel size, encoder stuff)
  • Examples for drivetrain, arm, and an elevator

mdurrani808 avatar Feb 16 '22 21:02 mdurrani808

I haven't decided if I'm going to write this yet but I figured I could maybe contribute an example that would work for an elevator or a drivetrain, since this is similar to something 342 is working on right now.

My idea was a velocity conversion from a non-standard rotational unit, as most often output by encoders, to a linear velocity in meters per second. I think this would be a good example because it includes:

  1. A weird starting unit, as often provided by third-party APIs
  2. A change in time units
  3. A change from radial to linear motion

For example, the starting unit could be encoder ticks per 100 ms. I believe this is what is used by the Falcon 500 motors, but I'm not sure off the top of my head. Here's the math for that example.

dimensional analysis

(Pardon the ms paint math atrocities. I did my best.)

Also, which section would this go into? Maybe the sensors section with encoders?

in-my-ellement avatar Apr 14 '22 18:04 in-my-ellement