Air conditioner and control method thereof, storage medium and controller

By detecting the ripple current and ambient temperature of the air conditioner capacitor and adjusting the compressor frequency to control the capacitor temperature, the capacitor overheating problem in the prior art is solved, reducing the cost and volume of the air conditioner and improving its reliability.

CN119222698APending Publication Date: 2024-12-31GD MIDEA AIR CONDITIONING EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310802831.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The DC bus capacitors in existing variable frequency air conditioners lack effective overheating protection control, resulting in severe heat generation of capacitors during heavy loads, using large capacitance increases costs, and temperature testing instrument detection methods increase costs and volume.

Method used

By obtaining the ripple current of the capacitor and the ESR curve, calculating the capacitance center temperature rise, combining the outdoor ambient temperature, adjusting the compressor operating frequency to control the capacitance temperature, reducing capacitance margin and hardware costs.

Benefits of technology

It realizes the reliability of the air conditioner while reducing the capacitance margin and hardware cost, reduces the volume of the air conditioner, and effectively controls the capacitance temperature.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119222698A_ABST
    Figure CN119222698A_ABST
Patent Text Reader

Abstract

The invention discloses an air conditioner and a control method thereof, a storage medium and a controller, the air conditioner comprises a power factor correction circuit, a capacitor, an inverter circuit and a compressor which are electrically connected in sequence, and the control method comprises the steps that the ripple current of the capacitor is obtained, and the capacitor center temperature rise is obtained according to the ripple current and the ESR curve of the capacitor; acquiring an outdoor environment temperature, and calculating a capacitor center temperature according to the outdoor environment temperature and the capacitor center temperature rise; and the capacitor center temperature is compared with the preset temperature, and the inverter circuit is controlled according to the comparison result so as to adjust the operation frequency of the compressor. According to the method, the heating condition of the capacitor is detected through the ripple current of the capacitor, and the operation frequency of the compressor is adjusted according to the heating condition, so that the capacitance margin during design of the air conditioner can be reduced, and compared with a scheme of detecting the heating of the capacitor by using a temperature testing instrument, the hardware cost is reduced, and the size of the air conditioner is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioning, and in particular to an air conditioner and a control method thereof, a storage medium and a controller. Background Art

[0002] At present, most of the DC bus capacitors in variable frequency air conditioner electronic controls have no overheating protection control. A small number of them use temperature testing instruments to detect the heating of the DC bus capacitors, and then feed back to the MCU (Micro-Controller Unit) for control.

[0003] Among them, without overheat protection control, if the load is heavy, the capacitor will heat up seriously, shortening the service life of the capacitor; for this reason, the related technology uses capacitors with larger margins to ensure operation, but this will increase costs. At the same time, using temperature testing instruments to detect the heating of capacitors for control will increase costs and increase the size of the electronic control. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, the purpose of the present invention is to provide an air conditioner and a control method thereof, a storage medium and a controller to reduce the capacitance margin when designing the air conditioner, reduce the hardware cost and reduce the size of the air conditioner.

