Ozen 2015
Ozen 2015
Ozhan Ozen Emre Sariyildiz, Haoyong Yu Kenji Ogawa, Kouhei Ohnishi Asif Sabanovic
Faculty of Engineering and Department of Biomedical Department of System Design Faculty of Engineering and
Natural Sciences Engineering Engineering Natural Sciences
Sabanci University National University of Singapore Keio University Sabanci University
Istanbul, Turkey Singapore Yokohama, Japan Istanbul, Turkey
ozhanozen@sabanciuniv.edu {bieemre,bieyhy}@nus.edu.sg {kenji,ohnishi}@sum.sd.keio.ac.jp asif@sabanciuniv.edu
Abstract— The most popular control method in the industry Apart from these most common methods, there are also
is PID control due to its simple structure and effective more advanced PID tuning methods such as Rivera’s method
performance. Although huge numbers of PID controller tuning which uses the advantages of 2 degree of freedom (2-DOF)
methods have been proposed so far, existing ones still do not have control approach [10] and many intelligent tuning algorithms
the desired performances and the simplicity. Complex system such as Genetic Algorithms (GA) and Fruit Fly Optimization
dynamics make it challenging for engineers and students to apply (FOA) [4], [6]. Although these methods enhance the
these methods on their applications especially in the motion capabilities of the conventional algorithms, they are too
control and robotics areas. Such systems generally include complex to be used by engineers, students and even most of
nonlinearity, friction, varying inertia and unknown disturbances
researches. Therefore, these methods are not used in the
which make the conventional tuning methods ineffective and too
complex to be used. There is need for simple and effective PID
industry and even not common in the academia.
tuning methods in these areas. In order to solve this problem, this Complex system dynamics are the main problem of the
paper proposes two novel practical PID tuning methods for existing conventional tuning methods. Especially in motion
motion control systems. These methods bring the superiority of control and robotics, where the main usage of PID controllers
the 2 degree of freedom control approach to simple PID is to control servo position and force, this problem is faced
controller structures analytically. They are very effective in more frequently. Such systems generally have nonlinearities,
motion control and robust both to parameter uncertainty and
uncertainties, friction, varying system parameters and
unknown disturbances, yet very simple. They can be easily used
unknown disturbances. These properties complicate the use of
by the engineers in the industry and the students with very basic
control knowledge, so little effort and time. The tuning methods the existing PID tuning methods [11]. The PID controllers
of robust PID and PI controllers with velocity feedbacks are tuned according to these methods, may behave very differently
proposed, for position and force control problems of servo when the inertia changes or an unknown load disturbance is
systems, respectively. The validities of the proposals are verified applied. This makes the motion control an even harder area for
by the experimental results. proper PID controller tuning since one must consider these
complex system dynamics and uncertainties when tuning.
Keywords—PID controller, tuning, robustness, motion control Therefore there is need for effective but very simple PID
robotics, position control, force control tuning methods in motion control area.
I. INTRODUCTION In order to address this problem, this paper proposes two
novel practical PID tuning methods for motion control; tuning
Proportional-Integral Derivative (PID) control is the most of a PID controller with velocity feedback for servo position
widely used control in the industry [1]–[2]. The reasons for its control and tuning of a PI controller with velocity feedback for
popularity are its simple usage and effectiveness [3]. So far, servo force control. Although these methods are applied on
several PID tuning methods have been proposed [4]. However, basic PID controller structures, they use the advantages of 2-
these existing methods do not have the desired performances DOF control approach. They provide high robustness to
and simplicity for many applications i.e., an important part of varying system parameters, unmodelled dynamics and
the PID controllers in the industry have bad performances due unknown disturbances. These methods are very effective for
to their poor tunings [1]. motion control and very simple to use. They can be easily
The most common tuning method was proposed by Ziegler used by engineers and students with so little effort and time.
and Nichols [5]. This method needs many iterations for tuning, Their validity are verified by the experimental results.
gives big overshoot and the robustness to varying system The rest of the paper is organized as follows. In Section II,
parameters is low [6]. There is also the popular Cohen-Coon the direct tuning steps are given with explanations. In Section
formula which is derived to give good robustness against load III, the analytical derivations of the methods are presented. In
disturbances, but this method is not satisfactory because of its Section IV, the experimental results are given. The Section V is
overshoot and oscillatory response [7]–[9]. the conclusion part.
l-)))
II. CONTROLLER TUNING
In this section, tuning algorithms are described for both
position and force control problems. A PID controller with
velocity feedback and a PI controller with velocity feedback
are tuned for position and force control, respectively. The block
diagrams of such servo control systems are shown in Fig. 1 and
Fig. 2.
In these figures and the following tuning steps, the
following definitions apply;
ݔ Position; Fig. 1. Block diagram of the PID control system with velocity feedback for
position control.
ݔሶ Velocity;
߬௫௧ External force;
ݔ Position reference;
External force reference;
߬௫௧
݁ Error;
ܬ Inertia;
ܾ Viscous friction coefficient;
Proportional gain;
ܭ ǡ ܭ
ܭௗ Derivator gain;
Integrator gain; Fig. 2. Block diagram of the PI control system with velocity feedback for
ܭ ǡ ܭ force control.
Velocity feedback gain;
ܭ௩ ǡ ܭ௩
߬ Control signal;
ௗ௦ ௗ௦ ௗ௦ Interactive, external and friction
߬௧ ǡ ߬௫௧ ǡ ߬ x ܭ ൌ ܭௗ௦ ܭௗௗ௦ ܴǢ
disturbances;
General disturbances; x ܭ ൌ ܭௗௗ௦ ܴǢ
߬ௗ ǡ ߬ௗ
Desired proportional gain; x ܭௗ ൌ ܭௗௗ௦ Ǣ
ܭௗ௦ ǡ ܭௗ௦
x ܭ௩ ൌ ܬ ܴǤ
ܭௗௗ௦ Desired derivator gain;
ܭ௩ Environmental stiffness coefficient; Increase R while updating the controller gains according to
ܦ௩ Environmental damping coefficient; it, until the system starts to be influenced negatively by
ܬ Nominal inertia; practical constraints such as noise.
߱ Natural frequency; B. Force Control
Ƀ Damping coefficient;
Similarly, consider an ideal force control system with P
ܴ Robustness variable. controller, assuming that there is no external or interactive
disturbance, the system inertia is nominal and close to the
A. Position Control upper limit of the exact varying inertia. Select the desired
proportional gain accordingly;
Consider an ideal position control system which is linear
and having no friction or any disturbance, having nominal ܾʹ
inertia and PD controller. Select the nominal inertia as close as x ݏ݁݀ܭ
ൌ Ǥ
Ͷ ݒ݊݁ܭ ݊ܬɃʹ
possible to the upper limit of the exact varying inertia, for the
reason that selecting the nominal inertia higher makes the
ܭ௩ and ܦ௩ are the environment parameters that are
system more stable [12], [13]. Select the desired proportional
defining the material properties of the contact point in force
and derivator gains according to the desired natural frequency
and damping coefficient; control. The force controlled, ߬௫௧ , is a function of these
parameters and position. If these parameters are unknown,
they can be estimated by an adaptive algorithm such as in
x ݏ݁݀ܭ
ൌ ݊ʹ߱ ݊ܬǢ [14]. In practice, it is harder to tune the controller gain in force
control due to unknown environment. Therefore, selecting
x ݏ݁݀ܭ
݀ ൌ ʹ ݊ܬɃ߱݊ Ǥ
ܭௗ௦ lower at first and increasing it slowly, until the system
Select ܴ value considering that the higher this value, the performance deteriorates, is a safer method in terms of
more robust the system will be to the unmodeled dynamics, stability. Increase R until the system is affected by the noise
friction and external disturbances. Set the real controller gains and set the real controller gains according to the following
according to the following relations; relations;
߬ ൌ ݁൫ܭ ܭௗ ݃൯ න ݁ ൫ܭ ݃൯
݁ሶ ܭௗ െ ܬ ݃ݔሶ ǤሺͶሻ
Fig. 3. Block diagram of a DOB control system. ߬ ൌ ݁ܭ න ݁ ܭ ݁ሶ ܭௗ െ ܭ௩ ݔሶ Ǥሺͷሻ
݂
x
ܭ ൌ ܭௗ௦ Ǣ Similarly, if proportional gain and ݃ are selected as ݏ݁݀ܭ
݂ andܴ, respectively, the control signal of a DOB based force
x ܭ ൌ ܭௗ௦ ܴǢ control system can be written as;
x ܭ௩ ൌ ܬ ܴǤ
݃ ௗ௦
߬Ƹ ௗ௦ ൌ ሺ߬ െ ܬ ݔሷ ሻǤሺ͵ሻ
ݏ
TABLE I
EXPERIMENTAL SETUP SPECIFICATIONS
Parameters Descriptions Values
݀ܶ Sampling period ͳͲିସ ݏ
tuned with different ܴ values, are shown in Fig. 9. As it is
seen, the higher theܴ, the more robust the system becomes,
and the response becomes closer to the disturbance-free case.
In the third part, a sinusoidal force reference input was
applied instead of a step input, with an offset of 3N, amplitude
of 1.5N, and frequency of 1Hz. The external disturbance
properties were kept the same. Like in the second part, high ܴ
values give more robust control performances, as expected.
The fourth, fifth and sixth parts of the force control
experiment are almost same as with the first, second and third
parts, respectively. However, the only difference is that
instead of an environment with high stiffness, these
experiments were conducted on an environment with low
Fig. 10. PI force control responses for sinusoidal input with different values
stiffness. Force control responses with the P controller and the
for R on an environment with high stiffness.
PI controller, are shown in Fig. 11. As in the environment with
high stiffness, the steady state error is eliminated also in this
case due to the robustness of the controller tuning method.
Force control responses of the PI controller, in the presence
of the external sinusoidal disturbance, for varying ܴ values,
with step and sinusoidal reference inputs are shown in Fig. 12
and Fig. 13, respectively. The results are similar to the high
stiffness cases. As ܴ is increased, the system becomes more
robust, eliminating the external disturbances with higher
success. However, the response becomes more oscillatory for
high values ofܴ. This is due to the fact that low environmental
stiffness value changes the system dynamics. If this situation is
creating a problem for applications, ܭௗ௦ or ܴ can be reduced.
Fig. 12. PI force control responses for step input with different values for R
on an environment with low stiffness.
Fig. 9. PI force control responses for step input with different values for R on
an environment with high stiffness.
ACKNOWLEDGEMENT
This research was supported in part by the Ministry of
Education, Culture, Sports, Science and Technology of Japan
under Grant-in-Aid for Scientific Research (S), 25220903,
2013.
REFERENCES
[1] C. C. Yu, “Introduction,” in Autotuning of PID Controllers, 2nd ed.
German: Springer, 2006, ch. 1, sec. 2, pp. 3-4.
[2] S. Skogestad, “Probably the best simple PID tuning rules in the world,”
J Process Contr, vol 13, pp. 291-309, Sep. 12, 2001.
[3] K. H. Ang, G. Chong, “PID Control System Analysis, Design, and
Technology,” IEEE Trans.Control Systems Technology, vol. 13, no. 4,
Fig. 13. PI force control responses for sinusoidal input with different values pp. 559-576, July, 2005.
for R on an environment with low stiffness. [4] P. Cominos, N. Munro, “PID controllers: recent tuning methods and
design to specification,” IEE Proc.-Control Theory Appl., vol. 149, no.
1, pp. 46-53, Jan., 2002.
V. CONCLUSION [5] G. Ziegler and N. B. Nichols, "Optimum setting for automatic
controllers," Trans. ASME, vol. 64, pp. 759-768, 1942.
In this paper, two novel practical PID tuning algorithms [6] J. Han, P. Wang, X. Yang, “Tuning of PID controller based on fruit fly
for motion control systems are proposed. These tuning optimization algorithm,” in Internaional Conference on Mechatronics
methods are for robust PID and PI controllers with velocity and Automation (ICMA), 2012, pp. 409-413.
[7] W. K. Ho, 0. P. Gan, E. B. Tay, E. L. Ang, “Performance and Gain and
feedbacks, for position and force control problems of servo Phase Margins of Well-Known PID Tuning Formulas,” IEEE
systems, respectively. The analytical derivations of these Transactions on Control Systems Technology, vol. 4, no. 4, pp. 473-477,
methods are based on the 2-DOF control approach which July, 1996.
considers the performance and robustness separately. This [8] A. Abbas, “A new set of controller tuning relations,” ISA Transactions,
superior property is achieved on simple PID structures with vol. 36, no. 3, pp. 183-187, 1997.
[9] R. Gorez, “New design relations for 2-DOF PID-like control systems,”
these algorithms in a way that the tuning takes so less effort
Automatica, vol. 39, pp. 901-908, Jan, 2003.
and time. Therefore, there are very effective for motion [10] D. E. Rivera, M. Morari, S. Skogestad, “Internal Model Control. 4. PID
control and robust both to parameter uncertainty and unknown Controller Design,” Chemical Engineering, vol. 25, pp. 253-26, 1986.
disturbances, yet very simple. They can be used by the [11] G. P. Liu, S. Daley, “Optimal-tuning PID control for industrial systems,”
engineers and the students with very basic control knowledge Control Engineering Practice, vol. 9, pp. 1185-1194, 2001.
just by following the direct tuning steps described in Section [12] E. Sariyildiz, K. Ohnishi, “Stability and Robustness of Disturbance
Observer Based Motion Control Systems,” IEEE Trans. Industrial
II. Moreover, this approach can be applied into different Electronics, vol. 62, no. 1, pp. 414-422, Jan., 2015.
problems. Hence, it has a high impact on the industry and the [13] E. Sariyildiz, K. Ohnishi, “On the Explicit Robust Force Control via
academia. The validity of the proposal is verified with the Disturbance Observer,” IEEE Trans. Industrial Electronics, to be
experiments. published.
[14] E. Sariyildiz, K. Ohnishi, “An Adaptive Reaction Force Observer
Design,” IEEE/ASME Trans.Mechatronics, vol. 20, no. 2, pp. 750-760,
Apr., 2015.
[15] K. Ohnishi, M. Shibata, and T. Murakami, “Motion control for advanced
mechatronics,” IEEE/ASME Trans.Mechatronics, vol. 1, no. 1, pp. 56–
67, Mar. 30, 1996.