Compressor control method, storage medium and household appliance

By calculating the real-time electrical angular velocity and mechanical phase of the compressor motor, and optimizing the current compensation value and commands, the vibration and noise problems of the compressor during low-speed operation were solved, and an effective suppression effect was achieved under heavy load and low frequency.

CN121333166APending Publication Date: 2026-01-13HISENSE HOME APPLIANCES GRP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410874969.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

When the compressor is running at low speed, the large load inertia and the fact that the motor shaft is not located on the load center of gravity make it difficult to effectively suppress vibration and noise problems, especially when running at low frequency under heavy load.

Method used

By acquiring the real-time electrical angular velocity of the motor, the mechanical phase of the single-frequency and K-frequency harmonics is calculated through integration. The current compensation value is then calculated, and the current command is adjusted according to the current compensation value. Combined with multiple harmonic suppression technology, the current distribution is optimized to suppress vibration and noise.

Benefits of technology

Under heavy load and low frequency operation, it effectively suppresses vibration and noise, improves current compensation efficiency, enhances motor torque compensation effect, and achieves more efficient noise and vibration control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121333166A_ABST
    Figure CN121333166A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of a compressor, a storage medium and a household electrical appliance, and the method comprises the steps: obtaining the real-time electrical angular velocity of a motor in the compressor, carrying out the integration of the real-time electrical angular velocity, and obtaining a single frequency multiplication mechanical phase and a K frequency multiplication mechanical phase, K being an odd number greater than 1; calculating a current compensation value according to the single frequency multiplication mechanical phase and the K frequency multiplication mechanical phase; adjusting a current instruction of the motor according to the current compensation value; and providing current for the motor according to the magnitude of the current indicated by the adjusted current instruction. According to the technical scheme, vibration and noise generated in the operation process of the motor are avoided, and even if the load is heavy and the rotating speed of the motor is slow, the vibration and noise can be suppressed to a great extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of compressor control, specifically relating to a compressor control method, storage medium, and household appliance. Background Technology

[0002] With the widespread use of home appliances, compressors, as an important component of these appliances, are also widely used. Given today's technological advancements and improved living standards, users have increasingly higher demands for compressors in home appliances. For example, regarding the vibration and noise of compressors during low-frequency operation, users require that the vibration and noise be minimized.

[0003] Because the inertia of the load is relatively large when the compressor is running at low speed, and the motor shaft of the compressor cannot be located absolutely above the center of gravity of the load, the compressor motor will generate greater vibration and noise when running at low speed, especially when the load is heavy and the speed is slow.

[0004] Therefore, how to solve the vibration and noise generated during motor operation is an urgent problem to be solved. Summary of the Invention

[0005] The purpose of this application is to solve the vibration and noise generated during the operation of the motor.

[0006] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0007] According to one aspect of the embodiments of this application, an embodiment of this application provides a control method for a compressor, the method comprising: acquiring the real-time electrical angular velocity of a motor in the compressor; integrating the real-time electrical angular velocity to obtain a single-frequency mechanical phase and a K-frequency mechanical phase, where K is an odd number greater than 1; calculating a current compensation value based on the single-frequency mechanical phase and the K-frequency mechanical phase; adjusting the current command of the motor according to the current compensation value; and providing current to the motor according to the current magnitude indicated by the adjusted current command.

[0008] In this embodiment, based on the principle that a larger current compensation value leads to greater torque compensation, after compensating the current through a single-frequency mechanical phase and real-time electrical angular velocity, multiple harmonic suppression is applied to the initial current compensation value obtained based on the single-frequency mechanical phase. This allows the same current compensation value to achieve a better compensation effect, thereby increasing the upper limit of the torque compensation value corresponding to the current compensation value. Even under heavy load and low-frequency operation, it can effectively suppress vibration and noise.

[0009] In one embodiment of this application, the product of the reciprocal of the number of motor pole pairs and the real-time electrical angular velocity is integrated to obtain a single-frequency mechanical phase; the product of the reciprocal of the number of motor pole pairs and the real-time electrical angular velocity is multiplied by K and then integrated to obtain a K-frequency mechanical phase.

