Permanent magnet synchronous motor control method and electronic equipment

By determining the stator current signal and constructing the voltage vector function on the two-phase rotating coordinate system of the permanent magnet synchronous motor, combined with the current harmonic data and partial derivative parameters, the action moment of the drive control signal is optimized, which solves the problem of degradation of the control performance of the permanent magnet synchronous motor. problem, achieving more efficient current control and robustness.

CN118748525APending Publication Date: 2024-10-08NORTH CHINA ELECTRIC POWER UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410770136.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Permanent magnet synchronous motor control systems rely on model parameters, resulting in degradation of control performance when load and ambient temperature change.

Method used

By determining the stator current signal on the two-phase rotating coordinate system, constructing a voltage vector function to determine the target voltage vector, performing partial derivative solution based on current harmonic data and partial derivative parameters, obtaining distribution parameters, and optimizing the action time of the drive control signal to improve Control performance.

Benefits of technology

Without relying on model parameters, the control performance of the permanent magnet synchronous motor is improved, the current harmonic distortion and switching frequency are reduced, and the robustness to parameter changes is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748525A_ABST
    Figure CN118748525A_ABST
Patent Text Reader

Abstract

The invention provides a permanent magnet synchronous motor control method and electronic equipment, and the method comprises the steps: determining a target voltage vector through a pre-constructed voltage vector function by employing a stator current signal on a d-axis and a stator current signal on a q-axis of a permanent magnet synchronous motor on a two-phase rotating coordinate system, and determining a drive control signal through the target voltage vector, then current harmonic data are determined through a pre-constructed current harmonic data function according to the current harmonic endpoint data, partial derivative solution is carried out based on the current harmonic data and a preset partial derivative parameter, and a distribution parameter can be obtained under the condition that a model is not used; therefore, the problem that the control performance of the permanent magnet synchronous motor is reduced due to dependence on parameters of the model can be avoided, the target action moment of the driving control signal can be optimized through the distribution parameters, and the control performance of the permanent magnet synchronous motor can be guaranteed by driving the permanent magnet synchronous motor through the driving control signal according to the target action moment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motor control technology, and in particular to a permanent magnet synchronous motor control method and electronic equipment. Background Art

[0002] Permanent magnet synchronous motor is a strongly coupled, multivariable nonlinear system, and its control performance is closely related to the adopted control strategy.

[0003] At present, the control system of permanent magnet synchronous motor adopts model predictive current control, which is too dependent on the parameters of the model. During the operation of the permanent magnet synchronous motor, as the load and ambient temperature of the permanent magnet synchronous motor change, the electrical parameters such as the armature resistance and armature inductance of the permanent magnet synchronous motor will change with the working conditions of the permanent magnet synchronous motor. However, the uncertainty of these electrical parameters will reduce the control performance of the permanent magnet synchronous motor. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a permanent magnet synchronous motor control method and electronic equipment to solve the above technical problems.

[0005] Based on the above purpose, the present application proposes a permanent magnet synchronous motor control method, including:

[0006] Determine a stator current signal of the permanent magnet synchronous motor on a d-axis of a pre-established two-phase rotating coordinate system and a stator current signal on a q-axis;

[0007] Determine a target voltage vector based on the stator current signal on the d-axis and the stator current signal on the q-axis through a pre-constructed voltage vector function, and determine a drive control signal through the target voltage vector;

[0008] Determine current harmonic endpoint data corresponding to the drive control signal, determine current harmonic data according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and perform partial derivative solution based on the current harmonic data and preset partial derivative parameters to obtain allocation parameters;

[0009] The target action time of the drive control signal is determined according to the distribution parameter, and in response to reaching the target action time, the drive control signal is applied to control the driving of the permanent magnet synchronous motor.

[0010] Based on the same inventive concept, the second aspect of the present application proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method described in the first aspect above when executing the computer program.

[0011] From the above, it can be seen that the permanent magnet synchronous motor control method and electronic device provided in the present application use the stator current signal on the d-axis and the stator current signal on the q-axis of the permanent magnet synchronous motor in the two-phase rotating coordinate system to determine the target voltage vector through a pre-constructed voltage vector function, and determine the drive control signal through the target voltage vector, and then determine the current harmonic data according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and perform partial derivative solution based on the current harmonic data and preset partial derivative parameters. The distribution parameters can be obtained without using the model, so that the problem of reducing the control performance of the permanent magnet synchronous motor due to dependence on the parameters of the model can be avoided. The target action moment of the drive control signal can be optimized through the distribution parameters, so that the control performance of the permanent magnet synchronous motor can be guaranteed by driving the drive control signal according to the target action moment. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 This is a flow chart of the permanent magnet synchronous motor control according to an embodiment of the present application;

[0014] Figure 2A This is a schematic diagram of the control process structure of a permanent magnet synchronous motor according to an embodiment of the present application;

[0015] Figure 2B A schematic diagram of current harmonic distribution in a control cycle of an embodiment of the present application;

[0016] Figure 2C This is a schematic diagram of the hardware structure of a permanent magnet synchronous motor control system according to an embodiment of the present application;

[0017] Figure 2D A first schematic diagram of the experimental results of an embodiment of the present application;

[0018] Figure 2E A second schematic diagram of the experimental results of an embodiment of the present application;

[0019] Figure 2F A third schematic diagram of the experimental results of an embodiment of the present application;

[0020] Figure 2G A fourth schematic diagram of the experimental results of an embodiment of the present application;

[0021] Figure 2H A fifth schematic diagram of the experimental results of the embodiment of the present application;

[0022] Fig.2I A sixth schematic diagram of the experimental results of an embodiment of the present application;

[0023] Figure 2J A seventh schematic diagram of the experimental results of the embodiment of the present application;

[0024] Figure 3 This is a structural block diagram of a permanent magnet synchronous motor control device according to an embodiment of the present application;

[0025] Figure 4 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0027] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0028] It is understandable that before using the technical solutions of each embodiment of the present application, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0029] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to the electronic device, application, server, storage medium or other software or hardware that performs the operation of the technical solution of the present application according to the prompt message.

[0030] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0031] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations may also be applied to the implementation method of this application.

[0032] Permanent magnet synchronous motor is a strongly coupled, multivariable nonlinear system, and its control performance is closely related to the adopted control strategy.

[0033] At present, the permanent magnet synchronous motor control system adopts model predictive current control, which belongs to finite state set model predictive control. Finite state set model predictive control is an online optimization control algorithm with the advantages of simple concept, easy to handle nonlinear constraints and excellent multivariable control capability.

[0034] The model predictive current control in the traditional finite state set model prediction applies the selected basic voltage vector to the entire control cycle. This approach brings a series of problems: high sampling frequency requirements, large steady-state torque and current ripple, and non-fixed switching frequency.

[0035] In order to solve the above problems, some solutions have been proposed in the prior art, but the inventors of the present application have found that these methods also have some problems. For example, adding zero vectors in a control cycle reduces current harmonics and improves steady-state performance. However, at high speed, the optimal vector combination is two non-zero vectors, not one zero vector and one non-zero vector. In order to further reduce current harmonics, the second vector in the dual vector is also relaxed in the prior art to take any basic vector, but there is also the inherent problem of zero-beat control, that is, sensitivity to model parameters. In the model predictive control (MPC) with duty cycle optimization, a symmetrical layout is adopted, and the zero vector is placed on both sides and the non-zero vector is placed in the middle, which reduces current distortion. However, this pulse arrangement is not optimal, and the arrangement of placing the non-zero vector on both sides and the zero vector in the middle has smaller current harmonics and switching frequency. However, this method does not consider the combination of two non-zero vectors, which leads to an increase in current harmonics under high modulation ratios. At the same time, the method of the prior art cannot optimize the action moment of the non-zero vector, at least simply divides it into two parts, and does not fully utilize the degree of freedom of the vector action moment.

[0036] An embodiment of the present application provides a permanent magnet synchronous motor control method, which uses the stator current signal on the d-axis and the stator current signal on the q-axis of the permanent magnet synchronous motor in a two-phase rotating coordinate system to determine the target voltage vector through a pre-constructed voltage vector function, and determines the drive control signal through the target voltage vector, and then determines the current harmonic data according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and performs partial derivative solution based on the current harmonic data and preset partial derivative parameters. It is possible to obtain distribution parameters without using a model, thereby avoiding the problem of reducing the control performance of the permanent magnet synchronous motor due to dependence on the parameters of the model. The distribution parameters can then be used to optimize the target action moment of the drive control signal, so that the control performance of the permanent magnet synchronous motor can be guaranteed by driving the drive control signal according to the target action moment.

[0037] like Figure 1 As shown, the method of this embodiment includes:

[0038] Step 101 : determining a stator current signal of a permanent magnet synchronous motor on a d-axis and a stator current signal on a q-axis of a pre-established two-phase rotating coordinate system.

[0039] In this step, a two-phase rotating coordinate system is used to describe the field orientation of the permanent magnet synchronous machine.

[0040] Here, the two-phase rotating coordinate system is a dq coordinate system, wherein the d axis is a direct axis, and the d axis represents the direction of the magnetic field of the rotor, and the q axis of the two-phase rotating coordinate system is a quadrature axis, and the q axis represents the direction of the magnetic field perpendicular to the rotor.

[0041] The d-axis is consistent with the direction of the motor magnetic field, and the q-axis is perpendicular to the d-axis.

[0042] Without considering the weakening magnetic operation and taking the maximum torque / current ratio as the control target, the stator current signal i on the q axis can be set d * =0.

[0043] The stator current signal on the d-axis and the stator current signal i on the q axis d * As a control variable, in order to simplify the driving process of the permanent magnet synchronous motor.

[0044] Step 102 : determining a target voltage vector based on the stator current signal on the d-axis and the stator current signal on the q-axis through a pre-constructed voltage vector function, and determining a drive control signal through the target voltage vector.

[0045] In this step, according to the stator current signal on the d-axis and the stator current signal i on the q axis d* , the target voltage vector is obtained by using the pre-built voltage vector function based on the ultra-local adaptive model-free method. (Ideal voltage vector).

[0046] Based on the principle of volt-second balance, two non-zero vectors and one zero vector can be used to synthesize a target voltage vector, and a pulse sequence (ie, a drive control signal) composed of three voltage vectors can be determined by the target voltage vector.

[0047] Step 103, determining the current harmonic endpoint data corresponding to the drive control signal, determining the current harmonic data according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and performing partial derivative solution based on the current harmonic data and preset partial derivative parameters to obtain allocation parameters.

[0048] In this step, the current harmonic endpoint data represents endpoint data of the harmonic current generated by the driving signal.

[0049] The current harmonics data indicates the status of current harmonics.

[0050] The current harmonic data is a quadratic function of the distribution parameters. Therefore, by performing partial derivative solution based on the current harmonic data and the preset partial derivative parameters, the preset partial derivative parameters are 0, and the distribution parameters can be obtained, so as to optimize the action moment of the voltage vector on both sides of the drive signal based on the distribution parameters. The distribution parameters can be obtained without using the model, thereby avoiding the problem of reducing the control performance of the permanent magnet synchronous motor due to dependence on the parameters of the model.

[0051] Step 104 : determining a target action time of the drive control signal according to the allocation parameter, and applying the drive control signal to control driving of the permanent magnet synchronous motor in response to reaching the target action time.

[0052] In this step, the action moment of the drive control signal can be optimized by the allocation parameters to obtain the target action moment, so that the control performance of the permanent magnet synchronous motor can be guaranteed by driving the permanent magnet synchronous motor by the drive control signal according to the target action moment.

[0053] Through the above scheme, the target voltage vector is determined by using the stator current signal on the d-axis and the stator current signal on the q-axis of the permanent magnet synchronous motor in the two-phase rotating coordinate system through a pre-constructed voltage vector function, and the drive control signal is determined through the target voltage vector, and then the current harmonic data is determined according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and the partial derivative is solved based on the current harmonic data and the preset partial derivative parameters. The distribution parameters can be obtained without using the model, so the problem of reducing the control performance of the permanent magnet synchronous motor due to dependence on the parameters of the model can be avoided. The target action moment of the drive control signal can be optimized through the distribution parameters, so that the control performance of the permanent magnet synchronous motor can be guaranteed by driving the drive control signal according to the target action moment.