[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present invention proposes a control method for an air conditioner, wherein the air conditioner includes a power factor correction circuit, a capacitor, an inverter circuit and a compressor electrically connected in sequence, and the control method includes: obtaining the ripple current of the capacitor, and obtaining the center temperature rise of the capacitor according to the ripple current and the ESR curve of the capacitor; obtaining the outdoor ambient temperature, and calculating the center temperature of the capacitor according to the outdoor ambient temperature and the center temperature rise of the capacitor; comparing the center temperature of the capacitor with a preset temperature, and controlling the inverter circuit according to the comparison result to adjust the operating frequency of the compressor.

[0006] In addition, the control method of the air conditioner in the above embodiment of the present invention may also have the following additional technical features:

[0007] According to one embodiment of the present invention, the power factor correction circuit is controlled according to the comparison result, including: if the center temperature of the capacitor is less than or equal to the preset temperature, adjusting the operating frequency of the compressor to a first preset frequency through the inverter circuit; if the center temperature of the capacitor is greater than the preset temperature, reducing the frequency of the compressor through the inverter circuit.

[0008] According to one embodiment of the present invention, the frequency reduction control of the compressor includes: reducing the operating frequency of the compressor from the first preset frequency to the second preset frequency, and after running at the second preset frequency for a first preset time, reducing the operating frequency of the compressor from the second preset frequency to a third preset frequency.

[0009] According to an embodiment of the present invention, obtaining the ripple current of the capacitor includes: obtaining the ripple current of the capacitor through a first sampling resistor connected in series with the capacitor.

[0010] According to an embodiment of the present invention, obtaining the ripple current of the capacitor includes: obtaining an input current and an output current of the power factor correction circuit, and calculating the ripple current of the capacitor based on the input current and the output current.

[0011] According to one embodiment of the present invention, calculating the capacitor center temperature based on the outdoor ambient temperature and the capacitor center temperature rise includes: calculating the product of the outdoor ambient temperature and the ambient temperature coefficient, and taking the sum of the product and the capacitor center temperature rise as the capacitor center temperature.

[0012] According to one embodiment of the present invention, the control method also includes: recording the duration of the compressor after frequency reduction; when the duration reaches a second preset time, comparing the current capacitor center temperature with the preset temperature; if the current capacitor center temperature is greater than the preset temperature, controlling the air conditioner to shut down; if the current capacitor center temperature is less than or equal to the preset temperature, increasing the operating frequency of the compressor to the first preset frequency.

[0013] To achieve the above object, a second aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned air conditioner control method is implemented.

[0014] To achieve the above objectives, a third aspect of the present invention provides a controller, comprising a memory, a processor and a computer program stored in the memory, wherein when the computer program is executed by the processor, the above air conditioner control method is implemented.

[0015] To achieve the above-mentioned purpose, a fourth aspect of the present invention provides an air conditioner, comprising: a power factor correction circuit, a capacitor, an inverter circuit and a compressor electrically connected in sequence, and the above-mentioned controller.

[0016] The air conditioner and its control method, storage medium and controller of the embodiment of the present invention detect the heating condition of the capacitor through the ripple current of the capacitor, and adjust the operating frequency of the compressor according to the heating condition, thereby reducing the capacitor margin when designing the air conditioner. Compared with the solution of using a temperature testing instrument to detect the heating of the capacitor, the hardware cost is reduced and the size of the air conditioner is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present invention;

[0018] Figure 2 is a structural block diagram of an air conditioner according to an embodiment of the present invention;

[0019] Figure 3 is an ESR curve diagram of a capacitor according to an embodiment of the present invention;

[0020] Figure 4 is a circuit topology diagram of a sampling control circuit according to an embodiment of the present invention;

[0021] Figure 5 This is a compressor frequency reduction operation diagram of an embodiment of the present invention;

[0022] Figure 6 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present invention;

[0023] Figure 7 is a structural block diagram of a controller according to an embodiment of the present invention;

[0024] Figure 8 It is a structural block diagram of an air conditioner according to another embodiment of the present invention. DETAILED DESCRIPTION

[0025] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0026] The air conditioner and its control method, storage medium and controller according to the embodiments of the present invention are described below with reference to the accompanying drawings.

[0027] Figure 1 is a flow chart of a method for controlling an air conditioner according to an embodiment of the present invention.

[0028] See also Figure 2 The air conditioner includes a power factor correction circuit, a capacitor C1, an inverter circuit and a compressor which are electrically connected in sequence. Figure 1 As shown, the control method includes:

[0029] S11, obtaining the ripple current of the capacitor, and obtaining the center temperature rise of the capacitor according to the ripple current and the ESR curve of the capacitor.

