Electric steering engine nonlinear system based on FASN-PID algorithm and control method thereof

By adopting FASN-PID algorithm and fuzzy logic-optimized SN-PID control in the electric servo system, combined with gear dead zone and LuGre friction model, the problem of nonlinear factors in the electric servo is solved, and faster response and Higher precision control effect.

CN119010694APending Publication Date: 2024-11-22JIANGSU UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411160044.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

There are nonlinear factors such as friction, backlash and damping in the transmission mechanism in the existing electric servo system, which leads to static difference or extreme ring oscillation in steady state, and 'crawling' phenomenon at low speeds. The traditional PID algorithm has low control accuracy and response speed. Slowly, automatic control of the forward and reverse motor cannot be achieved.

Method used

The nonlinear control system of electric servo based on FASN-PID algorithm is adopted. By introducing a fuzzy logic algorithm to optimize the gain coefficient K in the position loop, the brushless DC motor is logically controlled, and combined with the approximate dead zone between gears Function and LuGre friction model realize automatic control of the forward and inverse motor.

Benefits of technology

Improve the response speed and control accuracy of the electric servo system, realize the rapid response and stability of the position movement of the rudder surface, enhance the tracking effect of reference set positions, and solve the problems of slow response speed and low accuracy in traditional control methods. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010694A_ABST
    Figure CN119010694A_ABST
Patent Text Reader

Abstract

The invention discloses an electric steering engine nonlinear control system based on a FASN-PID algorithm and a control method thereof. The control system comprises a main controller, a PWM modulation unit, a DC power supply, an inverter, a brushless DC motor, a gear reducer and a motor forward and reverse rotation logic commutation unit. The direct-current power supply serves as power supply of the control system and is connected with the brushless direct-current motor through the inverter, and the brushless direct-current motor is connected with the control surface through the speed reducer. Three closed-loop control logics of a position loop, a rotating speed loop and a current loop are built in the main controller, and the position loop performs logic control on the rotating speed of the brushless direct current motor based on an SN-PID algorithm of a gain coefficient K optimized by a fuzzy logic algorithm, so that the position motion of the control surface has a higher response speed and a more stable motion state; and the position is closer to the reference set position, and the tracking effect is more excellent, so that the response speed and the control precision of the electric steering engine system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of nonlinear multi-body dynamics modeling and control of an electric servo for a guided projectile, in particular to a nonlinear system of an electric servo based on a FASN-PID algorithm and a control method thereof. Background Art

[0002] With the rapid development of modern industry and national defense science and technology, the requirements for the dynamic and static performance of servo systems are getting higher and higher. As an important component and key actuator of the guided artillery shell control system, the performance of electric servos directly determines the dynamic quality and strike accuracy of the guided artillery shell flight process. The devices that use the control force generated by manipulating the ammunition rudder blades, wing surfaces or changing the engine thrust vector to control and stabilize the ammunition are collectively referred to as servo systems. In addition, with the development and utilization of rare earth permanent magnet materials, the development of servo technology, the progress of power electronics technology and the continuous improvement of processor chip performance, electric servos have overcome the shortcomings of hydraulic servos and pneumatic servos, such as complex structure and inconvenient maintenance. They use new missile-borne batteries as energy sources, have simple structure, small size, large output torque, good speed regulation performance, high reliability, and easy control. They have gradually become the focus of the research field of servo systems. At present, the mainstream development of electric servos is: using brushless DC motors as drivers and combining intelligent control algorithms to achieve fast speed, high precision, stability and robustness control of electric servos.

[0003] In conventional modeling methods, it is generally assumed that the electric servo is a linear spring without damping or delay, and its stiffness is a constant. However, there are nonlinear links such as friction, backlash, and damping in the electric servo transmission mechanism, which makes the servo system prone to static error or limit cycle oscillation in steady state, and "creep" phenomenon occurs at low speed, which seriously affects the dynamic and static characteristics of the system. In addition, the traditional PID algorithm has low control accuracy, slow response speed, and large overshoot, and its control effect on the position movement of the rudder surface is poor. Therefore, it is necessary to design a nonlinear system of electric servo, while considering various nonlinear factors of the electric servo transmission mechanism, improving the response speed and control accuracy of the electric servo system, and realizing the forward and reverse control of the motor. Summary of the invention

[0004] In view of the problems that conventional control methods do not take into account the disturbance of multiple nonlinear factors inside the system, the traditional PID algorithm has low control accuracy, slow response speed, large overshoot, and cannot realize automatic forward and reverse control of the motor, the present invention provides an electric steering gear nonlinear control system based on FASN-PID algorithm and a control method thereof, wherein the position loop performs logical control on the speed of the brushless DC motor based on the SN-PID algorithm with a gain coefficient K optimized by a fuzzy logic algorithm, so that the control surface position movement has a faster response speed and a more stable movement state, and is also closer to the reference set position, with a more superior tracking effect, thereby improving the response speed and control accuracy of the electric steering gear system.

[0005] The technical solution adopted by the present invention is:

[0006] A nonlinear system of an electric servo based on a FASN-PID algorithm, comprising a main controller, a PWM modulation unit, a DC power supply, an inverter, a brushless DC motor, a gear reducer, a motor forward and reverse logic switching unit, a rudder position detection module, a current detection module, a sign discrimination module, and a motor speed detection unit;

[0007] The DC power supply is used as the power supply of the control system, and is connected to the brushless DC motor through an inverter. The brushless DC motor is connected to the rudder through a reducer, and the motor forward and reverse logic switching unit is used to modulate the rotation direction of the motor;

