Control method and device of air conditioner motor, air conditioner and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GREE ELECTRIC APPLIANCE INC OF ZHUHAI
- Filing Date
- 2026-05-08
- Publication Date
- 2026-08-07
AI Technical Summary
[0004]本申请提供了一种空调电机的控制方法、装置、空调器及存储介质,以解决相关技术中通常采用单一参数来对电网电压波动下的空调电机进行PID补偿,导致空调电机运行稳定性较低的问题
[0015]Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application obtains the current state parameters of the air conditioner motor and the voltage fluctuation value of the power grid supplying power to the air conditioner motor, wherein the state parameters include multiple parameters related to the operating state of the air conditioner motor; based on the state parameters and the voltage fluctuation value, a direct-axis current compensation factor and a quadrature-axis current compensation factor are determined, wherein the direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor; based on the voltage fluctuation value, the direct-axis current compensation factor, and the quadrature-axis current compensation factor, differentiated compensation is performed on the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor; and the air conditioner motor is controlled to operate according to the compensated direct-axis current and the compensated quadrature-axis current. By taking into account the voltage fluctuations of the power grid and multiple state parameters of the air conditioner motor related to its own operating state, the direct-axis current compensation factor and quadrature-axis current compensation factor can be determined. Then, based on the voltage fluctuations, the direct-axis current compensation factor, and the quadrature-axis current compensation factor, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor can be compensated differently, thereby achieving accurate compensation of the direct-axis current and quadrature-axis current of the air conditioner motor and improving the stability of the air conditioner motor under power grid voltage fluctuations.
Smart Images

