Power supply circuit and electric equipment
By designing a power supply circuit including a power supply, a main control module, a charging module, an energy storage module and a discharge module, the problem of the smart toilet being unusable in the event of a power outage is solved, the emergency operation of the load module is realized, environmental pollution and after-sales costs are reduced, and the service life of the supercapacitor is extended.
Patent Information
- Application Number
- CN202422524654.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2034-10-18
AI Technical Summary
Existing smart toilets cannot be used normally in the event of a power outage, and the backup battery has a limited service life and needs to be replaced regularly, posing environmental pollution and safety risks.
A power supply circuit is designed, including a power supply, a main control module, a charging module, an energy storage module and a discharge module. The energy storage module discharges during a power outage to supply power to the load module and the main control module, ensuring emergency operation functions and avoiding the use of backup batteries.
It realizes the emergency operation of the load module in the event of a power outage, reduces after-sales costs, avoids environmental pollution, extends the service life of the supercapacitor, and ensures sufficient power.
Smart Images

Figure CN223487915U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of power supply technology, and in particular to a power supply circuit and electrical equipment. Background Technology
[0002] With the rapid development of technology, smart home products have been widely integrated into people's daily lives, greatly improving convenience and comfort. These smart products, such as smart toilets, smart door locks, and smart security systems, often incorporate many user-friendly functions in their design to meet users' needs in various situations. Especially in emergency situations such as power outages or power failures, maintaining the emergency operation of some key functions is particularly important.
[0003] Take smart toilets as an example; they play an indispensable role in daily life. However, in the event of a power outage, while traditional toilets can still be flushed manually, smart toilets, if they lose power, may directly prevent users from using their basic functions, causing significant inconvenience. Therefore, most smart toilets on the market are currently equipped with backup battery systems to ensure that necessary flushing operations can still be performed during power outages. While this design effectively solves the user's immediate problem, it also brings new issues.
[0004] While backup batteries can provide power to smart products for short periods, their lifespan is limited and they need to be replaced periodically. This not only increases after-sales costs for users but can also cause environmental pollution due to improper battery disposal. Furthermore, backup batteries pose certain safety hazards during storage and transportation. Utility Model Content
[0005] To address the aforementioned problems, the purpose of this utility model is to provide a power supply circuit and electrical equipment that, through the energy storage of a universal energy storage module and discharge under specified conditions (by pressing a button), enables the load to perform emergency operation functions without pollution.
[0006] This utility model is achieved through the following technical solution:
[0007] A power supply circuit includes a power source, a main control module, and a load module connected in pairs. The power source supplies power to the main control module and the load module. The main control module controls the load module to perform operations. The circuit also includes a charging module, an energy storage module, and a discharging module connected in sequence. The charging module and the discharging module are both connected to the main control module. The input terminal of the charging module is connected to the power source. The discharging module is connected to the load module. The charging module includes a charging switch circuit, and / or the discharging module includes a discharging switch circuit. The circuit also includes a button connected to the main control module.
[0008] When power is available, the charging module controls the power supply to charge or disconnect the energy storage module according to the charging signal from the main control module; when there is no power supply, pressing the button sends a discharge signal to the discharge module, which then controls the energy storage module to discharge according to the discharge signal, thereby supplying power to the load module and the main control module.
[0009] Furthermore, the power supply circuit also includes a voltage detection unit connected between the energy storage module and the main control module. The voltage detection unit is used to detect the voltage of the energy storage module in real time or intermittently and feed the voltage signal back to the main control module. The main control module sends the charging signal to the charging module and / or stops sending the discharging signal to the discharging module according to the received voltage signal.
[0010] Furthermore, the main control module includes a button control unit, an MCU, and a holding unit; the button control unit is connected to the button, the output terminal of the energy storage module, the power supply, and the holding unit respectively; the holding unit is connected to the power supply, the MCU, and the discharge module respectively; the MCU is connected to the charging module, the discharge module, and the load module respectively; when there is power, the holding unit is disconnected, thereby controlling the discharge module not to discharge; when there is no power, pressing the button causes the button control unit to control the holding unit to conduct, controlling the discharge module to discharge; releasing the button causes the MCU to control the holding unit to continue conducting.
[0011] Furthermore, the holding unit includes a fifth switch and a third switch. One terminal of the third switch is connected to the discharge module, and the other terminal of the third switch is grounded. One terminal of the fifth switch is connected to the control terminal of the third switch, and the other terminal of the fifth switch is grounded. The control terminal of the fifth switch is connected to the power supply. The control terminal of the third switch is also connected to the MCU. When the power supply is on, the fifth switch is turned on, thereby controlling the third switch to be turned off, and the discharge module does not discharge.
[0012] Furthermore, the button control unit includes a sixth switch transistor. One terminal of the sixth switch transistor is connected to the energy storage module and the power supply, and the other terminal of the sixth switch transistor is connected to the control terminal of the third switch transistor. The control terminal of the sixth switch transistor is connected to the button, the power supply, and the energy storage module respectively. When there is no power supply, pressing the button turns on the sixth switch transistor, thereby controlling the third switch transistor to turn on, and the discharge module discharges.
[0013] Furthermore, the charging module also includes a first voltage drop circuit and a current limiting circuit sequentially connected to the charging switch circuit. The input terminal of the charging switch circuit is connected to the power supply. The current limiting circuit is connected to the energy storage module. The charging switch circuit is connected to the main control module. The charging switch circuit is used to turn on or off according to the charging signal from the main control module. The first voltage drop circuit is used to reduce the voltage of the power supply to charge the energy storage module. The current limiting circuit is used to limit the current and divide the voltage to protect the energy storage module.
[0014] Furthermore, the discharge module also includes a boost circuit connected to the discharge switch circuit. The discharge switch circuit is connected to both the energy storage module and the main control module. When the main control module sends a discharge signal to the discharge switch circuit, the discharge switch circuit controls the energy storage module to discharge to the boost circuit. The output terminal of the boost circuit is connected to the load module, and the boost circuit is used to boost the discharge voltage of the energy storage module to the voltage required by the load module.
[0015] Furthermore, the discharge module also includes a second step-down circuit, the input terminal of which is connected to the output terminal of the boost circuit, the input terminal of which is also connected to the power supply, and the output terminal of which is connected to the main control module; the step-down circuit is used to step down the output voltage of the boost circuit or the power supply voltage to the voltage required by the main control module.
[0016] Furthermore, the energy storage module includes a supercapacitor, the positive terminal of which is connected to the output terminal of the charging module, and the negative terminal of which is grounded; or, the energy storage module includes at least two supercapacitors connected in series, the positive terminal of the first supercapacitor being connected to the output terminal of the charging module, and the negative terminal of the last supercapacitor being grounded.
[0017] An electrical device includes the aforementioned power supply circuit.
[0018] Compared with the prior art, the technical solution of this utility model and its beneficial effects are as follows:
[0019] (1) In the power supply circuit of this utility model, when there is a power supply, the charging module controls the power supply to charge or disconnect the energy storage module according to the charging signal of the main control module. When there is no power supply, pressing the button sends a discharge signal to the discharge module, and the discharge module controls the energy storage module to discharge according to the discharge signal, thereby supplying power to the load module and the main control module. In the event of a power outage, the load can complete the emergency operation function through the energy storage of the energy storage module and the discharge under specified conditions (pressing the button), thereby reducing after-sales costs and eliminating pollution. The addition of the charging module effectively extends the service life of the supercapacitor and ensures sufficient power.
[0020] (2) The discharge module of this utility model is also provided with a second step-down module. When the power supply is on, the power supply voltage is stepped down and stabilized before being supplied to the MCU. When the power supply is not on, the discharge voltage of the energy storage module after being stepped up is stepped down and stabilized to a suitable voltage before being supplied to the MCU, thereby providing stable power supply and protection for the MCU. Attached Figure Description
[0021] Figure 1 This is a simplified block diagram of a power supply circuit provided in an embodiment of the present utility model;
[0022] Figure 2 This is a detailed block diagram of a power supply circuit provided in an embodiment of the present utility model;
[0023] Figure 3 This is a pin schematic diagram of the MCU chip provided in this embodiment of the utility model;
[0024] Figure 4 This is a circuit diagram of the charging module provided in an embodiment of the present invention;
[0025] Figure 5 This is a circuit diagram of the voltage detection unit provided in this embodiment of the utility model;
[0026] Figure 6 This is a circuit diagram of the discharge module provided in this embodiment of the utility model;
[0027] Figure 7 This is a circuit diagram of the main control module (holding unit and button control unit) provided in this embodiment of the utility model.
[0028] Illustration:
[0029] Power supply - 10; Holding unit - 21; Button control unit - 22; Drive circuit - 31; Charging switch circuit - 41; First voltage drop circuit - 42; Current limiting circuit - 43; Energy storage module - 50; Discharge switch circuit - 61; Boost circuit
[0030] -62; Second step-down circuit -63; Voltage detection unit -70. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. It should be understood that the specific embodiments described herein are only used to explain this utility model and are not intended to limit this utility model. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.
[0032] See Figure 1 A power supply circuit includes a power supply, a main control module, and a load module. The power supply is connected to both the main control module and the load module, and supplies power to both the main control module and the load module. The main control module is connected to the load module, and the main control module controls the load module to perform operations.
[0033] It also includes a charging module, an energy storage module, and a discharging module connected in sequence. Both the charging and discharging modules are connected to the main control module. The input terminal of the charging module is connected to the power supply, and the discharging module is connected to the load module. It also includes buttons, which are connected to the main control module. The charging module includes a charging switch circuit, and the discharging module includes a discharging switch circuit.
[0034] When power is available, the charging module controls the power supply to charge or disconnect the energy storage module based on the charging signal from the main control module. Specifically, the charging signal from the main control module controls the opening and closing of the charging switch circuit, thus controlling whether the power supply charges the energy storage module. When there is no power supply, pressing the button sends a discharge signal to the discharge module, controlling the discharge switch circuit to conduct, thereby causing the energy storage module to discharge and supply power to the load module and the main control module. In the event of a power outage, the energy stored in the general-purpose energy storage module and its discharge under specified conditions (pressing the button) enable the load to perform emergency operation, thereby reducing after-sales costs and eliminating pollution. Adding a charging module effectively extends the service life of the supercapacitor and ensures sufficient power.
[0035] See Figures 2 to 4 The main control module includes an MCU chip U1, and the charging module includes a first voltage drop circuit 42 and a current limiting circuit 43 sequentially connected to the charging switch circuit 41. The input terminal of the charging switch circuit 41 is connected to the power supply 10, and the current limiting circuit 43 is connected to the energy storage module 50. The charging switch circuit 41 is connected to the MCU chip U1, and it is turned on or off according to the charging signal Charge_bat from the MCU chip U1. When the charging switch circuit 41 is on, the first voltage drop circuit 42 reduces the voltage of the power supply 10 to charge the energy storage module 50, and the current limiting circuit 43 is used for current limiting and voltage division to protect the energy storage module 50.
[0036] The charging switch circuit 41 includes switching transistors Q4 and Q2. Switching transistor Q4 is an NPN transistor, and switching transistor Q2 is a PNP transistor. The base of switching transistor Q4 is connected to the MCU chip U1 through resistor R21. The emitter of switching transistor Q4 is grounded. The collector of switching transistor Q4 is connected to the base of switching transistor Q2. The emitter of switching transistor Q2 is connected to power supply 10. The collector of switching transistor Q2 is connected to the input terminal of the first voltage drop circuit 42.
[0037] When the charging signal Charge_bat from MCU chip U1 is high, switch Q4 is turned on, thereby pulling down the base voltage of switch Q2. Switch Q2 is then turned on, meaning that power supply 10 is connected to the first voltage drop circuit 42, and power supply 10 supplies power to the first voltage drop circuit 42. When the charging signal Charge_bat from MCU chip U1 is low, switch Q4 is turned off, thereby turning off switch Q2. That is, power supply 10 is disconnected from the first voltage drop circuit 42, and power supply 10 stops supplying power to the first voltage drop circuit 42.
[0038] In this embodiment, power supply 10 can provide an initial 6.8V power supply and a 6.2V power supply after being stepped down by diode D1.
[0039] The first voltage drop circuit 42 includes a voltage drop converter chip U3. The input pin IN of the voltage drop converter chip U3 is connected to the collector of the switching transistor Q2, and the output pin VOUT of the voltage drop converter chip U3 is connected to the current limiting circuit 43. The current limiting circuit 43 includes a resistor R10. The power supply after being stepped down by the voltage drop converter chip U3 is then protected by the current limiting and voltage division of the resistor R10 before charging the energy storage module 50. In this embodiment, the energy storage module 50 includes a supercapacitor E1 and a supercapacitor E2 connected in series. The positive terminal of the supercapacitor E1 is connected to the end of the resistor R10 away from the voltage drop converter chip U3, and the negative terminal of the supercapacitor E2 is grounded.
[0040] Continue reading Figure 2 And see Figure 5 The power supply circuit also includes a voltage detection unit 70 connected between the energy storage module and the MCU chip U1. The voltage detection unit 70 is connected to the positive terminal of the supercapacitor E1 and is used to detect the voltage of the energy storage module in real time. It feeds the voltage signal back to the MCU chip U1. If the detected voltage is greater than or equal to the charging threshold, it indicates that the energy storage module does not need to be charged. The MCU chip U1 then sends a low-level charging signal, Charge_bat, to the charging switch circuit 41 to stop charging the energy storage module. Conversely, if the detected voltage is less than the charging threshold, the MCU chip U1 sends a high-level charging signal, Charge_bat, to the charging switch circuit 41. This effectively avoids overvoltage charging of the supercapacitors E1 and E2, protecting the supercapacitors and the circuit.
[0041] Continue reading Figure 2 and Figure 6 The discharge module also includes a boost circuit 62 connected to the discharge switch circuit 61. The discharge switch circuit 61 includes a discharge switch Q1, which is connected to both the energy storage module 50 and the main control module. When the main control module sends a discharge signal to the discharge switch Q1, the discharge switch Q1 is turned on, thereby causing the energy storage module 50 to discharge to the boost circuit 62. The output terminal of the boost circuit 62 is connected to the load module, and the boost circuit 62 boosts the discharge voltage of the energy storage module 50 to the voltage required by the load module.
[0042] The discharge module also includes a second buck circuit 63. The input of the second buck circuit 63 is connected to the output of the boost circuit 62, and the input of the second buck circuit 63 is also connected to the power supply 10. The output of the second buck circuit 63 is connected to the main control module. The buck circuit 63 is used to step down the output voltage of the boost circuit (6.25V) or the power supply voltage (6.25V) to the voltage of 5V required by the main control module.
[0043] In this embodiment, the boost circuit 62 includes a BOOST boost chip U4, and the second buck circuit 63 includes an LDO chip U5. It is easy to see that when the power supply is on, the LDO chip U5 steps down the power supply to 5V to power the MCU chip U1. When the power supply is off, after the main control module turns on the charging switch Q1, the discharge voltage of the supercapacitor is boosted to 6.25V by the BOOST boost chip U4 to power the load module, and simultaneously transmitted to the LDO chip U5, which then steps down to output a 5V voltage to power the MCU chip U1.
[0044] Continue reading Figure 2 and Figure 7 The main control module also includes a button control unit 22 and a holding unit 21. The button control unit 22 is connected to the button and the holding unit 21 respectively. The holding unit 21 is connected to the power supply 10, the MCU chip U1 and the discharge switch Q1 respectively. The MCU is connected to the load module.
[0045] When power is available, holding unit 21 is disconnected, controlling the discharge switch Q1 to open, thus preventing energy storage module 50 from discharging. When there is no power, pressing the button activates the button control unit 22, which controls holding unit 21 to conduct, controlling discharge switch Q1 to conduct, thus allowing energy storage module 50 to discharge to the discharge module. Releasing the button allows MCU chip U1 to keep holding unit 21 conducting.
[0046] More specifically, the holding unit 21 includes switching transistors Q5 and Q3. Switching transistor Q5 is an NPN transistor, and switching transistor Q3 is an NPN transistor. The collector of switching transistor Q3 is connected to the discharge switch Q1, and the emitter of switching transistor Q3 is grounded. The collector of switching transistor Q5 is connected to the base of switching transistor Q3, the emitter of switching transistor Q5 is grounded, and the base of switching transistor Q5 is connected to power supply 10; the base of switching transistor Q3 is also connected to MCU chip U1.
[0047] The button control unit 22 includes a switching transistor Q6, which is a PNP transistor. The emitter of the switching transistor Q6 is connected to the discharge terminal VBAT of the energy storage module and the power supply 10. The collector of the switching transistor Q6 is connected to the base of the switching transistor Q3. The base of the switching transistor Q6 is connected to the button, the power supply 10 and the discharge terminal VBAT of the power supply 10.
[0048] When power supply 10 supplies power, switching transistor Q5 is turned on, thereby pulling the base of switching transistor Q3 low, controlling switching transistor Q3 to be turned off, and discharge switch Q1 is not turned on, thus preventing energy storage module 50 from discharging.
[0049] When power supply 10 is not supplying power, switching transistor Q5 is off. When the button is pressed, FLUSH_BAT is low, and switching transistor Q6 turns on, sending a high-level signal to the base of switching transistor Q3, causing Q3 to turn on. This, in turn, turns on discharge switch Q1, allowing energy storage module 50 to discharge through discharge switch Q1. When the button is pressed, energy storage module 50 begins to discharge, supplying power to MCU chip U1 to enable its operation. MCU chip U1 sends a high-level EN_FLUSH signal to the base of switching transistor Q3, keeping Q3 continuously on. This ensures that after the button is released, the energy storage module can continue to discharge to power MCU chip U1 and the load module to complete their operations. In this embodiment, the voltage detection unit 70 detects the voltage of the energy storage module in real time or intermittently and feeds back the voltage signal to the MCU chip U1. If the detected voltage of the energy storage module 50 is less than the discharge threshold, the MCU chip U1 sends a low-level EN_FLUSH signal to the base of the switching transistor Q3 to control the switching transistor Q3 to turn off, thereby causing the discharge switch Q1 to open and the energy storage module 50 to stop discharging, thus avoiding over-discharge from damaging the supercapacitors E1 and E2.
[0050] Continue reading Figure 7The button control unit 22 also includes a switching transistor Q9, which is an NPN transistor. The base of switching transistor Q9 is connected to the collector of switching transistor Q6, and the emitter of switching transistor Q9 is grounded. The collector of switching transistor Q9 is connected to the output of the second step-down circuit and the MCU chip U1. When there is no power supply, pressing the button turns on switching transistor Q6, thereby sending a high level to the base of switching transistor Q9. Switching transistor Q9 then turns on, pulling down the collector voltage of switching transistor Q9, i.e., sending a low-level signal to the FLUSH_IN of the MCU chip U1. The MCU chip U1 can control the load module to execute instructions according to the change of this level.
[0051] The foregoing description illustrates and describes preferred embodiments of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the present invention through the foregoing teachings or related technical or knowledge. Any modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.
Claims
1. A power supply circuit, comprising a power supply, a main control module, and a load module connected in pairs, wherein the power supply supplies power to the main control module and the load module, and the main control module controls the load module to perform operations, characterized in that, It also includes a charging module, an energy storage module, and a discharging module connected in sequence. The charging module and the discharging module are both connected to the main control module. The input terminal of the charging module is connected to the power supply. The discharging module is connected to the load module. The charging module includes a charging switch circuit, and / or the discharging module includes a discharging switch circuit. It also includes buttons, which are connected to the main control module; When power is available, the charging module controls the power supply to charge or disconnect the energy storage module according to the charging signal from the main control module; when there is no power supply, pressing the button sends a discharge signal to the discharge module, which then controls the energy storage module to discharge according to the discharge signal, thereby supplying power to the load module and the main control module.
2. The power supply circuit according to claim 1, characterized in that, It also includes a voltage detection unit connected between the energy storage module and the main control module. The voltage detection unit is used to detect the voltage of the energy storage module in real time or intermittently and feed the voltage signal back to the main control module. The main control module sends the charging signal to the charging module and / or stops sending the discharging signal to the discharging module according to the received voltage signal.
3. A power supply circuit according to claim 1, characterized in that, The main control module includes a button control unit, an MCU, and a holding unit; the button control unit is connected to the button, the output terminal of the energy storage module, the power supply, and the holding unit respectively; the holding unit is connected to the power supply, the MCU, and the discharge module respectively; the MCU is connected to the charging module, the discharging module, and the load module respectively. When there is power, the holding unit is disconnected, thereby controlling the discharge module not to discharge; when there is no power, pressing the button causes the button control unit to turn on the holding unit, controlling the discharge module to discharge; releasing the button causes the MCU to control the holding unit to continue turning on.
4. A power supply circuit according to claim 3, characterized in that, The holding unit includes a fifth switch and a third switch. One terminal of the third switch is connected to the discharge module, and the other terminal of the third switch is grounded. One terminal of the fifth switch is connected to the control terminal of the third switch, and the other terminal of the fifth switch is grounded. The control terminal of the fifth switch is connected to the power supply. The control terminal of the third switch is also connected to the MCU. When the power supply is on, the fifth switch is turned on, thereby controlling the third switch to turn off, and the discharge module does not discharge.
5. A power supply circuit according to claim 4, characterized in that, The button control unit includes a sixth switch transistor. One terminal of the sixth switch transistor is connected to the energy storage module and the power supply, and the other terminal of the sixth switch transistor is connected to the control terminal of the third switch transistor. The control terminal of the sixth switch transistor is connected to the button, the power supply, and the energy storage module respectively. When there is no power supply, pressing the button turns on the sixth switch transistor, thereby controlling the third switch transistor to turn on, and the discharge module discharges.
6. A power supply circuit according to claim 1, characterized in that, The charging module further includes a first voltage drop circuit and a current limiting circuit sequentially connected to the charging switch circuit. The input terminal of the charging switch circuit is connected to the power supply. The current limiting circuit is connected to the energy storage module. The charging switch circuit is connected to the main control module. The charging switch circuit is used to turn on or off according to the charging signal from the main control module. The first voltage drop circuit is used to reduce the voltage of the power supply to charge the energy storage module. The current limiting circuit is used to limit the current and divide the voltage to protect the energy storage module.
7. A power supply circuit according to claim 1, characterized in that, The discharge module also includes a boost circuit connected to the discharge switch circuit. The discharge switch circuit is connected to both the energy storage module and the main control module. When the main control module sends a discharge signal to the discharge switch circuit, the discharge switch circuit controls the energy storage module to discharge to the boost circuit. The output terminal of the boost circuit is connected to the load module. The boost circuit is used to boost the discharge voltage of the energy storage module to the voltage required by the load module.
8. A power supply circuit according to claim 7, characterized in that, The discharge module further includes a second step-down circuit. The input terminal of the second step-down circuit is connected to the output terminal of the boost circuit. The input terminal of the second step-down circuit is also connected to the power supply. The output terminal of the second step-down circuit is connected to the main control module. The step-down circuit is used to step down the output voltage of the boost circuit or the power supply voltage to the voltage required by the main control module.
9. A power supply circuit according to claim 1, characterized in that, The energy storage module includes a supercapacitor, the positive terminal of which is connected to the output terminal of the charging module, and the negative terminal of which is grounded; or, the energy storage module includes at least two supercapacitors connected in series, the positive terminal of the first supercapacitor being connected to the output terminal of the charging module, and the negative terminal of the last supercapacitor being grounded.
10. An electrical appliance, characterized in that, Includes the power supply circuit as described in any one of claims 1 to 9.