CN113659901A - Calculation delay compensation method for prediction current control of permanent magnet synchronous motor - Google Patents

Calculation delay compensation method for prediction current control of permanent magnet synchronous motor Download PDF

Info

Publication number
CN113659901A
CN113659901A CN202110783277.6A CN202110783277A CN113659901A CN 113659901 A CN113659901 A CN 113659901A CN 202110783277 A CN202110783277 A CN 202110783277A CN 113659901 A CN113659901 A CN 113659901A
Authority
CN
China
Prior art keywords
current
moment
sampling
value
permanent magnet
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.)
Granted
Application number
CN202110783277.6A
Other languages
Chinese (zh)
Other versions
CN113659901B (en
Inventor
姚绪梁
张飞洋
王景芳
黄乘齐
马赫
关琦
刘铜振
侯逸飞
罗兴鸿
邓日熹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN202110783277.6A priority Critical patent/CN113659901B/en
Publication of CN113659901A publication Critical patent/CN113659901A/en
Application granted granted Critical
Publication of CN113659901B publication Critical patent/CN113659901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/22Current control, e.g. using a current control loop
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
    • H02P25/022Synchronous motors
    • H02P25/024Synchronous motors controlled by supply frequency
    • H02P25/026Synchronous motors controlled by supply frequency thereby detecting the rotor position
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/34Modelling or simulation for control purposes
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2205/00Indexing scheme relating to controlling arrangements characterised by the control loops
    • H02P2205/01Current loop, i.e. comparison of the motor current with a current reference
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The invention discloses a calculation delay compensation method for permanent magnet synchronous motor prediction current control, which comprises the steps of sampling and calculating to obtain stator current and voltage components; outputting the difference value between the sampling rotating speed and the given rotating speed through a PI controller to obtain a q-axis current given value, and adopting d-axis current
Figure DDA0003158040600000011
The given current value is obtained through inverse Park conversion; obtaining a prediction model, substituting the sampling parameters into the prediction model to obtain a prediction current and an auxiliary current,obtaining algorithm execution time; predicting current change caused by calculating delay by using algorithm execution time, and compensating a current sampling value; substituting the compensated current into a prediction model to calculate a predicted value at the next moment, traversing and optimizing by using a value function, and outputting a driving signal of a switching tube corresponding to the optimal voltage vector to an inverter to control the motor to operate. The invention does not need oversampling and does not excessively increase algorithm complexity, and reasonably compensates the sampling current to solve the problem of control performance reduction caused by calculation delay.

Description

Calculation delay compensation method for prediction current control of permanent magnet synchronous motor
Technical Field
The invention relates to a calculation delay compensation method for prediction current control of a permanent magnet synchronous motor, and belongs to the field of drive control of permanent magnet synchronous motor systems.
Background
The permanent magnet synchronous motor has the advantages of simple structure, high reliability, high power density and the like, and is widely applied to the fields of national defense industry, production transportation, traction drive and the like. In the field of control of permanent magnet synchronous motor driving systems, model predictive control methods have received much attention due to the advantages of fast dynamic response, simple control structure, capability of performing multi-objective control and nonlinear constraint condition processing, and the like. The finite set prediction current control is used as a classic control strategy, a prediction model is used for calculating a future output result of the system under given different control behaviors in a finite time domain range, and the optimal control behavior is selected by a cost function and then output to act on the system. In each control cycle, the algorithm will re-select the optimal control behavior to be applied according to the above steps based on the new sampling results. However, considering that the control strategy is actually implemented, compared with the traditional vector control strategy, the finite set prediction current control algorithm includes steps of model prediction, traversal optimization and the like, which require a large amount of calculation, so that the execution time of the algorithm is quite long, and the problem of control delay is generated. If the problem of calculating delay between sampling and control application is not considered in the design of the controller, the optimal control effect of the algorithm is influenced, and therefore the running performance of the motor is reduced.
At present, domestic and foreign researches on methods for solving the problem of calculation delay in model predictive control can be divided into indirect compensation methods and direct compensation methods. The indirect compensation method usually adopts a dead-beat control method, and the method reduces the calculated amount of the algorithm by avoiding the step of traversing optimization so as to achieve the purpose of indirect compensation, however, the method does not completely eliminate the influence of calculation delay, which means that the indirect compensation method is not the optimal solution for solving the problem of calculation delay. The two-step prediction is used as the most classical compensation method in the direct compensation method, model prediction and traversal optimization are carried out on the basis that the prediction model obtains the state variable through calculation in the previous step, and the optimal control quantity is registered and output until the starting time of the next moment. Although the method has been widely adopted in Model Predictive Control, a new Compensation method is proposed, for example, Jinqiu Gao et al in new comprehensive Strategy for Calculation Delay of fine Control Set Model Predictive Control in PMSM propose a new direct Compensation method, which adopts an oversampling mode to obtain the Current variation in the algorithm execution time, thereby compensating the Current sampling value at the Current moment. However, the method needs to perform current sampling twice in one control period, which increases the influence caused by sampling errors on the one hand, and on the other hand, the difficulty of hardware implementation is increased by adopting an oversampling manner and not fixing the second sampling time, which is undoubtedly a defect and a problem existing in the method. Therefore, on the premise of not increasing the sampling times and not excessively increasing the calculation amount and complexity of the algorithm, a simple and reliable calculation delay compensation method is urgently needed to be researched to improve the control performance of the system.
Disclosure of Invention
Aiming at the prior art, the technical problem to be solved by the invention is to provide a method for compensating the calculation delay of the prediction current control of the permanent magnet synchronous motor, which can reasonably compensate the sampling current to solve the problem of the reduction of the control performance caused by the calculation delay on the premise of not needing oversampling and not excessively increasing the complexity of an algorithm.
In order to solve the technical problem, the invention provides a method for calculating time delay compensation of permanent magnet synchronous motor prediction current control, which comprises the following steps:
step 1: sampling three-phase stator current, rotor position information, a given rotating speed and a switching tube driving signal of the permanent magnet synchronous motor at the moment k, and obtaining stator current and voltage components under an alpha beta static coordinate system through Clark transformation;
step 2: the sampling rotation speed in the step 1
Figure BDA0003158040580000021
With a given rotational speed
Figure BDA0003158040580000022
The difference value between the two is output by a PI controller to obtain a q-axis current given value
Figure BDA0003158040580000023
d-axis current adoption
Figure BDA0003158040580000024
Obtaining a current given value under an alpha beta static coordinate system through inverse Park transformation;
and step 3: establishing a mathematical model of the permanent magnet synchronous motor, discretizing the mathematical model to obtain a prediction model, substituting sampling parameters in the past moment into the prediction model to calculate to obtain a prediction current and an auxiliary current at the k moment, and combining the sampling current at the k moment and the discrete control period duration to obtain algorithm execution time at the k-1 moment;
and 4, step 4: predicting the current change caused by calculation delay in the k moment by using the algorithm execution time obtained in the step 3, and compensating the current sampling value of the k moment;
and 5: and (4) substituting the compensated current in the step (4) into a prediction model to calculate a predicted value at the next moment, performing traversal optimization by using a value function, and outputting a switching tube driving signal corresponding to the optimal voltage vector to an inverter to control the motor to operate.
The invention also includes:
1. step 3, establishing a mathematical model of the permanent magnet synchronous motor, discretizing the mathematical model to obtain a prediction model, substituting the sampling parameters in the past moment into the prediction model to calculate the prediction current and the auxiliary current at the k moment, and combining the sampling current at the k moment and the discrete control period duration to obtain the algorithm execution time at the k-1 moment, wherein the algorithm execution time is specifically as follows:
a mathematical model is established for the permanent magnet synchronous motor under an alpha beta static coordinate system, and the complex vector form is as follows:
Figure BDA0003158040580000025
in the formula usAnd isStator voltage and current vectors, respectively; rs、LsAnd ΨfRespectively a stator resistor, a stator inductor and a permanent magnet flux linkage; omegaeIs the rotor electrical angular velocity; thetaeIs the rotor electrical angle;
the mathematical model carries out first-order forward Euler dispersion to obtain a prediction model, and current, voltage and rotating speed sampling values in the k-1 moment are substituted into the prediction model to calculate to obtain predicted current at the k moment
Figure BDA0003158040580000026
Comprises the following steps:
Figure BDA0003158040580000027
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000031
the current sampling value at the k-1 moment; t issDiscrete control cycle duration;
defining the physical meaning of the auxiliary current at the moment k as the result of the sampling current at the moment k-1 under the continuous action of the voltage vector in the moment k-2 until the moment k, substituting the current and rotating speed sampling values at the moment k-1 and the voltage sampling value at the moment k-2 into a prediction model to calculate to obtain the auxiliary current
Figure BDA0003158040580000032
Comprises the following steps:
Figure BDA0003158040580000033
assuming that the current change under the action of the actual voltage is linear change conforming to the prediction result, converting the linear change into the relation between the current difference at the moment k and the algorithm execution time at the moment k-1 to obtain the algorithm execution time at the moment k-1
Figure BDA0003158040580000034
Comprises the following steps:
Figure BDA0003158040580000035
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000036
sampled values of the current at time k.
2. Step 4, predicting the current change caused by the calculation delay in the k moment by using the algorithm execution time obtained in the step 3, and compensating the current sampling value at the k moment specifically comprises the following steps:
assuming that the algorithm execution time at the time k is equal to the algorithm execution time at the time k-1, under the continuous action of the voltage at the previous time, the current variation caused by calculation delay at the time k
Figure BDA0003158040580000037
And predicting the amount of current change
Figure BDA0003158040580000038
And therefore, the current change amount caused by the calculation delay in the k time is obtained
Figure BDA0003158040580000039
Comprises the following steps:
Figure BDA00031580405800000310
compensating the current sampling value at the k moment to obtain compensated current
Figure BDA00031580405800000311
Comprises the following steps:
Figure BDA00031580405800000312
3. step 5, substituting the compensated current in the step 4 into a prediction model to calculate a predicted value at the next moment, performing traversal optimization by using a cost function, and outputting a switching tube driving signal corresponding to the optimal voltage vector to an inverter to control the motor to operate specifically as follows:
calculating the current predicted value of the compensated current at the k +1 moment under the action of each voltage vector
Figure BDA00031580405800000313
Comprises the following steps:
Figure BDA00031580405800000314
in the formula (I), the compound is shown in the specification,
Figure BDA00031580405800000315
for 7 basic voltage vectors V in a limited control setiI ═ 0,1, …,6} in the form of a complex vector in the α β coordinate system;
substituting a current predicted value obtained by using the compensated current into a cost function to perform traversal optimization, selecting a basic voltage vector meeting the minimum cost function, and outputting a corresponding switch tube driving signal to an inverter to control the motor to operate, wherein the cost function specifically comprises the following steps:
Figure BDA0003158040580000041
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000042
a complex vector form given to the current.
The invention has the beneficial effects that: the invention discloses a calculation delay compensation method aiming at the prediction current control of a permanent magnet synchronous motor, which can effectively solve the problem of system control performance reduction caused by calculation delay, and compared with the prior art, the method can realize the following beneficial effects:
1. the method obtains the algorithm execution time of the previous moment and reasonably compensates the current sampling value of the current moment by analyzing the relation between the difference value between the sampling current and the predicted current in the current moment and the current variable quantity in the algorithm execution time of the previous moment, thereby eliminating the influence of the calculation delay on the control performance of the system.
2. The method only carries out sampling once at the initial moment of each control period, and the algorithm execution time of the previous moment is obtained without an oversampling mode, so that the method not only can reduce the influence of sampling errors caused by two times of sampling, but also can be easily realized in practical application.
3. The method is a direct compensation method for the calculation delay on the premise of not excessively increasing the calculation amount and complexity of the algorithm, and the control strategy of the method is simple in structure, easy to implement and good in control effect.
Drawings
FIG. 1 is a control schematic block diagram of the proposed method of the present invention;
FIG. 2 is a flow chart of an implementation of the proposed method of the present invention;
FIG. 3 is a schematic diagram of the derivation algorithm execution time;
FIG. 4 is a schematic of a current trace that takes into account the calculated delay;
FIG. 5 is a schematic diagram of a current trajectory under the calculation delay compensation method according to the present invention;
FIG. 6 is a graph of algorithm execution time simulation in a preferred embodiment of the present invention;
FIG. 7 is a current response simulation under a finite set predictive current control method without regard to computational delay;
FIG. 8 is a current response simulation under a finite set predictive current control method without computational delay compensation;
FIG. 9 is a current response simulation diagram in a preferred embodiment of the invention.
Detailed Description
The invention is further described with reference to the drawings and the detailed description.
As shown in fig. 1 and 2, a method for compensating for a calculated delay for a predicted current control of a permanent magnet synchronous motor specifically includes the following steps:
step 1: sampling three-phase stator current, rotor position information, given rotating speed and switching tube driving signals of the permanent magnet synchronous motor at the moment k, and obtaining stator current and voltage components under an alpha beta static coordinate system through Clark transformation:
Figure BDA0003158040580000051
Figure BDA0003158040580000052
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000053
is the three-phase stator current of the motor;
Figure BDA0003158040580000054
and
Figure BDA0003158040580000055
stator current and voltage components under an alpha beta static coordinate system respectively;
Figure BDA0003158040580000056
is a switch tube driving signal; vdcIs the bus voltage.
Step 2: the sampling rotation speed in the step 1
Figure BDA0003158040580000057
With a given rotational speed
Figure BDA0003158040580000058
The difference value between the two is output by a PI controller to obtain a q-axis current given value
Figure BDA0003158040580000059
d-axis current adoption
Figure BDA00031580405800000510
And obtaining the current given value under the alpha beta static coordinate system through inverse Park transformation. Wherein the q-axis current is given
Figure BDA00031580405800000511
And the given current value in the alpha beta static coordinate system is as follows:
Figure BDA00031580405800000512
Figure BDA00031580405800000513
in the formula, kpAnd kiProportional gain and integral gain of the PI controller respectively;
Figure BDA00031580405800000514
for electricity in dq rotating coordinate systemsA flow setpoint;
Figure BDA00031580405800000515
the current given value is in an alpha beta static coordinate system.
And step 3: and establishing a mathematical model of the permanent magnet synchronous motor, and discretizing the mathematical model to obtain a prediction model. Substituting the sampling parameters in the past moment into the prediction model to calculate the predicted current and the auxiliary current at the k moment, and combining the sampling current and the discrete control period duration at the k moment to obtain the algorithm execution time at the k-1 moment, wherein the specific mode is as follows:
firstly, a mathematical model is established for the permanent magnet synchronous motor under an alpha beta static coordinate system, and the complex vector form is as follows:
Figure BDA00031580405800000516
in the formula usAnd isStator voltage and current vectors, respectively; rs、LsAnd ΨfRespectively a stator resistor, a stator inductor and a permanent magnet flux linkage; omegaeIs the rotor electrical angular velocity; thetaeIs the rotor electrical angle.
Further, carrying out first-order forward Euler dispersion on the mathematical model to obtain a prediction model with short dispersion step length, substituting the current, voltage and rotating speed sampling values in the k-1 moment into the prediction model to calculate to obtain the predicted current at the k moment
Figure BDA00031580405800000517
Comprises the following steps:
Figure BDA00031580405800000518
in the formula (I), the compound is shown in the specification,
Figure BDA00031580405800000519
the current sampling value at the k-1 moment; t issIs a discrete control cycle duration.
Further, the physical meaning of the auxiliary current at time k is defined as the result of the sampling current at time k-1 under the continuous action of the voltage vector at time k-2 until time k. Substituting the current and rotating speed sampling values at the k-1 moment and the voltage sampling values at the k-2 moment into a prediction model to calculate to obtain the auxiliary current at the k moment
Figure BDA0003158040580000061
Comprises the following steps:
Figure BDA0003158040580000062
further, the algorithm execution time in the k-1 moment is obtained according to the relation between the sampling current and the difference value between the prediction current and the auxiliary current at the k moment and the relation between the algorithm execution time and the discrete control period duration at the k-1 moment
Figure BDA0003158040580000063
Due to the short discrete step size, the current change under the effect of the actual voltage can be considered as a linear change according with the predicted result. As shown in FIG. 3, the line segments ab and ed represent the predicted current and the actual current, respectively, as a function of voltage over time k-1. Therefore, the line ab and the line ed in fig. 3 are considered to be parallel, and Δ abc and Δ edc are found to be similar according to the triangle similarity theorem. And according to the fact that the ratio of any corresponding line segment of the similar triangle is equal to the similarity ratio, the ratio of the line segment bc to the line segment dc is equal to the ratio of the line segment am to the line segment en, the ratio is converted into the relation between the current difference value at the moment k and the algorithm execution time at the moment k-1, and the algorithm execution time at the moment k-1 can be obtained
Figure BDA0003158040580000064
Comprises the following steps:
Figure BDA0003158040580000065
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000066
sampled values of the current at time k.
And 4, step 4: predicting the current change caused by calculation delay in the k moment by using the algorithm execution time obtained in the step 3, and compensating the current sampling value of the k moment, wherein the specific mode is as follows:
first, it can be assumed that the algorithm execution time at time k is equal to the algorithm execution time at time k-1. In addition, since the straight lines of the line segments ab and ed in fig. 3 are parallel, it can be considered that the current variation caused by the calculation delay in the time k is under the continuous action of the voltage at the previous time
Figure BDA0003158040580000067
And predicting the amount of current change
Figure BDA0003158040580000068
Are equal. Therefore, the current change amount caused by the calculation delay in the k time is obtained
Figure BDA0003158040580000069
Comprises the following steps:
Figure BDA00031580405800000610
further, the current sampling value at the time k is compensated to obtain compensated current
Figure BDA00031580405800000611
Comprises the following steps:
Figure BDA00031580405800000612
and 5: substituting the compensated current in the step 4 into a prediction model to calculate a predicted value at the next moment, performing traversal optimization by using a value function, and outputting a switching tube driving signal corresponding to the optimal voltage vector to an inverter to control the motor to operate, wherein the specific mode is as follows:
first, after calculating compensationThe current obtains a current predicted value at the k +1 moment under the action of each voltage vector
Figure BDA00031580405800000613
Comprises the following steps:
Figure BDA0003158040580000071
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000072
for 7 basic voltage vectors V in a limited control setiI | ═ 0,1, …,6} in the form of a complex vector in the α β coordinate system.
And further, substituting a current predicted value obtained by using the compensated current into a cost function to perform traversal optimization, selecting a basic voltage vector meeting the minimum cost function, and outputting a corresponding switch tube driving signal to the inverter to control the motor to operate. The specific form of the cost function is as follows:
Figure BDA0003158040580000073
in the formula (I), the compound is shown in the specification,
Figure BDA0003158040580000074
a complex vector form given to the current.
Further, comparing fig. 4 and fig. 5, it can be found that under the finite set predictive current control method without calculating the delay compensation, the voltage vector selected by the algorithm may not be optimal, resulting in the degradation of the control performance of the system. However, the calculation delay compensation method provided by the invention can reasonably compensate the sampling current at the current moment in the prediction process, so that the action effect of the selected voltage vector is still optimal, and the control performance of the system under the calculation delay is improved.
In the preferred embodiment of the invention, the motor runs under the working condition that the rotating speed is 1000r/min and the load is 2 N.m, the time length of the discrete control period is 100 mu s, and the setting calculation is carried outThe execution time of the method varies from 40 to 60 mus, and the method designed by the present invention was verified by means of the following simulation example. Simulation shows that the calculation delay compensation method provided by the invention can calculate and obtain more accurate algorithm execution time. As shown in FIG. 6, the algorithm execution time t calculated in the method of the present inventiond calculatedAlgorithm execution time t set by actual systemd realThe simulation curves of (2) are substantially consistent. Therefore, the current sampling value can be reasonably compensated by calculating the current variation of the algorithm execution time within the current moment. Comparing the q-axis current ripple Rip _ i shown in fig. 7, 8 and 9qAnd q-axis current tracking error Err _ iqThe method for calculating the time delay compensation aiming at the prediction current control of the permanent magnet synchronous motor can obviously improve the running performance of the motor under the influence of the calculated time delay.