[0008] The motor speed detection module is used to detect the speed of the brushless DC motor, the control surface position detection module is used to detect the angular displacement of the control surface, the current detection module is used to detect the current magnitude of the motor bus, and the sign discrimination module is used to discriminate the current direction of the motor bus;

[0009] The main controller is built with three closed-loop control logics: position loop, speed loop and current loop. The position loop performs logic control on the speed of the brushless DC motor according to the angular displacement of the rudder detected by the rudder position detection module and the SN-PID algorithm with the gain coefficient K optimized by the fuzzy logic algorithm, and outputs the motor target speed n*; the speed loop detects the speed of the brushless DC motor according to the motor speed detection module and outputs the current loop target value c*; the current loop outputs the target current value c of the brushless DC motor according to the speed loop output * And the motor bus current c performs logical control on the bus current;

[0010] The PWM modulation unit is used to modulate the current loop output control signal; the motor forward and reverse logic switching unit determines the motor's forward and reverse switching phase logic by detecting the positive and negative of the target current c* and then combining with the sign discrimination module.

[0011] Furthermore, the control surface position detection module is an angular displacement sensor.

[0012] Furthermore, the phase voltage of the brushless DC motor is:

[0013]

[0014] In formula (1), U A , U B , U C Represents the three-phase voltage of A, B, and C windings respectively, R is the phase resistance, i A 、i B and i C are the three-phase currents, L is the three-phase winding self-inductance, M is the mutual inductance between the three-phase windings, e A 、e B and e C They are three-phase back electromotive force respectively;

[0015] Electromagnetic torque T of brushless DC motor em for:

[0016] T em =(e A i A +e B i B +e C i C ) / ω m (2)

[0017] In formula (2), ω m Indicates the mechanical angular velocity of the motor;

[0018] The dynamic equation of the brushless DC motor is:

[0019]

[0020] In formula (3), T L Represents the load torque of the motor, J m Indicates the motor's moment of inertia, B m represents the viscous damping coefficient of the motor, and d / dt represents the differential operator.

[0021] Furthermore, an approximate dead zone function describing the backlash between gears is introduced into the position loop to correct the target speed n*. The approximate dead zone function of the backlash between gears is:

[0022]

[0023] Wherein, a>0, r>0 are unknown parameters, 2α represents the tooth gap width, z represents the relative angular displacement of the driving and driven gears, z is z=θ1-i·θ2, θ1 and θ2 represent the angular displacement of the driving and driven wheels respectively, and i represents the gear ratio;

[0024] The approximate dead zone function is used to represent the backlash link between the driving and driven wheels of the gear transmission. The transmission torque τ between the driving and driven wheels is: τ = k·f * (z).

[0025] Furthermore, the LuGre friction model describing the nonlinear friction between the output shaft of the reducer and the rudder surface is introduced into the position loop to correct the target speed n*; the aerodynamic hinge torque T acting on the rudder surface h for:

[0026] T h =h·θ s (8)

[0027] In formula (8), T h represents the pneumatic hinge torque, and h = T h max / θ s max , T h max is the maximum pneumatic hinge torque, θ smax is the maximum rudder position, θ s Indicates the deflection angle of the rudder surface;

[0028] The LuGre friction nonlinear model is:

[0029]

[0030] Formula (9) is the dynamic equation of the average deformation of the bristles on the contact surface, where ξ represents the average deformation of the bristles, ω l represents the angular velocity of the rudder surface, and the nonlinear function g(ω l )>0 indicates the friction effect; the average deformation of the bristle is calculated using formula (9);

[0031] In formula (10), σ0 represents the bristle stiffness coefficient, F C Denotes the Coulomb friction torque, F S Represents the maximum static friction torque, V S represents the Stribeck velocity, and e represents the exponential function term;

[0032] In formula (11), F f represents the friction torque, σ1 represents the bristle damping coefficient, and σ2 represents the viscous friction coefficient;

[0033] The LuGre friction torque of the bristle is calculated according to equations (10) and (11).

[0034] Furthermore, the SN-PID algorithm in the position loop uses a supervised Hebb learning rule to normalize the weight coefficient ω′ i (k) Online adjustment is performed, taking into account the relationship between the weight coefficient and the neuron input, output and output deviation, and the expression is:

[0035]

[0036] In formula (19), x1(k), x2(k), and x3(k) are the state quantities required for neuron learning control, and η P , η I , η D are the learning rates of the proportional, integral, and differential coefficients, respectively. z(k) represents the performance index or progressive signal. Here, z(k)=e(k). i (k) is the normalized weight;

[0037] The learning algorithm after optimizing the weight coefficient correction part of the SN-PID algorithm is:

[0038]

[0039] Further, the fuzzy logic algorithm in the position loop includes fuzzification, database, rule base, inference engine and defuzzification;

[0040] In the fuzzification process, the controller input is set as the deviation e of the rudder position and the deviation change rate ec = de / dt, the domain range is [-6, 6], the quantization level is 13, and the fuzzy set domain is [-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6];

[0041] The database is used to store parameters related to fuzzy data processing, and the fuzzy subsets of input and output language variables are defined as seven fuzzy language values ​​NB, NM, NS, ZO, PS, PM, and PB respectively. The membership function of input variables e, ec, and output variable K′ is expressed as:

[0042] T(e)=T(ec)=T(K′)={NB,NM,NS,ZO,PS,PM,PB} (21)

[0043] The rule base uses if-then fuzzy control rules;

[0044] The inference engine uses Mamdani's min-max method to perform computational reasoning on the multi-input and multi-output fuzzy relationship of the system, which is expressed as:

[0045]