[0010] In this embodiment, the K-fold mechanical phase is calculated based on the real-time angular velocity of the motor in the compressor and the number of electrode pairs in the motor. This embodiment allows for targeted calculations for motors with different numbers of electrode pairs. This makes the technical means described in this embodiment more universal and applicable to different types of motors. Furthermore, for different motors, K can be set to different odd numbers to calculate the optimal current compensation value adapted to the motor.

[0011] In one embodiment of this application, an initial current compensation value is calculated based on the single-frequency mechanical phase and the real-time electrical angular velocity; and a current compensation value is calculated based on the initial current compensation value and the K-frequency mechanical phase.

[0012] In this embodiment, the initial current compensation value is first calculated based on the single-frequency mechanical phase and the real-time electrical angular velocity. Then, the initial current compensation value is corrected based on the K-frequency mechanical phase and the initial current compensation value to obtain the final applied current compensation value. The K-frequency mechanical phase is easily obtained from the single-frequency mechanical phase, allowing for the calculation of the current compensation value with less data and computational effort. This significantly improves the efficiency of computer-calculated current compensation.

[0013] In one embodiment of this application, the current compensation value is calculated using the following formula based on the initial current compensation value and the K-fold frequency mechanical phase:

[0014]

[0015] Among them, I qt0 I is the initial current compensation value. qt0M I is the peak value that the initial current compensation value can achieve. qt θ is the current compensation value. Km The phase is K times the mechanical phase, and N is a set constant.

[0016] In this embodiment, by substituting the initial current compensation value and the K-fold frequency mechanical phase into the above formula, the final applied current compensation value can be directly obtained. The calculation of the current compensation value can be achieved using less data and computation, greatly improving the efficiency of compressor current compensation calculation.

[0017] In one embodiment of this application, K is 3.

[0018] In the embodiments of this application, when K is 3, the suppression effect on the initial compensation current of the motor of most compressors is the best. That is, when the current compensation value is the same, the current compensation value calculated by K equals 3 can achieve the best suppression effect on vibration and noise.

[0019] In one embodiment of this application, an initial current command is provided to the motor; the initial current command is adjusted according to the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the current command.

[0020] In this embodiment, before adjusting the motor current command based on the current compensation value, the initial current command is first adjusted based on the real-time electrical angular velocity and the target electrical angular velocity. This is because the real-time electrical angular velocity and the target electrical angular velocity may be inconsistent, indicating that the motor has not reached the required electrical angular velocity, meaning there is an error in the current command or the motor itself, preventing the compressor from achieving the preset operating effect. Therefore, during motor operation, it is necessary to obtain and compare the motor's real-time electrical angular velocity and the target electrical angular velocity to adjust the current command. This ensures that the current supplied to the motor under the current command makes the motor's real-time angular velocity coincide with the target angular velocity, thereby enabling the motor to achieve the preset operating effect. This also provides a precise adjustment target for the current compensation value, allowing for more accurate adjustment of the motor and maximizing the suppression of motor vibration and noise.

[0021] In one embodiment of this application, the initial torque current command and the initial excitation current command are adjusted according to the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the torque current command and the temporary excitation current command, respectively; the maximum torque current ratio is calculated according to the torque current command and the motor parameters and electromagnetic parameters of the motor; the temporary excitation current command is adjusted according to the maximum torque current ratio to obtain the excitation current command, wherein the current command includes the excitation current command and the torque current command.

[0022] In this embodiment, the initial current command is divided into an initial torque current command and an initial excitation current command. The initial torque current command and the initial excitation current command are adjusted according to the real-time electrical angular velocity and the target electrical angular velocity to obtain the torque current command and the temporary excitation current command. Then, the temporary excitation current command is corrected using the calculated maximum torque-to-current ratio to obtain the excitation current command and the torque current command. This further divides the input motor current into torque current and excitation current, maximizing the torque received by the motor under a given input current. This maximizes the utilization of current power, resulting in greater energy savings and significantly improving the user's energy-saving experience.

[0023] In one embodiment of this application, the torque current command is adjusted according to the current compensation value and the actual torque current in the circuit to obtain an adjusted torque current command; the excitation current command is adjusted according to the actual excitation current in the circuit to obtain an adjusted excitation current command, wherein the adjusted current command includes the adjusted torque current command and the adjusted excitation current command.

