PID Tuning – Multibody, Multi-Domain Physical Model in MapleSim – Maplesoft

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.

Close

Download this MapleSim model

This model requires MapleSim. If you do not have MapleSim, contact us for a live demonstration.

  • How this model works and how it was developed
  • How this model can be modified to fit your requirements
  • How we can assist you in developing your own models to solve your engineering design problems

Let Maplesoft Engineering Solutions provide you with the expertise and tools you need to meet your project requirements quickly and effectively. Ask our experts today!

Contact us today


If you have MapleSim, download the model here:

Download the Model

Close

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
Industry:

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
PIDTuning
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.