CROSS-REFERENCE TO RELATED APPLICATION
-
This application claims priority to the
Chinese Patent Application No. 202311589918.X, filed on November 24, 2023 and
Chinese Patent Application No. 202323201595.0, filed on November 24, 2023 . The entire contents of these Chinese patent applications are hereby incorporated by reference in their entirety.
TECHNICAL FIELD
-
The present application relates to the field of air conditioners, and in particular, to a control apparatus for an air conditioner, a control method thereof, a device, and a storage medium.
BACKGROUND
-
Electric valves are commonly used in the air conditioner, and the opening degree of the electric valves and the cut-off and connection of flow paths are controlled by transmitting pulse signals or switching the power supply on and off. The air conditioner controls the electric valve to be in a preset state before stopping operation.
-
In the related art, when the external power supply of an air conditioner is suddenly cut off, the controller of the air conditioner stops controlling the electric valve, and the electric valve remains in the opening degree state prior to the power cut off until the next power-on. If a leakage point occurs in the indoor unit of the air conditioner, the refrigerant in the refrigerant pipeline will leak into the surrounding environment of the air conditioner through the electric valve, as the electric valve remains in its current opening degree state. Since some types of refrigerants are flammable, potential safety hazards will arise.
SUMMARY
-
In view of this, embodiments of the present application provide a control apparatus for an air conditioner, a control method thereof, a device, and a storage medium. The present application aims to control the valve to be in a fully closed state when the external power supply of the air conditioner is suddenly cut off, so as to improve the safety and reliability of the air conditioner.
-
The technical solutions of the embodiments of the present application are implemented as follows.
-
In a first aspect, embodiments of the present application provide a control apparatus for an air conditioner. At least one valve is arranged on the refrigerant pipeline of the air conditioner, and the control apparatus comprises:
- a controller, configured to control an action of the at least one valve and supply power to the at least one valve;
- a power supply circuit, configured to convert and process power from an external power supply and then supply power to the controller, an output end of the power supply circuit is connected to a power supply end of the controller through a first power supply line;
- an energy storage circuit, arranged between the output end of the power supply circuit and the power supply end of the controller and connected in parallel with the first power supply line, the energy storage circuit is configured to supply power to the controller when the power supply circuit is powered off.
-
In some embodiments, the energy storage circuit comprises:
- an energy storage unit, configured to store electric energy output by the power supply circuit and discharge electric energy when the power supply circuit is powered off;
- a step-down circuit, configured to step down an output voltage of the power supply circuit and charge the energy storage unit;
- a step-up circuit, configured to step up an output voltage of the energy storage unit and supply power to the controller when the energy storage unit discharges electric energy;
- an enable control circuit, configured to control conduction and disconnection of the step-up circuit and the step-down circuit.
-
In some embodiments, the energy storage circuit further comprises:
a first voltage detection circuit, configured to detect the output voltage of the power supply circuit to obtain a first voltage value, compare the first voltage value with a first preset voltage threshold to obtain a first comparison result, and send the first comparison result to the controller.
-
In some embodiments, the energy storage circuit further comprises:
- a second voltage detection circuit, configured to detect an output voltage of the step-down circuit to obtain a second voltage value, compare the second voltage value with a second preset voltage threshold to obtain a second comparison result, and send the second comparison result to the step-down circuit, the step-down circuit determining a charging mode of the energy storage unit according to the second comparison result;
- the charging mode comprises a constant current charging mode and a trickle charging mode.
-
In some embodiments, the enable control circuit controls conduction and disconnection of the step-up circuit and the step-down circuit according to a control command from the controller;
the control command comprise a first command and a second command, the first command being configured to control the step-up circuit to be disconnected and the step-down circuit to be conducted, the second command is configured to control the step-down circuit to be disconnected and the step-up circuit to be conducted.
-
In some embodiments, the control apparatus further comprises:
a third voltage detection circuit, configured to detect a power supply state of the external power supply, generate a first power supply detection information representing that the external power supply supplies power normally, and send the first power supply detection information to the controller.
-
In some embodiments, the step-up circuit is configured such that an output voltage value of the step-up circuit is greater than or equal to the first preset voltage threshold within a first preset duration when the energy storage unit discharges electric energy;
the first preset duration is greater than or equal to the duration required for the controller to control the at least one valve to transition from a fully open state to a fully closed state.
-
In some embodiments, the energy storage circuit and the controller are arranged on the same substrate.
-
In some embodiments, the control apparatus is arranged on a main control board of an outdoor unit of the air conditioner.
-
In some embodiments, the first power supply line comprises a voltage regulator circuit connected in parallel with the energy storage circuit.
-
According to a second aspect of the present application, embodiments of the present application provide a control method for the control apparatus of the air conditioner according to the first aspect of embodiments of the present application, comprising:
- determining that the power supply circuit is powered off;
- controlling the at least one valve to close to a fully closed state.
-
In some embodiments, the method further comprises:
- after controlling the at least one valve to be closed for a first preset duration, powering off and shutting down the controller;
- the first preset duration is greater than or equal to a duration required for the controller to control the at least one valve to transition from a fully open state to a fully closed state.
-
In some embodiments, the method further comprises:
- determining an operating mode of the energy storage circuit according to a first comparison result, and sending a control command to the energy storage circuit;
- the first comparison result is generated by comparing a first voltage value output by the power supply circuit with a first preset voltage threshold by the energy storage circuit.
-
In some embodiments, the determining the operating mode of the energy storage circuit according to the first comparison result and sending a control command to the energy storage circuit comprises:
- if it is determined according to the first comparison result that the first voltage value is greater than or equal to the first preset voltage threshold, determining that the energy storage circuit operates in a charging mode, and sending a first command to the enable control circuit of the energy storage circuit;
- if it is determined according to the first comparison result that the first voltage value is less than the first preset voltage threshold, determining that the energy storage circuit operates in a discharging mode, and sending a second command to the enable control circuit of the energy storage circuit.
-
In some embodiments, the determining that the power supply circuit is powered off comprises:
- determining that the power supply circuit is powered off when no first power supply detection information is received by the controller within a second preset duration;
- the first power supply detection information is generated by a third voltage detection circuit of the control apparatus, and is configured to represent that the external power supply supplies power normally.
-
In some embodiments, the method further comprises:
- determining that the external power supply supplies power normally, when a first power supply detection information is received within a second preset duration;
- controlling the at least one valve to reset and be in a preset state;
- the first power supply detection information is generated by a third voltage detection circuit of the control apparatus, and is configured to represent that the external power supply supplies power normally.
-
A third aspect of the present application provides a control apparatus for an air conditioner according to the first aspect of embodiments of the present application, wherein the control apparatus is configured to perform the method according to the second aspect of embodiments of the present application.
-
A fourth aspect of the present application provides an electronic device, wherein the electronic device is an air conditioner. The electronic device comprises at least one valve and the control apparatus according to the third aspect.
-
A fifth aspect of the present application provides a storage medium on which a computer program is stored. The computer program, when executed by a processor, performs the method according to the second aspect of embodiments of the present application.
-
The control apparatus for an air conditioner provided by embodiments of the present application comprises: a controller, configured to control an action of the at least one valve and supply power to the at least one valve; a power supply circuit, configured to convert and process power from an external power supply and then supply power to the controller, an output end of the power supply circuit is connected to a power supply end of the controller through a first power supply line; an energy storage circuit, arranged between the output end of the power supply circuit and the power supply end of the controller and connected in parallel with the first power supply line, the energy storage circuit is configured to supply power to the controller when the power supply circuit is powered off. By connecting the energy storage circuit to the power supply circuit and the controller, charging and discharging functions of the energy storage circuit are realized. When power supply from the external power supply is suddenly cut off, the energy storage circuit supplies power to the controller, so that the valve can be controlled to be fully closed. Accordingly, leakage of flammable refrigerant into the surrounding environment of the air conditioner through the valve via leakage points is effectively avoided, which improves the safety and reliability of the air conditioner. The energy storage circuit is connected in parallel with the first power supply line, and shares the power supply circuit as an input source with the controller. Meanwhile, according to the miniaturization design scheme of the energy storage circuit, the energy storage circuit and the controller are arranged on the same substrate, thus reducing the cost of the control apparatus of the air conditioner.
BRIEF DESCRIPTION OF THE DRAWINGS
-
- FIG. 1 is a schematic view of a control apparatus for an air conditioner according to an embodiment of the present application;
- FIG. 2 is a schematic view of an energy storage circuit according to an embodiment of the present application;
- FIG. 3 is a schematic view of a main power topology circuit of the energy storage circuit in an application example of the present application;
- FIG. 4 is a schematic view of the energy storage circuit in an application example of the present application;
- FIG. 5 is a schematic view of an enable control circuit according to an embodiment of the present application;
- FIG. 6 is a schematic view of a control apparatus for an air conditioner in an application example of the present application;
- FIG. 7 is a schematic view of a control apparatus for an air conditioner in another application example of the present application;
- FIG. 8 is a schematic flow view of a control method of the control apparatus according to an embodiment of the present application;
- FIG. 9 is a schematic view of a third voltage detection circuit in an application example of the present application;
- FIG. 10 is a schematic waveform of first power supply detection information in an application example of the present application;
- FIG. 11 is a schematic view of an air conditioner in another application example of the present application;
- FIG. 12 is a schematic flow chart of a normal power-on control method of the control apparatus in an example of the present application;
- FIG. 13 is a schematic flow chart of a control method of the control apparatus when power supply of an external power supply is suddenly cut off in an example of the present application.
DETAILED DESCRIPTION
-
The present application will be further described in detail below with reference to the accompanying drawings and embodiments.
-
Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
-
Embodiments of the present application provide a control apparatus for an air conditioner. As shown in FIG. 1, at least one valve 400 is arranged on the refrigerant pipeline of the air conditioner. The control apparatus comprises: a controller 100, a power supply circuit 200 and an energy storage circuit 300. The controller 100 is configured to control the action of the at least one valve 400 and supply power to the at least one valve 400. The power supply circuit 200 is configured to convert and process electric energy from an external power supply 500 and then supply the processed electric energy to the controller 100. An output end of the power supply circuit 200 is connected to a power end of the controller 100 via a first power supply line. The energy storage circuit 300 is arranged between the output end of the power supply circuit 200 and the power end of the controller 100, connected in parallel with the first power supply line, and is configured to supply power to the controller 100 when the power supply circuit 200 is powered off.
-
Refrigerant in an air conditioner is used to transfer heat energy to produce cooling or heating effects. The refrigerant pipeline connects the indoor unit with the outdoor unit of the air conditioner for the circulation of refrigerant. The valve 400 controls the flow rate of the refrigerant in the refrigerant pipeline by adjusting the opening degree of the valve to produce different cooling or heating effects.
-
The valve 400 may be an electric valve, and the embodiment of the present application does not specifically limit the type of the valve 400. The air conditioner comprises at least one valve 400. The number of valves 400 may be determined according to the number of refrigerant pipelines.
-
It should be noted that when the controller 100 of the air conditioner receives an external shutdown command, the controller 100 will shut down each working component of the air conditioner in sequence according to preset shutdown steps. After all shutdown steps are executed, the controller 100 executes a power-off step, at this time, the control power supply of the air conditioner is cut off and the air conditioner is in a shutdown and power-off state.
-
The preset shutdown steps comprises that the controller 100 controls the valve 400 to be in a preset state.
-
It should be noted that in the related art, when the external power supply of the air conditioner is suddenly cut off, the input power supply of the controller is cut off, and the shutdown steps before power-off cannot be executed. The controller no longer controls the opening degree of the valve, and the valve remains in the opening degree state before power-off until the next power-on. If a leakage point occurs in the indoor unit of the air conditioner, the refrigerant in the refrigerant pipeline will leak through the leakage point and the valve into the surrounding environment where the air conditioner is located, which poses potential safety hazards. An explosion may even occur, when the refrigerant is flammable.
-
In the embodiment of the present application, the energy storage circuit 300 is connected to the power supply circuit 200 and the controller 100. It can be understood that in the case of sudden power failure of the external power supply 500, the valve 400 can be controlled to be completely closed by supplying power to the controller 100 through the energy storage circuit 300. In this way, when there is a leakage point in the indoor unit of the air conditioner, the flammable refrigerant can be effectively prevented from leaking into the surrounding environment through the leakage point and the valve 400, thereby improving the safety and reliability of the air conditioner.
-
In an example, the power supply circuit 200 may comprise a rectifier circuit, a filter circuit and a switching power supply circuit. The rectifier circuit is configured to rectify the alternating current output by the external power supply 500 into direct current. The filter circuit is configured to eliminate high-order harmonics in the direct current output by the rectifier circuit. The switching power supply circuit is configured to adjust the output voltage of the filter circuit to the operating voltage of the controller 100.
-
In an example, as shown in FIG. 2, the energy storage circuit 300 comprises: an energy storage unit 301, a step-down circuit 302, a step-up circuit 303 and an enable control circuit 304. The energy storage unit 301 is configured to store electric energy output by the power supply circuit 200 and discharge the electric energy when the power supply circuit 200 is powered off. The step-down circuit 302 is configured to step down the output voltage of the power supply circuit 200 and then charge the energy storage unit 301. The step-up circuit 303 is configured to step up the output voltage of the energy storage unit 301 and then supply power to the controller 100 when the energy storage unit 301 discharges the electric energy. The enable control circuit 304 is configured to control the connection and disconnection between the step-up circuit 303 and the step-down circuit 302.
-
It can be understood that the nominal voltage of the energy storage unit 301 is less than the rated operating voltage of the controller 100. The output voltage of the power supply circuit 200 needs to be stepped down by the step-down circuit 302 to a charging voltage to charge the energy storage unit 301, and the output voltage of the energy storage unit 301 needs to be stepped up by the step-up circuit 303 to a discharge voltage to supply power to the controller 100. The nominal voltage of the energy storage unit 301 is less than the operating voltage of the controller 100, which reduces the demand for the voltage level of the energy storage unit 301 and reduces the volume of the energy storage unit 301.
-
It should be noted that the energy storage unit 301 may comprise at least one of a supercapacitor, a lithium battery and a sodium-ion battery.
-
It can be understood that the energy storage unit 301 in the embodiment of the present application is preferably an energy storage component with high energy density. The energy storage component with high energy density is conducive to the miniaturization design of the energy storage circuit 300 and reduces the installation space requirement of the air conditioner.
-
The supercapacitor may comprise electric double-layer capacitor and hybrid capacitor, and the lithium battery may comprise lithium iron phosphate battery, lithium titanate battery and ternary lithium battery.
-
An example of the present application provides a main power topology circuit of the energy storage circuit 300. As shown in FIG. 3, the step-down circuit 302 may comprise a Buck circuit, and the step-up circuit 303 may comprise a Boost circuit. The energy storage circuit 300 is grounded through capacitors C1-C3, inductors L31 and L32 perform energy storage and filtering functions, terminals VIN1 and VIN2 are connected in parallel with the first power supply line, and a terminal VOUT is connected to the energy storage unit 301. The step-up and step-down functions of the energy storage circuit 300 are realized by controlling the turn-on and turn-off of field effect transistors Q31-Q34.
-
In an example, as shown in FIG. 4, the energy storage circuit 300 further comprises a first voltage detection circuit 305. The first voltage detection circuit 305 is configured to detect an output voltage of the power supply circuit 200 and obtain a first voltage value, compare the first voltage value with a first preset voltage threshold to obtain a first comparison result, and send the first comparison result to the controller 100.
-
The first preset voltage threshold is greater than or equal to the minimum operating voltage of the controller 100. When the input voltage of the controller 100 is greater than or equal to the first preset voltage threshold, normal operation of the controller 100 can be ensured. When the input voltage of the controller 100 is less than the first preset voltage threshold, normal operation of the controller 100 cannot be ensured.
-
It should be noted that the first voltage detection circuit 305 comprises a first comparator. The first comparator is configured to compare the first voltage value with the first preset voltage threshold to generate a first comparison result and send the first comparison result to the controller 100.
-
It can be understood that the first comparison result comprises at least:
the first voltage value is greater than the first preset voltage threshold, the first voltage value is equal to the first preset voltage threshold, and the first voltage value is less than the first preset voltage threshold. The controller 100 determines whether the output voltage of the power supply circuit 200 can ensure the normal operation of the controller 100, according to the first comparison result.
-
In an example, as shown in FIG. 4, the energy storage circuit 300 further comprises:
a second voltage detection circuit 306, configured to detect an output voltage of the step-down circuit 302 and obtain a second voltage value, compare the second voltage value with a second preset voltage threshold to obtain a second comparison result, and send the second comparison result to the step-down circuit 302. The step-down circuit 302 controls a charging mode of the energy storage unit 301 based on the second comparison result. The charging mode comprises: a constant-current charging mode and a trickle charging mode.
-
It should be noted that due to the high energy density of the adopted energy storage unit 301, the voltage of the energy storage unit 301 changes slowly during the charging process. The second voltage detection circuit 306 cannot quickly provide feedback of the second comparison result during the charging startup process. Moreover, if the step-down circuit 302 charges the energy storage unit 301 in a constant-voltage charging mode, the charging current of the energy storage unit 301 tends to be excessively high and exceed the power supply capacity of the power supply circuit 200, thereby pulling down the output voltage of the power supply circuit 200 and affecting the normal operation of the controller 100. In view of this, in the embodiment of the present application, the step-down circuit 302 needs to control the charging current of the energy storage unit 301 to be constant and within the range of the power supply capacity of the power supply circuit 200.
-
The step-down circuit 302 further comprises a current sampling feedback circuit. The current sampling feedback circuit is configured to collect an output current value of the step-down circuit 302 and feedback the current value to the step-down circuit 302. The step-down circuit 302 determines, according to the feedback current value, whether the charging current of the energy storage unit 301 is constant and within the power supply capacity range of the power supply circuit 200.
-
It can be understood that the charging modes of the energy storage unit 301 comprise a constant-current charging mode and a trickle charging mode. In the constant-current charging mode, the step-down circuit 302 charges the energy storage unit 301 with a constant preset charging current. As the charging process proceeds, the electric quantity of the energy storage unit 301 gradually increases, and the charging voltage output by the step-down circuit 302 also rises gradually. When the output voltage of the step-down circuit 302 equals the target charging voltage of the energy storage unit 301 (i.e., the second preset voltage threshold), the step-down circuit 302 cannot maintain a constant charging current by increasing the output voltage. At this point, the step-down circuit 302 charges the energy storage unit 301 in the trickle charging mode. In the trickle charging mode, the step-down circuit 302 charges the energy storage unit 301 with a small current at a constant voltage, so as to compensate for the power loss of the energy storage unit 301 caused by self-discharge of the energy storage unit.
-
Considering that the energy storage unit 301 needs to reserve sufficient voltage derating for withstand voltage, the second preset voltage threshold shall be lower than the allowable charging voltage of the energy storage unit 301 at the current temperature.
-
The allowable charging voltage of the energy storage unit 301 may be a unique fixed value, and is related to the average temperature of the surrounding environment where the air conditioner is located. For example, when the average temperature is 25°C, the allowable charging voltage of the energy storage unit 301 at this temperature is determined. The second preset voltage threshold shall be lower than the allowable charging voltage of the energy storage unit 301 at the average ambient temperature.
-
The withstand voltage derating level of the energy storage unit 301 may be determined according to the surrounding environment where the air conditioner is located. For example, when the air conditioner is applied in a ground environment, the withstand voltage derating level of the energy storage unit 301 may be secondary derating or tertiary derating.
-
It should be noted that the second voltage detection circuit 306 comprises a second comparator. The second comparator is configured to compare the second voltage value with the second preset voltage threshold to generate a second comparison result and send the second comparison result to the step-down circuit 302. The step-down circuit 302 controls the charging mode of the energy storage unit 301 according to the second comparison result.
-
In an example, the enable control circuit 304 controls the conduction and disconnection of the step-up circuit 303 and the step-down circuit 302 according to a control command from the controller 100. The control command comprises a first command and a second command. The first command is configured to control the step-up circuit 303 to be disconnected and the step-down circuit 302 to be conducted. The second command is configured to control the step-down circuit 302 to be disconnected and the step-up circuit 303 to be conducted.
-
The energy storage circuit 300 comprises at least three modes: a charging mode, a discharging mode and a shutdown mode. In the charging mode, the power supply circuit 200 charges the energy storage unit 301. In the discharging mode, the energy storage circuit 300 supplies power to the controller 100. In the shutdown mode, the energy storage circuit 300 does not operate, and the energy storage unit 301 performs neither a charging function nor a discharging function
-
It can be understood that in the charging mode, the step-up circuit 303 is disconnected and the step-down circuit 302 is conducted, the energy storage unit 301 is connected to the power supply circuit 200 and disconnected from the controller 100. In the discharging mode, the step-down circuit 302 is disconnected and the step-up circuit 303 is conducted, the energy storage unit 301 is connected to the controller 100 and disconnected from the power supply circuit 200. In the shutdown mode, both the step-up circuit 303 and the step-down circuit 302 are disconnected, and the electric quantity of the energy storage unit 301 does not change except self-discharge.
-
It should be noted that the conduction or disconnection of the step-up circuit 303 and the step-down circuit 302 is controlled by their respective enable pins. When the first comparison result generated by the first voltage detection circuit 305 shows that the first voltage value is greater than or equal to the first preset voltage threshold, the controller 100 determines that the current output voltage of the power supply circuit 200 can satisfy the normal operation of the controller 100, and the energy storage circuit 300 does not need to supply power to the controller 100. The controller 100 sends a first command to the enable control circuit 304, and the enable control circuit 304 controls the step-up circuit 303 to be disconnected and the step-down circuit 302 to be conducted through the enable pins. When the first comparison result generated by the first voltage detection circuit 305 is that the first voltage value is less than the first preset voltage threshold, the reason for the excessively low first voltage value may be a sudden power failure of the external power supply 500 or an output fault of the power supply circuit 200. At this time, the controller 100 determines that the current output voltage of the power supply circuit 200 cannot guarantee the normal operation of the controller 100, and the energy storage circuit 300 is required to supply power to the controller 100 to ensure that the controller 100 can complete all shutdown steps. The controller 100 sends a second command to the enable control circuit 304, and the enable control circuit 304 controls the step-down circuit 302 to be disconnected and the step-up circuit 303 to be conducted through the enable pins. When the controller 100 is in a shutdown and power-off state, the control power supply in the air conditioner control circuit loses power. At this time, both the step-up circuit 303 and the step-down circuit 302 are in a disconnected state due to the undervoltage of the control power supply.
-
It can be understood that controlling the conduction or disconnection of the step-up circuit 303 and the step-down circuit 302 through the enable pins can timely drive the step-up circuit 303 to operate when the detected first voltage value is less than the first preset voltage threshold, and a short delay time can be achieved.
-
It should be noted that the step-up circuit 303 and the step-down circuit 302 cannot be conducted simultaneously, and at most one of the two is allowed to be conducted at one time. The specific reason is that when the step-up circuit 303 and the step-down circuit 302 are conducted simultaneously, the energy storage unit 301 is in a high-frequency charging and discharging state, and the heat generated by the energy storage unit 301 per unit time increases sharply, which affects the service life of the energy storage unit 301 and raises the failure rate of the energy storage unit 301.
-
In an example, FIG. 5 provides a schematic diagram of an enable control circuit 304 according to an example of the present application. To avoid simultaneous conduction of the step-up circuit 303 and the step-down circuit 302, the enabling of the step-up circuit 303 and the step-down circuit 302 is controlled by the same I/O port of the enable control circuit 304 with opposite control logics.
-
R51 is a high-power resistor for preventing an excessive base current of the transistor Q51. R52 is a pull-down resistor for effectively grounding the base of the transistor Q51 (SGND). In the charging mode, the enable control circuit signal may be a low level. Due to the provision of the pull-up resistor R51, the enable pin of the step-down circuit 302 receives a high level and the step-down circuit 302 is conducted. The enable pin of the step-up circuit 303 receives a low level from the enable control circuit 304 and the step-up circuit 303 is disconnected. In the discharging mode, the enable control circuit signal may be a high level to control the conduction of the NPN transistor Q51. The enable pin of the step-down circuit 302 receives a low level and the step-down circuit 302 is disconnected. The enable pin of the step-up circuit 303 receives a high level from the enable control circuit 304 and the step-up circuit 303 is conducted.
-
It should be noted that the energy storage circuit 300 may further comprise an overvoltage protection circuit. The overvoltage protection circuit may be a hardware overvoltage protection circuit, a software overvoltage protection circuit, or a combination of hardware and software overvoltage protection circuits.
-
In an example, as shown in FIG. 6, the control apparatus further comprises a third voltage detection circuit 601, configured to detect the power supply state of the external power supply 500, generate first power supply detection information representing that the external power supply 500 supplies power normally, and send the first power supply detection information to the controller 100.
-
It can be understood that the controller 100 determines whether the external power supply 500 supplies power normally according to the first power supply detection information sent by the third voltage detection circuit 601. The embodiment of the present application does not specifically limit the manner in which the third voltage detection circuit 601 detects the power supply state of the external power supply 500.
-
In an example, the step-up circuit 303 is configured such that when the energy storage unit 301 discharges, the output voltage value of the step-up circuit 303 is greater than or equal to the first preset voltage threshold within a first preset duration. The first preset duration is greater than or equal to the duration required for the controller 100 to control at least one valve 400 to transition from a fully open state to a fully closed state.
-
It can be understood that in the discharging mode, the first voltage value is less than the first preset voltage threshold, and the output voltage of the step-up circuit 303 needs to be greater than or equal to the first preset voltage threshold and maintained for the first preset duration, that is, the output voltage of the step-up circuit 303 is greater than the output voltage of the power supply circuit 200 and can ensure the normal operation of the controller 100.
-
It can be understood that since the first preset duration is greater than or equal to the duration required for the controller 100 to control the valve 400 to transition from a fully open state to a fully closed state, it can be determined that the valve 400 is in a fully closed state when the controller 100 maintains the closing action of the valve for the first preset duration.
-
It should be noted that the capacity of the energy storage unit 301 needs to ensure that after discharging for the first preset duration, the discharge voltage value stepped up by the step-up circuit 303 is greater than or equal to the first preset voltage threshold and meets the derating level requirements.
-
In an example, the energy storage circuit 300 and the controller 100 are disposed on the same substrate.
-
In an example, the control apparatus is disposed on the main control board of the outdoor unit of an air conditioner. It can be understood that in the embodiment of the present application, the energy storage circuit 300 is connected in parallel with the first power supply line and shares the power supply circuit 200 with the controller 100 as an input source. Based on the miniaturization design scheme of the energy storage circuit 300, the energy storage circuit 300 and the controller 100 can be disposed on the same substrate, thus reducing the cost of the control apparatus of the air conditioner. In an example, the first power supply line comprises a voltage regulator circuit 602 connected in parallel with the energy storage circuit 300.
-
The voltage regulator circuit 602 may be a DC voltage regulator circuit, which is used to supply power to the controller 100 after stabilizing the voltage of the power supply circuit 200. The voltage regulator circuit prevents the normal operation of the controller 100 from being affected by large fluctuations in the output voltage of the power supply circuit 200.
-
It should be noted that since the energy storage circuit 300 comprises the step-down circuit 302 which can regulate the voltage output from the power supply circuit 200 to the energy storage circuit 300, the input end of the energy storage circuit 300 does not need to be connected in series with the voltage regulator circuit 602. Since the energy storage circuit 300 comprises the step-up circuit 303 which can regulate the voltage output from the energy storage circuit 300 to the controller 100, the output end of the energy storage circuit 300 does not need to be connected in series with the voltage regulator circuit 602. Therefore, the voltage regulator circuit 602 is connected in parallel with the energy storage circuit 300 and then connected to the power supply circuit 200 and the controller 100.
-
In an application example of the present application, a schematic view of a control apparatus for an air conditioner as shown in FIG. 7 is provided. The power supply circuit 200 comprises a rectifier circuit 201, a filter circuit 202 and a switching power supply circuit 203. The energy storage circuit 300 is not provided with a separate rectifier circuit and filter circuit, but shares the power supply circuit 200 with the voltage regulator circuit 602. The controller 100 comprises a control chip 101 and a valve control circuit 102. The control chip 101 generates a valve control command and sends it to the valve control circuit 102, and the valve control circuit 102 generates n pieces of valve control information according to the valve control command, which are used to respectively control the opening degrees of the n valves to be in a preset state.
-
The at least one valve 400 comprises a first valve 401 and a second valve 402, that is, the valve control circuit 102 generates two pieces of valve control information for controlling the opening degrees of the first valve 401 and the second valve 402 to be in a preset state.
-
Embodiments of the present application further provide a control method based on the aforementioned control apparatus. As shown in FIG. 8, the method comprises:
- At 801: it is determined that the power supply circuit is powered off.
- At 802, the at least one valve is controlled to close to a fully closed state.
-
It can be understood that, in the control method of the embodiments of the present application, in the case that the controller 100 does not receive an external shutdown command, it is determined that the output voltage of the power supply circuit 200 will soon be unable to ensure the normal operation of the controller 100 by determining that the power supply circuit 200 is powered off. The controller 100 executes shutdown steps and controls the valve 400 to close to a fully closed state. In this way, it effectively avoids that the controller 100 cannot control the opening degree of the valve 400 due to the sudden power failure of the external power supply 500. This further prevents flammable refrigerant from leaking through the leakage point of the air conditioner indoor unit and the valve into the surrounding environment where the air conditioner is located. Thus, the safety and reliability of the air conditioner are improved.
-
In an example of the present application, after 801, the control method further comprises that: the compressor and the DC fan of the outdoor unit are stopped.
-
In addition to controlling the opening degree of the valve 400, the controller 100 of the control apparatus may also control the starting and stopping of the compressor and the DC fan of the outdoor unit of the air conditioner.
-
In an example, after 802, the control method further comprises that: after the at least one valve 400 is controlled to perform the closing action of the valve for the first preset duration, the controller 100 is powered off and shuts down. The first preset duration is greater than or equal to the duration required for the controller 100 to control the at least one valve 400 to transition from a fully open state to a fully closed state.
-
It can be understood that when the controller 100 determines that the power supply circuit 200 is powered off, the controller 100 controls the valve 400 to close to a fully closed state. Since the controller 100 cannot directly detect the current opening degree of the valve 400, the controller 100 maintains the closing action of the valve 400 for the first preset duration. As the first preset duration is greater than or equal to the duration required for the controller 100 to control the valve 400 to transition from a fully open state to a fully closed state, it can be indirectly determined that the valve 400 is currently in the fully closed state. At this point, the controller 100 has completed all the set shutdown steps, and there is no need to power on the air conditioner for operation, and controller 100 can execute the power-off steps.
-
It can be understood that controlling the valve 400 to close to a fully closed state can be used as a judgment condition for the energy storage circuit 300 to stop discharging. At this time, the controller 100 is powered off, the signal of the enable control circuit is a low level, and the step-up circuit 303 is disconnected.
-
In an example, determining that the power supply circuit 200 is powered off comprises:
if the first power supply detection information is not received within a second preset duration, it is determined that the power supply circuit 200 is powered off.
-
The first power supply detection information is generated by the third voltage detection circuit 601 of the control apparatus, and is configured to indicate that the external power supply 500 is supplying power normally.
-
In an example of the present application, the third voltage detection circuit 601 may be an optocoupler voltage detection circuit. As shown in FIG. 9, the external power supply 500 is connected to the optocoupler IC91 via a diode D91 and a high-power resistor R91. The high-power resistor R92, the capacitor C91 and the Schottky diode D92 perform voltage regulation and protection functions. The optocoupler IC91 is turned on during the positive half-cycle of the output voltage of the external power supply 500 and turned off during the negative half-cycle of the output voltage of the external power supply 500. The control power supply is grounded via the capacitor C92, and the output terminal of the optocoupler is connected to a pull-up resistor R93 and a high-power resistor R94. The controller 100 receives a low-level signal when the optocoupler IC91 is turned on, and receives a high-level signal when the optocoupler IC91 is turned off.
-
FIG. 10 is a schematic waveform diagram of the first power supply detection information in an example of the present application.
-
It can be understood that the first power supply detection information may be a low-level signal generated by the third voltage detection circuit 601. When the external power supply 500 is supplying power normally, the controller 100 will periodically receive low-level signals according to the frequency of the output voltage of the external power supply 500. If the controller 100 does not receive the low-level signal sent by the third voltage detection circuit 601 within the second preset duration, it is determined that the power supply of the external power supply 500 is abnormal, and it is further determined that the power supply circuit 200 powered by the external power supply 500 is powered off.
-
It can be understood that the second preset duration is greater than or equal to one cycle of the output voltage of the external power supply 500. If the external power supply 500 is supplying power normally, the controller 100 receives the low-level signal sent by the third voltage detection circuit 601 within half of the second preset duration, and receives the high-level signal sent by the third voltage detection circuit 601 within the other half of the second preset duration.
-
In an example, the control method further comprises that: the operation mode of the energy storage circuit 300 is determined according to the first comparison result, and a control instruction is sent to the energy storage circuit 300.
-
The first comparison result is generated by the energy storage circuit 300 based on a comparison between the first voltage value output by the power supply circuit 200 and the first preset voltage threshold.
-
The first preset voltage threshold is greater than or equal to the minimum operating voltage of the controller 100. The controller 100 can operate normally when input voltage of the controller 100 is greater than or equal to the first preset voltage threshold. Normal operation of the controller 100 cannot be ensured when input voltage of the controller 100 is less than the first preset voltage threshold.
-
It can be understood that the first comparison result comprises at least: the first voltage value is greater than the first preset voltage threshold, the first voltage value is equal to the first preset voltage threshold, and the first voltage value is less than the first preset voltage threshold. The controller 100 determines, according to the first comparison result, whether the output voltage of the power supply circuit 200 can ensure the normal operation of the controller 100.
-
It can be understood that the operation modes of the energy storage circuit 300 comprise at least a charging mode, a discharging mode and a shutdown mode.
-
In one example, the operation "the operation mode of the energy storage circuit 300 is determined according to the first comparison result, and a control instruction is sent to the energy storage circuit 300" comprises that:
-
If it is determined according to the first comparison result that the first voltage value is greater than or equal to the first preset voltage threshold, it is determined that the energy storage circuit 300 operates in charging mode, and a first instruction is sent to the enable control circuit 304 of the energy storage circuit 300; if it is determined according to the first comparison result that the first voltage value is less than the first preset voltage threshold, it is determined that the energy storage circuit 300 operates in discharging mode, and a second instruction is sent to the enable control circuit 304 of the energy storage circuit 300.
-
It can be understood that in the charging mode, the power supply circuit 200 charges the energy storage unit 301, and in the discharging mode, the energy storage circuit 300 supplies power to the controller 100. In an example, the method further comprises: if the first power supply detection information is received within the second preset duration, it is determined that the external power supply 500 supplies power normally; the at least one valve 400 is controlled to reset and be in a preset state.
-
It can be understood that when the external power supply 500 supplies power normally, the third voltage detection circuit 601 sends a high-level signal within the second preset duration. The controller 100 determines, according to the high-level signal, that the external power supply 500 supplies power normally, and then performs a reset operation on the at least one valve 400. After completing the reset operation, the controller controls the opening degree of the at least one valve 400 to be in a preset state and waits for the next valve control instruction.
-
In an example of the present application, a schematic view of an air conditioner is provided, as shown in FIG. 11. The outdoor unit of the air conditioner comprises 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 arranged between the indoor unit and the outdoor unit of the air conditioner. An electric valve group 403 is arranged on the branches of the refrigerant pipeline. The electric valve group 403 comprises electric valves arranged on each branch of the refrigerant pipeline. The electric valve group 403 is configured to control the refrigerant flow in the branches of the refrigerant pipeline. A first electric valve 404 is arranged at the inlet side of the main circuit of the refrigerant pipeline, and a second electric valve 405 is arranged at the outlet side of the main circuit of the refrigerant pipeline. The first electric valve 404 and the second electric valve 405 are configured to cut off the refrigerant flow in the refrigerant pipeline. It can be understood that, as shown in the schematic view of the air conditioner in FIG. 11, after the controller 100 determines that the external power supply 500 supplies power normally, it performs a reset operation on the electric valves on the refrigerant pipeline of the air conditioner.
-
The operation "the controller performs a reset operation on the electric valves on the refrigerant pipeline of the air conditioner" comprises that the controller 100 controls the electric valves in the electric valve group 403 to reset in sequence and keeps the electric valves at a preset opening degree, and controls the first electric valve 404 and the second electric valve 405 to reset and keeps the first electric valve and the second electric valve at a preset opening degree after determining that the reset operation of the electric valve group 403 has been completed.
-
The operation "the controller performs a reset operation on the electric valves on the refrigerant pipeline of the air conditioner" may also comprise that the controller 100 controls the first electric valve 404 and the second electric valve 405 to reset in sequence and keeps the first electric valve and the second electric valve at a preset opening degree, and controls the electric valves in the electric valve group 403 to reset and keeps the f the electric valves at a preset opening degree after determining that the reset operation of the first electric valve 404 and the second electric valve 405 has been completed.
-
Preferably, the first electric valve 404 and the second electric valve 405 are reset and kept at a preset opening degree, which may be that the first electric valve 404 and the second electric valve 405 are closed to a fully closed state after reset. At this time, the refrigerant pipeline of the air conditioner is in a cut-off state to avoid refrigerant leakage.
-
It should be noted that after the controller 100 determines that the external power supply 500 supplies power normally, it is also determined that the energy storage circuit 300 operates in charging mode. The step, in which the controller 100 controls at least one valve 400 to reset and be in a preset state, may be performed simultaneously with the step in which the controller 100 sends a first command to the enable control circuit 304, or may be performed after the step in which the controller 100 sends a first command to the enable control circuit 304.
-
In an example of the present application, a control method for the control apparatus which is normally powered on and normally operates, as shown in FIG. 12, comprises follows.
-
At 1201: the air conditioner is powered on.
-
Here, the power-on of the air conditioner means that the external power supply 500 supplies power normally, and the output voltage can ensure the startup and operation of the air conditioner.
-
At 1202: the power supply circuit operates normally.
-
Here, the power supply circuit 200 successfully receives power from the external power supply 500, and the power supply circuit 200 supplies power to the controller 100.
-
At 1203: the controller operates normally.
-
Here, the controller 100 successfully receives power from the power supply circuit 200, and the controller 100 controls the valve 400 to operate normally.
-
At 1204: the air conditioner operates normally.
-
Here, the normal operation of the air conditioner comprises the normal operation of the control apparatus, as well as the normal operation of air conditioner components such as the valve 400, the compressor and the DC fan of the outdoor unit.
-
The normal operation of the controller in 1203, specifically comprises follows.
-
At 12031: the controller sends a first command.
-
Here, since the controller 100 sends a control command according to the first comparison result sent by the first voltage detection circuit 305, when the air conditioner is powered on normally, the controller 100 does not need the energy storage circuit 300 to discharge, and the control command sent by the controller 100 at this time is the first command.
-
At 12032: the energy storage circuit operates in charging mode.
-
Here, the enable control circuit 304 controls the step-down circuit 302 to be conducted and the step-up circuit 303 to be disconnected according to the first command.
-
At 12033: the step-down circuit charges the energy storage unit in constant current charging mode.
-
Here, since the air conditioner is in the power-on and startup stage, the remaining capacitance of the energy storage unit 301 is low at this time, and the step-down circuit 302 charges the energy storage unit 301 in constant current charging mode.
-
At 12034: it is determined whether the second voltage value is equal to the second preset voltage threshold; if yes, operation 12035 is executed; if not, operation 12033 is continued to be executed.
-
At 12035: the step-down circuit charges the energy storage unit in trickle charging mode.
-
In an example of the present application, a control method for a control apparatus when the external power supply is suddenly powered off is provided, as shown in FIG. 13, comprising the following.
-
At 1301, the external power supply is powered off.
-
Here, the power off of the external power supply 500 may mean a sudden power outage of the external power supply 500 or a sudden disconnection of the power plug of the air conditioner from the socket.
-
At 1302, it is determined that the power supply circuit is powered off.
-
Here, if the first power supply detection information is not received within a second preset duration, it is determined that the power supply circuit 200 is powered off. The first power supply detection information may be a low-level signal periodically sent by the third voltage detection circuit 601, and the second preset duration is greater than or equal to one cycle of the output voltage of the external power supply 500. The controller 100 determines that the power supply of the external power supply 500 is abnormal, and further determines that the power supply circuit 200 powered by the external power supply 500 is powered off.
-
At 1303, the compressor and the outdoor unit DC fan are stopped.
-
Here, the controller 100 of the control apparatus can also control the starting and stopping of the compressor and the outdoor unit DC fan of the air conditioner, in addition to controlling the opening degree of the valve 400.
-
At 1304, it is determined whether the first voltage value is less than the first preset voltage threshold; if yes, operation 1305 is performed; if not, operation 1307 is performed.
-
Here, since a capacitor is arranged in the power supply circuit 200, when the power supply circuit 200 is powered off, the capacitor can discharge to the controller 100 in a short time (at this time, the energy storage circuit 300 does not supply power to the controller 100), and the controller 100 controls the valve 400 to close. When the output voltage of the power supply circuit 200 cannot ensure the normal operation of the controller 100, the first comparison result sent by the first voltage detection circuit 305 changes.
-
At 1305, the controller sends a second command.
-
Here, since the first comparison result received by the controller 100 changes, the controller 100 sends a second command according to the changed first comparison result.
-
At 1306, the energy storage circuit operates in discharging mode.
-
The enable control circuit 304 controls the step-down circuit 302 to be disconnected and the step-up circuit 303 to be connected according to the second command.
-
At 1307, the valve is controlled to close to the fully closed state.
-
At 1308, the controller is powered off and shut down.
-
Here, after the controller 100 determines that all the valves 400 are in the fully closed state, it determines that all the shutdown steps are completed, and the controller 100 is powered off and shut down.
-
Here, timing can be started when the controller 100 starts to control the valve 400 to perform the closing action, and after the time reaches the first preset duration, the controller 100 determines that all the valves 400 are in the fully closed state. The first preset duration is greater than or equal to the duration required for the controller 100 to control at least one valve 400 to transition from the fully open state to the fully closed state.
-
It can be understood that any step of the control method of the control apparatus in the foregoing embodiments of the present application may be implemented by a program configured in the controller 100 of the control apparatus.
-
Embodiments of the present application further provide an electronic device. The electronic device may be an air conditioner, and the electronic device comprises at least one valve 400 and the control apparatus described in the foregoing embodiments of the present application. In this way, in the case that the controller 100 does not receive an external shutdown command, the electronic device can determine that the output voltage of the power supply circuit 200 will soon be unable to ensure the normal operation of the controller 100 by determining that the power supply circuit 200 is powered off, so that the controller 100 executes a shutdown step and controls the valve 400 to close to a fully closed state. This effectively prevents the controller 100 from being unable to control the opening degree of the valve 400 due to the sudden cut-off of the power supply of the external power supply 500. Furthermore, it prevents flammable refrigerant from leaking into the surrounding environment where the air conditioner is located through leakage points when there is leakage point in the indoor unit of the air conditioner. Therefore, the safety and reliability of the air conditioner are improved.
-
In an exemplary embodiment, an embodiment of the present application further provides a storage medium, namely a computer storage medium. The computer storage medium may specifically be a computer-readable storage medium, for example, a memory storing a computer program. The aforementioned computer program may be executed by a microprocessor of the control apparatus to perform the operations described in the method of the embodiment of the present application. The computer-readable storage medium may be read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), Flash Memory, magnetic surface memory, optical disk, or compact disc read-only memory (CD-ROM). The magnetic surface memory may be a magnetic disk memory or a magnetic tape memory.
-
It should be noted that the terms "first" and "second" are used to distinguish similar objects, and are not used to describe a specific order or sequence.
-
In addition, the technical solutions described in the embodiments of the present application may be combined arbitrarily without conflict.
-
The foregoing are merely specific embodiments of the present application, and the scope of protection of the present application is not limited thereto. Any person skilled in the art can readily conceive of changes or modifications within the technical scope disclosed in the present application, which shall all fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined according to the scope of protection of the claims.