Академический Документы
Профессиональный Документы
Культура Документы
DOI 10.1007/s40815-015-0136-y
123
International Journal of Fuzzy Systems
[810], four valued logic [11], intuitionistic fuzzy sets [12], of the square value of the error (ISE), the integral of the time
interval-valued intuitionistic fuzzy sets [13], vague sets [14]. weighted absolute value of the error (ITAE), and the integral
Smarandache proposed the concepts of neutrosophy and of the time weighted square of the error (ITSE) [1]. Some
neutrosophic sets [1517]. These are a special case of fuzzy PID tuning methods apply transfer function models such as
logic. Unlike classical fuzzy logic, they have True (T), Internal Model Control (IMC) [1] and the pole placement-
Indeterminate (I), and False (F) membership values. Neu- zero cancelation method [22]. The method used in this study
trosophy resembles the logic of human thought by does not take into account performance indexes and it does
including uncertainty. Today, neutrosophic sets and neu- not need to know the transfer function. Based on neutro-
trosophic logic approaches are applied in image processing, sophic similarity measures, it contains time-domain step-
robot control, and computer science [1820]. Following the response characteristics (rising time, settling time, overshoot
introduction of neutrosophic sets, neutrosophic similarity ratio, undershoot ratio, peak time, and steady-state error) and
measures were proposed in [21]. This method identifies the is a decision-making process. The proposed method is
percentage similarity between two or more neutrosophic intended to stay at the design values of all the unit step
sets, and is used mainly in decision-making processes. response characteristics. The method requires no complex
In control applications, reach of a system to the reference mathematical calculations.
value in a short time and with minimal errors is aimed. Also, Our proposed approach was applied to two sample
minimum overshoot ratio must be obtained. The process of transfer functions.
setting the PID coefficients is intended to meet as many as
possible of these characteristics. The process of determining
the optimal values of the PID coefficients can in fact be 2 Preliminaries
considered as the decision-making process. In this process,
setting the PID coefficients according to the unit step In this section some of the preliminaries that form the basis
response of a system can lead to good, bad, or of the proposed study are described.
uncertain/indeterminate (neither good nor bad) out-
comes. These can be considered as linguistic expressions in 2.1 PID Control
fuzzy logic. When designing the fuzzy logic controller for a
temperature control application, the designer may use terms PID control is a feedback method commonly used in
like a little cold, or a little hot, and the same is true control applications. The PID controller takes into account
when reviewing the unit step responses of a system. For the error rate, total error, and the derivative of the error.
example, in the assessment of a direct current motor step The error rate, sum of errors, and derivative of errors are
response graph, a designer commenting on the rise time (or separately multiplied by coefficients called Kp, Ki, and Kd
any other unit step parameter) can judge the response respectively. The goal of the process is to reduce the error
good, medium, or bad, according to the unit step to zero. PID tuning is a process to achieve zero error with
response he/she wants from the system. Here good can be the desired steady-state characteristics by finding the
considered as the T value, medium (neither good nor optimal Kp, Ki, and Kd values. In some applications, one or
bad) can be considered as the I value, and bad can be any two of the Kp, Ki, Kd values can take the zero value,
considered as the F value in the neutrosophic set concept. and in such cases the PID controller takes on P, PI, and PD
By using this approach, designers are able to provide the controller form. System block diagrams for a PID con-
appropriate PID coefficients to the membership values, trolled feedback system, in the time domain and s domain
without resorting to numerical values obtained from inten- respectively, are given in Figs. 1 and 2.
sive mathematical operations. The interpretation can be From Fig. 1,
made by looking at how close to 1 the T membership value
of each unit step response characteristic (rising time, settling
time, peak time, etc.) is, and how close to 0 the I and
F membership values are.
In this study, a method based on the neutrosophic simi-
larity measure is proposed for adjusting PID coefficients,
using some of the measures currently available in the liter-
ature. Our suggested method differs from currently used PID
tuning methods. Many PID tuning methods use performance
indices, and such methods are called minimum error criteria
methods. Frequently used performance indices are the
integral of the absolute value of the error (IAE), the integral Fig. 1 PID controlled feedback system in the time domain
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
123
International Journal of Fuzzy Systems
Definition 9 [36] U is the universe set, E the set of Definition 12 [28] S = {x1, x2, x3,, xn} is the universe
parameters, A ( E and NS(U) the set of all neutrosophic and E = {e1, e2, e3,, en} is a set of parameters.
sets of U. The collection (F,A) is the NSS over U, F is a NS(U) denotes the set of all Neutrosophic Subsets of
mapping given by F: A ? NS(U). S. A and B are NSS over S. A and B are mappings given by
A, B : E ? NS(U). Similarity Measure SM(A,B) between
Definition 10 [28] U = {x1, x2, x3,, xn} is an initial A and B based on Set-theoretic approach is given below:
universe and E = {e1, e2, e3,, en} is a set of parameters. 2 3
NS(U) denotes the set of all neutrosophic sets over the TAxi ej ^ TBxi ej
m 6
6 7
U. A and B are NSS over the U, A and B are mappings given Pn P 7
6 IAx e ^ IBx e 7
by A,B: E ? NS(U). Hamming, Normalized Hamming, 6 i j i j 7
i1 j1 4 5
Euclidean, and Normalized Euclidean distances between FAxi ej ^ FBxi ej
A and B sets are given in Eqs. 6, 7, 8, 9 respectively. SMA; B 2 3 12
TAxi ej _ TBxi ej
m 6
6 7
8 9 Pn P 7
TAxi ej TBxi ej 6 IAx e _ IBx e 7
m >
< > 6 7
=
i j i j
1 X
n X i1 j1 4 5
LH A; B
IAxi ej IBxi ej 6
> > FAxi ej _ FBxi ej
6 : ;
FAxi ej FBxi ej
i1 j1
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
Theorem 1 [28] SM(A,B) similarity measure between example A represents the ideal neutrosophic set, B repre-
A and B sets then: sents the real neutrosophic set, and E represents the
parameter set. e1, e2, e3, and e4 represent the neutrosophic
(i) SM(A,B) = SM(B,A) components of the E parameter set. If x has E parameters, it
(ii) 0 B SM(A,B) B 1 can represent an object, a status, or a person. Consider the
(iii) SM(A,B) = 1 if and only if A = B problem of selecting a manager for a company when three
suitable candidates are available. In this example, i repre-
Definition 13 [29] SJ, SD, SC represents to Jaccard, Dice, sents the ideal characteristics, x, y, and z represent the
and Cosine vector similarity measures, respectively. The managerial candidates, and E represents the required
three vector similarity measures of SVNSs: characteristics of a manager. In this case, the e1, e2, e3 and
SJ A; B e4 values represent talent, experience, communication
skills, and practical intelligence. Assume that these values
1X n
TA xi TB xi IA xi IB xi FA xi FB xi
0 2 1 have been measured in a screening test given to the can-
n i1 TA xi IA2 xi FA2 xi
B 2 C
didates. A is the ideal set and B is the real set from the
B T xi I 2 xi F 2 xi C screening tests.
@ B B B A
The values in Tables 1, 2, 3, and 4 were fed into Eqs. 6,
TA xi TB xi IA xi IB xi FA xi FB xi
8, 10, 12, 13, 14, and 15, and the similarity measure for
13 each candidate is given in Table 5.
SD A; B Table 5 shows that the Hamming, Euclidean, and Set-
theoretic approaches produced similar results, while the
1X n
2TA xi TB xi IA xi IB xi FA xi FB xi
2 ! Jaccard approach produced higher results than the other
n i1 TA xi IA2 xi FA2 xi three approaches. Dice and Cosine reached the maximum
TB2 xi IB2 xi FB2 xi similarity measure ratio. The results suggest that y is the
most suitable candidate based on the expected criteria, as
14
the measures of candidate y showed the largest similarity
1X n
ratio in all approaches.
SC A; B
n i1
TA xi TB xi IA xi IB xi FA xi FB xi Table 1 Ideal neutrosophic set
pp
TA xi IA2 xi FA2 xi TB2 xi IB2 xi FB2 xi
2 A e1 e2 e3 e4
15 i (0.8,0.3,0.2) (0.7,0.3,0.3) (0.8,0.2,0.1) (0.6,0.5,0.4)
The cosine measure is undefined if the A and/or B mem-
bership values are equal to zero, and the Jaccard and Dice
measures are undefined if all A and B membership values Table 2 Neutrosophic set of candidate x
are equal to zero. B e1 e2 e3 e4
Theorem 2 [29] According to the Jaccard, Dice, and x (0.2,0.4,0.8) (0.7,0.8,0.7) (0.7,0.3,0.3) (0.5,0.9,0.5)
Cosine similarity measures [3032], Sk(A, B) similarity
measure (k = J, D, C) implements the properties given
below:
Table 3 Neutrosophic set of candidate y
(i) 0 B Sk(A,B) B 1;
B e1 e2 e3 e4
(ii) Sk(A,B) = Sk(B,A);
(iii) Sk(A,B) = 1 if A = B, i.e., TA(xi) = TB(xi), y (0.6,0.4,0.3) (0.7,0.5,0.5) (0.7,0.2,0.4) (0.8,0.2,0.3)
IA(xi) = IB(xi), and FA(xi) = FB(xi) for all xi[ X.
123
International Journal of Fuzzy Systems
Table 6 Rule table of first ZieglerNichols method Table 7 Rule table of second ZieglerNichols method
Controller type Kp Ti Td Controller type Kp Ti Td
P T/L ? 0 P 0.5 Ku ? 0
PI 0.9 (T/L) L/3 0 PI 0.45 Ku 1 0
1:2 Pu
PID 1.2 (T/L) 2L 0.5L PID 0.6 Ku 0.5 Pu 0.125 Pu
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
Start
In Fig. 5, T corresponds to the true membership func-
tion, I corresponds to the indeterminate membership
Find rough Kp, Ki and Kd values by using Ziegler Nichols function, and F corresponds to the false membership
Step1
Method. function. In Fig. 5a, a range of 03 s is defined as the good
(T) value for the rise time, a range of 2.53.5 s is neither
Define to upper and lower searching range limits around good nor bad, and a range of (I), greater than 3 s is bad (F).
Kp, Ki and Kd values obtained by using Ziegler Nichols Now, consider the rise time value of 1.7227 given in
Method. Assign lower limit value to Kp, Ki and Kd .
Step2
Table 8. This value was passed through the membership
function in Fig. 5a. A 0.851 value was obtained from the
Apply unit step signal to system to be controlled with true membership function, and a 0 value was obtained from
PID controller. Obtain unit step response characteristics. Step3
Pass unit step response characteristics on membership the I and F membership functions. Thus, the neutrosophic
functions given Fig. 5. (Neutrosophication) membership value of the rise time was (T, I, F) = (0.851,
0, 0). As another example, consider the 4.8543 valued peak
Create real neutrosophic set using neutrosophic unit step time. When this value was passed through T, I, and
response characteristics. Calculate Similarity Measure F membership functions, it took values of 0, 0.14, and 0.42,
(SM) by using given Equations 6, 8, 10, 12, 13, 14. Put Step4
obtained SM value and correspond actual Kp, Ki and Kd respectively. Thus, the neutrosophic membership value was
values to SM array. (T, I, F) = (0, 0.14, 0.42) for the peak time. Examples of
step response characteristics and the neutrosophic provi-
Increase 1 value in per loop once Kp, after Ki and lastly Step5 sions obtained by neutrosophication are shown in Table 8.
Kd. Update PID controllers Kp, Ki and Kd coefficients. As in fuzzy logic design, the type and range of the
membership functions are determined by the known char-
Repeat Step3-Step5 from lower Kp limit to upper Kp acteristics of the system to be controlled and the experience
limit. Choose maximum SM value from SM array. of the designer. For example, the selection of a member-
Assign Kp, Ki and Kd values according to correspond Step6
maximum SM value. ship function representing a fast rise time is generally not
suitable in temperature control applications. Conversely,
the selection of a membership function representing a slow
End
rise time is also not suitable in servo motor control appli-
cations. The type and range of a membership functions are
Fig. 4 The flow chart of the methodology
also a function of the designers experience and expertise.
The example membership functions used in this study were
similarity measure between the actual (real) set and a pre- selected after considering the desirable system responses in
viously prepared ideal neutrosophic set was calculated, and general control applications. For example, an overshoot
the resulting similarity measure recorded in an SM array. ratios of less than 5 % is in the goal in most applications,
Finally, it was determined whether the maximum value in and undershoot and steady-state errors are undesirable in
the SM array satisfied the appropriate PID values. all applications. In many control applications, rise times of
45 s or longer are not preferred.
3.1 Neutrosophic Membership Functions In the neutrosophication process, selection of rise time,
and Neutrosophication settling time, % overshoot ratio, % undershoot ratio, peak
time, and steady-state error values from transient state
Neutrosophication is similar to fuzzification, though characteristics of the system have a large impact on per-
fuzzification methods such as largest and smallest mem- formance, because these values represent a large proportion
bership degree (min, max) are not used. Instead, the of the transient state characteristics of the system. In this
membership value of the phenomenon is directly trans- study, the target unit step values were compared with the
ferred to the T, I, and F subsets. In this study, triangle and values obtained from the system to determine the appro-
trapezoid membership functions were used. The range of T, priate PID coefficients. A sufficient number of features
I, and F values in the membership function, and type of must be used in determining the similarity ratio. Using too
membership function used, may vary from application to few unit steps adversely affects the estimates of the rate of
application. In the neutrosophication process, the rising similarity. For example, consider only the rise time and the
time, settling time, % overshoot ratio, % undershoot ratio, settling time. In some cases, two different step responses
peak time, and steady-state error values obtained from the with similar rise times and settling times may have dif-
transient response characteristics of the system are passed ferent % overshoot rates and different steady-state errors.
through the membership functions in Fig. 5, and the real One of these systems may even undershoot. Therefore, six
neutrosophic set B is obtained. transient state features of the system (rise time, settling
123
International Journal of Fuzzy Systems
Fig. 5 Membership functions used for the unit step response characteristics. a Rising time b Settling time c % Overshoot ratio d % Undershoot
ratio e Peak time. f Steady-state error (absolute values of negative values are taken)
Table 8 An example for step Step response characteristics Step response value Neutrosophic provision
response characteristics and
neutrosophic provisions Rising time 1.7227 (0.851,0,0)
Settling time 35.6180 (0,0,1)
% Overshoot ratio 50.5434 (0,0,1)
% Undershoot ratio 0 (1,0,0)
Peak time 4.8543 (0,0.14,0.42)
Steady-state error 0 (1,0,0)
time, % overshoot rate, % undershoot rate, peak time, and 3.2 Application Example 1
steady-state error) were used. These features are members
of the E parameter set in the real neutrosophic set B, where In this application, the proposed method was tested on a
e1e6 refer to the rise time, settling time, % overshoot ratio, transfer function which was a quadratic open-loop char-
% undershoot ratio, peak time, and steady-state error val- acteristic equation. Consider the following transfer
ues, respectively. function:
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
123
International Journal of Fuzzy Systems
Fig. 6 Similarity ratio change graph obtained from the similarity ratio measuring algorithm
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
Fig. 7 Step response curves obtained from the G(s) transfer function similarity measures. This indicates that the desired step
according to Kp, Ki and Kd values in each 10,000 step in the similarity response has been obtained.Table 12 shows the unit step
measuring algorithm
response characteristics according to Kp, Ki, Kd values
obtained by using different similarity measures.
Nichols method (Kp = 7, Ki = 4, and Kd = 2) are pre- Method SM(A,B) Array order Kp Ki Kd
sented in Fig. 8. Hamming 0.8904 10394 7 0 6
The real neutrosophic set for Kp = 8, Ki = 8, and
Euclidean 0.8586 12076 8 0 7
Kd = 1 is given in Table 11.
Set-theoretic 0.8769 10394 7 0 6
Table 11 shows that the B real set is close to the A ideal
Jaccard 0.9668 12076 8 0 7
set Table 9. In this example, Table 10 shows that the SM
Dice 0.9827 12076 8 0 7
values were close to each other and close to 1 on all
123
International Journal of Fuzzy Systems
Fig. 9 Similarity ratio change graph obtained from the similarity ratio measuring algorithm
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
Fig. 11 Step response of the system according to proposed method Table 16 Transient response characteristics according to Set-theo-
and ZieglerNichols method. 1 ZieglerNichols, 2 Set-theoretic and retic, Hamming, Euclidean, Jaccard, Dice SM
Hamming, 3 Euclidean, Jaccard, and Dice Transient response Set-theoretic, Euclidean,
characteristic Hamming Jaccard, Dice
The similarity ratio measuring algorithm took a total of Rising time 1.2063 1.0373
63,878 steps. The maximum value at the end of the algo- Settling time 2.8848 2.7353
rithm run from the SM(A,B) array is shown in Table 13. % Overshoot 2.0334 2.3509
The similarity ratio change is related to the step number
% Undershoot 0 0
graph in Fig. 9.
Peak time 2.7442 2.3344
In Fig. 9a, the results are consistent with the results of
Steady-state error 0 0
the other examples. The initial (lowest) value of the
123
International Journal of Fuzzy Systems
123
M. Serhat Can, O. Faruk Ozguven: PID Tuning with Neutrosophic
32. Ye, J.: Multicriteria decision-making method using the dice Currently, he is working as Lecturer in the Department of Mecha-
similarity measure based on the reduct intuitionistic fuzzy sets of tronic, Gaziosmanpasa University, Zile Vocational School, Tokat,
interval-valued intuitionistic fuzzy Sets. Appl. Math. Model. 36, Turkey. His interests are in fuzzy set and fuzzy systems, Neutrosophic
44664472 (2012) sets, Artificial Neural Networks, Automatic Control, Microcontroller,
33. Smarandache, F.: A Unifying Field in Logics. Neutrosophy: Microprocessors.
Neutrosophic Probability, Set and Logic. American Research
Press, Rehoboth (1999) Omerul Faruk Ozguven ob-
34. Molodtsov, D.: Soft set theory-first results. Comput. Math. Appl. tained his Bachelors degree in
37(45), 1931 (1999) Electronics & Communications
35. Maji, P.K., Biswas, R., Roy, A.R.: Soft set theory. Comput. Math. Engineering from the Yildiz
Appl. 45(45), 555562 (2003) Technical University, Istanbul,
36. Maji, P.K.: Neutrosophic soft set. Annal. Fuzzy Math. Inform. Turkey in 1985. He received the
5(1), 157168 (2013) M.S. and the Ph.D. degree in
37. Ogata, K.: Modern Control Engineering, 5th edn. Prentice Hall institute of science from the
Inc., New York (2010) Yildiz Technical University,
Istanbul, Turkey; 1987 and
1996, respectively. He was
Mehmet Serhat Can obtained appointed as Assistant Professor
his Bachelors degree in Elec- in 1994, in the Department of
trical & Electronics Engineering Electrical and Electronics
from the Nigde University, Engineering, the Engineering
Nigde, Turkey in 2000. He Faculty of Inonu University, Malatya, Turkey. He is currently
received the M.S. degree in working as Assistant Professor in the Department of Biomedical
Graduate School of Natural and Engineering, the Engineering Faculty of Inonu University, Malatya,
Applied Sciences, Electrical & Turkey. His research interests include fuzzy neural network, Digital
Electronics Engineering depart- Electronics, Microcontroller, Microprocessors, Embedded Systems,
ment, Kahramanmaras Sutcu Programmable Logic Controller (PLC), and Industrial Applications.
Imam University, Kahraman-
maras, Turkey, in 2010. He is
continuing his Ph.D. education
in Graduate School of Natural
and Applied Sciences, Electrical
& Electronics Engineering, Inonu University, Malatya, Turkey.
123