[0046] Among them, A i (i=1,2,3,…,n) and A′, B i (i=1,2,3,…,n) and B′, C i (i=1,2,3,…,n) and C′ represent fuzzy sets on different fuzzy domains X, Y, and Z respectively. The fuzzy statement “if A i and B i ,then C i The Mamdani form of " is:

[0047]

[0048] In formula (22), x, y, z are arbitrary elements on the fuzzy domains X, Y, and Z respectively, and μ Ai (x), μ Bi (y), μ Ci (z) is the membership function of elements x, y, z relative to fuzzy sets A, B, C, ∧ represents the smaller operation, and "otherwise" represents the "or" operation. The inference result is:

[0049]

[0050] In formula (23), “and” represents the sum operation. represents a composite operation, and “∪” represents a larger operation, where C′ i The membership function of is expressed as:

[0051]

[0052] In formula (24), ∨ represents the larger operation, and ∩ represents the smaller operation. and denote the height of the intersection between fuzzy sets A′ and A, B′ and B respectively;

[0053] Defuzzification uses the centroid method to calculate the centroid of a series of points within the output range to obtain the exact value of the fuzzy output. The expression is:

[0054]

[0055] The optimized gain coefficient K is expressed as:

[0056] K=K0+{E,EC} K′ (26)

[0057] Wherein, K0 represents the initial setting value of the gain coefficient K.

[0058] Furthermore, assuming that the fuzzy subset domain of the system deviation e is {-n,-n+1,…,0,…,n-1,n}, and the fuzzy subset domain of the deviation change rate ec is {-m,-m+1,…,0,…,m-1,m}, the quantization factor Ke corresponding to the deviation e and the quantization factor Kc corresponding to the deviation change rate ec are expressed as follows:

[0059] Ke=n / x e (27)

[0060] Kc=m / x c (28)

[0061] Among them, x e and x c They represent the fuzzy system input values ​​of the deviation e and the deviation change rate ec respectively.

[0062] The control method of the electric steering gear nonlinear control system based on the FASN-PID algorithm is characterized in that: during the operation of the steering gear, the motor speed detection module detects the speed n of the brushless DC motor in real time, the rudder position detection module detects the angular position of the rudder in real time, and the current detection module detects the current of the motor bus in real time; when the rudder is angularly displaced to generate a deflection angle θ s hour:

[0063] (1) The position loop in the main controller is based on the target position p of the control surface. * As input, the SN-PID algorithm with the gain coefficient K optimized by the fuzzy logic algorithm is used to logically control the speed of the brushless DC motor and output the target speed n of the motor. * ;

[0064] (2) The speed loop outputs the target speed n according to the position loop * The actual detected motor speed value n is used to logically control the bus current value of the motor and output the bus current target value c of the brushless DC motor. * ;

[0065] (3) The current loop outputs the target current value c of the brushless DC motor based on the speed loop * The motor forward and reverse logic switching unit detects the positive and negative of the reference current c*, and then combines the sign discrimination module to determine the forward and reverse switching logic of the motor to achieve control of the electric servo.

[0066] The beneficial effects of the present invention are:

[0067] In the present invention, the FASN-PID algorithm is introduced into the position loop, and the speed of the brushless DC motor is logically controlled based on the SN-PID algorithm with a gain coefficient K optimized by a fuzzy logic algorithm. Compared with PID, FA-PID, and SN-PID algorithms, the FASN-PID algorithm is used to make the rudder position movement have a faster response speed and a more stable motion state, and is also closer to the reference set position, and the tracking effect is more superior, thereby improving the response speed and control accuracy of the electric servo system.

[0068] In the present invention, an approximate dead zone function describing the backlash between gears is introduced into the position loop to correct the target speed n*. The approximate dead zone function is used to represent the nonlinear link of the transmission between gears, which can more accurately describe the serious vibration and noise caused by the instantaneous loss of direct contact of the gear transmission components at the time of motor reversal, and takes into account the nonlinear characteristics of the backlash uncertainty factor such as non-continuity and non-differentiability, so as to improve the control accuracy of the electric servo.

[0069] In the present invention, the LuGre friction model describing the nonlinear friction between the output shaft of the reducer and the rudder surface is introduced into the position loop to correct the target speed n*, so as to more accurately describe the complex dynamic and static characteristics of the friction process, thereby improving the control accuracy of the electric servo.

[0070] The motor forward and reverse logic switching unit of the present invention outputs the connection relationship of the three-phase coil current of the brushless DC motor according to the motor forward and reverse signal and the numerical sign of the bus current, and then controls the motor forward and reverse rotation to realize the automatic forward and reverse control of the brushless DC motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Figure 1 This is the overall topological structure diagram of the electric servo nonlinear control system based on the FASN-PID algorithm of the present invention.

[0072] Figure 2 This is a transfer function structure diagram of the brushless DC motor of the electric servo nonlinear control system based on the FASN-PID algorithm of the present invention.

[0073] Figure 3 This is a topological structure diagram of the rudder surface transfer function of the electric servo nonlinear control system based on the FASN-PID algorithm of the present invention.

[0074] Figure 4 The FASN-PID algorithm structure principle diagram of the electric steering gear nonlinear control system based on the FASN-PID algorithm of the present invention.

[0075] Figure 5 It is a membership curve diagram of the input variable e in the fuzzy logic algorithm of the electric steering gear nonlinear control system based on the FASN-PID algorithm of the present invention.

[0076] Figure 6 It is a surface diagram of the fuzzy rule space regarding the gain coefficient K in the nonlinear control system of the electric servo based on the FASN-PID algorithm of the present invention.

[0077] Figure 7 This is a graph showing the 6° step position response curve of the rudder surface under different algorithms in the electric servo nonlinear control system based on the FASN-PID algorithm of the present invention.