[0024] In this embodiment, the torque current command is first adjusted based on the current compensation value and the actual torque current in the circuit to obtain the adjusted torque current command. Then, the torque current command is compensated based on the current compensation value to achieve greater torque under the same current value. Next, the excitation current command is adjusted based on the actual excitation current in the circuit to obtain the adjusted excitation current command. The adjusted current command includes both the adjusted torque current command and the adjusted excitation current command, making the excitation current command more accurate, and consequently, making the excitation current more precise, allowing the motor to have maximum torque under the same current.

[0025] The current command is adjusted based on the difference between the current command and the actual current. The current command includes the excitation current command and the torque current command, which further refines the current command to eliminate the error between the actual current and the current command, so that the motor can achieve the preset operating effect and suppress the vibration and noise of the motor to the greatest extent.

[0026] According to a second aspect of the embodiments of this application, a storage medium is provided that stores computer-readable instructions thereon, which, when executed by a computer's processor, cause the computer to perform the methods provided in the various optional implementations described above.

[0027] According to a third aspect of the embodiments of this application, a household appliance is provided, the household appliance comprising: a compressor; and

[0028] The compressor is controlled by any of the methods described above to suppress noise and vibration generated by the compressor.

[0029] The technical effects of the second and third aspects of this application can be referred to the technical effects of the first or second aspects, and will not be repeated here.

[0030] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part from practice of this application.

[0031] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this application. Attached Figure Description

[0032] 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. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0033] Figure 1 A flowchart of a compressor control method according to an embodiment of this application is shown.

[0034] Figure 2 A flowchart is shown showing the process of integrating the real-time electrical angular velocity separately to obtain the single-frequency mechanical phase and the K-frequency mechanical phase according to an embodiment of this application.

[0035] Figure 3 A flowchart illustrating the calculation of current compensation values ​​based on the single-frequency mechanical phase and the K-frequency mechanical phase according to one embodiment of this application is shown.

[0036] Figure 4 A flowchart illustrating the process of obtaining a current command according to an embodiment of this application is shown.

[0037] Figure 5 A flowchart is shown illustrating how, according to one embodiment of this application, an initial current command is adjusted to obtain the current command based on the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the current command.

[0038] Figure 6 A flowchart illustrating a current command for adjusting the motor based on the current compensation value, according to one embodiment of this application, is shown. Detailed Implementation

[0039] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art.

[0040] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0041] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0042] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0043] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0044] When a compressor motor operates at low speeds, the load generates significant inertia, and the motor shaft cannot be perfectly positioned above the load's center of gravity. This means that to achieve the preset speed at different load positions, the compressor motor requires varying torque. Based on the principle that torque is determined by current, different input currents are needed under different conditions to ensure the load reaches the preset speed at different positions. Therefore, the load needs to provide different currents to the motor at different positions to consistently maintain the preset speed, thereby reducing vibration and noise during motor operation. This is especially pronounced under heavy-load, low-frequency operation.

[0045] However, the motor driving the compressor typically operates with a stable current. Therefore, by compensating for the input motor current—that is, when the motor requires a larger torque to maintain the set speed—a compensating current is added to the normal input current to increase the motor's torque; torque compensation is a result of current compensation. When the motor requires a smaller torque to maintain the set speed, a negative compensating current is added to the normal input current to reduce the motor's torque.

[0046] However, under heavy load and low frequency operation, the requirements for current compensation values ​​are greater, meaning a larger torque compensation amplitude is required to effectively suppress vibration. This is limited by the current withstand capability of power devices and the demagnetizing current of the motor. Excessive compensation often triggers phase current protection, limiting the peak value to within the normal range. If the compensation amplitude is limited, the vibration suppression effect will be worse.

[0047] Based on the principle that a larger current compensation value leads to greater torque compensation, this application, after compensating the current through a single-frequency mechanical phase and real-time electrical angular velocity, further applies multiple harmonic suppression to the initial current compensation value based on a K-fold frequency mechanical phase. This allows the same current compensation value to achieve a better compensation effect, thereby increasing the upper limit of the torque compensation value corresponding to the current compensation value. Even under heavy load and low-frequency operation, it can effectively suppress vibration and noise.

[0048] Please see Figure 1 , Figure 1 A flowchart illustrating a compressor control method according to an embodiment of this application is shown. This application provides execution steps of a compressor control method, including:

[0049] Step S110: Obtain the real-time electrical angular velocity of the motor in the compressor, integrate the real-time electrical angular velocity to obtain the single-frequency mechanical phase and the K-frequency mechanical phase, where K is an odd number greater than 1;

[0050] Step S120: Calculate the current compensation value based on the single-frequency mechanical phase and the K-frequency mechanical phase;

[0051] Step S130: Adjust the motor current command according to the current compensation value;

[0052] Step S140: Provide current to the motor according to the current magnitude indicated by the adjusted current command.

[0053] The above four steps are described in detail below.

[0054] In step S110, whenever the real-time electrical angular velocity of the motor in the compressor is acquired, the real-time electrical angular velocity is integrated using different integration methods within a set time period or immediately to obtain the single-frequency mechanical phase and the K-frequency mechanical phase, where K refers to an odd number greater than 1. According to the property of odd numbers, K is a positive integer that is not divisible by 2. Electrical angular velocity refers to the angle of electrical charge transmission in a circuit per unit time. In a motor, electrical angular velocity specifically refers to the angle the rotor rotates per second when the motor rotates. When there are multiple rotors in the motor, the electrical angular velocity is the sum of the angles rotated by all rotors per unit time.

[0055] Please see Figure 2 , Figure 2 A flowchart illustrating the process of integrating the real-time electrical angular velocity separately to obtain the single-frequency mechanical phase and the K-frequency mechanical phase according to an embodiment of this application is shown. The embodiment of this application provides step S110 of integrating the real-time electrical angular velocity separately to obtain the single-frequency mechanical phase and the K-frequency mechanical phase, including:

[0056] Step S111: Integrate the product of the reciprocal of the number of pole pairs of the motor and the real-time electrical angular velocity to obtain the single-frequency mechanical phase;

[0057] Step S112: Multiply the product of the reciprocal of the number of motor pole pairs and the real-time electrical angular velocity by K and then integrate to obtain the K-fold frequency mechanical phase.

[0058] The two steps described above are described in detail below.

[0059] In this embodiment, the K-fold frequency mechanical phase is calculated based on the real-time angular velocity of the motor in the compressor and the number of electrode pairs in the motor. This embodiment allows for targeted calculations for motors with different numbers of electrode pairs. This makes the technical means described in this embodiment more universal and applicable to different types of motors. Furthermore, K can be set to different odd numbers for different motors, allowing for the calculation of the optimal current compensation value adapted to the motor.

[0060] In step S111, the product of the reciprocal of the number of motor pole pairs and the real-time electrical angular velocity is obtained, that is, the ratio of the real-time electrical angular velocity to the number of motor pole pairs is obtained, and then integrated to obtain the single-frequency mechanical phase.

[0061] The number of pole pairs in a motor refers to the number of magnetic pole pairs formed by each phase winding in the motor. In a three-phase AC motor, each phase winding generates N and S magnetic poles, and the number of poles is the number of magnetic poles contained in each phase. Since magnetic poles appear in pairs, the number of poles in a motor can be an even number such as 2, 4, 6, 8, etc.

[0062] When each of the three phases A, B, and C has only one coil evenly and symmetrically distributed on the circumference, a single change in current results in one complete rotation of the rotating magnetic field, which constitutes a pair of poles. If each phase winding consists of multiple coils arranged according to a certain rule, multiple pairs of poles can be formed.

[0063] In step S112, the product of the reciprocal of the number of motor pole pairs and the real-time electrical angular velocity is obtained, that is, the ratio of the real-time electrical angular velocity to the number of motor pole pairs is obtained. The obtained value is multiplied by K and then integrated to obtain the K-fold frequency mechanical phase.

[0064] In another embodiment of this application, if the compressor load is less than the first load value, the motor load is relatively small. In this case, the current compensation value is directly calculated based on the single-frequency mechanical phase to adjust the current command, thereby eliminating vibration and noise generated during compressor operation. If the compressor load is greater than or equal to the first load value, the motor load is relatively large. In this case, the current compensation value is calculated based on both the single-frequency and K-frequency mechanical phases. That is, in this embodiment, different methods are used to calculate the current compensation value for different compressor loads. When the load is small, a less computationally intensive method can be used, greatly improving the calculation efficiency of the current compensation value.