[0054] In some embodiments, in step 101, determining the stator current signal of the permanent magnet synchronous motor on the d-axis of a pre-established two-phase rotating coordinate system includes:

[0055] Step A1, obtaining the pole pair number of the permanent magnet synchronous motor and the permanent magnet flux data of the permanent magnet synchronous motor, and determining the torque data of the permanent magnet synchronous motor.

[0056] Step A2: multiplying a preset product constant parameter, the pole pair number and the permanent magnet flux data to obtain a first product processing result.

[0057] Step A3, performing ratio processing on the torque data and the first product processing result to obtain a first ratio processing result, and using the first ratio processing result as the stator current signal on the d-axis.

[0058] In the above scheme, the torque data of the permanent magnet synchronous motor is determined according to the outer ring speed PI regulator (linear controller)

[0059] Set the preset product constant parameter Pole pair number n p and permanent magnet flux data ψ of permanent magnet synchronous motor f Perform product processing to obtain the first product result

[0060] Using torque data With the first product result Perform ratio processing to obtain the first ratio processing result The first ratio result As the stator current signal on the d-axis It can be expressed as follows:

[0061]

[0062] Comprehensive consideration of the number of pole pairs, permanent magnet flux data and torque data enables the stator current signal on the d-axis to be More accurate.

[0063] In some embodiments, in step A1, determining the torque data of the permanent magnet synchronous motor includes:

[0064] Step B1, obtaining the rotation speed of the permanent magnet synchronous motor, the initial angular velocity of the permanent magnet synchronous motor and the current angular velocity of the permanent magnet synchronous motor.

[0065] Step B2, performing ratio processing using the preset integral gain data and the rotational speed of the permanent magnet synchronous motor to obtain a second ratio processing result.

[0066] Step B3, performing sum processing using the preset proportional gain data and the second ratio processing result to obtain a sum processing result.

[0067] Step B4, performing a difference processing on the current angular velocity of the permanent magnet synchronous motor and the initial angular velocity of the permanent magnet synchronous motor to obtain a first difference processing result.

[0068] Step B5, performing product processing on the sum processing result and the first difference processing result to obtain a second product processing result, and using the second product processing result as the torque data of the permanent magnet synchronous motor.

[0069] In the above scheme, the preset integral gain data k is used. i The ratio processing is performed on the speed S of the permanent magnet synchronous motor to obtain the second ratio processing result

[0070] Using the preset proportional gain data k p And the second ratio processing result Perform sum processing to obtain the sum processing result

[0071] The current angular velocity ω of the permanent magnet synchronous motor * The initial angular velocity ω of the permanent magnet synchronous motor is subjected to difference processing to obtain the first difference processing result ω * -ω.

[0072] Add and process the result and the first difference processing result ω * -ω performs product processing to obtain the second product processing result The second product processing result As the torque data of permanent magnet synchronous motor It can be expressed as follows:

[0073]

[0074] Among them, the preset integral gain data k i And the preset proportional gain data k p All are obtained from the outer ring speed PI regulator.

[0075] Comprehensive consideration of the integral gain data k i , proportional gain data k p , the speed of the permanent magnet synchronous motor s, the current angular velocity of the permanent magnet synchronous motor ω * and the initial angular velocity ω can make the torque data of the permanent magnet synchronous motor More accurate.

[0076] In some embodiments, in step 102, determining the target voltage vector based on the stator current signal on the d-axis and the stator current signal on the q-axis by a pre-constructed voltage vector function includes:

[0077] Step C1, obtaining the stator current of the permanent magnet synchronous motor at the current moment The stator current at the moment before the current moment The stator current at the two moments before the current moment The stator voltage at the previous moment The stator voltage at the first two moments The stator voltage at the current moment And the time T of each control cycle sc .

[0078] Step C2, based on the stator current at the current moment The stator current at the moment before the current moment and the time T of each control cycle sc The first stator current increment is determined by the following formula

[0079]

[0080] Step C3, based on the stator current at the previous moment The stator current at the first two moments and the time T of each control cycle sc The second stator current increment is determined by the following formula

[0081]

[0082] Step C4, using the first stator current increment The second stator current increment The stator voltage at the previous moment and the stator voltage at the first two moments The first voltage vector parameter α is determined by the following formula:

[0083]

[0084] Step C5, according to the first stator current increment The first voltage vector parameter α and the stator voltage at the previous moment The second voltage vector parameter F is determined by the following formula:

[0085]

[0086] Step C6, according to the stator current signal i on the d-axis q * , the stator current signal i on the q axis d * and the time T of each control cycle sc The current reference values ​​for the next two moments of the current moment are determined by the following formula:

[0087]

[0088] in, represents the electrical angle at time k, e represents the base of the natural logarithm, j represents the rotor electrical angular velocity, ω r Indicates the speed of permanent magnet synchronous motor.

[0089] Step C7, based on the stator current at the current moment The time T of each control cycle sc , the first voltage vector parameter α, the second voltage vector parameter F and the stator voltage at the current moment The stator current at the next moment of the current moment is determined by the following formula

[0090]

[0091] Step C8, using the current reference values ​​at the next two moments The stator current at the next moment The first voltage vector parameter α, the second voltage vector parameter F and the time T of each control cycle sc The target voltage vector is determined by the following formula

[0092]

[0093] In the above scheme, if Figure 2A As shown, according to the stator current signal i on the d-axis d * , and the stator current signal i on the q axis q * , the target voltage vector is obtained by using the pre-built voltage vector function based on the ultra-local adaptive model-free method. (ideal voltage vector), which can be expressed as follows:

[0094]

[0095] in, represents the current reference value at time k+2 (i.e., the current reference value at the next two moments after the current moment k), T sc For each control cycle time,

[0096]

[0097] The first voltage vector parameter α and the second voltage vector parameter F are calculated by the stator current sampled in two control cycles and the stored stator voltage:

[0098]