[0030] Specifically, the ripple current of the capacitor (such as Figure 2 As shown in Figure 2, the input current and output current of the power factor correction circuit can also be obtained, and the ripple current of the capacitor can be calculated based on the input current and output current. The equivalent series resistance (ESR) curve of the capacitor is shown in Figure 2. Figure 3 As shown, the equivalent series resistance (ESR) of the capacitor at the corresponding frequency can be obtained according to the ESR curve of the capacitor. The temperature rise at the center of the capacitor is recorded as ΔT, which can be calculated by the following formula:

[0031]

[0032] Among them, I C-RMS is the ripple current of the capacitor, A is the surface area of ​​the capacitor (cm 3 ), H is the capacitance heat dissipation coefficient (W / cm 3 *℃).

[0033] As an example, Figure 2 As shown, the air conditioner also includes a sampling control circuit, which includes a ripple current sampling circuit. The ripple current sampling circuit obtains the ripple current I of the capacitor through the first sampling resistor Rp. C-RMS . See Figure 4 The ripple current sampling circuit includes capacitor C5, resistors R5, R6, R7, R15, diodes D4, D5, and an operational amplifier. The sampled ripple current is output in the form of voltage (denoted as Vot2), which is transmitted to the MCU via the circuit topology (composed of capacitor C4, diode D6, and resistors R8 and R13). The MCU calculates the center temperature rise of the capacitor based on the received ripple current.

[0034] S12, obtaining the outdoor ambient temperature, and calculating the capacitor center temperature according to the outdoor ambient temperature and the capacitor center temperature rise.

[0035] Specifically, the outdoor ambient temperature can be collected by an ambient temperature sensor installed in the outdoor unit. Figure 2 As shown, the sampling control circuit includes an ambient temperature sampling circuit, which is connected to the ambient temperature sensor to obtain the outdoor ambient temperature signal input by the ambient temperature sensor. The MCU calculates the capacitor center temperature Tc based on the outdoor ambient temperature Te and the calculated capacitor center temperature rise ΔT. The formula is as follows: T c =K*T e +ΔT, where K is the ambient temperature coefficient.

[0036] See also Figure 4 , the compressor control circuit is connected to the ripple current sampling circuit and the ambient temperature sampling circuit respectively. The ambient temperature sampling circuit has a similar topology to the ripple current sampling circuit. The ambient temperature sampling circuit includes capacitor C2, resistors R1, R2, R3, R14, diodes D1, D2, and an operational amplifier. The sampled temperature is output in the form of voltage (denoted as Vot1), and Vot1 is transmitted to the MCU through the circuit topology (composed of capacitor C3, diode D3, and resistors R4 and R12). The MCU calculates the center temperature of the capacitor based on the received ambient temperature and the calculated center temperature rise of the capacitor.

[0037] S13, comparing the capacitor center temperature with a preset temperature, and controlling the inverter circuit according to the comparison result to adjust the operating frequency of the compressor.

[0038] Through the method of the present invention, the capacitor can be selected to have a smaller capacity, such as 680 μF. Figure 3 Shown is the ESR curve for a 680μF capacitor.

[0039] The control method of the air conditioner in the embodiment of the present invention detects the heating condition of the capacitor through the ripple current of the capacitor, and adjusts the operating frequency of the compressor according to the heating condition, thereby reducing the capacitor margin when designing the air conditioner. Compared with the solution of using a temperature testing instrument to detect the heating of the capacitor, the hardware cost is reduced and the size of the air conditioner is reduced.

[0040] In some embodiments, controlling the power factor correction circuit according to the comparison result includes:

[0041] If the capacitor center temperature is less than or equal to the preset temperature, the operating frequency of the compressor is adjusted to a first preset frequency through the inverter circuit; if the capacitor center temperature is greater than the preset temperature, the compressor is frequency-reduced through the inverter circuit. The first preset frequency is the normal operating frequency of the compressor.

[0042] Specifically, the MCU sends a control signal to the inverter circuit according to the obtained capacitor center temperature Tc and the preset temperature. If the capacitor center temperature is greater than the preset temperature, it means that the capacitor is heating up seriously, and the inverter circuit can be used to reduce the frequency of the compressor; if the capacitor center temperature is less than or equal to the preset temperature, it means that the capacitor is heating up normally, and the inverter circuit can be used to control the compressor to run at the normal operating frequency.

[0043] In some embodiments, the frequency reduction control of the compressor includes: controlling the operating frequency of the compressor to decrease in a stepwise manner. Figure 5As shown, the operating frequency of the compressor is reduced from the first preset frequency f1 to the second preset frequency f2, and after running at the second preset frequency f2 for a first preset time (t3-t2), the operating frequency of the compressor is reduced from the second preset frequency f2 to the third preset frequency f3.

[0044] The first preset frequency f1, the second preset frequency f2, the third preset frequency f3, and the first preset time (t3-t2) can be calibrated as needed.

[0045] In other embodiments, the frequency reduction control of the compressor includes: controlling the operating frequency of the compressor to continuously decrease according to a preset curve, wherein the preset curve may be a straight line, a sine-cosine curve, or the like.

[0046] In some embodiments, obtaining the ripple current of the capacitor includes: obtaining the ripple current of the capacitor through a first sampling resistor connected in series with the capacitor.

[0047] Specifically, Figure 2 As shown, the ripple current I of the capacitor can be obtained through the first sampling resistor Rp. C-RMS .

[0048] In other embodiments, the input current and the output current of the power factor correction circuit may be obtained, and the ripple current of the capacitor may be calculated based on the input current and the output current.

[0049] Specifically, the power factor correction circuit may include a first switch tube, a second switch tube, an inductor, a first diode, a second diode and a third diode. The first switch tube is connected in parallel with the second switch tube, the first diode is connected in parallel with the first switch tube, the second diode is connected in parallel with the second switch tube, the first end of the inductor is connected to the positive bus, the second end of the inductor is respectively connected to the cathode of the first diode, the cathode of the second diode and the anode of the third diode, the cathode of the third diode is connected to the first end of the capacitor, and the anode of the first diode and the anode of the second diode are respectively connected to the negative bus and the second end of the capacitor. The input current I of the power factor correction circuit is DC and output current I o The ripple current I of the capacitor can be obtained by connecting the current sampling resistors in series at the input and output ends of the power factor correction circuit. C-RMS It can be obtained by the following formula:

[0050]

[0051] I C-RMS 2 =I D-RMS 2 -I o 2

[0052] Among them, I D-RMS is the current of the third diode (A), I DC is the DC component of the inductor current (A), I AC is the AC component of the inductor current (A), and r is the inductor current ripple rate.

[0053] In some embodiments, Figure 6 As shown, the control method also includes:

[0054] S61, recording the duration of the compressor after frequency reduction.

[0055] S62: When the duration reaches a second preset time, the current capacitor center temperature is compared with the preset temperature.

[0056] Specifically, the duration may be counted from the start of the compressor frequency reduction control, in which case the second preset time is greater than the first preset time. When the compressor frequency is reduced in steps, the duration may also be counted from the time when the frequency is reduced to the minimum step, in which case the value of the second preset time may be appropriately smaller.

[0057] S63: If the current capacitor center temperature is greater than the preset temperature, the air conditioner is controlled to shut down.

[0058] Specifically, after the air conditioner compressor is frequency-reduced for a period of time, if the center temperature of the capacitor is still greater than the preset temperature, it means that the capacitor is seriously heated. At this time, the air conditioner needs to be shut down to alleviate the heating of the capacitor.

[0059] S64: If the current capacitor center temperature is less than or equal to the preset temperature, the operating frequency of the compressor is increased to a first preset frequency.

[0060] Specifically, after the air conditioner compressor is frequency-reduced for a period of time, if the center temperature of the capacitor is less than or equal to the preset temperature, it means that the heating of the capacitor has been alleviated. At this time, the operating frequency of the compressor can be increased to the first preset frequency to ensure the user's heating or cooling needs.

[0061] In summary, the control method of the air conditioner in the embodiment of the present invention calculates the center temperature of the capacitor through the outdoor ambient temperature and the ripple current of the capacitor, and controls the operating frequency of the compressor according to the center temperature of the capacitor to adjust the center temperature of the capacitor to be within a reasonable temperature range, thereby improving the reliability of the air conditioner while minimizing the increase in cost and volume of the air conditioner.

[0062] Based on the air conditioner control method of the above embodiment, the present invention further proposes a computer-readable storage medium.

[0063] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the above-mentioned air conditioner control method is implemented.

[0064] Figure 7 It is a structural block diagram of a controller according to an embodiment of the present invention.

[0065] like Figure 7 As shown, the controller 700 includes: a processor 701 and a memory 703. The processor 701 and the memory 703 are connected, such as through a bus 702. Optionally, the controller 700 may also include a transceiver 704. It should be noted that in actual applications, the transceiver 704 is not limited to one, and the structure of the controller 700 does not constitute a limitation on the embodiments of the present invention.

[0066] Processor 701 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. Processor 701 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0067] The bus 702 may include a path to transmit information between the above components. The bus 702 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 702 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0068] The memory 703 is used to store a computer program corresponding to the air conditioner control method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 701. The processor 701 is used to execute the computer program stored in the memory 703 to implement the contents shown in the above method embodiment. Figure 7The controller 700 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0069] Figure 8 It is a structural block diagram of an air conditioner according to an embodiment of the present invention.

