The Invention generally relates to optimizing the control coefficients of a flight object under the complex effect of environment using Fuzzy logic controller and variant of traditional proportional-integral-derivative controller (PID controller).
The disclosed system proposes a method for designing a new controller by combining two known controllers and defining optimal parameters for the new one. Generally, to simulate and build a controller, previous methods use only a single controller such as PI, PID or state feedback controller and define parameters based on traditional methods. The specific case to be presented here is to use a PID controller and its variant to control the flying weapon, the controller coefficients are determined by traditional methods such as Ziegler_Nichols, Thomas-Reiche-Kuhn sum rule or the magnitude and symmetric optimization techniques. An overview of the model is shown in
The disadvantage of a classical system when building a weapon controller in a simulation system is the reduction in environmental factors, since classical methods are very sensitive to noise. In particular, to simplify the simulation process, the traditional system eliminates turbulent flow factors, which not only decreases the accuracy of the model and but also has a relatively low practicability. Therefore, taking into account environmental interference in flying weapon simulation would help obtain more accurate reconstruction of objects as well as external factors impacting them, thereby increase the feasibility and applicability of the simulation.
In addition, the traditional method used to determine the coefficients of the classical controller (PID) is unsuitable for objects such as controlled weapons with a large dynamic range and non-linear aerodynamic properties. For a controlled flying weapon, its transfer function changes continuously with Mach number (ratio of the speed of the flying weapon to the speed of sound); therefore, applying a Fuzzy Logic Controller and a normal PID would make the system unstable or even uncontrollable. Combining the Fuzzy Logic Controller with new variant of PID controller not only resists interference for the system but also keep it stable and controllable. An overview of the model is shown in
The purpose of the invention is to propose a new control model and system for optimizing control coefficients of flight object under the effect of environment; in which fuzzy logic controller and PID variant are utilized to determine real-time parameters for the controller.
To achieve above objective, the following modules are applied:
Target module is to establish movement rules and report state of the target in each simulation step, including mathematical equations being formulated to describe motion of the target.
Seeker module is to do comparing calculations to determine deviations of position, velocity, angle between the target and the flying weapon in a fixed reference frame. These data are extracted from the state of target provided by the target module and the state of flying weapon obtained after the dynamic module solving differential equations at each step.
Guidance module based on guidance law generates control signals as input signals for control module to move actuators of the flying weapon toward a designated direction.
Control module is to calculate the coefficients of the controller using the hybrid Fuzzy Logic and PID variant Controller. Input of the control module is desired control signals (acceleration, angle, angular velocity) provided by the guidance module; the fuzzy logic controller tunes the parameters of PID variant controller based on the effect of these parameters on the system response.
Dynamic module calculates all states of the flight object by solving differential equations of motion that are constructed by applying the dynamic equations and Newton's second law.
In the present invention, the Fuzzy Logic Controller tunes the coefficients of PID variant controller based on effects of these coefficients on the system response. The control module is less affected by the accuracy of the mathematical model and able to perform effectively in environments with interference.
Following
The detailed description has specialized terminology:
PID is the abbreviation of Proportional (P), Integrate (I), and Derivative (D).—three main components in the controller.
Variants of PID Controller are PI, PD, PID controllers or a combination of these controllers with feedback signals.
Fuzzy logic is a method of reasoning resembling the manner of human decision making, which approaches matters based on “degrees of truth” rather than the usual “true or false” (1 or 0) Boolean logic, thereby considering all available information and making the best possible decision.
ER is the error between input and feedback signal.
CER is the change of the error (derivative of ER).
μB, is the membership function.
LOS (Line-of-sight) is the angle between the line linking from the center of the seeker on the weapon to center of the target and the axis of the fixed coordinate system.
LOS rate is derivative of LOS by time.
Guided flying weapon refers two main weaponry: guided bomb and missile.
Environmental effect refers to wind Shear, wind Gust, and wind Dryden affecting velocity and angular velocity of the object.
The transfer function describes the relation between input and output signal of the system.
The actuator is known as the ballistic control surface.
System optimizing control coefficients of flight object under complex environmental effects using hybrid Fuzzy Logic and PID variant controller is located in Control Module to continuously determine coefficients of the controller. The system includes:
Target Module:
The function of the target module is to create a target model. Specifically, The module establishes movement rules and reports state of the target in each simulation step. The model of target is chosen appropriately to the type of weapon. In fact, there are 4 types of flying weapon: air to air, air to surface, surface to surface, surface to air. The target model includes data on velocity, acceleration and position of target moving in the space in case of air to air and surface to air; moving on the ground in case of air to surface and surface to surface. The target is also can be fixed on the ground. Mathematical equations describing motion of the target are formulated inside the module based on designer's intention. The orbit may be simplified as go straight, cross or circle. If the designer wants the target to move toward a complex trajectory, the dynamic equations are described under the differential equations form. In this case, the numerical method is used to solve the differential equations to collect the positions of target. The output of this module is the trajectory of the target by time.
Seeker Module:
Inputs of the seeker module are states of the target provided by the target module and states of the weapon calculated by dynamic module from time to time. The Seeker module does comparing calculations to discover error in velocity, position, and angle between the target and the weapon with the fixed coordinate system. An ideal seeker module without instrumentation error and environmental interference would provide mentioned error in velocity, position and angle as output of the module.
Guidance Module:
Guidance module based on guidance law generates control signals as input signals for the control module to move actuators of a flying weapon toward a designated direction. The guidance law is chosen appropriately to the specification and ability of the target (such as moving or fixed). The common guidance methods are based on acceleration, angle, or angular velocity. The control signal is calculated based on the errors from the seeker module depended on different guidance law.
The input of this module is the output of the seeker module. The output of this module is the control signal calculated based on the guidance law.
Control Module:
The main function of the control module is transforming the desired signal from the output of the guidance module to the deflection signal of the actuators. The proposed controller comprises 02 main elements: Fuzzy Logic controller and PID variant controller.
Following the
The coefficients of the PID variant controller are calculated as in the following equations:
K
P
=K
Pi
+ΔK
P
K
D
=K
Di
+ΔK
D
K
I
=K
Ii
+ΔK
I
K
q
=K
qi,
The quantity change of the control coefficients ΔKP, ΔKI, ΔKD is continuously estimated by applying the Fuzzy Logic Controller. Because the transfer function of the system varies according to the March number constanty (the ratio of the speed of the flight object to the speed of sound), it is necessary to choose the appropriate coefficients KPi, KDi, KIi, Kqi to stabilize the system. The coefficients KPi, KDi, KIi, Kqi are initial parameters calculated by using the homogeneity method for the denominator of the transfer function and choosing polynomial. For simplicity purposes, the range of motion is divided into a number of small ranges such that in each small range the open-loop transfer function of the system has poles close to each other, each range will have a separate set of KPi, KDi, KIi, Kqi to ensure stability of the system in that range.
Following the
Following the
(i) Fuzzifier: the system response and the quantity change of the control coefficients are fuzzified to the linguistic variables. The system response comprises 02 components: the error and the change of error. The value domain and membership function of each component are different depending on the requirements of each problem.
(ii) Fuzzy Rule-Bases: defining the relationship between the quantity change of the control coefficients and the system response.
(iii) Inference engine: performing fuzzy compositions (fuzzy union, intersection)
(iv) Defuzzifier: producing a quantifiable result of control coefficients from given fuzzy set and corresponding membership function.
The method for designing the Fuzzy Logic Controller for controlling the flight object under the effect of the environment is described as follow:
From the effect of the control coefficients on the system as shown in Table 1, the rule-bases are described as following principles: if the system's error is Negative Large, long time response {EL=NL, CER=NL}, KP, KD increases and KI decreases by {ΔKP=PL,ΔKI=PL,ΔKD=PL}. If overshoot is high {EL=PL, CER=PL}, the quantity change is by {ΔXP=NL,ΔKI=PS,ΔKD=NL}. According to this principle, the fuzzy rules consist of 25 law satisfying with this control system.
Dynamic module incorporating environmental interference of the guided weapon:
The input data of this module are kinetic characteristics, aerodynamic database, and initial conditions of guided weapon.
The dynamic equations of the object are established by applying the kinematic equations, Newton's second law and some assumptions such as the weapon as a rigid body, the body shape symmetry via ZX plane. Combining provided kinetic and aerodynamic data of weapon and dynamic equations representing velocity, angular velocity in body coordinate system (moving with the weapon) to formulate the first order differential equations of position and rotation angle in the fixed coordinate. Newton's second law is applied to make the first order differential equations describing the velocity and angular velocity in the inertia coordinate system. The effects of the environment are directly added to angular velocity and velocity in the moving coordinate system.
Following the
There are various numerical methods to solve the differential motion equation system such as Euler, Runge-Kutta, Heun. The Runge-Kutta method is chosen for the high demand for accuracy. Initial conditions of weapon have been already provided (launched from a fixed position on the ground or from another flying object), using numerical method to calculate the weapon states at the subsequent time to the selected step. These states are considered as initial conditions in next step until the weapon destroys the target. The output of the dynamic module incorporating environmental interference are states of the object calculated constantly at each step.
In general,
Number | Date | Country | Kind |
---|---|---|---|
1-2019-06083 | Oct 2019 | VN | national |