Introduction.
Currently, one of the main directions in solving the problem of automation of control processes is the use of fuzzy control of dynamic objects. It provides an effective solution to weakly formulated problems, taking into account qualitatively new possibilities for presenting information based on methods and means of knowledge processing.
Research methods.
Let the object be an aperiodic link of the first order with a transfer function of the form
(1)
As a basis for the fuzzy controller we will take a proportional-integral (PI) controller with a transfer function of the form
(2)
The PI controller can be represented by a transfer function of the form
(3)
Where - PI controller integration constant.
A fuzzy controller can be represented as follows:
(4)
where "output", "speed" and "error" are linguistic variables.
Moreover, "error" and "speed" are input variables, denoting the error and its derivative, respectively, and "output" is the output variable or control action [1-7]. Each of the linguistic variables corresponds to a number of membership functions, lying in the range from - L to + L for input variables and - H to + H for the output. A and can be related to the parameters of the fuzzy controller by the following relationships:
(5)
(6)
where are the scaling coefficients of the linguistic variables - "speed", "output", "error", respectively.
The method of synthesizing the controller is as follows.
1. Analyze the object and design a PI controller that would satisfy the requirements for integrating control: the specified time of the transient process and overshoot.
2. Simulate the operation of the system with the calculated PI controller.
Determine the maximum values and rates of its change
3. Based on the coefficients of the PI controller, calculate the main parameters of the fuzzy controller:
- calculate the coefficients . For convenience, we can assume that then relations (5) and (6) are defined as
(7)
- substituting (7) into (5) and assuming that L=H, we obtain an expression for :
(8)
- now we will calculate the values of L and H so that the values of e and g fall within the interval [-L; +L]. To do this, we will use the following relationship:
(9)
- structural parameter N, which specifies the number of terms, is determined by the required accuracy of the controller. The number of terms can be in the range from 2 to 7;
- the controller rule base is specified by an expert.
Let us consider the method of synthesizing a fuzzy controller for an aperiodic link (I) with parameters . Feedback coefficient . It is necessary to calculate a controller that ensures the speed of .
The transfer function of a closed ACS has the form:
(10)
When the regulator compensates for the greatest possible inertia of the object. In this case, the closed system will have the properties of an inertial link with a time constant on which the regulation time will depend Taking into account, we calculate: Thus, the transfer function of the regulator will be determined as
(11)
Results and discussion.
As a result of modeling the control system with a PI controller, the following values of the maximum control error and maximum rate of change were obtained:
(12)
The calculation of the parameters of the fuzzy controller is carried out according to the formulas (7)-(9):
(13)
(14)
For simplicity, we will choose the smallest value N = 2. We will use L-terms as membership functions. We will designate the input terms as follows: error (error derivative) positive (P), error (error derivative) negative (N). Output terms: positive action (P), action close to zero (N), negative action (N).
After determining all the parameters of the fuzzy controller, we will simulate its operation in the Matlab environment.
The function of the fuzzy controller is performed by the Fuzzy Logic Controller object, which calculates the control action based on the data about the controller model loaded into it [4-9].
Conclusion
The simulation results showed that the designed fuzzy controller satisfies the requirement for control time at
The proposed methods can be transferred to other types of controllers (P, PID, etc.), which indicates the high potential of this work for further development and study.
