Control device and control method of air conditioner, equipment and storage medium
By designing a backup power circuit and controller in the air conditioner, the valve body is fully closed when the main power supply is powered off, the problem of refrigerant leakage is solved and the safety and reliability of the air conditioner is improved.
Patent Information
- Application Number
- CN202311592398.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-05-27
AI Technical Summary
When the main power supply of the air conditioner is powered off, the electric valve cannot maintain the set state, resulting in refrigerant leakage and safety hazards.
A control device for an air conditioner is designed, including a controller, a rectifier circuit, a switching power supply circuit and a backup power supply circuit. When the main power supply power is powered off, the backup power supply circuit supplies power to the switching power supply circuit, the controller continues to work, and the control valve body is closed to a fully closed state.
It effectively avoids refrigerant leakage into the external environment, improves the safety and reliability of the air conditioner, and reduces the cost of design modification.
Smart Images

Figure CN120043235A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of air conditioners, and particularly to a control device for an air conditioner, a control method therefor, a device, and a storage medium. Background Art
[0002] An electric valve is usually used in an air conditioner. By sending a pulse signal or turning the power supply on and off, the opening degree of the electric valve, the truncation and opening of the flow path are controlled. Before the air conditioner stops running, the electric valve will be controlled to be in a set state.
[0003] In related technologies, when the main power supply of the air conditioner suddenly cuts off, the controller of the air conditioner no longer controls the electric valve, and the electric valve maintains the opening state before power-off until the next power-on. If there is a leak in the indoor unit of the air conditioner, since the electric valve maintains the current opening state, the refrigerant in the refrigerant pipeline will leak into the surrounding environment of the air conditioner through the electric valve, and some types of refrigerants are flammable, posing a safety hazard. Summary of the Invention
[0004] In view of this, embodiments of the present application provide a control device for an air conditioner, a control method therefor, a device, and a storage medium, aiming to control the valve body to be in a fully closed state when the main power supply of the air conditioner suddenly cuts off, and improve the safety and reliability of the air conditioner.
[0005] The technical solution of the embodiments of the present application is implemented as follows:
[0006] In a first aspect, embodiments of the present application provide a control device for an air conditioner. At least one valve body is provided on the refrigerant pipeline of the air conditioner. The air conditioner includes a first power supply port and a second power supply port. The control device includes:
[0007] A controller, configured to control the at least one valve body to act and supply power to the at least one valve body;
[0008] A first rectifier circuit, connected to the first power supply port, for rectifying the output power of the main power supply into direct current;
[0009] A switching power supply circuit, disposed at the output end of the first rectifier circuit and connected to the power supply end of the controller, for converting and processing the direct current output by the first rectifier circuit and supplying power to the controller;
[0010] A backup power supply circuit, disposed at the power supply end of the switching power supply circuit and connected to the second power supply port, for converting and processing the output power of the backup power supply and supplying power to the switching power supply circuit when the main power supply cuts off;
[0011] Wherein, the first power supply port is used to connect to the main power supply, and the second power supply port is used to connect to the backup power supply. The main power supply and the backup power supply are arranged outside the air conditioner.
[0012] In some embodiments, the backup power supply circuit includes:
[0013] A voltage detection circuit, connected to the controller, for detecting the output voltage value of the first rectification circuit;
[0014] A second rectification circuit, for rectifying the output power of the backup power supply into direct current and supplying power to the switching power supply circuit;
[0015] An access circuit, for controlling the connection state between the second power supply port and the switching power supply circuit.
[0016] In some embodiments, the air conditioner further includes an inverter circuit for supplying power to a three-phase load. The output end of the backup power supply circuit is connected to the power supply end of the inverter circuit, and the backup power supply circuit is further used to supply power to the inverter circuit when the main power supply is powered off.
[0017] In some embodiments, the switching power supply circuit is further used to convert and process the direct current output by the backup power supply circuit and supply power to the controller when the main power supply is powered off.
[0018] In some embodiments, the controller is used to generate a first instruction based on the output voltage value, and the access circuit is used to control the conduction between the second power supply port and the switching power supply circuit based on the first instruction.
[0019] In a second aspect, an embodiment of the present application provides a control method for a control device of an air conditioner as described in the first aspect of the embodiments of the present application. The control method includes:
[0020] Determine that the main power supply is powered off;
[0021] Control the at least one valve body to close to the fully closed state.
[0022] In some embodiments, the control method further includes:
[0023] After controlling the at least one valve body to close for a first set duration, the controller shuts down and cuts off the power;
[0024] Wherein, the first set duration is greater than or equal to the duration required for the controller to control the at least one valve body from the fully open state to the fully closed state.
[0025] In some embodiments, the determining that the main power supply is powered off includes:
[0026] If it is determined that the output voltage value of the first rectifier circuit is less than the set voltage threshold, it is determined that the main power supply is powered off.
[0027] In some embodiments, after the main power supply is powered off, the method further includes:
[0028] Generate a first instruction;
[0029] Send the first instruction to the backup power supply circuit, so that the second power port and the switching power supply circuit are conducted.
[0030] In a third aspect, an embodiment of the present application provides a control device for an air conditioner according to the first aspect of the embodiments of the present application, and the controller is configured to execute the steps of the method according to the second aspect of the embodiments of the present application.
[0031] In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device is an air conditioner, including: at least one valve body, a first power port, a second power port, and a control device as described in the third aspect;
[0032] Wherein, the first power port is used to connect to the main power supply, the second power port is used to connect to the backup power supply, and the main power supply and the backup power supply are arranged outside the air conditioner.
[0033] In a fifth aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method according to the second aspect of the embodiments of the present application are implemented.
[0034] The control device of the air conditioner provided by the embodiment of the present application includes: a controller, a first rectifier circuit, a switching power supply circuit, and a backup power supply circuit. The controller is used to control the operation of at least one valve body and supply power to at least one valve body; the first rectifier circuit is connected to the first power supply port and is used to rectify the output power of the main power supply into direct current; the switching power supply circuit is arranged at the output end of the first rectifier circuit and is connected to the power supply end of the controller, and is used to convert and process the direct current output by the first rectifier circuit and supply power to the controller; the backup power supply circuit is arranged at the power supply end of the switching power supply circuit and is connected to the second power supply port, and is used to convert and process the output power of the backup power supply and supply power to the switching power supply circuit when the main power supply is powered off. In this way, in the case of a sudden power failure of the main power supply, the backup power supply supplies power to the switching power supply circuit through the backup power supply circuit, and the controller continues to work, and can control all valve bodies to close, effectively avoiding the leakage of combustible refrigerant to the surrounding environment where the air conditioner is located through the leakage point, improving the safety and reliability of the air conditioner; in addition, the backup power supply is connected to the air conditioner through the second power supply port of the air conditioner, does not occupy the internal installation space of the air conditioner, and reduces the modification cost of the air conditioner design. Description of the Drawings
[0035] Figure 1 It is a schematic structural diagram of the control device of the air conditioner according to the embodiment of the present application;
[0036] Figure 2 It is a schematic structural diagram of the air conditioner in an application example of the present application;
[0037] Figure 3 It is a schematic structural diagram of the backup power supply circuit according to the embodiment of the present application;
[0038] Figure 4 It is a schematic structural diagram of the backup power supply circuit in an application example of the present application;
[0039] Figure 5 It is a schematic circuit diagram of the control device of the air conditioner in an application example of the present application;
[0040] Figure 6 It is a schematic circuit diagram of the control device of the air conditioner in another application example of the present application;
[0041] Figure 7 It is a schematic flow diagram of the control method of the control device according to the embodiment of the present application;
[0042] Figure 8 It is a schematic flow diagram of the control method of the control device when the main power supply suddenly fails in an application example of the present application. Detailed Embodiments
[0043] The present application will be further described in detail below with reference to the drawings and embodiments.
[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application.
[0045] An embodiment of this application provides a control device for an air conditioner. As Figure 1 shown, at least one valve body 700 is provided on the refrigerant pipeline of the air conditioner. The air conditioner includes a first power supply port 500 and a second power supply port 600. The control device includes: a controller 100, a first rectifier circuit 200, a switching power supply circuit 300, and a backup power supply circuit 400. The controller 100 is used to control the action of at least one valve body 700 and supply power to at least one valve body 700; the first rectifier circuit 200 is connected to the first power supply port 500 and is used to rectify the output power of the main power supply 800 into direct current; the switching power supply circuit 300 is arranged at the output end of the first rectifier circuit 200 and is connected to the power supply end of the controller 100, and is used to convert and process the direct current output by the first rectifier circuit 200 and supply power to the controller 100; the backup power supply circuit 400 is arranged at the power supply end of the switching power supply circuit 300 and is connected to the second power supply port 600, and is used to convert and process the output power of the backup power supply 900 and supply power to the switching power supply circuit 300 when the main power supply 800 is powered off. Among them, the first power supply port 500 is used to connect to the main power supply 800, the second power supply port 600 is used to connect to the backup power supply 900, and the main power supply 800 and the backup power supply 900 are arranged outside the air conditioner.
[0046] Here, the refrigerant is used to transfer heat energy in the air conditioner to produce a cooling or heating effect; the refrigerant pipeline connects the indoor unit and the outdoor unit of the air conditioner for the circulation of the refrigerant; the valve body 700 controls the refrigerant flow rate in the refrigerant pipeline by adjusting the opening degree to produce different cooling or heating effects.
[0047] Among them, the valve body 700 can be an electric valve, and the embodiment of this application does not make a specific limitation on the type of the valve body 700; the air conditioner includes at least one valve body 700, and the number of the valve bodies 700 can be determined according to the number of refrigerant pipelines.
[0048] In addition, the air conditioner can also be provided with two valve bodies 700 on the main return path of the refrigerant pipeline. When the controller 100 controls the two valve bodies 700 to close to the fully closed state, all the refrigerant pipelines are in a cut-off state.
[0049] In an application example of this application, a structural schematic diagram of an air conditioner is provided. As Figure 2As shown in the figure. The outdoor unit of the air conditioner includes components such as an outdoor heat exchanger, a gas-liquid separator, a compressor, a check valve, and a four-way valve. A refrigerant pipeline is provided between the indoor unit and the outdoor unit of the air conditioner. An electric valve is provided on each branch of the refrigerant pipeline to control the refrigerant flow in the refrigerant pipeline branch. An electric valve is provided on each of the inlet side and the outlet side of the main circuit of the refrigerant pipeline to cut off the refrigerant flow in the refrigerant pipeline.
[0050] It can be understood that the controller 100 controls all the electric valves on the refrigerant pipeline branch to be closed to the fully closed state, or controls the two electric valves on the main circuit of the refrigerant pipeline to be closed to the fully closed state, both of which can achieve that all the refrigerant pipelines are in the cut-off state.
[0051] It should be noted that when the controller 100 of the air conditioner receives an external shutdown instruction, the controller 100 will sequentially shut down the various working components of the air conditioner according to the set shutdown steps. When all the shutdown steps are completed, the controller 100 executes the power-off step. At this time, the air conditioner loses the control power supply and is in the shutdown and power-off state.
[0052] Among them, the set shutdown steps include the controller 100 controlling the valve body 700 to be in the set state.
[0053] It should be noted that in the related art, when the main power supply of the air conditioner suddenly cuts off, the controller loses the input power supply and cannot execute the shutdown steps before power-off. The controller no longer controls the valve body opening, and the valve body remains in the opening state before power-off until the next power-on. For example, if there is a leak in the indoor unit of the air conditioner, since the valve body remains in the current opening state, the refrigerant in the refrigerant pipeline will leak through the leak point and through the valve body into the surrounding environment where the air conditioner is located, posing a safety hazard; when the refrigerant is flammable, an explosion may even occur.
[0054] It can be understood that in the embodiment of the present application, a backup power supply circuit 400 is provided at the power supply end of the switching power supply circuit 300. On the premise that the controller 100 does not receive an external shutdown instruction, when the main power supply 800 suddenly cuts off, the backup power supply 900 supplies power to the switching power supply circuit 300 through the backup power supply circuit 400, and the controller 100 continues to work and can control all the valve bodies 700 to be closed, effectively avoiding the leakage of flammable refrigerant through the valve body 700 through the leak point into the surrounding environment where the air conditioner is located, and improving the safety and reliability of the air conditioner.
[0055] It should be noted that the backup power supply 900 can be a DC power supply or an AC power supply, and the embodiment of the present application does not make a specific limitation.
[0056] Here, the first power supply port 500 is a conventional setting of the air conditioner, such as the power supply plug of the air conditioner; the second power supply port 600 can be adapted according to the type of the backup power supply 900. For example, if the backup power supply 900 is a DC power supply such as a lithium battery, a super capacitor, or a photovoltaic cell, the second power supply port 600 can be an aviation connector; for example, if the backup power supply 900 is a three-phase three-wire AC power supply, the second power supply port 600 can be another power supply plug of the air conditioner.
[0057] It can be understood that the type of the backup power supply 900 can be selected by the user according to needs, and the air conditioner of the embodiment of the present application can be configured with a variety of styles of the second power supply port 600 to be adapted to different types of the backup power supply 900.
[0058] It should be noted that the backup power supply 900 is not included in the air conditioner, and can be configured by the user according to needs, or can be purchased together with the air conditioner in a package.
[0059] It can be understood that since the power supply of the switching power supply circuit 300 is a DC power supply, whether the backup power supply 900 is a DC power supply or an AC power supply, direct current can be output after being converted and processed by the backup power supply circuit 400.
[0060] In an application example of the present application, the control device further includes a filter capacitor. The filter capacitor is disposed at the output end of the first rectification circuit 200 and is connected to the power supply end of the switching power supply circuit 300, and is used for filtering and voltage stabilizing the output power of the first rectification circuit 200.
[0061] It should be noted that the output end of the backup power supply circuit 400 is disposed between the output end of the first rectification circuit 200 and the filter capacitor. When the main power supply 800 is powered off, the filter capacitor is further used for filtering and voltage stabilizing the output power of the backup power supply circuit 400.
[0062] Exemplarily, as Figure 3 shown, the backup power supply circuit 400 includes: a voltage detection circuit 401, a second rectification circuit 402, and an access circuit 403. The voltage detection circuit 401 is connected to the controller 100 and is used for detecting the output voltage value of the first rectification circuit 200. The second rectification circuit 402 is used for rectifying the output power of the backup power supply 900 into direct current and supplying power to the switching power supply circuit 300. The access circuit 403 is used for controlling the connection state between the second power supply port 600 and the switching power supply circuit 300.
[0063] Exemplarily, the switching power supply circuit 300 is further used for converting and processing the direct current output by the backup power supply circuit 400 and supplying power to the controller 100 when the main power supply 800 is powered off.
[0064] It can be understood that the voltage detection circuit 401 is disposed at the output end of the first rectification circuit 200 and detects the output voltage value of the first rectification circuit 200.
[0065] Here, the backup power supply circuit 400 includes a second rectification circuit 402. The power supply terminal of the second rectification circuit 402 can be connected to a DC power supply or an AC power supply. Therefore, regardless of whether the backup power supply 900 is a DC power supply or an AC power supply, the output power of the backup power supply 900 can be converted into direct current by the second rectification circuit 402 and supplied to the switching power supply circuit 300.
[0066] It should be noted that in an application example of the present application, the power supply terminal of the second rectification circuit 402 can be connected to the output end of the access circuit 403, as Figure 4 shown.
[0067] It can be understood that the access circuit 403 is disposed at the power supply terminal or the output end of the second rectification circuit 402, which does not affect the function of the access circuit 403 to control the connection relationship between the second power supply port 600 and the switching power supply circuit 300. The present application embodiment does not specifically limit the series relationship between the access circuit 403 and the second rectification circuit 402.
[0068] In an application example of the present application, a circuit schematic diagram of a control device is provided, as Figure 5 shown. The first rectification circuit 200 includes diodes D1 - D4, which are used to convert the output power of the main power supply 800 into direct current and supply it to the switching power supply circuit 300; the filter capacitor C1 is used to perform voltage stabilization and filtering processing on the direct current output by the first rectification circuit 200 and the backup power supply circuit 400; the backup power supply circuit 400 includes a voltage detection circuit 401, a second rectification circuit 402, and an access circuit 403. The second rectification circuit 402 includes diodes D5 - D8, which are used to convert the output power of the backup power supply 900 into direct current; the access circuit 403 is a normally open relay K1, the main contacts of K1 are connected to the second power supply port 600, and the on - off state of K1 is controlled by the controller 100; the voltage detection circuit 401 detects the output voltage of the first rectification circuit 200 and sends the detection result to the controller 100.
[0069] It should be noted that since the control device includes the first rectification circuit 200, when the access circuit 403 is in the closed state and the backup power supply 900 supplies power to the switching power supply circuit 300, by using the reverse cut - off characteristics of the diodes D1 - D4 in the first rectification circuit 200, the power supply current of the backup power supply 900 will not flow into the main power supply 800, improving the safety of the air conditioner.
[0070] Exemplarily, the air conditioner further includes an inverter circuit 1000 for supplying power to a three-phase load (as Figure 6 shown), the output terminal of the backup power supply circuit 400 is connected to the power supply terminal of the inverter circuit 1000, and the backup power supply circuit 400 is further configured to supply power to the inverter circuit 1000 when the main power supply 800 is powered off.
[0071] In an application example of the present application, a circuit schematic diagram of a control device is provided, as Figure 6 shown. Different from Figure 5 the control device shown, in this application example, the inverter circuit 1000 of the air conditioner shares the first rectifier circuit 200 with the switching power supply circuit 300.
[0072] It can be understood that when the main power supply 800 is powered off, the backup power supply 900 can also supply power to the inverter circuit 1000 through the backup power supply circuit 400. At this time, the three-phase load of the air conditioner executes a shutdown instruction, effectively avoiding damage to the three-phase load caused by the sudden power-off of the main power supply 800 resulting in the stop of the three-phase load.
[0073] Exemplarily, the controller 100 is configured to generate a first instruction based on the output voltage value, and the access circuit 403 is configured to control the conduction between the second power supply port 600 and the switching power supply circuit 300 based on the first instruction.
[0074] Here, the output voltage value of the first rectifier circuit 200 is detected by the voltage detection circuit 401. The voltage detection circuit 401 can directly send the detected output voltage value to the controller 100, or analyze the detected output voltage value and send the analysis result to the controller 100. The present application does not specifically limit the form of information sent by the voltage detection circuit 401 to the controller 100. The controller 100 can determine that the main power supply 800 is powered off according to the signal sent by the voltage detection circuit 401.
[0075] It can be understood that the controller 100 determines that the main power supply 800 is powered off based on the information sent by the voltage detection circuit 401, generates a first instruction and sends it to the access circuit 403. After receiving the first instruction, the access circuit 403 controls the conduction between the second power supply port 600 and the switching power supply circuit 300. At this time, the backup power supply 900 supplies power to the second rectifier circuit 402 through the second power supply port 600. The second rectifier circuit 402 converts and processes the output power of the backup power supply 900 and supplies it to the switching power supply circuit 300 to provide power for the controller 100 to execute the shutdown procedure.
[0076] It should be noted that since the backup power supply circuit 400 has a simple design, the backup power supply circuit 400 can be arranged on the same substrate as the controller, or on a different substrate from the controller 100.
[0077] It should be noted that since the voltage detection circuit 401 in the backup power supply circuit 400 needs to send the detection result to the controller 100, the on-off state of the access circuit 403 is controlled by the controller 100. Preferably, the backup power supply circuit 400 and the controller 100 are arranged on the same substrate.
[0078] It can be understood that the backup power supply 900 is connected to the air conditioner through the second power port 600 of the air conditioner. Therefore, there is no need to set an energy storage unit inside the air conditioner to provide emergency power for the controller 100, which saves the installation space inside the air conditioner and reduces the design modification cost of the air conditioner.
[0079] The embodiment of the present application also provides a control method based on the foregoing control device, as Figure 7 shown, the method includes:
[0080] Step 701, determining that the main power supply is powered off.
[0081] Step 702, controlling at least one valve body to close to the fully closed state.
[0082] It can be understood that in the control method of the embodiment of the present application, on the premise that the controller 100 does not receive an external shutdown instruction, by determining that the main power supply 800 is powered off, it is judged that the output voltage of the switching power supply circuit 300 will soon be unable to ensure the normal operation of the controller 100. The controller 100 executes the shutdown step and controls the valve body 700 to close to the fully closed state, effectively avoiding the situation that the controller 100 is unable to control the opening degree of the valve body 700 due to the sudden power-off of the main power supply 800. Furthermore, when there is a leak point in the indoor unit of the air conditioner, the combustible refrigerant leaks to the surrounding environment of the air conditioner through the leak point via the valve body 700, which improves the safety and reliability of the air conditioner.
[0083] In an application example of the present application, after step 701, the control method further includes: stopping the compressor and the outdoor DC fan.
[0084] Here, in addition to controlling the opening degree of the valve body 700, the controller 100 of the control device can also control the start and stop of the compressor and the outdoor DC fan of the air conditioner.
[0085] Exemplarily, after step 702, the control method further includes: after controlling at least one valve body to close for a first set duration, the controller shuts down and cuts off the power. Wherein, the first set duration is greater than or equal to the duration required for the controller to control at least one valve body from the fully open state to the fully closed state.
[0086] It is understandable that when the controller 100 determines that the main power supply 800 is powered off, the controller 100 controls the valve body 700 to close to the fully closed state. Since the controller 100 cannot directly detect the current opening degree of the valve body 700, the controller 100 controls the valve body 700 to close for a first set duration, where the first set duration is greater than or equal to the duration required for the controller 100 to control the valve body 700 to move from the fully open state to the fully closed state, so as to indirectly determine that the valve body 700 is currently in the fully closed state. At this time, the controller 100 has completed all the set shutdown steps, and the air conditioner does not need to be powered on to work, and the controller 100 executes the power-off step.
[0087] Exemplarily, step 701, determining that the main power supply is powered off, includes: if it is determined that the output voltage value of the first rectification circuit is less than the set voltage threshold, it is determined that the main power supply is powered off.
[0088] Here, the set voltage threshold is set according to the allowable operating voltage range of the switching power supply circuit 300. The set voltage threshold can be slightly higher than the lower limit value of the allowable operating voltage of the switching power supply circuit 300. When the output voltage value of the first rectification circuit 200 is greater than or equal to the set voltage threshold, it can ensure the normal operation of the switching power supply circuit 300; when the output voltage value of the first rectification circuit 200 is less than the set voltage threshold, since it cannot ensure the long-term normal operation of the switching power supply circuit 300, it is considered that the main power supply 800 is powered off at this time, resulting in a decrease in the output voltage value of the first rectification circuit 200.
[0089] Here, the voltage detection circuit 401 can directly send the detected output voltage value of the first rectification circuit 200 to the controller 100, and the controller 100 compares the received output voltage value with the set voltage threshold to determine that the output voltage value of the first rectification circuit 200 is less than the set voltage threshold; the voltage detection circuit 401 can compare the detected output voltage value of the first rectification circuit 200 with the set voltage threshold and send the comparison result to the controller 100, and the controller 100 determines that the output voltage value of the first rectification circuit 200 is less than the set voltage threshold based on the comparison result.
[0090] Exemplarily, after step 701, determining that the main power supply is powered off, the control method further includes:
[0091] Generating a first instruction.
[0092] Sending the first instruction to the backup power supply circuit to make the second power port conduct with the switching power supply circuit.
[0093] Here, the access circuit 403 of the backup power supply circuit 400 is in the open state when the first instruction is not received, and is in the closed state when the first instruction is received.
[0094] It can be understood that after the controller 100 determines that the main power supply 800 is powered off, it generates a first instruction for controlling the access circuit 403 of the backup power supply circuit 400 and sends the first instruction to the access circuit 403. After receiving the first instruction, the access circuit 403 is in a closed state. At this time, the second power supply port 600 is conducted with the switching power supply circuit 300, and the output power of the backup power supply 900 is supplied to the switching power supply circuit 300 after being converted and processed by the second rectification circuit 402, so as to provide power for the controller 100 to execute the shutdown procedure.
[0095] It can be understood that after step 703, the controller 100 is in a power-off state. At this time, the controller 100 cannot send the first instruction to the access circuit 403, the second power supply port 600 is disconnected from the switching power supply circuit 300, and the backup power supply 900 stops supplying power.
[0096] In an application example of the present application, a control method for a control device when the main power supply suddenly loses power is provided, as Figure 8 shown, including:
[0097] Step 801, the main power supply is powered off.
[0098] Here, the power-off of the main power supply 800 can be that the main power supply 800 suddenly loses power, or the power plug of the air conditioner suddenly falls off the socket.
[0099] Step 802, determine whether the output voltage value of the first rectification circuit is less than the set voltage threshold. If so, execute step 803; if not, continue to execute step 802.
[0100] Here, the output voltage value of the first rectification circuit 200 is detected by the voltage detection circuit 401, and the voltage detection circuit 401 sends the detection result or the comparison result with the set voltage threshold to the controller 100, so that the controller 100 can determine whether the main power supply 800 is currently powered off.
[0101] Step 803, determine that the main power supply is powered off.
[0102] Here, the controller 100 determines that the output voltage value of the first rectification circuit 200 is less than the set voltage threshold, determines that the power supply of the main power supply 800 is abnormal, and further determines that the switching power supply circuit 300 powered by the main power supply 800 is powered off.
[0103] Step 804, generate a first instruction.
[0104] Step 805, send the first instruction to the access circuit.
[0105] Here, after the access circuit 403 receives the first instruction, it closes, the conduction between the second power supply port 600 and the switching power supply circuit 300 is established, the output power of the backup power supply 900 is supplied to the switching power supply circuit 300 after being processed by the backup power supply circuit 400, and the controller 100 executes the shutdown procedure.
[0106] It should be noted that during the stages from step 801 to step 805, the main power supply 800 is in a power-off state. Since a filter capacitor is provided at the output end of the first rectifier circuit 200, the filter capacitor can quickly discharge within a short time to suppress the sudden change of the supply voltage of the switching power supply circuit 300. After the access circuit 403 is closed, the switching power supply circuit 300 is powered by the backup power supply 900.
[0107] Step 806, stop the compressor and the DC external fan.
[0108] Here, in addition to controlling the valve body opening degree, the controller 100 of the control device can also control the start and stop of the compressor and the DC external fan of the air conditioner.
[0109] Step 807, control the valve body to close to the fully closed state.
[0110] Step 808, the controller shuts down and cuts off the power.
[0111] Here, after the controller 100 determines that the valve body 700 is in the fully closed state, it determines that all the shutdown steps have been completed, and the controller 100 shuts down and cuts off the power.
[0112] Here, it is possible to start timing from the start of the control action of the controller 100 to close the valve body 700. After reaching the first set duration, the controller 100 determines that the valve body 700 is in the fully closed state, where the first set duration is greater than or equal to the duration required for the controller 100 to control at least one valve body 700 from the fully open state to the fully closed state.
[0113] It can be understood that any step of the control method of the control device in the foregoing embodiments of the present application can be implemented by a configured program of the controller 100 of the control device.
[0114] An embodiment of the present application further provides an electronic device, which is an air conditioner. The electronic device includes at least one valve body 700, a first power supply port 500, a second power supply port 600, and the control device described above in the embodiment of the present application. The first power supply port 500 is used to connect to the main power supply 800, and the second power supply port 600 is used to connect to the backup power supply 900. The main power supply 800 and the backup power supply 900 are arranged outside the air conditioner. In this way, when the controller 100 does not receive an external shutdown instruction, when the main power supply 800 suddenly loses power, the backup power supply 900 supplies power to the switching power supply circuit 300 through the backup power supply circuit 400, and the controller 100 continues to work, and can control all valve bodies 700 to close, effectively preventing the combustible refrigerant from leaking into the surrounding environment where the air conditioner is located through the leakage point through the valve body, and improving the safety and reliability of the air conditioner.
[0115] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a memory storing a computer program. The aforementioned computer program can be executed by the microprocessor of the control device to complete the steps described in the method of the embodiment of the present application. The computer-readable storage medium can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), an electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), a ferromagnetic random access memory (FRAM, ferromagnetic random access memory), a flash memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory.
[0116] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence.
[0117] In addition, the technical solutions described in the embodiments of the present application can be arbitrarily combined without conflict.
[0118] As described above, it is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A control device for an air conditioner, characterized in that, at least one valve body is provided on the refrigerant pipeline of the air conditioner, the air conditioner includes a first power supply port and a second power supply port, and the control device includes: a controller for controlling the operation of the at least one valve body and supplying power to the at least one valve body; a first rectifier circuit connected to the first power supply port for rectifying the output power of the main power supply into direct current; a switching power supply circuit provided at the output end of the first rectifier circuit and connected to the power supply end of the controller for converting and processing the direct current output by the first rectifier circuit and supplying power to the controller; a backup power supply circuit provided at the power supply end of the switching power supply circuit and connected to the second power supply port for converting and processing the output power of the backup power supply and supplying power to the switching power supply circuit when the main power supply is powered off; wherein, the first power supply port is used to connect to the main power supply, the second power supply port is used to connect to the backup power supply, and the main power supply and the backup power supply are provided outside the air conditioner.
2. The control device according to claim 1, characterized in that, the backup power supply circuit includes: a voltage detection circuit connected to the controller for detecting the output voltage value of the first rectifier circuit; a second rectifier circuit for rectifying the output power of the backup power supply into direct current and supplying power to the switching power supply circuit; an access circuit for controlling the connection state between the second power supply port and the switching power supply circuit.
3. The control device according to claim 1, characterized in that, the air conditioner further includes an inverter circuit for supplying power to a three-phase load, the output end of the backup power supply circuit is connected to the power supply end of the inverter circuit, and the backup power supply circuit is further used to supply power to the inverter circuit when the main power supply is powered off.
4. The control device according to claim 1, characterized in that, the switching power supply circuit is further used to convert and process the direct current output by the backup power supply circuit and supply power to the controller when the main power supply is powered off.
5. The control device according to claim 2, characterized in that, the controller is used to generate a first instruction based on the output voltage value, and the access circuit is used to control the conduction between the second power supply port and the switching power supply circuit based on the first instruction.
6. A control method for a control device according to any one of claims 1 to 5, characterized in that, it includes: determining that the main power supply is powered off; controlling the at least one valve body to close to a fully closed state.
7. The method according to claim 6, characterized in that, it further includes: after controlling the at least one valve body to close for a first set duration, the controller shuts down and cuts off the power; wherein, the first set duration is greater than or equal to the duration required for the controller to control the at least one valve body to change from a fully open state to a fully closed state.
8. The method according to claim 6, characterized in that, the determining that the main power supply is powered off includes: If it is determined that the output voltage value of the first rectifying circuit is less than the set voltage threshold, it is determined that the main power supply is powered off.
9. The method according to claim 6, wherein, after the main power supply is powered off, the method further includes: generating a first instruction; sending the first instruction to the backup power supply circuit to make the second power supply port conduct with the switching power supply circuit.
10. A control device according to any one of claims 1 to 5, wherein, the controller is configured to execute the steps of the method according to any one of claims 6 to 9.
11. An electronic device, wherein, the electronic device is an air conditioner, including: at least one valve body, a first power supply port, a second power supply port, and the control device according to claim 10; wherein, the first power supply port is used to connect to the main power supply, the second power supply port is used to connect to the backup power supply, and the main power supply and the backup power supply are arranged outside the air conditioner.
12. A storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, the steps of the method according to any one of claims 6 to 9 are implemented.