PID Tuning MapleSim Model - PID Tuning S-Function - MapleSim Model Gallery

PID Tuning

In this example we show how to design a PID controller for a non linear system. The system is a DC motor driving a pendulum, where the objective is to maintain the pendulum at an angle of 1 radian from the horizontal. We generate the system equations automatically and then linearize the system at the operating point where the angle is 1. We then use the dominant pole design technique and place dominant poles at -2-I, -2+I, and -1. We use the resulting PID controller to control the system. As a comparison, we also show the open loop uncontrolled system.

The control design methods used in this model are explored in more detail in the application Designing a PID Controller.


This Model Requires MapleSim

If you do not have MapleSim, contact us to arrange a short, live demonstration with a MapleSim product expert, where you will:

  • See how this model operates
  • Learn how it was developed
  • Discover how it can be modified to fit your requirements
Request a Live Demo

If you have a copy of MapleSim available, you can download the model here:

Download the Model

Request an S-Function

MapleSim Models can be readily exported as royalty-free S-functions. To request the S-function corresponding to this model, please fill in the form below.

Model: PID Tuning

Submitting form...

Thank you for requesting the S-Function. Your request has been received and you can expect to hear from us shortly. Close Window
Oops! There was a problem. Try again later Close Window
Model Image
The results show the controlled pendulum being controlled to theta = 1 rad whereas the uncontrolled pendulum drops to theta= - pi
MapleSim Video
Video not available in this browser.
Simulink is a registered trademark of The MathWorks, Inc.