Motor driving method and device, motor, storage medium and processor

文档序号:515414 发布日期:2021-05-28 浏览:2次 中文

阅读说明:本技术 一种电机的驱动方法、装置、电机、存储介质及处理器 (Motor driving method and device, motor, storage medium and processor ) 是由 张杰添 周伟 刘超 张嘉鑫 盛帅 于 2020-12-28 设计创作,主要内容包括:本发明公开了一种电机的驱动方法、装置、电机、存储介质及处理器,该方法包括:获取所述电机在旋转坐标系下的当前dq轴电流,并获取所述电机的电机状态参数;根据所述当前dq轴电流,确定所述电机的当前电机参数;根据所述当前电机参数和所述电机状态参数,确定所述电机的dq轴参考电流和电机转矩;根据所述dq轴参考电流和所述电机转矩,确定所述电机的逆变器控制参数;根据所述逆变器控制参数,控制所述逆变器的导通与断开,得到用于控制所述电机运行的电机控制参数。该方案,通过提供无PI控制的电机驱动方式,免除了对PI控制器的PI控制参数的整定,提高了工作效率。(The invention discloses a motor driving method, a motor driving device, a motor, a storage medium and a processor, wherein the method comprises the following steps: acquiring current dq axis current of the motor in a rotating coordinate system, and acquiring motor state parameters of the motor; determining current motor parameters of the motor according to the current dq-axis current; determining dq-axis reference current and motor torque of the motor according to the current motor parameter and the motor state parameter; determining inverter control parameters of the motor according to the dq-axis reference current and the motor torque; and controlling the on and off of the inverter according to the inverter control parameters to obtain motor control parameters for controlling the motor to operate. According to the scheme, the PI control parameter setting of the PI controller is avoided by providing a motor driving mode without PI control, and the working efficiency is improved.)

1. A method of driving a motor, comprising:

acquiring current dq axis current of the motor in a rotating coordinate system, and acquiring motor state parameters of the motor;

determining current motor parameters of the motor according to the current dq-axis current;

determining dq-axis reference current and motor torque of the motor according to the current motor parameter and the motor state parameter;

determining inverter control parameters of the motor according to the dq-axis reference current and the motor torque;

and controlling the on and off of the inverter according to the inverter control parameters to obtain motor control parameters for controlling the motor to operate.

2. The method of driving a motor according to claim 1, wherein determining the present motor parameter of the motor based on the present dq-axis current includes:

according to the corresponding relation between the set dq current and the set motor parameter, determining the set motor parameter corresponding to the set dq current which is the same as the current dq axis current in the corresponding relation as the current motor parameter corresponding to the current dq axis current;

wherein, the current motor parameter, the motor parameter in the motor parameter of setting includes: at least one of dq-axis inductance, stator resistance, and flux linkage.

3. The driving method of the motor according to claim 2, further comprising:

and updating the corresponding relation between the set dq current and the set motor parameter through a pre-established communication link.

4. The driving method of the motor according to any one of claims 1 to 3, wherein determining the dq-axis reference current and the motor torque of the motor based on the current motor parameter and the motor state parameter includes:

and calculating based on the current motor parameter and the motor state parameter by utilizing an MTPV algorithm to obtain the dq axis reference current and the motor torque of the motor.

5. The driving method of the motor according to any one of claims 1 to 3, wherein determining the inverter control parameter of the motor based on the dq-axis reference current and the motor torque includes:

and calculating based on the dq-axis reference current and the motor torque by using an MPC algorithm to obtain an inverter control parameter of the motor.

6. A drive device of a motor, characterized by comprising:

the acquisition unit is configured to acquire the current dq axis current of the motor in a rotating coordinate system and acquire motor state parameters of the motor;

a control unit configured to determine a present motor parameter of the motor according to the present dq-axis current;

the control unit is further configured to determine a dq-axis reference current and a motor torque of the motor according to the current motor parameter and the motor state parameter;

the control unit is further configured to determine an inverter control parameter of the motor according to the dq-axis reference current and the motor torque;

the control unit is further configured to control the on and off of the inverter according to the inverter control parameter, so as to obtain a motor control parameter for controlling the operation of the motor.

7. The motor drive of claim 6, wherein the control unit determines a present motor parameter of the motor based on the present dq-axis current, comprising:

according to the corresponding relation between the set dq current and the set motor parameter, determining the set motor parameter corresponding to the set dq current which is the same as the current dq axis current in the corresponding relation as the current motor parameter corresponding to the current dq axis current;

wherein, the current motor parameter, the motor parameter in the motor parameter of setting includes: at least one of dq-axis inductance, stator resistance, and flux linkage.

8. The drive device of the motor according to claim 7, further comprising:

a communication unit configured to update a correspondence between the set dq current and the set motor parameter through a communication link established in advance.

9. The drive device of the motor according to any one of claims 6 to 8, wherein the control unit determines a dq-axis reference current and a motor torque of the motor based on the current motor parameter and the motor state parameter, including:

and calculating based on the current motor parameter and the motor state parameter by utilizing an MTPV algorithm to obtain the dq axis reference current and the motor torque of the motor.

10. The drive device of the motor according to any one of claims 6 to 8, wherein the control unit determines an inverter control parameter of the motor based on the dq-axis reference current and the motor torque, including:

and calculating based on the dq-axis reference current and the motor torque by using an MPC algorithm to obtain an inverter control parameter of the motor.

11. An electric machine, comprising: the drive device of the motor according to any one of claims 6 to 10.

12. A storage medium characterized by comprising a stored program, wherein a device in which the storage medium is located is controlled to execute the driving method of the motor according to any one of claims 1 to 5 when the program is executed.

13. A processor, characterized in that the processor is configured to execute a program, wherein the program executes a driving method of a motor according to any one of claims 1 to 5.

Technical Field

The invention belongs to the technical field of motors, and particularly relates to a motor driving method, a motor driving device, a motor, a storage medium and a processor, in particular to an air conditioner motor driving method, an air conditioner motor driving device, a motor, a storage medium and a processor without a PI (proportional integral) controller.

Background

In the related scheme, a motor driving algorithm in an air conditioning system is mainly based on magnetic field directional driving control of PI (proportional integral) control and brushless direct current driving control of direct torque driving control, and due to the existence of PI controllers in the control modes, when the number of the PI controllers is gradually increased, setting of PI control parameters becomes a great problem, and a great amount of time is consumed for technical engineering personnel to adjust PI control axis parameters of the PI controllers.

The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.

Disclosure of Invention

The invention aims to provide a motor driving method, a motor driving device, a motor, a storage medium and a processor, which aim to solve the problems that the work load of PI control parameter setting of a PI controller is large and the working efficiency is influenced in a motor driving mode based on PI control, and achieve the effects of avoiding the setting of the PI control parameter of the PI controller and improving the working efficiency by providing a motor driving mode without PI control.

The invention provides a driving method of a motor, which comprises the following steps: acquiring current dq axis current of the motor in a rotating coordinate system, and acquiring motor state parameters of the motor; determining current motor parameters of the motor according to the current dq-axis current; determining dq-axis reference current and motor torque of the motor according to the current motor parameter and the motor state parameter; determining inverter control parameters of the motor according to the dq-axis reference current and the motor torque; and controlling the on and off of the inverter according to the inverter control parameters to obtain motor control parameters for controlling the motor to operate.

In some embodiments, determining a present motor parameter of the motor based on the present dq-axis current includes: according to the corresponding relation between the set dq current and the set motor parameter, determining the set motor parameter corresponding to the set dq current which is the same as the current dq axis current in the corresponding relation as the current motor parameter corresponding to the current dq axis current; wherein, the current motor parameter, the motor parameter in the motor parameter of setting includes: at least one of dq-axis inductance, stator resistance, and flux linkage.

In some embodiments, further comprising: and updating the corresponding relation between the set dq current and the set motor parameter through a pre-established communication link.

In some embodiments, determining a dq-axis reference current and a motor torque of the motor based on the current motor parameter and the motor state parameter comprises: and calculating based on the current motor parameter and the motor state parameter by utilizing an MTPV algorithm to obtain the dq axis reference current and the motor torque of the motor.

In some embodiments, determining an inverter control parameter for the electric machine based on the dq-axis reference current and the motor torque comprises: and calculating based on the dq-axis reference current and the motor torque by using an MPC algorithm to obtain an inverter control parameter of the motor.

In accordance with another aspect of the present invention, there is provided a driving apparatus for a motor, including: the acquisition unit is configured to acquire the current dq axis current of the motor in a rotating coordinate system and acquire motor state parameters of the motor; a control unit configured to determine a present motor parameter of the motor according to the present dq-axis current; the control unit is further configured to determine a dq-axis reference current and a motor torque of the motor according to the current motor parameter and the motor state parameter; the control unit is further configured to determine an inverter control parameter of the motor according to the dq-axis reference current and the motor torque; the control unit is further configured to control the on and off of the inverter according to the inverter control parameter, so as to obtain a motor control parameter for controlling the operation of the motor.

In some embodiments, the control unit determining a present motor parameter of the motor based on the present dq-axis current includes: according to the corresponding relation between the set dq current and the set motor parameter, determining the set motor parameter corresponding to the set dq current which is the same as the current dq axis current in the corresponding relation as the current motor parameter corresponding to the current dq axis current; wherein, the current motor parameter, the motor parameter in the motor parameter of setting includes: at least one of dq-axis inductance, stator resistance, and flux linkage.

In some embodiments, further comprising: a communication unit configured to update a correspondence between the set dq current and the set motor parameter through a communication link established in advance.

In some embodiments, the control unit determining a dq-axis reference current and a motor torque of the motor based on the current motor parameter and the motor state parameter includes: and calculating based on the current motor parameter and the motor state parameter by utilizing an MTPV algorithm to obtain the dq axis reference current and the motor torque of the motor.

In some embodiments, the control unit determining the inverter control parameter of the motor based on the dq-axis reference current and the motor torque includes: and calculating based on the dq-axis reference current and the motor torque by using an MPC algorithm to obtain an inverter control parameter of the motor.

In accordance with another aspect of the present invention, there is provided a motor including: the above-described motor drive device.

In accordance with the above method, a further aspect of the present invention provides a storage medium including a stored program, wherein when the program is executed, an apparatus in which the storage medium is located is controlled to execute the above motor driving method.