[0078] Figure 8 This is a graph of the 6°-2Hz sinusoidal position tracking curve of the rudder surface under different algorithms in the electric servo nonlinear control system based on the FASN-PID algorithm of the present invention. DETAILED DESCRIPTION

[0079] The present invention will be further described in detail below with reference to the specific implementation modes of the accompanying drawings, but the protection scope of the present invention is not limited thereto.

[0080] Figure 1 This is a topological structure diagram of the electric servo nonlinear control system based on the FASN-PID algorithm described in the present invention. The control system includes a main controller, a PWM modulation unit, a DC power supply, an inverter, a brushless DC motor, a gear reducer, a motor forward and reverse logic switching unit, a rudder position detection module, a current detection module, a sign discrimination module, and a motor speed detection unit.

[0081] The DC power supply is used as the power supply of the control system and is connected to the brushless DC motor through an inverter. The brushless DC motor is connected to the rudder through a reducer. The motor forward and reverse logic switching unit is used to modulate the rotation direction of the motor.

[0082] The motor speed detection module is used to detect the speed of the brushless DC motor. The rudder position detection module is an angular displacement sensor used to detect the angular displacement of the rudder. The current detection module is used to detect the current size of the motor bus. The sign discrimination module is used to discriminate the current direction of the motor bus.

[0083] The main controller is built with three closed-loop control logics: position loop, speed loop and current loop. The position loop performs logic control on the speed of the brushless DC motor according to the angular displacement of the rudder detected by the rudder position detection module and the SN-PID algorithm with the gain coefficient K optimized by the fuzzy logic algorithm, and outputs the motor target speed n*; the speed loop detects the speed of the brushless DC motor according to the motor speed detection module and outputs the current loop target value c*; the current loop outputs the target current value c of the brushless DC motor according to the speed loop output * And the motor bus current c performs logical control on the bus current.

[0084] The PWM modulation unit is used to modulate the current loop output control signal; the motor forward and reverse logic switching unit determines the motor's forward and reverse switching phase logic by detecting the positive and negative of the target current c* and then combining with the sign discrimination module.

[0085] Brushless DC motor is the main actuator of the electric servo system. Figure 2 In the transfer function structure diagram of the brushless DC motor, since the A, B, and C three-phase windings of the motor are symmetrical, the phase voltage of the brushless DC motor is:

[0086]

[0087] In formula (1), U A , U B , U C Represents the three-phase voltage of A, B, and C windings respectively, R is the phase resistance, i A 、i B and i C are the three-phase currents, L is the three-phase winding self-inductance, M is the mutual inductance between the three-phase windings, e A 、e B and e C They are three-phase reverse electromotive force respectively.

[0088] Electromagnetic torque T of brushless DC motor em for:

[0089] T em =(e A i A +e B i B +e C i C ) / ω m (2)

[0090] In formula (2), ω m Indicates the mechanical angular velocity of the motor.

[0091] The dynamic equation of the brushless DC motor is:

[0092]

[0093] In formula (3), T L Represents the load torque of the motor, J m Indicates the motor's moment of inertia, B m represents the viscous damping coefficient of the motor, and d / dt represents the differential operator.

[0094] When the brushless DC motor is commutated, the gear transmission components in the gear train reducer lose direct contact instantly, which will produce serious vibration and noise, and easily cause structural deformation or even damage. In addition, the uncertainty factor of the tooth gap has nonlinear characteristics such as discontinuity and non-differentiability. The parameters are difficult to measure accurately, and the impact on the dynamic characteristics of the electric servo is very complicated. Since the dead zone tooth gap model has a more realistic and simple description of the torque transmitted between the driving and driven components, it is often used to represent the nonlinear link of the transmission between gears. Therefore, the dead zone tooth gap model is used to represent the nonlinear link of the transmission between gears. The transmission torque τ between the driving and driven wheels in the gear train reducer is:

[0095] τ=k·f(z) (4)

[0096] In formula (4), k represents the stiffness coefficient of the junction between the driving and driven wheels, f(z) is the backlash dead zone function, and f(z) is:

[0097]

[0098] In formula (5), 2α represents the tooth gap width, z represents the relative angular displacement of the driving and driven wheels, and z is:

[0099] z=θ1-i·θ2 (6)

[0100] In formula (6), θ1 and θ2 represent the angular displacement of the driving and driven wheels respectively, and i represents the gear ratio.

[0101] Since the dead zone function has the characteristic of being non-differentiable, it is not convenient for controller design. Therefore, an approximate dead zone function describing the backlash between gears is introduced into the position loop to correct the target speed n*. The approximate dead zone function f of the backlash between gears is * (z) is:

[0102]

[0103] In formula (7), a>0, r>0 are unknown parameters, 2α represents the backlash width, z represents the relative angular displacement of the driving and driven gears, z is z=θ1-i·θ2, θ1 and θ2 represent the angular displacement of the driving and driven gears respectively, and i represents the gear ratio.

[0104] The approximate dead zone function is used to represent the backlash link between the driving and driven wheels of the gear transmission, that is, the continuous approximate dead zone function f * (z) replaces the dead zone function f(z), then the transmission torque τ between the driving and driven wheels is: τ = k·f * (z).

