CN108964545B - A kind of synchronous motor neural network contragradience Discrete Control Method based on command filtering - Google Patents
A kind of synchronous motor neural network contragradience Discrete Control Method based on command filtering Download PDFInfo
- Publication number
- CN108964545B CN108964545B CN201810851193.XA CN201810851193A CN108964545B CN 108964545 B CN108964545 B CN 108964545B CN 201810851193 A CN201810851193 A CN 201810851193A CN 108964545 B CN108964545 B CN 108964545B
- Authority
- CN
- China
- Prior art keywords
- neural network
- synchronous motor
- permanent magnet
- equation
- magnet synchronous
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 82
- 238000013528 artificial neural network Methods 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000001914 filtration Methods 0.000 title claims abstract description 23
- 230000003044 adaptive effect Effects 0.000 claims abstract description 10
- 238000004458 analytical method Methods 0.000 claims abstract description 7
- 239000013598 vector Substances 0.000 claims description 34
- 238000005070 sampling Methods 0.000 claims description 15
- 238000013459 approach Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 14
- 238000013461 design Methods 0.000 abstract description 8
- 238000004088 simulation Methods 0.000 abstract description 8
- 238000004880 explosion Methods 0.000 abstract description 6
- 230000004044 response Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 abstract description 4
- 230000008878 coupling Effects 0.000 abstract description 3
- 238000010168 coupling process Methods 0.000 abstract description 3
- 238000005859 coupling reaction Methods 0.000 abstract description 3
- 238000007796 conventional method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 238000012938 design process Methods 0.000 description 2
- 229910052761 rare earth metal Inorganic materials 0.000 description 2
- 150000002910 rare earth metals Chemical class 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000004377 microelectronic Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/0003—Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
- H02P21/0014—Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control using neural networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P2207/00—Indexing scheme relating to controlling arrangements characterised by the type of motor
- H02P2207/05—Synchronous machines, e.g. with permanent magnets or DC excitation
Landscapes
- Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Power Engineering (AREA)
- Feedback Control In General (AREA)
Abstract
The synchronous motor neural network contragradience Discrete Control Method based on command filtering that the invention discloses a kind of, it is more for permasyn morot variable, coupling is strong, and the problem of being highly susceptible to external loading and the variation influence of motor relevant parameter, a kind of neural network adaptive controller is devised based on command filtering technology and Backstepping principle, nerual network technique is for approaching unknown nonlinear terms, adaptive Backstepping is used for the design of controller, and command filtering technology is for solving the problems, such as " calculating explosion ".Part of the present invention supplemented with the complete controller design lacked in conventional method increases Liapunov stability analysis;After being controlled to adjust by controller, motor running can be rapidly achieved stable state, it is more suitable for needing the control object of fast dynamic response, simulation result shows that this new controller overcomes the influence of parameter inaccuracy and ensure that ideal control effect, realizes the quickly and stably tracking to position.
Description
Technical Field
The invention belongs to the technical field of position tracking control of permanent magnet synchronous motors, and particularly relates to a synchronous motor neural network backstepping discrete control method based on command filtering.
Background
In recent years, with the rapid development of power electronic technology, microelectronic technology, novel motor control theory and rare earth permanent magnet materials, permanent magnet synchronous motors can be rapidly popularized and applied. Compared with the traditional electrically excited synchronous motor, the permanent magnet synchronous motor, especially the rare earth permanent magnet synchronous motor has the advantages of less loss, high efficiency and obvious electricity-saving effect.
The permanent magnet synchronous motor provides excitation by the permanent magnet, so that the structure of the motor is simpler, the processing and assembling cost is reduced, a collecting ring and an electric brush which are easy to cause problems are omitted, and the running reliability of the motor is improved; because the efficiency and the power density of the motor are improved without exciting current and exciting loss, the motor is a motor which is researched more in recent years and is applied to more and more fields, and the research on the motor is very necessary.
However, the mathematical model of the synchronous motor has the characteristics of nonlinearity, strong coupling, multivariable, and the like, and is easily affected by uncertain factors such as motor parameter variation and external load disturbance, and therefore, it is a challenging subject to realize high-performance control of the synchronous motor. Since the eighties, the development of control technologies, particularly control theory strategies, is very rapid, and some advanced control strategy methods (such as sliding mode control, variable structure control, fuzzy control, backstepping method, expert control and the like) are being tried to be introduced into a permanent magnet synchronous motor controller, so that a new way is opened up for promoting the development of high performance towards the direction of intellectualization, flexibility and full digitalization. However, most of the above-mentioned control techniques and methods are often used in the design process of a continuous model controller of a permanent magnet synchronous motor, and the research on a discrete model thereof is rarely involved.
Due to the wide application of computer control systems, and compared with continuous control methods, discrete control methods are superior in ensuring the stability and realizability of the systems, so that the theoretical research of modeling, analysis and design of discrete systems is in an increasingly important position. The big advantage of the back stepping method is that the original high-order system can be simplified by using virtual control variables, so that the final output result can be automatically obtained by an appropriate Lyapunov equation.
The self-adaptive backstepping control method decomposes a complex nonlinear system into a plurality of simple low-order subsystems, designs the controller step by introducing virtual control variables, and finally determines a control law and a self-adaptive law, thereby realizing the effective control of the system. However, continuous derivation of the virtual control function in the conventional backstepping control easily causes a "calculation explosion" problem. The problem of 'computing explosion' can be effectively solved by introducing a command filtering technology in the design process of the controller.
In addition, the ability of neural network technology to handle unknown nonlinear functions has attracted extensive attention in the control community at home and abroad and is used in the design of complex control systems with high degree of nonlinearity and uncertainty.
Disclosure of Invention
The invention aims to provide a synchronous motor neural network backstepping discrete control method based on command filtering, wherein unknown nonlinear terms of a system are approximated through a neural network technology, the command filtering technology is used for solving the problem of 'calculation explosion', and a controller is constructed by using a backstepping method, so that the tracking control of the position of a synchronous motor is realized.
In order to achieve the purpose, the invention adopts the following technical scheme:
a synchronous motor neural network backstepping discrete control method based on command filtering comprises the following steps:
a. establishing a dynamic model of a permanent magnet synchronous motor
Under the synchronous rotation d-q coordinate, the dynamic model of the permanent magnet synchronous motor is expressed as:
wherein theta is the angular position of the rotor of the permanent magnet synchronous motor, omega is the angular speed of the rotor of the permanent magnet synchronous motor, J is the moment of inertia, and TLFlux linkage n generated for load torque, phi for permanent magnetpIs the number of magnetic pole pairs, iqFor q-axis stator current, idIs d-axis stator current, uqIs the q-axis stator voltage u of the permanent magnet synchronous motordFor d-axis stator voltage, L of permanent magnet synchronous motordAnd LqIs the stator inductance R under a d-q coordinate systemsThe equivalent resistance of the stator of the permanent magnet synchronous motor and the friction coefficient B are defined as the equivalent resistance of the stator of the permanent magnet synchronous motor;
to simplify the dynamic model of a permanent magnet synchronous motor, the following variables are defined:
the discrete dynamic model of the permanent magnet synchronous motor is then represented as:
wherein x is1(k +1) represents the rotor angular position of the (k +1) th sample;
x2(k +1) represents the rotor angular velocity of the (k +1) th sample;
x3(k +1) represents the k +1 thSub-sampled q-axis stator current;
x4(k +1) represents the d-axis stator current for the (k +1) th sample; deltatRepresents a sampling period;
b. according to the backstepping principle, a synchronous motor neural network backstepping discrete control method based on command filtering is designed, wherein the discrete dynamic model is simplified into two independent subsystems, namely a state variable x1(k),x2(k) And a control input uq(k) Formed subsystem and composed of state variables x4(k) And a control input ud(k) A component subsystem; wherein:
the first subsystem is:
the second subsystem is: x is the number of4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k);
Approximating a continuous function f (Z (k)) using a RBF neural networkn→R;f(Z(k))=WTS(Z(k));
Wherein,is an input vector, q is the neural network input dimension, RqA real number vector set;
W=[W1,...,Wl]T∈Rlis a weight vector, the number of nodes of the neural network is a positive integer, l is greater than 1, RlA real number vector set;
Rnis an n-dimensional real number vector set, and R is a real number set; wherein, W1,...,WlIs the weight of the weight vector;
S(Z(k))=[s1(Z(k)),...,sl(Z(k))]T∈Rlis a vector of basis functions, in which si(Z (k)) is used as a Gaussian function of the form:
wherein, mui=[μi1,...,μiq]TIs the center of the acceptance domain, and ηiThen the width of the gaussian function;
when the number of nodes of the neural network is large enough, the RBF neural network approaches to a compact setTo an arbitrary precision ε>0;
Define the command filter as:
wherein, ζ, ωnIs a command filter parameter;
zj,1(k)=xjc(k),
xjc(k) and xjc(k +1) represents the output signal of the kth and kth +1 samples of the jth command filter;
zj,1(k),zj,2(k) the output signal sampled the kth time of the jth command filter;
zj,1(k+1),zj,2(k +1) is the output signal of the (k +1) th sample of the jth command filter;
αj(k) the input signal sampled the kth time of the jth command filter;
if the input signal alphaj(k) For all constants k ≧ 0, such that | αj(k+1)-αj(k)|≤ρ1And | αj(k+2)-2αj(k+1)+αj(k)|≤ρ2If true, it can be derived for an arbitrary constant τj> 0, presence of omegan> 0 and ζ ∈ (0, 1)]So that | zj,1(k)-αj(k)|≤τj,Δzj,1(k)=|zj,1(k+1)-zj,1(k) I is bounded;
where ρ is1And ρ2Are all normal numbers, αj(k +1) denotes the (k +1) th sampled input signal of the j-th command filter, αj(k +2) represents the k +2 sampled input signal of the jth command filter; at the same time zj,1(0)=αj(0), zj,2(0) 0 is the initial value of the command filter, αj(0) An initial input signal representing a command filter;
the system error variables are defined as follows:
wherein x isd(k) For the desired position signal, x1c(k)、x2c(k) Is the output signal of the command filter;
c.1. to ensure x1(k) Capable of effectively tracking expected position signal xd(k) The Lyapunov control function is selected as follows:
according to the 1 st equation x in the discrete dynamic model formula (3)1(k+1)=x1(k)+Δtx2(k) The error variables can be found to be:
e1(k+1)=x1(k+1)-xd(k+1)=x1(k)+Δtx2(k)-xd(k+1);
the difference can be found from equation (5):
x is to be2(k) Viewed as a control input, x, to the first subsystemd(k +1) is the expected position signal of the (k +1) th sampling, and an error variable e is set2(k)=x2(k)-x1c(k) Constructing a virtual control functionThen the following results are obtained:
c.2. according to the 2 nd equation in the discrete dynamical model formula (3):
x2(k+1)=a1Δtx3(k)+(1-a3Δt)x2(k)+a2Δtx3(k)x4(k)-a4ΔtTLthe error variable can be obtained:
e2(k+1)=a1Δtx3(k)+(1-a3Δt)x2(k)+a2Δtx3(k)x4(k)-a4ΔtTL-x1c(k+1);
selecting a Lyapunov function:then to V2(k) Calculating the difference to obtain:
load torque T in actual operation of permanent magnet synchronous motorLThere is an upper limit d, therefore | TLD is less than or equal to | and d is a normal number;
constructing a virtual control function:
setting error variable e3(k)=x3(k)-x2c(k) Then Δ V2(k) Expressed as:
derived from the young inequality:
therefore, substituting equation (11) into equation (10) yields:
c.3. from equation 3 of the discrete dynamical model equation (3):
x3(k+1)=(1-b1Δt)x3(k)-b2Δtx2(k)+b3Δtx2(k)x4(k)+b4Δtuq(k) the error variable can be obtained:
selecting Lyapunov functionsTo V3(k) Calculating the difference to obtain:
wherein f is3(k)=(1-b1Δt)x3(k)-b2Δtx2(k)+b3Δtx2(k)x4(k)-x2c(k+1);
As can be seen from the RBF neural network approximation principle, the method can be used for any small positive number epsilon3There is always a neural network systemSo that
Wherein delta3Expressing approximation error and satisfying inequality | delta3|≤ε3,||W3Is the vector W3Thereby:
wherein S is3(Z3(k) Is a vector of basis functions, Z3(k)=[x2(k),x3(k),x4(k),x2c(k+1)]T;
Selecting u from control inputsq(k) For actual control law and adaptive lawComprises the following steps:
wherein, γ3,λ3Is a normal number, and is,is eta3The estimated value of (1), define | | W3||=η3And η3> 0, define variable η3Has an estimation error ofSubstituting equations (7), (12), and (15) into equation (14) yields:
c.4. recording the system error variable e4(k)=x4(k) Selecting Lyapunov functionP is a normal number; the 4 th expression of the discrete dynamical model formula (3):
x4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k) the error variable can be obtained:
e4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k);
v is obtained4(k) The difference of (a) can be obtained:
wherein f is4(k)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k) As can be seen from the RBF neural network approximation principle, for arbitrarily small positive numbers ε4There is always a neural network systemSo thatWherein, delta4Expressing approximation error and satisfying inequality | delta4|≤ε4Wherein, | | W4Is the vector W4Thereby:
wherein S is4(Z4(k) Is a vector of basis functions, Z4(k)=[x2(k),x3(k),x4(k)]T;
Selecting u from control inputsd(k) For actual control law and adaptive lawComprises the following steps:
wherein, γ4,λ4Is a normal number, and is,is eta4The estimated value of (1), define | | W4||=η4And η4> 0, define variable η4Has an estimation error ofSubstituting equation (19) into equation (18) yields:
d. performing stability analysis on the built neural network back-stepping controller of the permanent magnet synchronous motor
Selecting a Lyapunov function as follows:
differentiating V (k) to obtain:
according to the above formulaAndformula available when performing the (k +1) th sampling of the estimation errorAnd law of adaptationm is 3,4, and has:
is composed of Young' S inequality and | | | Sm(Zm(k))||2<lm,m=3,4,lmThe number of nodes representing the neural network system can be obtained:
definition ofM is an arbitrary positive number because | xjc(k)-αj(k)|≤τjJ is 1,2, and is obtained by substituting equation (21) with equation (22) to equation (26) according to equation (20):
wherein l3,l4Respectively representing neural network systemsAndthe number of nodes of (a);
wherein,
τ1,τ2are all constants greater than zero;
selecting suitable parameters P and sampling period deltatTo make it satisfyIf the selection parameter is satisfiedIf m is 3,4, thenAndif yes, obtaining delta V (k) less than or equal to 0;
it is further known that for arbitrarily small positive numbers sigma,this is true.
The invention has the following advantages:
(1) the invention is directed to a discrete time system having greater stability and realizability than the control method of a continuous time system.
(2) The invention utilizes the neural network adaptive backstepping method to approach the nonlinear term of the output voltage, constructs the neural network adaptive backstepping controller of the synchronous motor, effectively solves the nonlinear control problem in the system, and has the advantages of simple and easy structure, convenient realization, reasonable design and stronger load disturbance resistance.
(3) The invention adopts the command filtering technology, thereby effectively avoiding the problem of 'computing explosion' in the traditional back-stepping method; meanwhile, the controller constructed by the neural network self-adaptive backstepping method technology can make the tracking error converge in a sufficiently small neighborhood of the origin point, so as to achieve more accurate control precision;
the neural network self-adaptive back-stepping algorithm can be realized by software programming, the setting of the parameters of the motor can be omitted, the permanent magnet synchronous motor is easy to be directly controlled, the cost is reduced, and the method is safe and reliable and has wide application prospect.
(4) The invention does not need to modify the parameters of the controller according to the difference of the permanent magnet synchronous motor, can realize the stable control of the synchronous motors with all models and powers in principle, reduces the measurement of the parameters of the synchronous motor in the control process, and is beneficial to realizing the quick response of the rotation speed adjustment of the rotor of the permanent magnet synchronous motor.
Drawings
FIG. 1 is a schematic diagram of a composite controlled object composed of a neural network back-stepping controller, a coordinate transformation and an SVPWM inverter of a permanent magnet synchronous motor according to the present invention;
FIG. 2 is a simulation diagram of the tracking of the rotor angular position and the rotor angular position set value after the control of a neural network back-stepping controller of a permanent magnet synchronous motor based on command filtering in the invention;
FIG. 3 is a simulation diagram of the tracking error of the rotor angular position and the set value of the rotor angular position after the control of the neural network back-stepping controller of the permanent magnet synchronous motor based on command filtering according to the present invention;
FIG. 4 is a simulation diagram of the voltage of the d-axis stator of the permanent magnet synchronous motor after being controlled by the neural network back-stepping controller of the permanent magnet synchronous motor based on command filtering according to the present invention;
FIG. 5 is a simulation diagram of the q-axis stator voltage of the PMSM after being controlled by the neural network back-stepping controller based on command filtering in the present invention.
Detailed Description
The invention is described in further detail below with reference to the following figures and detailed description:
referring to fig. 1, the components used in the method for controlling the neural network backstepping discrete control of the synchronous motor based on command filtering include a neural network backstepping discrete controller 1 of the permanent magnet synchronous motor, a coordinate transformation unit 2, an SVPWM inverter 3, a rotation speed detection unit 4 and a current detection unit 5. The rotating speed detection unit 4 and the current detection unit 5 are mainly used for detecting the current value and the rotating speed related variable of the permanent magnet synchronous motor, the actually measured current and the actually measured rotating speed variable are used as input, voltage control is carried out through the neural network backstepping discrete controller 1 of the permanent magnet synchronous motor, and finally the voltage is converted into the rotating speed of the three-phase electric control synchronous motor.
In FIG. 1,. omega.γ(k) Is referred to rotor angular velocity, Uα(k),Uβ(k) The voltage is obtained after transformation of an alpha and beta coordinate system, and U, V and W are three-phase alternating-current voltages.
A synchronous motor neural network backstepping discrete control method based on command filtering comprises the following steps:
a. establishing a dynamic model of a permanent magnet synchronous motor
Under the synchronous rotation d-q coordinate, the dynamic model of the permanent magnet synchronous motor is expressed as:
wherein theta is the angular position of the rotor of the permanent magnet synchronous motor, omega is the angular speed of the rotor of the permanent magnet synchronous motor, J is the moment of inertia, and TLFlux linkage n generated for load torque, phi for permanent magnetpIs the number of magnetic pole pairs, iqFor q-axis stator current, idIs d-axis stator current, uqIs the q-axis stator voltage u of the permanent magnet synchronous motordFor d-axis stator voltage, L of permanent magnet synchronous motordAnd LqIs the stator inductance R under a d-q coordinate systemsThe equivalent resistance of the stator of the permanent magnet synchronous motor and B is the friction coefficient.
To simplify the dynamic model of a permanent magnet synchronous motor, the following variables are defined:
the discrete dynamic model of the permanent magnet synchronous motor is then represented as:
wherein x is1(k +1) denotes the rotor angular position of the (k +1) th sample.
x2(k +1) denotes the rotor angular velocity of the (k +1) th sample.
x3(k +1) denotes the q-axis stator current of the (k +1) th sampling.
x4(k +1) represents the d-axis stator current for the (k +1) th sample; deltatRepresenting the sampling period.
b. According to the backstepping principle, a synchronous motor neural network backstepping discrete control method based on command filtering is designed, wherein the discrete dynamic model is simplified into two independent subsystems, namely a state variable x1(k),x2(k) And a control input uq(k) Formed subsystem and composed of state variables x4(k) And a control input ud(k) And (4) forming a subsystem. Wherein:
the first subsystem is:
the second subsystem is: x is the number of4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k)。
Approximating a continuous function f (Z (k)) using a RBF neural networkn→R;f(Z(k))=WTS(Z(k))。
Wherein,is an input vector, q is the neural network input dimension, RqIs a set of real vectors.
W=[W1,...,Wl]T∈RlIs a weight vector, the number of nodes of the neural network is a positive integer, l is greater than 1, RlIs a set of real vectors.
RnIs an n-dimensional real number vector set, and R is a real number set; wherein, W1,...,WlIs the weight of the weight vector W.
S(Z(k))=[s1(Z(k)),...,sl(Z(k))]T∈RlIs a vector of basis functions, in which si(Z (k)) is used as a Gaussian function of the form:
wherein, mui=[μi1,...,μiq]TIs the center of the acceptance domain, and ηiThe width of the gaussian function.
When the number of nodes of the neural network is large enough, the RBF neural network approaches to a compact setTo an arbitrary precision ε>0。
Define the command filter as:
wherein, ζ, ωnAre command filter parameters.
zj,1(k)=xjc(k),j=1,2。
xjc(k) And xjc(k +1) denotes the output signal of the kth and (k +1) th samples of the jth command filter.
zj,1(k),zj,2(k) Is the output signal of the kth sample of the jth command filter.
zj,1(k+1),zj,2(k +1) is the output signal of the (k +1) th sample of the jth command filter.
αj(k) Is the input signal sampled the kth time of the jth command filter.
If the input signal alphaj(k) For all constants k ≧ 0, such that | αj(k+1)-αj(k)|≤ρ1And | αj(k+2)-2αj(k+1)+αj(k)|≤ρ2If true, it can be derived for an arbitrary constant τj> 0, presence of omegan> 0 and ζ ∈ (0, 1)]So that | zj,1(k)-αj(k)|≤τj,Δzj,1(k)=|zj,1(k+1)-zj,1(k) L is bounded.
Where ρ is1And ρ2Are all normal numbers, αj(k +1) denotes the (k +1) th sampled input signal of the j-th command filter, αj(k +2) represents the k +2 sampled input signal of the jth command filter; at the same time zj,1(0)=αj(0), zj,2(0) 0 is the initial value of the command filter, αj(0) Representing the initial input signal of the command filter.
The system error variables are defined as follows:
wherein x isd(k) For the desired position signal, x1c(k)、x2c(k) Is the output signal of the command filter.
c.1. To ensure x1(k) Capable of effectively tracking expected position signal xd(k) The Lyapunov control function is selected as follows:
according to the 1 st equation x in the discrete dynamic model formula (3)1(k+1)=x1(k)+Δtx2(k) The error variables can be found to be:
e1(k+1)=x1(k+1)-xd(k+1)=x1(k)+Δtx2(k)-xd(k+1)。
the difference can be found from equation (5):
x is to be2(k) Viewed as a control input, x, to the first subsystemd(k +1) is the expected position signal of the (k +1) th sampling, and an error variable e is set2(k)=x2(k)-x1c(k) Constructing a virtual control functionThen the following results are obtained:
c.2. according to the 2 nd equation in the discrete dynamical model formula (3):
x2(k+1)=a1Δtx3(k)+(1-a3Δt)x2(k)+a2Δtx3(k)x4(k)-a4ΔtTLthe error variable can be obtained:
e2(k+1)=a1Δtx3(k)+(1-a3Δt)x2(k)+a2Δtx3(k)x4(k)-a4ΔtTL-x1c(k+1)。
selecting a Lyapunov function:then to V2(k) Calculating the difference to obtain:
load torque T in actual operation of permanent magnet synchronous motorLThere is an upper limit d, therefore | TLD is not more than | and d is a normal number.
Constructing a virtual control function:
setting error variable e3(k)=x3(k)-x2c(k) Then Δ V2(k) Expressed as:
derived from the young inequality:
therefore, substituting equation (11) into equation (10) yields:
c.3. from equation 3 of the discrete dynamical model equation (3):
x3(k+1)=(1-b1Δt)x3(k)-b2Δtx2(k)+b3Δtx2(k)x4(k)+b4Δtuq(k) the error variable can be obtained:
selecting Lyapunov functionsTo V3(k) Calculating the difference to obtain:
wherein f is3(k)=(1-b1Δt)x3(k)-b2Δtx2(k)+b3Δtx2(k)x4(k)-x2c(k+1)。
As can be seen from the RBF neural network approximation principle, the method can be used for any small positive number epsilon3There is always a neural network systemSo that
Wherein delta3Expressing approximation error and satisfying inequality | delta3|≤ε3,||W3Is the vector W3Thereby:
wherein S is3(Z3(k) Is a vector of basis functions, Z3(k)=[x2(k),x3(k),x4(k),x2c(k+1)]T。
Selecting u from control inputsq(k) For actual control law and adaptive lawComprises the following steps:
wherein, γ3,λ3Is a normal number, and is,is eta3The estimated value of (1), define | | W3||=η3And η3> 0, define variable η3Has an estimation error ofSubstituting equations (7), (12) and (15) into publicThe formula (14) gives:
c.4. recording the system error variable e4(k)=x4(k) Selecting Lyapunov functionP is a normal number; the 4 th expression of the discrete dynamical model formula (3):
x4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k) the error variable can be obtained:
e4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k);
v is obtained4(k) The difference of (a) can be obtained:
wherein f is4(k)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k) As can be seen from the RBF neural network approximation principle, for arbitrarily small positive numbers ε4There is always a neural network systemSo thatWherein, delta4Expressing approximation error and satisfying inequality | delta4|≤ε4Wherein, | | W4Is the vector W4Thereby:
wherein S is4(Z4(k) Is a vector of basis functions, Z4(k)=[x2(k),x3(k),x4(k)]T。
Selecting u from control inputsd(k) For actual control law and adaptive lawComprises the following steps:
wherein, γ4,λ4Is a normal number, and is,is eta4The estimated value of (1), define | | W4||=η4And η4> 0, define variable η4Has an estimation error ofSubstituting equation (19) into equation (18) yields:
d. performing stability analysis on the built neural network back-stepping controller of the permanent magnet synchronous motor
Selecting a Lyapunov function as follows:
differentiating V (k) to obtain:
according to the above formulaAndformula available when performing the (k +1) th sampling of the estimation errorAnd law of adaptationAnd m is 3 and 4. And has the following components:
is composed of Young' S inequality and | | | Sm(Zm(k))||2<lm,m=3,4,lmThe number of nodes representing the neural network system can be obtained:
definition ofM is an arbitrary positive number because | xjc(k)-αj(k)|≤τjJ is 1,2, and is obtained by substituting equation (21) with equation (22) to equation (26) according to equation (20):
wherein l3,l4Respectively representing neural network systemsAndthe number of nodes.
Wherein,
τ1,τ2are all constants greater than zero.
Selecting suitable parameters P and sampling period deltatTo make it satisfyIf the selection parameter is satisfiedIf m is 3,4, thenAndif true, Δ V (k) is less than or equal to 0.
It is further known that for arbitrarily small positive numbers sigma,this is true.
From the above analysis, the control law u can be obtainedq(k),ud(k) The tracking error of the system can be converged to a sufficient neighborhood of the origin, and other signals are guaranteed to be bounded.
e. And simulating the established neural network backstepping discrete controller of the permanent magnet synchronous motor in a virtual environment, and verifying the feasibility of the provided neural network backstepping control method of the permanent magnet synchronous motor. The neural network backstepping discrete controller of the permanent magnet synchronous motor is designed by a discrete control method and is used for controlling the input quantity of a discrete dynamic system,
the permanent magnet synchronous motor system and related load parameters are:
J=0.0003978kg·m2;B=0.001158N·m/(rad/s);
Rs=0.68Ω;Ld=0.00285H;Lq=0.00315H;np=3;Φ=0.1245H;
selecting the control law parameters as follows:
λ3=0.87,λ4=0.0021,γ3=0.98,γ4=0.25,ζ=2.0,ωn=200;
the selected neural network membership function is as follows:
wherein, mu1……μ9Respectively, as output values of hidden layer neurons, and z (k) represents input vectors of the neural network.
The desired position signal and the sampling period are respectively:
xd(k)=2cos(0.5πkΔt);Δt=0.0025s。
the corresponding simulation results are shown in fig. 2, 3,4 and 5. The simulation results of fig. 2 and 3 show that the method of the invention has ideal tracking effect and fast response speed, and the simulation results of fig. 4 and 5 show that the neural network backstepping discrete controller of the permanent magnet synchronous motor corresponding to the method of the invention has ideal effect, small fluctuation and fast response speed.
Aiming at the problems that a permanent magnet synchronous motor has a plurality of variables and strong coupling and is easily influenced by external loads and the change of relevant parameters of the motor, the method designs a neural network self-adaptive controller based on a command filtering technology and a back-stepping method principle, wherein the neural network technology is used for approaching unknown nonlinear terms, the self-adaptive back-stepping method is used for designing the controller, and the command filtering technology is used for solving the problem of 'calculation explosion'. In addition, the invention supplements the part of the complete controller design which is lacked in the traditional method, and increases the stability analysis of Lyapunov; after the controller is used for controlling and adjusting, the operation of the motor can quickly reach a stable state, and the motor is more suitable for a control object needing quick dynamic response.
It should be understood, however, that the description herein of specific embodiments is not intended to limit the invention to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.
Claims (1)
1. A synchronous motor neural network backstepping discrete control method based on command filtering is characterized in that,
the method comprises the following steps:
a. establishing a dynamic model of a permanent magnet synchronous motor
Under the synchronous rotation d-q coordinate, the dynamic model of the permanent magnet synchronous motor is expressed as:
wherein theta is the angular position of the rotor of the permanent magnet synchronous motor, omega is the angular speed of the rotor of the permanent magnet synchronous motor, J is the moment of inertia, and TLFlux linkage n generated for load torque, phi for permanent magnetpIs the number of magnetic pole pairs, iqFor q-axis stator current, idIs d-axis stator current, uqIs the q-axis stator voltage u of the permanent magnet synchronous motordFor d-axis stator voltage, L of permanent magnet synchronous motordAnd LqIs the stator inductance R under a d-q coordinate systemsThe equivalent resistance of the stator of the permanent magnet synchronous motor and the friction coefficient B are defined as the equivalent resistance of the stator of the permanent magnet synchronous motor;
to simplify the dynamic model of a permanent magnet synchronous motor, the following variables are defined:
the discrete dynamic model of the permanent magnet synchronous motor is then represented as:
wherein x is1(k +1) represents the rotor angular position of the (k +1) th sample;
x2(k +1) represents the rotor angular velocity of the (k +1) th sample;
x3(k +1) represents the q-axis stator current of the (k +1) th sampling;
x4(k +1) represents the d-axis stator current for the (k +1) th sample; deltatRepresents a sampling period;
b. according to the backstepping principle, a synchronous motor neural network backstepping discrete control method based on command filtering is designed, wherein the discrete dynamic model is simplified into two independent subsystems, namely a state variable x1(k),x2(k) And a control input uq(k) Formed subsystem and composed of state variables x4(k) And a control input ud(k) A component subsystem; wherein:
the first subsystem is:
the second subsystem is: x is the number of4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k);
Approximating a continuous function f (Z (k)) using a RBF neural networkn→R;f(Z(k))=WTS(Z(k));
Wherein,is an input vector, q is the neural network input dimension, RqA real number vector set;
W=[W1,...,Wl]T∈Rlis a weight vector, the number of nodes of the neural network is a positive integer, l is greater than 1, RlA real number vector set;
Rnis an n-dimensional real number vector set, and R is a real number set; wherein, W1,...,WlIs the weight of the weight vector W;
S(Z(k))=[s1(Z(k)),...,sl(Z(k))]T∈Rlis a vector of basis functions, in which si(Z (k)) is used as a Gaussian function of the form:
wherein, mui=[μi1,...,μiq]TIs the center of the acceptance domain, and ηiThen the width of the gaussian function;
when the number of nodes of the neural network is large enough, the RBF neural network approaches to a compact setTo an arbitrary precision ε>0;
Define the command filter as:
wherein, ζ, ωnIs a command filter parameter;
zj,1(k)=xjc(k),j=1,2;
xjc(k) and xjc(k +1) represents the output signal of the kth and kth +1 samples of the jth command filter;
zj,1(k),zj,2(k) the output signal sampled the kth time of the jth command filter;
zj,1(k+1),zj,2(k +1) is the output signal of the (k +1) th sample of the jth command filter;
αj(k) the input signal sampled the kth time of the jth command filter;
if the input signal alphaj(k) For all constants k ≧ 0, such that | αj(k+1)-αj(k)|≤ρ1And | αj(k+2)-2αj(k+1)+αj(k)|≤ρ2If true, it can be derived for an arbitrary constant τj> 0, presence of omegan> 0 and ζ ∈ (0, 1)]So that | zj,1(k)-αj(k)|≤τj,Δzj,1(k)=|zj,1(k+1)-zj,1(k) I is bounded;
where ρ is1And ρ2Are all normal numbers, αj(k +1) denotes the j-th order filterInput signal sampled at the k +1 st time, alphaj(k +2) represents the k +2 sampled input signal of the jth command filter; at the same time zj,1(0)=αj(0),zj,2(0) 0 is the initial value of the command filter, αj(0) An initial input signal representing a command filter;
the system error variables are defined as follows:
wherein x isd(k) For the desired position signal, x1c(k)、x2c(k) Is the output signal of the command filter;
c.1. to ensure x1(k) Capable of effectively tracking expected position signal xd(k) The Lyapunov control function is selected as follows:
according to the 1 st equation x in the discrete dynamic model formula (3)1(k+1)=x1(k)+Δtx2(k) The error variables can be found to be:
e1(k+1)=x1(k+1)-xd(k+1)=x1(k)+Δtx2(k)-xd(k+1);
the difference can be found from equation (5):
x is to be2(k) Viewed as a control input, x, to the first subsystemd(k +1) is the expected position signal of the (k +1) th sampling, and an error variable e is set2(k)=x2(k)-x1c(k) Constructing a virtual control functionThen the following results are obtained:
c.2. according to the 2 nd equation in the discrete dynamical model formula (3):
x2(k+1)=a1Δtx3(k)+(1-a3Δt)x2(k)+a2Δtx3(k)x4(k)-a4ΔtTLthe error variable can be obtained:
e2(k+1)=a1Δtx3(k)+(1-a3Δt)x2(k)+a2Δtx3(k)x4(k)-a4ΔtTL-x1c(k+1);
selecting a Lyapunov function:then to V2(k) Calculating the difference to obtain:
load torque T in actual operation of permanent magnet synchronous motorLThere is an upper limit d, therefore | TLD is less than or equal to | and d is a normal number;
constructing a virtual control function:
setting error variable e3(k)=x3(k)-x2c(k) Then Δ V2(k) Expressed as:
derived from the young inequality:
therefore, substituting equation (11) into equation (10) yields:
c.3. from equation 3 of the discrete dynamical model equation (3):
x3(k+1)=(1-b1Δt)x3(k)-b2Δtx2(k)+b3Δtx2(k)x4(k)+b4Δtuq(k) the error variable can be obtained:
selecting Lyapunov functionsTo V3(k) Calculating the difference to obtain:
wherein f is3(k)=(1-b1Δt)x3(k)-b2Δtx2(k)+b3Δtx2(k)x4(k)-x2c(k+1);
As can be seen from the RBF neural network approximation principle, the method can be used for any small positive number epsilon3There is always a neural network systemSo that
Wherein delta3Expressing approximation error and satisfying inequality | delta3|≤ε3,||W3Is the vector W3Thereby:
wherein S is3(Z3(k) Is a vector of basis functions, Z3(k)=[x2(k),x3(k),x4(k),x2c(k+1)]T;
Selecting u from control inputsq(k) For actual control law and adaptive lawComprises the following steps:
wherein, γ3,λ3Is a normal number, and is,is eta3The estimated value of (1), define | | W3||=η3And η3> 0, define variable η3Has an estimation error ofSubstituting equations (7), (12), and (15) into equation (14) yields:
c.4. recording the system error variable e4(k)=x4(k) Selecting Lyapunov functionP is a normal number; from discrete dynamic model formulae(3) The 4 th expression of (1):
x4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k) the error variable can be obtained:
e4(k+1)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k)+c3Δtud(k);
v is obtained4(k) The difference of (a) can be obtained:
wherein f is4(k)=(1-c1Δt)x4(k)+c2Δtx2(k)x3(k) As can be seen from the RBF neural network approximation principle, for arbitrarily small positive numbers ε4There is always a neural network systemSo thatWherein, delta4Expressing approximation error and satisfying inequality | delta4|≤ε4Wherein, | | W4Is the vector W4Thereby:
wherein S is4(Z4(k) Is a vector of basis functions, Z4(k)=[x2(k),x3(k),x4(k)]T;
Selecting u from control inputsd(k) For actual control law and adaptive lawComprises the following steps:
wherein, γ4,λ4Is a normal number, and is,is eta4The estimated value of (1), define | | W4||=η4And η4> 0, define variable η4Has an estimation error ofSubstituting equation (19) into equation (18) yields:
d. performing stability analysis on the built neural network back-stepping controller of the permanent magnet synchronous motor
Selecting a Lyapunov function as follows:
differentiating V (k) to obtain:
according to the above formulaAndformula available when performing the (k +1) th sampling of the estimation errorAnd law of adaptationAnd has the following components:
is composed of Young' S inequality and | | | Sm(Zm(k))||2<lm,m=3,4,lmThe number of nodes representing the neural network system can be obtained:
definition ofM is an arbitrary positive number because | xjc(k)-αj(k)|≤τjJ is 1,2, and is obtained by substituting equation (21) with equation (22) to equation (26) according to equation (20):
wherein l3,l4Respectively representing neural network systemsAndthe number of nodes of (a);
wherein,
τ1,τ2are all constants greater than zero;
selecting suitable parameters P and sampling period deltatTo make it satisfyIf the selection parameter is satisfiedThen as long asAndif yes, obtaining delta V (k) less than or equal to 0;
it is further known that for arbitrarily small positive numbers sigma,this is true.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810851193.XA CN108964545B (en) | 2018-07-30 | 2018-07-30 | A kind of synchronous motor neural network contragradience Discrete Control Method based on command filtering |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810851193.XA CN108964545B (en) | 2018-07-30 | 2018-07-30 | A kind of synchronous motor neural network contragradience Discrete Control Method based on command filtering |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108964545A CN108964545A (en) | 2018-12-07 |
CN108964545B true CN108964545B (en) | 2019-11-19 |
Family
ID=64466130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810851193.XA Active CN108964545B (en) | 2018-07-30 | 2018-07-30 | A kind of synchronous motor neural network contragradience Discrete Control Method based on command filtering |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108964545B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109921698B (en) * | 2019-01-29 | 2020-06-19 | 青岛大学 | Permanent magnet synchronous motor random command filtering neural network control method considering iron loss |
CN110492809B (en) * | 2019-08-26 | 2020-09-04 | 青岛大学 | Asynchronous motor dynamic surface discrete fault-tolerant control method based on neural network approximation |
CN110750050B (en) * | 2019-10-11 | 2022-10-28 | 浙江工业大学 | Neural network-based mechanical arm system preset performance control method |
CN110687787B (en) * | 2019-10-11 | 2022-11-25 | 宁波耀华电气科技有限责任公司 | Self-adaptive control method for mechanical arm system |
CN110687796B (en) * | 2019-11-05 | 2022-03-18 | 青岛大学 | Neural network-based adaptive finite time command filtering backstepping control method |
CN112039374B (en) * | 2020-08-05 | 2022-04-08 | 青岛大学 | Permanent magnet synchronous motor command filtering discrete control method considering input saturation |
CN112859608B (en) * | 2021-01-13 | 2023-08-01 | 沈阳工程学院 | Self-adaptive dynamic surface control method based on RBF neural network compensation |
CN114371627B (en) * | 2022-01-19 | 2024-04-02 | 中南林业科技大学 | State stability judging method of discrete time nonlinear system |
CN115793064B (en) * | 2022-07-11 | 2023-06-02 | 成都理工大学 | Improved extraction method of excitation information in semi-aviation transient electromagnetic data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105024609B (en) * | 2015-07-31 | 2017-06-09 | 青岛大学 | Consider the electric automobile permagnetic synchronous motor command filtering fuzzy control method of iron loss |
CN106788052B (en) * | 2016-11-30 | 2019-02-05 | 青岛大学 | Asynchronous machine command filtering error compensation fuzzy control method based on observer |
CN106788046B (en) * | 2017-02-20 | 2019-03-26 | 青岛大学 | Permanent magnet synchronous motor command filtering finite time fuzzy control method |
-
2018
- 2018-07-30 CN CN201810851193.XA patent/CN108964545B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108964545A (en) | 2018-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108964545B (en) | A kind of synchronous motor neural network contragradience Discrete Control Method based on command filtering | |
CN106788046B (en) | Permanent magnet synchronous motor command filtering finite time fuzzy control method | |
CN106788086B (en) | Consider the asynchronous machine command filtering finite time fuzzy control method of input saturation | |
CN109873582B (en) | Limited time position tracking control method of permanent magnet synchronous motor based on dynamic surface | |
Jie et al. | Adaptive decoupling control using radial basis function neural network for permanent magnet synchronous motor considering uncertain and time-varying parameters | |
CN110112971B (en) | Asynchronous motor position tracking control method based on finite time dynamic surface | |
Bayhan et al. | Fuzzy‐PI‐based sensorless frequency and voltage controller for doubly fed induction generator connected to a DC microgrid | |
CN107294448B (en) | A kind of asynchronous machine fuzzy discrete control method based on command filtering | |
Jie et al. | Speed regulation based on adaptive control and RBFNN for PMSM considering parametric uncertainty and load fluctuation | |
Mansouri et al. | Genetic algorithm optimized robust nonlinear observer for a wind turbine system based on permanent magnet synchronous generator | |
Dang et al. | Torque–flux linkage recurrent neural network adaptive inversion control of torque for switched reluctance motor | |
Saghafina et al. | Adaptive fuzzy sliding-mode control into chattering-free induction motor drive | |
CN115313939A (en) | Instruction filtering fuzzy self-adaptive control method for random system of permanent magnet synchronous motor | |
Bolognani et al. | Combined speed and current model predictive control with inherent field-weakening features for PMSM drives | |
Sun et al. | Speed sensorless control strategy for six‐phase linear induction motor based on the dual reduced‐dimensional serial extended Kalman filters | |
Prasad et al. | Fuzzy sliding mode control of a Permanent Magnet Synchronous Motor with two different fuzzy membership functions | |
Bayoumi | Stator resistance estimator for direct torque control of permanent magnet synchronous motor drive systems using multi-resolution analysis wavelet | |
Wei et al. | Model-Free Predictive Control Using Sinusoidal Generalized Universal Model for PMSM Drives | |
Chen et al. | High performance control of a permanent magnet synchronous motor for electric vehicle applications | |
Mohamed et al. | New hybrid sensorless speed of a non-salient pole PMSG coupled to wind turbine using a modified switching algorithm | |
CN112019111B (en) | State constraint-based fuzzy self-adaptive control method for random system of permanent magnet synchronous motor | |
CN111293941B (en) | Permanent magnet synchronous motor finite time dynamic surface control method considering iron loss | |
CN113381662A (en) | Permanent magnet synchronous motor random system fuzzy control method based on finite time dynamic surface technology | |
Wang et al. | Research on sensorless control of PMSM based on novel double-sliding mode MRAS | |
CN112039374B (en) | Permanent magnet synchronous motor command filtering discrete control method considering input saturation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |