Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Robot Perception and Control

Limit the command and correct stored demand

Coding challenges

The request exceeds the actuator limit

The proportional loop now needs memory, and that memory grows while the motor is unable to comply.

BOTIE

Will clipping 11 to 3 alone prevent the integral state from growing?
The inputs we are comparing

Position error

Within the limit

1

Positive saturation

5

Stored integral contribution

Within the limit

0

Positive saturation

1

Proportional gain

Within the limit

1

Positive saturation

2

Integral gain

Same in both cases

1

Back-calculation gain

Same in both cases

0.5

Timestep

Same in both cases

1

Lower actuator bound

Same in both cases

-3

Upper actuator bound

Same in both cases

3
Result for within the limit
  1. 01
  2. 11
Choose an explanation to test
A smaller timestep changes the stored correction

This check uses the pieces from “Feed actuator limits back to memory”.

BOTIE

The command request still saturates, but the update interval is now half a second. Predict both the applied command and the next integral contribution.
Position error
5
Stored integral contribution
1
Proportional gain
2
Integral gain
1
Back-calculation gain
0.5
Timestep
0.5
Lower actuator bound
-3
Upper actuator bound
3

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

Which recovery trajectory would reveal excessive stored demand?

Test the return from saturation and keep actuator limits in the loop.

One discrete PI back-calculation step; gains are teaching values and are not hardware tuning guidance.

Continue the courseKeep a Position Estimate Without Believing Every Detection →
← Measure Again Before Choosing the Next Move