Method and device for controlling compressor, air conditioner, storage medium

By obtaining the phase voltage and AC input voltage of the compressor, the determination of the DC bus voltage is optimized, which solves the problem of low DC bus voltage utilization and realizes efficient power utilization and reduced device losses under different operating conditions.

CN116972520BActive Publication Date: 2026-05-12QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD
Filing Date
2022-04-22
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In the existing technology, the DC bus voltage utilization rate of the compressor is low. Especially when the power supply voltage output value is small, the DC reference voltage is difficult to reach the target value, which leads to increased losses of the boost circuit components.

Method used

By acquiring the peak phase voltage of the compressor and the AC input voltage, the first and second DC bus voltages are determined, and the target DC bus voltage is determined based on the relationship between the two. The output of the boost circuit is then optimized to improve voltage utilization.

Benefits of technology

It enables the effective utilization of DC bus voltage under different operating conditions, reduces the loss of drive circuit components, and improves power utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116972520B_ABST
    Figure CN116972520B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of intelligent household appliances, and discloses a method for controlling a compressor, a driving circuit of the compressor comprising a rectifier circuit for rectifying an alternating current input voltage; a voltage boosting circuit connected with the rectifier circuit at an input side and connected with a direct current bus at an output side, for boosting the output voltage of the rectifier circuit; the method comprising: obtaining a phase voltage peak value of the compressor; determining a first direct current bus voltage according to the phase voltage peak value; obtaining the alternating current input voltage; determining a second direct current bus voltage according to the alternating current input voltage; and determining a target direct current bus voltage according to the first direct current bus voltage and the second direct current bus voltage. Since the target direct current bus voltage is determined according to the phase voltage peak value and the alternating current input voltage of the compressor respectively, the utilization rate of the direct current bus voltage is improved. The application further discloses a device for controlling the compressor, an air conditioner and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home appliance technology, such as a method and apparatus for controlling a compressor, an air conditioner, and a storage medium. Background Technology

[0002] Currently, air conditioners use a compressor to control the flow of refrigerant in the pipes. The compressor's operation is controlled by a drive circuit, allowing it to run under different conditions.

[0003] Methods for controlling compressors in related technologies include: acquiring the compressor's load parameters and power supply voltage; calculating the boost factor of the power factor correction (PFC) boost circuit based on the load parameters; calculating the DC reference voltage of the drive circuit based on the boost factor and power supply voltage; and using the DC reference voltage as a target value to perform feedback control on the power factor correction boost circuit to adjust the DC bus voltage.

[0004] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:

[0005] This method enables compressor control by adjusting the DC bus voltage to reduce losses in the boost circuit components. However, the boost factor is determined based on the compressor's load parameters, and the DC reference voltage is determined based on the boost factor and the power supply voltage. When the power supply voltage output is low, the calculated DC reference voltage is too small to reach the target value, resulting in low utilization of the DC bus voltage. Summary of the Invention

