Control method of power supply circuit and electrical equipment
By realizing automatic switching of step-down chips and load matching selection in the power supply circuit, the problem of high failure rate and high power consumption of step-down chips is solved, improving the reliability of the equipment and reducing chip losses.
Patent Information
- Application Number
- CN202510335239.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-06-27
AI Technical Summary
The failure rate of step-down chips in existing power supply circuits is high, resulting in the loss of equipment functions, reducing equipment reliability, and the operation power consumption of high-power step-down chips is high, which is easy to cause losses to the chip.
A power circuit control method is designed to ensure continuous operation of the equipment by detecting whether there is a fault in the first step-down chip and the second step-down chip, and automatically switch to the normal step-down chip when the fault occurs. At the same time, select the appropriate step-down chip according to the entire machine running load of the equipment to reduce power consumption.
Automatic switching in case of step-down chip failure is realized, the reliability of the device is improved, the high power consumption caused by the dual-chip setup is avoided, and the loss of the step-down chip is delayed.
Smart Images

Figure CN120222785A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical appliances, and in particular, to a control method for a power supply circuit and an electrical appliance device. Background Art
[0002] Power supply circuits are widely used in the power supply schemes of large household appliances such as air conditioners due to their mature and reliable performance. However, the power supply buck circuit connected to the buck chip in the current power supply circuit is usually a simplified circuit, resulting in a high failure rate of the buck chip, which is likely to cause the loss of the whole machine function, reducing the reliability of equipment use. Moreover, in the existing power supply circuit, in order to meet the operation requirements of the equipment, a buck chip with a higher power is usually adopted, resulting in a higher operation power consumption of the power supply circuit and being likely to cause loss to the buck chip. Summary of the Invention
[0003] To solve the above problems, the present invention provides a control method for a power supply circuit and an electrical appliance device, which realizes the automatic switching when the buck chip fails, ensures that the electrical appliance device does not stop working due to the failure of the buck chip, improves the reliability of equipment use, can avoid the high circuit power consumption caused by setting a dual chip in the power supply circuit, and at the same time can delay the loss of the buck chip.
[0004] According to an embodiment of the present invention, on the one hand, a control method for a power supply circuit is provided, which is applied to a controller of an electrical appliance device. The power supply circuit of the controller includes a first buck chip and a second buck chip; the control method for the power supply circuit includes:
[0005] Detect whether the first buck chip and the second buck chip have faults;
[0006] If one of the first buck chip and the second buck chip has a fault, control the buck chip with the fault in the first buck chip and the second buck chip to stop working, and control the buck chip without a fault in the first buck chip and the second buck chip to start working;
[0007] If neither the first buck chip nor the second buck chip has a fault, obtain the overall operation load of the electrical appliance device, and control the buck chip adapted to the overall operation load to start working.
[0008] By adopting the above technical solution, when any one of the first step-down chip and the second step-down chip is detected to have a fault, the faulty step-down chip among the first step-down chip and the second step-down chip is controlled to stop working, and the non-faulty step-down chip among the first step-down chip and the second step-down chip is controlled to start working, realizing automatic switching when the step-down chip fails, ensuring that the electrical equipment does not stop working due to the failure of the step-down chip, improving the reliability of equipment use. By controlling the step-down chip adapted to the operating load of the whole machine to start working during the operation of the equipment, it is possible to avoid high circuit power consumption caused by setting dual chips in the power circuit, and at the same time, the loss of the step-down chip can be delayed.
[0009] Preferably, the step of detecting whether the first step-down chip and the second step-down chip have faults includes:
[0010] Collecting the status information of the first step-down chip and the second step-down chip; wherein, the status information includes output voltage information and the internal fault status of the first step-down chip and the second step-down chip;
[0011] Judging whether the first step-down chip and the second step-down chip have faults based on the status information.
[0012] By adopting the above technical solution, collecting the status information of the first step-down chip and the second step-down chip can accurately judge whether the operating states of the first step-down chip and the second step-down chip are normal, and further can judge whether each step-down chip has faults, avoiding abnormal equipment functions caused by step-down chip faults.
[0013] Preferably, the power circuit further includes: a main control chip and a switching element, the main control chip is electrically connected to the control end of the switching element, the input end of the switching element is connected to the power supply, the first output end of the switching element is electrically connected to the input end of the first step-down chip, the second output end of the switching element is electrically connected to the input end of the second step-down chip, and the output ends of the first step-down chip and the second step-down chip are both electrically connected to the input end of the power supply step-down circuit;
[0014] The step of controlling the faulty step-down chip among the first step-down chip and the second step-down chip to stop working, and controlling the non-faulty step-down chip among the first step-down chip and the second step-down chip to be respectively connected to the power supply and the power supply step-down circuit to start working includes:
[0015] If the first step-down chip has a fault, control the input end and the second output end of the switching element to be internally connected, so that the first step-down chip stops working and the second step-down chip starts working;
[0016] If the second step-down chip fails, control the internal connection between the input end of the switching element and the first output end, so that the second step-down chip stops working and the first step-down chip starts working.
[0017] By adopting the above technical solution, a single-input dual-output switching element is arranged between the power supply and the first step-down chip and the second step-down chip, and the connection port of the switching element is controlled by the fault state of the step-down chip to switch the operation of the step-down chip, so that it can be ensured that only one normally operating step-down chip is always used in the circuit, improving the reliability of the operation of the electrical equipment.
[0018] Preferably, the step of obtaining the overall operating load of the electrical equipment and controlling the step-down chip adapted to the overall operating load to start working includes:
[0019] When the electrical equipment is powered on for the first time, obtain the model information of the electrical equipment and control the step-down chip adapted to the electrical equipment power in the model information to start working;
[0020] During the operation of the electrical equipment, monitor the operation state of the electrical equipment and control the step-down chip adapted to the operation state of the electrical equipment to start working.
[0021] By adopting the above technical solution, when the electrical equipment is powered on for the first time, a suitable step-down chip is selected according to the electrical equipment power in the model information to start working, and a step-down chip adapted to the operation state of the electrical equipment is selected during the operation of the equipment, ensuring that the power supply circuit always operates with low power consumption.
[0022] Preferably, the power of the first step-down chip is less than the power of the second step-down chip, and the step of controlling the step-down chip adapted to the electrical equipment power in the model information to start working includes:
[0023] If the electrical equipment power is less than the preset power threshold, control the internal connection between the input end of the switching element and the first output end, so that the first step-down chip starts working;
[0024] If the electrical equipment power is greater than or equal to the preset power threshold, control the internal connection between the input end of the switching element and the second output end, so that the second step-down chip starts working.
[0025] By adopting the above technical solution, a low-power step-down chip is used for small-power models of electrical equipment, and a high-power step-down chip is used for high-power models of electrical equipment to meet the operation requirements of the electrical equipment and ensure that the equipment can work normally.
[0026] Preferably, the power of the first step-down chip is less than that of the second step-down chip; the step of controlling the step-down chip adapted to the operating state of the electrical device to start working includes:
[0027] If it is detected that the electrical device is in a low-load operating state, control the input end of the switching element to be internally connected to the first output end so that the first step-down chip starts to work.
[0028] By adopting the above technical solution, when it is detected that the device is operating at a low load, switching to the first step-down chip with a smaller power can achieve low-power operation. At the same time, by switching the operation of the two chips, the loss of the step-down chip can be delayed.
[0029] Preferably, the method further includes: if one of the first step-down chip and the second step-down chip has a fault, write the fault information of the faulty step-down chip into the memory module. When the electrical device is powered on again, read the fault information of the faulty step-down chip in the memory module, and control the non-faulty step-down chip among the first step-down chip and the second step-down chip to start working based on the fault information of the faulty step-down chip.
[0030] By adopting the above technical solution, after the device is powered on again, read the fault information of the faulty step-down chip stored in the memory module, and control the non-faulty step-down chip to start working according to the fault information, so as to prevent the electrical device from being unable to be used due to the abnormality of the controller step-down chip.
[0031] Preferably, the method further includes: if one of the first step-down chip and the second step-down chip has a fault, upload the fault information of the faulty step-down chip to the database to remind the after-sales staff to perform after-sales service.
[0032] By adopting the above technical solution, the after-sales staff can be reminded to perform after-sales service in time, and the faulty chip can be repaired or replaced, improving the user experience.
[0033] According to an embodiment of the present invention, on the other hand, an electrical device is provided, including: a controller, and the power supply circuit of the controller includes a first step-down chip and a second step-down chip;
[0034] The controller includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and run by the processor, the method described in any item of the first aspect is implemented.
[0035] Preferably, the power supply circuit further includes: a main control chip, a switching element, a power step-down circuit, a detection module, a database, a memory module, and a load;
[0036] The main control chip is electrically connected to the control end of the switching element. The input end of the switching element is connected to the power supply. The first output end of the switching element is electrically connected to the input end of the first buck chip. The second output end of the switching element is electrically connected to the input end of the second buck chip. The output ends of the first buck chip and the second buck chip are both electrically connected to the input end of the power supply buck circuit. The output end of the power supply buck circuit is electrically connected to the load;
[0037] The switching element is a double-throw switch. When the main control chip outputs a high level to the double-throw switch, the input end and the second output end of the double-throw switch are internally connected. When the main control chip outputs a low level to the double-throw switch, the input end and the first output end of the double-throw switch are internally connected;
[0038] The detection module is used to collect the status information of the first buck chip and the second buck chip, and feedback the status information of the first buck chip and the second buck chip to the main control chip, so that the main control chip can judge whether the first buck chip and the second buck chip are faulty based on the status information;
[0039] The main control chip is also electrically connected to the database and the memory module respectively; the main control chip is used to write the fault information of the faulty buck chip into the memory module and the database when one of the first buck chip and the second buck chip is faulty.
[0040] The present invention has the following beneficial effects: By controlling the faulty buck chip among the first buck chip and the second buck chip to stop working and the non-faulty buck chip among the first buck chip and the second buck chip to start working when it is detected that any one of the first buck chip and the second buck chip has a fault, automatic switching when the buck chip fails is realized, ensuring that the electrical equipment does not stop working due to the failure of the buck chip, improving the reliability of equipment use. By controlling the buck chip adapted to the running load of the whole machine to start working during the operation of the equipment, it is possible to avoid high circuit power consumption caused by setting two chips in the power supply circuit, and at the same time, the loss of the buck chip can be delayed. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings described below are only exemplary, and for those of ordinary skill in the art, without creative efforts, other implementation drawings can be obtained according to the provided drawings.
[0042] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the content disclosed in the specification for those familiar with this technology to understand and read, and are not used to limit the implementation conditions of the present invention. Therefore, they do not have substantial technical significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope covered by the technical content disclosed in the present invention.
[0043] Figure 1 It is a block diagram of the power supply circuit structure of a controller provided by the present invention;
[0044] Figure 2 It is a flowchart of the control method for a power supply circuit provided by the present invention;
[0045] Figure 3 It is a flowchart of the switching control of a dual buck converter chip provided by the present invention. Specific Embodiments
[0046] The following specific embodiments illustrate the implementation manners of the present invention. Those familiar with this technology can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.
[0047] To make the above objects, features, and advantages of the present invention more obvious and understandable, the following detailed description of the specific embodiments of the present invention will be given in conjunction with the accompanying drawings.
[0048] This embodiment provides an electrical device, including: a controller. Refer to the block diagram of the power supply circuit of the controller as shown in Figure 1 The power supply circuit of the controller includes: a first buck converter chip U1 and a second buck converter chip U2;
[0049] The above controller is used to detect whether there are faults in the first buck converter chip U1 and the second buck converter chip U2; if one of the first buck converter chip U1 and the second buck converter chip U2 has a fault, control the faulty buck converter chip in the first buck converter chip U1 and the second buck converter chip U2 to stop working, and control the non-faulty buck converter chip in the first buck converter chip U1 and the second buck converter chip U2 to start working; if neither the first buck converter chip U1 nor the second buck converter chip U2 has a fault, obtain the overall operating load of the electrical device, and control the buck converter chip adapted to the overall operating load to start working; wherein, the powers of the first buck converter chip U1 and the second buck converter chip U2 are different.
[0050] In one implementation manner, as shown in Figure 1As shown in the figure, the power supply circuit of the controller provided in this embodiment further includes: a main control chip MCU, a switching element Y, a detection module 11, a database 12, a memory module 13, a load 14, and a power supply step-down circuit 15;
[0051] The input terminal 3 of the switching element Y is connected to the power supply DC+ (the power supply DC+ can be the bus voltage after rectifying and filtering the 220V voltage, such as 310V). The first output terminal 1 of the switching element Y is electrically connected to the input terminal of the first step-down chip U1, and the second output terminal 2 of the switching element Y is electrically connected to the input terminal of the second step-down chip U2. The output terminals of the first step-down chip U1 and the second step-down chip U2 are both electrically connected to the input terminal of the power supply step-down circuit 15. The output terminal of the power supply step-down circuit 15 is electrically connected to the load 14, and the load 14 is also electrically connected to the main control chip MCU;
[0052] The main control chip MCU is electrically connected to the control terminal of the switching element Y; the switching element Y is a double-throw switch. When the main control chip MCU outputs a high level to the double-throw switch, the input terminal 3 and the second output terminal 2 of the double-throw switch are internally connected. When the main control chip MCU outputs a low level to the double-throw switch, the input terminal 3 and the first output terminal 1 of the double-throw switch are internally connected;
[0053] The detection module 11 is used to collect the status information of the first step-down chip U1 and the second step-down chip U2, and feedback the status information of the first step-down chip U1 and the second step-down chip U2 to the main control chip MCU, so that the main control chip MCU can judge whether the first step-down chip U1 and the second step-down chip U2 are faulty based on the status information;
[0054] The main control chip MCU is also electrically connected to the database 12 and the memory module 13 respectively; the main control chip MCU is used to write the fault information of the faulty step-down chip into the memory module 13 and the database 12 when one of the first step-down chip U1 and the second step-down chip U2 is faulty.
[0055] The above electrical equipment provided in this embodiment controls the faulty step-down chip among the first step-down chip and the second step-down chip to stop working and controls the non-faulty step-down chip among the first step-down chip and the second step-down chip to start working when it is detected that any one of the first step-down chip and the second step-down chip has a fault, realizing automatic switching when the step-down chip fails, ensuring that the electrical equipment does not stop working due to the failure of the step-down chip, improving the reliability of equipment use. By controlling the step-down chip adapted to the running load of the whole machine to start working during the operation of the equipment, it is possible to avoid high circuit power consumption caused by setting two chips in the power supply circuit and delay the loss of the step-down chip at the same time.
[0056] This embodiment provides a control method for a power supply circuit. This method can be applied to the main control chip of the controller of the electrical device provided in the above embodiment. Refer to the flowchart of the control method for the power supply circuit as shown in Figure 2 The method mainly includes the following steps S202 to S206:
[0057] Step S202: Detect whether the first buck chip and the second buck chip are faulty;
[0058] The above electrical device can be a household electrical device with a power supply circuit, such as an air conditioner. After the electrical device is connected to the power supply, obtain the status information of the first buck chip and the second buck chip to detect whether the first buck chip and the second buck chip are faulty. The above first buck chip and second buck chip can also be referred to as the first BUCK chip and the second BUCK chip.
[0059] In a specific implementation manner, the status information of the first buck chip and the second buck chip can be collected based on the detection module in the power supply circuit of the controller, and the status information of the first buck chip and the second buck chip is fed back to the main control chip. The main control chip performs data parsing and processing to determine whether the first buck chip and the second buck chip are faulty.
[0060] Step S204: If one of the first buck chip and the second buck chip is faulty, control the faulty buck chip among the first buck chip and the second buck chip to stop working, and control the non-faulty buck chip among the first buck chip and the second buck chip to start working;
[0061] When it is detected that any one of the first buck chip and the second buck chip is faulty, control the circuit where the faulty buck chip among the first buck chip and the second buck chip is located to be disconnected to control the faulty buck chip to stop working, and at the same time control the circuit where the non-faulty buck chip among the first buck chip and the second buck chip is located to be conducted to control the non-faulty buck chip to start working.
[0062] Step S206: If both the first buck chip and the second buck chip are not faulty, obtain the overall operating load of the electrical device, and control the buck chip adapted to the overall operating load to start working;
[0063] When it is detected that both the first buck chip and the second buck chip are not faulty, both the first buck chip and the second buck chip can be used normally. Since the power of the first buck chip is different from the power of the second buck chip, in order to select a suitable chip for use, obtain the overall operating load of the electrical device. The overall operating load can include the rated operating power of the device and / or the operating state of the load, so as to select a matching buck chip for use according to the power required by the electrical device currently.
[0064] The control method of the above power supply circuit provided by this embodiment controls the faulty buck chip among the first buck chip and the second buck chip to stop working and controls the non-faulty buck chip among the first buck chip and the second buck chip to start working when it is detected that any one of the first buck chip and the second buck chip has a fault, realizing automatic switching when the buck chip has a fault, ensuring that the electrical equipment does not stop working due to the fault of the buck chip, improving the reliability of equipment use, and controlling the buck chip adapted to the overall machine operating load to start working during the operation of the equipment to avoid high circuit power consumption caused by setting dual chips in the power supply circuit and to delay the loss of the buck chip at the same time.
[0065] In one embodiment, this embodiment provides a specific implementation manner for detecting whether the first buck chip and the second buck chip have faults:
[0066] Collect the status information of the first buck chip and the second buck chip; wherein, the status information includes output voltage information and internal fault status of the first buck chip and the second buck chip;
[0067] Judge whether the first buck chip and the second buck chip have faults based on the status information.
[0068] During the power-on operation of the electrical equipment, the detection module in the controller collects the status information of the first buck chip and the second buck chip and feeds back the status information of the first buck chip and the second buck chip to the main control chip. The main control chip judges whether the first buck chip and the second buck chip have faults according to the status information of the first buck chip and the second buck chip. For example, when the buck chip has abnormal output voltage, no voltage output or internal fault output of the buck chip itself, it is determined that the buck chip has a fault.
[0069] By collecting the status information of the first buck chip and the second buck chip, it is possible to accurately judge whether the operating states of the first buck chip and the second buck chip are normal, and then it is possible to judge whether each buck chip has a fault, avoiding abnormal equipment functions caused by buck chip faults.
[0070] In one embodiment, the power supply circuit provided by this embodiment further includes a main control chip and a switching element. The main control chip is electrically connected to the control end of the switching element. The input end of the switching element is connected to the power supply. The first output end of the switching element is electrically connected to the input end of the first buck chip. The second output end of the switching element is electrically connected to the input end of the second buck chip. The output ends of the first buck chip and the second buck chip are both electrically connected to the input end of the power supply buck circuit;
[0071] This embodiment provides a specific implementation manner for controlling a buck chip with a fault in the first buck chip and the second buck chip to stop working, and controlling the buck chips without faults in the first buck chip and the second buck chip to be respectively connected to the power supply and the power buck circuit to start working:
[0072] If the first buck chip has a fault, control the input end of the switching element to be internally connected to the second output end, so that the first buck chip stops working and the second buck chip starts working;
[0073] If the second buck chip has a fault, control the input end of the switching element to be internally connected to the first output end, so that the second buck chip stops working and the first buck chip starts working.
[0074] In a specific implementation manner, the above switching element can be a double-throw switch. The initial working state of the double-throw switch is that the input end is internally connected to the second output end. If the first buck chip has a fault, the main control chip outputs a high-level signal to the double-throw switch through the IO port, so that the input end of the double-throw switch is internally connected to the second output end. As Figure 1 shown, the switching element connects to the second output end 2, and the power supply is connected to the power buck circuit through the second buck chip, so that the second buck chip starts working; if the second buck chip has a fault, the main control chip outputs a low-level signal to the double-throw switch through the IO port, so that the input end of the double-throw switch is internally connected to the first output end. As Figure 1 shown, the switching element connects to the first output end 1, and the power supply is connected to the power buck circuit through the first buck chip, so that the first buck chip starts working.
[0075] By setting a single-input double-output switching element between the power supply and the first buck chip and the second buck chip, and controlling the connection port of the switching element to switch the operation of the buck chip according to the fault state of the buck chip, it can be ensured that only one normally operating buck chip works in the circuit all the time, improving the reliability of the operation of the electrical equipment.
[0076] In one embodiment, this embodiment provides an implementation manner for obtaining the overall operating load of the electrical equipment and controlling the buck chip adapted to the overall operating load to start working. The specific steps can be executed as follows:
[0077] Step (1): Obtain the model information of the electrical equipment, and control the buck chip adapted to the power of the electrical equipment in the model information to start working;
[0078] After the electrical equipment is powered on and runs for the first time, the main control chip reads the model information of the electrical equipment, and selects a buck chip with a matching power from the first buck chip and the second buck chip according to the power of the electrical equipment in the model information to start working. The above power of the electrical equipment can be the rated power of the electrical equipment.
[0079] The power of the first step-down chip is less than that of the second step-down chip. In a specific embodiment, if the power of the electrical device is less than the preset power threshold, the main control chip outputs a low-level signal to the double-throw switch through the IO port, controlling the internal connection between the input end and the first output end of the switching element, so that the first step-down chip starts to work; if the power of the electrical device is greater than or equal to the preset power threshold, the main control chip outputs a high-level signal to the double-throw switch through the IO port, controlling the internal connection between the input end and the second output end of the switching element, so that the second step-down chip starts to work.
[0080] The above-mentioned preset power threshold is related to the power of the first step-down chip and the power of the second step-down chip, and the preset power threshold is between the power of the first step-down chip and the power of the second step-down chip. By using a low-power step-down chip when the electrical device is a low-power model and a high-power step-down chip when the electrical device is a high-power model, the operation requirements of the electrical device are met to ensure that the device can work properly.
[0081] Step (2): During the operation of the electrical device, monitor the operation state of the electrical device and control the step-down chip adapted to the operation state of the electrical device to start working.
[0082] By selecting a suitable step-down chip to start working according to the power of the electrical device in the model information when the electrical device is first powered on, and selecting a step-down chip adapted to the operation state of the electrical device to start working during the operation of the device, it is ensured that the power supply circuit always operates at low power consumption.
[0083] The power of the first step-down chip is less than that of the second step-down chip. In a specific embodiment, if it is detected that the electrical device is in a low-load operation state, control the internal connection between the input end and the first output end of the switching element, so that the first step-down chip starts to work.
[0084] During the operation of the electrical device, it is default to operate in a high-load state, that is, the main control chip default outputs a high-level signal to the double-throw switch through the IO port, controls the internal connection between the input end and the second output end of the switching element, and defaults that the second step-down chip is in a working state.
[0085] The above low-load operating state may include the state after receiving a low-load control signal. States such as the state after receiving a shutdown signal, the standby state, and the state after receiving a swing wind shutdown signal are all low-load operating states. When it is detected that the electrical device enters the low-load operating state, the main control chip outputs a low-level signal to the double-throw switch through the IO port to switch to the first step-down chip to start working. By switching to the first step-down chip with a smaller power when the device is detected to be operating at low load, low-power operation can be achieved. At the same time, by switching between the two chips, the loss of the step-down chip can be delayed.
[0086] In one embodiment, the method provided in this embodiment further includes:
[0087] If one of the first step-down chip and the second step-down chip has a fault, write the fault information of the faulty step-down chip into the memory module. When the electrical device is powered on again, read the fault information of the faulty step-down chip in the memory module, and control the non-faulty step-down chip among the first step-down chip and the second step-down chip to start working based on the fault information of the faulty step-down chip.
[0088] When any one of the first step-down chip and the second step-down chip has a fault, the main control chip synchronously writes the fault information of the faulty step-down chip into the memory module for storage. After the electrical device is powered off and then powered on again, the main control chip will read the fault information data stored in the memory module, and control the circuit where the non-faulty step-down chip is located to be connected according to the fault information, so as to switch the non-faulty step-down chip to start working, so as to prevent the electrical device from being unusable due to the abnormal step-down chip of the controller.
[0089] In one embodiment, the method provided in this embodiment further includes:
[0090] If one of the first step-down chip and the second step-down chip has a fault, upload the fault information of the faulty step-down chip to the database to remind the after-sales staff to perform after-sales service.
[0091] When any one of the first step-down chip and the second step-down chip has a fault, the main control chip simultaneously uploads the fault information to the database, which can be a database that the device manufacturer can synchronously obtain, to remind the after-sales staff to perform after-sales service, repair or replace the faulty chip, thus improving the user experience.
[0092] In one implementation manner, after the after-sales staff repairs the faulty step-down chip or replaces the faulty step-down chip with a normal chip, delete the fault information of the faulty step-down chip in the database and the memory module, so that the appropriate chip can be switched to operate according to the overall operating load of the electrical device.
[0093] The control method of the power supply circuit provided in this embodiment adopts a dual buck chip in the power supply circuit to ensure that the device controller can always work properly, avoid the device from stopping running due to the failure of the buck chip, identify the operating load condition of the whole machine, and control the connection of the appropriate buck chip, realizing low-power operation and delaying the loss of the buck chip.
[0094] Corresponding to the control method of the power supply circuit provided in the above embodiment, the embodiment of the present invention provides an example of dual BUCK chip switching control using the above control method of the power supply circuit. Refer to the Figure 3 dual buck chip switching control flowchart shown in the figure, and specifically can be executed according to the following steps S301 to step S311:
[0095] Step S301, collect the status information of the first buck chip and the second buck chip;
[0096] Step S302, determine whether there is a fault in the first buck chip and the second buck chip. If so, execute step S303. If not, execute step S306;
[0097] Step S303, if there is a fault in the first buck chip, the main control chip outputs a high-level signal to the double-throw switch through the IO port, and the second buck chip starts to work; if there is a fault in the second buck chip, the main control chip outputs a low-level signal to the double-throw switch through the IO port, and the first buck chip starts to work;
[0098] Step S304, synchronously write the fault information of the faulty buck chip into the memory module for storage;
[0099] Step S305, upload the fault information of the faulty buck chip to the database;
[0100] Step S306, if there is no fault in both the first buck chip and the second buck chip, the main control chip defaults to output a high-level signal to the double-throw switch through the IO port;
[0101] Step S307, obtain the model information of the electrical equipment, and determine whether the electrical equipment is a low-power model. If so, execute step S308. If not, execute step S309;
[0102] Step S308, the main control chip outputs a low-level signal to the double-throw switch through the IO port, and the first buck chip starts to work;
[0103] Step S309, detect whether the electrical equipment receives a low-load control signal. If so, execute step S308. If not, execute step S310;
[0104] Step S310: The main control chip continuously outputs a high-level signal to the double-throw switcher through the IO port, and the second step-down chip keeps working.
[0105] Corresponding to the control method of the power supply circuit provided in the above embodiment, this embodiment provides an air conditioner, which includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and run by the processor, it implements the control method of the power supply circuit provided in the above embodiment.
[0106] This embodiment also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor, it implements each process of the above embodiment of the control method of the power supply circuit and can achieve the same technical effect. To avoid repetition, it will not be elaborated here. Among them, the computer-readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disc, etc.
[0107] Of course, those skilled in the art can understand that all or part of the processes in implementing the methods of the above embodiments can be completed by instructing a control device through a computer program. The program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the above method embodiments. Among them, the storage medium can be a memory, a magnetic disk, an optical disc, etc.
[0108] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims.
[0109] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article or device including the element.
[0110] In this specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the embodiments, reference can be made to each other. For the electrical equipment disclosed in the embodiments, since it corresponds to the control method of the power supply circuit disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.
[0111] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art. The general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather will be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0112] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the scope defined by the claims.
Claims
1. A method for controlling a power circuit, applied to a controller of an electrical device, characterized in that: The power supply circuit of the controller includes a first buck chip and a second buck chip; the control method of the power supply circuit includes: Detecting whether the first buck chip and the second buck chip have faults; If one of the first buck chip and the second buck chip has a fault, the buck chip with the fault is controlled to stop working, and the buck chip without the fault is controlled to start working; If neither the first buck chip nor the second buck chip has any fault, the whole machine running load of the electrical equipment is obtained, and the buck chip adapted to the whole machine running load is controlled to start working.
2. The control method according to claim 1, characterized in that: The step of detecting whether the first buck chip and the second buck chip have faults includes: Collecting status information of the first buck chip and the second buck chip; wherein the status information includes output voltage information and internal fault status of the first buck chip and the second buck chip; Based on the state information, it is determined whether the first buck chip and the second buck chip have faults.
3. The control method according to claim 1, characterized in that: The power supply circuit further includes: a main control chip and a switch element, wherein the main control chip is electrically connected to the control end of the switch element, the input end of the switch element is connected to the power supply, the first output end of the switch element is electrically connected to the input end of the first buck chip, the second output end of the switch element is electrically connected to the input end of the second buck chip, and the output ends of the first buck chip and the second buck chip are both electrically connected to the input end of the power buck circuit; The step of controlling the buck chip with a fault in the first buck chip and the second buck chip to stop working, and controlling the two ends of the buck chip without a fault in the first buck chip and the second buck chip to be connected to the power supply and the power supply buck circuit respectively to start working, comprises: If the first buck chip fails, controlling the input end of the switch element to be internally connected to the second output end, so that the first buck chip stops working and the second buck chip starts working; If the second buck chip fails, the input end of the switch element is controlled to be internally connected to the first output end, so that the second buck chip stops working and the first buck chip starts working.
4. The control method according to claim 3, characterized in that: The step of obtaining the whole machine running load of the electrical equipment and controlling the step-down chip adapted to the whole machine running load to start working comprises: Acquire the model information of the electrical device, and control the step-down chip that matches the power of the electrical device in the model information to start working; During the operation of the electrical device, the operating state of the electrical device is monitored, and a step-down chip adapted to the operating state of the electrical device is controlled to start working.
5. The control method according to claim 4, characterized in that: The power of the first buck chip is less than the power of the second buck chip, and the step of controlling the buck chip that matches the power of the electrical device in the model information to start working includes: If the power of the electrical device is less than a preset power threshold, controlling the input end of the switch element to be internally connected to the first output end so that the first buck chip starts to work; If the power of the electrical device is greater than or equal to the preset power threshold, the input end of the switch element is controlled to be internally connected to the second output end, so that the second buck chip starts to work.
6. The control method according to claim 4, characterized in that: The power of the first buck chip is less than the power of the second buck chip; the step of controlling the buck chip adapted to the operating state of the electrical device to start working comprises: If it is detected that the electrical device is in a low-load operation state, the input end of the switch element is controlled to be internally connected to the first output end, so that the first buck chip starts to work.
7. The control method according to any one of claims 1 to 6, characterized in that: Also includes: If one of the first buck chip and the second buck chip is faulty, the fault information of the faulty buck chip is written into the memory module. When the electrical device is powered on again, the fault information of the faulty buck chip in the memory module is read, and based on the fault information of the faulty buck chip, the buck chip that is not faulty between the first buck chip and the second buck chip is controlled to start working.
8. The control method according to any one of claims 1 to 6, characterized in that: Also includes: If one of the first buck chip and the second buck chip fails, the failure information of the failed buck chip is uploaded to the database to remind after-sales staff to provide after-sales service.
9. An electrical device, characterized in that: include: A controller, wherein a power circuit of the controller includes a first buck chip and a second buck chip; The controller includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and executed by the processor, the method according to any one of claims 1 to 8 is implemented.
10. The electrical device according to claim 9, characterized in that: The power supply circuit also includes: a main control chip, a switch element, a power supply step-down circuit, a detection module, a database, a memory module and a load; The main control chip is electrically connected to the control end of the switch element, the input end of the switch element is connected to the power supply, the first output end of the switch element is electrically connected to the input end of the first buck chip, the second output end of the switch element is electrically connected to the input end of the second buck chip, the output ends of the first buck chip and the second buck chip are both electrically connected to the input end of the power buck circuit, and the output end of the power buck circuit is electrically connected to the load; The switch element is a double-throw switch, and when the main control chip outputs a high level to the double-throw switch, the input end of the double-throw switch is internally connected to the second output end, and when the main control chip outputs a low level to the double-throw switch, the input end of the double-throw switch is internally connected to the first output end; The detection module is used to collect status information of the first buck chip and the second buck chip, and feed back the status information of the first buck chip and the second buck chip to the main control chip, so that the main control chip determines whether the first buck chip and the second buck chip have faults based on the status information; The main control chip is also electrically connected to the database and the memory module respectively; the main control chip is used to write the fault information of the faulty buck chip into the memory module and the database when one of the first buck chip and the second buck chip fails.