In accordance with the above method, a further aspect of the present invention provides a processor for executing a program, wherein the program executes the above method for driving a motor.

Therefore, according to the scheme of the invention, a table look-up method, a maximum torque voltage ratio (MTPV) and a model predictive control algorithm are utilized to replace all PI controllers in a magnetic field oriented control algorithm (FOC) in a motor driving system, and a communication link established with a cloud server of an air conditioner can be used for updating a motor parameter table in real time, so that a motor driving mode without PI control is provided, the setting of PI control parameters of the PI controllers is omitted, and the working efficiency is improved.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.

Drawings

Fig. 1 is a schematic flow chart of an embodiment of a driving method of a motor according to the present invention;

fig. 2 is a schematic structural diagram of an embodiment of a driving apparatus of a motor according to the present invention;

FIG. 3 is a schematic structural diagram of an embodiment of a PI-controller-free air conditioner motor driving system according to the present invention;

FIG. 4 is a schematic flowchart of an embodiment of a method for driving a motor of an air conditioner without a PI controller according to the present invention;

FIG. 5 is a schematic view of the driving process of the air conditioner motor without a PI controller in the air conditioner motor driving system without a PI controller according to the present invention;

fig. 6 is a schematic diagram of a three-phase current output curve of a motor according to an embodiment of the driving method of an air conditioner motor without a PI controller of the present invention.

The reference numbers in the embodiments of the present invention are as follows, in combination with the accompanying drawings:

102-an obtaining unit; 104-control unit.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

According to an embodiment of the present invention, a method for driving a motor is provided, as shown in fig. 1, which is a schematic flow chart of an embodiment of the method of the present invention. The driving method of the motor may include: step S110 to step S150.

At step S110, a current dq-axis current of the motor in a rotating coordinate system is acquired, and a motor state parameter of the motor is acquired. Specifically, when the motor is a motor in an air conditioning system, dq-axis current of the motor in the air conditioning system in a rotating coordinate system is acquired through a peripheral circuit of a main control chip of the air conditioning system, and specifically, the dq-axis current is obtained after current information of the motor in the air conditioning system acquired through a peripheral hardware circuit of the main control chip is processed.

At step S120, a current motor parameter of the motor is determined based on the current dq-axis current.

In some embodiments, determining the current motor parameter of the motor according to the current dq-axis current in step S120 includes: and according to the corresponding relation between the set dq current and the set motor parameter, determining the set motor parameter corresponding to the set dq current which is the same as the current dq axis current in the corresponding relation as the current motor parameter corresponding to the current dq axis current. Wherein, the current motor parameter, the motor parameter in the motor parameter of setting includes: at least one of dq-axis inductance, stator resistance, and flux linkage.

Specifically, the obtained dq-axis current information is used as an input quantity, and motor parameter information such as inductance, stator resistance and flux linkage of the motor is obtained through a table look-up mode. . Therefore, the motor parameter is identified on line, and the problem that the driving control precision of the motor in the air conditioning system is reduced due to the motor parameter distortion caused by the change of the motor parameter can be solved.

In some embodiments, further comprising: and updating the corresponding relation between the set dq current and the set motor parameter through a pre-established communication link.

Specifically, a user sets a key for performing communication between the system server and the air conditioner user on an interface of the air conditioner controller, and interactive communication between the system server and the user can be realized through the key. Therefore, the server is in interactive communication with the user, and the motor parameters in the air conditioning system can be updated on line. The motor drive control scheme updates the parameters of the motor on line in a table look-up mode, so that the problem that the control precision of a motor drive algorithm is reduced and the like caused by motor parameter distortion can be solved. Meanwhile, the motor parameter table can be updated in real time by the air conditioner server through establishing a communication link with the air conditioner cloud server.

Furthermore, the data collection, processing and transmission are performed through the established communication link, and the communication protocol of the communication link may consider to adopt: the corresponding transmission process is realized by communication protocols such as SPI communication, CAN communication, SPI communication and the like. The second functional unit also comprises a function of updating the motor parameter table of the air conditioning system in real time through the system server.

And then, after generating the latest motor parameter table through the server, implanting the latest motor parameter table into a main control chip of the user air conditioner. Such as by fast training of the updated motor parameter table, using a communication link with the server established by the user. It is worth noting that: the occupied bandwidth of the communication between the user and the system service can be released in the process of carrying out the online training of the motor parameters by the system server, so that the resource waste caused by the occupied communication bandwidth of the system server is avoided.

Therefore, the parameters of the motor are updated on line in a table look-up mode, and the problems that the motor parameter distortion is caused by the change of the motor parameters, the control precision of a motor driving algorithm is reduced and the like can be avoided. In other words, the problem that the driving control precision of the motor in the air conditioning system is reduced due to the distortion of the motor parameter caused by the change of the motor parameter can be solved. Meanwhile, the motor parameter table can be updated in real time by the air conditioner server through establishing a communication link with the air conditioner cloud server.

At step S130, a dq-axis reference current and a motor torque of the motor are determined according to the current motor parameter and the motor state parameter.