[0105] Since there are disturbance factors such as friction nonlinearity between the output shaft of the electric servo and the rudder surface, and the LuGre model can more accurately describe the complex dynamic and static characteristics of the friction process, the LuGre friction model that describes the nonlinear friction between the output shaft of the reducer and the rudder surface is introduced into the position loop to correct the target speed n*. Figure 3 is the topological structure diagram of the rudder transfer function. Figure 3 Medium θ gt represents the output deflection angle of the gear train, θ s represents the deflection angle of the rudder surface, k represents the stiffness coefficient, η represents the transmission efficiency, T load represents the external uncertain load disturbance, 1 / (J s S+B s ) represents the control surface transfer function model, and h represents the air hinge moment coefficient. h It is not only related to the air dynamic pressure and Mach number of the guided projectile during flight, but also to the projectile attack angle and the geometric shape and deflection angle of the rudder surface. Therefore, the range of variation is very large. It is generally believed that the aerodynamic hinge torque on the rudder surface is proportional to the deflection angle of the rudder surface and is an elastic load. The aerodynamic hinge torque T h for:

[0106] T h =h·θ s (8)

[0107] In formula (8), T h represents the pneumatic hinge torque, and h = T h max / θ s max , T h max is the maximum pneumatic hinge torque, θ smax is the maximum rudder position, θ s Indicates the deflection angle of the rudder surface.

[0108] The LuGre friction nonlinear model is:

[0109]

[0110]

[0111] Formula (9) is the dynamic equation of the average deformation of the bristles on the contact surface, where ξ represents the average deformation of the bristles, ω l represents the angular velocity of the rudder surface, and the nonlinear function g(ω l )>0 indicates the friction effect; the average deformation of the bristle is calculated using formula (9). In formula (10), σ0 represents the bristle stiffness coefficient, F C Denotes the Coulomb friction torque, FS Represents the maximum static friction torque, V S represents the Stribeck velocity, e represents the exponential function term; in formula (11), F f represents the friction torque, σ1 represents the bristle damping coefficient, σ2 represents the viscous friction coefficient, and the LuGre friction torque of the bristle is calculated according to equations (10) and (11).

[0112] The electric servo drives the output shaft of the gear reducer by controlling the forward and reverse motion of the brushless DC motor to realize the reciprocating motion of the rudder surface within a certain range. In the interval where the set rudder deflection angle position increases, the motor rotates forward, provides a positive torque, and the current reference value is a positive value; in the interval where the set position decreases, the motor rotates reversely, provides a reverse torque, and the current reference value is a negative value. Therefore, the forward and reverse switching logic of the motor can be determined by judging the numerical sign of the bus current and the positive and negative of the target current c*, and finally the movement direction of the rudder surface can be controlled. The motor forward and reverse logic switching unit is connected to the PWM modulation, DC power supply, and sign discrimination module. The sign discrimination module is used to judge the current direction of the motor bus. The motor forward and reverse logic switching unit outputs the current connectivity relationship of the three-phase coil of the brushless DC motor according to the current direction of the bus and the positive and negative of the target current c*, and then controls the forward and reverse rotation of the motor to realize the forward and reverse automatic control of the brushless DC motor. Tables 1 and 2 show the relationship between the inverter switching logic and current conduction under the forward and reverse motion of the motor.

[0113] Table 1 Relationship between logic commutation and current conduction of motor forward inverter

[0114]

[0115] Table 2 Relationship between logic commutation and current conduction of motor reversing inverter

[0116]

[0117]

[0118] The FASN-PID algorithm uses the fuzzy adaptive algorithm (FA) to online optimize the gain coefficient K of the single neuron (SN) PID algorithm, thereby improving the effectiveness, stability and robustness of the algorithm. Figure 4 The schematic diagram of the FASN-PID algorithm structure is shown.

[0119] The SN-PID algorithm is essentially a variable coefficient, composite, adaptive artificial neural network algorithm that uses the weight coefficients of the proportional P, integral I, and differential D in the PID algorithm as the output of neurons and simplifies the hidden layer to one layer. Since the actual industrial process system is discrete, the PID algorithm uses discrete incremental mode to control the system. The output u(k) of the PID algorithm at time k is

[0120] u(k)=Δu(k)+u(k-1) (12)

[0121] Δu(k)=K p [e(k)-e(k-1)]+K i e(k)+K d [e(k)-2e(k-1)+e(k-2)] (13)

[0122] In formulas (12) and (13), u(k) and u(k-1) are the output values ​​at time k and k-1 respectively, and e(k) = r(k)-y(k), e(k-1) = r(k-1)-y(k-1), e(k-2) = r(k-2)-y(k-2), r(k), r(k-1), and r(k-2) are the set values ​​at time k, k-1, and k-2 respectively, y(k), y(k-1), and y(k-2) are the actual output values ​​at time k, k-1, and k-2 respectively, and K p , K i , K d They are proportional adjustment coefficient, integral adjustment coefficient and differential adjustment coefficient respectively.

[0123] The set value of the SN-PID algorithm at time k is r(k), and the actual output value is y(k). After state conversion, they are the state quantities x1(k), x2(k), and x3(k) required for neuron learning control. Then the output u(k) of the SN-PID algorithm at time k is

[0124]

[0125] In formula (14), K is the proportional gain coefficient of the neuron, and K>0, u(k) and u(k-1) are the output at time k and k-1 respectively, ω′ i (k) represents the same i (k) corresponds to the normalized weight coefficient, and x i The mathematical expression of (k) is:

[0126]

[0127] Substituting formula (15) into formula (14), we can obtain:

[0128]

[0129] And by comparing formula (16) with formula (13), the weight coefficients of the SN-PID algorithm can be obtained, which are expressed as:

[0130]

[0131] Therefore, the SN-PID controller has the characteristics of the PID algorithm.

[0132] Among them, the normalized weight coefficient ω′ i The expression of (k) is:

[0133]

