Controller reset detection method and system, electronic equipment and storage medium

By building a detection circuit of the controller, using the status of the detection lamp to detect the controller reset state in real time, the problem of difficulty in detecting the controller reset in the prior art is solved, and effective monitoring of the controller reset state is achieved.

CN119472617AInactive Publication Date: 2025-02-18WEICHAI POWER CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202510052781.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-14
Publication Date
2025-02-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is difficult to detect whether a reset occurs in the controller, especially since the reset operation time is usually short and the execution of the load is difficult to observe.

Method used

The detection circuit of the controller is constructed, including a first circuit, a second circuit and a detection lamp. When the controller outputs a non-zero voltage, the first circuit is turned on and the detection lamp is in a state of non-illumination; when the controller's output voltage is zero, the second circuit is turn on and the detection lamp is in a state of illumination. Based on this detection circuit, the reset state of the controller is detected.

Benefits of technology

By observing the status of the detection lamp in the detection circuit, it is possible to detect whether the controller has reset in real time, solving the problem that it is difficult to detect the controller reset in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119472617A_ABST
    Figure CN119472617A_ABST
Patent Text Reader

Abstract

The invention provides a controller reset detection method and system, electronic equipment and a storage medium. The method for detecting the reset of the controller comprises the following steps of: constructing a detection circuit of the controller; wherein the detection circuit comprises a first loop, a second loop and a detection lamp; when the controller outputs a non-zero voltage, the first loop is conducted, and the detection lamp is in a non-light state; and when the output voltage of the controller is zero, the second loop is switched on, and the detection lamp is in a lighting state. And detecting the reset state of the controller based on the detection circuit. Therefore, according to the method provided by the invention, once the output voltage of the controller is zero, the detection lamp in the detection circuit is in a lightened state, and when the controller is reset, the output voltage can be reduced from the normal voltage to 0V for a short time. Therefore, whether the controller is reset or not can be detected in real time by observing the state of the detection lamp in the detection circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of device detection, and in particular to a method, system, electronic device and storage medium for controller reset detection. Background Art

[0002] In order to verify the reliability of the controller, a series of reliability tests are usually conducted to expose its design defects. Among them, the controller reset is often not visually observable, and according to previous test results, the controller reset action time is usually very short, so it is difficult to detect whether the controller has been reset through the execution of the load. Summary of the invention

[0003] In view of this, the present application provides a method, system, electronic device and storage medium for detecting controller reset, so as to solve the problem in the prior art that it is difficult to detect whether a controller reset has occurred.

[0004] To achieve the above objectives, this application provides the following technical solutions:

[0005] The first aspect of the present application discloses a method for controller reset detection, comprising:

[0006] Construct a detection circuit of the controller; wherein the detection circuit includes a first loop, a second loop and a detection light; when the controller outputs a non-zero voltage, the first loop is turned on and the detection light is in an off state; when the output voltage of the controller is zero, the second loop is turned on and the detection light is in a lit state;

[0007] Based on the detection circuit, the reset state of the controller is detected.

[0008] Optionally, in the above method, the detection circuit includes:

[0009] A controller, a first relay, a second relay, an anti-reverse diode, a current limiting resistor, the detection lamp, a power supply, and a normally closed reset switch;

[0010] The first end of the controller is connected to the first end of the power supply, and the second end of the controller is connected to the end a of the first relay;

[0011] The b end of the first relay is connected to one end of the current limiting resistor, the c end of the first relay is connected between the controller and the power supply, and the d end of the first relay is connected to one end of the anti-reverse diode;

[0012] The a terminal of the second relay is connected to the other end of the anti-reverse diode and the e terminal of the second relay, the b terminal of the second relay is connected to one end of the detection lamp, and the c terminal of the second relay is connected to one end of the normally closed reset switch;

[0013] The other end of the detection lamp is connected between the b end of the first relay and the current limiting resistor;

[0014] The other end of the current limiting resistor is connected to the second end of the power supply;

[0015] The other end of the normally closed reset switch is connected between the controller and the power supply.

