Reset circuit and electronic equipment comprising same
By designing a reset circuit, using the operation of the first control switch K2 to trigger reset under normal and abnormal conditions of the MCU, the problem of uncontrollable reset circuit failure and reset time in the prior art is solved, and convenient product reset and controllable reset time are achieved.
Patent Information
- Application Number
- CN202420142872.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2034-01-19
AI Technical Summary
When the main control chip fails or power is powered off, the reset circuit fails, resulting in the user having to disassemble the device or re-plug and unplug the battery to achieve reset, and the reset time is uncontrollable.
A reset circuit is designed, including a reset start unit, a reset main control unit, a reset secondary control unit and a reset unit. Through the pressing or long-closing operation of the first control switch K2, the reset operation is triggered under normal and abnormal conditions of the MCU to ensure that the product can be reset controllable.
It realizes reset without disassembling the equipment or re-plugging the battery when the main control chip fails or is powered off. The reset time is controlled through the combination of timing capacitors and resistors.
Smart Images

Figure CN222655160U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of embedded systems, and in particular to a reset circuit and an electronic device comprising the reset circuit. Background Art
[0002] In existing game controllers, the reset circuit is usually built into the main control chip (MCU) to improve integration and reduce overall manufacturing costs. However, when the main control chip (MCU) fails or loses power, the reset circuit also fails, causing users to tediously disassemble the game controller and re-insert the battery to achieve reset.
[0003] To solve this problem, existing game controllers have a convenient reset hole on the main body. Users can trigger the reset operation by inserting a reset pin into the reset hole without disassembling the device or re-inserting the battery. Although this design simplifies the reset process, there is also the problem that users cannot find the reset pin, making the reset still inconvenient.
[0004] Furthermore, the reset time of the reset circuit built into the main control chip (MCU) is usually uncontrollable. Because the reset circuit of the MCU is usually part of the hardware design, its operating characteristics are limited by the design and specifications of the chip manufacturer. The reset circuit may be designed to have a default reset time, which may be limited by the physical limitations of the chip's internal circuits, and in order to ensure reliable reset under abnormal conditions, the manufacturer may adopt a more conservative design, resulting in uncontrollable reset time. Utility Model Content
[0005] In order to ensure that an effective reset operation can be performed when a main control chip fails or loses power, the present application provides a reset circuit and an electronic device including the reset circuit.
[0006] On the one hand, the present application provides a reset circuit, which adopts the following technical solution:
[0007] A reset circuit comprises a reset start unit, a reset main control unit, a reset sub-control unit and a reset unit, wherein the reset main control unit is used to reset a product when the MCU is normal, and the reset sub-control unit is used to reset the product when the MCU is abnormal;
[0008] The input end of the reset start unit is used to be connected to a power supply, the output end of the reset start unit is connected to the output end of the reset main control unit, and the output end of the reset main control unit is connected to the input end of the reset unit, and is used to control the reset unit to output a low level signal to reset the product;
[0009] The output end of the reset sub-control unit is connected to the input end of the reset unit, and is used to control the reset unit to output a low-level signal to reset the product;
[0010] The reset start unit includes a first control switch K2, the input end of the first control switch K2 is connected to the input end of the reset start unit, the output end of the first control switch K2 is provided with a reset signal output end, the reset main control unit includes a master reset signal receiving end, the reset signal output end is connected to the MCU, and is used to send a master reset signal to the MCU when the first control switch K2 is turned on, and when the MCU does not have an abnormality, after receiving the master reset signal, a low-level signal is sent to the master reset signal receiving end to start the reset function of the reset main control unit, and the input end of the reset secondary control unit is connected to the reset signal output end, and is used to receive a high-level signal sent by the reset signal output end when the first control switch K2 is in a normally closed state, so as to start the reset secondary control unit.
[0011] By adopting the above technical solution, when the user wants to reset the product, he presses the first control switch K2. If there is no abnormality in the MCU, the MCU will send a low-level signal to the main reset signal receiving end of the reset main control unit. When the reset main control unit receives the low-level signal, the reset main control unit will start the reset function to drive the output end of the reset unit to output a low-level signal, so that the product will shut down.
[0012] When an abnormality occurs in the MCU and the product does not shut down after pressing the first control switch K2, long press the first control switch K2. After the first control switch K2 is in the normally closed state, the reset signal output end continuously sends a high-level signal, and the input end of the reset control unit is started after receiving the high-level signal to drive the output end of the reset unit to output a low-level signal, so that the product shuts down.
[0013] In summary, when the main control chip (MCU) fails or loses power, the present application only needs to close the first control switch K2 for a long time to achieve product reset, avoiding the need for users to tediously disassemble the game controller and re-insert the battery to achieve reset. At the same time, the first control switch K2 can be a press switch, which further facilitates users to achieve product reset.
[0014] Exemplarily, the reset unit includes a first reset module and a second reset module, the second reset module includes a first input end and a second input end, the output end of the first reset module is connected to the first input end of the second reset module, the output end of the reset main control unit is connected to the input end of the first reset module, and the output end of the reset secondary control unit is connected to the second input end of the second reset module.
[0015] By adopting the above technical solution, when the MCU is normal, the first control switch K2 is closed, the reset main control unit starts the reset function, drives the first reset module to send a low-level signal, and further causes the second reset module to also send a low-level signal. When the MCU is abnormal, the signal received at the input end of the reset main control unit is still a high-level signal and will not become a low-level signal. At this time, the first reset module and the second reset module are still sending high-level signals, and the product cannot be turned off. The first control switch K2 is long pressed to start the reset secondary control unit. The reset secondary control unit drives the second reset module to send a low-level signal to turn off the product.
[0016] Exemplarily, the first reset module includes a first master reset switch Q7, a second master reset switch Q3, a first master reset resistor R19, a second master reset resistor R9 and a third master reset resistor R8, and the first master reset switch Q7 and the second master reset switch Q3 each include a control end, a first connection end and a second connection end;
[0017] One end of the first master reset resistor R19 is connected to the output end of the first reset module, and the other end is connected to the control end of the first master reset switch Q7; one end of the second master reset resistor R9 is connected to the second connection end of the first master reset switch Q7, and the other end is connected to the control end of the second master reset switch Q3; the first connection end of the first master reset switch Q7 is grounded;
[0018] One end of the third master reset resistor R8 is connected to the power supply, and the other end is connected to the control end of the second master reset switch Q3; the first connection end of the second master reset switch Q3 is connected to the power supply, and the second connection end is connected to the output end of the first reset module;
[0019] The second master reset switch Q3 is turned on when the control end receives a low level signal, and is turned off when a high level signal is received. The first master reset switch Q7 is turned on when the control end receives a high level signal, and is turned off when a low level signal is received.
[0020] By adopting the above technical solution, when there is no need to reset the product, the output voltage of the reset start unit is 0, the master reset signal receiving end of the reset main control unit receives the high level signal sent by the MCU, the reset main control unit sends a high level signal to the first reset module, and turns on the first master reset switch Q7. After the first master reset switch Q7 is turned on, the level of the control end of the second master reset switch Q3 becomes a low level, the second master reset switch Q3 is also turned on, and the first reset module outputs a high level signal.
[0021] When the product needs to be reset and the MCU is normal, press the first control switch K2, the master reset signal receiving end of the reset main control unit receives the low level signal sent by the MCU, the reset main control unit sends a low level signal to the first reset module, the control end of the first master reset switch Q7 is turned off after receiving the low level signal, the level of the control end of the second master reset switch Q3 is pulled high, the second master reset switch Q3 outputs a low level signal, and after the second reset module receives the low level signal sent by the first reset module, it sends a low level signal to the product, and the product shuts down.
[0022] Exemplarily, the reset main control unit includes a main control diode D27 and a main control resistor R46, the positive end of the main control diode D27 is the main reset signal receiving end, one end of the main control resistor R46 is connected to the negative end of the main control diode, and the other end is connected to the output end of the reset start unit.
[0023] By adopting the above technical solution, the positive end of the main control diode D27 is the main reset signal receiving end. It is turned on when a high-level signal is received, so that the signal output by the reset main control unit is a high-level signal. It is turned off when a low-level signal is received, so that the signal output by the reset main control unit is a low-level signal.
[0024] Exemplarily, the second reset module includes a reset diode D28, a first reset resistor R71, a second reset resistor R73, a third reset resistor R118, and a first reset switch Q17, a second reset switch Q18;
[0025] One end of the first reset resistor R71 is connected to the first input end of the second reset module, and the other end is connected to the positive terminal of the reset diode D28;
[0026] The first reset switch Q17 and the second reset switch Q18 both include a control end, a first connection end, and a second connection end. One end of the second reset resistor R73 is connected to the first input end of the second reset module, and the other end is connected to the control end of the first reset switch Q17. The first connection end of the first reset switch Q17 is connected to the first input end of the second reset module, and the second connection end is the output end of the second reset module. One end of the third reset resistor R118 is connected to the control end of the first reset switch Q17, and the other end is connected to the second connection end of the second reset switch Q18. The second connection end of the second reset switch Q18 is grounded, and the control end of the second reset switch Q18 is connected to the negative terminal of the reset diode D28.
[0027] The first reset switch Q17 is turned on when the control end receives a low level signal and is turned off when a high level signal is received. The second reset switch Q18 is turned on when the control end receives a high level signal and is turned off when a low level signal is received.
[0028] By adopting the above technical solution, when the MCU is normal and the product is not reset, the first input end of the second reset module receives a high-level signal, the reset diode D28 is turned on, the control end of the second reset switch Q18 receives a high-level signal and is turned on, the control end of the first reset switch Q17 receives a low-level signal and is turned on, and the second connection end of the first reset switch Q17 outputs a high-level signal to the product.
[0029] When the MCU is abnormal, long press the first control switch K2 to reset the product, and the first reset module still outputs a high-level signal. The input end of the reset control unit receives a high-level signal, and the second input end of the second reset module is grounded, pulling down the voltage of the positive end of the reset diode D28, and the reset diode D28 is turned off. The control end of the second reset switch Q18 receives a low-level signal, and the second reset switch Q18 is turned off. The voltage of the control end of the first reset switch Q17 is pulled up, and the first reset switch Q17 is turned off, outputting a low-level signal, and the product is turned off.
[0030] Exemplarily, the second reset module also includes a timing module, which is located between the cathode end of the reset diode D28 and the control end of the second reset switch Q18, and includes a timing resistor R120 and a timing capacitor C43, one end of the timing resistor R120 is connected to the cathode end of the reset diode D28, and the other end is grounded, and one end of the timing capacitor C43 is connected to the cathode end of the reset diode D28, and the other end is grounded.
[0031] By adopting the above technical solution, the present application can control the reset time of the reset circuit by controlling the charging and discharging time of the timing capacitor C43 by setting the timing capacitor C43 and the timing resistor R120, so that the reset time is controllable.
[0032] Exemplarily, the reset secondary control unit includes a first controlled resistor R76, a second controlled resistor R121, a secondary controlled capacitor C9 and a secondary controlled switch Q19, the secondary controlled switch Q19 includes a control end, a first connection end and a second connection end, one end of the first controlled resistor R76 is the input end of the reset secondary control unit, and the other end is connected to the secondary controlled capacitor C9, the secondary controlled capacitor C9 is grounded, one end of the second controlled resistor R121 is connected to the first controlled resistor R76, and the other end is connected to the control end of the secondary controlled switch Q19, the first connection end of the secondary controlled switch Q19 is connected to the positive terminal of the reset diode D28, and the second connection end of the secondary controlled switch Q19 is grounded;
[0033] The secondary-controlled switch Q19 is turned on when the voltage value at the control end is less than the voltage value at the first connection end of the secondary-controlled switch Q19 and greater than the voltage value at the second connection end of the secondary-controlled switch Q19.
[0034] By adopting the above technical solution, after the input end of the reset secondary control unit receives a high-level signal, the voltage value of the control end of the secondary control switch Q19 is pulled up, so that the voltage value of the control end of the secondary control switch Q19 is between the first connection end and the second connection end of the secondary control switch Q19, so as to turn on the secondary control switch Q19, so that the second input end of the second reset module is grounded.
[0035] Exemplarily, the first master reset switch Q7 is an NMOS switch tube, and the second master reset switch Q3 is a PMOS switch tube.
[0036] By adopting the above technical solution, the NMOS switch tube is turned on at a high level and turned off at a low level, which is applicable to the first master reset switch Q7, and the PMOS switch tube is turned on at a low level and turned off at a high level, which is applicable to the second master reset switch Q3.
[0037] Exemplarily, the second reset switch Q18 is an NMOS switch tube, and the first reset switch Q17 is a PMOS switch tube.
[0038] By adopting the above technical solution, the NMOS switch tube is turned on at a high level and turned off at a low level, which is applicable to the second reset switch Q18, and the PMOS switch tube is turned on at a low level and turned off at a high level, which is applicable to the second reset switch Q17.
[0039] Exemplarily, the secondary-controlled switch Q19 is an NPN transistor, the base of which forms the control end of the secondary-controlled switch Q19, the collector forms the first connection end of the secondary-controlled switch Q19, and the emitter forms the second connection end of the secondary-controlled switch Q19.
[0040] On the other hand, the present application provides an electronic device, which adopts the following technical solution:
[0041] An electronic device comprises the above reset circuit, wherein the reset circuit is used to reset the electronic device.
[0042] By adopting the above technical solution, the characteristics of the NPN transistor are suitable for the secondary control switch Q19.
[0043] In summary, the present application includes at least one of the following beneficial technical effects:
[0044] 1. In this application, when the main control chip (MCU) fails or loses power, the product can be reset by simply closing the first control switch K2 for a long time, avoiding the need for users to tediously disassemble the game controller and re-insert the battery to achieve reset. At the same time, the first control switch K2 can be a press switch, which further facilitates users to achieve product reset.
[0045] 2. The present application sets a timing capacitor C43 and a timing resistor R120, and can control the reset time of the reset circuit by controlling the charging and discharging time of the timing capacitor C43, so that the reset time is controllable. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a circuit diagram of a reset circuit.
[0047] Description of reference numerals:
[0048] 1. Reset start unit; 11. Reset signal output terminal; 2. Reset main control unit; 21. Main reset signal receiving terminal; 3. Reset secondary control unit; 4. Reset unit; 41. First reset module; 42. Second reset module; 421. First input terminal; 422. Second input terminal. DETAILED DESCRIPTION
[0049] The present application is further described in detail below in conjunction with the accompanying drawings. 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.
[0050] The present application embodiment discloses a reset circuit. Figure 1 A reset circuit includes a reset start unit 1, a reset main control unit 2, a reset sub-control unit 3 and a reset unit 4. The reset start unit 1 is used to start the reset function of the reset main control unit 2 or start the reset sub-control unit 3. The reset main control unit 2 is used to reset the product when the MCU is normal. The reset sub-control unit 3 is used to reset the product when the MCU is abnormal. The reset unit 4 is used to output a low-level signal to shut down the product and output a high-level signal to start the product.
[0051] The input end of the reset start unit 1 is connected to the power supply, and the output end of the reset start unit 1 is connected to the output end of the reset main control unit 2. The output end of the reset main control unit 2 is connected to the input end of the reset unit 4, and is used to control the reset unit 4 to output a low-level signal to shut down the product or to control the reset unit 4 to output a high-level signal to run the product. The output end of the reset secondary control unit 3 is connected to the input end of the reset unit 4, and is used to control the reset unit 4 to output a low-level signal to shut down the product.
[0052] Furthermore, the reset unit 4 includes a first reset module 41 and a second reset module 42, the second reset module 42 includes a first input terminal 421 and a second input terminal 422, the output terminal of the first reset module 41 is connected to the first input terminal 421 of the second reset module, the output terminal of the reset main control unit 2 is connected to the input terminal of the first reset module 41, and the output terminal of the reset secondary control unit 3 is connected to the second input terminal 422 of the second reset module.
[0053] Reference Figure 1 The reset start unit 1 includes a first control switch K2, and an input end of the first control switch K2 is connected to an input end of the reset start unit 1. In different embodiments, the first control switch K2 can be a switch of different forms. Specifically but not limitatively, in the embodiment of the present application, the first control switch K2 is a press switch.
[0054] The output end of the first control switch K2 is provided with a reset signal output end 11. The reset main control unit 2 is provided with a master reset signal receiving end 21, and the reset signal output end 11 is connected to the MCU, and sends a master reset signal to the MCU when the first control switch K2 is turned on. When the MCU does not have an abnormality, after receiving the master reset signal, a low level signal is sent to the master reset signal receiving end 21 to start the reset function of the reset main control unit 2.
[0055] Specifically, in the present application, the first reset module 41 includes a first master reset switch Q7, a second master reset switch Q3, a first master reset resistor R19, a second master reset resistor R9 and a third master reset resistor R8, and the first master reset switch Q7 and the second master reset switch Q3 both include a control end, a first connection end and a second connection end.
[0056] One end of the first master reset resistor R19 is connected to the output end of the first reset module 41, and the other end is connected to the control end of the first master reset switch Q7. One end of the second master reset resistor R9 is connected to the second connection end of the first master reset switch Q7, and the other end is connected to the control end of the second master reset switch Q3. The first connection end of the first master reset switch Q7 is grounded. One end of the third master reset resistor R8 is connected to the power supply, and the other end is connected to the control end of the second master reset switch Q3. The first connection end of the second master reset switch Q3 is connected to the power supply, and the second connection end is connected to the output end of the first reset module 41.
[0057] The second master reset switch Q3 is turned on when the control end receives a low level signal, and is turned off when a high level signal is received. The first master reset switch Q7 is turned on when the control end receives a high level signal, and is turned off when a low level signal is received.
[0058] Further, in the embodiment of the present application, the first master reset switch Q7 is an NMOS switch tube, and the second master reset switch Q3 is a PMOS switch tube. The NMOS switch tube is turned on at a high level and turned off at a low level, which is applicable to the first master reset switch Q7, and the PMOS switch tube is turned on at a low level and turned off at a high level, which is applicable to the second master reset switch Q3.
[0059] Therefore, if you want the first reset module 41 to output a low-level signal, the second master reset switch Q3 needs to be turned off. If the second master reset switch Q3 is turned off, the control end of the second master reset switch Q3 needs to be at a high level. When the first master reset switch Q7 is turned on, the voltage at the control end of the second master reset switch Q3 is pulled down, and the second master reset switch Q3 is turned on. When the first master reset switch Q7 is turned off, the voltage at the control end of the second master reset switch Q3 is pulled up, and the second master reset switch Q3 is turned off. When the first master reset switch Q7 is turned off, the control end of the first master reset switch Q7 needs to be at a low level, that is, the input end of the first reset module 41 needs to receive a low-level signal.
[0060] In order to make the reset main control unit 2 output a low-level signal, the embodiment of the present application specifically but not limitingly discloses a component of the reset main control unit 2 and a connection method of the component. The reset main control unit 2 includes a main control diode D27 and a main control resistor R46, the positive end of the main control diode D27 is the main reset signal receiving end 21, one end of the main control resistor R46 is connected to the negative end of the main control diode D27, and the other end is connected to the output end of the reset start unit 1. The end of the main control resistor R46 connected to the output end of the reset start unit 1 is also the output end of the reset main control unit 2. The positive end of the main control diode D27 is the main reset signal receiving end 21, which is turned on when a high-level signal is received, so that the signal output by the reset main control unit 2 is a high-level signal, and is turned off when a low-level signal is received, so that the signal output by the reset main control unit 2 is a low-level signal.
[0061] refer to Figure 1 The input end of the reset sub-control unit 3 is connected to the reset signal output end 11, and is used to receive the high level signal sent by the reset signal output end 11 when the first control switch K2 is in the normally closed state, so as to start the reset sub-control unit 3. In addition, as mentioned above, the output end of the reset sub-control unit 3 is connected to the second input end 422 of the second reset module 42.
[0062] In the embodiment of the present application, the second reset module 42 includes a reset diode D28 , a first reset resistor R71 , a second reset resistor R73 , a third reset resistor R118 , a first reset switch Q17 , and a second reset switch Q18 .
[0063] One end of the first reset resistor R71 is connected to the first input terminal 421 of the second reset module 42, and the other end is connected to the positive terminal of the reset diode D28. The first reset switch Q17 and the second reset switch Q18 both include a control terminal, a first connection terminal, and a second connection terminal. One end of the second reset resistor R73 is connected to the first input terminal 421 of the second reset module 42, and the other end is connected to the control terminal of the first reset switch Q17. The first connection terminal of the first reset switch Q17 is connected to the first input terminal 421 of the second reset module 42, and the second connection terminal is the output terminal of the second reset module 42. One end of the third reset resistor R118 is connected to the control terminal of the first reset switch Q17, and the other end is connected to the second connection terminal of the second reset switch Q18. The second connection terminal of the second reset switch Q18 is grounded, and the control terminal of the second reset switch Q18 is connected to the negative terminal of the reset diode D28. The first reset switch Q17 is turned on when the control end receives a low level signal and is turned off when a high level signal is received. The second reset switch Q18 is turned on when the control end receives a high level signal and is turned off when a low level signal is received.
[0064] When the MCU is normal and the product is not reset, the first input terminal 421 of the second reset module 42 receives a high level signal, the reset diode D28 is turned on, the control terminal of the second reset switch Q18 receives the high level signal and is turned on, the control terminal of the first reset switch Q17 receives the low level signal and is turned on, and the second connection terminal of the first reset switch Q17 outputs a high level signal to the product.
[0065] When the MCU is abnormal, if the second reset module 42 is to output a low-level signal, the first reset switch Q17 needs to be disconnected, that is, the control end of the first reset switch Q17 needs to be high, that is, the second reset switch Q18 needs to be disconnected, that is, the control end of the second reset switch Q18 needs to be low, then the reset diode D28 needs to be non-conductive, and the voltage at the positive terminal of the reset diode D28 needs to be less than the voltage at the negative terminal of the reset diode D28. Grounding the positive terminal of the reset diode D28 can make the voltage at the positive terminal of the reset diode D28 less than the voltage at the negative terminal of the reset diode D28.
[0066] Furthermore, the second reset module 42 is also provided with a timing module, which is located between the cathode end of the reset diode D28 and the control end of the second reset switch Q18. The timing module includes a timing resistor R120 and a timing capacitor C43. One end of the timing resistor R120 is connected to the cathode end of the reset diode D28, and the other end is grounded. One end of the timing capacitor C43 is connected to the cathode end of the reset diode D28, and the other end is grounded.
[0067] The embodiment of the present application can control the reset time of the reset circuit by controlling the charging and discharging time of the timing capacitor C43, so that the reset time is controllable. The charging time of the timing capacitor C43 is: T=RC, R is the resistance of the timing resistor R120, and C is the capacitance of the timing capacitor C43. The reset time of the reset circuit can be changed by changing the resistance of the reset resistor R120 and the capacitance of the timing capacitor C43.
[0068] Specifically, the embodiment of the present application proposes a structure for resetting the secondary control unit 3, which includes a first controlled resistor R76, a second controlled resistor R121, a secondary controlled capacitor C9 and a secondary controlled switch Q19. The secondary controlled switch Q19 includes a control end, a first connection end and a second connection end. One end of the first controlled resistor R76 is the input end of the reset secondary control unit 3, and the other end is connected to the secondary controlled capacitor C9, and the secondary controlled capacitor C9 is grounded. One end of the second controlled resistor R121 is connected to the first controlled resistor R76, and the other end is connected to the control end of the secondary controlled switch Q19. The first connection end of the secondary controlled switch Q19 is connected to the positive terminal of the reset diode D28, and the second connection end of the secondary controlled switch Q19 is grounded. The secondary controlled switch Q19 is turned on when the voltage value at the control end is less than the voltage value at the first connection end of the secondary controlled switch Q19 and greater than the voltage value at the second connection end of the secondary controlled switch Q19.
[0069] In this way, when the MCU fails, the first control switch K2 is long pressed to reset the product, and the first reset module 41 still outputs a high-level signal, and the first input terminal 421 of the second reset module 42 receives a high-level signal. After the input terminal of the reset secondary control unit 3 receives the high-level signal, the voltage value of the control terminal of the secondary control switch Q19 is pulled up, so that the voltage value of the control terminal of the secondary control switch Q19 is between the first connection terminal and the second connection terminal of the secondary control switch Q19, so as to turn on the secondary control switch Q19, so that the second input terminal 422 of the second reset module 42 is grounded, and the voltage of the positive terminal of the reset diode D28 is pulled down, and the reset diode D28 is turned off. The control terminal of the second reset switch Q18 receives a low-level signal, and the second reset switch Q18 is turned off. The voltage of the control terminal of the first reset switch Q17 is pulled up, and the first reset switch Q17 is turned off, and a low-level signal is output, and the product is turned off.
[0070] In the embodiment of the present application, the second reset switch Q18 is an NMOS switch tube, and the first reset switch Q17 is a PMOS switch tube. The NMOS switch tube is turned on at a high level and turned off at a low level, which is applicable to the second reset switch Q18, and the PMOS switch tube is turned on at a low level and turned off at a high level, which is applicable to the first reset switch Q17. The secondary control switch Q19 is an NPN transistor, the base of the NPN transistor forms the control end of the secondary control switch Q19, the collector forms the first connection end of the secondary control switch Q19, and the emitter forms the second connection end of the secondary control switch Q19.
[0071] Embodiment 2 of the present application discloses an electronic device. The electronic device comprises the above reset circuit, and the reset circuit is used to reset the electronic device.
[0072] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A reset circuit, characterized in that: The invention comprises a reset start unit (1), a reset main control unit (2), a reset sub-control unit (3) and a reset unit (4), wherein the reset main control unit (2) is used to reset the product when the MCU is normal, and the reset sub-control unit (3) is used to reset the product when the MCU is abnormal; The input end of the reset start unit (1) is used to be connected to a power supply, the output end of the reset start unit (1) is connected to the output end of the reset main control unit (2), and the output end of the reset main control unit (2) is connected to the input end of the reset unit (4), so as to control the reset unit (4) to output a low-level signal to reset the product; The output end of the reset sub-control unit (3) is connected to the input end of the reset unit (4), and is used to control the reset unit (4) to output a low-level signal to reset the product; The reset start unit (1) comprises a first control switch K2, the input end of the first control switch K2 is connected to the input end of the reset start unit (1), the output end of the first control switch K2 is provided with a reset signal output end (11), the reset main control unit (2) comprises a main reset signal receiving end (21), the reset signal output end (11) is connected to the MCU and is used to send a main reset signal to the MCU when the first control switch K2 is turned on, and when the MCU does not have an abnormality, the main reset signal is received to start the reset function of the reset main control unit (2), and the input end of the reset sub-control unit (3) is connected to the reset signal output end (11), and is used to receive the reset signal to start the reset sub-control unit (3) when the first control switch K2 is in a normally closed state.
2. The reset circuit according to claim 1, characterized in that: The reset unit (4) comprises a first reset module (41) and a second reset module (42), the second reset module (42) comprises a first input end (421) and a second input end (422), the output end of the first reset module (41) is connected to the first input end (421) of the second reset module (42), the output end of the reset main control unit (2) is connected to the input end of the first reset module (41), and the output end of the reset secondary control unit (3) is connected to the second input end (422) of the second reset module (42).
3. The reset circuit according to claim 2, characterized in that: The first reset module (41) comprises a first master reset switch Q7, a second master reset switch Q3, a first master reset resistor R19, a second master reset resistor R9 and a third master reset resistor R8, wherein the first master reset switch Q7 and the second master reset switch Q3 each comprise a control end, a first connection end and a second connection end; One end of the first master reset resistor R19 is connected to the output end of the first reset module (41), and the other end is connected to the control end of the first master reset switch Q7; one end of the second master reset resistor R9 is connected to the second connection end of the first master reset switch Q7, and the other end is connected to the control end of the second master reset switch Q3; the first connection end of the first master reset switch Q7 is grounded; One end of the third master reset resistor R8 is connected to the power supply, and the other end is connected to the control end of the second master reset switch Q3; the first connection end of the second master reset switch Q3 is connected to the power supply, and the second connection end is connected to the output end of the first reset module (41); The second master reset switch Q3 is turned on when the control end receives a low level signal, and is turned off when a high level signal is received. The first master reset switch Q7 is turned on when the control end receives a high level signal, and is turned off when a low level signal is received.
4. The reset circuit according to claim 3, characterized in that: The reset main control unit (2) comprises a main control diode D27 and a main control resistor R46, wherein the positive terminal of the main control diode D27 is the main reset signal receiving terminal (21), one end of the main control resistor R46 is connected to the negative terminal of the main control diode D27, and the other end is connected to the output terminal of the reset start unit (1).
5. The reset circuit according to claim 2, characterized in that: The second reset module (42) includes a reset diode D28, a first reset resistor R71, a second reset resistor R73, a third reset resistor R118, a first reset switch Q17, and a second reset switch Q18; One end of the first reset resistor R71 is connected to the first input end (421) of the second reset module (42), and the other end is connected to the positive terminal of the reset diode D28; The first reset switch Q17 and the second reset switch Q18 both comprise a control end, a first connection end, and a second connection end; one end of the second reset resistor R73 is connected to the first input end (421) of the second reset module (42), and the other end is connected to the control end of the first reset switch Q17; the first connection end of the first reset switch Q17 is connected to the first input end (421) of the second reset module (42), and the second connection end is the output end of the second reset module (42); one end of the third reset resistor R118 is connected to the control end of the first reset switch Q17, and the other end is connected to the second connection end of the second reset switch Q18; the second connection end of the second reset switch Q18 is grounded, and the control end of the second reset switch Q18 is connected to the negative terminal of the reset diode D28; The first reset switch Q17 is turned on when the control end receives a low level signal and is turned off when a high level signal is received. The second reset switch Q18 is turned on when the control end receives a high level signal and is turned off when a low level signal is received.
6. The reset circuit according to claim 5, characterized in that: The second reset module (42) also includes a timing module, which is located between the cathode end of the reset diode D28 and the control end of the second reset switch Q18. The timing module includes a timing resistor R120 and a timing capacitor C43. One end of the timing resistor R120 is connected to the cathode end of the reset diode D28, and the other end is grounded. One end of the timing capacitor C43 is connected to the cathode end of the reset diode D28, and the other end is grounded.
7. The reset circuit according to claim 5, characterized in that: The reset secondary control unit (3) comprises a first control resistor R76, a second control resistor R121, a secondary control capacitor C9 and a secondary control switch Q19, wherein the secondary control switch Q19 comprises a control end, a first connection end and a second connection end, wherein one end of the first control resistor R76 is the input end of the reset secondary control unit (3), and the other end is connected to the secondary control capacitor C9, and the secondary control capacitor C9 is grounded, one end of the second control resistor R121 is connected to the first control resistor R76, and the other end is connected to the control end of the secondary control switch Q19, the first connection end of the secondary control switch Q19 is connected to the positive terminal of the reset diode D28, and the second connection end of the secondary control switch Q19 is grounded; The first reset switch Q17 is turned on when the voltage value at the control end is less than the voltage value at the first connection end of the secondary control switch Q19 and greater than the voltage value at the second connection end of the secondary control switch Q19; Alternatively, the second reset switch Q18 is an NMOS switch tube, and the first reset switch Q17 is a PMOS switch tube.
8. The reset circuit according to claim 4, characterized in that: The first master reset switch Q7 is an NMOS switch tube, and the second master reset switch Q3 is a PMOS switch tube.
9. The reset circuit according to claim 7, characterized in that: The secondary control switch Q19 is an NPN transistor, the base of which forms the control end of the secondary control switch Q19, the collector forms the first connection end of the secondary control switch Q19, and the emitter forms the second connection end of the secondary control switch Q19.
10. An electronic device, characterized in that: The reset circuit comprises any one of claims 1 to 9, wherein the reset circuit is used to reset an electronic device.