[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.

[0007] This disclosure provides a method and apparatus for controlling a compressor, an air conditioner, and a storage medium to improve the utilization rate of DC bus voltage.

[0008] In some embodiments, the compressor drive circuit includes: a rectifier circuit for rectifying an AC input voltage; and a boost circuit, with its input side connected to the rectifier circuit and its output side connected to a DC bus, for boosting the output voltage of the rectifier circuit. The method includes: obtaining the peak phase voltage of the compressor; determining a first DC bus voltage based on the peak phase voltage; obtaining an AC input voltage; determining a second DC bus voltage based on the AC input voltage; and determining a target DC bus voltage based on the first DC bus voltage and the second DC bus voltage.

[0009] Optionally, determining the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage includes: determining the relationship between the first DC bus voltage and the second DC bus voltage; determining the target DC bus voltage as the second DC bus voltage when the first DC bus voltage is less than the second DC bus voltage; and determining the target DC bus voltage as the first DC bus voltage when the first DC bus voltage is greater than or equal to the second DC bus voltage.

[0010] Optionally, determining the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage further includes: determining the relationship between the target DC bus voltage and the DC bus voltage limit value; adjusting the target DC bus voltage to the DC bus voltage limit value when the target DC bus voltage is greater than the DC bus voltage limit value; and keeping the target DC bus voltage unchanged when the target DC bus voltage is less than or equal to the DC bus voltage limit value.

[0011] Optionally, determining the first DC bus voltage based on the phase voltage peak value includes: obtaining the target utilization rate of the DC bus voltage; and determining the ratio of the phase voltage peak value to the target utilization rate of the DC bus voltage as the first DC bus voltage.

[0012] Optionally, determining the second DC bus voltage based on the AC input voltage includes: determining the average value of the AC input voltage based on the AC input voltage; determining the peak value of the AC input voltage based on the average value of the AC input voltage; and determining the second DC bus voltage based on the peak value of the AC input voltage.

[0013] Optionally, determining the second DC bus voltage based on the peak value of the AC input voltage includes: obtaining a boost factor; and determining the second DC bus voltage by multiplying the peak value of the AC input voltage by the boost factor.

[0014] Optionally, obtaining the peak phase voltage of the compressor includes: obtaining the direct-axis current and quadrature-axis current of the compressor; determining the direct-axis voltage and quadrature-axis voltage of the compressor based on the direct-axis current and quadrature-axis current; and determining the peak phase voltage of the compressor based on the direct-axis voltage and quadrature-axis voltage.

[0015] In some embodiments, the apparatus includes a processor and a memory storing program instructions, the processor being configured to execute the method described above for controlling the compressor when the program instructions are executed.

[0016] In some embodiments, the air conditioner includes: a compressor; a drive circuit connected to the compressor for outputting a drive signal to the compressor; and the aforementioned means for controlling the compressor; wherein the drive circuit includes: a rectifier circuit for rectifying an AC input voltage; a boost circuit, with its input side connected to the rectifier circuit and its output side connected to a DC bus, for boosting the output voltage of the rectifier circuit; and an inverter circuit, with its input side connected to the DC bus and its output side connected to the compressor.

[0017] In some embodiments, the storage medium stores program instructions that, when executed, perform the method described above for controlling the compressor.

[0018] The method and apparatus for controlling a compressor, air conditioner, and storage medium provided in the embodiments of this disclosure can achieve the following technical effects:

[0019] Obtain the peak phase voltage of the compressor. Based on the peak phase voltage, determine the first DC bus voltage of the boost circuit as one of the target DC bus voltages. Obtain the AC input voltage. Based on the AC input voltage, determine the second DC bus voltage of the boost circuit as one of the target DC bus voltages. Based on the first and second DC bus voltages of the boost circuit, determine the target DC bus voltage as the expected output voltage of the boost circuit. Since the target DC bus voltage is determined based on the peak phase voltage of the compressor and the AC input voltage, by determining the optimal DC bus voltage as the target DC bus voltage, the target DC bus voltage reaches the target value, thereby improving the utilization rate of the DC bus voltage.

[0020] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description

[0021] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:

[0022] Figure 1 This is a schematic diagram of the structure of an air conditioner provided in an embodiment of this disclosure;

[0023] Figure 2 This is a control flowchart of a method for controlling a compressor provided in an embodiment of this disclosure;

[0024] Figure 3 This is a schematic diagram of a method for controlling a compressor provided in an embodiment of this disclosure;

[0025] Figure 4This is a schematic diagram of another method for controlling a compressor provided in an embodiment of this disclosure;

[0026] Figure 5 This is a schematic diagram of another method for controlling a compressor provided in an embodiment of this disclosure;

[0027] Figure 6 This is a schematic diagram of another method for controlling a compressor provided in an embodiment of this disclosure;

[0028] Figure 7 This is a schematic diagram of another method for controlling a compressor provided in an embodiment of this disclosure;

[0029] Figure 8 This is a schematic diagram of a device for controlling a compressor provided in an embodiment of this disclosure.

[0030] Figure label:

[0031] 11: Compressor; 12: Drive circuit; 13: Control circuit; 121: Rectifier circuit; 122: Boost circuit; 123: Inverter circuit; 41: Processor; 42: Memory; 43: Communication interface; 44: Bus. Detailed Implementation

[0032] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.

[0033] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.

[0034] Unless otherwise stated, the term "multiple" means two or more.

[0035] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.

[0036] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0037] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.