[0016] Optionally, in the above method, when the controller outputs a non-zero voltage, the C terminal and the E terminal of the first relay are connected, and the C terminal and the D terminal of the second relay are connected, so as to form the first loop;

[0017] When the output voltage of the controller is zero, the C terminal and the D terminal of the first relay are connected, and the C terminal and the E terminal of the second relay are connected, so as to form the second loop.

[0018] Optionally, in the above method, the detecting the reset state of the controller based on the detection circuit includes:

[0019] If the detection light is on, determining whether there is a timing problem in the detection circuit;

[0020] If there is no timing problem, it is determined that the controller has been reset.

[0021] Optionally, the above method further includes:

[0022] If there is a timing problem, the normally closed reset switch is controlled to open and then close to reset the detection circuit.

[0023] The second aspect of the present application discloses a system for controller reset detection, comprising:

[0024] A detection circuit module is used to construct a detection circuit of the controller; wherein the detection circuit includes a first loop, a second loop and a detection light; when the controller outputs a non-zero voltage, the first loop is turned on and the detection light is in an off state; when the output voltage of the controller is zero, the second loop is turned on and the detection light is in a lit state;

[0025] A detection module is used to detect the reset state of the controller based on the detection circuit.

[0026] Optionally, in the above system, the detection circuit module includes:

[0027] A controller, a first relay, a second relay, an anti-reverse diode, a current limiting resistor, the detection lamp, a power supply, and a normally closed reset switch;

[0028] The first end of the controller is connected to the first end of the power supply, and the second end of the controller is connected to the end a of the first relay;

[0029] The b end of the first relay is connected to one end of the current limiting resistor, the c end of the first relay is connected between the controller and the power supply, and the d end of the first relay is connected to one end of the anti-reverse diode;

[0030] The a terminal of the second relay is connected to the other end of the anti-reverse diode and the e terminal of the second relay, the b terminal of the second relay is connected to one end of the detection lamp, and the c terminal of the second relay is connected to one end of the normally closed reset switch;

[0031] The other end of the detection lamp is connected between the b end of the first relay and the current limiting resistor;

[0032] The other end of the current limiting resistor is connected to the second end of the power supply;

[0033] The other end of the normally closed reset switch is connected between the controller and the power supply.

[0034] Optionally, in the above system, when the controller outputs a non-zero voltage, the C terminal and the E terminal of the first relay are connected, and the C terminal and the D terminal of the second relay are connected, so as to form the first loop;

[0035] When the output voltage of the controller is zero, the C terminal and the D terminal of the first relay are connected, and the C terminal and the E terminal of the second relay are connected, so as to form the second loop.

[0036] Optionally, in the above system, the detection module includes:

[0037] A first determination submodule, configured to determine whether there is a timing problem in the detection circuit if the detection light is in a lit state;

[0038] The second determining submodule is used to determine that the controller is reset if there is no timing problem.

[0039] Optionally, the above system further includes:

[0040] The control module is used to control the normally closed reset switch to open and then close if there is a timing problem, so as to reset the detection circuit.

[0041] The third aspect of the present application discloses an electronic device, comprising:

[0042] one or more processors;

[0043] a storage device having one or more programs stored thereon;

[0044] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the first aspects of the present invention.

[0045] A fourth aspect of the present application discloses a computer storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any one of the first aspects of the present invention is implemented.

[0046] It can be seen from the above technical solution that in a method for controller reset detection provided by the present application, a detection circuit of the controller is constructed; wherein the detection circuit includes a first circuit, a second circuit and a detection light; when the controller outputs a non-zero voltage, the first circuit is turned on, and the detection light is in an off state; when the output voltage of the controller is zero, the second circuit is turned on, and the detection light is in a lit state. Based on the detection circuit, the reset state of the controller is detected. It can be seen that, using the method of the present application, once the output voltage of the controller is zero, the detection light in the detection circuit will be in a lit state, and when the controller is reset, the output voltage will be briefly pulled down from the normal voltage to 0V. Therefore, by observing the state of the detection light in the detection circuit, it is possible to detect in real time whether the controller has been reset. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application 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 embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0048] Figure 1 A flowchart of a controller reset detection method disclosed in an embodiment of the present application;