In some embodiments, determining the dq-axis reference current and the motor torque of the motor according to the current motor parameter and the motor state parameter in step S130 includes: and calculating based on the current motor parameter and the motor state parameter by utilizing an MTPV algorithm to obtain the dq axis reference current and the motor torque of the motor.

Specifically, the collected motor state parameters and motor parameters are input to the control unit 104 implemented based on the maximum torque voltage ratio (MTPV), that is, all the obtained state parameters are input to the control driving algorithm based on the maximum torque voltage ratio, and the maximum torque voltage ratio (MTPV) control is control of the minimum stator voltage of the maximum rotation speed that can be achieved under the same torque output condition. The MTPV trace is actually a curve that connects the tangent points of the voltage limit ellipse and the torque hyperbola, i.e. the point of minimum voltage required to produce different torque values.

At step S140, an inverter control parameter of the motor is determined according to the dq-axis reference current and the motor torque.

In some embodiments, determining the inverter control parameter of the motor according to the dq-axis reference current and the motor torque in step S140 includes: and calculating based on the dq-axis reference current and the motor torque by using an MPC algorithm to obtain an inverter control parameter of the motor.

Specifically, a model predictive control algorithm is implemented under maximum torque to voltage ratio (MTPV) drive control. That is, the reference values of the dq-axis reference current and the motor torque can be obtained through the first functional units, and the state parameter reference values are input into a control module designed based on a model prediction control strategy.

The implementation process of the model predictive control strategy comprises the following steps:

(1) at time k, the respective state quantities x (k) of the system are measured.

(2) The possible control inputs U (k) are found from the finite control set U, taking into account the constraints in equations (2.3.3) and (2.3.4).

Based on the above-defined cost function, for the most basic single-step predictive control, the optimization solution process can be summarized as the solution of the following problems:

and the following requirements are met:

x(k+1)=Ax(k)+Bu(k),y(k+1)=Cx(k+1) ——(2.3.2);

u(k)∈U ——(2.3.3);

||Δu(k)||≤1——(2.3.4)。

(3) the discrete control model of the system is used to predict the value of the state variable at time (k +1) at each possible control input u (k), as shown in equation (2.3.2).

(4) Depending on the desired control performance of the system. For each possible control input u (k), the output reference value at time (k +1) is set, and the cost function J, i.e., J (k), at each control input u (k) is evaluated.

(5) Seeking a control input u that minimizes a cost functionopt(k) And applied.

Wherein A, B, C is a calculation coefficient.

Therefore, after the motor parameter table is updated through the system server, the motor parameters are obtained through table lookup; the maximum torque voltage ratio (MTPV) control unit 104 and the model prediction motor drive control algorithm unit finally obtain the optimal control quantity of the inverter to control the on and off of the inverter so as to obtain three-phase current information for controlling the operation of the motor, the motor can realize the PI-free controller control in a drive system of the motor under the drive control of the maximum torque voltage ratio, and the transient response and the steady-state characteristic of the motor in the air-conditioning system can be improved under the drive operation of the maximum torque voltage ratio (MTPV) of the motor in the air-conditioning system; meanwhile, the air conditioner motor driving mode with the PI controller based on the PI controller in the related scheme can be replaced by a table look-up mode and a model prediction control algorithm.

In step S150, the inverter is controlled to be turned on and off according to the inverter control parameter, so as to obtain a motor control parameter for controlling the operation of the motor. Specifically, the finally obtained optimal control quantity of the inverter is used for controlling the on and off of the inverter so as to obtain three-phase current information for controlling the operation of the motor, and the control of the motor in a drive system without a PI controller can be realized under the drive control of the maximum torque voltage ratio.

Therefore, inverter control parameters of the motor are determined according to the current dq axis current and the motor state parameters of the motor in a rotating coordinate system; and according to the inverter control parameter, controlling the on and off of the inverter to obtain a motor control parameter for controlling the operation of the motor, and realizing the control without a PI controller in a driving system of the motor under the driving control of the maximum torque voltage ratio of the motor, thereby avoiding a series of defects caused by the PI controller, such as: the problems of difficult parameter setting in PI control, overshoot, pulse and the like caused by a PI ring.

Through a large number of tests, the technical scheme of the embodiment is adopted, all PI controllers in a magnetic field orientation control algorithm (FOC) in a motor driving system are replaced by a table look-up method, a maximum torque voltage ratio (MTPV) and a model prediction control algorithm, and a motor parameter table can be updated in real time through a communication link established with a cloud server of an air conditioner, so that a motor driving mode without PI control is provided, setting of PI control parameters of the PI controllers is omitted, and the working efficiency is improved.

According to an embodiment of the present invention, there is also provided a driving apparatus of a motor corresponding to a driving method of a motor. Referring to fig. 2, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The driving apparatus of the motor may include: an acquisition unit 102 and a control unit 104.

The obtaining unit 102 is configured to obtain a current dq-axis current of the motor in a rotating coordinate system, and obtain a motor state parameter of the motor. The specific functions and processes of the acquiring unit 102 are referred to in step S110. Specifically, when the motor is a motor in an air conditioning system, dq-axis current of the motor in the air conditioning system in a rotating coordinate system is acquired through a peripheral circuit of a main control chip of the air conditioning system, and specifically, the dq-axis current is obtained after current information of the motor in the air conditioning system acquired through a peripheral hardware circuit of the main control chip is processed.