[0065] In another embodiment of this application, if the compressor speed is greater than the first speed, the motor speed is also higher. In this case, the current compensation value is directly calculated based on the single-frequency mechanical phase to adjust the current command, thereby eliminating vibration and noise generated during compressor operation. If the compressor speed is less than the first speed, the motor speed is also lower. In this case, the current compensation value is calculated based on both the single-frequency and K-frequency mechanical phases. That is, in this embodiment, different methods are used to calculate the current compensation value for different compressor loads. When the load is small, a method with less computation can be used, greatly improving the calculation efficiency of the current compensation value.

[0066] In another embodiment of this application, if the compressor load is greater than or equal to the first load value, the motor load is relatively large, and the compressor speed is less than the first speed, resulting in a lower motor speed. The current compensation value is then calculated based on the single-frequency mechanical phase and the K-frequency mechanical phase. That is, in this embodiment, the current compensation value is calculated in different ways for different compressor loads. When the load is small, a less computationally intensive method can be used, greatly improving the calculation efficiency of the current compensation value. In other cases, due to the small load or high speed, the current compensation value can be directly calculated based on the single-frequency mechanical phase to adjust the current command, thereby eliminating the vibration and noise generated during compressor operation.

[0067] In step S120, it is first necessary to clarify that both the single-frequency mechanical phase and the K-frequency mechanical phase of the motor are mechanical phases of the motor. The mechanical phase of the motor refers to the angular or positional relationship of its mechanical components (such as the rotor, shaft, etc.) relative to a fixed reference point or initial position during operation. This relationship changes over time, describing the mechanical state of the motor at a specific moment. From this, the load weight distribution during motor operation can be determined. It is precisely because of the uneven weight distribution of the load that the motor vibrates and produces noise. Therefore, based on the single-frequency and K-frequency mechanical phases of the motor, it can be determined when positive current compensation (increasing current) and negative current compensation (decreasing current) are needed during the rotation of the motor.

[0068] This application combines K-harmonic mechanical phase with single-harmonic phase, resulting in better compensation for the same current compensation value, thereby increasing the upper limit of the torque compensation value corresponding to the current compensation value. Even under heavy load and low-frequency operation, it effectively suppresses vibration and noise.

[0069] Please see Figure 3 , Figure 3 A flowchart illustrating the calculation of a current compensation value based on the single-frequency mechanical phase and the K-frequency mechanical phase according to an embodiment of this application is shown. This application embodiment provides step S120 for calculating the current compensation value based on the single-frequency mechanical phase and the K-frequency mechanical phase, including:

[0070] Step S121: Calculate the initial current compensation value based on the single-frequency mechanical phase and the real-time electrical angular velocity;

[0071] Step S122: Calculate the current compensation value based on the initial current compensation value and the K-fold frequency mechanical phase.

[0072] The two steps described above are described in detail below.

[0073] In step S121, the initial current compensation value is calculated based on the single-frequency mechanical phase and the real-time electrical angular velocity.

[0074] In step S122, the current compensation value is then obtained by further calculation based on the K-fold frequency mechanical phase and the initial current compensation value.

[0075] In this embodiment, the initial current compensation value is first calculated based on the single-frequency mechanical phase and the real-time electrical angular velocity. Then, the initial current compensation value is corrected based on the K-frequency mechanical phase and the initial current compensation value to obtain the final applied current compensation value. The K-frequency mechanical phase is easily obtained from the single-frequency mechanical phase, allowing for the calculation of the current compensation value with less data and computation. This significantly improves the efficiency of compressor current compensation calculation.

[0076] In one embodiment of this application, the current compensation value can be calculated as follows: based on the initial current compensation value and the K-fold frequency mechanical phase, the current compensation value is calculated using the following formula:

[0077]

[0078] Among them, I qt0 I is the initial current compensation value. qt0M I is the peak value that the initial current compensation value can achieve. qt θ is the current compensation value. Km The phase is K times the mechanical phase, and N is a set constant.

[0079] In this embodiment, by substituting the initial current compensation value and the K-fold frequency mechanical phase into the above formula, the final applied current compensation value can be directly obtained. The calculation of the current compensation value can be achieved using less data and computation, greatly improving the efficiency of compressor current compensation calculation.