[0134] The supervised Hebb learning rule is used to normalize the weight coefficient ω′ i (k) Online adjustment is performed. This rule considers the relationship between the weight coefficient and the neuron input, output, and output deviation. The expression is:

[0135]

[0136] In formula (19), η P , η I , η D are the learning rates of the proportional, integral, and differential coefficients, respectively. z(k) represents the performance index or progressive signal. Here, z(k)=e(k). i (k) is the normalized weight.

[0137] The online learning of SN-PID parameters is mainly related to e(k) and Δe(k), so it is necessary to optimize the weight coefficient correction part of the SN-PID algorithm. The optimized learning algorithm is:

[0138]

[0139] In addition, selecting a suitable K value is particularly important for the SN-PID algorithm. In order to achieve online self-tuning of the K value and improve the control quality, the fuzzy logic algorithm is used in this embodiment to online optimize the gain coefficient K of the SN-PID algorithm.

[0140] The fuzzy logic algorithm includes fuzzification, database, rule base, inference engine and defuzzification. In the fuzzification process, the controller input is set as the deviation e of the rudder position and the deviation change rate ec=de / dt. The domain range is [-6, 6], and the quantization level is 13, that is, the fuzzy set domain is [-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6].

[0141] The database is used to store parameters related to fuzzy data processing, such as input variables e, ec, output variable K′, and define the fuzzy subsets of input and output language variables as seven fuzzy language values: NB (Negative Big), NM (Negative Middle), NS (Negative Small), ZO (Zero), PS (Positive Small), PM (Positive Middle), and PB (Positive Big), which are a combination of "triangular" and "Gaussian" functions. Figure 5 This is the membership curve of the input variable e in the fuzzy logic algorithm, and the other variables are the same. The membership function of the input variables e, ec, and the output variable K′ is expressed as:

[0142] T(e)=T(ec)=T(K′)={NB,NM,NS,ZO,PS,PM,PB} (21)

[0143] The rule base adopts if-then fuzzy control rules, where the if-then fuzzy control rules are based on control engineering knowledge and expert experience. The fuzzy control rule table is shown in Table 3, and the fuzzy rule space surface diagram of the gain coefficient K is shown in Figure 6 shown.

[0144] Table 3 Fuzzy control rules table

[0145]

[0146] The inference engine uses Mamdani's min-max method to calculate and reason about the multi-input and multi-output fuzzy relationship of the system, and obtains a total of 49 inference rules, which are expressed as follows:

[0147]

[0148] Among them, A i (i=1,2,3,…,n) and A′, B i (i=1,2,3,…,n) and B′, C i (i=1,2,3,…,n) and C′ represent fuzzy sets on different fuzzy domains X, Y, and Z respectively. The fuzzy statement “if A i and B i ,then C i The Mamdani form of " is:

[0149]

[0150] In formula (22), x, y, z are arbitrary elements on the fuzzy domains X, Y, and Z respectively, and μ Ai (x), μBi (y), μ Ci (z) is the membership function of elements x, y, z relative to fuzzy sets A, B, C, ∧ represents the smaller operation, and "otherwise" represents the "or" operation. The inference result is:

[0151]

[0152] In formula (23), “and” represents the sum operation. represents a composite operation, and “∪” represents a larger operation, where C i The membership function of ′ is expressed as:

[0153]

[0154] In formula (24), ∨ represents the larger operation, and ∩ represents the smaller operation. and They represent the height of the intersection between fuzzy sets A′ and A, and B′ and B respectively.

[0155] The centroid method is used in defuzzification to perform defuzzification operations, calculate the centroid of a series of points within the output range, and obtain the exact value of the fuzzy output. The expression is:

[0156]

[0157] The optimized gain coefficient K can be expressed as:

[0158] K=K0+{E,EC} K′ (26)

[0159] Wherein, K0 represents the initial setting value of the gain coefficient K.

[0160] In addition, in this embodiment, it is assumed that the fuzzy subset domain of the system deviation e is {-n, -n+1, ​​..., 0, ..., n-1, n}, and the fuzzy subset domain of the deviation change rate ec is {-m, -m+1, ..., 0, ..., m-1, m}. The quantization factor Ke corresponding to the deviation e and the quantization factor Kc corresponding to the deviation change rate ec are respectively expressed as:

[0161] Ke=n / x e (27)

[0162] Kc=m / x c (28)

[0163] Among them, x e and x c They represent the fuzzy system input values ​​of the deviation e and the deviation change rate ec respectively.

[0164] According to the control method of the nonlinear system of the electric steering gear based on the FASN-PID algorithm, the method comprises: during the operation of the steering gear, the motor speed detection module detects the speed n of the brushless DC motor in real time, the rudder position detection module detects the angular position of the rudder in real time, and the current detection module detects the current of the motor bus in real time; when the rudder is angularly displaced to generate a deflection angle θ s hour:

[0165] (1) The position loop in the main controller is based on the target position p of the control surface. * As input, the SN-PID algorithm with the gain coefficient K optimized by the fuzzy logic algorithm is used to logically control the speed of the brushless DC motor and output the target speed n of the motor. * ;

[0166] (2) The speed loop outputs the target speed n according to the position loop * The actual detected motor speed value n is used to logically control the bus current value of the motor and output the bus current target value c of the brushless DC motor. * ;

[0167] (3) The current loop outputs the target current value c of the brushless DC motor based on the speed loop * The motor forward and reverse logic switching unit detects the positive and negative of the reference current c*, and then combines the sign discrimination module to determine the forward and reverse switching logic of the motor to achieve control of the electric servo.