[0038] Combination Figure 1 As shown, this embodiment of the present disclosure provides an air conditioner, including a compressor 11 and a drive circuit 12. The drive circuit 12 is connected to the compressor 11 and is used to output a drive signal to the compressor 11. The drive circuit 12 includes a rectifier circuit 121, a boost circuit 122, and an inverter circuit 123. The input side of the rectifier circuit 121 is connected to an AC input power supply and is used to rectify the AC input voltage. The input side of the boost circuit 122 is connected to the output side of the rectifier circuit 121, and the output side is connected to a DC bus, used to boost the output voltage of the rectifier circuit 121. In addition to boosting the voltage, the boost circuit 122 is also used for power factor correction to improve the utilization rate of electrical energy. The input side of the inverter circuit 123 is connected to the DC bus, and the output side is connected to the compressor 11, used to convert the DC bus voltage into a frequency-adjustable AC voltage. The circuit structure of the rectifier circuit 121, the boost circuit 122, and the inverter circuit 123 is a prior art topology and will not be described in detail here.

[0039] Optionally, the air conditioner also includes a control circuit 13. The control circuit 13 is connected to the compressor 11 and the drive circuit 12, and is used to control the drive circuit 12 according to the peak phase voltage of the compressor 11.

[0040] Combination Figure 2 As shown, this disclosure provides a control flowchart for a method of controlling a compressor. The diagram illustrates the information flow during the control process, ultimately outputting a target DC bus voltage for the boost circuit. This target DC bus voltage can dynamically follow changes in the compressor's phase voltage peak and AC input voltage, reducing losses in the drive circuit and improving the utilization rate of the DC bus voltage. Wherein, U pp U is the peak phase voltage of the compressor, η is the target utilization rate of the DC bus voltage, and U is the peak phase voltage of the compressor. dc1 U is the voltage of the first DC bus. ac U is the sampled value of the AC input voltage. aca U is the average value of the AC input voltage, α is the conversion factor, and U acp U is the peak value of the AC input voltage, R is the boost factor, and U is the peak value of the AC input voltage. dc2 U is the voltage of the second DC bus. dcm U is the DC bus voltage limiting value. dct The target DC bus voltage.

[0041] Combination Figure 3 As shown, this disclosure provides a method for controlling a compressor, including:

[0042] S210, the air conditioner obtains the peak phase voltage of the compressor.

[0043] S220, the air conditioner determines the first DC bus voltage based on the phase voltage peak value.

[0044] S230, the air conditioner receives AC input voltage.

[0045] S240, the air conditioner determines the second DC bus voltage based on the AC input voltage.

[0046] S250, the air conditioner determines the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage.

[0047] The method for controlling a compressor provided in this disclosure obtains the peak phase voltage of the compressor. Based on the peak phase voltage, a first DC bus voltage of the boost circuit is determined as one of the target DC bus voltages. An AC input voltage is obtained. Based on the AC input voltage, a second DC bus voltage of the boost circuit is determined as one of the target DC bus voltages. Based on the first and second DC bus voltages of the boost circuit, a target DC bus voltage is determined as the expected output voltage of the boost circuit. Since the target DC bus voltage is determined based on both the peak phase voltage of the compressor and the AC input voltage, by determining the optimal DC bus voltage as the target DC bus voltage, the target DC bus voltage reaches the target value, thereby improving the utilization rate of the DC bus voltage.

[0048] Combination Figure 4 As shown, this disclosure provides another method for controlling a compressor, including:

[0049] S211, the air conditioner obtains the direct-axis current and quadrature-axis current of the compressor.

[0050] S212, the air conditioner determines the compressor's direct-axis voltage and quadrature-axis voltage based on the direct-axis current and quadrature-axis current.