[0049] Figure 2 A circuit diagram of a detection circuit disclosed in an embodiment of the present application;

[0050] Figure 3 A schematic diagram of a controller reset detection method system disclosed in an embodiment of the present application;

[0051] Figure 4 A schematic diagram of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0054] Furthermore, in this document, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0055] As can be seen from the background technology, in order to verify the reliability of the controller, a series of reliability tests are usually carried out to expose its design defects. Among them, the controller reset is often not visually observable, and according to previous test results, the controller reset action time is usually very short, so it is difficult to detect whether the controller has been reset through the execution of the load.

[0056] In view of this, the present application provides a method, system, electronic device and storage medium for detecting controller reset, so as to solve the problem in the prior art that it is difficult to detect whether a controller reset has occurred.

[0057] The present application embodiment provides a method for detecting controller reset, such as Figure 1 As shown, specifically including:

[0058] S101. Construct a detection circuit of the controller; wherein the detection circuit includes a first circuit, a second circuit and a detection light; when the controller outputs a non-zero voltage, the first circuit is turned on and the detection light is in an off state; when the output voltage of the controller is zero, the second circuit is turned on and the detection light is in a lit state.

[0059] It should be noted that first, a detection circuit including a first circuit, a second circuit and a detection light is constructed for the controller (ECU for short). When the controller works normally, the output voltage will be determined according to the controller's own specifications, such as 5V. At this time, the first circuit is turned on and the detection light is off, indicating that the output voltage of the controller is not zero. When the controller is reset due to some factors, the output voltage will be briefly pulled down to 0V. When the output voltage of the controller is zero, the second circuit is turned on and the detection light is on, indicating that the output voltage of the controller is zero, and the situation when the output voltage of the controller is zero can be intuitively observed.

[0060] Optionally, in another embodiment of the present application, an implementation of the detection circuit in the above step S101 is as follows: Figure 2 As shown, it may include:

[0061] Controller, first relay, second relay, anti-reverse diode, current limiting resistor, detection light, power supply, normally closed reset switch.

[0062] The first end of the controller is connected to the first end of the power supply, and the second end of the controller is connected to the end a of the first relay.

[0063] The b end of the first relay is connected to one end of the current limiting resistor, the c end of the first relay is connected between the controller and the power supply, and the d end of the first relay is connected to one end of the anti-reverse diode.

[0064] The a end of the second relay is connected to the other end of the anti-reverse diode and the e end of the second relay, the b end of the second relay is connected to one end of the detection lamp, and the c end of the second relay is connected to one end of the normally closed reset switch.

[0065] The other end of the detection lamp is connected between the b end of the first relay and the current limiting resistor.

[0066] The other end of the current limiting resistor is connected to the second end of the power supply.

[0067] The other end of the normally closed reset switch is connected between the controller and the power supply.

[0068] It should be noted that the detection circuit of the controller is composed of a controller, a first relay, a second relay, an anti-reverse diode, a current limiting resistor, a detection light, a power supply, and a normally closed reset switch. Among them, the e-end of the first relay and the second relay is a normally open contact, and the d-end is a normally closed contact. The normally open contact refers to a contact that is disconnected from the moving contact (c-end) under normal conditions (no power), and the normally closed contact refers to a contact that is closed with the moving contact under normal conditions. The detection circuit connects the output voltage of the ECU to the control end of the relay, and then connects it to the ground through a current limiting resistor to ensure that the circuit will not have problems due to excessive current. Placing the current limiting resistor after the relay is also to ensure that the relay will not fail due to the voltage division of the current limiting resistor.

[0069] Optionally, in another embodiment of the present application, based on Figure 2 In the detection circuit, when the controller outputs a non-zero voltage, the C terminal and the E terminal of the first relay are connected, and the C terminal and the D terminal of the second relay are connected, forming a first loop.