[0099] in, is the stator voltage at time k-1 (i.e. the stator voltage at the moment before the current moment k), is the voltage at time k-2 (i.e., the stator voltage two moments before the current time k).

[0100] Without considering the weakening magnetic operation and taking the maximum torque / current ratio as the control target, the stator current signal id on the q axis can be set * =0.

[0101] By considering the current reference values ​​at the next two moments The stator current at the next moment The first voltage vector parameter α, the second voltage vector parameter F and the time T of each control cycle sc The target voltage vector can be determined more accurately

[0102] In some embodiments, in step 102, determining the driving control signal by using the target voltage vector includes:

[0103] Step D1, obtaining the DC side voltage U of the permanent magnet synchronous motor dc and the time T of each control cycle of the permanent magnet synchronous motor sc.

[0104] Step D2, based on the target voltage vector The target voltage vector angle θ is determined by the following formula:

[0105]

[0106] Step D3, according to the target voltage vector and the DC link voltage U dc The modulation ratio M is determined by the following formula:

[0107]

[0108] Step D4, using the modulation ratio M and the target voltage vector angle θ to determine the duty cycle d of the first voltage vector by the following formula: x :

[0109]

[0110] Step D5, using the modulation ratio M and the target voltage vector angle θ to determine the duty cycle d of the second voltage vector by the following formula: y :

[0111] d y =M sin(θ).

[0112] Step D6, using the duty cycle d of the first voltage vector x and the duty cycle d of the second voltage vector y The duty cycle d of the third voltage vector is determined by the following formula: z :

[0113] d z =1-d x -d y .

[0114] Step D7, from the duty cycle d of the first voltage vector x , the duty cycle d of the second voltage vector y and the duty cycle d of the third voltage vector z Select the smallest duty cycle.

[0115] Step D8: sorting the first voltage vector, the second voltage vector and the third voltage vector according to a preset driving control signal determination rule based on the minimum duty cycle to obtain the driving control signal.

[0116] In the above scheme, compared with the prior art (adopting the arrangement of placing non-zero vectors on both sides and zero vectors in the middle, and dividing the action time of non-zero vectors in half), the present application considers the combination of two non-zero vectors, and reduces the current harmonics under high modulation ratio. In addition, since the prediction uses a model-free method based on super-local adaptation, it has good robustness to changes in motor parameters.

[0117] Based on the principle of volt-second balance, the target voltage vector can be synthesized using two non-zero vectors and one zero vector Therefore, the target voltage vector Calculate the duty cycle of the three-segment voltage vector, i.e. u x The duty cycle d of the first voltage vector x ,u y The duty cycle d of the second voltage vector y ,u z (i.e. the duty cycle d of the third voltage vector) z , which can be expressed as follows:

[0118]

[0119] d y =M sin(θ)

[0120] d z =1-d x -d y

[0121] Where M represents the modulation ratio, θ represents the target voltage vector angle,

[0122] In order to solve the problem that the prior art does not consider the combination of two non-zero vectors, resulting in the increase of current harmonics under high modulation ratio and the inability to fully utilize the degree of freedom of the vector action moment, the present application determines the first voltage vector u based on the minimum duty cycle according to the preset driving control signal determination rule. x , the second voltage vector u y and the third voltage vector u z Sorting is performed to obtain the driving control signal.

[0123] The rules for determining the drive control signal are as follows: if the other two voltage vectors other than the voltage vector corresponding to the smallest duty cycle are a non-zero vector and a zero vector, the pulse sequence (i.e., the drive control signal) is a non-zero vector placed on both sides of the zero vector; if the other two voltage vectors are two non-zero vectors, the pulse sequence (i.e., the drive control signal) is a vector with fewer switching jumps on both sides of the voltage vector corresponding to the smallest duty cycle.

[0124] The voltage vectors placed on both sides can also be evenly distributed at the same time. For example, three voltage vectors are selected (the first voltage vector u x , the second voltage vector u y , the third voltage vector u z ) in the two voltage vectors with the larger corresponding duty ratios, and the action time of the voltage vector with the smallest duty ratio is evenly distributed to the selected two voltage vectors. Figure 2A As shown, based on the target voltage vector The voltage vector sequence after voltage reconstruction is u x , x y , whose u x The action time is t x ,u y The action time is t y , the voltage vector sequence obtained after vector sequence optimization is u x ,u y ,u x , and their corresponding action time is t x / 2,t y , t x / 2.

[0125] For example, taking the first sector as an example, if the two voltage vectors with larger duty ratios are u1 and u2, the corresponding action moments are:

[0126] t1=(d1+0.5d0)T sc

[0127] t2=(d2+0.5d0)T sc

[0128] The pulse sequence and action time are summarized in Table 1:

[0129] Table 1

[0130] Voltage Vector <![CDATA[(u1,u2)]]> <![CDATA[(u2,u7)]]> <![CDATA[(u1,u0)]]> Pulse sequence <![CDATA[(u1,u2,u1)]]> <![CDATA[(u2,u7,u2)]]> <![CDATA[(u1,u0,u1)]]> Action time <![CDATA[(0.5t1,t2,0.5t1)]]> <![CDATA[(0.5t2,t0,0.5t2)]]> <![CDATA[(0.5t1,t0,0.5t1)]]>

[0131] In some embodiments, the current harmonic endpoint data includes first current harmonic endpoint data e0, second current harmonic endpoint data e1, third current harmonic endpoint data e2, and fourth current harmonic endpoint data e3.

[0132] In step 103, determining the current harmonic endpoint data corresponding to the drive control signal includes:

[0133] Step E1, obtaining a current reference value at the next moment corresponding to the current moment of the drive control signal and the stator current at the next moment of the current moment

[0134] Step E2, based on the current reference value of the next moment of the current moment and the stator current at the next moment of the current moment The first current harmonic endpoint data e0 is determined by the following formula:

[0135]

[0136] Step E3, obtaining the first incremental parameter k1, the preset parameter corresponding to the distribution parameter, and the preset action time parameter t corresponding to the first voltage vector in the drive control signal x .

[0137] Step E4: based on the first current harmonic endpoint data e0 and the first incremental parameter k1 、 The preset parameter λ and the preset action time parameter t x The second current harmonic endpoint data e1 is determined by the following formula:

[0138] e1=e0+k1λt x

[0139] in, represents the current reference value for the next two moments after the current moment k, represents the current reference value at the next moment of the current moment k, T sc Indicates the time of each control cycle, α represents the first voltage vector parameter, F represents the second voltage vector parameter, u x represents the first voltage vector.

[0140] Step E5, obtaining a second incremental parameter k2 and a preset action time parameter t corresponding to the second voltage vector in the drive control signal. y .

[0141] Step E6, using the second current harmonic endpoint data e1, the second increment parameter k2 and the preset action time parameter t y The third current harmonic endpoint data e2 is determined by the following formula:

[0142] e2=e1+k2t y

[0143] in, represents the current reference value for the next two moments after the current moment k, represents the current reference value at the next moment of the current moment k, T sc Indicates the time of each control cycle, α represents the first voltage vector parameter, F represents the second voltage vector parameter, u y represents the second voltage vector.

[0144] Step E7, obtaining the current reference values ​​for the next two moments after the current moment k and the stator current i at the next two moments after the current moment k k+2 .

[0145] Step E8, according to the current reference value and the stator current i k+2 The fourth current harmonic endpoint data e3 is determined by the following formula:

[0146]

[0147] In the above solution, in order to optimize the action moments of the voltage vectors placed on both sides of the drive control signal based on the principle of minimizing current harmonics.

[0148] Assume that the voltage vector sequence selected at time k+1 (i.e. the next time after the current time k) is u x (i.e. the first voltage vector), u y (i.e. the second voltage vector), u x (i.e. the third voltage vector), the action time is λt x , t y , (1-λ)t x , where t x Indicates the preset action time parameter corresponding to the first voltage vector in the drive control signal, t y Indicates the preset action time parameter corresponding to the second voltage vector in the drive control signal.

[0149] This application uses current to calculate current harmonics, and the expression is:

[0150] i h (t) = i ref (t)-i(t)

[0151] Among them, i h (t) represents the harmonic current at time t, i ref (t) represents the current reference value at time t, and i(t) represents the current at time t.

[0152] like Figure 2B As shown, since three voltage vectors act at time k+1, the harmonic current at this time can be divided into three sections, with four endpoint data, namely the first current harmonic endpoint data e0, the second current harmonic endpoint data e1, the third current harmonic endpoint data e2 and the fourth current harmonic endpoint data e3. The first current harmonic endpoint data e0 is the starting point, which can be expressed as:

[0153]

[0154] in, represents the current reference value at time k+1 (i.e. the current reference value at the next moment after the current moment k),

[0155] The fourth current harmonic endpoint data e3 is the end point, which can be expressed as:

[0156]

[0157] in,

[0158] When the first voltage vector u x Action λt x After that, the current is:

[0159]

[0160] The current reference value at this time is:

[0161]

[0162] The endpoint data of the harmonic current after applying the first voltage vector (i.e., the second current harmonic endpoint data e1) is:

[0163]

[0164] in,

[0165] Similarly, the third current harmonic endpoint data e2 can be expressed as:

[0166]

[0167] in,

[0168] For convenience, the first incremental parameter k1 is used to represent The second incremental parameter k2 is expressed At this time, the second current harmonic endpoint data e1 and the third current harmonic endpoint data e2 can be expressed as follows:

[0169] e1=e0+k1λt x

[0170] e2=e1+k2t y

[0171] The minimum current harmonic data is determined through the first current harmonic endpoint data e0, the second current harmonic endpoint data e1, the third current harmonic endpoint data e2 and the fourth current harmonic endpoint data e3, and the action time of the voltage vectors placed on both sides is optimized based on the minimum current harmonic data.

[0172] In addition, the method of the present application can also be used to optimize the action time of the voltage vectors placed on both sides through the minimum current harmonic data.

[0173] In some embodiments, the current harmonic data includes square values ​​of overall current harmonics.

[0174] In step 103, the current harmonic data is determined according to the current harmonic endpoint data by using a pre-constructed current harmonic data function, including:

[0175] Step F1, based on the first current harmonic endpoint data e0 and the second current harmonic endpoint data e1, the square value of the first current harmonic is determined by the following formula:

[0176]

[0177] Step F2, based on the second current harmonic endpoint data e1 and the third current harmonic endpoint data e2, the square value of the second current harmonic is determined by the following formula:

[0178]

[0179] Step F3, based on the third current harmonic endpoint data e2 and the fourth current harmonic endpoint data e3, the square value of the third current harmonic is determined by the following formula:

[0180]

[0181] Step F4, calculating the square value of the first current harmonic The square value of the second current harmonic and the square value of the third current harmonic Perform summation to obtain the square value of the overall current harmonics

[0182] In the above scheme, the square of the current harmonic RMS of each section of a control cycle is calculated as follows:

[0183]

[0184] Wherein, y1 represents the starting point of the line segment corresponding to each current harmonic, and y2 represents the end point of the line segment corresponding to each current harmonic.

[0185] For the current harmonic line segment formed by the first current harmonic endpoint data e0 and the second current harmonic endpoint data e1, the starting point is e0 and the end point is e1. The corresponding minimum current harmonic RMS square value (i.e., the square value of the first current harmonic) ) is determined by:

[0186]

[0187] For the current harmonic line segment formed by the second current harmonic endpoint data e1 and the third current harmonic endpoint data e2, the starting point is e1 and the end point is e2. The corresponding minimum current harmonic RMS square value (i.e., the square value of the second current harmonic) is ) is determined by:

[0188]

[0189] Similarly, for the current harmonic line segment formed by the third current harmonic endpoint data e2 and the fourth current harmonic endpoint data e3, the starting point is e2 and the end point is e3, and the corresponding minimum current harmonic RMS square value (i.e., the square value of the third current harmonic) is ) is determined by:

[0190]

[0191] In order to avoid complex integral calculations, the square value of the current harmonics in one control cycle (i.e., the square value of the overall current harmonics) is calculated separately from the square values ​​of the three current harmonics and then added together, i.e., the square value of the first current harmonic The square value of the second current harmonic and the square value of the third current harmonic The summation is performed to obtain the square value of the overall current harmonics