Claims (4)

1. A calculation delay compensation method for permanent magnet synchronous motor prediction current control is characterized by comprising the following steps:
step 1: sampling three-phase stator current, rotor position information, a given rotating speed and a switching tube driving signal of the permanent magnet synchronous motor at the moment k, and obtaining stator current and voltage components under an alpha beta static coordinate system through Clark transformation;
step 2: the sampling rotation speed in the step 1
Figure FDA0003158040570000011
With a given rotational speed
Figure FDA0003158040570000012
The difference value between the two is output by a PI controller to obtain a q-axis current given value
Figure FDA0003158040570000013
d-axis current adoption
Figure FDA0003158040570000014
OfObtaining a current given value under an alpha beta static coordinate system through inverse Park transformation;
and step 3: establishing a mathematical model of the permanent magnet synchronous motor, discretizing the mathematical model to obtain a prediction model, substituting sampling parameters in the past moment into the prediction model to calculate to obtain a prediction current and an auxiliary current at the k moment, and combining the sampling current at the k moment and the discrete control period duration to obtain algorithm execution time at the k-1 moment;
and 4, step 4: predicting the current change caused by calculation delay in the k moment by using the algorithm execution time obtained in the step 3, and compensating the current sampling value of the k moment;
and 5: and (4) substituting the compensated current in the step (4) into a prediction model to calculate a predicted value at the next moment, performing traversal optimization by using a value function, and outputting a switching tube driving signal corresponding to the optimal voltage vector to an inverter to control the motor to operate.
2. The method for compensating for the calculated delay of the predictive current control of the permanent magnet synchronous motor according to claim 1, wherein: step 3, establishing a mathematical model of the permanent magnet synchronous motor, discretizing the mathematical model to obtain a prediction model, substituting the sampling parameters in the past moment into the prediction model to calculate the prediction current and the auxiliary current at the k moment, and combining the sampling current and the discrete control period duration at the k moment to obtain the algorithm execution time at the k-1 moment specifically as follows:
a mathematical model is established for the permanent magnet synchronous motor under an alpha beta static coordinate system, and the complex vector form is as follows:
Figure FDA0003158040570000015
in the formula usAnd isStator voltage and current vectors, respectively; rs、LsAnd ΨfRespectively a stator resistor, a stator inductor and a permanent magnet flux linkage; omegaeIs the rotor electrical angular velocity; thetaeIs the rotor electrical angle;
the mathematical model carries out first-order forward Euler dispersion to obtain a prediction model, and current, voltage and rotating speed sampling values in the k-1 moment are substituted into the prediction model to calculate to obtain predicted current at the k moment
Figure FDA0003158040570000016
Comprises the following steps:
Figure FDA0003158040570000017
in the formula (I), the compound is shown in the specification,
Figure FDA0003158040570000018
the current sampling value at the k-1 moment; t issDiscrete control cycle duration;
defining the physical meaning of the auxiliary current at the moment k as the result of the sampling current at the moment k-1 under the continuous action of the voltage vector in the moment k-2 until the moment k, substituting the current and rotating speed sampling values at the moment k-1 and the voltage sampling value at the moment k-2 into a prediction model to calculate to obtain the auxiliary current
Figure FDA0003158040570000019
Comprises the following steps:
Figure FDA0003158040570000021
assuming that the current change under the action of the actual voltage is linear change conforming to the prediction result, converting the linear change into the relation between the current difference at the moment k and the algorithm execution time at the moment k-1 to obtain the algorithm execution time at the moment k-1
Figure FDA0003158040570000022
Comprises the following steps:
Figure FDA0003158040570000023
in the formula (I), the compound is shown in the specification,
Figure FDA0003158040570000024
sampled values of the current at time k.
3. The method for compensating for the calculated delay of the predictive current control of a permanent magnet synchronous motor according to claim 1 or 2, wherein: step 4, predicting the current change caused by the calculation delay in the k moment by using the algorithm execution time obtained in the step 3, and compensating the current sampling value at the k moment specifically comprises the following steps:
assuming that the algorithm execution time at the time k is equal to the algorithm execution time at the time k-1, under the continuous action of the voltage at the previous time, the current variation caused by calculation delay at the time k
Figure FDA0003158040570000025
And predicting the amount of current change
Figure FDA0003158040570000026
And therefore, the current change amount caused by the calculation delay in the k time is obtained
Figure FDA0003158040570000027
Comprises the following steps:
Figure FDA0003158040570000028
compensating the current sampling value at the k moment to obtain compensated current
Figure FDA0003158040570000029
Comprises the following steps:
Figure FDA00031580405700000210
4. the method for compensating for the calculated delay of the predictive current control of a permanent magnet synchronous motor according to claim 3, wherein: and 5, substituting the current compensated in the step 4 into a prediction model to calculate a predicted value at the next moment, performing traversal optimization by using a cost function, and outputting a switching tube driving signal corresponding to the optimal voltage vector to an inverter to control the motor to operate specifically as follows:
calculating the current predicted value of the compensated current at the k +1 moment under the action of each voltage vector
Figure FDA00031580405700000211
Comprises the following steps:
Figure FDA00031580405700000212
in the formula (I), the compound is shown in the specification,
Figure FDA00031580405700000213
for 7 basic voltage vectors V in a limited control setiI ═ 0,1, …,6} in the form of a complex vector in the α β coordinate system;
substituting a current predicted value obtained by using the compensated current into a cost function to perform traversal optimization, selecting a basic voltage vector meeting the minimum cost function, and outputting a corresponding switch tube driving signal to an inverter to control the motor to operate, wherein the cost function specifically comprises the following steps:
Figure FDA00031580405700000214
in the formula (I), the compound is shown in the specification,
Figure FDA0003158040570000031
a complex vector form given to the current.
CN202110783277.6A 2021-07-12 2021-07-12 Calculation delay compensation method for permanent magnet synchronous motor prediction current control Active CN113659901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110783277.6A CN113659901B (en) 2021-07-12 2021-07-12 Calculation delay compensation method for permanent magnet synchronous motor prediction current control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110783277.6A CN113659901B (en) 2021-07-12 2021-07-12 Calculation delay compensation method for permanent magnet synchronous motor prediction current control