[0051] S213, the air conditioner determines the peak phase voltage of the compressor based on the direct-axis voltage and the quadrature-axis voltage.

[0052] S220, the air conditioner determines the first DC bus voltage based on the phase voltage peak value.

[0053] S230, the air conditioner receives AC input voltage.

[0054] S240, the air conditioner determines the second DC bus voltage based on the AC input voltage.

[0055] S250, the air conditioner determines the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage.

[0056] The method for controlling a compressor provided in this disclosure determines the compressor's phase voltage peak value by using the compressor's direct-axis and quadrature-axis currents, since the compressor's phase voltage peak value cannot be directly detected. Because the determination of the phase voltage peak value is based on the direct-axis and quadrature-axis currents, the accuracy of the phase voltage peak value is high, making it easier for the target DC bus voltage to reach the target value and improving the utilization rate of the DC bus voltage.

[0057] For the air conditioner in step S211, the direct-axis current and quadrature-axis current of the compressor are obtained by obtaining the direct-axis (d-axis) current through the field weakening element and the quadrature-axis (q-axis) current through the speed element and the maximum torque per ampere (MTPA).

[0058] In step S212, the air conditioner determines the compressor's direct-axis voltage and quadrature-axis voltage based on the direct-axis current and quadrature-axis current. This decouples the direct-axis current and quadrature-axis current to obtain corrected values ​​for both. The air conditioner uses the sum of the output value of the direct-axis current after proportional-integral (PI) control and the corrected direct-axis voltage as the direct-axis voltage, and the sum of the output value of the quadrature-axis current after proportional-integral (PI) control and the corrected quadrature-axis voltage as the quadrature-axis voltage.

[0059] For the air conditioner in step S213, the peak phase voltage of the compressor is determined based on the direct-axis voltage and the quadrature-axis voltage. This is achieved by summing the square of the direct-axis voltage and the square of the quadrature-axis voltage, and then taking the square root to determine the peak phase voltage of the compressor.

[0060] Combination Figure 5 As shown, this disclosure provides another method for controlling a compressor, including:

[0061] S210, the air conditioner obtains the peak phase voltage of the compressor.

[0062] S221, the air conditioner achieves the target utilization rate of DC bus voltage.

[0063] S222, the ratio of the peak phase voltage to the target utilization rate of the DC bus voltage of the air conditioner is determined as the first DC bus voltage.

[0064] S230, the air conditioner receives AC input voltage.

[0065] S240, the air conditioner determines the second DC bus voltage based on the AC input voltage.

[0066] S250, the air conditioner determines the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage.

[0067] The method for controlling a compressor provided in this disclosure obtains a target utilization rate of the DC bus voltage as the desired DC bus voltage utilization rate. The ratio of the peak phase voltage to the target utilization rate of the DC bus voltage is determined as the first DC bus voltage, ensuring that the target DC bus voltage reaches its target value. The heavier the compressor load, the larger the peak phase voltage, and the larger the first DC bus voltage. Conversely, the lighter the compressor load, the smaller the peak phase voltage, and the smaller the first DC bus voltage. Since the determination of the target DC bus voltage is based on the target utilization rate of the DC bus voltage, and the first DC bus voltage changes with the compressor load while still reaching the target value, the utilization rate of the DC bus voltage is improved.

[0068] Optionally, the target utilization rate of the DC bus voltage in steps S221 and S222 is the ratio of the desired peak phase voltage of the compressor to the DC bus voltage. A higher target utilization rate results in a higher actual utilization rate of the DC bus voltage and a larger upper limit for the compressor's operating frequency. In step S221, the air conditioner obtains the target utilization rate of the DC bus voltage by determining different target utilization rates for different modulation regions. For Space Vector Pulse Width Modulation (SVPWM), the maximum value of the target utilization rate of the DC bus voltage is typically 0.577 in the linear modulation region and 0.625 in the overmodulation region. The modulation region can be determined by the peak phase voltage of the compressor and the DC bus voltage. Thus, by selecting different target utilization rates of the DC bus voltage in different modulation regions, the DC bus voltage can meet the compressor's needs under different operating conditions, reducing the losses of the boost circuit components while improving the utilization rate of the DC bus voltage.