[0192] In some embodiments, in step 103, performing partial derivative solution based on the current harmonic data and preset partial derivative parameters to obtain allocation parameters includes:

[0193] Based on the overall current harmonics The distribution parameter λ is obtained by partial derivative of the partial derivative parameter using the following formula:

[0194]

[0195] Among them, the partial derivative parameter is 0, and the allocation parameter λ is specifically:

[0196]

[0197] Where k1 represents the first incremental parameter, k2 represents the second incremental parameter, and t x represents the preset action time parameter corresponding to the first voltage vector, t y Represents the preset action time parameter corresponding to the second voltage vector.

[0198] In the above scheme, due to the square value of the overall current harmonics Based on the addition of the square value of the smallest current harmonic RMS of each segment, the square value of the overall current harmonic is is also the minimum value, and the square value of the overall current harmonics It can be seen that it is a quadratic function of the allocation parameter λ. Therefore, by solving The square value of the overall current harmonics can be obtained The minimum allocation parameter λ is expressed as follows:

[0199]

[0200] Therefore, the distribution parameter λ can be used to optimize the action time of the voltage vectors placed on both sides, thereby further reducing the current harmonics.

[0201] In some embodiments, in step 103, determining the target action time of the drive control signal according to the allocation parameter includes:

[0202] Step G1, using the distribution parameter λ and the preset action time parameter t corresponding to the first voltage vector x The product processing is performed to obtain the regulating action moment of the first voltage vector.

[0203] Step G2, performing a difference processing using the preset action time adjustment parameter and the distribution parameter λ to obtain a second difference processing result.

[0204] Step G3: calculate the preset action time parameter t corresponding to the second difference processing result and the third voltage vector x The product processing is performed to obtain the adjustment action time of the third voltage vector in the drive control signal, and the adjustment action time of the first voltage vector and the preset action time parameter t of the second voltage vector are converted into y And the regulation action time of the third voltage vector is used as the target action time.

[0205] In the above scheme, it is assumed that the voltage vector sequence selected at time k+1 (i.e., the next time after the current time k) is u x(i.e. the first voltage vector), u y (i.e. the second voltage vector), u x (ie the third voltage vector).

[0206] After the distribution parameter λ is determined, the distribution parameter λ and the first voltage vector u are used to calculate the x The corresponding preset action time parameter t x Perform product processing to obtain the first voltage vector u x The regulating action time λt x .

[0207] Similarly, a preset action time adjustment parameter, where the preset action time adjustment parameter is 1, is used to perform a difference processing with the allocation parameter λ to obtain a second difference processing result 1-λ.

[0208] The second difference processing result 1-λ and the third voltage vector u x The corresponding preset action time parameter t x Perform product processing to obtain the regulation action time (1-λ)t of the third voltage vector in the drive control signal x .

[0209] The first voltage vector u x The regulating action time λt x , the second voltage vector u y The preset action time parameter t y and the third voltage vector u x The regulating action time (1-λ)t x As the target moment.

[0210] For example Figure 2A As shown, the voltage vector sequence (i.e., the drive control signal) is u x u y ,u X The original corresponding action time is t x / 2,t y , t x / 2, after the vector action time optimization, the corresponding target action time is k opt t x , t y , (1-k opt )t x , at this time, k opt Represents the allocation parameters. Then based on the voltage vector sequence u x ,u y ,u x At the corresponding marking action time k opt t x , t y, (1-k opt )t x The generator drives a permanent-magnet synchronous motor (PMSM).

[0211] In addition, if Figure 2C As shown, the hardware circuit structure of the permanent magnet synchronous motor of the present application includes a three-phase voltage source 201, a permanent magnet synchronous motor 202, a three-phase diode rectifier bridge 203, a DC side capacitor 204, a voltage and current sampling circuit 205, a digital signal processing (DSP) controller 206 and a drive circuit 207.

[0212] The voltage and current sampling circuit 205 uses a voltage Hall sensor and a current Hall sensor to respectively collect the DC side voltage and the a and b phase currents of the synchronous motor. The sampling signals enter the digital signal processing controller 206 after passing through the signal conditioning circuit and are converted into digital signals. The digital signal processing controller completes the method proposed in this application, outputs 6-way switch signals (i.e., drive control signals) at the next moment k+1 of the current moment k, and inputs the drive circuit 207 according to the 6-way switch signals and the corresponding target action moment, and then obtains 6-way insulated gate bipolar transistor (IGBT) drive pulses (i.e., the final drive signal) of the six switch tubes of the inverter after passing through the drive circuit to drive the permanent magnet synchronous motor.

[0213] The effectiveness of the method proposed in this application can be demonstrated by comparing Figure 2D , Figure 2E as well as Figure 2F The experimental results shown are obtained.

[0214] like Figure 2D As shown in Figure 1, the experimental results of the conventional symmetrical dual-vector model-free predictive current control with a sampling rate of 20kHz and a motor running at 2000r / min with rated load. Figure 2E Shown are the experimental results of the method in this application under the same conditions.

[0215] exist Figure 2D , Figure 2E In the figure, the waveforms from top to bottom are the speed, q-axis current, d-axis current, switching frequency and a-phase current at the stator end of the motor. Figure 2D and Figure 2EIt can be found from the comparison that the method of the present application has a better tracking effect on the q-axis current and d-axis current reference values ​​at high speed and a lower current total harmonic distortion (THD). Compared with the traditional symmetrical dual-vector method, the current total harmonic distortion of the method of the present application is reduced by 58.88% at 2000r / min.

[0216] like Figure 2F As shown in Figure 1, the total harmonic distortion and switching frequency of phase A current at different speeds are compared between the traditional symmetrical dual vector and the model-free predictive current control based on the improved symmetrical dual vector when carrying rated load. Figure 2F It can be seen that within the full speed range, the method in the present application has lower total harmonic distortion of current than the traditional method, and at the same time, the switching frequency is lower.