A control unit 104 configured to determine a present motor parameter of the motor based on the present dq-axis current. The specific function and processing of the control unit 104 are referred to in step S120.

In some embodiments, the determining, by the control unit 104, a current motor parameter of the motor based on the current dq-axis current includes: the control unit 104 is further specifically configured to determine, according to a correspondence between a set dq current and a set motor parameter, a set motor parameter corresponding to a set dq current that is the same as the current dq-axis current in the correspondence as a current motor parameter corresponding to the current dq-axis current.

Wherein, the current motor parameter, the motor parameter in the motor parameter of setting includes: at least one of dq-axis inductance, stator resistance, and flux linkage.

Specifically, the obtained dq-axis current information is used as an input quantity, and motor parameter information such as inductance, stator resistance and flux linkage of the motor is obtained through a table look-up mode. . Therefore, the motor parameter is identified on line, and the problem that the driving control precision of the motor in the air conditioning system is reduced due to the motor parameter distortion caused by the change of the motor parameter can be solved.

In some embodiments, further comprising: a communication unit configured to update a correspondence between the set dq current and the set motor parameter through a communication link established in advance.

Specifically, a user sets a key for performing communication between the system server and the air conditioner user on an interface of the air conditioner controller, and interactive communication between the system server and the user can be realized through the key. Therefore, the server is in interactive communication with the user, and the motor parameters in the air conditioning system can be updated on line. The motor drive control scheme updates the parameters of the motor on line in a table look-up mode, so that the problem that the control precision of a motor drive algorithm is reduced and the like caused by motor parameter distortion can be solved. Meanwhile, the motor parameter table can be updated in real time by the air conditioner server through establishing a communication link with the air conditioner cloud server.

Furthermore, the data collection, processing and transmission are performed through the established communication link, and the communication protocol of the communication link may consider to adopt: the corresponding transmission process is realized by communication protocols such as SPI communication, CAN communication, SPI communication and the like. The second functional unit also comprises a function of updating the motor parameter table of the air conditioning system in real time through the system server.

And then, after generating the latest motor parameter table through the server, implanting the latest motor parameter table into a main control chip of the user air conditioner. Such as by fast training of the updated motor parameter table, using a communication link with the server established by the user. It is worth noting that: the occupied bandwidth of the communication between the user and the system service can be released in the process of carrying out the online training of the motor parameters by the system server, so that the resource waste caused by the occupied communication bandwidth of the system server is avoided.

Therefore, the parameters of the motor are updated on line in a table look-up mode, and the problems that the motor parameter distortion is caused by the change of the motor parameter, the control precision of a motor driving algorithm is reduced and the like can be avoided; in other words, the problem that the driving control precision of the motor in the air conditioning system is reduced due to the distortion of the motor parameter caused by the change of the motor parameter can be solved. Meanwhile, the motor parameter table can be updated in real time by the air conditioner server through establishing a communication link with the air conditioner cloud server.

The control unit 104 is further configured to determine a dq-axis reference current and a motor torque of the motor based on the current motor parameter and the motor state parameter. The specific function and processing of the control unit 104 are also referred to in step S130.

In some embodiments, the determining, by the control unit 104, the dq-axis reference current and the motor torque of the motor according to the current motor parameter and the motor state parameter includes: the control unit 104 is further configured to perform a calculation based on the current motor parameter and the motor state parameter by using an MTPV algorithm to obtain a dq-axis reference current and a motor torque of the motor.

Specifically, the collected motor state parameters and motor parameters are input to the control unit 104 implemented based on the maximum torque voltage ratio (MTPV), that is, all the obtained state parameters are input to the control driving algorithm based on the maximum torque voltage ratio, and the maximum torque voltage ratio (MTPV) control is control of the minimum stator voltage of the maximum rotation speed that can be achieved under the same torque output condition. The MTPV trace is actually a curve that connects the tangent points of the voltage limit ellipse and the torque hyperbola, i.e. the point of minimum voltage required to produce different torque values.

The control unit 104 is further configured to determine an inverter control parameter of the motor based on the dq-axis reference current and the motor torque. The specific function and processing of the control unit 104 are also referred to in step S140.

In some embodiments, the control unit 104, determining the inverter control parameter of the motor according to the dq-axis reference current and the motor torque, includes: the control unit 104 is further configured to calculate, using an MPC algorithm, an inverter control parameter of the motor based on the dq-axis reference current and the motor torque.

Specifically, a model predictive control algorithm is implemented under maximum torque to voltage ratio (MTPV) drive control. That is, the reference values of the dq-axis reference current and the motor torque can be obtained through the first functional units, and the state parameter reference values are input into a control module designed based on a model prediction control strategy.

The implementation process of the model predictive control strategy comprises the following steps:

(1) at time k, the respective state quantities x (k) of the system are measured.

(2) The possible control inputs U (k) are found from the finite control set U, taking into account the constraints in equations (2.3.3) and (2.3.4).

(3) The discrete control model of the system is used to predict the value of the state variable at time (k +1) at each possible control input u (k), as shown in equation (2.3.2).

(4) Depending on the desired control performance of the system. For each possible control input u (k), the output reference value at time (k +1) is set and the cost function J at each control input u (k) is evaluated.