[0168] Figure 7 The response curves of the position loop in the nonlinear multi-body dynamic control system of the electric servo using PID, FA-PID, SN-PID and FASN-PID algorithms for a 6° step position are shown in Figure 1. Figure 7 It can be seen that the FASN-PID algorithm has a faster response speed and a more stable motion state than the other three algorithms.

[0169] Figure 8 The 6°-2Hz sinusoidal position tracking curve diagram of the position loop using PID, FA-PID, SN-PID and FASN-PID algorithms in the nonlinear multi-body dynamics control system of the electric servo is shown in the figure. Figure 8 It can also be concluded that the FASN-PID algorithm has a faster response speed than the other three algorithms, is closer to the reference set position, and has a better tracking effect.

[0170] The present invention comprehensively considers the influence of nonlinear factors such as the internal nonlinearity of the motor, the gear system dead zone backlash and LuGre friction during the control process of the electric servo, and constructs a systematic and perfect nonlinear multi-body dynamic system of the electric servo. Secondly, since the movement direction of the rudder surface during the operation of the electric servo is not single, but by controlling the forward and reverse rotation of the motor, the gear system and the output shaft are driven to realize the reciprocating movement of the rudder surface within a certain range. Therefore, the present invention constructs a motor forward and reverse logic switching unit, outputs the current connectivity relationship of the three-phase coil of the brushless DC motor according to the numerical sign of the motor forward and reverse signal and the bus current, and then controls the forward and reverse rotation of the motor to realize the forward and reverse automatic control of the brushless DC motor. And in the interval where the rudder surface position increases, the motor rotates forward, and in the interval where the rudder surface position decreases, the motor rotates reversely. Finally, the present invention introduces the FASN-PID algorithm in the position loop of the three-closed-loop control system of the electric servo, and uses the fuzzy logic algorithm (FuzzyAdaptive, FA) to online optimize the gain coefficient K of the single neuron (Single Neuron, SN) PID controller, thereby optimizing the weight coefficient ΔK in the PID algorithm. p , ΔK i , ΔK d , thereby improving the response speed and control accuracy of the electric servo system.

[0171] The examples are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments. Any obvious improvements, substitutions or modifications that can be made by those skilled in the art without departing from the essential content of the present invention belong to the protection scope of the present invention.

Claims

1. A nonlinear control system for an electric servo based on the FASN-PID algorithm, characterized in that: It includes a main controller, a PWM modulation unit, a DC power supply, an inverter, a brushless DC motor, a gear reducer, a motor forward and reverse logic switching unit, a rudder position detection module, a current detection module, a sign discrimination module, and a motor speed detection unit; The DC power supply is used as the power supply of the control system, and is connected to the brushless DC motor through an inverter. The brushless DC motor is connected to the rudder through a reducer, and the motor forward and reverse logic switching unit is used to modulate the rotation direction of the motor; The motor speed detection module is used to detect the speed of the brushless DC motor, the control surface position detection module is used to detect the angular displacement of the control surface, the current detection module is used to detect the current magnitude of the motor bus, and the sign discrimination module is used to discriminate the current direction of the motor bus; The main controller is built with three closed-loop control logics: position loop, speed loop and current loop. The position loop performs logic control on the speed of the brushless DC motor according to the angular displacement of the rudder detected by the rudder position detection module and the SN-PID algorithm with the gain coefficient K optimized by the fuzzy logic algorithm, and outputs the motor target speed n*; the speed loop detects the speed of the brushless DC motor according to the motor speed detection module and outputs the current loop target value c*; the current loop outputs the target current value c of the brushless DC motor according to the speed loop output * And the motor bus current c performs logical control on the bus current; The PWM modulation unit is used to modulate the current loop output control signal; the motor forward and reverse logic switching unit determines the motor's forward and reverse switching phase logic by detecting the positive and negative of the target current c* and then combining with the sign discrimination module.

2. The electric servo nonlinear system based on FASN-PID algorithm according to claim 1, characterized in that: The control surface position detection module is an angular displacement sensor.

3. The electric servo nonlinear system based on FASN-PID algorithm according to claim 1, characterized in that: The phase voltage of the brushless DC motor is: In formula (1), U A , U B , U C Represents the three-phase voltage of A, B, and C windings respectively, R is the phase resistance, i A 、i B and i C are the three-phase currents, L is the three-phase winding self-inductance, M is the mutual inductance between the three-phase windings, e A 、e B and e C They are three-phase back electromotive force respectively; Electromagnetic torque T of brushless DC motor em for: T em =(e A i A +e B i B +e C i C ) / ω m (2) In formula (2), ω m Indicates the mechanical angular velocity of the motor; The dynamic equation of the brushless DC motor is: In formula (3), T L Represents the load torque of the motor, J m Indicates the motor's moment of inertia, B m represents the viscous damping coefficient of the motor, and d / dt represents the differential operator.

4. The electric servo nonlinear system based on FASN-PID algorithm according to claim 1, characterized in that: An approximate dead zone function describing the backlash between gears is introduced into the position loop to correct the target speed n*. The approximate dead zone function describing the backlash between gears is: Wherein, a>0, r>0 are unknown parameters, 2α represents the tooth gap width, z represents the relative angular displacement of the driving and driven gears, z is z=θ1-i·θ2, θ1 and θ2 represent the angular displacement of the driving and driven wheels respectively, and i represents the gear ratio; The approximate dead zone function is used to represent the backlash link between the driving and driven wheels of the gear transmission. The transmission torque τ between the driving and driven wheels is: τ = k·f * (z).