[0217] like Figure 2G , Figure 2H As shown in the figure, the experimental results of the motor running forward and reverse at 1500r / min are shown in the figure. Figure 2G This corresponds to the experimental results of the traditional symmetric dual-vector model-free predictive current control. Figure 2H The corresponding experimental results are those of the method in this application. Figure 2G , Figure 2H It can be seen that in the large dynamic process, the method in the present application has smaller q-axis current and d-axis current ripples while having similar fast dynamic performance compared to the traditional solution.

[0218] like Fig.2I Shown and Figure 2J As shown, the experimental results of model-predictive current control and model-free predictive current control based on improved symmetrical dual vector at 800r / min with rated load parameter mismatch. As can be seen from the figure, when the inductance value of the controller becomes 180% of the nominal value, the q-axis and d-axis current ripples of the model-based control method increase significantly, while the control effect of the model-free control method is not affected because no parameters are used, which proves that the method of the present application has strong robustness to parameter mismatch.

[0219] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0220] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0221] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a permanent magnet synchronous motor control device.

[0222] refer to Figure 3 , the permanent magnet synchronous motor control device comprises:

[0223] The stator current module 301 is configured to determine the stator current signal of the permanent magnet synchronous motor on the d-axis and the stator current signal on the q-axis of a pre-established two-phase rotating coordinate system;

[0224] A drive control signal determination module 302 is configured to determine a target voltage vector based on the stator current signal on the d-axis and the stator current signal on the q-axis through a pre-constructed voltage vector function, and determine a drive control signal through the target voltage vector;

[0225] The allocation parameter determination module 303 is configured to determine the current harmonic endpoint data corresponding to the drive control signal, determine the current harmonic data according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and perform partial derivative solution based on the current harmonic data and preset partial derivative parameters to obtain the allocation parameter;

[0226] The driving module 304 is configured to determine a target action time of the driving control signal according to the distribution parameter, and in response to reaching the target action time, apply the driving control signal to control driving of the permanent magnet synchronous motor.

[0227] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0228] The device of the above embodiment is used to implement the corresponding permanent magnet synchronous motor control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0229] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the permanent magnet synchronous motor control method described in any of the above embodiments is implemented.

[0230] Figure 4 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 401, a memory 402, an input / output interface 403, a communication interface 404, and a bus 405. The processor 401, the memory 402, the input / output interface 403, and the communication interface 404 are connected to each other in communication within the device through the bus 405.

[0231] The processor 401 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0232] The memory 402 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 402 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 402 and called and executed by the processor 401.

[0233] The input / output interface 403 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0234] The communication interface 404 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0235] The bus 405 comprises a pathway for transmitting information between the various components of the device (eg, the processor 401 , the memory 402 , the input / output interface 403 , and the communication interface 404 ).

[0236] It should be noted that, although the above device only shows the processor 401, the memory 402, the input / output interface 403, the communication interface 404 and the bus 405, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0237] The electronic device of the above embodiment is used to implement the corresponding permanent magnet synchronous motor control method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0238] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the permanent magnet synchronous motor control method described in any of the above embodiments.

[0239] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0240] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the permanent magnet synchronous motor control method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0241] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0242] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0243] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0244] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A permanent magnet synchronous motor control method, It is characterized in that include: Determine a stator current signal of the permanent magnet synchronous motor on a d-axis of a pre-established two-phase rotating coordinate system and a stator current signal on a q-axis; Determine a target voltage vector based on the stator current signal on the d-axis and the stator current signal on the q-axis through a pre-constructed voltage vector function, and determine a drive control signal through the target voltage vector; Determine current harmonic endpoint data corresponding to the drive control signal, determine current harmonic data according to the current harmonic endpoint data through a pre-constructed current harmonic data function, and perform partial derivative solution based on the current harmonic data and preset partial derivative parameters to obtain allocation parameters; The target action time of the drive control signal is determined according to the distribution parameter, and in response to reaching the target action time, the drive control signal is applied to control the driving of the permanent magnet synchronous motor.

2. The method according to claim 1, It is characterized in that The step of determining a stator current signal of the permanent magnet synchronous motor on the d-axis of a pre-established two-phase rotating coordinate system comprises: Acquire the number of pole pairs of the permanent magnet synchronous motor and the permanent magnet flux data of the permanent magnet synchronous motor, and determine the torque data of the permanent magnet synchronous motor; Performing product processing on a preset product constant parameter, the pole pair number and the permanent magnet flux data to obtain a first product processing result; Ratio processing is performed using the torque data and the first product processing result to obtain a first ratio processing result, and the first ratio processing result is used as the stator current signal on the d-axis.

3. The method according to claim 2, It is characterized in that The determining of the torque data of the permanent magnet synchronous motor comprises: Acquire the rotation speed of the permanent magnet synchronous motor, the initial angular velocity of the permanent magnet synchronous motor and the current angular velocity of the permanent magnet synchronous motor; Performing ratio processing using preset integral gain data and the rotation speed of the permanent magnet synchronous motor to obtain a second ratio processing result; Performing sum processing using the preset proportional gain data and the second ratio processing result to obtain a sum processing result; Performing a difference processing on the current angular velocity of the permanent magnet synchronous motor and the initial angular velocity of the permanent magnet synchronous motor to obtain a first difference processing result; The sum processing result and the first difference processing result are multiplied to obtain a second product processing result, and the second product processing result is used as the torque data of the permanent magnet synchronous motor.

