Performance of Manual and Auto-Tuning PID 2018
Performance of Manual and Auto-Tuning PID 2018
the data speedily to provide results in a fraction of time, which differentiation of the error. The equations of InnoSAT [7]
contributed to the advancement of its industrial uses. Since plant can be shown as
PID controllers gained this popularity, it is important to
discuss the three values (PID controller gains) used to
ݏଶ ͲǤ͵Ͳͷͳ ݏ ͲǤʹͲͶͲ
calculate the output of PID controllers [6]. Alternatively, the ߶ሺ௦ሻ ൌ
world witnessed the development of the Internal Model Control ݏସ ͳǤͳͲͷͲ ݏଶ ͲǤͳͷͲ
ͳ
(IMC), also known as Lambda tuning, and alternatively the ߠሺ௦ሻ ൌ ଶ
ݏെ Ǥͳͳ͵ͺ ൈ ͳͲିଷ (2)
most recent SIMC rules that formed the commonly used
ݏଶ െ ͲǤ͵Ͳʹ͵ ݏ ͲǤͺͲͺͺ
algorithms of control systems. Terry and Willy explored the ߰ሺ௦ሻ ൌ ସ
ݏ ͳǤͳͲͷͲ ݏଶ ͲǤͳͷͲ
strengths of these model based approaches, and highlighted its
ability to affect the performance and sturdiness through the use
of tuning parameters. Tuning parameter are used to establish a
III. METHODOLOGY
trade-off between performance and robustness, while
coordinating responses to follow each loop to reach control A. PID Design
objectives. Manual Tuning gives quick responding system
As discussed, the PID controller and its feedback
often offers more adequate responses when compared with the
results recorded by auto-tuning the same system, this is mechanism has been the most used controller in industrial
particularly true when we try to control an unstable system. applications [8]. Although it has straight forward control
algorithms, it still provides a solution in the absence of
II. PID CONTROLLER specific knowledge around the implemented process. The
typical structure of the PID control system is shown in Fig.1,
The following PID algorithm illustrate this relation and
identifies the output as u(t): where Kp is the proportional gain ,Kd is the derivative gain
, and Ki is the integral gain. The desired output can be reached
by continuously adjusting these gains. Shown in Equation (1)
(1)
is the mathematical description of the PID controller, the
and the tuning parameters are: results from the error signal e(t) are assessed and calculated to
1. Kp: Proportional gain – larger Kp typically means faster form the control signal u(t) applied to the plant model. In the
response since the larger the error, the larger the equation, u(t) is the input signal to the plant model , the error
larger the Proportional term compensation. However, an signal e(t) is defined as e(t) = r(t) − y(t) , and r(t) is the
excessively large proportional gain will lead to process reference input signal.
instability and oscillation. The proportional action is calculated and executed in relation
2. Ki: Integral gain – larger Ki implies steady state errors are to the detected error and processed to decrease the rise time.
eliminated quicker. The trade-off is larger overshoot as The integral action focuses on the past error and is used to
negative error integrated during transient response must be reduce the steady state error [9]. Lastly, the derivative action
integrated away by positive error before we reach steady detects future behavior of error and increases the stability by
state. reducing the overshoot and improving the transient response.
The tuning process is implemented by assessing the
parameters Kp, Ki , and Kd, that give an appropriate closed-
loop response. To reach the desired response, other factors
need to be considered including the measures of settling time,
oscillation period, and overshoot, to name a few.
Kp, Ki , and Kd are essential to the controller process if these D. Manual Tuning
parameters were chosen incorrectly, instability might The PID controller depends on the simple process of trial
dominate process input resulting in disorders of outputs, and error. This process is relatively easy to understand as soon
regardless of oscillation, restricted only by saturation or as the PID parameters are set [12].
mechanical breakage. Therefore, the process of loop tuning is The integral and derivative values should be set to zero, and
the adjustment of these parameters and their gains and then the proportional gain is increased to reach the point
optimizing their value to achieve the required control reaction, where the output of the control loop equivocates at a constant
more specifically, gain/proportional band, integral gain/reset, rate. If the increases of proportional gain are not affecting the
derivative gain/rate stability of the system, the responses of the system will
accelerate.
C. Auto-Tuning When the proportional response reaches the appropriate
PID tuning approaches has been developed over time and a speed, the integral value is then set. The equivocation
number has been introduced including the renowned Ziegler resulting from first process will start to witness a reduction.
Nichols tuning method, all the way to the recent Simple At this point, the integral value should be changed to reduce
Internal Model Control (SIMC) by Skogestad (2003) [11]. the steady state error. However, this process might also
increase overshoot.
The SIMC method for PID controller tuning will attempt to
After setting the proportional and integral values to achieve
tune the gains of PID controller automatically in Simulink a minimal steady state error, the overshoot of the system
environment. The following block diagram shows the Simulink response will diminish as a result of increasing the derivative
set up for InnoSAT attitude control using PID controller system value.
with auto tuning as shown in Fig.2. Fig.3 shows the block diagram of the Simulink set up for
InnoSAT attitude control using PID controller system
Fig. 2. PID Controller for InnoSAT control attitude Fig.3. PID Controller for InnoSAT control attitude system with manual
system with Auto Tuning. tuning
Also, the gain co-efficient parameters for PID controller Also, the gain co-efficient parameters for PID controller with
with auto-tuning is shown in Table I. manual tuning is shown in Table II.
TABLE I TABLE II
Gain Co-Efficient Parameters For PID Controller With Auto-Tuning Gain Co-Efficient Parameters For PID Controller With Manual-Tuning
Controller Controller
Parameter Parameter
IV. SIMULATION RESULTS AND DISCUSSION controller shown in TABLE II. The stimulation
demonstrates that after several steps of manual tuning
To consider making a decision on the appropriate process the system achieves a correct control process with
methodology to control an unstable plant, we make the less overshoot in a relatively short time of regulation.
selection on the bases of the new PID-parameters. As shown Autotuning method as shown in Fig.4. provided
in TABLE II, the manual tuning method provides fast step unaggressive responses with higher overshoot, the angle
responses with small overshoot, as illustrated by Fig.5. On ߰ሺ௦ሻ in Fig.4. were unable to reach a steady state level
the other hand, the parameters from the auto tuning method providing unacceptable result for InnoSAT attitude
in TABLE I showed a comparatively poor responses. To control system. In addition, the method produces zero values
clarify further, Fig. 4. demonstrates the response produced for Kp and Kd (TABLE I) which contributes to inaccurate
by PID Controller for InnoSAT control attitude system with response as shown in Fig. 4 . Comparatively, the angle ߰ሺ௦ሻ
Auto-tuning and Fig. 5 shows the step response produced provided more steadiness proving that the Manual tuning
by PID Controller for InnoSAT control attitude system provides a method with limited complexity that offers
with manual-tuning. The reference signal was introduced as smaller margins for oscillation during the tuning process
a step signal to the input, the resulting response shown in the in comparison with the auto tuning method as
process monitor were analyzed to determine the quality demonstrated in Fig.5. It can also prompt the system to
indicators. identify optimum PI settings as the ones shown in
Chosen simulation results are shown below in Fig. 4 and TABLE II.
Fig. 5, both show the process of self-tuning for PID
controller shown in TABLE I and manual tuning for PID
Response
Time(s)
Fig. 4. Step response obtain by PID Controller for InnoSAT control attitude system with Auto- tuning
Response
Time(s)
Fig. 5.Step response obtain by PID Controller for InnoSAT control attitude system with manual tuning.
The 6th International Conference on Cyber and IT Service Management (CITSM 2018)
Inna Parapat Hotel – Medan, August 7-9, 2018
V. CONCLUSION
REFERENCES