[0080] In one embodiment of this application, "K" in the K-fold mechanical phase is 3. In this embodiment, when K is 3, the suppression effect on the initial compensation current of the motor of most compressors is the best. That is, when the current compensation value is the same, the current compensation value calculated by K equals 3 can achieve the best suppression effect on vibration and noise.

[0081] Please see Figure 4 , Figure 4 A flowchart illustrating the process of obtaining a current command according to an embodiment of this application is shown. This application embodiment provides a step for obtaining a current command, including:

[0082] Step S401: Provide an initial current command to the motor;

[0083] Step S402: Based on the difference between the real-time electrical angular velocity and the target electrical angular velocity, adjust the initial current command to obtain the current command.

[0084] The two steps described above are described in detail below.

[0085] In step S401, an initial current command is provided to the motor, and the motor starts running according to the initial current command, thereby obtaining the real-time electrical angular velocity of the motor.

[0086] In step S402, before adjusting the motor current command according to the current compensation value, the initial current command is also adjusted according to the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the current command.

[0087] Before adjusting the motor's current command based on the current compensation value, the initial current command is first adjusted based on the real-time electrical angular velocity and the target electrical angular velocity. This is because the real-time electrical angular velocity and the target electrical angular velocity may not be consistent, indicating that the motor has not reached the required electrical angular velocity, meaning there is an error in the current command or the motor itself, preventing the compressor from achieving the preset operating effect. Therefore, during motor operation, it is necessary to obtain and compare the motor's real-time electrical angular velocity and the target electrical angular velocity to adjust the current command. This ensures that the current supplied to the motor under the current command matches the real-time and target angular velocities, allowing the motor to achieve the preset operating effect. This also provides a precise adjustment target for the current compensation value, enabling more accurate adjustment of the motor and minimizing motor vibration and noise.

[0088] In step S130, the current command is adjusted based on the calculated current compensation value. This ensures that when supplying current to the motor, both the corresponding compensation current and the current indicated by the original current command are supplied simultaneously. The current command specifies the magnitude of the current supplied to the motor. It's important to note that the current compensation value can vary over time. This allows for torque compensation to be applied as the motor rotates, addressing different needs and ensuring the motor maintains a constant speed and stable operation, while reducing vibration and noise.

[0089] Please see Figure 5 , Figure 5 A flowchart illustrating an embodiment of this application is provided, showing how an initial current command is adjusted based on the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the current command. The initial current command includes an initial torque current command and an initial excitation current command. This embodiment provides steps for adjusting the initial current command based on the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the current command, including:

[0090] Step S501: Based on the difference between the real-time electrical angular velocity and the target electrical angular velocity, adjust the initial torque current command and the initial excitation current command respectively to obtain the torque current command and the temporary excitation current command.

[0091] Step S502: Calculate the maximum torque-to-current ratio based on the torque-to-current command and the motor parameters and electromagnetic parameters of the motor;

[0092] Step S503: Adjust the temporary excitation current command according to the maximum torque current ratio to obtain the excitation current command, which includes the excitation current command and the torque current command.

[0093] The above three steps are described in detail below.

[0094] In step S501, the initial torque current command and the initial excitation current command are adjusted according to the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the torque current command and the temporary excitation current command. This is a verification of the operating effect of the currently used current command. Based on the real-time electrical angular velocity and the target electrical angular velocity, it is determined whether the currently used current command has generated an error. If the difference between the real-time electrical angular velocity and the target electrical angular velocity is within the error threshold, and exceeds the error threshold, it indicates that the current command has generated an error. The current command needs to be corrected according to the difference between the real-time electrical angular velocity and the target electrical angular velocity to obtain the torque current command and the temporary excitation current command.

[0095] In step S502, the Maximum Torque Per Ampere (MTPA) is a motor control strategy, particularly applicable to permanent magnet synchronous motors (PMSMs) and other types of motors. Its basic concept is to maximize torque while consuming the same current by adjusting the amplitude and phase of the stator current at a specific motor operating point (e.g., at a specific speed and voltage).

