Feeder and power-down working state maintaining device

By designing a power-off working state holding device in the feeding device, and using the energy storage module to supply power to the MCU after the power is powered off, the problem of the feeding device requiring restart after power off is solved, and the service life and reliability of the device are improved.

CN222515199UActive Publication Date: 2025-02-21UBTECH ROBOTICS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323613615.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2025-02-21
Estimated Expiration
2033-12-27

AI Technical Summary

Technical Problem

The existing feeding device will stop working immediately after power failure and needs to be restarted, which will affect the feeding process, and frequent restarts will reduce the service life of the device.

Method used

A power-down working state maintenance device is designed, including a power supply, energy storage module and MCU. The energy storage module supplies power to the MCU after the power supply is powered off, avoiding frequent restarts.

Benefits of technology

When the power supply is powered off for a short period of time, the feeder can continue to operate continuously, avoiding frequent switches and improving the service life of the feeder.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222515199U_ABST
    Figure CN222515199U_ABST
Patent Text Reader

Abstract

The utility model relates to a feeder and a power-down working state keeping device, which are applied to the technical field of power-down protection, and the power-down working state keeping device comprises a power supply, an energy storage module and an MCU, the positive electrode of the energy storage module is connected with the positive electrode of the power supply and the positive electrode of the MCU; the cathode of the energy storage module is connected with the cathode of the power supply and the cathode of the MCU; the positive electrode and the negative electrode of the MCU are respectively connected with the positive electrode and the negative electrode of the power supply; and the energy storage module is used for supplying power to the MCU after the power supply is powered down. The problems that in the prior art, a feeding device can stop working immediately after power failure, after a power source is recovered, the whole feeding device needs to be restarted, the follow-up feeding process is affected, and the service life of the feeding device can be shortened due to frequent restarting of the feeding device are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power-off protection, and in particular to a feeder and a device for maintaining a power-off working state. Background Art

[0002] At present, pet breeding has become a social hotspot. Feeding devices are suitable for feeding pets when the family is away and the pets are left alone at home. There are many kinds of pet feeding devices on the market. For temporary power supply anomalies (such as power outages, pets or users accidentally touching them, etc.), they can be restored in a short time. However, the feeding device usually stops working immediately after power failure. After the power is restored, the entire feeding device needs to be restarted, which affects the subsequent feeding process. In addition, frequent restarts of the feeding device will reduce the service life of the device. Utility Model Content

[0003] The present application provides a feeder and a device for maintaining the working state after power failure, so as to solve the problem in the prior art that the feeding device stops working immediately after power failure, and the entire feeding device needs to be restarted after the power is restored, which affects the subsequent feeding process, and the frequent restart of the feeding device reduces the service life of the device.

[0004] In a first aspect, an embodiment of the present application provides a device for maintaining a power-off working state, comprising: a power supply, an energy storage module, and an MCU;

[0005] The positive electrode of the energy storage module is connected to the positive electrode of the power supply and the positive electrode of the MCU;

[0006] The negative electrode of the energy storage module is connected to the negative electrode of the power supply and the negative electrode of the MCU;

[0007] The positive electrode and the negative electrode of the MCU are connected to the positive electrode and the negative electrode of the power supply respectively;

[0008] The energy storage module is used to supply power to the MCU after the power supply is powered off.

[0009] Optionally, the energy storage module includes: an energy storage capacitor;

[0010] The positive electrode of the energy storage capacitor is connected to the positive electrode of the power supply;

[0011] The negative electrode of the energy storage capacitor is connected to the negative electrode of the power supply.

[0012] Optionally, the energy storage module further includes a protective resistor;

[0013] The positive electrode of the energy storage capacitor is connected to the positive electrode of the power supply through the protection resistor.

[0014] Optionally, it also includes: a voltage division module;

[0015] One end of the voltage divider module is connected to the positive electrode of the power supply;

[0016] The other end of the voltage divider module is connected to the negative electrode of the power supply.

[0017] Optionally, the voltage dividing module includes: a first resistor and a second resistor;

[0018] One end of the first resistor is connected to the positive electrode of the power supply, and the other end is connected to the first end of the second resistor;

[0019] The second end of the second resistor is connected to the negative electrode of the power supply.

[0020] Optionally, the first end of the second resistor is also connected to the MCU.