Figure CN122523731A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of air conditioning technology, and in particular to a control method, device, air conditioner, and storage medium for an air conditioning motor. Background Technology
[0002] As people's living standards continue to improve, air conditioners are becoming increasingly common in people's daily lives. However, when there are voltage fluctuations in the power grid, it can cause unstable operation of the air conditioner motor and even pose a risk of damage. Therefore, it is of great significance to ensure that the air conditioner motor can continue to operate stably under power grid voltage fluctuations.
[0003] In related technologies, a single parameter is usually used to perform proportional-integral-derivative (PID) compensation for air conditioner motors under grid voltage fluctuations. However, this method cannot achieve accurate compensation for air conditioner motors, resulting in low operating stability of the air conditioner motors. Therefore, how to improve the stability of air conditioner motors under grid voltage fluctuations has become an urgent technical problem to be solved. Summary of the Invention
[0004] This application provides a control method, device, air conditioner, and storage medium for an air conditioner motor, in order to solve the problem that the air conditioner motor has low operating stability due to the common use of a single parameter to perform PID compensation for air conditioner motors under grid voltage fluctuations in related technologies.
[0005] In a first aspect, embodiments of this application provide a method for controlling an air conditioner motor, the method comprising: The current status parameters of the air conditioner motor are obtained, as well as the voltage fluctuation value of the power grid supplying power to the air conditioner motor. The status parameters include multiple parameters related to the operating status of the air conditioner motor. Based on the state parameters and the voltage fluctuation value, a direct-axis current compensation factor and a quadrature-axis current compensation factor are determined. The direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor. Based on the voltage fluctuation value, the direct-axis current compensation factor, and the quadrature-axis current compensation factor, differential compensation is performed on the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor; The air conditioner motor is controlled to operate according to the compensated direct-axis current and the compensated quadrature-axis current.
[0006] Optionally, the differential compensation of the actual direct-axis current and actual quadrature-axis current of the air conditioner motor based on the voltage fluctuation value, the direct-axis current compensation factor, and the quadrature-axis current compensation factor includes: Determine whether the voltage fluctuation value is positive; When the voltage fluctuation value is positive, the actual direct-axis current of the air conditioner motor is positively compensated based on the direct-axis current compensation factor, and the actual quadrature-axis current of the air conditioner motor is negatively compensated based on the quadrature-axis current compensation factor. When the voltage fluctuation value is negative, the actual direct-axis current of the air conditioner motor is negatively compensated based on the direct-axis current compensation factor, and the actual quadrature-axis current of the air conditioner motor is positively compensated based on the quadrature-axis current compensation factor. When the voltage fluctuation value is zero, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor are kept constant.
[0007] Optionally, the step of positively compensating the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor and negatively compensating the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor includes: The direct-axis current compensation factor is added to the actual direct-axis current of the air conditioner motor to provide positive compensation for the actual direct-axis current, and the quadrature-axis current compensation factor is subtracted from the actual quadrature-axis current of the air conditioner motor to provide negative compensation for the actual quadrature-axis current. The step of negatively compensating the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor, and positively compensating the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor, includes: The direct-axis current compensation factor is subtracted from the actual direct-axis current of the air conditioner motor to provide negative compensation for the actual direct-axis current, and the quadrature-axis current compensation factor is added to the actual quadrature-axis current of the air conditioner motor to provide positive compensation for the actual quadrature-axis current.
[0008] Optionally, determining the direct-axis current compensation factor and the quadrature-axis current compensation factor based on the state parameters and the voltage fluctuation value includes: Based on the aforementioned state parameters, determine the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, and reference quadrature-axis current of the air conditioning motor. Based on the actual temperature, the actual direct-axis current, the reference direct-axis current, the actual quadrature-axis current, the reference quadrature-axis current, and the voltage fluctuation value, the direct-axis current compensation factor and the quadrature-axis current compensation factor are determined from a preset compensation factor table.
[0009] Optionally, the compensation factor table includes a first compensation factor sub-table and a second compensation factor sub-table. The first compensation factor sub-table is used to characterize the mapping relationship between the direct-axis current compensation factor, the actual temperature, the actual direct-axis current, the reference direct-axis current, and the voltage fluctuation value. The second compensation factor sub-table is used to characterize the mapping relationship between the quadrature-axis current compensation factor, the actual temperature, the actual quadrature-axis current, the reference quadrature-axis current, and the voltage fluctuation value.
[0010] Optionally, before determining the direct-axis current compensation factor and the quadrature-axis current compensation factor from a preset compensation factor table based on the actual temperature, the actual direct-axis current, the reference direct-axis current, the actual quadrature-axis current, the reference quadrature-axis current, and the voltage fluctuation value, the method further includes: Multiple training samples are obtained, wherein each training sample includes a state parameter sample, a voltage fluctuation value sample, and a true value label. The true value label includes the true value of the direct-axis current compensation factor and the true value of the quadrature-axis current compensation factor. The state parameter sample includes the temperature sample, actual direct-axis current sample, reference direct-axis current sample, actual quadrature-axis current sample, and reference quadrature-axis current sample of the air conditioner motor. The multiple training samples are sequentially input into the model to be trained for iterative training, and the predicted values of the direct-axis current compensation factor and the quadrature-axis current compensation factor are obtained after each iteration of training. Calculate the first loss value and the second loss value after each training iteration, wherein the first loss value is calculated based on the true value and the predicted value of the direct-axis current compensation factor, and the second loss value is calculated based on the true value and the predicted value of the quadrature-axis current compensation factor; If the first loss value and the second loss value do not meet the preset condition, the training of the model to be trained continues until the first loss value and the second loss value meet the preset condition, at which point the training stops and the deep learning network model is obtained. The preset condition is that the first loss value and the second loss value decrease to a stable level. The compensation factor table is determined based on the deep learning network model and stored in a preset storage location.
[0011] Optionally, obtaining the voltage fluctuation value of the power grid supplying power to the air conditioner motor includes: Obtain the rated voltage of the air conditioner motor and the current actual supply voltage of the power grid; Calculate the difference between the rated voltage and the actual supply voltage, and calculate the ratio between the difference and the rated voltage; The ratio is determined as the voltage fluctuation value.
[0012] Secondly, embodiments of this application also provide a control device for an air conditioner motor, the device comprising: The first acquisition module is used to acquire the current status parameters of the air conditioner motor and the voltage fluctuation value of the power grid that supplies power to the air conditioner motor. The status parameters include multiple parameters related to the operating status of the air conditioner motor. The determining module is used to determine the direct-axis current compensation factor and the quadrature-axis current compensation factor based on the state parameters and the voltage fluctuation value, wherein the direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor. The compensation module is used to perform differential compensation on the actual direct-axis current and actual quadrature-axis current of the air conditioner motor based on the voltage fluctuation value, the direct-axis current compensation factor and the quadrature-axis current compensation factor; The control module is used to control the air conditioner motor to operate according to the compensated direct-axis current and the compensated quadrature-axis current.
[0013] Thirdly, this application also provides an air conditioner, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor, when executing a program stored in memory, implements the air conditioner motor control method described in the first aspect.
[0014] Fourthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the air conditioner motor control method described in the first aspect.
[0015] Compared with the prior art, the technical solution provided in this application has the following advantages: The method provided in this application obtains the current state parameters of the air conditioner motor and the voltage fluctuation value of the power grid supplying power to the air conditioner motor, wherein the state parameters include multiple parameters related to the operating state of the air conditioner motor; based on the state parameters and the voltage fluctuation value, a direct-axis current compensation factor and a quadrature-axis current compensation factor are determined, wherein the direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor; based on the voltage fluctuation value, the direct-axis current compensation factor, and the quadrature-axis current compensation factor, differentiated compensation is performed on the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor; and the air conditioner motor is controlled to operate according to the compensated direct-axis current and the compensated quadrature-axis current. By taking into account the voltage fluctuations of the power grid and multiple state parameters of the air conditioner motor related to its own operating state, the direct-axis current compensation factor and quadrature-axis current compensation factor can be determined. Then, based on the voltage fluctuations, the direct-axis current compensation factor, and the quadrature-axis current compensation factor, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor can be compensated differently, thereby achieving accurate compensation of the direct-axis current and quadrature-axis current of the air conditioner motor and improving the stability of the air conditioner motor under power grid voltage fluctuations. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] One embodiment or practice is illustrated by way of example with the corresponding pictures in the accompanying drawings. These illustrative descriptions do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0019] Figure 1 A flowchart illustrating a control method for an air conditioner motor provided in an embodiment of this application; Figure 2 A flowchart illustrating another air conditioner motor control method provided in this application embodiment; Figure 3This is a schematic diagram of the structure of a control device for an air conditioner motor provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an air conditioner provided in an embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] The following disclosure provides numerous different embodiments or examples for implementing various structures of this application. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of this application. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0022] To address the problem that the PID compensation of air conditioning motors under grid voltage fluctuations, which is usually performed using a single parameter in related technologies, resulting in low operating stability of the air conditioning motors, this application provides a control method, device, air conditioner, and storage medium for air conditioning motors, which can improve the stability of air conditioning motors under grid voltage fluctuations.
[0023] See Figure 1 , Figure 1 This is a flowchart illustrating a control method for an air conditioner motor provided in an embodiment of this application. Figure 1 As shown, the control method for the air conditioner motor may include the following steps: Step S101: Obtain the current status parameters of the air conditioner motor and the voltage fluctuation value of the power grid supplying power to the air conditioner motor. The status parameters include multiple parameters related to the operating status of the air conditioner motor.
[0024] Specifically, the aforementioned state parameters may include, but are not limited to, the actual temperature of the air conditioner motor, the actual direct-axis current, the reference direct-axis current, the actual quadrature-axis current, and the reference quadrature-axis current. All of these state parameters are related to the stable operation of the air conditioner motor. For example, the actual temperature of the air conditioner motor affects the resistance value within the motor, which in turn affects the drive current and drive voltage. The actual direct-axis current affects the magnetic field strength of the air conditioner motor; the reference direct-axis current is the magnitude of the direct-axis current of the air conditioner motor under ideal conditions. Only when the actual direct-axis current is infinitely close to the reference direct-axis current will the magnetic flux loss of the air conditioner motor be minimized. The actual quadrature-axis current affects the torque of the air conditioner motor; the reference quadrature-axis current is the quadrature-axis current of the air conditioner motor under ideal conditions. Only when the actual quadrature-axis current is infinitely close to the reference quadrature-axis current will the torque of the air conditioner motor match the actual requirements as closely as possible. These state parameters can be obtained using various sensors installed on the air conditioner motor (such as temperature sensors, Hall effect sensors, etc.), or by other methods; this application does not impose specific limitations on these methods.
[0025] The aforementioned voltage fluctuation value refers to the fluctuation value between the actual supply voltage of the power grid and the rated voltage of the air conditioner motor. When the voltage fluctuation value is positive, it indicates that the actual supply voltage of the power grid is higher than the rated voltage of the air conditioner motor. In this case, the air conditioner motor may experience problems such as back electromotive force and excessive current, which can easily damage the motor. When the voltage fluctuation value is negative, it indicates that the actual supply voltage of the power grid is lower than the rated voltage of the air conditioner motor. In this case, the air conditioner motor may experience problems such as magnetic flux loss and insufficient voltage leading to insufficient motor speed. The voltage fluctuation value can be calculated based on the rated voltage of the air conditioner motor and the actual supply voltage of the power grid, or it can be obtained using other methods. This application embodiment does not specifically limit the method.
[0026] Step S102: Based on the state parameters and voltage fluctuation values, determine the direct-axis current compensation factor and the quadrature-axis current compensation factor. The direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor.
[0027] Specifically, a preset compensation factor table can be used to determine the direct-axis current compensation factor and quadrature-axis current compensation factor corresponding to the state parameters and voltage fluctuation values; alternatively, a pre-trained deep learning network model can be used to predict the state parameters and voltage fluctuation values to obtain the direct-axis current compensation factor and quadrature-axis current compensation factor. This application does not impose specific limitations on the embodiments.
[0028] Step S103: Based on the voltage fluctuation value, direct-axis current compensation factor and quadrature-axis current compensation factor, perform differentiated compensation on the actual direct-axis current and actual quadrature-axis current of the air conditioner motor.
[0029] Specifically, the magnitude of the voltage fluctuation can be determined, and then, based on the direct-axis current compensation factor and the quadrature-axis current compensation factor, differentiated compensation can be applied to the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor. This differentiated compensation includes positive compensation (i.e., increasing the corresponding current value) and negative compensation (i.e., decreasing the corresponding current value).
[0030] Step S104: Control the air conditioner motor to run according to the compensated direct-axis current and the compensated quadrature-axis current.
[0031] After determining the compensated direct-axis current and the compensated quadrature-axis current, the air conditioner motor can be controlled to operate according to the compensated direct-axis current and the compensated quadrature-axis current.
[0032] In this way, the voltage fluctuation value of the power grid and multiple state parameters of the air conditioner motor related to its own operating state can be comprehensively considered to jointly determine the direct-axis current compensation factor and the quadrature-axis current compensation factor. Then, based on the voltage fluctuation value, the direct-axis current compensation factor and the quadrature-axis current compensation factor, the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor can be compensated differently, thereby achieving accurate compensation of the direct-axis current and quadrature-axis current of the air conditioner motor and improving the stability of the air conditioner motor under power grid voltage fluctuations.
[0033] In an optional embodiment, step S103 above, which involves differentially compensating for the actual direct-axis current and actual quadrature-axis current of the air conditioner motor based on voltage fluctuation values, direct-axis current compensation factors, and quadrature-axis current compensation factors, includes: Determine whether the voltage fluctuation value is positive; When the voltage fluctuation value is positive, the actual direct-axis current of the air conditioner motor is positively compensated based on the direct-axis current compensation factor, and the actual quadrature-axis current of the air conditioner motor is negatively compensated based on the quadrature-axis current compensation factor. When the voltage fluctuation value is negative, the actual direct-axis current of the air conditioner motor is negatively compensated based on the direct-axis current compensation factor, and the actual quadrature-axis current of the air conditioner motor is positively compensated based on the quadrature-axis current compensation factor. When the voltage fluctuation is zero, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor are kept constant.
[0034] Specifically, when the voltage fluctuation value is positive, it indicates that the actual supply voltage of the power grid is higher than the rated voltage of the air conditioner motor. At this time, the actual direct-axis current of the air conditioner motor can be positively compensated based on the direct-axis current compensation factor to increase the actual direct-axis current and better offset the back electromotive force. The actual quadrature-axis current of the air conditioner motor can be negatively compensated based on the quadrature-axis current compensation factor to decrease the actual quadrature-axis current and avoid damage to the air conditioner motor due to excessive current. This ensures that the air conditioner motor can still operate stably when the actual supply voltage of the power grid is too high.
[0035] When the voltage fluctuation value is negative, it indicates that the actual power supply voltage of the grid is lower than the rated voltage of the air conditioner motor. At this time, the actual direct-axis current of the air conditioner motor can be negatively compensated based on the direct-axis current compensation factor to reduce the actual direct-axis current and reduce magnetic flux loss. The actual quadrature-axis current of the air conditioner motor can be positively compensated based on the quadrature-axis current compensation factor to increase the actual quadrature-axis current and effectively compensate for the voltage. This ensures that the air conditioner motor can still operate stably when the actual power supply voltage of the grid is too low.
[0036] When the voltage fluctuation value is zero, it means that the actual supply voltage of the power grid is equal to the rated voltage of the air conditioner motor. At this time, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor can be kept constant.
[0037] In this way, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor can be compensated differently according to the magnitude of voltage fluctuation, thereby improving the compensation accuracy of the direct-axis current and quadrature-axis current of the air conditioner motor.
[0038] In an optional embodiment, the above steps of positively compensating the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor and negatively compensating the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor include: A direct-axis current compensation factor is added to the actual direct-axis current of the air conditioner motor to provide positive compensation for the actual direct-axis current, and a quadrature-axis current compensation factor is subtracted from the actual quadrature-axis current of the air conditioner motor to provide negative compensation for the actual quadrature-axis current. The above steps, including negative compensation of the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor and positive compensation of the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor, include: The direct-axis current compensation factor is subtracted from the actual direct-axis current of the air conditioner motor to provide negative compensation for the actual direct-axis current, and the quadrature-axis current compensation factor is added to the actual quadrature-axis current of the air conditioner motor to provide positive compensation for the actual quadrature-axis current.
[0039] Specifically, when the voltage fluctuation is positive, a direct-axis current compensation factor can be added to the actual direct-axis current of the air conditioner motor to provide positive compensation, and a quadrature-axis current compensation factor can be subtracted from the actual quadrature-axis current to provide negative compensation. For example, assuming the voltage fluctuation is 8%, the actual direct-axis current of the air conditioner motor is 0.3A with a direct-axis current compensation factor of 0.02A, the actual quadrature-axis current is 0.5A with a quadrature-axis current compensation factor of 0.01A, then the actual operating direct-axis current after positive compensation is 0.3 + 0.02 = 0.32A, and the actual operating quadrature-axis current after negative compensation is 0.5 - 0.01 = 0.49A.
[0040] When the voltage fluctuation is negative, a direct-axis current compensation factor can be subtracted from the actual direct-axis current of the air conditioner motor to perform negative compensation, and a quadrature-axis current compensation factor can be added to the actual quadrature-axis current to perform positive compensation. For example, assuming the voltage fluctuation is -10%, the actual direct-axis current of the air conditioner motor is 0.3A, and the direct-axis current compensation factor is 0.02A, the actual quadrature-axis current is 0.5A, and the quadrature-axis current compensation factor is 0.01A, then the actual operating direct-axis current after negative compensation is 0.3 - 0.02 = 0.28A, and the actual operating quadrature-axis current after positive compensation is 0.5 + 0.01 = 0.51A.
[0041] In this way, the direct-axis current compensation factor and the quadrature-axis current compensation factor can be used to differentiate the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor, thereby improving the compensation accuracy of the direct-axis current and the quadrature-axis current of the air conditioner motor.
[0042] In an optional embodiment, step S102, determining the direct-axis current compensation factor and the quadrature-axis current compensation factor based on the state parameters and voltage fluctuation values, includes: Based on the state parameters, determine the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, and reference quadrature-axis current of the air conditioner motor; Based on the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, reference quadrature-axis current, and voltage fluctuation value, the direct-axis current compensation factor and quadrature-axis current compensation factor are determined from the preset compensation factor table.
[0043] Specifically, the aforementioned preset compensation factor table can be learned based on a pre-trained deep learning network model or measured based on experimental data. This application embodiment does not impose any specific limitations.
[0044] When determining the direct-axis current compensation factor and quadrature-axis current compensation factor, the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, and reference quadrature-axis current of the air conditioner motor can be determined first based on the state parameters. Then, the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, reference quadrature-axis current, and voltage fluctuation value of the air conditioner motor can be matched with the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, and reference quadrature-axis current in the preset compensation factor table to determine the direct-axis current compensation factor and quadrature-axis current compensation factor.
[0045] In this way, based on the compensation factor table, the direct-axis current compensation factor and quadrature-axis current compensation factor that match the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, reference quadrature-axis current, and voltage fluctuation value of the air conditioner motor can be accurately determined, which facilitates subsequent compensation control based on the direct-axis current compensation factor and quadrature-axis current compensation factor.
[0046] In one optional embodiment, the compensation factor table includes a first compensation factor sub-table and a second compensation factor sub-table. The first compensation factor sub-table is used to characterize the mapping relationship between the direct-axis current compensation factor, actual temperature, actual direct-axis current, reference direct-axis current and voltage fluctuation value. The second compensation factor sub-table is used to characterize the mapping relationship between the quadrature-axis current compensation factor, actual temperature, actual quadrature-axis current, reference quadrature-axis current and voltage fluctuation value.
[0047] Specifically, when determining the direct-axis current compensation factor, the direct-axis current compensation factor can be determined from the first compensation factor sub-table based on the actual temperature of the air conditioner motor, the actual direct-axis current, the reference direct-axis current, and the voltage fluctuation value.
[0048] When determining the quadrature axis current compensation factor, the quadrature axis current compensation factor can be determined from the second compensation factor sub-table based on the actual temperature of the air conditioning motor, the actual quadrature axis current, the reference quadrature axis current, and the voltage fluctuation value.
[0049] In this way, the direct-axis current compensation factor and the quadrature-axis current compensation factor can be accurately determined based on the first compensation factor sub-table and the second compensation factor sub-table, which facilitates subsequent compensation control based on the direct-axis current compensation factor and the quadrature-axis current compensation factor.
[0050] In an optional embodiment, before determining the direct-axis current compensation factor and the quadrature-axis current compensation factor from a preset compensation factor table based on the above steps, including the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, reference quadrature-axis current, and voltage fluctuation value, the method further includes: Multiple training samples are obtained. Each training sample includes state parameter samples, voltage fluctuation value samples, and true value labels. The true value labels include the true values of the direct-axis current compensation factor and the quadrature-axis current compensation factor. The state parameter samples include the temperature sample of the air conditioner motor, the actual direct-axis current sample, the reference direct-axis current sample, the actual quadrature-axis current sample, and the reference quadrature-axis current sample. Multiple training samples are sequentially input into the model to be trained for iterative training, and the predicted values of the direct-axis current compensation factor and the quadrature-axis current compensation factor are obtained after each iteration of training. Calculate the first loss value and the second loss value after each training iteration. The first loss value is calculated based on the true value and the predicted value of the direct-axis current compensation factor, and the second loss value is calculated based on the true value and the predicted value of the quadrature-axis current compensation factor. If the first loss value and the second loss value do not meet the preset conditions, the training of the model to be trained continues iteratively until the first loss value and the second loss value meet the preset conditions, at which point the iterative training stops and the deep learning network model is obtained. The preset conditions are that the first loss value and the second loss value decrease to a stable level. The compensation factor table is determined based on the deep learning network model and stored in the preset storage location.
[0051] Specifically, a pre-trained deep learning network model can be used to obtain the compensation factor table. Therefore, the deep learning network model needs to be trained before using the compensation factor table. Specifically, multiple training samples can be obtained first. Each training sample can include state parameter samples, voltage fluctuation value samples, and ground truth labels. The ground truth labels can include the true values of the direct-axis current compensation factor and the quadrature-axis current compensation factor. The state parameter samples can include, but are not limited to, temperature samples of the air conditioner motor, actual direct-axis current samples, reference direct-axis current samples, actual quadrature-axis current samples, and reference quadrature-axis current samples. Next, these multiple training samples can be sequentially input into the model to be trained for iterative training, obtaining the predicted values of the direct-axis current compensation factor and the quadrature-axis current compensation factor after each iteration. Then, the first loss value of the direct-axis current compensation factor and the second loss value of the quadrature-axis current compensation factor after each iteration are calculated. If the first and second loss values do not meet the preset conditions, the model to be trained continues iterative training until the first and second loss values meet the preset conditions, at which point the iterative training stops, thus obtaining the trained deep learning network model. Afterwards, a compensation factor table can be determined based on a deep learning network model and stored in a preset storage location for easy querying and use later.
[0052] Because deep learning network models require servers with abundant computing resources and high-end equipment to perform complex algorithm calculations, it is not feasible to directly install deep learning network models on air conditioners. Firstly, this increases the cost of the air conditioner, and secondly, the model prediction process takes a long time, which does not meet the real-time requirements of air conditioner motor control. Therefore, instead of directly using deep learning network models to predict compensation factors in real time, we use pre-trained deep learning network models to obtain the compensation factor table in advance. This can improve the real-time performance and accuracy of air conditioner motor compensation control without increasing the cost of the air conditioner.
[0053] In an optional embodiment, step S101, obtaining the voltage fluctuation value of the power grid supplying power to the air conditioner motor, includes: Obtain the rated voltage of the air conditioner motor and the current actual power supply voltage of the power grid; Calculate the difference between the rated voltage and the actual supply voltage, and calculate the ratio between the difference and the rated voltage; The ratio is determined as the voltage fluctuation value.
[0054] Specifically, when obtaining the voltage fluctuation value of the power grid supplying power to the air conditioner motor, you can first obtain the rated voltage of the air conditioner motor and the current actual power supply voltage of the power grid, then calculate the difference between the rated voltage and the actual power supply voltage, and calculate the ratio between the difference and the rated voltage. Finally, the ratio can be determined as the voltage fluctuation value.
[0055] For example, this voltage fluctuation value can be calculated using the following formula: ; in, Indicates voltage fluctuation value. Indicates the actual supply voltage. This indicates the rated voltage.
[0056] In this way, the voltage fluctuation value can be accurately determined based on the rated voltage of the air conditioner motor and the current actual power supply voltage of the power grid. This facilitates the subsequent determination of the direct-axis current compensation factor and quadrature-axis current compensation factor based on the voltage fluctuation value and state parameters.
[0057] In an optional embodiment, the control flow of the air conditioner motor provided in this application is as follows: Figure 2 As shown, it may include the following steps: Step S201: Collect the actual direct-axis current Id, actual quadrature-axis current Iq, reference direct-axis current Ido, and reference quadrature-axis current Iqo corresponding to the air conditioner motor.
[0058] Wherein, the actual direct-axis current Id refers to the current along the rotor magnetic pole axis (i.e., parallel to the direction of the permanent magnet magnetic field), and the actual quadrature-axis current Iq refers to the current perpendicular to the rotor magnetic pole axis (i.e., perpendicular to the magnetic field). Both can be transformed using Clarke transformation and Park transformation to convert the actual three-phase sinusoidal alternating current flowing through the three phase lines (U, V, W) of an air conditioning motor (such as a permanent magnet synchronous motor). The reference direct-axis current Ido and reference quadrature-axis current Iqo are determined after being transformed into a coordinate system that rotates with the rotor (such as the dq coordinate system). The reference direct-axis current Ido and reference quadrature-axis current Iqo are related to the model of the air conditioner motor, and the reference direct-axis current Ido and reference quadrature-axis current Iqo may be different for different models of air conditioner motors.
[0059] Step S202: Use the power supply detection board to detect the current actual power supply voltage U of the power grid.
[0060] Step S203: Obtain the actual temperature T of the air conditioner motor using a temperature sensing bulb.
[0061] Step S204: Calculate the voltage fluctuation value P based on the actual power supply voltage U and the rated voltage Uo of the air conditioner motor.
[0062] Specifically, the voltage fluctuation value can be calculated using the following formula: ; in, Indicates voltage fluctuation value. Indicates the actual supply voltage. This indicates the rated voltage.
[0063] When the actual supply voltage U is greater than the rated voltage Uo, the voltage fluctuation value P is positive, indicating that the actual supply voltage U is too high; when the actual supply voltage U is less than the rated voltage Uo, the voltage fluctuation value P is negative, indicating that the actual supply voltage U is too low.
[0064] Step S205: Locate the preset compensation factor table and determine the direct-axis current compensation factor and quadrature-axis current compensation factor.
[0065] Specifically, the quadrature-axis current determines the output torque of the air conditioner motor, while the direct-axis current affects the magnetic field of the air conditioner motor. These two parameters directly affect the driving speed and operating efficiency of the air conditioner motor, thus requiring compensation control of the direct-axis current and quadrature-axis current.
[0066] Since the actual temperature, voltage fluctuation, actual quadrature-axis current, reference quadrature-axis current, actual direct-axis current, and reference direct-axis current of the air conditioner motor all affect the changing trends of the direct-axis current and quadrature-axis current, a deep learning network model can be used to learn the compensation factor under different motor temperature, voltage fluctuation, actual quadrature-axis current, reference quadrature-axis current, actual direct-axis current, and reference direct-axis current conditions. The compensation factor can be expressed by the following formula: F=K1*T+K2*P+K3*Iq+K4*Iqo+K5*Id+K6*Ido; Where K1 refers to the weighting coefficient of the actual temperature T of the air conditioner motor, K2 refers to the weighting coefficient of the voltage fluctuation value P, K3 refers to the weighting coefficient of the actual quadrature-axis current Iq, K4 refers to the weighting coefficient of the reference quadrature-axis current Iqo, K5 refers to the weighting coefficient of the actual direct-axis current Id, K6 refers to the weighting coefficient of the reference direct-axis current Ido, and F represents the compensation factor. When the weighting coefficients K3 and K4 are 0, the obtained compensation factor F is the direct-axis current compensation factor; when the weighting coefficients K5 and K6 are 0, the obtained compensation factor F is the quadrature-axis current compensation factor.
[0067] For example, when the actual temperature T of the air conditioner motor is 15℃, the voltage fluctuation value P is 8%, the actual quadrature axis current Iq is 0.5A, the reference quadrature axis current Iqo is 0.47A, the actual direct axis current Id is 0.3A, and the reference direct axis current Ido is 0.33A, after looking up the preset compensation factor table, it can be found that the quadrature axis current compensation factor is 0.01A and the direct axis current compensation factor is 0.02A.
[0068] Step S206: Determine whether the voltage fluctuation value is positive.
[0069] If the voltage fluctuation value is positive, proceed to steps S207 and S208; if the voltage fluctuation value is negative, proceed to steps S209 and S210.
[0070] Step S207: Based on the direct-axis current compensation factor, perform positive compensation on the actual direct-axis current of the air conditioner motor to increase the actual direct-axis current.
[0071] When the voltage fluctuation value P > 0, it means that the actual power supply voltage exceeds the rated voltage. At this time, the air conditioner motor will have problems such as back electromotive force and excessive current damaging the motor. Therefore, according to the direct axis compensation factor table, the direct axis current is positively compensated to increase the actual direct axis current of the air conditioner motor to counteract the back electromotive force.
[0072] Step S208: Based on the quadrature axis current compensation factor, perform negative compensation on the actual quadrature axis current of the air conditioner motor to reduce the actual quadrature axis current.
[0073] According to the cross-axis compensation factor table, negative compensation of the cross-axis current reduces the actual cross-axis current of the air conditioner motor to avoid excessive current.
[0074] For example, assuming the voltage fluctuation is 8%, the actual direct-axis current of the air conditioner motor is 0.3A, the direct-axis current compensation factor is 0.02A, the actual quadrature-axis current of the air conditioner motor is 0.5A, and the quadrature-axis current compensation factor is 0.01A, then the actual operating direct-axis current after positive compensation is 0.3 + 0.02 = 0.32A, and the actual operating quadrature-axis current after negative compensation is 0.5 - 0.01 = 0.49A.
[0075] In this way, the quadrature-axis current decreases and the direct-axis current increases, ensuring that the motor can still operate stably even when the voltage is too high.
[0076] Step S209: Perform negative compensation on the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor to reduce the actual direct-axis current.
[0077] When the voltage fluctuation value P < 0, it means that the actual power supply voltage is lower than the rated voltage. At this time, the air conditioner motor will experience problems such as magnetic flux loss and insufficient voltage leading to insufficient motor speed. Therefore, according to the direct axis compensation factor table, the direct axis current is negatively compensated to reduce the actual direct axis current and reduce magnetic flux loss.
[0078] Step S210: Based on the quadrature axis current compensation factor, perform positive compensation on the actual quadrature axis current of the air conditioner motor to increase the actual quadrature axis current.
[0079] According to the cross-axis compensation factor table, positive compensation of the cross-axis current is performed to increase the actual cross-axis current in order to compensate for the voltage.
[0080] For example, assuming the voltage fluctuation is -10%, the actual direct-axis current of the air conditioner motor is 0.3A, the direct-axis current compensation factor is 0.02A, the actual quadrature-axis current of the air conditioner motor is 0.5A, and the quadrature-axis current compensation factor is 0.01A, then the actual operating direct-axis current after negative compensation is 0.3 - 0.02 = 0.28A, and the actual operating quadrature-axis current after positive compensation is 0.5 + 0.01 = 0.51A.
[0081] In this way, the quadrature-axis current increases and the direct-axis current decreases, ensuring that the motor can still operate stably even when the voltage is too low.
[0082] By following the steps above, we can not only ensure the stable overall operating efficiency of the air conditioner motor, but also reduce motor wear, extend motor life, and improve user experience.
[0083] See Figure 3 , Figure 3 This is a schematic diagram of the structure of a control device for an air conditioner motor provided in an embodiment of this application. Figure 3 As shown, the control device 300 for the air conditioner motor includes: The first acquisition module 301 is used to acquire the current status parameters of the air conditioner motor and the voltage fluctuation value of the power grid that supplies power to the air conditioner motor. The status parameters include multiple parameters related to the operating status of the air conditioner motor. The determination module 302 is used to determine the direct-axis current compensation factor and the quadrature-axis current compensation factor based on the state parameters and voltage fluctuation values. The direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor. The compensation module 303 is used to perform differential compensation on the actual direct-axis current and actual quadrature-axis current of the air conditioner motor based on the voltage fluctuation value, the direct-axis current compensation factor and the quadrature-axis current compensation factor. The control module 304 is used to control the air conditioner motor to run according to the compensated direct-axis current and the compensated quadrature-axis current.
[0084] Furthermore, the compensation module 303 includes: The judgment submodule is used to determine whether the voltage fluctuation value is positive. The first compensation submodule is used to perform positive compensation on the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor and negative compensation on the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor when the voltage fluctuation value is positive. The second compensation submodule is used to perform negative compensation on the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor and positive compensation on the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor when the voltage fluctuation value is negative. The maintenance submodule is used to maintain the actual direct-axis current and actual quadrature-axis current of the air conditioner motor constant when the voltage fluctuation value is zero.
[0085] Furthermore, the first compensation submodule includes: The first compensation unit is used to add a direct-axis current compensation factor to the actual direct-axis current of the air conditioner motor to perform positive compensation for the actual direct-axis current of the air conditioner motor, and to subtract the quadrature-axis current compensation factor from the actual quadrature-axis current of the air conditioner motor to perform negative compensation for the actual quadrature-axis current of the air conditioner motor. The second compensation submodule includes: The second compensation unit is used to subtract the direct-axis current compensation factor from the actual direct-axis current of the air conditioner motor to perform negative compensation for the actual direct-axis current of the air conditioner motor, and to add the quadrature-axis current compensation factor to the actual quadrature-axis current of the air conditioner motor to perform positive compensation for the actual quadrature-axis current of the air conditioner motor.
[0086] Furthermore, module 302 includes: The first determining submodule is used to determine the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, and reference quadrature-axis current of the air conditioner motor based on the status parameters. The second determining submodule is used to determine the direct-axis current compensation factor and the quadrature-axis current compensation factor from a preset compensation factor table based on the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, reference quadrature-axis current, and voltage fluctuation value.
[0087] Furthermore, the compensation factor table includes a first compensation factor sub-table and a second compensation factor sub-table. The first compensation factor sub-table is used to characterize the mapping relationship between the direct-axis current compensation factor, actual temperature, actual direct-axis current, reference direct-axis current, and voltage fluctuation value. The second compensation factor sub-table is used to characterize the mapping relationship between the quadrature-axis current compensation factor, actual temperature, actual quadrature-axis current, reference quadrature-axis current, and voltage fluctuation value.
[0088] Furthermore, the control device 300 for the air conditioner motor also includes: The second acquisition module is used to acquire multiple training samples. Each training sample includes a state parameter sample, a voltage fluctuation value sample, and a true value label. The true value label includes the true value of the direct-axis current compensation factor and the true value of the quadrature-axis current compensation factor. The state parameter sample includes the temperature sample of the air conditioner motor, the actual direct-axis current sample, the reference direct-axis current sample, the actual quadrature-axis current sample, and the reference quadrature-axis current sample. The iterative training module is used to input multiple training samples into the model to be trained sequentially for iterative training, and obtain the predicted values of the direct-axis current compensation factor and the quadrature-axis current compensation factor after each iteration of training. The calculation module is used to calculate the first loss value and the second loss value after each training iteration. The first loss value is calculated based on the true value and the predicted value of the direct-axis current compensation factor, and the second loss value is calculated based on the true value and the predicted value of the quadrature-axis current compensation factor. The stopping module is used to continue iterative training of the model to be trained if the first loss value and the second loss value do not meet the preset conditions, until the first loss value and the second loss value meet the preset conditions, at which point the iterative training stops and the deep learning network model is obtained. The preset conditions are that the first loss value and the second loss value decrease to a stable level. The storage module is used to determine the compensation factor table based on the deep learning network model and store the compensation factor table in a preset storage location.
[0089] Furthermore, the first acquisition module 301 includes: The acquisition submodule is used to obtain the rated voltage of the air conditioner motor and the current actual power supply voltage of the power grid; The calculation submodule is used to calculate the difference between the rated voltage and the actual supply voltage, and to calculate the ratio between the difference and the rated voltage; The third determination submodule is used to determine the ratio as a voltage fluctuation value.
[0090] It should be noted that the air conditioner motor control device 300 can implement the air conditioner motor control method provided in any of the aforementioned method embodiments and achieve the same technical effect, which will not be elaborated here.
[0091] like Figure 4 As shown, this application embodiment also provides an air conditioner, including a processor 411, a communication interface 412, a memory 413 and a communication bus 414, wherein the processor 411, the communication interface 412 and the memory 413 communicate with each other through the communication bus 414. Memory 413 is used to store computer programs; In one embodiment of this application, the processor 411, when executing the program stored in the memory 413, implements the air conditioner motor control method provided in any of the foregoing method embodiments.
[0092] In addition, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the air conditioner motor control method provided in any of the foregoing method embodiments.
[0093] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0094] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0095] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also mean including the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0096] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A control method for an air conditioner motor, characterized in that, The method includes: The current status parameters of the air conditioner motor are obtained, as well as the voltage fluctuation value of the power grid supplying power to the air conditioner motor. The status parameters include multiple parameters related to the operating status of the air conditioner motor. Based on the state parameters and the voltage fluctuation value, a direct-axis current compensation factor and a quadrature-axis current compensation factor are determined. The direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor. Based on the voltage fluctuation value, the direct-axis current compensation factor, and the quadrature-axis current compensation factor, differential compensation is performed on the actual direct-axis current and the actual quadrature-axis current of the air conditioner motor; The air conditioner motor is controlled to operate according to the compensated direct-axis current and the compensated quadrature-axis current.
2. The method according to claim 1, characterized in that, The differential compensation for the actual direct-axis current and actual quadrature-axis current of the air conditioner motor based on the voltage fluctuation value, the direct-axis current compensation factor, and the quadrature-axis current compensation factor includes: Determine whether the voltage fluctuation value is positive; When the voltage fluctuation value is positive, the actual direct-axis current of the air conditioner motor is positively compensated based on the direct-axis current compensation factor, and the actual quadrature-axis current of the air conditioner motor is negatively compensated based on the quadrature-axis current compensation factor. When the voltage fluctuation value is negative, the actual direct-axis current of the air conditioner motor is negatively compensated based on the direct-axis current compensation factor, and the actual quadrature-axis current of the air conditioner motor is positively compensated based on the quadrature-axis current compensation factor. When the voltage fluctuation value is zero, the actual direct-axis current and actual quadrature-axis current of the air conditioner motor are kept constant.
3. The method according to claim 2, characterized in that, The step of positively compensating the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor, and negatively compensating the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor, includes: The direct-axis current compensation factor is added to the actual direct-axis current of the air conditioner motor to provide positive compensation for the actual direct-axis current, and the quadrature-axis current compensation factor is subtracted from the actual quadrature-axis current of the air conditioner motor to provide negative compensation for the actual quadrature-axis current. The step of negatively compensating the actual direct-axis current of the air conditioner motor based on the direct-axis current compensation factor, and positively compensating the actual quadrature-axis current of the air conditioner motor based on the quadrature-axis current compensation factor, includes: The direct-axis current compensation factor is subtracted from the actual direct-axis current of the air conditioner motor to provide negative compensation for the actual direct-axis current, and the quadrature-axis current compensation factor is added to the actual quadrature-axis current of the air conditioner motor to provide positive compensation for the actual quadrature-axis current.
4. The method according to claim 1, characterized in that, The step of determining the direct-axis current compensation factor and the quadrature-axis current compensation factor based on the state parameters and the voltage fluctuation value includes: Based on the aforementioned state parameters, determine the actual temperature, actual direct-axis current, reference direct-axis current, actual quadrature-axis current, and reference quadrature-axis current of the air conditioning motor. Based on the actual temperature, the actual direct-axis current, the reference direct-axis current, the actual quadrature-axis current, the reference quadrature-axis current, and the voltage fluctuation value, the direct-axis current compensation factor and the quadrature-axis current compensation factor are determined from a preset compensation factor table.
5. The method according to claim 4, characterized in that, The compensation factor table includes a first compensation factor sub-table and a second compensation factor sub-table. The first compensation factor sub-table is used to characterize the mapping relationship between the direct-axis current compensation factor, the actual temperature, the actual direct-axis current, the reference direct-axis current, and the voltage fluctuation value. The second compensation factor sub-table is used to characterize the mapping relationship between the quadrature-axis current compensation factor, the actual temperature, the actual quadrature-axis current, the reference quadrature-axis current, and the voltage fluctuation value.
6. The method according to claim 4, characterized in that, Before determining the direct-axis current compensation factor and the quadrature-axis current compensation factor from a preset compensation factor table based on the actual temperature, the actual direct-axis current, the reference direct-axis current, the actual quadrature-axis current, the reference quadrature-axis current, and the voltage fluctuation value, the method further includes: Multiple training samples are obtained, wherein each training sample includes a state parameter sample, a voltage fluctuation value sample, and a true value label. The true value label includes the true value of the direct-axis current compensation factor and the true value of the quadrature-axis current compensation factor. The state parameter sample includes the temperature sample, actual direct-axis current sample, reference direct-axis current sample, actual quadrature-axis current sample, and reference quadrature-axis current sample of the air conditioner motor. The multiple training samples are sequentially input into the model to be trained for iterative training, and the predicted values of the direct-axis current compensation factor and the quadrature-axis current compensation factor are obtained after each iteration of training. Calculate the first loss value and the second loss value after each training iteration, wherein the first loss value is calculated based on the true value and the predicted value of the direct-axis current compensation factor, and the second loss value is calculated based on the true value and the predicted value of the quadrature-axis current compensation factor; If the first loss value and the second loss value do not meet the preset condition, the training of the model to be trained continues until the first loss value and the second loss value meet the preset condition, at which point the training stops and the deep learning network model is obtained. The preset condition is that the first loss value and the second loss value decrease to a stable level. The compensation factor table is determined based on the deep learning network model and stored in a preset storage location.
7. The method according to claim 1, characterized in that, The step of obtaining the voltage fluctuation value of the power grid supplying power to the air conditioner motor includes: Obtain the rated voltage of the air conditioner motor and the current actual supply voltage of the power grid; Calculate the difference between the rated voltage and the actual supply voltage, and calculate the ratio between the difference and the rated voltage; The ratio is determined as the voltage fluctuation value.
8. A control device for an air conditioner motor, characterized in that, The device includes: The first acquisition module is used to acquire the current status parameters of the air conditioner motor and the voltage fluctuation value of the power grid that supplies power to the air conditioner motor. The status parameters include multiple parameters related to the operating status of the air conditioner motor. The determining module is used to determine the direct-axis current compensation factor and the quadrature-axis current compensation factor based on the state parameters and the voltage fluctuation value, wherein the direct-axis current compensation factor is used to compensate for the actual direct-axis current of the air conditioner motor, and the quadrature-axis current compensation factor is used to compensate for the actual quadrature-axis current of the air conditioner motor. The compensation module is used to perform differential compensation on the actual direct-axis current and actual quadrature-axis current of the air conditioner motor based on the voltage fluctuation value, the direct-axis current compensation factor and the quadrature-axis current compensation factor; The control module is used to control the air conditioner motor to operate according to the compensated direct-axis current and the compensated quadrature-axis current.
9. An air conditioner, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor, when executing a program stored in a memory, implements the air conditioner motor control method according to any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the air conditioner motor control method according to any one of claims 1-7.