RTC Website

chapter 8 companion and outline

This page contains companion resources and an outline for chapter 8 of the book An Introduction to Real-Time Computing for Mechanical Engineers, and it therefore lacks most of chapter 8’s contents. While some sections of the book are fully available on this site, many are not. Please consider purchasing a copy from the MIT Press.

PID Motor Position Control and Path Planning

In chapter 7, we achieved the velocity control design requirement R3, described in section 1.9. In this chapter, we achieve R4, the position control requirement:

We have already developed most of the tools necessary to meet this requirement:

  1. User interface drivers (chapter 1, chapter 2, chapter 3)
  2. Motor driving and angular position measurement (chapter 4)
  3. Interrupt handling (chapter 5)
  4. Digital dynamic system realization (chapter 6)
  5. Digital controller realization (chapter 7)

Some additional tools will be developed in this chapter. Derivative compensation and proportional-integral-derivative (PID) control are introduced in section 8.1, section 8.2, and their application to motors generally and the target motor in particular are looked at in section 8.3, section 8.4, section 8.5. This includes designing a digital controller in MATLAB and deploying it directly to the target system. In section 8.6, a simple path planning algorithm is introduced that shapes the input command to the feedback system to move the load position smoothly from its starting point to its commanded destination.

Derivative compensation

PID controller design

Motor position control with PID

Realizing a PID Controller: Causality and PIDF Controllers

Automatic Design of Target Motor Control

TX

Path planning

Summary

Problems

Motor position control

TX

Online resources for Chapter 8

No online resources.