[0070] When the output voltage of the controller is zero, the C terminal and the D terminal of the first relay are connected, and the C terminal and the E terminal of the second relay are connected, forming a second loop.

[0071] It should be noted that when the ECU is working normally, the output voltage passes through the control end of the first relay, the ab end of the first relay is turned on, and an electromagnetic field is generated to turn on the ce end of the normally open contact circuit of the first relay. At this time, no current passes through the ab end of the second relay, and the c end and the d end are turned on to form the first circuit. No current passes through the detection light, so it is in a dark state.

[0072] When the ECU is reset, the output voltage will be pulled down to 0V, resulting in no voltage in the controller coil, and the first relay's normally closed contact loop cd end will be turned on. When the first relay's normally closed contact loop cd end is turned on, the second relay will begin to have an electromagnetic field and will turn on the second relay's normally open loop ce end, entering the self-locking power mode. Among them, the ab end of the second relay needs to flow with current in order to turn on the ce end. At the same time, after the ce end is turned on, the power supply voltage will be connected to the ab end, so that the ab end continues to flow with current, turning on the ce end, so that the second relay always remains energized and turns on the second relay's normally open loop ce end, so that the detection light remains on, so that it is easier to observe the situation where the controller's output voltage is zero. Avoid the controller reset time being too short, which will cause the detection light to be on for too short a time, making it difficult to observe this change.

[0073] S102: Detect the reset state of the controller based on the detection circuit.

[0074] It should be noted that, according to the above detection circuit, the state of the controller when the output voltage is zero can be displayed in real time by lighting the detection light, so as to detect the reset state of the controller and determine whether the controller has been reset.

[0075] Optionally, in another embodiment of the present application, an implementation of the above step S102 may include:

[0076] If the test light is on, determine if there is a timing problem in the test circuit.

[0077] If there is no timing issue, determine that the controller has reset.

[0078] It should be noted that the ECU output voltage of 0 may also be caused by a timing problem. Therefore, when the detection light is on, first determine whether there is a timing problem in the detection circuit to rule out the situation where the LED light is mistakenly lit due to a timing problem when the ECU is powered on. If there is no timing problem, it means that the controller has been reset.

[0079] Optionally, in another embodiment of the present application, the controller reset detection method may further include:

[0080] If there is a timing problem, the normally closed reset switch is controlled to open and then close to reset the detection circuit.

[0081] It should be noted that if there is a timing problem, the normally closed reset switch is controlled to open and then closed to reset the detection circuit. The normally closed reset switch can control whether the power supply voltage is connected to relay 2. If the second relay cannot be connected to the power supply voltage due to the reset switch being disconnected, the second relay cannot always remain powered on, and the normally open circuit ce end of the second relay will be disconnected, turning off the detection light, which can be understood as the initialization of the entire device.

[0082] In a method for controller reset detection provided in an embodiment of the present application, a detection circuit of the controller is constructed; wherein the detection circuit includes a first circuit, a second circuit and a detection light; when the controller outputs a non-zero voltage, the first circuit is turned on, and the detection light is in an off state; when the output voltage of the controller is zero, the second circuit is turned on, and the detection light is in a lit state. Based on the detection circuit, the reset state of the controller is detected. It can be seen that, using the method of the present application, once the output voltage of the controller is zero, the detection light in the detection circuit will be in a lit state, and when the controller is reset, the output voltage will be briefly pulled down from the normal voltage to 0V. Therefore, by observing the state of the detection light in the detection circuit, it is possible to detect in real time whether the controller has been reset.

[0083] Another embodiment of the present application also discloses a controller reset detection system, such as Figure 3 As shown, specifically including:

[0084] The detection circuit module 301 is used to construct the detection circuit of the controller; wherein the detection circuit includes a first circuit, a second circuit and a detection light; when the controller outputs a non-zero voltage, the first circuit is turned on and the detection light is in an off state; when the output voltage of the controller is zero, the second circuit is turned on and the detection light is in a lit state.

[0085] The detection module 302 is used to detect the reset state of the controller based on the detection circuit.