[0021] In a second aspect, an embodiment of the present application provides a feeder, comprising: the power-off working state maintaining device and a feeding function module as described in the first aspect;

[0022] One end of the feeding function module is connected to the positive pole of the power supply, and the other end is connected to the negative pole of the power supply; the feeding function module is used to realize the feeding function of the feeder.

[0023] Optionally, it also includes: a one-way restriction module;

[0024] The positive electrode of the one-way limiting module is connected to the positive electrode of the power supply;

[0025] The negative electrode of the one-way limiting module is connected to the positive electrode of the energy storage module and the positive electrode of the MCU;

[0026] The unidirectional limiting module is configured to conduct in a direction from the power source to the energy storage module.

[0027] Optionally, the unidirectional limiting element is a diode, a rectifier tube or an electronic valve;

[0028] When the unidirectional limiting unit is a diode, the anode of the diode is connected to the anode of the power supply, and the cathode of the diode is connected to the anode of the energy storage module and the anode of the MCU.

[0029] In a third aspect, an embodiment of the present application provides a control method for a device for maintaining a power-off working state, characterized in that the method is applied to the device for maintaining a power-off working state described in the first aspect or the feeder described in the second aspect, and the method comprises:

[0030] After detecting that the power supply is powered off, monitoring a first voltage of the positive electrode of the power supply and a second voltage of the positive electrode of the energy storage module;

[0031] When the second voltage is greater than the first voltage, the energy storage module is switched to supply power, and the working mode of the MCU is switched to a low power consumption mode.

[0032] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0033] The memory is used to store computer programs;

[0034] The processor is used to execute the program stored in the memory to implement the power-off working state maintaining device described in the third aspect.

[0035] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the power-off working state maintaining device described in the third aspect.

[0036] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art: the power-off working state maintaining device provided by the embodiment of the present application includes: a power supply, an energy storage module, and an MCU; the positive pole of the energy storage module is connected to the positive pole of the power supply and the positive pole of the MCU; the negative pole of the energy storage module is connected to the negative pole of the power supply and the negative pole of the MCU; the positive pole and the negative pole of the MCU are respectively connected to the positive pole and the negative pole of the power supply; the energy storage module is used to power the MCU after the power supply is powered off. In this way, by setting up the energy storage module, when the power supply is normally supplied, the energy storage module can be charged, and after the power supply is powered off, the energy storage module can be used to power the MCU, so that the feeder can continue to work without power failure during a short-term power failure, avoiding frequent switching of the feeder and increasing the service life of the feeder. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present utility model, and together with the description, are used to explain the principles of the present utility model.

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the utility model or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 A schematic diagram of the structure of a device for maintaining a power-off working state provided in an embodiment of the present application;

[0040] Figure 2 A schematic diagram of the structure of a device for maintaining a power-off working state provided in another embodiment of the present application;

[0041] Figure 3 An application scenario diagram of a device for maintaining a power-off working state provided in an embodiment of the present application;

[0042] Figure 4 A flow chart of a device for maintaining a power-off working state provided in one embodiment of the present application;

[0043] Figure 5 A structural diagram of a control method for a device for maintaining a power-off working state provided in an embodiment of the present application;

[0044] Figure 6 A structural diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0046] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.

[0047] The Microcontroller Unit (MCU) appropriately reduces the frequency and specifications of the Central Process Unit (CPU), and integrates peripheral interfaces such as memory, timer, USB, A / D conversion, UART, PLC, DMA, and even LCD driver circuits on a single chip to form a chip-level computer, which can provide different combination controls for different application scenarios.

[0048] Low power mode is an operating state of an electronic device, which is characterized by reducing the power consumption of the device as much as possible to extend battery life or reduce energy consumption.

[0049] According to an embodiment of the present application, a device for maintaining a power-off working state is provided. Figure 1 , the power-off working state maintaining device comprises: a power supply 1, an energy storage module 2, and an MCU3;

[0050] The positive electrode of the energy storage module is connected to the positive electrode of the power supply and the positive electrode of the MCU;

[0051] The negative electrode of the energy storage module is connected to the negative electrode of the power supply and the negative electrode of the MCU;

[0052] The positive electrode and the negative electrode of the MCU are connected to the positive electrode and the negative electrode of the power supply respectively;