Publications (2)

Publication Number Publication Date
CN113659901A true CN113659901A (en) 2021-11-16
CN113659901B CN113659901B (en) 2023-09-19

Family

ID=78477273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110783277.6A Active CN113659901B (en) 2021-07-12 2021-07-12 Calculation delay compensation method for permanent magnet synchronous motor prediction current control

Country Status (1)

Country Link
CN (1) CN113659901B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1672780A2 (en) * 2004-12-20 2006-06-21 LG Electronics, Inc. Lead-angle control method and device for operating permanent magnet synchronous motor in flux weakening regions
CN107749725A (en) * 2017-10-20 2018-03-02 哈尔滨工程大学 A kind of commutation bearing calibration of position-sensor-free DC brushless motor
CN109412482A (en) * 2018-11-27 2019-03-01 浙江大学 A kind of quasi- Z-source inverter-permanent magnet synchronous motor system unified predictive control method
CN112217437A (en) * 2020-09-17 2021-01-12 郑州轻工业大学 Permanent magnet synchronous motor three-vector model prediction current control circuit and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1672780A2 (en) * 2004-12-20 2006-06-21 LG Electronics, Inc. Lead-angle control method and device for operating permanent magnet synchronous motor in flux weakening regions
CN107749725A (en) * 2017-10-20 2018-03-02 哈尔滨工程大学 A kind of commutation bearing calibration of position-sensor-free DC brushless motor
CN109412482A (en) * 2018-11-27 2019-03-01 浙江大学 A kind of quasi- Z-source inverter-permanent magnet synchronous motor system unified predictive control method
CN112217437A (en) * 2020-09-17 2021-01-12 郑州轻工业大学 Permanent magnet synchronous motor three-vector model prediction current control circuit and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
丁雪;王爽;汪琦;邹梦雪;: "采用定子电流与扰动观测的永磁同步电机改进预测电流控制", 电机与控制应用, no. 10 *
杜春洋;刘胜;赵凯岐;: "永磁同步电动机高动态响应电流控制", 控制工程, no. 06 *