[0086] In this embodiment, the specific execution process of the detection circuit module 301 and the detection module 302 can be found in the corresponding Figure 1 The content of the method embodiment will not be repeated here.

[0087] In a system for controller reset detection provided by an embodiment of the present application, a detection circuit module 301 constructs a detection circuit of the controller; wherein the detection circuit includes a first circuit, a second circuit and a detection light; when the controller outputs a non-zero voltage, the first circuit is turned on, and the detection light is in an off state; when the output voltage of the controller is zero, the second circuit is turned on, and the detection light is in a lit state. The detection module 302 detects the reset state of the controller based on the detection circuit. It can be seen that, using the method of the present application, once the output voltage of the controller is zero, the detection light in the detection circuit will be in a lit state, and when the controller is reset, the output voltage will be briefly pulled down from the normal voltage to 0V. Therefore, by observing the state of the detection light in the detection circuit, it is possible to detect in real time whether the controller has been reset.

[0088] Optionally, in another embodiment of the present application, an implementation of the detection circuit module 301 includes:

[0089] Controller, first relay, second relay, anti-reverse diode, current limiting resistor, detection light, power supply, normally closed reset switch.

[0090] The first end of the controller is connected to the first end of the power supply, and the second end of the controller is connected to the end a of the first relay.

[0091] The b end of the first relay is connected to one end of the current limiting resistor, the c end of the first relay is connected between the controller and the power supply, and the d end of the first relay is connected to one end of the anti-reverse diode.

[0092] The a end of the second relay is connected to the other end of the anti-reverse diode and the e end of the second relay, the b end of the second relay is connected to one end of the detection lamp, and the c end of the second relay is connected to one end of the normally closed reset switch.

[0093] The other end of the detection lamp is connected between the b end of the first relay and the current limiting resistor.

[0094] The other end of the current limiting resistor is connected to the second end of the power supply.

[0095] The other end of the normally closed reset switch is connected between the controller and the power supply.

[0096] In this embodiment, the specific execution process of the controller, the first relay, the second relay, the anti-reverse diode, the current limiting resistor, the detection light, the power supply, and the normally closed reset switch can be referred to the corresponding method embodiment content above, and will not be repeated here.

[0097] Optionally, in another embodiment of the present application, in an implementation manner of the detection circuit module 301, when the controller outputs a non-zero voltage, the C terminal and the E terminal of the first relay are turned on, and the C terminal and the D terminal of the second relay are turned on to form a first loop.

[0098] When the output voltage of the controller is zero, the C terminal and the D terminal of the first relay are connected, and the C terminal and the E terminal of the second relay are connected, forming a second loop.

[0099] In this embodiment, the specific execution process of the detection circuit module 301 can refer to the corresponding method embodiment described above, which will not be repeated here.

[0100] Optionally, in another embodiment of the present application, an implementation of the detection module 302 includes:

[0101] The first determination submodule is used to determine whether there is a timing problem in the detection circuit if the detection lamp is in the on state.

[0102] The second determining submodule is used to determine if the controller is reset if there is no timing problem.

[0103] In this embodiment, the specific execution process of the first determination submodule and the second determination submodule can refer to the corresponding method embodiment content mentioned above, which will not be repeated here.

[0104] Optionally, in another embodiment of the present application, the controller reset detection system includes:

[0105] The control module is used to control the normally closed reset switch to open and then close if there is a timing problem, so as to reset the detection circuit.

[0106] In this embodiment, the specific execution process of the control module can refer to the corresponding method embodiment content mentioned above, which will not be repeated here.

[0107] Another embodiment of the present application further provides an electronic device, such as Figure 4As shown, specifically including:

[0108] One or more processors 401 .

[0109] The storage device 402 stores one or more programs.

[0110] When one or more programs are executed by one or more processors 401 , the one or more processors 401 implement any one of the methods in the above embodiments.

[0111] Another embodiment of the present application further provides a computer storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, any one of the methods in the above embodiments is implemented.