[0053] The energy storage module is used to supply power to the MCU after the power supply is powered off.

[0054] In some embodiments, by setting up an energy storage module, the energy storage module can be charged when the power is normally supplied. After the power is cut off, the energy storage module can be used to power the MCU, so that the feeder can continue to work without interruption during a short power outage, avoiding frequent switching of the feeder and increasing the service life of the feeder.

[0055] In an optional embodiment, the energy storage module includes: an energy storage capacitor;

[0056] The positive electrode of the energy storage capacitor is connected to the positive electrode of the power supply;

[0057] The negative electrode of the energy storage capacitor is connected to the negative electrode of the power supply.

[0058] In some embodiments, an energy storage capacitor is provided, and when the power supply is normal, the energy storage capacitor can be charged, so that after the power supply is cut off, the stored energy can be discharged to realize power supply to the MCU.

[0059] The energy storage capacitor may be set to a large-capacity capacitor, for example, the capacity of the energy storage capacitor may be 3300uF, 4700uF or 6800uF.

[0060] In an optional embodiment, the energy storage module further includes a protection resistor R1;

[0061] The positive electrode of the energy storage capacitor is connected to the positive electrode of the power supply through the protection resistor.

[0062] In some embodiments, by setting a protection resistor, the energy storage capacitor can be slowly charged after the power is turned on, and the energy storage capacitor can be slowly discharged after the power is turned off, thereby protecting the energy storage capacitor.

[0063] In an optional embodiment: a voltage dividing module;

[0064] One end of the voltage divider module is connected to the positive electrode of the power supply;

[0065] The other end of the voltage divider module is connected to the negative electrode of the power supply.

[0066] In some embodiments, by setting up a voltage divider module and connecting the positive and negative poles of the power supply, the voltage at the positive pole of the power supply can be reduced as quickly as possible after the power is cut off, so that the voltage there is lower than the voltage of the positive pole of the energy storage module as soon as possible, and then the MCU can be powered by the energy storage module as soon as possible.

[0067] In an optional embodiment, the voltage dividing module includes: a first resistor R2 and a second resistor R3;

[0068] One end of the first resistor is connected to the positive electrode of the power supply, and the other end is connected to the first end of the second resistor;

[0069] The second end of the second resistor is connected to the negative electrode of the power supply.

[0070] In some embodiments, the organization of the first resistor and the second resistor can be selected and set based on actual needs. Different trigger voltages are adjusted by the first resistor and the second resistor to adjust the voltage threshold at which the MCU enters low power consumption when power is off.

[0071] In an optional embodiment, the first end of the second resistor is also connected to the MCU. By connecting the first end of the second resistor to the MCU, the voltage threshold at which the MCU enters low power consumption when power is off can be adjusted through the second resistor.

[0072] Based on the same concept, a feeder is provided in the embodiment of the present application, see Figure 2 , including the power-off working state maintaining device and the feeding function module described in the above-mentioned related implementation;

[0073] One end of the feeding function module is connected to the positive pole of the power supply, and the other end is connected to the negative pole of the power supply; the feeding function module is used to realize the feeding function of the feeder.

[0074] In some embodiments, the feeding function module includes but is not limited to modules such as fans and lighting.

[0075] In an optional embodiment, it further includes: a one-way restriction module;

[0076] The positive electrode of the one-way limiting module is connected to the positive electrode of the power supply;

[0077] The negative electrode of the one-way limiting module is connected to the positive electrode of the energy storage module and the positive electrode of the MCU;

[0078] The unidirectional limiting module is configured to conduct in a direction from the power source to the energy storage module.

[0079] In some embodiments, by setting a one-way limiting module, after the feeder is powered by the energy storage module, the power consumption of the feeding function module can be avoided and the power supply time of the MCU can be increased.

[0080] In an optional embodiment, the unidirectional limiting element may be any one of a diode, a rectifier tube or an electronic valve.

[0081] Wherein, the diode has a unidirectional conductive property and can conduct current in only one direction. When the unidirectional limiting unit is a diode, the positive electrode of the diode is connected to the positive electrode of the power supply, and the negative electrode of the diode is connected to the positive electrode of the energy storage module and the positive electrode of the MCU.