(5) Seeking a control input u that minimizes a cost functionopt(k) And applied.

Therefore, after the motor parameter table is updated through the system server, the motor parameters are obtained through table lookup; the maximum torque voltage ratio (MTPV) control unit 104 and the model prediction motor drive control algorithm unit finally obtain the optimal control quantity of the inverter to control the on and off of the inverter so as to obtain three-phase current information for controlling the operation of the motor, the motor can realize the PI-free controller control in a drive system of the motor under the drive control of the maximum torque voltage ratio, and the transient response and the steady-state characteristic of the motor in the air-conditioning system can be improved under the drive operation of the maximum torque voltage ratio (MTPV) of the motor in the air-conditioning system; meanwhile, the air conditioner motor driving mode with the PI controller based on the PI controller in the related scheme can be replaced by a table look-up mode and a model prediction control algorithm.

The control unit 104 is further configured to control the inverter to be turned on and off according to the inverter control parameter, so as to obtain a motor control parameter for controlling the operation of the motor. The specific function and processing of the control unit 104 are also referred to in step S150. Specifically, the finally obtained optimal control quantity of the inverter is used for controlling the on and off of the inverter so as to obtain three-phase current information for controlling the operation of the motor, and the control of the motor in a drive system without a PI controller can be realized under the drive control of the maximum torque voltage ratio.

Therefore, inverter control parameters of the motor are determined according to the current dq axis current and the motor state parameters of the motor in a rotating coordinate system; and according to the inverter control parameter, controlling the on and off of the inverter to obtain a motor control parameter for controlling the operation of the motor, and realizing the control without a PI controller in a driving system of the motor under the driving control of the maximum torque voltage ratio of the motor, thereby avoiding a series of defects caused by the PI controller, such as: the problems of difficult parameter setting in PI control, overshoot, pulse and the like caused by a PI ring.

Since the processes and functions implemented by the apparatus of this embodiment substantially correspond to the embodiments, principles, and examples of the method shown in fig. 1, reference may be made to the related descriptions in the foregoing embodiments for details which are not described in the description of this embodiment, and further description is not given here.

Through a large number of tests, the technical scheme of the invention is adopted, all PI controllers in a magnetic field orientation control algorithm (FOC) in a motor driving system are replaced by utilizing a table look-up method, a maximum torque voltage ratio (MTPV) and a model prediction control algorithm, and a motor parameter table can be updated in real time through a communication link established with a cloud server of an air conditioner, so that the transient response and the steady-state characteristic of a motor in the air conditioner system can be improved under the driving operation of the maximum torque voltage ratio (MTPV) of the motor in the air conditioner system; meanwhile, the air conditioner motor driving mode with the PI controller based on the PI controller in the related scheme can be replaced by a table look-up mode and a model prediction control algorithm.

According to an embodiment of the present invention, there is also provided a motor corresponding to a driving apparatus of the motor. The motor may include: the above-described motor drive device.

In the brushless dc drive control, since the direct torque drive control is realized based on Bang-Bang hysteresis control, significant steady-state characteristic fluctuations occur in important performance parameters such as the rotational speed and torque of the motor. The hysteresis control is also called Bang-Bang control or ripple regulator control, belongs to the PWM tracking technology, and has the characteristics of real-time control, high response speed and strong robustness.

In some embodiments, the scheme of the invention relates to the field of motor drive control in an air-conditioning system, in particular to an air-conditioning motor drive mode without a PI (proportional integral) controller, which can ensure that the transient response and the steady-state characteristic of a motor in the air-conditioning system are improved under the driving operation of a maximum torque voltage ratio (MTPV) of the motor in the air-conditioning system; meanwhile, the air conditioner motor driving mode with the PI controller based on the PI controller in the related scheme can be replaced by a table look-up mode and a model prediction control algorithm.

Specifically, according to the scheme of the invention, a table look-up method, a maximum torque voltage ratio (MTPV) and a model predictive control algorithm are utilized to replace all PI controllers in a magnetic field oriented control algorithm (FOC) in a motor driving system, and a motor parameter table can be updated in real time through a communication link established with a cloud server of an air conditioner. The scheme of the invention eliminates the problems of overshoot caused by the PI ring in the magnetic field orientation control strategy, pulse, difficult parameter setting of the PI ring in a motor driving system and the like, and can realize the overshoot-free control of the motor driving and increase the transient response speed of important performance parameters of the motor through the model prediction control strategy.

The scheme of the invention can realize the control without a PI controller in the driving system of the motor under the driving control of the maximum torque voltage ratio of the motor, thereby avoiding a series of defects caused by the PI controller, such as: the problems of difficult parameter setting in PI control, overshoot, pulse and the like caused by a PI ring.

According to the scheme, the parameters of the motor are updated on line in a table look-up mode, so that the problems that the motor parameter distortion is caused by the change of the motor parameter, the control precision of a motor driving algorithm is reduced and the like can be solved; in other words, the problem that the driving control precision of the motor in the air conditioning system is reduced due to the distortion of the motor parameter caused by the change of the motor parameter can be solved. Meanwhile, the motor parameter table can be updated in real time by the air conditioner server through establishing a communication link with the air conditioner cloud server.