[0070] like Figure 8 As shown, the air conditioner 800 includes: a power factor correction circuit 801, a capacitor 802, an inverter circuit 803 and a compressor 804 which are electrically connected in sequence, and the above-mentioned controller 700.

[0071] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0072] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0073] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0074] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0075] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0076] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0077] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0078] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for controlling an air conditioner, characterized in that: The air conditioner comprises a power factor correction circuit, a capacitor, an inverter circuit and a compressor which are electrically connected in sequence, and the control method comprises: Obtaining the ripple current of the capacitor, and obtaining the center temperature rise of the capacitor according to the ripple current and the ESR curve of the capacitor; Acquire the outdoor ambient temperature, and calculate the capacitor center temperature according to the outdoor ambient temperature and the capacitor center temperature rise; The capacitor center temperature is compared with a preset temperature, and the inverter circuit is controlled according to the comparison result to adjust the operating frequency of the compressor.

2. The air conditioner control method according to claim 1, characterized in that: The controlling the power factor correction circuit according to the comparison result includes: If the capacitor center temperature is less than or equal to the preset temperature, the operating frequency of the compressor is adjusted to a first preset frequency through the inverter circuit; If the central temperature of the capacitor is greater than the preset temperature, the frequency of the compressor is reduced through the inverter circuit.

