Power supply circuit with restarting function, charging restarting method and fingerprint water cup circuit system
By designing a power supply circuit with a restart function and using a voltage detection chip to control the state of the switching module, the fingerprint water cup circuit system can be restarted after power failure and power-on. This solves the problem of the fingerprint water cup circuit system being unusable when malfunctioning, improves the stability and reliability of the product, and simplifies the system circuit and reduces costs.
Patent Information
- Application Number
- CN202511474953.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-15
- Publication Date
- 2026-02-10
AI Technical Summary
The existing fingerprint water bottle circuit system lacks a restart mechanism in case of failure, resulting in the inability to open and prolonged unusability, causing inconvenience to users.
Design a power supply circuit with restart function, including a voltage detection chip, a battery power supply switch module, a system circuit discharge switch module, and a charging switch module. The voltage detection chip controls the switching states of the charging switch module and the system circuit discharge switch module to realize the power-off and charging restart of the system.
This technology enables the power-on restart of the fingerprint water cup circuit system, resolving abnormal states such as "frozen" conditions, improving the stability and reliability of the product, and reducing the complexity and cost of the system circuit.
Smart Images

Figure CN121508083A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fingerprint water cup technology, and in particular to a power supply circuit with a restart function, a charging restart method, and a fingerprint water cup circuit system. Background Technology
[0002] Currently, the fingerprint water bottle circuit system mainly consists of a charging interface, charging module, main control MCU chip, tri-color LED light, motor drive circuit, and fingerprint sensor. Circuit systems with Bluetooth functionality require an additional Bluetooth chip. Application control primarily relies on the fingerprint sensor's recognition function. For example, to enter the fingerprint enrollment mode, you need to press and hold your finger for approximately 10 seconds until the LED light illuminates white, indicating that enrollment is complete. Fingerprint water bottles with Bluetooth functionality can also connect to a smartphone via Bluetooth to add, delete, and view fingerprint unlock logs.
[0003] The fingerprint water bottle's circuit system has a limited control interface. When the fingerprint sensor is not working or the Bluetooth connection fails, there is no effective way to restore these functions. Currently, fingerprint water bottles on the market lack a fault recovery mechanism; users can only hope to restore the fingerprint and Bluetooth functions after the battery is completely drained, the bottle is turned off, charged, and then turned on again. This technical limitation prevents the water bottle from opening and renders it unusable for extended periods, causing significant inconvenience to users. Summary of the Invention
[0004] The purpose of this invention is to provide a power supply circuit with a restart function, a charging restart method, and a fingerprint water cup circuit system, to solve the technical problem that existing fingerprint water cups lack a restart mechanism, resulting in the water cup being unable to be opened and unusable for extended periods. The various technical effects of the preferred solutions among the many technical solutions provided by this invention are detailed below.
[0005] To achieve the above objectives, the present invention provides the following technical solution: This invention provides a power supply circuit with a restart function for supplying power to one or more system circuits equipped with driver chips. The circuit includes a voltage detection chip, a battery power supply switch module, a system circuit discharge switch module, a charging switch module, and a driver chip power supply switch module. The voltage detection chip is connected to the battery power supply switch module, the system circuit discharge switch module, and the charging switch module. The system circuit discharge switch module is connected to the main control chip of the system circuit. The driver chip power supply switch module is connected to the battery power supply switch module, the charging switch module, and the system circuit discharge switch module. The voltage detection chip, the charging switch module, and the driver chip power supply switch module are all connected to a charging circuit.
[0006] The charging switch module is also connected to the main control chip and is used to control the charging switch module to start supplying power to the main control chip through the voltage detection chip. When the voltage detection chip starts the charging circuit to supply power through the charging switch module, the battery is charged through the main control chip.
[0007] When the charging circuit is connected to the charging power supply for charging, within a set time, the voltage detection chip controls the battery power supply switch module and the charging switch module to stop supplying power to the system circuit; at the same time, the voltage detection chip controls the system circuit discharge switch module to discharge the residual charge in the system circuit, so that its voltage becomes 0V within a set time.
[0008] In one or more embodiments, the battery-powered switch module includes a first MOSFET Q1, a first diode D1, a first capacitor C1, a first connector CN1, a first resistor R1, and a second resistor R2; the gate of the first MOSFET Q1 is connected to pin 2 of the voltage detection chip through the first diode D1 and the first resistor R1 connected in series, and its gate is also grounded through the second resistor R2, and its source is connected to pin 2 of the first connector CN1; pin 2 of the first connector CN1 serves as the battery power output terminal and is grounded through the first capacitor C1.
[0009] In one or more embodiments, the system circuit discharge switch module includes a transistor Q4, a second diode D2, a third resistor R3, a fourth resistor R4, and a fifth resistor R5; the base of transistor Q4 is connected to pin 2 of the voltage detection chip through the second diode D2 and the third resistor R3 connected in series, and its base is also grounded through the fourth resistor R4, and its emitter is grounded; the collector of transistor Q4 is connected to the main control chip through the fifth resistor R5.
[0010] In one or more embodiments, the power supply switch module of the driver chip includes a second MOSFET Q2, a sixth resistor R6, and a seventh resistor R7; the gate of the second MOSFET Q2 is connected between the series-connected sixth resistor R6 and seventh resistor R7, the sixth resistor R6 is connected to the emitter of transistor Q4 and the fourth resistor R4, and one end of the seventh resistor R7 is connected to the output terminal of the charging circuit; the drain of the second MOSFET Q2 is connected to the drain of the first MOSFET Q1, and the source of the second MOSFET Q2 serves as the common power supply output terminal.
[0011] In one or more embodiments, the charging switch module includes a third MOSFET Q3, a third diode D3, a fourth diode D4, an eighth resistor R8, and a ninth resistor R9. The gate of the third MOSFET Q3 is connected to pin 2 of the voltage detection chip through the third diode D3 and the eighth resistor R8 connected in series. Its gate is also grounded through the ninth resistor R9. Its drain is connected to the positive terminal of the fourth diode D4, and its source is connected to the output terminal of the charging circuit. The negative terminal of the fourth diode D4 is connected to the source of the second MOSFET Q2 and the common terminal of the power supply output. A receiving terminal for receiving the charging power output from the main control chip is provided between the drain of the third MOSFET Q3 and the fourth diode D4. The received charging power is transmitted to the battery connected to the battery power supply switch module through the fourth diode D4 and the source of the second MOSFET Q2, and the battery is charged by the main control chip.
[0012] In one or more embodiments, the charging circuit includes a second connector CN2, an overvoltage protection chip U2, a fifth diode D5, a sixth diode D6, a tenth resistor R10, a second capacitor C2, and a third capacitor C3. Pin 2 of the second connector CN2 is connected to the positive terminal of the sixth diode D6, and the negative terminal of the sixth diode D6 is connected to pin 1 of the overvoltage protection chip U2. One end of the tenth resistor R10 is connected to pin 3 of the overvoltage protection chip U2, and the other end serves as the output terminal of the charging circuit. The positive terminal of the fifth diode D5 is grounded to pin 1 of the second connector CN2, and its negative terminal is connected between the second connector CN2 and the sixth diode D6. One plate of the second capacitor C2 is connected between the sixth diode D6 and the overvoltage protection chip U2, and the other plate is grounded. One plate of the third capacitor C3 is connected between the overvoltage protection chip U1 and the tenth resistor R10, and the other plate is grounded. USB power input terminals are respectively provided between the second connector CN2 and the sixth diode D6, and between the sixth diode D6 and the overvoltage protection chip U2.
[0013] As a shared inventive concept, the present invention also provides a charging restart method, based on the power supply circuit with restart function described above, comprising the following steps: The charging circuit provides the first voltage VIN to the power supply circuit with restart function; The voltage at pin 3 of the voltage detection chip changes from 0V to the first voltage VIN; pin 2 of the voltage detection chip changes from low level to high level, and after a set time, pin 2 of the voltage detection chip changes from high level to low level. When pin 2 of the voltage detection chip is at a high level, the voltage detection chip controls the switch of the battery power supply module to turn off, stopping the battery power supply; the voltage detection chip controls the switch of the charging switch module to turn off, stopping the charging circuit power supply; at the same time, the voltage detection chip controls the switch of the system circuit discharge switch module to close, discharging the system circuit through the system circuit discharge switch module, so that the voltage in the system circuit drops to 0V. When pin 2 of the voltage detection chip is at a low level, the switch of the battery power supply switch module of the voltage detection chip is closed, starting the battery power supply; the voltage detection chip controls the switch of the charging switch module to close, starting the charging circuit power supply; at the same time, the voltage detection chip controls the system circuit discharge switch module to turn off.
[0014] In one or more embodiments, when the voltage at pin 3 of the voltage detection chip is the first voltage VIN, the switch of the power supply switch module of the driver chip is turned off, the power supply to the driver chip through the battery is turned off, the power supply to the driver chip is turned off by the charging circuit, and the battery is charged through the main control chip.
[0015] As a shared inventive concept, the present invention also provides a fingerprint water cup circuit system, including a power supply circuit with a restart function as described above, which implements the charging restart method described in the previous article through the power supply circuit with the restart function, and also includes a fingerprint sensing chip, a motor drive chip, an LED light and a Bluetooth antenna, all connected to the main control chip; wherein, the main control chip is an MCU with Bluetooth function.
[0016] In one or more embodiments, the charging circuit is connected to the power supply circuit with restart function through the charging switch module, providing power to the power supply circuit with restart function; the battery is connected to the power supply circuit with restart function through the battery power supply switch module, providing power to the power supply circuit with restart function; the power supply circuit with restart function is connected to the main control chip through the charging switch module, providing power to the main control chip; the power supply circuit with restart function can also receive the charging power output by the main control chip, and then transmit the charging power to the battery to charge the battery.
[0017] Implementing one of the above-described technical solutions of the present invention has the following advantages or beneficial effects: This invention enables the power-on restart of the fingerprint water bottle circuit system through a power supply circuit with a restart function and a corresponding charging restart method, thus handling abnormal states such as "frozen" fingerprint water bottles. It offers advantages such as high stability and improved product reliability. Simultaneously, during charging, the system is primarily powered by the charging circuit, shortening the battery charging time. The main control chip includes Bluetooth and battery charging functions, reducing the need for separate Bluetooth and battery charging chips, simplifying the system circuitry and reducing product costs. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings: Figure 1 This is a circuit structure diagram of a power supply circuit with a restart function according to an embodiment of the present invention; Figure 2 This is a circuit structure diagram of a charging circuit according to an embodiment of the present invention; Figure 3 This is a flowchart of a charging restart method based on a power supply circuit with restart function according to an embodiment of the present invention; Figure 4 This is a block diagram of a fingerprint water cup circuit system according to an embodiment of the present invention; Figure 5 This is a structural diagram of a main control chip according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of a fingerprint sensor chip according to an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a motor driver chip according to an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of an LED lamp chip according to an embodiment of the present invention.
[0019] In the picture: 1. Voltage detection chip; 2. Battery power supply switch module; 3. System circuit discharge switch module; 4. Charging switch module; 5. Driver chip power supply switch module. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the present invention clearer, various exemplary embodiments described below will be referenced to the accompanying drawings, which form part of the exemplary embodiments, illustrating various exemplary embodiments that may be used to implement the present invention. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. It should be understood that they are merely examples of processes, methods, and apparatuses consistent with some aspects of the present invention disclosed as detailed in the appended claims, and other embodiments may be used, or structural and functional modifications may be made to the embodiments listed herein without departing from the scope and spirit of the present invention.
[0021] In the description of this invention, the term "multiple" means two or more. The terms "connected" and "linked" should be interpreted broadly, for example, they can refer to fixed connections, detachable connections, integral connections, mechanical connections, electrical connections, communication connections, direct connections, indirect connections via an intermediate medium, or connections within two components or interactions between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0022] To illustrate the technical solution described in this invention, specific embodiments are described below, showing only the parts related to the embodiments of this invention.
[0023] Example 1: As Figure 1 As shown, this embodiment provides a power supply circuit with a restart function, used to supply power to one or more system circuits. The system circuits include a driver chip, and the power supply circuit with the restart function includes a voltage detection chip 1. Figure 1 The system comprises: U1, battery power supply switch module 2, system circuit discharge switch module 3, charging switch module 4, and driver chip power supply switch module 5. Voltage detection chip 1 is connected to battery power supply switch module 2, system circuit discharge switch module 3, and charging switch module 4. System circuit discharge switch module 3 is connected to the main control chip of the system circuit via the VBAT connection port. Driver chip power supply switch module 5 is connected to battery power supply switch module 2, system circuit discharge switch module 3, and charging switch module 4. Voltage detection chip 1, charging switch module 4, and driver chip power supply switch module 5 are all connected to a charging circuit.
[0024] Based on the above embodiments, the battery power supply switch module 2 is provided with a battery power supply input terminal V_BAT, which, under the control of the voltage detection chip 1, connects to the battery to provide power to the power supply circuit with restart function. The charging switch module 4 and the driver chip power supply switch module 5 are provided with a common power supply output terminal VBAT_IN. Specifically, under the control of the voltage detection chip 1, the battery power supply switch module 2 receives the input voltage of the battery, which is transmitted to the driver chip (such as a motor driver chip) through the common power supply output terminal VBAT_IN via the battery power supply switch module 2 and the driver chip power supply switch module 5, thereby enabling power supply to different driver chips through the battery. On the other hand, when the battery is in a charging state, under the control of the voltage detection chip 1, the charging switch module 4 connects to the charging circuit, and the voltage VIN of the charging circuit is transmitted to the driver chip (such as a motor driver chip) through the charging switch module 4 via the common power supply output terminal VBAT_IN, thereby enabling power supply to different driver chips through the charging circuit.
[0025] Based on the above embodiments, the main control chip is connected to the charging switch module 4 (connected to the main control chip through the receiving terminal LDO_IN described below), and the charging switch module 4 controls the voltage detection chip 1 to supply power to the main control chip. When the voltage detection chip 1 starts the charging circuit to supply power through the charging switch module 4, the battery is charged through the main control chip.
[0026] Furthermore, when the charging circuit is connected to a charging power source for charging, within a set time (e.g., 150ms), the voltage detection chip 1 controls the battery power supply switch module 2 and the charging switch module 4 to turn off, stopping the external (system circuit) power supply. Simultaneously, it controls the system circuit discharge switch module 3 to close, discharging any residual charge (such as the charge stored in a capacitor) within the system circuit, causing the system circuit voltage to quickly (e.g., within the set time) drop to 0V. After the set time (e.g., 150ms), the voltage detection chip 1 controls the battery power supply switch module 2 and the charging switch module 4 to close, and the system circuit discharge switch module 3 to turn off. This completes a rapid charging restart, implementing a power supply circuit restart mechanism that can be widely applied in other device circuits using non-replaceable or inconveniently removable batteries and without a power-off switch.
[0027] It is understood that the above-mentioned systems include, but are not limited to, fingerprint water cup circuit systems.
[0028] In a specific example, the voltage detection chip 1 can be an SGM810B.
[0029] In one or more embodiments, the battery-powered switch module 2 includes a first MOSFET Q1, a first diode D1, a first capacitor C1, a first connector CN1, a first resistor R1, and a second resistor R2. Specifically, the gate of the first MOSFET Q1 is connected to pin 2 of the voltage detection chip 1 via the first diode D1 and the first resistor R1 in series, and its gate is also grounded via the second resistor R2; the drain of the first MOSFET Q1 is connected to the drain of another first MOSFET Q1 (see below), and its source is connected to pin 2 of the first connector CN1. Pin 2 of the first connector CN1 serves as the input for battery power supply, receiving the battery's input voltage, and is grounded via the first capacitor C1.
[0030] Furthermore, pin 2 of voltage detection chip 1 is connected to the anode of the first diode D1, and the cathode of the first diode D1 is connected to one end of the first resistor R1; the first resistor R1 and the second resistor R2 are connected in series, and one end of the second resistor R2 is grounded. The gate of the first MOSFET Q1 is connected between the first resistor R1 and the second resistor R2. Pin 1 of voltage detection chip 1 is grounded.
[0031] It is understandable that the battery-powered switch module 2 provides a bias voltage to the first MOSFET Q1 through the change in the high and low level of pin 2 of the voltage detection chip 1, as well as the first diode D1 and the first resistor R1 connected in series, thereby realizing the switching function of the first MOSFET Q1.
[0032] In one or more embodiments, the system circuit discharge switch module 3 includes a transistor Q4, a second diode D2, a third resistor R3, a fourth resistor R4, and a fifth resistor R5. Specifically, the base of transistor Q4 is connected to pin 2 of voltage detection chip 1 through the second diode D2 and the third resistor R3 connected in series. Its base is also grounded through the fourth resistor R4, its emitter is grounded, and its collector is connected to the main control chip through the fifth resistor R5 and the connection terminal VBAT.
[0033] Furthermore, the positive terminal of the second diode D2 is connected to pin 2 of the voltage detection chip 1, and its negative terminal is connected to one end of the third resistor R3. The base of the transistor Q4 is connected between the third resistor R3 and the fourth resistor R4 connected in series, and one end of the fourth resistor R4 is grounded.
[0034] It is understandable that the second diode D2 and the third resistor R3 connected in series provide the voltage required for forward and reverse bias of the transistor Q4, thereby realizing the switching function.
[0035] Furthermore, the system circuit discharge switch module 3 discharges the system circuit through the fifth resistor R5.
[0036] In one or more embodiments, the power supply switch module 5 of the driver chip includes a second MOSFET Q2, a sixth resistor R6, and a seventh resistor R7. The gate of the second MOSFET Q2 is connected between the series-connected sixth resistor R6 and seventh resistor R7. The sixth resistor R6 is connected to the emitter of transistor Q4 and a fourth resistor R4. One end of the seventh resistor R7 is connected to the output terminal of the charging circuit. The drain of the second MOSFET Q2 is connected to the output terminal of the battery through a first MOSFET Q1 (connected to the drain of the first MOSFET Q1), and its source serves as a common power supply output terminal, outputting voltage to the outside.
[0037] It is understandable that the power supply output common terminal can supply power to the driver chip, which includes, but is not limited to, motor driver chips.
[0038] In one or more embodiments, the charging switch module 4 includes a third MOSFET Q3, a third diode D3, a fourth diode D4, an eighth resistor R8, and a ninth resistor R9. The gate of the third MOSFET Q3 is connected to pin 2 of the voltage detection chip 1 via the third diode D3 and the eighth resistor R8 connected in series. Its gate is also grounded via the ninth resistor R9. Its drain is connected to the anode of the fourth diode D4, and its source is connected to the output terminal of the charging circuit. The cathode of the fourth diode D4 is connected to the source of the second MOSFET Q2 and the common power supply output terminal. A receiving terminal LDO_IN for receiving charging power input from the main control chip is located between the drain of the third MOSFET Q3 and the fourth diode D4. The received charging power is transmitted to the battery via pin 10 of the main control chip (see embodiment 3), through the fourth diode D4, the second MOSFET Q2, and then through the first MOSFET Q1 to charge the battery.
[0039] like Figure 2 As shown, in one or more embodiments, the charging circuit includes a second connector CN2, an overvoltage protection chip U2, a fifth diode D5, a sixth diode D6, a tenth resistor R10, a second capacitor C2, and a third capacitor C3. Specifically, pin 2 of the second connector CN2 is connected to the positive terminal of the sixth diode D6, and the negative terminal of the sixth diode D6 is connected to pin 1 of the overvoltage protection chip U2. One end of the tenth resistor R10 is connected to pin 3 of the overvoltage protection chip U2, and the other end serves as the output terminal of the charging circuit, outputting voltage VIN. The positive terminal of the fifth diode D5 is grounded to pin 1 of the second connector CN2, and its negative terminal is connected between the second connector CN2 and the sixth diode D6. One plate of the second capacitor C2 is connected between the sixth diode D6 and the overvoltage protection chip U2, and the other plate is grounded. One plate of the third capacitor C3 is connected between the overvoltage protection chip U1 and the tenth resistor R10, and the other plate is grounded. USB power input terminals are respectively provided between the second connector CN2 and the sixth diode D6, and between the sixth diode D6 and the overvoltage protection chip U2. V_USB is the power supply network connected to the charger; USB_5V is the power supply network connected after passing through the diode.
[0040] Example 2: Figure 3 As shown, following the same inventive concept, this embodiment provides a charging restart method, based on the power supply circuit with restart function described in Embodiment 1, including the following steps: S100, the charging circuit provides the first voltage VIN (e.g., 5V) to the power supply circuit with restart function.
[0041] S200: The voltage at pin 3 of the voltage detection chip changes from 0V to the first voltage VIN; pin 2 of the voltage detection chip changes from low level to high level, and after a set time (e.g., 150ms), pin 2 of the voltage detection chip changes from high level to low level.
[0042] It should be noted that the voltage detection chip is model SGM810B, and its pin 3 is the power supply pin VCC, and its key pin 3 is the reset pin.
[0043] When pin 2 of the S300 voltage detection chip is at a high level, the voltage detection chip controls the battery power supply switch module to turn off, stopping battery power supply; the voltage detection chip controls the charging switch module to turn off, stopping charging circuit power supply; at the same time, the voltage detection chip controls the system circuit discharge switch module to close, discharging the system circuit (such as the charge stored in the capacitor) through the system circuit discharge switch module, causing the voltage in the system circuit to drop to 0V.
[0044] Specifically, when the RESET pin is high, the first MOSFET Q1 of the battery power supply switch module turns off the battery's power supply to the system. The third MOSFET Q3 of the charging switch module turns off the voltage VIN output by the charging circuit to supply power to the system. At the same time, the RESET pin controls the transistor Q4 of the system circuit discharge switch module to close, releasing the charge of the system circuit through the discharge resistor of the system circuit discharge switch module, causing the voltage of the system circuit to drop rapidly to 0V.
[0045] It should be noted that when the first MOSFET Q1 is turned off, Figure 1 The VBAT terminal in the middle corresponds to the voltage in the system circuit.
[0046] When pin 2 of the S400 voltage detection chip is at a low level, the battery power supply switch module of the voltage detection chip closes, starting battery power supply; the voltage detection chip controls the charging switch module to close, starting charging circuit power supply; at the same time, the voltage detection chip controls the system circuit discharge switch module to turn off.
[0047] Specifically, when the RESET pin is low, the first MOSFET Q1 of the battery power supply switch module closes to supply power to the system from the battery. The third MOSFET Q3 of the charging switch module closes to supply power to the system from the voltage VIN output by the charging circuit. At the same time, the RESET pin controls the transistor Q4 of the system circuit discharge switch module to turn off.
[0048] The process from step S100 to step S400 achieves a system power outage and power-on restart.
[0049] Furthermore, when the voltage at pin 3 of the voltage detection chip is the first voltage VIN, the second MOS transistor Q2 of the power supply switch module 5 of the driver chip is turned off, the power supply to the driver chip through the battery is turned off, and the power supply is supplied by the charging circuit. The battery is charged through the main control chip.
[0050] The power supply circuit with restart function in this embodiment is the same as that in Embodiment 1, as described in Embodiment 1 for details.
[0051] Example 3: Figure 3 As shown, with the same inventive concept, this embodiment provides a fingerprint water cup circuit system, including a power supply circuit with a restart function as described in Embodiment 1, which implements the charging and restarting method of the power supply circuit with a restart function as described in Embodiment 2, and also includes a fingerprint sensor chip, a motor drive chip, an LED light and a Bluetooth antenna, all connected to the main control chip U3.
[0052] Furthermore, the charging circuit is connected to the power supply circuit with restart function through the charging switch module, providing power to the power supply circuit with restart function; the battery is connected to the power supply circuit with restart function through the battery power supply switch module, providing power to the power supply circuit with restart function; the power supply circuit with restart function is connected to the main control chip U3 through the charging switch module, providing power to the main control chip U3, and the power supply circuit with restart function can also receive the charging power output by the main control chip U3, and then transmit the charging power to the battery to charge the battery.
[0053] In this specific example, the main control chip U3 is an MCU with Bluetooth functionality, including both Bluetooth and battery charging capabilities. This reduces the need for Bluetooth ICs and battery charging chips, simplifying the system circuitry and lowering product costs. Its model number can be BLM32FD2P.
[0054] like Figure 5 and Figure 1 As shown, pin 9 of the main control chip U3 is connected to the receiving terminal LDO_IN of the charging switch module, and pin 10 is used to connect to the system circuit discharge switch module 3 through the connection terminal VBAT.
[0055] like Figures 5 to 8 As shown, the main control chip U3 communicates with the fingerprint sensor via the SPI interface. Specifically, pins 5, 6, 7, and 8 of the main control chip U3 are connected to pins 1, 5, 2, and 3 of the fingerprint sensor chip U4, respectively.
[0056] The main control chip U3 controls the motor drive chip through two PWM function I / O ports to control the motor rotation. Specifically, pins 21 and 22 of the main control chip U3 are connected to pins 3 and 4 of the motor drive chip U5, respectively.
[0057] The main control chip U3 controls the on / off state of a tri-color LED through three I / O pins. Specifically, pins 28, 26, and 25 of the main control chip U3 are connected to pins 1, 2, and 4 of the LED chip U6, respectively.
[0058] The BT_RF interface (pin 16) of the main control chip U3 is connected to the Bluetooth antenna BT_ANT for transmitting and receiving wireless data.
[0059] In summary, this embodiment utilizes a power supply circuit with a restart function to achieve power-on and power-off restart of the fingerprint water cup circuit system, thus addressing abnormal states such as "frozen" fingerprint water cups. Furthermore, in daily use, powering off and restarting the fingerprint water cup circuit system each time it is charged improves product stability. This fingerprint water cup circuit system boasts high stability and enhances product reliability.
[0060] Meanwhile, during charging, the power supply circuit primarily powers the system via the charging circuit power supply, shortening the battery's full charge time. The main control MCU chip, BLM32FD2P, includes Bluetooth and battery charging functions, reducing the need for Bluetooth ICs and battery charging chips, thus simplifying the system circuitry and reducing product costs.
[0061] The above description is merely a preferred embodiment of the present invention. Those skilled in the art will understand that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of the present invention. Furthermore, under the teachings of the present invention, these features and embodiments can be modified to adapt to specific situations and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are within the protection scope of the present invention.
Claims
1. A power supply circuit with a restart function, characterized in that, This device is used to supply power to one or more system circuits equipped with driver chips, including a voltage detection chip, a battery power supply switch module, a system circuit discharge switch module, a charging switch module, and a driver chip power supply switch module. The voltage detection chip is connected to the battery power supply switch module, the system circuit discharge switch module, and the charging switch module. The system circuit discharge switch module is connected to the main control chip of the system circuit. The driver chip power supply switch module is connected to the battery power supply switch module, the charging switch module, and the system circuit discharge switch module. The voltage detection chip, the charging switch module, and the driver chip power supply switch module are all connected to a charging circuit. The charging switch module is also connected to the main control chip and is used to control the charging switch module to start supplying power to the main control chip through the voltage detection chip. When the voltage detection chip starts the charging circuit to supply power through the charging switch module, the battery is charged through the main control chip. When the charging circuit is connected to the charging power supply for charging, within a set time, the voltage detection chip controls the battery power supply switch module and the charging switch module to stop supplying power to the system circuit; at the same time, the voltage detection chip controls the system circuit discharge switch module to discharge the residual charge in the system circuit, so that its voltage becomes 0V within a set time.
2. The power supply circuit with restart function according to claim 1, characterized in that, The battery-powered switch module includes a first MOSFET Q1, a first diode D1, a first capacitor C1, a first connector CN1, a first resistor R1, and a second resistor R2; The gate of the first MOSFET Q1 is connected to pin 2 of the voltage detection chip through a series connection of the first diode D1 and the first resistor R1. Its gate is also grounded through the second resistor R2, and its source is connected to pin 2 of the first connector CN1. Pin 2 of the first connector CN1 serves as the battery power output terminal and is grounded through the first capacitor C1.
3. A power supply circuit with a restart function according to claim 2, characterized in that, The system circuit discharge switch module includes transistor Q4, second diode D2, third resistor R3, fourth resistor R4, and fifth resistor R5; The base of transistor Q4 is connected to pin 2 of the voltage detection chip through a second diode D2 and a third resistor R3 connected in series. Its base is also grounded through a fourth resistor R4, its emitter is grounded, and its collector is connected to the main control chip through a fifth resistor R5.
4. A power supply circuit with a restart function according to claim 3, characterized in that, The power supply switch module for the driver chip includes a second MOSFET Q2, a sixth resistor R6, and a seventh resistor R7; The gate of the second MOSFET Q2 is connected between the sixth resistor R6 and the seventh resistor R7 in series. The sixth resistor R6 is connected to the emitter of the transistor Q4 and the fourth resistor R4. One end of the seventh resistor R7 is connected to the output terminal of the charging circuit. The drain of the second MOSFET Q2 is connected to the drain of the first MOSFET Q1, and the source of the second MOSFET Q2 serves as the common terminal for power supply output.
5. A power supply circuit with a restart function according to claim 4, characterized in that, The charging switch module includes a third MOSFET Q3, a third diode D3, a fourth diode D4, an eighth resistor R8, and a ninth resistor R9; The gate of the third MOSFET Q3 is connected to pin 2 of the voltage detection chip through the third diode D3 and the eighth resistor R8 connected in series. Its gate is also grounded through the ninth resistor R9. Its drain is connected to the positive terminal of the fourth diode D4, and its source is connected to the output terminal of the charging circuit. The negative terminal of the fourth diode D4 is connected to the source of the second MOSFET Q2 and the common terminal of the power supply output. A receiving terminal for receiving the charging power output from the main control chip is provided between the drain of the third MOSFET Q3 and the fourth diode D4. The received charging power is transmitted to the battery connected to the battery power supply switch module through the fourth diode D4 and the source of the second MOSFET Q2, and the battery is charged by the main control chip.
6. A power supply circuit with a restart function according to claim 1, characterized in that, The charging circuit includes a second connector CN2, an overvoltage protection chip U2, a fifth diode D5, a sixth diode D6, a tenth resistor R10, a second capacitor C2, and a third capacitor C3; Pin 2 of the second connector CN2 is connected to the positive terminal of the sixth diode D6, and the negative terminal of the sixth diode D6 is connected to pin 1 of the overvoltage protection chip U2. One end of the tenth resistor R10 is connected to pin 3 of the overvoltage protection chip U2, and the other end serves as the output terminal of the charging circuit. The positive terminal of the fifth diode D5 is grounded to pin 1 of the second connector CN2, and its negative terminal is connected between the second connector CN2 and the sixth diode D6. One plate of the second capacitor C2 is connected between the sixth diode D6 and the overvoltage protection chip U2, and the other plate is grounded. One plate of the third capacitor C3 is connected between the overvoltage protection chip U1 and the tenth resistor R10, and the other plate is grounded. USB power input terminals are respectively provided between the second connector CN2 and the sixth diode D6, and between the sixth diode D6 and the overvoltage protection chip U2.
7. A charging and restarting method, characterized in that, The power supply circuit with restart function according to any one of claims 1-6 includes the following steps: The charging circuit provides the first voltage VIN to the power supply circuit with restart function; The voltage at pin 3 of the voltage detection chip changes from 0V to the first voltage VIN; pin 2 of the voltage detection chip changes from low level to high level, and after a set time, pin 2 of the voltage detection chip changes from high level to low level. When pin 2 of the voltage detection chip is at a high level, the voltage detection chip controls the switch of the battery power supply module to turn off, stopping the battery power supply; the voltage detection chip controls the switch of the charging switch module to turn off, stopping the charging circuit power supply; at the same time, the voltage detection chip controls the switch of the system circuit discharge switch module to close, discharging the system circuit through the system circuit discharge switch module, so that the voltage in the system circuit drops to 0V. When pin 2 of the voltage detection chip is at a low level, the switch of the battery power supply switch module of the voltage detection chip is closed, starting the battery power supply; the voltage detection chip controls the switch of the charging switch module to close, starting the charging circuit power supply; at the same time, the voltage detection chip controls the system circuit discharge switch module to turn off.
8. The charging restart method according to claim 7, characterized in that, When the voltage at pin 3 of the voltage detection chip is the first voltage VIN, the switch of the power supply switch module of the driver chip is turned off, and the power supply to the driver chip is turned off by the battery. The power supply is provided by the charging circuit, and the battery is charged by the main control chip.
9. A fingerprint water cup circuit system, characterized in that, The device includes a power supply circuit with a restart function as described in any one of claims 1-8, which implements the charging restart method described in claim 7. It also includes a fingerprint sensor chip, a motor drive chip, an LED light, and a Bluetooth antenna, all of which are connected to the main control chip. The main control chip is an MCU with Bluetooth function.
10. A fingerprint water cup circuit system according to claim 9, characterized in that, The charging circuit is connected to the power supply circuit with restart function through the charging switch module, providing power to the power supply circuit with restart function; the battery is connected to the power supply circuit with restart function through the battery power supply switch module, providing power to the power supply circuit with restart function; the power supply circuit with restart function is connected to the main control chip through the charging switch module, providing power to the main control chip; the power supply circuit with restart function can also receive the charging power output from the main control chip, and then transmit the charging power to the battery to charge the battery.