Charging reset circuit and electronic equipment
By designing a charging reset circuit in electronic devices, the charging current is used to control the conduction and cutoff of the transistor, thereby resetting and restarting the main control chip. This solves the restart problem when the device crashes and maintains the device's waterproof and dustproof performance.
Patent Information
- Application Number
- CN202410922511.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-05
AI Technical Summary
When existing electronic devices freeze, it is difficult for users to restart them by removing the battery or by using a reset button, and these methods are not conducive to the device's waterproofing and dustproofing.
Design a charging reset circuit, including a charging power supply, a first capacitor, a current-limiting resistor, a pull-down resistor, a transistor, and a main control chip control circuit. The main control chip is reset and restarted by controlling the conduction and cutoff of the transistor through the charging current.
There is no need to set a reset button hole on the device; users can simply connect a power source to restart the device, protecting its waterproof and dustproof performance.
Smart Images

Figure CN118897612A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to a charging reset circuit and electronic equipment. Background Art
[0002] At present, with the development of mobile phones and other electronic devices becoming thinner and more integrated, it is difficult for users to disassemble power modules such as batteries. When an electronic device freezes or experiences abnormal conditions, users cannot power on and restart the electronic device by disassembling and installing the battery. Some electronic device manufacturers reserve a reset button on the electronic device, and users can restart the electronic device by long pressing the reset button.
[0003] However, whether the power supply module is disassembled or the reset button is reserved, it is not conducive to the waterproof and dustproof inside the electronic device. Therefore, a charging reset circuit is urgently needed. Summary of the invention
[0004] Based on this, it is necessary to provide a charging reset circuit and an electronic device to address the above technical problems.
[0005] In a first aspect, a charging reset circuit is provided, the circuit comprising a charging power supply, a first capacitor, a current limiting resistor, a pull-down resistor, a transistor and a main control chip control circuit; wherein,
[0006] The charging power source is connected to the first end of the first capacitor, the second end of the first capacitor is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the base of the transistor, the base of the transistor is connected to the first end of the pull-down resistor, the second end of the pull-down resistor is grounded, the emitter of the transistor is grounded, and the collector is connected to the main control chip control circuit;
[0007] In the case where the control circuit of the main control chip freezes, when the user connects to the charging power supply, the charging current passes through the first capacitor, the current limiting resistor and the pull-down resistor to the ground, and when the base voltage of the transistor reaches the turn-on voltage, the transistor is turned on, pulling down the connection terminal level of the control circuit of the main control chip, and the control circuit of the main control chip is switched to a reset state;
[0008] When the voltage value of the first capacitor reaches the voltage value of the charging power supply, the first capacitor stops charging, the base voltage of the transistor decreases, the transistor is cut off, the connection terminal level of the main control chip control circuit is pulled high, and the main control chip control circuit is switched to a working state.
[0009] As an optional implementation, the circuit also includes a discharge resistor; wherein, the first end of the discharge resistor is connected to the first end of the first capacitor, and the second end of the discharge resistor is grounded, which is used to reduce the discharge speed of the first capacitor to protect the first capacitor.
[0010] As an optional implementation manner, the charging reset duration of the main control chip control circuit is the duration from the start of charging to the stop of charging of the first capacitor.
[0011] As an optional implementation, the transistor is an NPN transistor.
[0012] As an optional implementation, the main control chip control circuit includes a first voltage stabilization enabling circuit and a first main control chip; wherein,
[0013] The enabling end of the first voltage stabilizing enabling circuit is connected to the collector of the transistor, and the output end is connected to the power supply pin of the first main control chip;
[0014] When the transistor is turned on, the level of the enable terminal of the first voltage stabilizing enabling circuit is pulled down, the output terminal of the first voltage stabilizing enabling circuit is cut off, and the first main control chip is powered off and switched to a reset state;
[0015] When the transistor is turned off, the level of the enable terminal of the first voltage stabilizing enabling circuit is raised, and a voltage is output to the first main control chip, and the first main control chip is powered on and starts working.
[0016] As an optional implementation, the first voltage stabilization enabling circuit includes a first lithium battery power source, a first pull-up resistor and a first voltage stabilization module; wherein,
[0017] The first end of the first pull-up resistor and the power supply pin of the first voltage stabilizing module are both connected to the first lithium battery power source, the enable pin of the first voltage stabilizing module is connected to the second end of the first pull-up resistor and the collector of the transistor, and the output pin of the first voltage stabilizing module is connected to the power supply pin of the first main control chip;
[0018] When the transistor is turned on, the enable pin level of the first voltage stabilizing module is pulled down, the output pin of the first voltage stabilizing module is cut off, and the first main control chip is powered off and switched to a reset state;
[0019] When the transistor is turned off, the first voltage stabilizing module is enabled to work under the pull-up enabling action of the first pull-up resistor, converts and stabilizes the voltage of the first lithium battery power source and outputs it to the first main control chip, and the first main control chip is powered on and works.
[0020] As an optional implementation, the main control chip control circuit includes a second voltage stabilization enabling circuit, a hardware reset circuit and a second main control chip; wherein,
[0021] The output end of the second voltage stabilizing enabling circuit is connected to the power supply pin of the second master control chip and the first end of the hardware reset circuit, the second end of the hardware reset circuit is connected to the reset pin of the second master control chip, the third end of the hardware reset circuit is grounded, and the reset pin of the second master control chip is connected to the collector of the transistor;
[0022] The second voltage stabilization enabling circuit is enabled to work and supply power to the second main control chip;
[0023] When the transistor is turned on, the reset pin level of the second master control chip is pulled down, and the second master control chip is switched to a reset state;
[0024] When the transistor is turned off, the hardware reset circuit pulls up the reset pin level of the second main control chip, and the second main control chip is powered on and starts working.
[0025] As an optional implementation, the second voltage stabilization enabling circuit includes a second lithium battery power source, a second pull-up resistor and a second voltage stabilization module; wherein,
[0026] The second lithium battery power source is connected to a first end of the second pull-up resistor and a power supply pin of the second voltage stabilizing module, and a second end thereof is connected to an enable pin of the second voltage stabilizing module;
[0027] The output pin of the second voltage stabilizing module is connected to the power supply pin of the second main control chip and the first end of the hardware reset circuit;
[0028] The second voltage stabilizing module is enabled to work under the pull-up enabling action of the second pull-up resistor, and the voltage of the second lithium battery power source is converted and stabilized and output to the second main control chip to supply power to the second main control chip.
[0029] As an optional implementation, the hardware reset circuit includes a third pull-up resistor and a second capacitor; wherein,
[0030] A first end of the third pull-up resistor is connected to the output pin of the second voltage stabilizing module, and a second end is connected to the reset pin of the second main control chip;
[0031] A first end of the second capacitor is connected to a reset pin of the second main control chip, and a second end thereof is grounded.
[0032] In a second aspect, an electronic device is provided, characterized in that the electronic device comprises a charging reset circuit as described in any one of the first aspects.
[0033] The present application provides a charging reset circuit and an electronic device. The technical solution provided by the embodiments of the present application brings at least the following beneficial effects: the circuit includes a charging power supply, a first capacitor, a current limiting resistor, a pull-down resistor, a transistor and a main control chip control circuit; wherein the charging power supply is connected to the first end of the first capacitor, the second end of the first capacitor is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the base of the transistor, the base of the transistor is connected to the first end of the pull-down resistor, the second end of the pull-down resistor is grounded, the emitter of the transistor is grounded, and the collector is connected to the main control chip control circuit; in the In the case of a crash of the main control chip control circuit, when the user connects to the charging power supply, the charging current passes through the first capacitor, the current limiting resistor and the pull-down resistor to the ground. When the base voltage of the transistor reaches the conduction voltage, the transistor is turned on, and the connection terminal level of the main control chip control circuit is pulled down, and the main control chip control circuit is switched to a reset state; when the voltage value of the first capacitor reaches the voltage value of the charging power supply, the first capacitor stops charging, the base voltage of the transistor is reduced, the transistor is cut off, the connection terminal level of the main control chip control circuit is pulled up, and the main control chip control circuit is switched to a working state. With the technical solution of the present application, the manufacturer does not need to set a reset button hole on the electronic device. When the electronic device crashes, the user does not need to remove the battery, but only needs to connect the charging power supply to the electronic device. During the charging process of the first capacitor, the base of the transistor generates a voltage. When the base voltage of the transistor reaches the conduction voltage, the transistor is turned on, and the connection terminal level of the main control chip control circuit is pulled down, so that the circuit where the main control chip is located is temporarily powered off, and the electronic device is reset. As the voltage value of the first capacitor increases, when it reaches the voltage value of the charging power supply, the first capacitor stops charging, the base voltage of the transistor decreases, the transistor is cut off, the connection end level of the main control chip control circuit is pulled high, the circuit where the main control chip is located resumes power supply and switches to the working state, thereby restarting the electronic device.
[0034] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A schematic diagram of the structure of a charging reset circuit provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of the structure of another charging reset circuit provided in an embodiment of the present application;
[0038] Figure 3 A schematic diagram of the structure of another charging reset circuit provided in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of the structure of another charging reset circuit provided in an embodiment of the present application;
[0040] Figure 5 A schematic diagram of the structure of another charging reset circuit provided in an embodiment of the present application;
[0041] Figure 6 A schematic diagram of the structure of another charging reset circuit provided in an embodiment of the present application;
[0042] Figure 7 A schematic diagram of the structure of another charging reset circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] The following will describe in detail a charging reset circuit provided by an embodiment of the present application in combination with a specific implementation method. Figure 1 A schematic diagram of a charging reset circuit provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the circuit includes a charging power supply V in , a first capacitor C1, a current limiting resistor R1, a pull-down resistor R2, a transistor Q1 and a main control chip control circuit 110; wherein,
[0045] Charging power supply V in The first end of the first capacitor C1 is connected, the second end of the first capacitor C1 is connected to the first end of the current limiting resistor R1, the second end of the current limiting resistor R1 is connected to the base of the transistor Q1, the base of the transistor Q1 is connected to the first end of the pull-down resistor R2, the second end of the pull-down resistor R2 is grounded, the emitter of the transistor Q1 is grounded, and the collector is connected to the main control chip control circuit 110;
[0046] In the case that the main control chip control circuit 110 is dead, when the user connects to the charging power source V inWhen the charging current passes through the first capacitor C1, the current limiting resistor R1 and the pull-down resistor R2 to the ground, when the base voltage of the transistor Q1 reaches the turn-on voltage, the transistor Q1 is turned on, pulling down the connection terminal level of the main control chip control circuit 110, and the main control chip control circuit 110 is switched to the reset state;
[0047] When the voltage value of the first capacitor reaches the charging power supply V in When the voltage value reaches , the first capacitor C1 stops charging, the base voltage of the transistor Q1 decreases, the transistor Q1 is turned off, the connection terminal level of the main control chip control circuit 110 is pulled high, and the main control chip control circuit 110 is switched to the working state.
[0048] In practice, if the electronic device is connected to a charging power source V during normal operation in Since the first capacitor C1 blocks direct current and conducts alternating current, the charging power source V in The current cannot pass through the first capacitor C1, there is no voltage at the current limiting resistor R1, the base voltage of the transistor Q1 is pulled down by the pull-down resistor R2, the transistor Q1 is not turned on, and the normal working state of the main control chip control circuit 110 is not affected. When the main control chip control circuit 110 of the electronic device freezes and does not work, the user can disconnect the power again and reconnect the charging power supply V in The first capacitor C1 is charged in a manner. At the beginning, the charging current flows through the first capacitor C1, the current limiting resistor R1 and the pull-down resistor R2 in sequence and finally reaches the ground GND. A voltage is generated at the base of the transistor Q1. When the voltage of the base reaches the BE conduction voltage of the transistor Q1, the transistor Q1 is turned on, and the connection terminal level of the main control chip control circuit 110 is pulled down. The main control chip control circuit 110 is switched to a reset state, and the electronic device is powered off. As the first capacitor C1 is charged, the voltage value of the first capacitor C1 gradually increases. When it reaches the charging power supply V in When the voltage value reaches , the first capacitor C1 stops charging, the charging circuit is disconnected, the base voltage of the transistor Q1 is set low, the base and emitter of the transistor Q1 are not conducting, and the transistor Q1 is cut off. The connection terminal level of the main control chip control circuit 110 is pulled high, and the main control chip control circuit 110 is switched to the working state again, completing the reset and restart of the electronic device.
[0049] As an optional implementation, Figure 2 A schematic diagram of another charging reset circuit provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the circuit also includes a discharge resistor R3; wherein a first end of the discharge resistor R3 is connected to a first end of the first capacitor C1, and a second end of the discharge resistor R3 is grounded, for reducing a discharge speed of the first capacitor C1 to protect the first capacitor C1.
[0050] As an optional implementation, the charging reset time length of the main control chip control circuit 110 is the duration from the start of charging to the stop of charging of the first capacitor C1.
[0051] In practice, technicians can in The capacitance value of the first capacitor C1 is set according to the voltage value to control the charging time of the first capacitor C1, and the charging reset time is further set according to the duration from the start of charging to the stop of charging of the first capacitor C1, so as to avoid the charging reset time being too long during actual use, which affects the user experience.
[0052] As an optional implementation, the transistor Q1 is an NPN transistor.
[0053] As an optional implementation, the main control chip control circuit 110 includes a first voltage stabilization enabling circuit 1101 and a first main control chip U 11 ;in,
[0054] The enable terminal of the first voltage stabilization enabling circuit 1101 is connected to the collector of the transistor Q1, and the output terminal is connected to the first main control chip U 11 The power supply pin VDD;
[0055] When the transistor Q1 is turned on, the enable terminal level of the first voltage stabilizing enabling circuit 1101 is pulled down, the output terminal of the first voltage stabilizing enabling circuit 1101 is cut off, and the first main control chip U 11 Power off and switch to reset state;
[0056] When the transistor Q1 is turned off, the enable terminal level of the first voltage stabilizing enabling circuit 110 is raised, and the first main control chip U 11 Output voltage, first main control chip U 11 Power on and work.
[0057] In implementation, Figure 3 A schematic diagram of a charging reset circuit according to another embodiment of the present application is shown in FIG. Figure 3 As shown, the first voltage stabilization enabling circuit 1101 is a first main control chip U 11 Provide voltage, because the first main control chip U 11 There is no reset pin, so the first main control chip U can be controlled by controlling the cut-off and on of the output voltage of the first voltage stabilization enabling circuit 1101. 11 Reset, further, when the transistor Q1 is turned on, the enable terminal level of the first voltage stabilizing enabling circuit 1101 is pulled down, the output terminal of the first voltage stabilizing enabling circuit 1101 is cut off, and the first main control chip U 11 When the transistor Q1 is turned off, the enable terminal level of the first voltage stabilizing enabling circuit 110 is raised, and the first main control chip U 11Output voltage, first main control chip U 11 Power on and work.
[0058] As an optional implementation, the first voltage stabilization enabling circuit 1101 includes a first lithium battery power source V bat1 , a first pull-up resistor R4 and a first voltage stabilizing module U 12 ;in,
[0059] The first end of the first pull-up resistor R4 and the first voltage stabilizing module U 12 The power supply pin VIN is connected to the first lithium battery power supply V bat1 , the first voltage stabilizing module U 12 The enable pin EN is connected to the second end of the first pull-up resistor R4 and the collector of the transistor Q1, and the first voltage stabilizing module U 12 The output pin VOUT is connected to the first master chip U 11 The power supply pin VDD;
[0060] When transistor Q1 is turned on, the first voltage regulator module U 12 The enable pin EN level of the first voltage regulator module U 12 The output pin VOUT of the first master chip U 11 Power off and switch to reset state;
[0061] When the transistor Q1 is turned off, the first voltage stabilizing module U 12 The first pull-up resistor R4 is used to pull the first lithium battery power source V bat1 The voltage is converted and stabilized and output to the first main control chip U 11 , the first main control chip U 11 Power on and work.
[0062] In implementation, Figure 4 A schematic diagram of a charging reset circuit according to another embodiment of the present application is shown in FIG. Figure 4 As shown, when the transistor Q1 is turned on, the first voltage stabilizing module U 12 The enable pin EN is grounded, the level is pulled low, and the first voltage regulator module U 12 Output cut-off, the first main control chip U 11 The power supply VDD is disconnected, realizing the first master chip U 11 When transistor Q1 is turned off, the first voltage regulator module U 12 The first pull-up resistor R4 is used to pull the first lithium battery power source V bat1 The voltage is converted and stabilized and output to the first main control chip U 11 The VDD pin is used to supply the first master chip U 11 Power supply, first main control chip U 11Normal power-on operation, control of each I / O.
[0063] Optional, such as Figure 4 As shown, when the electronic device is working normally, there are two situations. One is that the electronic device is connected to the charging power supply V in At this time, due to the AC-isolating and DC-isolating properties of the first capacitor C1, the charging power source V in The current cannot pass through the first capacitor C1, there is no voltage at the current limiting resistor R1, and the base voltage of the transistor Q1 is pulled down by the pull-down resistor R2, the transistor Q1 is not turned on, and the first voltage stabilizing module U 12 The first pull-up resistor R4 is enabled to work, and the first lithium battery power source V bat1 The voltage is converted and stabilized and output to the first main control chip U 11 Power supply, first main control chip U 11 Normal power-on operation, control of various I / O. Another situation is that the electronic device is not connected to the charging power supply V in Working under the condition, the first lithium battery power supply V bat1 The base of transistor Q1 is at a low level, and transistor Q1 is in the cut-off state. Then the first voltage stabilizing module U 12 Normal operation, the first main control chip U 11 Normal power supply operation, that is, the charging reset circuit of the present application does not affect the normal operation of the electronic device. 11 If the device freezes and does not work, you can reconnect the charging power supply V in The electronic device is reset and restarted in this way. When the charging power source V in When the first capacitor C1 is charged, the charging current loop is the charging power supply V in To the first capacitor C1, the first capacitor C1 to the current limiting resistor R1, the current limiting resistor R1 to the pull-down resistor R2 and then to the ground GND, at this time, a voltage is generated at the base of the transistor Q1, and when the voltage reaches the transistor conduction voltage, the transistor Q1 is turned on, and the first voltage stabilizing module U 12 The enable pin EN level is pulled low, and the first voltage regulator module U 12 Output cut-off, the first main control chip U 11 The power supply VDD is disconnected, and the system is powered off; when the first capacitor C1 is charged to a voltage value of the charging power supply V in When the voltage is high, the first capacitor C1 stops charging, the charging circuit is disconnected, the base voltage of the transistor Q1 is set low, the emitter and base of the transistor Q1 are not conducting, and the transistor Q1 is turned off, and the first voltage stabilizing module U 12 The enable pin EN of the first voltage regulator module U is enabled at a high level under the action of the first pull-up resistor R4. 12 Restart and output VDD to the first main control chip U 11The power supply works, and the system is powered on again. The first main control chip U 11 Power off reset successful.
[0064] As an optional implementation, the main control chip control circuit 110 includes a second voltage stabilization enabling circuit 1102, a hardware reset circuit 1103 and a second main control chip U 21 ;in,
[0065] The output end of the second voltage stabilization enabling circuit 1102 is connected to the second main control chip U 21 The power supply pin VDD and the first end of the hardware reset circuit 1103, the second end of the hardware reset circuit 1103 is connected to the second main control chip U 21 The reset pin RST of the hardware reset circuit 1103 is grounded, and the third terminal of the second main control chip U 21 The reset pin RST is connected to the collector of transistor Q1;
[0066] The second voltage stabilization enabling circuit 1102 is enabled to work, and the second main control chip U 21 powered by;
[0067] When transistor Q1 is turned on, the second main control chip U is pulled down 21 The reset pin RST level of the second master chip U 21 Switch to reset state;
[0068] When the transistor Q1 is turned off, the hardware reset circuit 1103 pulls up the second main control chip U 21 The reset pin level of the second master chip U 21 Power on and work.
[0069] In implementation, Figure 5 A schematic diagram of a charging reset circuit according to another embodiment of the present application is shown in FIG. Figure 5 As shown, the second voltage stabilization enabling circuit 1102 is a second main control chip U 21 Power supply, due to the second main control chip U 21 With a reset pin, the second main control chip U can be controlled by transistor Q1 21 When transistor Q1 is turned on, the second main control chip U 21 The reset pin RST is grounded, the level is pulled low, and the second master chip U 21 When transistor Q1 is turned off, the hardware reset circuit 1103 pulls up the second main control chip U 21 The reset pin level of the second master chip U 21 Power on and work.
[0070] As an optional implementation, the second voltage stabilization enabling circuit 1102 includes a second lithium battery power source Vbat2 , the second pull-up resistor R5 and the second voltage stabilizing module U 22 ;in,
[0071] Second lithium battery power supply V bat2 Connect the first end of the second pull-up resistor R5 to the second voltage stabilizing module U 22 The second end is connected to the second voltage regulator module U 22 The enable pin EN;
[0072] The second voltage regulator module U 22 The output pin VOUT is connected to the second master chip U 21 The power supply pin VDD and the first end of the hardware reset circuit 1103;
[0073] The second voltage regulator module U 22 The second pull-up resistor R5 is enabled to work, and the second lithium battery power source V bat2 The voltage is converted and stabilized and output to the second main control chip U 21 , is the second main control chip U 21 powered by.
[0074] In implementation, Figure 6 A schematic diagram of a charging reset circuit according to another embodiment of the present application is shown in FIG. Figure 6 As shown, the second voltage stabilizing module U 22 The enable pin EN is connected to the second lithium battery power source V through the second pull-up resistor R5. bat2 The second pull-up resistor R5 pulls up the second voltage regulator module U 22 The level of the enable pin EN of the second voltage regulator module U 22 To enable operation, connect the second lithium battery power source V bat2 Convert the regulated output voltage to the second main control chip U 21 powered by.
[0075] As an optional implementation, the hardware reset circuit 1103 includes a third pull-up resistor R6 and a second capacitor C2; wherein,
[0076] The first end of the third pull-up resistor R6 is connected to the second voltage stabilizing module U 22 The second end is connected to the second main control chip U 21 Reset pin RST;
[0077] The first end of the second capacitor C2 is connected to the second main control chip U 21 The reset pin RST of the device is connected to the ground.
[0078] In implementation, Figure 7 A schematic diagram of a charging reset circuit according to another embodiment of the present application is shown in FIG. Figure 7As shown, the hardware reset circuit 1103 relies on the charging process of the second capacitor C2 and the current limiting effect of the third pull-up resistor R6. When the system is powered on, the second capacitor C2 starts to charge. Due to the nature that the capacitor voltage cannot suddenly change, the second main control chip U 21 The reset pin RST will appear high level.
[0079] Optional, such as Figure 7 As shown, when the electronic device is working normally, there are also two situations. One is that the electronic device is connected to the charging power supply V in At this time, due to the AC-isolating and DC-isolating properties of the first capacitor C1, the charging power source V in The current cannot pass through the first capacitor C1, there is no voltage at the current limiting resistor R1, and the base voltage of the transistor Q1 is pulled down by the pull-down resistor R2, the transistor Q1 is not turned on, and the second main control chip U 21 The reset pin RST of the second master chip U is kept at a high level under the pull-up enable of the third pull-up resistor R6. 21 Normal power-on operation, control of various I / O. Another situation is that the electronic device is not connected to the charging power supply V in When working, the base of transistor Q1 is at a low level, transistor Q1 is in the cut-off state, and the second main control chip U 21 The reset pin RST of the second master chip U is kept at a high level under the pull-up enable of the third pull-up resistor R6. 21 Normal power-on operation. That is, the charging reset circuit of the present application does not affect the normal operation of the electronic device. 21 If the device freezes and does not work, you can reconnect the charging power supply V in The electronic device is reset and restarted in this way. When the charging power source V in When the first capacitor C1 is charged, the charging current loop is the charging power supply V in To the first capacitor C1, the first capacitor C1 to the current limiting resistor R1, the current limiting resistor R1 to the pull-down resistor R2 and then to the ground GND, at this time, a voltage is generated at the base of the transistor Q1. When the voltage reaches the transistor conduction voltage, the transistor Q1 is turned on, and the second main control chip U 21 The reset pin RST level is pulled low, and the second master chip U 21 Reset. When the first capacitor C1 is charged to a voltage value of the charging power supply V in When the voltage is low, the first capacitor C1 stops charging, the charging circuit is disconnected, the base voltage of the transistor Q1 is low, the emitter and base of the transistor Q1 are not conducting, and the transistor Q1 is turned off, and the second main control chip U 21 The reset pin RST of the second main control chip U is pulled high again under the action of the hardware reset circuit 1103 composed of the third pull-up resistor R6 and the second capacitor C2. 21It works normally again and the electronic equipment is restarted.
[0080] The present invention provides a charging reset circuit, which includes a charging power source V in , a first capacitor C1, a current limiting resistor R1, a pull-down resistor R2, a transistor Q1 and a main control chip control circuit 110; wherein the charging power source V in The first end of the first capacitor C1 is connected, the second end of the first capacitor C1 is connected to the first end of the current limiting resistor R1, the second end of the current limiting resistor R1 is connected to the base of the transistor Q1, the base of the transistor Q1 is connected to the first end of the pull-down resistor R2, the second end of the pull-down resistor R2 is grounded, the emitter of the transistor Q1 is grounded, and the collector is connected to the main control chip control circuit 110; in the case that the main control chip control circuit 110 crashes, when the user connects to the charging power supply V in When the charging current passes through the first capacitor C1, the current limiting resistor R1 and the pull-down resistor R2 to the ground, when the base voltage of the transistor Q1 reaches the turn-on voltage, the transistor Q1 is turned on, pulling down the connection terminal level of the main control chip control circuit 110, and the main control chip control circuit 110 is switched to the reset state; when the voltage value of the first capacitor C1 reaches the charging power supply V in When the voltage value reaches , the first capacitor C1 stops charging, the base voltage of the transistor Q1 decreases, the transistor Q1 is turned off, the connection terminal level of the main control chip control circuit 110 is pulled high, and the main control chip control circuit 110 switches to the working state. By adopting the technical solution of the embodiment of the present application, the manufacturer does not need to set a reset button hole on the electronic device. When the electronic device freezes, the user does not need to remove the battery, but only needs to connect the charging power supply V in When connected to an electronic device, during the charging process of the first capacitor C1, a voltage is generated at the base of the transistor Q1. When the base voltage of the transistor Q1 reaches the conduction voltage, the transistor Q1 is turned on, pulling down the connection terminal level of the main control chip control circuit 110, thereby temporarily powering off the circuit where the main control chip is located and resetting the electronic device. As the voltage value of the first capacitor increases, when it reaches the charging power supply V in When the voltage value reaches , the first capacitor C1 stops charging, the base voltage of the transistor Q1 decreases, the transistor Q1 is turned off, the connection terminal level of the main control chip control circuit 110 is pulled high, the circuit where the main control chip is located resumes power supply and switches to the working state, thereby restarting the electronic device.
[0081] It should be understood that although Figures 1 to 7 The steps in the figure are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figures 1 to 7At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0082] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0083] An embodiment of the present application further provides an electronic device, the electronic device comprising the charging reset circuit described in the first aspect.
[0084] For the specific definition of the electronic device, please refer to the definition of the charging reset circuit above, which will not be repeated here. Each module in the above charging reset circuit can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0085] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0086] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0087] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0088] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0089] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0090] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A charging reset circuit, characterized in that: The circuit includes a charging power supply, a first capacitor, a current limiting resistor, a pull-down resistor, a transistor and a main control chip control circuit; wherein, The charging power source is connected to the first end of the first capacitor, the second end of the first capacitor is connected to the first end of the current limiting resistor, the second end of the current limiting resistor is connected to the base of the transistor, the base of the transistor is connected to the first end of the pull-down resistor, the second end of the pull-down resistor is grounded, the emitter of the transistor is grounded, and the collector is connected to the main control chip control circuit; In the case where the control circuit of the main control chip freezes, when the user connects to the charging power supply, the charging current passes through the first capacitor, the current limiting resistor and the pull-down resistor to the ground, and when the base voltage of the transistor reaches the turn-on voltage, the transistor is turned on, pulling down the connection terminal level of the control circuit of the main control chip, and the control circuit of the main control chip is switched to a reset state; When the voltage value of the first capacitor reaches the voltage value of the charging power supply, the first capacitor stops charging, the base voltage of the transistor decreases, the transistor is cut off, the connection terminal level of the main control chip control circuit is pulled high, and the main control chip control circuit is switched to a working state.
2. The circuit according to claim 1, characterized in that The circuit also includes a discharge resistor, wherein a first end of the discharge resistor is connected to a first end of the first capacitor, and a second end of the discharge resistor is grounded, for reducing a discharge speed of the first capacitor to protect the first capacitor.
3. The reset circuit according to claim 2, characterized in that: The charging reset duration of the main control chip control circuit is the duration from the start of charging to the stop of charging of the first capacitor.
4. The circuit according to claim 1, characterized in that The transistor is an NPN transistor.
5. The circuit according to claim 1, characterized in that The main control chip control circuit includes a first voltage stabilization enabling circuit and a first main control chip; wherein, The enabling end of the first voltage stabilizing enabling circuit is connected to the collector of the transistor, and the output end is connected to the power supply pin of the first main control chip; When the transistor is turned on, the level of the enable terminal of the first voltage stabilizing enabling circuit is pulled down, the output terminal of the first voltage stabilizing enabling circuit is cut off, and the first main control chip is powered off and switched to a reset state; When the transistor is turned off, the level of the enable terminal of the first voltage stabilizing enabling circuit is raised, and a voltage is output to the first main control chip, and the first main control chip is powered on and starts working.
6. The circuit according to claim 5, characterized in that The first voltage stabilization enabling circuit includes a first lithium battery power source, a first pull-up resistor and a first voltage stabilization module; wherein, The first end of the first pull-up resistor and the power supply pin of the first voltage stabilizing module are both connected to the first lithium battery power source, the enable pin of the first voltage stabilizing module is connected to the second end of the first pull-up resistor and the collector of the transistor, and the output pin of the first voltage stabilizing module is connected to the power supply pin of the first main control chip; When the transistor is turned on, the enable pin level of the first voltage stabilizing module is pulled down, the output pin of the first voltage stabilizing module is cut off, and the first main control chip is powered off and switched to a reset state; When the transistor is turned off, the first voltage stabilizing module is enabled to work under the pull-up enabling action of the first pull-up resistor, converts and stabilizes the voltage of the first lithium battery power source and outputs it to the first main control chip, and the first main control chip is powered on and works.
7. The circuit according to claim 1, characterized in that The main control chip control circuit includes a second voltage stabilization enabling circuit, a hardware reset circuit and a second main control chip; wherein, The output end of the second voltage stabilizing enabling circuit is connected to the power supply pin of the second master control chip and the first end of the hardware reset circuit, the second end of the hardware reset circuit is connected to the reset pin of the second master control chip, the third end of the hardware reset circuit is grounded, and the reset pin of the second master control chip is connected to the collector of the transistor; The second voltage stabilization enabling circuit is enabled to work and supply power to the second main control chip; When the transistor is turned on, the reset pin level of the second master control chip is pulled down, and the second master control chip is switched to a reset state; When the transistor is turned off, the hardware reset circuit pulls up the reset pin level of the second main control chip, and the second main control chip is powered on and starts working.
8. The circuit according to claim 7, characterized in that The second voltage stabilization enabling circuit includes a second lithium battery power source, a second pull-up resistor and a second voltage stabilization module; wherein, The second lithium battery power source is connected to a first end of the second pull-up resistor and a power supply pin of the second voltage stabilizing module, and a second end thereof is connected to an enable pin of the second voltage stabilizing module; The output pin of the second voltage stabilizing module is connected to the power supply pin of the second main control chip and the first end of the hardware reset circuit; The second voltage stabilizing module is enabled to work under the pull-up enabling action of the second pull-up resistor, and the voltage of the second lithium battery power source is converted and stabilized and output to the second main control chip to supply power to the second main control chip.
9. The circuit according to claim 8, characterized in that The hardware reset circuit includes a third pull-up resistor and a second capacitor; wherein, A first end of the third pull-up resistor is connected to the output pin of the second voltage stabilizing module, and a second end is connected to the reset pin of the second main control chip; A first end of the second capacitor is connected to a reset pin of the second main control chip, and a second end thereof is grounded.
10. An electronic device, characterized in that: The electronic device comprises the charge reset circuit as claimed in claims 1 to 9.
Citation Information
Patent Citations
Watchdog circuit for monitoring device for fault traveling wave of high-voltage transmission line
CN102866931A
A reset circuit and bluetooth headset for bluetooth headset
CN206908785U
Charging reset circuit of discrete component combination
CN217789651U
Cited By
Current-limiting protection device and method for digital power supply
CN120433148A
Current limiting protection device and method for digital power supply
CN120433148B
