Difference between revisions of "PID Control"

From FRC11 - Mentor Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
PID Control is a ''closed loop'' control architecture that uses monitoring and feedback to improve control of a ''process variable'' - that is something you wish to control.  It is more robust than ''open loop'' controllers that have a ''set it and forget it'' type of mentality, which do not monitor what is happening.
 
PID Control is a ''closed loop'' control architecture that uses monitoring and feedback to improve control of a ''process variable'' - that is something you wish to control.  It is more robust than ''open loop'' controllers that have a ''set it and forget it'' type of mentality, which do not monitor what is happening.
  
−
Before learning about PID Control, it is important to know where it fits in with other types of control options.
+
Before learning about PID Control, it is important to know where it fits in with other types of control options.  The introduction to PID is on this other page.
  
 
'''See page: [[Intro to Control Theory and PID Loops]]'''
 
'''See page: [[Intro to Control Theory and PID Loops]]'''

Revision as of 17:23, 8 December 2021

Intro

PID Control is a closed loop control architecture that uses monitoring and feedback to improve control of a process variable - that is something you wish to control. It is more robust than open loop controllers that have a set it and forget it type of mentality, which do not monitor what is happening.

Before learning about PID Control, it is important to know where it fits in with other types of control options. The introduction to PID is on this other page.

See page: Intro to Control Theory and PID Loops


Edits To Do:

  • banding the PID control (I.e) multiple DLOs) to create a stronger response
  • oscillations
  • can’t correct with > 100% effort
  • Talon SRX PIDF controller PID Control built into the Talon SRX controllers

Resources

Links:

Some basic tips:

  • PID control works best if the underlying control mechanism does a decent job first
  • That way, the correction constants can be tuned to correct disturbances, and not to control the system for its default behavior
  • This implies that your feed-forward/open loop/bias component should be calculated appropriately, and not rely on the PID portion to perform basic operation
  • Tune P before I or D
  • Tune I before D
  • D often does not need to be used
  • The Derivative component (D) is often subject to noise and can be difficult to control
  • You can perform noise filtering to get improvements at a cost of slightly delayed response for the D component

To Do:

  • Cover use of the PIDF controller built into the Talon SRX controllers.
  • Maybe include advanced treatment (noise filtering, especially for D, windowing for I, cascading controllers?) and possibly info about the mentor PID Controller code when completed.
  • Additional topics: tips for tuning, keeping away from D unless necessary, typical places to apply on the robot.