Closed loop control is an essential topic for embedded systems, bringing together actuators and sensors with the control algorithm in software. The central point of this chapter is to use motor feedback via encoders for velocity control and position control of motors. We will exemplify this by a stepwise introduction of PID (Proportional, Integral, Derivative) control.
In Chapter 4, we showed how to drive a motor forward or backward and how to change its speed. However, because of the lack of feedback, the actual motor speed could not be verified. This is important, because supplying the same analog voltage (or equivalent: the same PWM signal) to a motor does not guarantee that the motor will run at the same speed under all circumstances. For example, a motor will run faster when free spinning than under load (for example driving a vehicle) with the same PWM signal. In order to control the motor speed we do need feedback from the motor shaft encoders. Feedback control is called “closed loop control” (simply called “control” in the following), as opposed to “open loop control”, which was discussed in Chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
5.6 References
Åström, K., Hägglund, T. PID Controllers: Theory, Design, and Tuning, 2nd Ed., Instrument Society of America, Research Triangle Park NC, 1995
Bolton, W. Mechatronics - Electronic Control Systems in Mechanical Engineering, Addison Wesley Longman, Harlow UK, 1995
Jones, J., Flynn, A., Seiger, B. Mobile Robots - From Inspiration to Implementation, 2nd Ed., AK Peters, Wellesley MA, 1999
Kasper, M. Rug Warrior Lab Notes, Internal report, Univ. Kaiserslautern, Fachbereich Informatik, 2001
Kim, B., Tsiotras, P. Controllers for Unicycle-Type Wheeled Robots: Theoretical Results and Experimental Validation, IEEE Transactions on Robotics and Automation, vol. 18, no. 3, June 2002, pp. 294-307 (14)
Seraji, H., Howard, A. Behavior-Based Robot Navigation on Challenging Terrain: A Fuzzy Logic Approach, IEEE Transactions on Robotics and Automation, vol. 18, no. 3, June 2002, pp. 308–321 (14)
Williams, C. Tuning a PID Temperature Controller, web: http://new-ton.ex.ac.uk/teaching/CDHW/Feedback/Setup-PID.html, 2006
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
(2008). Control. In: Embedded Robotics. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-70534-5_5
Download citation
DOI: https://doi.org/10.1007/978-3-540-70534-5_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-70533-8
Online ISBN: 978-3-540-70534-5
eBook Packages: Computer ScienceComputer Science (R0)