[0082] A rectifier tube is a semiconductor device whose main function is to limit the current flow in one direction.

[0083] The electron valve is a type of vacuum tube that uses thermionic emission of electrons and the electric field effect to control the flow of current and has a unidirectional conduction characteristic.

[0084] Similarly, when the one-way limiting unit is a rectifier tube or an electronic valve, its connection method is similar to that of a diode and will not be described in detail here.

[0085] In a specific embodiment, see Figure 2 The feeder of the present application is powered by an external DC adapter power supply, which converts the household 220V into the required DC power supply.

[0086] After the power supply is powered on, the control system is powered through the diode D1, one way is to power the MCU, and the other way is to charge the energy storage capacitor C1 through R1. Other feeding function modules are powered by the power branch before D1.

[0087] There are voltage divider resistors R2 and R3 at the power input to adjust different trigger voltages, which are used to adjust the voltage threshold for the MCU to enter low power consumption when power is off.

[0088] When the power supply is normal, C1 will not provide power, and all power is provided by DC Power. When DC Power is powered off, the MCU detects that the voltage at point A is lower than the voltage at point B or the set value, and the MCU immediately enters low power mode. At this time, the voltage at point A naturally drops, and the feeder automatically switches to the energy storage capacitor of C1 for power supply. The voltage of C1 will gradually decrease until the power supply voltage at the MCU end reaches the minimum operating voltage, and the feeder shuts down.

[0089] Generally, the MCU power supply voltage is 1.2V to 5V, so there is a 3.8V operating voltage difference. When the DC power supply is powered on again, normal operation is restored.

[0090] Usually, when the MCU enters low power consumption, the current will drop to the micro-ampere level. The energy storage capacitor is generally of large capacity (3300uF / 4700uF / 6800uF, etc.). Due to the isolation effect of the rectifier diode D1, other feeding function modules cannot consume the power of C1. All MCU systems will continue to work for a long time, up to more than 1 hour.

[0091] The feeder of the present application solves the problem that the feeder cannot continue to work after power failure, is convenient for dealing with certain emergency situations, and greatly improves the convenience, reliability and stability of the feeder in use.

[0092] According to an embodiment of the present application, a control method for a device for maintaining a power-off working state is provided. Optionally, in the embodiment of the present application, the control method for a device for maintaining a power-off working state can be applied to Figure 3 In the hardware environment composed of terminal 301 and server 302 shown in FIG. Figure 3 As shown, the server 302 is connected to the terminal 301 via a network, and a database can be set up on the server or independently of the server to provide data storage services for the server 302. The above network includes but is not limited to: a wide area network, a metropolitan area network or a local area network, and the terminal 301 is not limited to the MCU or other controller in the power-off working state maintaining device.

[0093] The control method of the power-off working state maintaining device of the embodiment of the present application can be executed by the server 302, or by the terminal 301, or by both the server 302 and the terminal 301. The terminal 301 executes the control method of the power-off working state maintaining device of the embodiment of the present application.

[0094] Taking the control method of the power-off working state maintaining device of the embodiment of the present application executed by the terminal as an example, Figure 4 is a flow chart of an optional control method of a power-off working state maintaining device according to an embodiment of the present application, such as Figure 4 As shown, the process of the method may include the following steps:

[0095] Step 401: After detecting that the power supply is off, monitor a first voltage of the positive electrode of the power supply and a second voltage of the positive electrode of the energy storage module.

[0096] In some embodiments, the method of monitoring power failure can be implemented by monitoring the power supply voltage. When the power supply voltage is less than a preset value, it is determined that the power supply is failed.

[0097] Among them, Figure 2 The voltage at point A in is taken as the first voltage, and Figure 2 The voltage at point B in the circuit is used as the second voltage. After the power is turned off, the energy storage capacitor begins to discharge, the voltage at point A gradually decreases, and the voltage at point B gradually increases.

[0098] Step 402: When the second voltage is greater than the first voltage, switch to the energy storage module for power supply, and switch the working mode of the MCU to a low power consumption mode.

[0099] In some embodiments, after the first voltage drops to be less than the second voltage, the MCU is powered by the energy storage module to ensure that the MCU can continue to work after the power is cut off.

[0100] By switching the MCU's working mode to low power mode, the MCU's working time can be extended to facilitate response to certain emergency situations, greatly improving the convenience, reliability and stability of the feeder.