[0069] Combination Figure 6 As shown, this disclosure provides another method for controlling a compressor, including:

[0070] S210, the air conditioner obtains the peak phase voltage of the compressor.

[0071] S220, the air conditioner determines the first DC bus voltage based on the phase voltage peak value.

[0072] S230, the air conditioner receives AC input voltage.

[0073] S241, the air conditioner determines the average value of the AC input voltage based on the AC input voltage.

[0074] S242, the air conditioner determines the peak value of the AC input voltage based on the average value of the AC input voltage.

[0075] S243, the air conditioner determines the second DC bus voltage based on the peak value of the AC input voltage.

[0076] S250, the air conditioner determines the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage.

[0077] The method for controlling a compressor provided in this disclosure determines the average value of the AC input voltage based on the AC input voltage, and then determines the peak value of the AC input voltage. Based on the peak value of the AC input voltage, a second DC bus voltage is determined as the target DC bus voltage. Since the determination of the second DC bus voltage is based on the AC input voltage, the second DC bus voltage can change accordingly when the AC input voltage changes. Because the second DC bus voltage changes with the AC input voltage, it avoids the DC bus voltage failing to reach the target value, thus preventing impact on compressor operation, and simultaneously improves the utilization rate of the DC bus voltage.

[0078] For the air conditioner to obtain AC input voltage in step S230, the AC input voltage of the rectifier circuit is sampled to obtain the AC input voltage sample value.

[0079] Optionally, in step S241, the air conditioner determines the average value of the AC input voltage based on the AC input voltage, including: the air conditioner low-pass filtering the sampled AC input voltage values ​​and then determining the average value of the AC input voltage through integral averaging. Alternatively, the air conditioner repeatedly detects the peak value of the AC input voltage in each cycle. After low-pass filtering multiple AC input voltage peaks, the air conditioner determines the average value of the AC input voltage through calculation. In this way, low-pass filtering of the sampled or peak values ​​of the AC input voltage makes the determined average voltage more stable and reduces temporary fluctuations. Because low-pass filtering of multiple AC input voltage peaks improves the accuracy of determining the average value of the AC input voltage, thereby improving the utilization rate of the DC bus voltage.

[0080] In step S242, the air conditioner determines the peak AC input voltage based on the average AC input voltage. This peak AC input voltage is determined by multiplying the average AC input voltage by a conversion factor. The conversion factor is typically set to 1.57.

[0081] Optionally, in step S243, the air conditioner determines the second DC bus voltage based on the peak value of the AC input voltage, including: the air conditioner obtaining a boost coefficient. The air conditioner determines the second DC bus voltage by multiplying the peak value of the AC input voltage by the boost coefficient. The boost coefficient ranges from [1.1, 2.1]. Preferably, the boost coefficient is 1.3, 1.6, or 1.9. In this way, the second DC bus voltage can be calculated using the peak value of the AC input voltage and the boost coefficient. Since the second DC bus voltage changes with the peak value of the AC input voltage, excessively low DC bus voltage is avoided from affecting the operation of the compressor. When the boost coefficient is within the above-mentioned range, the output voltage of the boost circuit is stable and can ensure that the boost circuit is in a fully modulated state, enabling the compressor to operate reliably.

[0082] Alternatively, the boost coefficient can also be determined as follows: The air conditioner obtains the current magnetic weakening current of the compressor. The air conditioner determines the current difference between the current magnetic weakening current and the target magnetic weakening current. The air conditioner uses the output value of the current difference after proportional-integral control as the boost coefficient correction value. The air conditioner determines the boost coefficient as the sum of the base boost coefficient value and the boost coefficient correction value. The base boost coefficient value is a preset value. For example, the base boost coefficient value can be 1.1. In this way, the boost coefficient is determined based on the current magnetic weakening current of the compressor. When the AC input voltage and the compressor's magnetic weakening current change, the second DC bus voltage can change accordingly. Because the second DC bus voltage changes with the AC input voltage and the magnetic weakening current, it avoids the DC bus voltage failing to reach the target value, thus preventing impact on compressor operation, and simultaneously improving the utilization rate of the DC bus voltage.

