Update control.md

This commit is contained in:
Oskar Weigl
2018-08-04 15:34:41 -07:00
committed by GitHub
parent 3a0a3a2a5a
commit f772860b15
+6
View File
@@ -1,3 +1,9 @@
# Control
The motor controller is a cascaded style position, velocity and current control loop, as per the diagram below. When the control mode is set to position control, the whole loop runs. When running in velocity control mode, the position control part is removed and the velocity command is fed directly in to the second stage input. In current control mode, only the current controller is used.
![Cascaded pos vel I loops](https://static1.squarespace.com/static/58aff26de4fcb53b5efd2f02/t/5b66284a0e2e72aae8818d64/1533421649405/CascadedController.png?format=2500w)
* The position controller is a P loop with a single proportional gain.
* The velocity controller is a PI loop.
* The current controller is a PI loop.