← All tools

Feedforward Characterization

Measure what your mechanism actually needs — the voltage wasted on friction, the volts per unit of speed, and the cost of accelerating.

Inputs

Steady-speed test

Command a voltage, wait until the speed stops changing, record it. Repeat across the range. This gives kS and kV.

1
2
3
4
5
6
7
8

Acceleration test optional

While the mechanism is speeding up, record the voltage, the speed at that instant, and how fast the speed was changing. This gives kA. Leave it empty if you have not measured it.

1
2
3

Results

kS, voltage that goes nowhere

V

kV, volts per unit of speed

kA, volts per unit of acceleration

How well the line fits

Points used

Predicted top speed at 12 V

Furthest point from the line

V

Your feedforward

Fit quality

how much of the variation the straight line explains

Show the numbers behind this chart

Each measured point, what the fitted line predicts for it, and the difference.

How this is calculated

Feedforward is the part of the control output that comes from knowing what you are asking for, rather than from watching what went wrong. To use it you need to know what your mechanism costs, and the only reliable way to find that out is to measure it.

volts = kS + kV × speed + kA × acceleration

Hold a steady voltage and acceleration is zero, so the last term drops out and what remains is a straight line: voltage against speed. Measure several points on it and the line's intercept and slope are the first two constants.

What each constant is

  • kS is the voltage that produces no motion at all. It is spent breaking static friction, and it is why a mechanism given a tiny command sits there humming instead of creeping. On the graph it is where the line crosses zero speed.
  • kV is the volts needed per unit of speed once moving. It is the slope, and it is mostly a property of the motor and gearing rather than of the load.
  • kA is what changing speed costs on top of holding it. It is the term that lets a mechanism follow a motion profile instead of lagging behind one, and it is the hardest of the three to measure well.

Measure the low end

kS is the intercept, so it is determined almost entirely by the points nearest zero speed. A test that starts at 6 V and works upward produces a confident-looking line whose intercept is an extrapolation into territory nobody visited.

If your lowest point is well above the point where the mechanism actually starts moving, treat kS as a guess however good the fit looks.

A good fit is not the same as a good measurement

R² says how close the points sit to the line, not whether the line means anything. Six points clustered at the top of the range will fit beautifully and tell you very little about kS.

The residual table below is more useful than the R² for spotting trouble. One point far off the line is usually a mistyped number or a reading taken before the speed settled. A curve in the residuals — all positive in the middle, negative at the ends — means the relationship is not actually straight, and a straight-line model is the wrong tool.

What this does not know

  • Whether the speed had settled. Reading too early produces points below the line and a kV that is too low. If the residuals slope one way through the test, suspect this.
  • Direction. Friction is not symmetric on most mechanisms. Constants measured going one way may not suit the other, and a lift is the obvious case.
  • Battery sag. Twelve volts commanded is not twelve volts delivered on a tired battery, and the error grows with current — which means it grows exactly where you are measuring the top of the line.

Save this as evidence

Collects what you entered, what came out, how it was worked out, and anything the tool flagged, with a timestamp and a version so someone else can reproduce it.

This is evidence, not a notebook entry. It deliberately does not write your problem statement, your reasoning, or your conclusion, because under RECF rules an Engineering Notebook has to be the students' own work and no tool may generate or organise its content. Take the numbers, decide what matters, and write it yourself.

Save this run, and compare

Keeps what is on screen so you can change something and see both sides of the change. Saved in this browser only, never uploaded.

Sources & assumptions

No VEX data. Everything here comes from measurements you took on your own mechanism, which is the entire point of characterisation.

The straight-line model of a brushed DC motor — a constant to break friction, plus voltage proportional to speed, plus voltage proportional to acceleration — is the standard basis for feedforward control. The fit is ordinary least squares, computed in closed form rather than iteratively, so it is exact for the data given.