4. The method according to claim 1, It is characterized in that The determining a target voltage vector based on the stator current signal on the d-axis and the stator current signal on the q-axis by a pre-constructed voltage vector function comprises: Obtain the stator current of the permanent magnet synchronous motor at the current moment The stator current at the moment before the current moment The stator current at the two moments before the current moment The stator voltage at the previous moment The stator voltage at the first two moments The stator voltage at the current moment And the time T of each control cycle sc ; Based on the stator current at the current moment The stator current at the moment before the current moment and the time T of each control cycle sc The first stator current increment is determined by the following formula Based on the stator current at the previous moment The stator current at the first two moments and the time T of each control cycle sc The second stator current increment is determined by the following formula Using the first stator current increment The second stator current increment The stator voltage at the previous moment and the stator voltage at the first two moments The first voltage vector parameter a is determined by the following formula: According to the first stator current increment The first voltage vector parameter α and the stator voltage at the previous moment The second voltage vector parameter F is determined by the following formula: According to the stator current signal i on the d-axis q * , the stator current signal i on the q axis d * and the time T of each control cycle sc The current reference values ​​for the next two moments of the current moment are determined by the following formula: in, represents the electrical angle at time k, e represents the base of the natural logarithm, j represents the rotor electrical angular velocity, ω r Indicates the speed of permanent magnet synchronous motor; Based on the stator current at the current moment The time T of each control cycle sc , the first voltage vector parameter α, the second voltage vector parameter F and the stator voltage at the current moment The stator current at the next moment of the current moment is determined by the following formula Using the current reference values ​​of the next two moments The stator current at the next moment The first voltage vector parameter a, the second voltage vector parameter F and the time T of each control cycle sc The target voltage vector is determined by the following formula 5. The method according to claim 1, It is characterized in that The determining of the driving control signal by using the target voltage vector comprises: Obtain the DC side voltage U of the permanent magnet synchronous motor dc and the time T of each control cycle of the permanent magnet synchronous motor sc ; Based on the target voltage vector The target voltage vector angle θ is determined by the following formula: According to the target voltage vector and the DC link voltage U dc The modulation ratio M is determined by the following formula: The duty cycle d of the first voltage vector is determined by using the modulation ratio M and the target voltage vector angle θ through the following formula: x : The duty cycle d of the second voltage vector is determined by the following formula using the modulation ratio M and the target voltage vector angle θ: y : d y =M sin(θ) Using the duty cycle d of the first voltage vector x and the duty cycle d of the second voltage vector y The duty cycle d of the third voltage vector is determined by the following formula: z : d z =1-d x -d y The duty cycle d of the first voltage vector x , the duty cycle d of the second voltage vector y and the duty cycle d of the third voltage vector z Select the smallest duty cycle among; The first voltage vector, the second voltage vector and the third voltage vector are sorted according to a preset driving control signal determination rule based on the minimum duty cycle to obtain the driving control signal.

6. The method according to claim 1, It is characterized in that The current harmonic endpoint data includes first current harmonic endpoint data e 0 , the second current harmonic endpoint data e 1 , the third current harmonic endpoint data e 2 And the fourth current harmonic endpoint data e 3 ; The determining of current harmonic endpoint data corresponding to the drive control signal comprises: Obtaining a current reference value at the next moment of the current moment corresponding to the drive control signal and the stator current at the next moment of the current moment According to the current reference value of the next moment at the current moment and the stator current at the next moment of the current moment Determine the first current harmonic endpoint data e by the following formula 0 : Get the first incremental parameter k 1 , a preset parameter corresponding to the distribution parameter and a preset action time parameter t corresponding to the first voltage vector in the drive control signal x ; Based on the first current harmonic endpoint data e 0 , the first incremental parameter k 1 , the preset parameter λ and the preset action time parameter t x The second current harmonic endpoint data e is determined by the following formula 1 : And 1 =and 0 +k 1 λt x in, represents the current reference value for the next two moments after the current moment k, represents the current reference value at the next moment of the current moment k, T sc Indicates the time of each control cycle, α represents the first voltage vector parameter, F represents the second voltage vector parameter, u x represents the first voltage vector; Get the second incremental parameter k 2 , and the preset action time parameter t corresponding to the second voltage vector in the drive control signal y ; Using the second current harmonic endpoint data e 1 The second incremental parameter k 2 and the preset action time parameter t y The third current harmonic endpoint data e is determined by the following formula 2 : e 2 =e 1 +k 2 t y in, represents the current reference value for the next two moments after the current moment k, represents the current reference value at the next moment of the current moment k, T sc Indicates the time of each control cycle, α represents the first voltage vector parameter, F represents the second voltage vector parameter, u y represents the second voltage vector; Get the current reference value for the next two moments after the current moment k and the stator current i at the next two moments after the current moment k k+2 ; According to the current reference value and the stator current i k+2 The fourth current harmonic endpoint data e is determined by the following formula 3 :

7. The method according to claim 6, It is characterized in that The current harmonic data includes the square value of the overall current harmonics; The determining the current harmonic data according to the current harmonic endpoint data by using a pre-constructed current harmonic data function comprises: Based on the first current harmonic endpoint data e 0 and the second current harmonic endpoint data e 1 The square value of the first current harmonic is determined by the following formula: Based on the second current harmonic endpoint data e 1 and the third current harmonic endpoint data e 2 The square value of the second current harmonic is determined by the following formula: Based on the third current harmonic endpoint data e 2 and the fourth current harmonic endpoint data e 3 The square value of the third current harmonic is determined by the following formula: The square value of the first current harmonic The square value of the second current harmonic and the square value of the third current harmonic Perform summation to obtain the square value of the overall current harmonics 8. The method according to claim 7, It is characterized in that The partial derivative solution is performed based on the current harmonic data and the preset partial derivative parameters to obtain the distribution parameters, including: Based on the overall current harmonics The distribution parameter λ is obtained by partial derivative of the partial derivative parameter using the following formula: Among them, the partial derivative parameter is 0, and the allocation parameter λ is specifically: Among them, k 1 represents the first incremental parameter, k 2 Represents the second incremental parameter, t x represents the preset action time parameter corresponding to the first voltage vector, t y Represents the preset action time parameter corresponding to the second voltage vector.

9. The method according to claim 8, It is characterized in that The step of determining the target action time of the driving control signal according to the allocation parameter comprises: Using the distribution parameter λ and the preset action time parameter t corresponding to the first voltage vector x Perform product processing to obtain the regulation action moment of the first voltage vector: Performing a difference processing using a preset action time adjustment parameter and the distribution parameter λ to obtain a second difference processing result; The preset action time parameter t corresponding to the second difference processing result and the third voltage vector x The product processing is performed to obtain the adjustment action time of the third voltage vector in the drive control signal, and the adjustment action time of the first voltage vector and the preset action time parameter t of the second voltage vector are converted into y And the regulation action time of the third voltage vector is used as the target action time.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 9 is implemented.