Key detection reset circuit, battery protection board and mobile power supply
By using a combination circuit of components such as switching transistors and capacitors in the power bank, accurate detection and rapid reset of button status are achieved, solving the problems of complex circuit structure and slow response speed in the prior art, improving system stability and reducing cost.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHENZHEN HIGHPOWER TECH CO LTD
- Filing Date
- 2025-05-14
- Publication Date
- 2026-04-24
AI Technical Summary
Existing power bank button detection circuits are complex, costly, and have insufficient response speed, resulting in inadequate button detection accuracy and reset reliability, which affects system stability.
A reset branch consisting of switching transistors M1 and M2, capacitor C13, resistors R17 and R18, and diode D3, combined with resistor R20 and capacitor C14, enables accurate detection and rapid reset of the button state. The NMOS switching transistors and high-speed diodes are used to improve the detection and response speed of the circuit.
It improves the accuracy and stability of key detection, ensures fast and reliable system reset, reduces design and production costs, and facilitates circuit miniaturization and integration.
Smart Images

Figure CN224164815U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of lithium battery protection board technology, and in particular to a button detection and reset circuit, a battery protection board, and a power bank. Background Technology
[0002] In electronic devices, especially power banks, malfunctions are common during use, making the reset function a frequent and important feature. Traditional power banks typically have a reset circuit on their battery protection board, and some products also include a button detection circuit to detect button states. However, existing circuit designs are complex, costly to manufacture, and hinder miniaturization and integration. For example, the most common approach is to use a dedicated chip for button detection and reset; other designs disregard the accuracy and stability of button state detection, making the results susceptible to external interference and false triggers. Furthermore, existing reset circuits lack sufficient response speed to effectively and promptly reset the system.
[0003] Therefore, there is a need in the art for a key detection and reset circuit that can improve the accuracy of key detection and the reliability of reset, while having a simple structure.
[0004] The above information is provided as background information only to aid in understanding this disclosure and does not constitute an assertion or admission that any of the above content can be used as prior art relative to this disclosure. Utility Model Content
[0005] The purpose of this utility model is to provide a button detection and reset circuit, a battery protection board, and a power bank to solve or at least partially solve the technical problems existing in the prior art.
[0006] To achieve this objective, the present invention adopts the following technical solution:
[0007] In a first aspect, the present invention provides a key detection and reset circuit, including a key detection branch for detecting key state and a reset branch for outputting a predetermined reset signal when the key state is a pressed conduction state.
[0008] The button detection branch includes a switch transistor M1 and a resistor R20; the positive terminal of the switch transistor M1 is electrically connected to the negative terminal of the button, the control terminal of the switch transistor M1 is electrically connected to the first terminal of the resistor R20, and the second terminal of the resistor R20 and the negative terminal of the switch transistor M1 are both grounded; wherein, the positive terminal of the switch transistor M1 is set as the button status detection terminal; the positive terminal of the button is used to electrically connect to the drive power supply.
[0009] The reset branch includes a switch M2, a capacitor C13, a resistor R17, a resistor R18, and a diode D3. The first end of the resistor R17 is set as the reset signal output terminal for outputting the reset signal. The second end of the resistor R17 is electrically connected to the positive terminal of the switch M2. The control terminal of the switch M2 is electrically connected to the positive terminal of the capacitor C13, the positive terminal of the diode D3, and the first end of the resistor R18. The negative terminal of the capacitor C13 and the negative terminal of the switch M2 are both grounded. The negative terminal of the diode D3 and the second end of the resistor R18 are both electrically connected to the first end of the resistor R20.
[0010] When the button is in the pressed (conduction) state, both switch M1 and switch M2 are turned on; when the button is in the released (disconduction) state, both switch M1 and switch M2 are turned off or not turned on.
[0011] Optionally, the key detection branch further includes resistor R19, resistor R21, and capacitor C14;
[0012] The first end of resistor R21 is used to electrically connect to the driving power supply. The first end of resistor R19 is electrically connected to the negative terminal of the button. The second end of resistor R21 is electrically connected to the positive terminal of switch transistor M1. The second end of resistor R19 is electrically connected to the control terminal of switch transistor M1, the first end of resistor R20, and the positive terminal of capacitor C14. The negative terminal of capacitor C14 and the negative terminal of switch transistor M1 are both grounded.
[0013] Optionally, capacitor C13 is a 0.1 microfarad capacitor and capacitor C14 is a 2.2 microfarad capacitor; the driving power supply is a +3.3V DC power supply.
[0014] Optionally, when the button state switches from the pressed conducting state to the released or unpressed discontinuing state, diode D3 conducts, and capacitor C13 discharges through diode D3 and resistor R20, causing the control terminal potential of switch M2 to quickly return to a low level, thus turning off or preventing switch M2 from conducting.
[0015] Optionally, both switch M1 and switch M2 are NMOS switches;
[0016] When the button is in the pressed (conductive) state, both the button state detection terminal and the reset signal output terminal output a low-level signal; when the button is in the released (distracted) or not pressed (distracted) state, the button state detection terminal outputs a high-level signal.
[0017] Optionally, both switching transistors M1 and M2 are NMOS enhancement-type field-effect transistors of model 2N7002; diode D3 is a high-speed switching diode of model 1n4148W.
[0018] Secondly, this utility model also provides a battery protection board, which is provided with a reset button and a button detection and reset circuit, wherein the button detection and reset circuit adopts a button detection and reset circuit as described above.
[0019] Thirdly, this utility model also provides a mobile power supply, including a battery protection board, wherein the battery protection board adopts the battery protection board described above.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] This invention accurately detects button presses and releases using a switching transistor M1 and related electronic components such as resistors, ensuring the accuracy and stability of button detection. The combination of switching transistor M2, diode D3, and resistor R18 enables rapid and reliable reset operations, effectively resetting the system and ensuring its stability. Because the circuit uses common electronic components and has a simple and reliable structure, it reduces design and manufacturing costs compared to some existing complex circuit structures, while also facilitating miniaturization and integration.
[0022] This invention has other features and advantages that will be apparent from or will be set forth in detail in the accompanying drawings and the following detailed description, which together serve to explain the particular principles of this invention. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a circuit diagram of a key detection and reset circuit provided in an embodiment of this utility model. Detailed Implementation
[0025] To illustrate the possible application scenarios, technical principles, implementable specific solutions, and achievable objectives and effects of this application in detail, the following description, in conjunction with the listed specific embodiments and accompanying drawings, provides a detailed explanation. The embodiments described herein are merely illustrative of the technical solutions of this application and are therefore intended only as examples, not as limiting the scope of protection of this application.
[0026] In this document, the term "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The term "embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment, nor does it specifically limit its independence or connection with other embodiments. In principle, in this application, as long as there are no technical contradictions or conflicts, the technical features mentioned in each embodiment can be combined in any way to form corresponding implementable technical solutions.
[0027] Unless otherwise defined, the technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the use of related terms herein is merely for the purpose of describing particular embodiments and is not intended to limit this application.
[0028] In the description of this application, the term "and / or" is used to describe the logical relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A exists, B exists, and A and B exist simultaneously. Additionally, the character " / " in this document generally indicates that the preceding and following objects have an "or" logical relationship.
[0029] In this application, terms such as “first” and “second” are used only to distinguish one entity or operation from another, and do not necessarily require or imply any actual quantity, hierarchy or order between these entities or operations.
[0030] Unless otherwise specified, the use of terms such as “comprising,” “including,” “having,” or other similar expressions in this application is intended to cover non-exclusive inclusion, which does not exclude the presence of additional elements in a process, method, or product that includes the stated elements, such that a process, method, or product that includes a list of elements may include not only those defined elements but also other elements not expressly listed, or elements inherent to such a process, method, or product.
[0031] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than," "less than," and "exceeding" are understood to exclude the stated number; expressions such as "above," "below," and "within" are understood to include the stated number. Furthermore, in the description of the embodiments in this application, "multiple" means two or more (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups" and "multiple times," unless otherwise explicitly specified.
[0032] In the description of the embodiments of this application, the space-related expressions used, such as "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "vertical," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential," indicate the orientation or positional relationship based on the orientation or positional relationship shown in the specific embodiments or drawings. They are only for the purpose of describing the specific embodiments of this application or for the reader's understanding, and do not indicate or imply that the device or component referred to must have a specific position, a specific orientation, or be constructed or operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.
[0033] Unless otherwise expressly specified or limited, the terms "installation," "connection," "linking," "fixing," and "setting," as used in the description of the embodiments of this application, should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two components or the interaction between two components. For those skilled in the art to which this application pertains, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0034] Example 1:
[0035] Please see Figure 1 , Figure 1 This is a circuit diagram of a key detection and reset circuit provided in an embodiment of this utility model.
[0036] It should be noted that, for ease of explanation, in this embodiment, unless otherwise specified, "first end" generally refers to the upper or left end of the electronic component, and "second end" refers to the lower or right end of the electronic component.
[0037] like Figure 1 As shown, the key detection and reset circuit includes a key detection branch for detecting the key state and a reset branch for outputting a predetermined reset signal when the key state is a pressed on state.
[0038] The button detection branch includes a switch transistor M1 and a resistor R20; the positive terminal of the switch transistor M1 is electrically connected to the negative terminal of the button, the control terminal of the switch transistor M1 is electrically connected to the first terminal of the resistor R20, and the second terminal of the resistor R20 and the negative terminal of the switch transistor M1 are both grounded; the positive terminal of the switch transistor M1 is set as the button status detection terminal; the positive terminal of the button is used to electrically connect to the drive power supply.
[0039] The reset branch includes a switch M2, a capacitor C13, a resistor R17, a resistor R18, and a diode D3. The first terminal of the resistor R17 is set as the reset signal output terminal for outputting the reset signal. The second terminal of the resistor R17 is electrically connected to the positive terminal of the switch M2. The control terminal of the switch M2 is electrically connected to the positive terminal of the capacitor C13, the positive terminal of the diode D3, and the first terminal of the resistor R18. The negative terminal of the capacitor C13 and the negative terminal of the switch M2 are both grounded. The negative terminal of the diode D3 and the second terminal of the resistor R18 are both electrically connected to the first terminal of the resistor R20.
[0040] When the button is in the pressed (conduction) state, both switching transistors M1 and M2 are turned on; when the button is in the released (disconduction) state, both switching transistors M1 and M2 are turned off or not turned on.
[0041] Furthermore, the key detection branch also includes resistor R19, resistor R21, and capacitor C14;
[0042] The first end of resistor R21 is used to electrically connect to the drive power supply. The first end of resistor R19 is electrically connected to the negative terminal of the button. The second end of resistor R21 is electrically connected to the positive terminal of switch transistor M1. The second end of resistor R19 is electrically connected to the control terminal of switch transistor M1, the first end of resistor R20, and the positive terminal of capacitor C14. The negative terminal of capacitor C14 and the negative terminal of switch transistor M1 are both grounded.
[0043] Specifically, capacitor C13 has a capacitance of 0.1 microfarads, and capacitor C14 has a capacitance of 2.2 microfarads; the driving power supply is a +3.3V DC power supply.
[0044] For example, in this embodiment, the resistance of resistor R19 is 47KΩ, the resistance of resistor R20 is 4.7KΩ, the resistance of resistor R21 is 100KΩ, the resistance of resistor R18 is 4.7MΩ, both switching transistors M1 and M2 are 2N7002 NMOS enhancement-mode field-effect transistors, and diode D3 is a 1n4148W high-speed switching diode.
[0045] Specifically, when the button state changes from the pressed (conducting) state to the released (disconnected) state, diode D3 conducts, and capacitor C13 discharges through diode D3 and resistor R20, causing the control terminal potential of switch M2 to quickly return to a low level, thus turning off or preventing switch M2 from conducting.
[0046] In this embodiment, both switch M1 and switch M2 are NMOS switches;
[0047] When the button is in the pressed (conductive) state, both the button state detection terminal and the reset signal output terminal output a low-level signal; when the button is in the released (distracted) or not pressed (in the deactivated state), the button state detection terminal outputs a high-level signal.
[0048] It should be noted that in this embodiment, since both switch M1 and switch M2 are NMOS switches, the control terminals of switch M1 and switch M2 refer to the gates of the NMOS switches, the positive terminals of switch M1 and switch M2 are the drains of the NMOS switches, and the negative terminals of switch M1 and switch M2 are the sources of the NMOS switches.
[0049] For ease of understanding, the working principle of the key detection and reset circuit provided in this embodiment is as follows:
[0050] like Figure 1 As shown, when button K is not pressed, the gate of switch transistor M2 is connected to the negative terminal of button K through resistors R18 and R19. Figure 1 The gate potential of switch M2 is low at this time, and switch M2 is in the off state. The reset signal output terminal (K-pin) is also grounded through capacitor C13. Figure 1 The NRST pin remains high.
[0051] When button K is pressed, the gate potential of switch M2 is raised. When the gate potential of switch M2 is reached, switch M2 turns on, pulling the reset signal output low to achieve the system reset operation. After the button is released, diode D3 turns on, and capacitor C13 discharges through diode D3 and resistor R20, causing the gate potential of switch M2 to quickly return to a low level, turning switch M2 off, and the reset signal output returns to its original state (in this embodiment, the original state is a high level), waiting for the next reset operation.
[0052] In summary, this embodiment utilizes a 3.3V drive power supply to connect the buttons, driving MOSFETs (switching transistors M1 and M2) for button signal recognition and MCU reset of the battery protection board, thus realizing an adjustable reset time circuit. Through switching transistor M1 and related electronic components such as resistors, the button press and release actions can be accurately detected, ensuring the accuracy and stability of button detection. The combination of switching transistor M2, diode D3, and resistor R18 enables fast and reliable reset operations, effectively and promptly resetting the system and ensuring its operational stability. Since the circuit in this embodiment uses common electronic components and has a simple and reliable structure, it reduces design and manufacturing costs compared to some existing complex circuit structures, while also facilitating circuit miniaturization and integration.
[0053] Example 2:
[0054] This embodiment provides a battery protection board, which is provided with a reset button and a button detection and reset circuit. The button detection and reset circuit adopts a button detection and reset circuit as described above.
[0055] Based on the same concept, this utility model also provides a mobile power supply, including a battery protection board, wherein the battery protection board adopts the battery protection board described above.
[0056] Since Embodiment 1 has already described a key detection and reset circuit in detail, it will not be repeated in this embodiment.
[0057] It should be noted that this embodiment only provides a relatively detailed description of the technical solutions closely related to this embodiment. Although some related circuits are not described, they should not affect the implementation of the technical solutions of this embodiment by those skilled in the art. The implementation principle of these contents should be known through the circuits in the accompanying drawings or conventional technical means in the art, so they will not be described again in this embodiment.
[0058] The above-described embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model.
Claims
1. A key detection and reset circuit, characterized in that, It includes a key detection branch for detecting the key state and a reset branch for outputting a predetermined reset signal when the key state is a pressed on state; The button detection branch includes a switch transistor M1 and a resistor R20; the positive terminal of the switch transistor M1 is electrically connected to the negative terminal of the button, the control terminal of the switch transistor M1 is electrically connected to the first terminal of the resistor R20, and the second terminal of the resistor R20 and the negative terminal of the switch transistor M1 are both grounded; wherein, the positive terminal of the switch transistor M1 is set as the button status detection terminal; the positive terminal of the button is used to electrically connect to the drive power supply. The reset branch includes a switch M2, a capacitor C13, a resistor R17, a resistor R18, and a diode D3. The first end of the resistor R17 is set as the reset signal output terminal for outputting the reset signal. The second end of the resistor R17 is electrically connected to the positive terminal of the switch M2. The control terminal of the switch M2 is electrically connected to the positive terminal of the capacitor C13, the positive terminal of the diode D3, and the first end of the resistor R18. The negative terminal of the capacitor C13 and the negative terminal of the switch M2 are both grounded. The negative terminal of the diode D3 and the second end of the resistor R18 are both electrically connected to the first end of the resistor R20. When the button is in the pressed (conduction) state, both switch M1 and switch M2 are turned on; when the button is in the released (disconduction) state, both switch M1 and switch M2 are turned off or not turned on.
2. The key detection reset circuit according to claim 1, wherein The key detection branch also includes resistor R19, resistor R21 and capacitor C14; The first end of resistor R21 is used to electrically connect to the driving power supply. The first end of resistor R19 is electrically connected to the negative terminal of the button. The second end of resistor R21 is electrically connected to the positive terminal of switch transistor M1. The second end of resistor R19 is electrically connected to the control terminal of switch transistor M1, the first end of resistor R20, and the positive terminal of capacitor C14. The negative terminal of capacitor C14 and the negative terminal of switch transistor M1 are both grounded.
3. The key detection reset circuit according to claim 2, wherein Capacitor C13 has a capacitance of 0.1 microfarads, and capacitor C14 has a capacitance of 2.2 microfarads; the driving power supply is a +3.3V DC power supply.
4. The key detection reset circuit according to claim 2, wherein When the button state switches from the pressed (conducting) state to the released (disconnected) state, diode D3 conducts, and capacitor C13 discharges through diode D3 and resistor R20, causing the control terminal potential of switch M2 to quickly return to a low level, thus turning off or preventing switch M2 from conducting.
5. The key detection reset circuit according to claim 2, wherein Both switching transistors M1 and M2 are NMOS switching transistors; When the button is in the pressed (conductive) state, both the button state detection terminal and the reset signal output terminal output a low-level signal; when the button is in the released (distracted) or not pressed (distracted) state, the button state detection terminal outputs a high-level signal.
6. The key detection reset circuit according to claim 5, wherein Both switching transistors M1 and M2 are NMOS enhancement-mode field-effect transistors of model 2N7002; Diode D3 is a high-speed switching diode with model number 1n4148W.
7. A battery protection board, which is provided with a key for resetting and a key detection resetting circuit, characterized in that, The key detection and reset circuit adopts a key detection and reset circuit as described in any one of claims 1-6.
8. A mobile power source comprising a battery protection board, characterized in that, The battery protection board is the battery protection board described in claim 7.