Also Published As

Publication number Publication date
CN113659901B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
Nikzad et al. Discrete duty-cycle-control method for direct torque control of induction motor drives with model predictive solution
CN209844868U (en) Dead beat current prediction control system of permanent magnet synchronous motor
CN110492817B (en) Direct speed prediction control method and device for permanent magnet synchronous motor
CN109660170B (en) High-reliability current prediction control method and system for permanent magnet synchronous motor
CN110995076A (en) Permanent magnet synchronous motor model prediction current control method
CN112422004B (en) Disturbance suppression method for permanent magnet synchronous motor in weak magnetic control mode
CN114172412A (en) Non-parameter model prediction current control method for double three-phase permanent magnet motor
CN112910359A (en) Improved permanent magnet synchronous linear motor model prediction current control method
CN111082726B (en) Current control method of permanent magnet motor servo system
CN109067276B (en) High-dynamic robust prediction current control method for permanent magnet synchronous motor
CN110096077B (en) Nonsingular rapid terminal sliding mode rotating speed control method and system for switched reluctance motor
CN108649852B (en) Permanent magnet synchronous motor control method for improving current loop
CN114301361B (en) Control method of electrolytic capacitor-free permanent magnet synchronous motor driving system based on bus current control
CN113285634B (en) Permanent magnet synchronous motor high-speed weak magnetic control method and system based on multi-step zero delay model prediction
Yao et al. Robust model predictive current control for six-phase PMSMS with virtual voltage vectors
CN116131704A (en) High-speed motor harmonic suppression system based on virtual even fractional order repetitive controller
CN113659901A (en) Calculation delay compensation method for prediction current control of permanent magnet synchronous motor
CN115833690A (en) Six-phase permanent magnet synchronous motor parameter-free model prediction current control system and method
CN113258837B (en) Robust model prediction current control method and device for permanent magnet synchronous motor
CN111740675B (en) Two-degree-of-freedom control method for discrete domain current loop high robustness of permanent magnet synchronous motor
Du et al. An improved model predictive torque control strategy of a shearer semi-direct permanent magnet synchronous motor based on duty cycle
CN108880372B (en) Sliding-mode observer-based linear traction motor speed sensorless control method
CN111082711A (en) Brushless direct current motor backstepping method control method and system
CN110601629B (en) Method for improving PMSM servo system current loop response speed and reducing oscillation
CN114362626B (en) Prediction control method and system for supercoiled sliding mode observer of permanent magnet synchronous motor

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