[0096] In a motor control system, the motor's torque is generated by the interaction of stator current and magnetic field. Due to nonlinear phenomena such as magnetic field saturation in motors, different current combinations may produce the same torque, but with different current consumption. Therefore, the goal is to minimize the stator current amplitude while meeting torque requirements, thereby improving the motor's efficiency and power factor. Specifically, this requires the motor control system to be able to measure parameters such as motor speed, current, and torque in real time, and calculate the optimal current combination based on the motor's mathematical model and current operating state. By controlling the amplitude and phase of the stator current, the motor can generate maximum torque at a given speed and voltage while minimizing current consumption.

[0097] In other words, the input current to the motor can be divided into two parts: torque current and excitation current. A proper ratio of these two parts can ensure that the motor has the maximum torque under the same input current.

[0098] Specifically, these parameters depend on the motor's specific parameters, such as flux linkage (λpm), resistance (R), torque inductance and magnetizing inductance, torque current and magnetizing current, etc. These parameters describe the motor's electrical and magnetic characteristics.

[0099] Find the current distribution (torque current and magnetizing current) that minimizes the current given the torque requirement. Use optimization algorithms (such as gradient descent, Newton's method, etc.) to iteratively adjust the current parameters to approximate the optimal solution. This yields the torque current command and the temporary magnetizing current command.

[0100] In step S503, the temporary excitation current command is adjusted according to the maximum torque current ratio to obtain a more accurate excitation current command.

[0101] In this embodiment, the initial current command is divided into an initial torque current command and an initial excitation current command. The initial torque current command and the initial excitation current command are adjusted according to the real-time electrical angular velocity and the target electrical angular velocity to obtain the torque current command and the temporary excitation current command. Then, the temporary excitation current command is corrected using the calculated maximum torque-to-current ratio to obtain the excitation current command and the torque current command. This further divides the input motor current into torque current and excitation current, maximizing the torque received by the motor under a given input current. This maximizes the utilization of current power, resulting in greater energy savings and significantly improving the user's energy-saving experience.

[0102] Please see Figure 6 , Figure 6 A flowchart illustrating an embodiment of this application shows a process for adjusting a motor current command based on a current compensation value. This application embodiment provides step S130 for adjusting a motor current command based on the current compensation value, including:

[0103] Step S131: Adjust the torque current command according to the current compensation value and the actual torque current in the circuit to obtain the adjusted torque current command.

[0104] Step S132: Adjust the excitation current command according to the actual excitation current in the circuit to obtain the adjusted excitation current command. The adjusted current command includes the adjusted torque current command and the adjusted excitation current command.

[0105] The two steps described above are described in detail below.

[0106] In step S131, the torque current command is corrected based on the difference between the actual torque current and the torque current command. This is a check of the operating effect of the currently used torque current command. Based on the difference between the actual torque current and the torque current command, it is determined whether the currently used torque current command has an error, that is, whether the difference between the actual torque current and the torque current command is within the difference threshold. If the difference exceeds the difference threshold, it indicates that the torque current command has an error and needs to be corrected based on the difference between the actual torque current and the torque current command. After the torque current command is accurate, it is adjusted based on the current compensation value to obtain the adjusted torque current command.

[0107] In step S132, the excitation current command is similarly corrected based on the difference between the actual excitation current and the excitation current command. This is a verification of the operating effect of the currently used excitation current command. Based on the difference between the actual excitation current and the excitation current command, it is determined whether the currently used excitation current command has an error. The excitation current command is corrected based on the difference between the actual excitation current and the excitation current command. After the excitation current command is accurate, it is used together with the adjusted torque current command to adjust the magnitude of the motor input current.

[0108] In this embodiment, the torque current command is first adjusted based on the current compensation value and the actual torque current in the circuit to obtain the adjusted torque current command. Then, the torque current command is compensated based on the current compensation value to achieve greater torque under the same current value. Next, the excitation current command is adjusted based on the actual excitation current in the circuit to obtain the adjusted excitation current command. The adjusted current command includes both the adjusted torque current command and the adjusted excitation current command, making the excitation current command more accurate, and consequently, making the excitation current more precise, allowing the motor to have maximum torque under the same current.

[0109] The current command is adjusted based on the difference between the current command and the actual current. The current command includes the excitation current command and the torque current command, which further refines the current command to eliminate the error between the actual current and the current command, so that the motor can achieve the preset operating effect and suppress the vibration and noise of the motor to the greatest extent.

[0110] In step S140, current is supplied to the motor according to the magnitude of the current indicated by the current command.

[0111] The storage medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such transmitted data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0112] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0113] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0114] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, touch terminal, or network device, etc.) to execute the method according to the embodiments of this application.