3. The air conditioner control method according to claim 2, characterized in that: The step of performing frequency reduction control on the compressor comprises: The operating frequency of the compressor is reduced from the first preset frequency to a second preset frequency, and after operating at the second preset frequency for a first preset time, the operating frequency of the compressor is reduced from the second preset frequency to a third preset frequency.

4. The air conditioner control method according to any one of claims 1 to 3, characterized in that: The obtaining of the ripple current of the capacitor includes: The ripple current of the capacitor is obtained through a first sampling resistor connected in series with the capacitor.

5. The air conditioner control method according to any one of claims 1 to 3, characterized in that: The obtaining of the ripple current of the capacitor includes: An input current and an output current of the power factor correction circuit are obtained, and a ripple current of the capacitor is calculated according to the input current and the output current.

6. The air conditioner control method according to claim 1, characterized in that: The calculating the capacitor center temperature according to the outdoor ambient temperature and the capacitor center temperature rise comprises: The product of the outdoor ambient temperature and the ambient temperature coefficient is calculated, and the sum of the product and the temperature rise of the capacitor center is taken as the capacitor center temperature.

7. The air conditioner control method according to claim 2, characterized in that: The control method further comprises: Recording the duration of the compressor after frequency reduction; When the duration reaches a second preset time, comparing the current capacitor center temperature with the preset temperature; If the current capacitor center temperature is greater than the preset temperature, the air conditioner is controlled to shut down; If the current capacitor center temperature is less than or equal to the preset temperature, the operating frequency of the compressor is increased to the first preset frequency.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the air conditioner control method according to any one of claims 1 to 7 is implemented.

9. A controller, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory, wherein when the computer program is executed by the processor, the control method of the air conditioner according to any one of claims 1 to 7 is implemented.

10. An air conditioner, characterized in that: include: A power factor correction circuit, a capacitor, an inverter circuit and a compressor electrically connected in sequence, and a controller according to claim 9.