[0083] Combination Figure 7 As shown, this disclosure provides another method for controlling a compressor, including:

[0084] S210, the air conditioner obtains the peak phase voltage of the compressor.

[0085] S220, the air conditioner determines the first DC bus voltage based on the phase voltage peak value.

[0086] S230, the air conditioner receives AC input voltage.

[0087] S240, the air conditioner determines the second DC bus voltage based on the AC input voltage.

[0088] S251, the air conditioner determines the relationship between the first DC bus voltage and the second DC bus voltage.

[0089] S252, if the first DC bus voltage is less than the second DC bus voltage, the air conditioner determines the target DC bus voltage to be the second DC bus voltage and executes step S254.

[0090] S253, when the first DC bus voltage is greater than or equal to the second DC bus voltage, the air conditioner determines the target DC bus voltage as the first DC bus voltage.

[0091] S254, the air conditioner determines the relationship between the target DC bus voltage and the DC bus voltage limit value.

[0092] S255, if the target DC bus voltage is greater than the DC bus voltage limit, the air conditioner adjusts the target DC bus voltage to the DC bus voltage limit and executes step S260.

[0093] S256, when the target DC bus voltage is less than or equal to the DC bus voltage limit value, the air conditioner maintains the target DC bus voltage unchanged.

[0094] S260, the air conditioner controls the boost circuit according to the target DC bus voltage.

[0095] The method for controlling a compressor provided in this disclosure, after determining two target DC bus voltages (a first DC bus voltage and a second DC bus voltage), selects the optimal DC bus voltage through comparison. During the comparison, the minimum value of the target DC bus voltage is limited to the second DC bus voltage to prevent the DC bus voltage from being too low and affecting the normal operation of the compressor. If the compressor's normal operation is satisfied, the first DC bus voltage is selected as the target DC bus voltage to improve its utilization rate. If the target DC bus voltage is too high, it is limited to within a DC bus voltage limit value to avoid damage to components in the boost circuit and inverter circuit. By limiting the target DC bus voltage between the second DC bus voltage and the DC bus voltage limit value, normal compressor operation is ensured while preventing damage to circuit components and improving the utilization rate of the DC bus voltage. For example, if the peak AC input voltage is 170V and the boost factor is 2.1, the second DC bus voltage is 357V. If the target DC bus voltage is 380V, it cannot be achieved using only the second DC bus voltage. After incorporating the first DC bus voltage, when the first DC bus voltage (e.g., 375V) is greater than or equal to the second DC bus voltage, the target DC bus voltage is the first DC bus voltage. That is, the target DC bus voltage is 375V, which is greater than 357V and closer to the target DC bus voltage of 380V.

[0096] The DC bus voltage limiting value in steps S254 to S256 is determined based on the maximum withstand voltage of the components. For example, if the maximum withstand voltage of the voltage regulator capacitor between the boost circuit and the inverter circuit is 450V, then the target DC bus voltage must be less than 450V. Considering AC input voltage fluctuations and errors, a certain margin is set, and the DC bus voltage limiting value can be set to 450V × 0.85 = 382.5V.

[0097] Combination Figure 8 As shown, this disclosure provides an apparatus for controlling a compressor, including a processor 41 and a memory 42. Optionally, the apparatus may further include a communication interface 43 and a bus 44. The processor 41, communication interface 43, and memory 42 can communicate with each other via the bus 44. The communication interface 43 can be used for information transmission. The processor 41 can call logical instructions in the memory 42 to execute the method for controlling the compressor described in the above embodiment.

[0098] Furthermore, the logical instructions in the aforementioned memory 42 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0099] The memory 42, as a storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 41 executes functional applications and data processing by running the program instructions / modules stored in the memory 42, that is, it implements the method for controlling the compressor in the above embodiments.