[0115] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.

[0116] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for controlling a compressor, characterized in that, The method includes: The real-time electrical angular velocity of the motor in the compressor is obtained, and the real-time electrical angular velocity is integrated to obtain the single-frequency mechanical phase and the K-frequency mechanical phase, where K is an odd number greater than 1; Calculate the current compensation value based on the single-frequency mechanical phase and the K-frequency mechanical phase; The motor current command is adjusted according to the current compensation value; The motor is supplied with current according to the current magnitude indicated by the adjusted current command.

2. The method according to claim 1, characterized in that, The step of integrating the real-time electrical angular velocity to obtain the single-frequency mechanical phase and the K-frequency mechanical phase includes: The single-frequency mechanical phase is obtained by integrating the product of the reciprocal of the number of pole pairs of the motor and the real-time electrical angular velocity. Multiply the product of the reciprocal of the number of motor pole pairs and the real-time electrical angular velocity by K, and then integrate to obtain the K-fold frequency mechanical phase.

3. The method according to claim 1, characterized in that, The step of calculating the current compensation value based on the single-frequency mechanical phase and the K-frequency mechanical phase includes: Calculate the initial current compensation value based on the single-frequency mechanical phase and the real-time electrical angular velocity; The current compensation value is calculated based on the initial current compensation value and the K-fold frequency mechanical phase.

4. The method according to claim 3, characterized in that, The step of calculating the current compensation value based on the initial current compensation value and the K-fold frequency mechanical phase further includes: Based on the initial current compensation value and the K-fold frequency mechanical phase, the current compensation value is calculated using the following formula: Among them, I qt0 I is the initial current compensation value. qt0M I is the peak value that the initial current compensation value can achieve. qt θ is the current compensation value. Km The phase is K times the mechanical phase, and N is a set constant.

5. The method according to claim 1, characterized in that, The value of K is 3.

6. The method according to claim 1, characterized in that, Before the instruction to adjust the motor current based on the current compensation value, the method further includes: Provide an initial current command to the motor; The current command is obtained by adjusting the initial current command based on the difference between the real-time electrical angular velocity and the target electrical angular velocity.

7. The method according to claim 6, characterized in that, The initial current command includes an initial torque current command and an initial excitation current command. The step of adjusting the initial current command to obtain the current command based on the difference between the real-time electrical angular velocity and the target electrical angular velocity includes: Based on the difference between the real-time electrical angular velocity and the target electrical angular velocity, the initial torque current command and the initial excitation current command are adjusted to obtain the torque current command and the temporary excitation current command. The maximum torque-to-current ratio is calculated based on the torque-to-current command and the motor parameters and electromagnetic parameters of the motor. The temporary excitation current command is adjusted according to the maximum torque current ratio to obtain the excitation current command, which includes the excitation current command and the torque current command.

8. The method according to claim 7, characterized in that, The command to adjust the motor current based on the current compensation value includes: The torque current command is adjusted according to the current compensation value and the actual torque current in the circuit to obtain the adjusted torque current command. Based on the actual excitation current in the circuit, the excitation current command is adjusted to obtain the adjusted excitation current command, which includes the adjusted torque current command and the adjusted excitation current command.

9. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the compressor control method according to any one of claims 1-8.

10. A household appliance, characterized in that, The household appliance includes: a compressor; and The method described in any one of claims 1-8 controls the compressor to suppress noise and vibration generated by the compressor.

Citation Information

Patent Citations

  • Vibration compensation method for single-rotor compressor and controller

    CN103967794A

  • Method for reducing rotor fluctuation of single-rotor inverter compressor at low frequency, electronic equipment and computer readable storage medium

    CN111262481A

  • Single-rotor compressor vibration suppression method based on rotating speed control

    CN115913018A

  • Electric motor control device, compressor, and electric motor control method

    US20200028454A1

  • Air conditioners and control methods thereof

    WO2023165620A1