This example shows the simulation of a PID Controller used to stabilize a second order plant using
QFIRE Studio
.The
QFIRE CTR-101
implements a PID controller to control the plant represented by the transfer function below:Originally, the PID controller was designed in [1] to be:
The corresponding proportional, integral, and derivative gains are respectively:
QFIRE CTR-101
uses fixed-point, the values of the gains are not exactly the same as those designed, see Figure 1.
Figure 1 - PID Controller
The control task was configured to have a sampling period of

Figure 2 - Properties window of the
QFIRE CTR-101
blockIn Figure 3, the control system includes:
QFIRE CTR-101
controller, plant, and a feedback loop.
Figure 3 - Control system
The plant is stabilized as in Figure 4.

Figure 4 - Unit-step response of the closed-loop system in Figure 3
[1] - Katsuhiko Ogata, Modern Control Engineering, Fourth Edition, Delhi: Pearson, 2003.
About MWF
MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.
Contact Us
Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil
contact@mwf-technologies.com
© 2018-2026 MWF. All rights reserved.