[0100] The memory 42 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 42 may include high-speed random access memory and may also include non-volatile memory.

[0101] This disclosure provides an air conditioner that includes the above-described device for controlling the compressor.

[0102] This disclosure provides a storage medium storing computer-executable instructions configured to perform the above-described method for controlling a compressor.

[0103] The aforementioned storage medium can be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0104] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.

[0105] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.

[0106] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0107] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0108] 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 embodiments of this disclosure. 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. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

Claims

1. A method for controlling a compressor, the drive circuit of the compressor comprising: A rectifier circuit is used to rectify AC input voltage; A boost circuit, with its input side connected to a rectifier circuit and its output side connected to a DC bus, is used to boost the output voltage of the rectifier circuit; characterized in that the method includes: Obtain the peak phase voltage of the compressor; The first DC bus voltage is determined based on the phase voltage peak value; Obtain AC input voltage; Determine the second DC bus voltage based on the AC input voltage; The target DC bus voltage is determined based on the first DC bus voltage and the second DC bus voltage. The determination of the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage includes: Determine the relationship between the first DC bus voltage and the second DC bus voltage, where the second DC bus voltage is the minimum value of the target DC bus voltage; When the first DC bus voltage is less than the second DC bus voltage, the target DC bus voltage is determined to be the second DC bus voltage. If the first DC bus voltage is greater than or equal to the second DC bus voltage, the target DC bus voltage is determined to be the first DC bus voltage.

2. The method of claim 1, wherein, Determining the target DC bus voltage based on the first DC bus voltage and the second DC bus voltage also includes: Determine the relationship between the target DC bus voltage and the DC bus voltage limit value; If the target DC bus voltage is greater than the DC bus voltage limit, the target DC bus voltage will be adjusted to the DC bus voltage limit. When the target DC bus voltage is less than or equal to the DC bus voltage limit, the target DC bus voltage remains unchanged.

3. The method according to claim 1, characterized in that, The first DC bus voltage is determined based on the phase voltage peak value, including: To obtain the target utilization rate of DC bus voltage; The ratio of the peak phase voltage to the target utilization rate of the DC bus voltage is determined as the first DC bus voltage.

4. The method according to claim 1, characterized in that, The second DC bus voltage is determined based on the AC input voltage, including: Determine the average value of the AC input voltage based on the AC input voltage; Determine the peak value of the AC input voltage based on the average value of the AC input voltage; The second DC bus voltage is determined based on the peak value of the AC input voltage.

5. The method according to claim 4, characterized in that, The second DC bus voltage is determined based on the peak value of the AC input voltage, including: Obtain the boost coefficient; The product of the peak AC input voltage and the boost factor is used to determine the second DC bus voltage.

6. The method according to any one of claims 1 to 5, characterized in that, Obtain the peak phase voltage of the compressor, including: Obtain the direct-axis current and quadrature-axis current of the compressor; Determine the compressor's direct-axis voltage and quadrature-axis voltage based on the direct-axis current and quadrature-axis current; The peak phase voltage of the compressor is determined based on the direct-axis voltage and the quadrature-axis voltage.

7. A device for controlling a compressor, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to, when executing the program instructions, perform the method for controlling the compressor as described in any one of claims 1 to 6.

8. An air conditioner, characterized in that, include: Compressor (11); The drive circuit (12) is connected to the compressor (11) and is used to output drive signals to the compressor (11); and, The apparatus for controlling the compressor as described in claim 7; The driving circuit (12) includes: The rectifier circuit (121) is used to rectify the AC input voltage; The boost circuit (122) is connected to the rectifier circuit (121) on the input side and to the DC bus on the output side, and is used to boost the output voltage of the rectifier circuit (121); The inverter circuit (123) is connected to the DC bus on the input side and to the compressor (11) on the output side.

9. A storage medium storing program instructions, characterized in that, When the program instructions are executed, they perform the method for controlling the compressor as described in any one of claims 1 to 6.