Feedback loops in a balancing robot


This is the diagram I came up by taking this page's ascii drawing and adding some current feedback to the motor side.