Electronic device and abnormal reset circuit thereof
By designing an abnormal reset circuit, detecting and discharging completion signal control switch circuit, the startup problem caused by the large capacitor in the smart terminal equipment is solved, ensuring the normal start-up of the equipment and improving the stability of the equipment.
Patent Information
- Application Number
- CN202111594377.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-12-23
AI Technical Summary
The large capacitors inside the smart terminal device are powered back on without complete discharge, resulting in a disordered timing of the power-on of the device, affecting normal startup.
An abnormal reset circuit is designed, including switching circuits, discharge circuits, buck circuits, comparison circuits and auxiliary controllers. By detecting the discharge completion signal, the switching of the switching circuit is controlled to ensure that the large capacitor is fully discharged and then powered on.
It effectively solves the starting problem of the equipment due to the large capacitor not being completely discharged, ensures the equipment starts normally, and improves the performance stability of the equipment.
Smart Images

Figure CN114253381B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent device resetting, and in particular to an electronic device and an abnormal resetting circuit thereof. Background Art
[0002] With the rapid development of the information age, smart terminal devices are increasingly used in people's lives. Most smart terminal devices on the market now generally have human-computer interaction, wireless communication, and different forms of entertainment control functions. Due to the diversification of application scenarios, the performance stability requirements for smart terminal devices are also getting higher and higher. In the prior art, the smart terminal devices are often subjected to continuous power-on and power-off aging tests in the early stage. During the test, there is a probability that the device cannot start normally. In addition to the possible problems of the software system itself, it is also possible that the large capacitor inside the front end of the device is powered on again without being fully discharged, resulting in a disorder in the power-on timing of the device, thereby affecting the normal startup of the device.
[0003] In view of this, this application is filed. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide an electronic device and an abnormal reset circuit thereof, which can effectively solve the problem in the prior art that the large capacitor at the front end of the smart terminal device is powered on and started again without being fully discharged, causing the power-on timing of the device to be disordered, thereby affecting the normal startup of the device.
[0005] The present invention discloses an abnormal reset circuit, comprising a switch circuit, a discharge circuit, a voltage reduction circuit, a comparison circuit, an auxiliary controller and a main controller;
[0006] Wherein, the control end of the switch circuit is electrically connected to the first port of the auxiliary controller, the first end of the switch circuit is used to be electrically connected to the power supply, the first output end of the switch circuit is grounded, the second output end of the switch circuit is electrically connected to the input end of the discharge circuit, the output end of the discharge circuit is electrically connected to the input end of the buck circuit, the output end of the discharge circuit is electrically connected to the positive input end of the comparison circuit, the negative input end of the comparison circuit is connected to the power supply, the output end of the buck circuit is electrically connected to the power input end of the main controller, the output end of the comparison circuit is electrically connected to the second port of the auxiliary controller, and the data receiving end of the auxiliary controller is electrically connected to the data sending end of the main controller;
[0007] The auxiliary controller is configured to implement the following steps by executing a computer program stored therein:
[0008] After receiving the start signal and when the timing information is not received within a preset time, generating a first control signal to the switch circuit so that the switch circuit switches from the first output end to the second output end, and receiving the output signal of the comparison circuit at the same time;
[0009] judging whether the discharge circuit has completed discharge according to the output signal;
[0010] When it is determined that the discharge circuit has completed discharging, a second control signal is generated to the switch circuit so that the switch circuit switches from the second output end to the first output end.
[0011] Preferably, after receiving the start signal, the method further comprises: when receiving timing information within a preset time, generating a second control signal to the switch circuit so that the switch circuit switches from the second output end to the first output end.
[0012] Preferably, the discharge circuit includes a first resistor, a second resistor, a first diode, a second diode, a switching tube and a first capacitor, the anode of the first diode is electrically connected to the second output end of the switching circuit, the anode of the second diode is electrically connected to the second output end of the switching circuit, the cathode of the first diode is electrically connected to the control end of the switching tube, the cathode of the second diode is electrically connected to the first end of the switching tube, one end of the first resistor is electrically connected to the control end of the switching tube, the other end of the first resistor is grounded, one end of the second resistor is electrically connected to the second end of the switching tube, the other end of the second resistor is grounded, the other end of the second resistor is electrically connected to one end of the first capacitor, and the other end of the first capacitor is electrically connected to the cathode of the second diode.
[0013] Preferably, the switch tube is a PNP type triode, the control end of the switch tube is the base, the first end of the switch tube is the emitter, and the second end of the switch tube is the collector.
[0014] Preferably, the comparison circuit includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a voltage regulator and a voltage comparator, one end of the fifth resistor is electrically connected to the output end of the discharge circuit, the other end of the fifth resistor is electrically connected to the positive input end of the voltage comparator, the negative input end of the voltage comparator is electrically connected to one end of the fourth resistor, the other end of the fourth resistor is electrically connected to the positive electrode of the voltage regulator, the negative input end of the voltage comparator is electrically connected to one end of the sixth resistor, the other end of the sixth resistor is electrically connected to the negative electrode of the voltage regulator, one end of the third resistor is electrically connected to the negative electrode of the voltage regulator, the other end of the third resistor is connected to a power supply, one end of the seventh resistor is electrically connected to the output end of the voltage comparator, the other end of the seventh resistor is electrically connected to the second port of the auxiliary controller, one end of the eighth resistor is electrically connected to the second port of the auxiliary controller, and the other end of the eighth resistor is grounded.
[0015] Preferably, the switching circuit includes an electronic switch, a second capacitor and a ninth resistor, the first end of the electronic switch is used to be electrically connected to a power supply, the first output end of the electronic switch is electrically connected to one end of the second capacitor, the other end of the second capacitor is grounded, the second output end of the electronic switch is electrically connected to the input end of the discharge circuit, one end of the ninth resistor is electrically connected to the control end of the electronic switch, and the other end of the ninth resistor is grounded.
[0016] Preferably, the step-down circuit is a DCDC step-down circuit.
[0017] The present invention also provides an electronic device, comprising a power front-end protection circuit, a touch display screen, and an abnormal reset circuit as described in any one of the above items, wherein the input end of the power front-end protection circuit is electrically connected to the power supply, the output end of the power front-end protection circuit is electrically connected to the first end of the switching circuit, and the data end of the touch display screen is electrically connected to the data end of the main controller.
[0018] Preferably, the power front-end protection circuit includes a surge protection circuit and a common-mode inductor isolation circuit. The surge protection circuit is connected in parallel with the power supply, and the common-mode inductor isolation circuit is connected in series with the power supply.
[0019] In summary, the present embodiment provides an electronic device and an abnormal reset circuit thereof. After the auxiliary controller receives a start signal and fails to receive a timing signal sent by the main controller within a preset time, the auxiliary controller sends a first control signal to the electronic switch through the first port, so that the electronic switch switches from the first output end to the second output end. At the same time, it detects whether the second port of the auxiliary controller receives the output signal sent by the comparison. If the output signal is received, it means that the discharge circuit has completed discharging. The auxiliary controller controls the electronic switch to switch from the second output end to the first output end, thereby solving the problem in the prior art that the large capacitor at the front end of the smart terminal device is powered on again without being fully discharged, causing a disorder in the power-on sequence of the device, thereby affecting the normal startup of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 The present invention is a schematic diagram of the structure of an electronic device and an abnormal reset circuit thereof provided by an embodiment of the present invention.
[0021] Figure 2 The present invention is a flowchart of an electronic device and an abnormal reset circuit thereof provided by an embodiment of the present invention.
[0022] Figure 3 The present invention is a schematic circuit diagram of an electronic device and an abnormal reset circuit thereof provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0024] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0025] See also Figure 1 to Figure 2 , a first embodiment of the present invention provides an abnormal reset circuit, comprising a switch circuit 1, a discharge circuit 2, a step-down circuit 3, a comparison circuit 4, an auxiliary controller 5 and a main controller 6;
[0026] Wherein, the control end of the switch circuit 1 is electrically connected to the first port of the auxiliary controller 5, the first end of the switch circuit 1 is used to be electrically connected to the power supply, the first output end of the switch circuit 1 is grounded, the second output end of the switch circuit 1 is electrically connected to the input end of the discharge circuit 2, the output end of the discharge circuit 2 is electrically connected to the input end of the buck circuit 3, the output end of the discharge circuit 2 is electrically connected to the positive input end of the comparison circuit 4, the negative input end of the comparison circuit 4 is connected to the power supply, the output end of the buck circuit 3 is electrically connected to the power input end of the main controller 6, the output end of the comparison circuit 4 is electrically connected to the second port of the auxiliary controller 5, and the data receiving end of the auxiliary controller 5 is electrically connected to the data sending end of the main controller 6;
[0027] The auxiliary controller 5 is configured to implement the following steps by executing a computer program stored therein:
[0028] S101, after receiving a start signal and when no timing information is received within a preset time, generating a first control signal to the switch circuit 1, so that the switch circuit 1 switches from the first output end to the second output end, and receiving the output signal of the comparison circuit 4 at the same time;
[0029] Specifically, in this embodiment, taking the smart terminal as an example, the main controller 6 includes PMIC, CPU, DDR4, EMMC and other devices, has audio and video encoding and decoding functions, includes MIPI_CSI interface, MIPI_DSI interface, and combination circuits including WIFI, Bluetooth, Ethernet, etc., and actually runs on the Android platform. The main controller 6 and the auxiliary controller 5 exchange data through serial port communication. When the smart terminal is turned on, after the auxiliary controller 5 receives the start signal, the auxiliary controller 5 detects whether the timing information DATA sent by the data sending end of the main controller 6 is received at every preset time interval. The auxiliary controller 5 receives the timing signal through serial port communication to monitor the current working state of the main controller 6 in real time. If the auxiliary controller 5 does not receive the timing information, it means that the device is in an abnormal startup state at this time. The auxiliary controller 5 switches the switch circuit 1 from the first output end to the second output end by sending a first control signal. The default state of the switch circuit 1 is connected to the first output end; after the switch circuit 1 is switched, the second port of the auxiliary controller 5 starts to detect the output signal of the comparison circuit 4.
[0030] S102, judging whether the discharge circuit 2 has completed discharge according to the output signal;
[0031] See also Figure 3Specifically, in this embodiment, the comparison circuit 4 includes a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a voltage regulator D3 and a voltage comparator 41, one end of the fifth resistor R5 is electrically connected to the output end of the discharge circuit 2, the other end of the fifth resistor R5 is electrically connected to the positive input end of the voltage comparator 41, the negative input end of the voltage comparator 41 is electrically connected to one end of the fourth resistor R4, the other end of the fourth resistor R4 is electrically connected to the positive electrode of the voltage regulator D3, the negative input end of the voltage comparator 41 is electrically connected to one end of the sixth resistor R6, the other end of the sixth resistor R6 is electrically connected to the negative electrode of the voltage regulator D3, and the third resistor R3 One end of the resistor R3 is electrically connected to the negative electrode of the voltage regulator D3, the other end of the third resistor R3 is connected to the power supply, one end of the seventh resistor R7 is electrically connected to the output end of the voltage comparator 41, the other end of the seventh resistor R7 is electrically connected to the second port of the auxiliary controller 5, one end of the eighth resistor R8 is electrically connected to the second port of the auxiliary controller 5, and the other end of the eighth resistor R8 is grounded.
[0032] In this embodiment, the voltage comparator 41 is a circuit for identifying and comparing input signals, and is a basic unit circuit that constitutes a non-sinusoidal wave generating circuit. It can be regarded as an operational amplifier with an amplification factor close to infinity, and is used to compare the voltage input to its positive input terminal with the voltage input to its negative input terminal. When the voltage at the positive input terminal of the voltage comparator 41 is higher than the power supply voltage at the negative input terminal of the voltage comparator 41, the output terminal of the voltage comparator 41 outputs a high-level signal; when the voltage at the positive input terminal of the voltage comparator 41 is lower than the voltage at the negative input terminal of the voltage comparator 41, the output terminal of the voltage comparator 41 outputs a low-level signal.
[0033] Among them, when the discharge circuit 2 is discharged, the voltage of the positive input terminal of the voltage comparator 41 is low level. Since the negative input terminal of the voltage comparator 41 is connected to the power supply, the voltage of the positive input terminal of the voltage comparator 41 will be lower than the voltage of the negative input terminal of the voltage comparator 41, and the output terminal of the voltage comparator 41 outputs a low level signal; if the discharge circuit 2 is not discharged, since the third resistor R3, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8 can be current limiting resistors, the voltage of the positive input terminal of the voltage comparator 41 will be higher than the voltage of the negative input terminal of the voltage comparator 41, and the output terminal of the voltage comparator 41 outputs a high level signal. When the second port of the auxiliary controller 5 detects a low level signal, the discharge circuit 2 has been discharged. It should be noted that in other embodiments, other types of comparison circuits 4 can also be used, which are not specifically limited here, but these schemes are within the protection scope of the present invention.
[0034] S103 , when it is determined that the discharge circuit 2 has completed discharging, a second control signal is generated to the switch circuit 1 , so that the switch circuit 1 switches from the second output end to the first output end.
[0035] Specifically, in this embodiment, when the second port of the auxiliary controller 5 detects a low-level signal, it indicates that the discharge circuit 2 has been fully discharged. The auxiliary controller 5 restores the switch circuit 1 to a default state by sending a second control signal, switching from the second output terminal to the first output terminal.
[0036] In a possible embodiment of the present invention, after receiving the start signal, it also includes: when receiving timing information within a preset time, generating a second control signal to the switch circuit 1 so that the switch circuit 1 switches from the second output end to the first output end.
[0037] Specifically, in this embodiment, when the auxiliary controller 5 receives the start signal and the auxiliary controller 5 receives the timing information, it indicates that the device is in a normal start-up state at this time. The auxiliary controller 5 sends a second control signal to keep the switch circuit 1 in the default state and connect it to the first output terminal.
[0038] In a possible embodiment of the present invention, the discharge circuit 2 includes a first resistor R1, a second resistor R2, a first diode D1, a second diode D2, a switch tube Q1 and a first capacitor C1, an anode of the first diode D1 is electrically connected to the second output end of the switch circuit 1, an anode of the second diode D2 is electrically connected to the second output end of the switch circuit 1, a cathode of the first diode D1 is electrically connected to the control end of the switch tube Q1, a cathode of the second diode D2 is electrically connected to the first end of the switch tube Q1, one end of the first resistor R1 is electrically connected to the control end of the switch tube Q1, the other end of the first resistor R1 is grounded, one end of the second resistor R2 is electrically connected to the second end of the switch tube Q1, the other end of the second resistor R2 is grounded, the other end of the second resistor R2 is electrically connected to one end of the first capacitor C1, and the other end of the first capacitor C1 is electrically connected to the cathode of the second diode D2.
[0039] Specifically, in this embodiment, the switch tube Q1 may be a PNP transistor, the control end of the switch tube Q1 is the base, the first end of the switch tube Q1 is the emitter, and the second end of the switch tube Q1 is the collector.
[0040] Specifically, in this embodiment, when the switch circuit 1 switches from the first output end to the second output end, the first diode D1 and the second diode D2 are turned on, and the switch tube Q1 is also turned on due to the voltage difference, accelerating the discharge of the first capacitor C1, ensuring that the voltage at the front end of the auxiliary controller 5 can quickly return to zero potential when the main controller 6 is powered off. It should be noted that in other embodiments, other types of discharge circuits 2 can also be used, which are not specifically limited here, but these solutions are all within the protection scope of the present invention.
[0041] In a possible embodiment of the present invention, the switch circuit 1 includes an electronic switch K1, a second capacitor C2 and a ninth resistor R9, wherein a first end of the electronic switch K1 is used to be electrically connected to a power supply, a first output end of the electronic switch K1 is electrically connected to one end of the second capacitor C2, the other end of the second capacitor C2 is grounded, a second output end of the electronic switch K1 is electrically connected to an input end of the discharge circuit 2, one end of the ninth resistor R9 is electrically connected to a control end of the electronic switch K1, and the other end of the ninth resistor R9 is grounded.
[0042] Specifically, in this embodiment, the electronic switch K1 can be a single-pole double-throw electronic switch, and the discharge circuit 2 can be turned on by switching the position of the single pole; the ninth resistor R9 is a pull-down resistor, which plays a role of pull-down protection for the first port of the auxiliary controller 5, ensuring that the first port of the auxiliary controller 5 is in a low-level state when the device is powered on, and preventing the electronic switch K1 from malfunctioning from switching from the first output end to the second output end. It should be noted that in other embodiments, other types of switch circuits 1 can also be used, which are not specifically limited here, but these solutions are all within the protection scope of the present invention.
[0043] In a possible embodiment of the present invention, the step-down circuit 3 may be a DCDC step-down circuit.
[0044] The second embodiment of the present invention provides an electronic device, including a power front-end protection circuit 7, a touch display screen 8 and an abnormal reset circuit as described in any one of the above items, wherein the input end of the power front-end protection circuit 7 is electrically connected to the power supply, the output end of the power front-end protection circuit 7 is electrically connected to the first end of the switching circuit 1, and the data end of the touch display screen 8 is electrically connected to the data end of the main controller 6.
[0045] Specifically, in this embodiment, the power front-end protection circuit 7 includes a surge protection circuit and a common-mode inductor isolation circuit. The surge protection circuit is connected in parallel with the power supply, and the common-mode inductor isolation circuit is connected in series with the power supply. It should be noted that in other embodiments, other types of power front-end protection circuits 7 may also be used, which are not specifically limited here, but these solutions are within the protection scope of the present invention.
[0046] In this embodiment, the touch screen 8 can be a MIPI display screen with a capacitive touch function, and touch screens of different sizes can be equipped according to user needs. The main controller 6 and the touch screen 8 perform MIPI data communication and I2C communication to achieve human-computer interaction. It should be noted that in other embodiments, other types of touch screens 8 can also be used, which are not specifically limited here, but these solutions are all within the protection scope of the present invention.
[0047] The above are only preferred implementations of the present invention. The protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention.
Claims
1. An abnormal reset circuit, characterized in that: It includes a switch circuit, a discharge circuit, a step-down circuit, a comparison circuit, an auxiliary controller and a main controller; Wherein, the control end of the switch circuit is electrically connected to the first port of the auxiliary controller, the first end of the switch circuit is used to be electrically connected to the power supply, the first output end of the switch circuit is grounded, the second output end of the switch circuit is electrically connected to the input end of the discharge circuit, the output end of the discharge circuit is electrically connected to the input end of the buck circuit, the output end of the discharge circuit is electrically connected to the positive input end of the comparison circuit, the negative input end of the comparison circuit is connected to the power supply, the output end of the buck circuit is electrically connected to the power input end of the main controller, the output end of the comparison circuit is electrically connected to the second port of the auxiliary controller, and the data receiving end of the auxiliary controller is electrically connected to the data sending end of the main controller; The auxiliary controller is configured to implement the following steps by executing a computer program stored therein: After receiving the start signal and when the timing information is not received within a preset time, generating a first control signal to the switch circuit so that the switch circuit switches from the first output end to the second output end, and receiving the output signal of the comparison circuit at the same time; judging whether the discharge circuit has completed discharge according to the output signal; When it is determined that the discharge circuit has completed discharging, a second control signal is generated to the switch circuit so that the switch circuit switches from the second output end to the first output end; After receiving the start signal, the method further includes: when receiving timing information within a preset time, generating a second control signal to the switch circuit so that the switch circuit switches from the second output end to the first output end.
2. The abnormal reset circuit according to claim 1, characterized in that: The discharge circuit includes a first resistor, a second resistor, a first diode, a second diode, a switch tube and a first capacitor. The anode of the first diode is electrically connected to the second output end of the switch circuit, the anode of the second diode is electrically connected to the second output end of the switch circuit, the cathode of the first diode is electrically connected to the control end of the switch tube, the cathode of the second diode is electrically connected to the first end of the switch tube, one end of the first resistor is electrically connected to the control end of the switch tube, the other end of the first resistor is grounded, one end of the second resistor is electrically connected to the second end of the switch tube, the other end of the second resistor is grounded, the other end of the second resistor is electrically connected to one end of the first capacitor, and the other end of the first capacitor is electrically connected to the cathode of the second diode.
3. The abnormal reset circuit according to claim 2, characterized in that: The switch tube is a PNP type triode, the control end of the switch tube is the base, the first end of the switch tube is the emitter, and the second end of the switch tube is the collector.
4. The abnormal reset circuit according to claim 1, characterized in that: The comparison circuit includes a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a voltage regulator and a voltage comparator. One end of the fifth resistor is electrically connected to the output end of the discharge circuit, the other end of the fifth resistor is electrically connected to the positive input end of the voltage comparator, the negative input end of the voltage comparator is electrically connected to one end of the fourth resistor, the other end of the fourth resistor is electrically connected to the positive electrode of the voltage regulator, the negative input end of the voltage comparator is electrically connected to one end of the sixth resistor, the other end of the sixth resistor is electrically connected to the negative electrode of the voltage regulator, one end of the third resistor is electrically connected to the negative electrode of the voltage regulator, the other end of the third resistor is connected to a power supply, one end of the seventh resistor is electrically connected to the output end of the voltage comparator, the other end of the seventh resistor is electrically connected to the second port of the auxiliary controller, one end of the eighth resistor is electrically connected to the second port of the auxiliary controller, and the other end of the eighth resistor is grounded.
5. The abnormal reset circuit according to claim 1, characterized in that: The switching circuit includes an electronic switch, a second capacitor and a ninth resistor, wherein the first end of the electronic switch is used to be electrically connected to a power supply, the first output end of the electronic switch is electrically connected to one end of the second capacitor, the other end of the second capacitor is grounded, the second output end of the electronic switch is electrically connected to the input end of the discharge circuit, one end of the ninth resistor is electrically connected to the control end of the electronic switch, and the other end of the ninth resistor is grounded.
6. The abnormal reset circuit according to claim 1, characterized in that: The step-down circuit is a DCDC step-down circuit.
7. An electronic device, characterized in that: It includes a power front-end protection circuit, a touch display screen, and an abnormal reset circuit as described in any one of claims 1 to 6, wherein the input end of the power front-end protection circuit is electrically connected to the power supply, the output end of the power front-end protection circuit is electrically connected to the first end of the switch circuit, and the data end of the touch display screen is electrically connected to the data end of the main controller.
8. An electronic device according to claim 7, characterized in that: The power front-end protection circuit comprises a surge protection circuit and a common-mode inductor isolation circuit. The surge protection circuit is connected in parallel with the power supply, and the common-mode inductor isolation circuit is connected in series with the power supply.
