Changes between Initial Version and Version 1 of ControlSystems/SoftwareTeam/Training/GettingStarted/PIDControl


Ignore:
Timestamp:
Nov 3, 2019, 9:28:47 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted/PIDControl

    v1 v1  
     1In the [wiki:ControlSystems/SoftwareTeam/Training/GettingStarted/ClosedLoopControl last example] we learned about proportional closed loop control where we helped the robot drive straight by increasing/decreasing power to the left/right motors in proportion to the error between the distance traveled by the left/right wheels.
     2
     3While proportional control works in many cases, it can take time to achieve the proper power balances, can be slow to react to changes, and in some cases can even oscillate or never reach the proper power levels.  PID control is a more sophisticated solution that takes more factors into consideration:
     4* P = Proportion - how much the current error is
     5* I = Integral - how much error has accumulated over time
     6* D = Derivative - how fast the error is increasing/decreasing
     7
     8Code examples are coming soon