[0101] Based on the same concept, a control device for a power-off working state maintaining device is provided in an embodiment of the present application. The specific implementation of the device can be found in the description of the method embodiment part, and the repeated parts will not be repeated. Figure 5 As shown, the device mainly includes:

[0102] The monitoring module 501 is used to monitor the first voltage of the positive electrode of the power supply and the second voltage of the positive electrode of the energy storage module after detecting that the power supply is powered off.

[0103] The control module 502 is used to switch to the energy storage module for power supply and switch the working mode of the MCU to a low power consumption mode when the second voltage is greater than the first voltage.

[0104] Based on the same concept, an electronic device is also provided in the embodiment of the present application, such as Figure 6 As shown, the electronic device mainly includes: a processor 601, a memory 602 and a communication bus 603, wherein the processor 601 and the memory 602 communicate with each other through the communication bus 603. The memory 602 stores a program executable by the processor 601, and the processor 601 executes the program stored in the memory 602 to implement the following steps:

[0105] After detecting that the power supply is off, the first voltage of the positive electrode of the power supply and the second voltage of the positive electrode of the energy storage module are monitored.

[0106] When the second voltage is greater than the first voltage, the energy storage module is switched to supply power, and the working mode of the MCU is switched to a low power consumption mode.

[0107] The communication bus 603 mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 603 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0108] The memory 602 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the processor 601.

[0109] The above-mentioned processor 601 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0110] In another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program runs on a computer, the computer executes the control method of the power-off working state maintaining device described in the above embodiment.

[0111] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction is transmitted from a website site, a computer, a server or a data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integration. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape, etc.), an optical medium (such as a DVD) or a semiconductor medium (such as a solid-state hard disk), etc.

[0112] It should 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 such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0113] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and 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 should conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A device for maintaining a power-off working state, characterized in that: include: Power supply, energy storage module, MCU, voltage divider module; The positive electrode of the energy storage module is connected to the positive electrode of the power supply and the positive electrode of the MCU; The negative electrode of the energy storage module is connected to the negative electrode of the power supply and the negative electrode of the MCU; The positive electrode and the negative electrode of the MCU are connected to the positive electrode and the negative electrode of the power supply respectively; The energy storage module is used to supply power to the MCU after the power supply fails; One end of the voltage divider module is connected to the positive electrode of the power supply; The other end of the voltage divider module is connected to the negative electrode of the power supply; Wherein, the voltage dividing module comprises: a first resistor and a second resistor; One end of the first resistor is connected to the positive electrode of the power supply, and the other end is connected to the first end of the second resistor; The second end of the second resistor is connected to the negative electrode of the power supply.

2. The device for maintaining the power-off working state according to claim 1, characterized in that: The energy storage module comprises: an energy storage capacitor; The positive electrode of the energy storage capacitor is connected to the positive electrode of the power supply; The negative electrode of the energy storage capacitor is connected to the negative electrode of the power supply.

3. The device for maintaining the power-off working state according to claim 2, characterized in that: The energy storage module also includes a protective resistor; The positive electrode of the energy storage capacitor is connected to the positive electrode of the power supply through the protection resistor.

4. The device for maintaining the power-off working state according to claim 1, characterized in that: The first end of the second resistor is also connected to the MCU.

5. A feeder, characterized in that: include: The power-off working state maintaining device and feeding function module as described in any one of claims 1 to 4; One end of the feeding function module is connected to the positive pole of the power supply, and the other end is connected to the negative pole of the power supply; the feeding function module is used to realize the feeding function of the feeder.

6. The feeder according to claim 5, characterized in that Also includes: One-way restriction module; The positive electrode of the one-way limiting module is connected to the positive electrode of the power supply; The negative electrode of the one-way limiting module is connected to the positive electrode of the energy storage module and the positive electrode of the MCU; The unidirectional limiting module is configured to conduct in a direction from the power source to the energy storage module.

7. The feeder according to claim 6, characterized in that The one-way limiting module is a diode, a rectifier tube or an electronic valve; When the unidirectional limiting module is a diode, the anode of the diode is connected to the anode of the power supply, and the cathode of the diode is connected to the anode of the energy storage module and the anode of the MCU.