[0112] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0113] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0114] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A controller reset detection method, characterized in that: include: Construct a detection circuit of the controller; wherein the detection circuit includes a first loop, a second loop and a detection light; when the controller outputs a non-zero voltage, the first loop is turned on and the detection light is in an off state; when the output voltage of the controller is zero, the second loop is turned on and the detection light is in a lit state; Based on the detection circuit, the reset state of the controller is detected.

2. The method according to claim 1, characterized in that The detection circuit comprises: A controller, a first relay, a second relay, an anti-reverse diode, a current limiting resistor, the detection lamp, a power supply, and a normally closed reset switch; The first end of the controller is connected to the first end of the power supply, and the second end of the controller is connected to the end a of the first relay; The b end of the first relay is connected to one end of the current limiting resistor, the c end of the first relay is connected between the controller and the power supply, and the d end of the first relay is connected to one end of the anti-reverse diode; The a terminal of the second relay is connected to the other end of the anti-reverse diode and the e terminal of the second relay, the b terminal of the second relay is connected to one end of the detection lamp, and the c terminal of the second relay is connected to one end of the normally closed reset switch; The other end of the detection lamp is connected between the b end of the first relay and the current limiting resistor; The other end of the current limiting resistor is connected to the second end of the power supply; The other end of the normally closed reset switch is connected between the controller and the power supply.

3. The method according to claim 2, characterized in that When the controller outputs a non-zero voltage, the C terminal and the E terminal of the first relay are connected, and the C terminal and the D terminal of the second relay are connected, so as to form the first loop; When the output voltage of the controller is zero, the C terminal and the D terminal of the first relay are connected, and the C terminal and the E terminal of the second relay are connected, so as to form the second loop.

4. The method according to claim 3, characterized in that The detecting the reset state of the controller based on the detection circuit includes: If the detection light is on, determining whether there is a timing problem in the detection circuit; If there is no timing problem, it is determined that the controller has been reset.

5. The method according to claim 3, characterized in that: Also includes: If there is a timing problem, the normally closed reset switch is controlled to open and then close to reset the detection circuit.

6. A controller reset detection system, characterized in that: include: A detection circuit module is used to construct a detection circuit of the controller; wherein the detection circuit includes a first loop, a second loop and a detection light; when the controller outputs a non-zero voltage, the first loop is turned on and the detection light is in an off state; when the output voltage of the controller is zero, the second loop is turned on and the detection light is in a lit state; A detection module is used to detect the reset state of the controller based on the detection circuit.

7. The system according to claim 6, characterized in that The detection circuit module comprises: A controller, a first relay, a second relay, an anti-reverse diode, a current limiting resistor, the detection lamp, a power supply, and a normally closed reset switch; The first end of the controller is connected to the first end of the power supply, and the second end of the controller is connected to the end a of the first relay; The b end of the first relay is connected to one end of the current limiting resistor, the c end of the first relay is connected between the controller and the power supply, and the d end of the first relay is connected to one end of the anti-reverse diode; The a terminal of the second relay is connected to the other end of the anti-reverse diode and the e terminal of the second relay, the b terminal of the second relay is connected to one end of the detection lamp, and the c terminal of the second relay is connected to one end of the normally closed reset switch; The other end of the detection lamp is connected between the b end of the first relay and the current limiting resistor; The other end of the current limiting resistor is connected to the second end of the power supply; The other end of the normally closed reset switch is connected between the controller and the power supply.

8. The system according to claim 7, characterized in that When the controller outputs a non-zero voltage, the C terminal and the E terminal of the first relay are connected, and the C terminal and the D terminal of the second relay are connected, so as to form the first loop; When the output voltage of the controller is zero, the C terminal and the D terminal of the first relay are connected, and the C terminal and the E terminal of the second relay are connected, so as to form the second loop.

9. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 5.

10. A computer storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Low voltage resetting method for microcontroller

    CN101436095A

  • Power saver and control method thereof

    CN101657055A

  • Slip ring detection device and detection method for rail transit

    CN113109739A

  • Test loop anomaly detection system and method and storage medium

    CN118465663A

  • Controlling device of auto cooling fan

    CN201377457Y