5. The electric servo nonlinear system based on FASN-PID algorithm according to claim 1, characterized in that: The LuGre friction model describing the nonlinear friction between the reducer output shaft and the rudder surface is introduced into the position loop to correct the target speed n*; the aerodynamic hinge torque T h for: T h =h·θ s (8) In formula (8), T h represents the pneumatic hinge torque, and h = T hmax / θ smax , T hmax is the maximum pneumatic hinge torque, θ smax is the maximum rudder position, θ s Indicates the deflection angle of the rudder surface; The LuGre friction nonlinear model is: Formula (9) is the dynamic equation of the average deformation of the bristles on the contact surface, where ξ represents the average deformation of the bristles, ω l represents the angular velocity of the rudder surface, and the nonlinear function g(ω l )>0 indicates friction effect; The average deformation of the bristles is calculated using formula (9); In formula (10), σ0 represents the bristle stiffness coefficient, F C Denotes the Coulomb friction torque, F S Represents the maximum static friction torque, V S represents the Stribeck velocity, and e represents the exponential function term; In formula (11), F f represents the friction torque, σ1 represents the bristle damping coefficient, and σ2 represents the viscous friction coefficient; The LuGre friction torque of the bristle is calculated according to equations (10) and (11).

6. The electric servo nonlinear system based on FASN-PID algorithm according to claim 1, characterized in that: The SN-PID algorithm in the position loop uses a supervised Hebb learning rule to normalize the weight coefficient ω i ′(k) is adjusted online, taking into account the relationship between the weight coefficient and the neuron input, output and output deviation, and the expression is: In formula (19), x1(k), x2(k), and x3(k) are the state quantities required for neuron learning control, and η P , η I , η D are the learning rates of the proportional, integral, and differential coefficients, respectively. z(k) represents the performance index or progressive signal. Here, z(k)=e(k). i (k) is the normalized weight; The learning algorithm after optimizing the weight coefficient correction part of the SN-PID algorithm is:

7. The electric servo nonlinear system based on FASN-PID algorithm according to claim 6, characterized in that: The fuzzy logic algorithm in the position loop includes fuzzification, database, rule base, inference engine and defuzzification; In the fuzzification process, the controller input is set as the deviation e of the rudder position and the deviation change rate ec = de / dt, the domain range is [-6, 6], the quantization level is 13, and the fuzzy set domain is [-6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6]; The database is used to store parameters related to fuzzy data processing, and the fuzzy subsets of input and output language variables are defined as seven fuzzy language values ​​NB, NM, NS, ZO, PS, PM, and PB respectively. The membership function of input variables e, ec, and output variable K′ is expressed as: T(e)=T(ec)=T(K′)={NB,NM,NS,ZO,PS,PM,PB} (21) The rule base uses if-then fuzzy control rules; The inference engine uses Mamdani's min-max method to perform computational reasoning on the multi-input and multi-output fuzzy relationship of the system, which is expressed as: Among them, A i (i=1,2,3,…,n) and A′, B i (i=1,2,3,…,n) and B′, C i (i=1,2,3,…,n) and C′ represent fuzzy sets on different fuzzy domains X, Y, and Z respectively. The fuzzy statement "if A i and B i ,then C i The Mamdani form of " is: In formula (22), x, y, z are arbitrary elements on the fuzzy domains X, Y, and Z respectively, and μ Ai (x), μ Bi (y), μ Ci (z) is the membership function of elements x, y, z relative to fuzzy sets A, B, C, ∧ represents the smaller operation, "otherwise" represents the "or" operation, and the inference result is: In formula (23), "and" represents the sum operation, represents a composite operation, "∪" represents a larger operation, where C i The membership function of ′ is expressed as: In formula (24), ∨ represents the larger operation, and ∩ represents the smaller operation. and denote the height of the intersection between fuzzy sets A′ and A, B′ and B respectively; Defuzzification uses the centroid method to calculate the centroid of a series of points within the output range to obtain the exact value of the fuzzy output. The expression is: The optimized gain coefficient K is expressed as: K=K0+{E,EC} K′ (26) Wherein, K0 represents the initial setting value of the gain coefficient K.

8. The electric servo nonlinear system based on FASN-PID algorithm according to claim 7, characterized in that: Assume that the fuzzy subset domain of the system deviation e is {-n,-n+1,…,0,…,n-1,n}, and the fuzzy subset domain of the deviation change rate ec is {-m,-m+1,…,0,…,m-1,m}, the quantization factor Ke corresponding to the deviation e and the quantization factor Kc corresponding to the deviation change rate ec are expressed as follows: Ke=n / x e (27) Kc=m / x c (28) Among them, x e and x c They represent the fuzzy system input values ​​of the deviation e and the deviation change rate ec respectively.

9. The control method of the electric servo nonlinear system based on the FASN-PID algorithm according to any one of claims 1 to 8, characterized in that: During the operation of the steering gear, the motor speed detection module detects the speed n of the brushless DC motor in real time, the rudder position detection module detects the angular position of the rudder in real time, and the current detection module detects the current of the motor bus in real time; when the rudder is angularly displaced to generate a deflection angle θ s hour: (1) The position loop in the main controller is based on the target position p of the control surface. * As input, the SN-PID algorithm with the gain coefficient K optimized by the fuzzy logic algorithm is used to logically control the speed of the brushless DC motor and output the target speed n of the motor. * ; (2) The speed loop outputs the target speed n according to the position loop * The actual detected motor speed value n is used to logically control the bus current value of the motor and output the bus current target value c of the brushless DC motor. * ; (3) The current loop outputs the target current value c of the brushless DC motor based on the speed loop * The motor forward and reverse logic switching unit detects the positive and negative of the reference current c*, and then combines the sign discrimination module to determine the forward and reverse switching logic of the motor to achieve control of the electric servo.