The following describes an exemplary implementation process of the scheme of the present invention with reference to the examples shown in fig. 3 to fig. 6.

Fig. 3 is a schematic structural diagram of an embodiment of an air conditioner motor driving system without a PI controller according to the present invention. As shown in fig. 3, the PI controller-less air conditioner motor driving system includes: the system comprises a storage medium, a system server, a PI-free loop-based air conditioning system motor drive control algorithm module, a control circuit (such as an air conditioning main control board), a communication link, a main control chip and the like. The main control chip includes: a DSP (namely, a digital signal processor), an ARM processor (the ARM processor is the first RISC microprocessor designed by Acorn Inc. facing low-budget markets), an FPGA (field programmable gate array) module and the like.

Wherein the storage medium: and the functional module unit is used for storing data such as motor parameter table data, motor real-time state parameter data and the like.

A system server: the system is used for collecting motor data of the user air conditioner on line, sending the experimental data to the air conditioner server through a communication link, and updating an on-line motor parameter data table of the motor.

The motor drive control algorithm of the air conditioning system comprises the following steps: the motor drive control algorithm part provided in the scheme of the invention comprises the following steps: maximum torque to current ratio (MTPV), model predictive control, and motor parameter lookup.

An air conditioner main board: functional unit for collecting signals in an air conditioning system, comprising: collecting and processing the current of the motor; and the indoor temperature signal of the room is collected and transmitted.

Communication link: and a functional unit for performing communication between the air conditioner user and the air conditioner server.

The controller main control chip: the air conditioner motor drive control algorithm operation functional unit and the important functional unit are used for processing and analyzing the collected signals of current, voltage, temperature and the like in the air conditioning system.

The motor current acquisition and processing flow in the air conditioning system is as follows: real-time motor current and voltage information can be acquired by means of series-parallel current acquisition of the resistor, current acquisition based on the Hall current sensor and the like and input into a motor drive control algorithm as important state parameters. The temperature information of the motor can be acquired by Positive Temperature Coefficient (PTC) resistance, Negative Temperature Coefficient (NTC) resistance, and by detecting resistance current and calculating, and the temperature information of the motor can be acquired, wherein the air conditioner motor drive control algorithm is implemented in the operation functional unit, and the following exemplary description about the examples shown in fig. 4 and 5 can be referred to.

Fig. 4 is a schematic flowchart of an embodiment of a method for driving an air conditioner motor without a PI controller according to the present invention, and fig. 5 is a schematic flowchart of an air conditioner motor driving method without a PI controller in an air conditioner motor driving system without a PI controller according to the present invention.

As shown in fig. 4 and 5, the implementation process of the air conditioner motor driving method without the PI controller according to the present invention includes:

step 1, the user performs server and user air conditioner interconnection through the keys of the air conditioner remote controller.

Specifically, a user sets a key for performing communication between the system server and the air conditioner user on an interface of the air conditioner controller, and interactive communication between the system server and the user can be realized through the key.

Therefore, the server is in interactive communication with the user, and the motor parameters in the air conditioning system can be updated on line. The motor drive control scheme updates the parameters of the motor on line in a table look-up mode, so that the problem that the control precision of a motor drive algorithm is reduced and the like caused by motor parameter distortion can be solved. Meanwhile, the motor parameter table can be updated in real time by the air conditioner server through establishing a communication link with the air conditioner cloud server.

And 2, establishing a communication link, and acquiring and transmitting user air conditioner data and updating motor parameters.

Specifically, the second functional unit is configured to perform data collection, processing and transmission through the established communication link, and a communication protocol of the communication link may be considered to adopt: the corresponding transmission process is realized by communication protocols such as SPI communication, CAN communication, SPI communication and the like.

The second functional unit also comprises a function of updating the motor parameter table of the air conditioning system in real time through the system server.

And 3, generating a latest motor parameter table through the server, and implanting the latest motor parameter table into a main control chip of the user air conditioner.

Specifically, the updated motor parameter table is rapidly trained, and data transmission is carried out by utilizing a communication link established with a server of a user. It is worth noting that: the occupied bandwidth of the communication between the user and the system service can be released in the process of carrying out the online training of the motor parameters by the system server, so that the resource waste caused by the occupied communication bandwidth of the system server is avoided.

The motor parameters obtained through training comprise parameters such as dq axis inductance, back electromotive force, winding resistance and rotational inertia under different working currents.

And 4, acquiring the dq-axis current of a motor in the air conditioning system under a rotating coordinate system through a peripheral circuit of the main control chip.

Specifically, the fourth functional unit is to obtain the dq-axis current after processing the current information of the motor in the air conditioning system collected by the peripheral hardware circuit of the main control chip.

And 5, outputting the motor parameters in a table look-up mode.

Specifically, the obtained dq-axis current information is used as an input quantity, and motor parameter information such as inductance, stator resistance and flux linkage of the motor is obtained through a table look-up mode. Therefore, the motor parameter is identified on line, and the problem that the driving control precision of the motor in the air conditioning system is reduced due to the motor parameter distortion caused by the change of the motor parameter can be solved.

And 6, inputting the collected motor state parameters and motor parameters into the established control unit realized based on the maximum torque voltage ratio (MTPV).

