Intro to Control Theory and PID Loops

From FRC11 - Mentor Wiki
Revision as of 22:43, 30 November 2020 by Dsteinmark (talk | contribs)
Jump to navigation Jump to search

Control Examples

  • Car cruise control
  • Thermostat for Heat or Air Conditioning
  • Navigational control for maintaining a ships heading
  • Autopilot for an aircraft
  • Keeping a Tesla in its own lane

Robotic controls

Simple

  • Set a motor speed by setting a voltage to be supplied immediately (MAX_SPEED)
  • Stop a motor from running by setting the voltage to zero immediately

Disadvantages? Advantages?

Trapezoidal

  • Ramp the motor speed up to the set voltage
  • Stop a motor from running by ramping the voltage down to zero.


Control Theory Intro

  • Non-linear Processes and Design Level Of Operation (DLO) To tune a non-linear process that responds differently to changes at different levels of output, you need to determine a representative operating point (DLO). Maybe you need more than one because there is too much variation, in which case - you need more than one controller, each based on its own range of operation.

PID Loops

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.