Specifically, the obtained state parameters are input to a control drive algorithm based on a maximum torque voltage ratio (MTPV), which is the control of the minimum stator voltage at which the maximum rotational speed can be achieved under the same torque output condition. The MTPV trace is actually a curve that connects the tangent points of the voltage limit ellipse and the torque hyperbola, i.e. the point of minimum voltage required to produce different torque values.

And 7, realizing a model predictive control algorithm under the drive control of the maximum torque voltage ratio (MTPV).

Specifically, the reference values of the dq-axis reference current and the motor torque can be obtained through the first functional units. The state parameter reference value is input into a control module designed based on the model predictive control strategy. It should be noted that the implementation process of the model predictive control strategy is as follows:

(1) at time k, the respective state quantities x (k) of the system are measured.

(2) The possible control inputs U (k) are found from the finite control set U, taking into account the constraints in equations (2.3.3) and (2.3.4).

(3) The discrete control model of the system is used to predict the value of the state variable at time (k +1) at each possible control input u (k), as shown in equation (2.3.2).

(4) Depending on the desired control performance of the system. For each possible control input u (k), the output reference value at time (k +1) is set and the cost function J at each control input u (k) is evaluated.

(5) Seeking a control input u that minimizes a cost functionopt(k) Should be combinedThe application is as follows.

And 8, outputting the optimized inverter switching sequence of the motor through a control algorithm.

Specifically, after a motor parameter table is updated through a system server, motor parameters are obtained through table lookup; and finally obtaining the optimal control quantity of the inverter after a maximum torque voltage ratio (MTPV) control unit and a model prediction motor drive control algorithm unit, and controlling the on and off of the inverter so as to obtain three-phase current information for controlling the operation of the motor.

Fig. 4 is a schematic diagram of a three-phase current output curve of a motor based on an air conditioner motor driving control algorithm without a PI controller. As can be seen in fig. 6: according to the air conditioner motor drive control algorithm without the PI controller, the three-phase current of the motor has the advantages of no overshoot, no pulse and the like, the control of the motor without the PI controller in a drive system of the motor can be realized under the drive control of the maximum torque voltage ratio, and therefore a series of defects caused by the PI controller are avoided, such as: the problems of difficult parameter setting in PI control, overshoot, pulse and the like caused by a PI ring.

Since the processes and functions implemented by the motor of this embodiment substantially correspond to the embodiments, principles and examples of the apparatus shown in fig. 2, the descriptions of this embodiment are not detailed, and refer to the related descriptions in the embodiments, which are not described herein.

Through a large number of tests, the technical scheme of the invention replaces all PI controllers in a magnetic field orientation control algorithm (FOC) in a motor driving system by utilizing a table look-up method, a maximum torque voltage ratio (MTPV) and a model prediction control algorithm, and can update a motor parameter table in real time through a communication link established with a cloud server of an air conditioner, thereby eliminating the problems of overshoot caused by a PI ring in a magnetic field orientation control strategy, difficult pulse and parameter setting of the PI ring in the motor driving system and the like, and realizing the no-overshoot control of motor driving and increasing the transient response speed of important performance parameters of the motor through the model prediction control strategy.

According to an embodiment of the present invention, there is also provided a storage medium corresponding to a driving method of a motor, the storage medium including a stored program, wherein an apparatus in which the storage medium is located is controlled to execute the above-described driving method of the motor when the program is executed.

Since the processing and functions implemented by the storage medium of this embodiment substantially correspond to the embodiments, principles, and examples of the method shown in fig. 1, reference may be made to the related descriptions in the foregoing embodiments for details which are not described in detail in the description of this embodiment, and thus no further description is given here.

Through a large number of tests, the technical scheme of the invention replaces all PI controllers in a magnetic field orientation control algorithm (FOC) in a motor driving system by utilizing a table look-up method, a maximum torque voltage ratio (MTPV) and a model prediction control algorithm, and can update a motor parameter table in real time through a communication link established with a cloud server of an air conditioner, thereby eliminating the problems of overshoot caused by a PI ring in a magnetic field orientation control strategy, difficult pulse and parameter setting of the PI ring in the motor driving system and the like, and realizing the no-overshoot control of motor driving and increasing the transient response speed of important performance parameters of the motor through the model prediction control strategy.

According to an embodiment of the present invention, there is also provided a processor corresponding to a driving method of a motor, the processor being configured to execute a program, wherein the program executes the driving method of the motor described above.

Since the processing and functions implemented by the processor of this embodiment substantially correspond to the embodiments, principles, and examples of the method shown in fig. 1, reference may be made to the related descriptions in the foregoing embodiments for details which are not described in the description of this embodiment, and thus no further description is given here.

Through a large number of tests, the technical scheme of the invention replaces all PI controllers in a magnetic field orientation control algorithm (FOC) in a motor driving system by utilizing a table look-up method, a maximum torque voltage ratio (MTPV) and a model prediction control algorithm, and can update a motor parameter table in real time through a communication link established with a cloud server of an air conditioner, so that the control of the motor without the PI controller in the driving system of the motor can be realized under the driving control of the maximum torque voltage ratio, and a series of defects caused by the PI controllers are avoided.

In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.

The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种最大转矩电流比控制方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!