Latch circuit and electronic equipment

By designing the signal transmission line and control module of the latching circuit, the error problem caused by interference during signal transmission was solved, achieving accurate signal transmission and improving circuit stability, thus enhancing the reliability of electronic equipment.

CN224068646UActive Publication Date: 2026-03-31SHENZHEN MEGMEET ELECTRICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

In existing technologies, signal transmission is easily affected by interference, leading to signal errors, resulting in low circuit reliability and poor stability. In particular, pulse signal detection and electromagnetic interference in digital circuits seriously affect the normal operation of the circuit.

Method used

Design a latching circuit, including a signal transmission line, a control module, and a latching module. The control module acquires the input signal and outputs a control signal to the latching module, while the control signal transmission line continuously outputs a specific signal to avoid interference.

Benefits of technology

This improves the accuracy of signal transmission and the stability of the circuit, ensuring that the controller receives accurate voltage signals and enhancing the reliability of electronic equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224068646U_ABST
    Figure CN224068646U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of power electronics, and mainly provides a latch circuit and electronic equipment, the circuit comprises a signal transmission line, a latch module and a control module connected with the input end of the signal transmission line, the latch module is connected with the output end of the signal transmission line and the control module, and the signal transmission line is connected with a detection circuit and a controller; the signal transmission line is used for transmitting a voltage signal output by the detection circuit to the controller; the control module is used for collecting the voltage signal and outputting a first control signal to the latch module when the voltage signal is a first signal, so that the latch module controls the signal transmission line to continuously output the first signal; and when the voltage signal is a second signal, outputting a second control signal to the latch module, so that the latch module continuously outputs the second signal to the controller. On the basis, the corresponding output signal can be continuously output according to the input signal, so that interference on the voltage signal during signal transmission is avoided, and the stability and reliability of the electronic equipment are improved.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This utility model relates to the technical field of power electronics, and in particular to a latching circuit and electronic device. [Background Technology]

[0002] In the modern power electronics industry, with the widespread application of various electrical equipment and the increasing complexity of power systems, the requirements for the stability of the entire system have reached unprecedented levels. A stable power supply is crucial for ensuring the normal operation of industrial production and the orderly functioning of residents' lives. Among the many aspects of maintaining system stability, accurate voltage and current detection play an indispensable role. The detection of key parameters such as bus voltage, bus current, phase current, phase voltage, line current, and line voltage directly affects whether the system can operate smoothly and allows for the timely detection and handling of potential faults.

[0003] However, current detection technologies exhibit significant shortcomings in practical applications. For example, in digital circuit architectures, instantaneously generated pulse signals, used as indicators of critical events, often fail to retain a record of their occurrence after the pulse disappears, leading to the omission of crucial information. In event counter circuits, each pulse corresponds to one event count; due to the short duration of the pulse, the counter is highly likely to miss some pulses, causing the counting result to deviate from the actual situation.

[0004] Meanwhile, signal integrity is also severely threatened. Complex circuit environments are filled with electromagnetic interference generated by the starting and stopping of devices such as motors and relays. When the detection circuit processes weak signals, this interference acts like a raging undercurrent, distorting the detection signal. Especially in digital circuits based on signal edge triggering, signal edge jitter can cause erroneous state transitions of the flip-flops, thus affecting the normal operation logic of the entire circuit. Therefore, to improve the stability and reliability of the circuit, it is necessary to provide a latching circuit. [Utility Model Content]

[0005] This utility model provides a latching circuit and electronic device, which aims to solve the technical problem in the prior art where signal transmission errors occur due to factors such as signal interference during signal transmission, resulting in low circuit reliability and stability.

[0006] To solve the above-mentioned technical problems, one technical solution adopted by this utility model is: to provide a latching circuit, the latching circuit including a signal transmission line, a control module and a latching module;

[0007] The control module is connected to the input end of the signal transmission line and the latch module respectively. The latch module is connected to the output end of the signal transmission line. The signal transmission line is also used to connect the detection circuit and the controller.

[0008] The signal transmission line is used to receive the voltage signal output by the detection circuit and transmit the voltage signal to the controller;

[0009] The control module is used to acquire the voltage signal at the input terminal of the signal transmission line, and when the voltage signal is a first signal, output a first control signal to the latching module, so that the latching module controls the signal transmission line to continuously output the first signal based on the first control signal; and

[0010] When the voltage signal is the second signal, a second control signal is output to the latch module, so that the latch module controls the signal transmission line to continuously output the second signal to the controller based on the second control signal.

[0011] Optionally, the latch module includes a first locking unit and a second locking unit;

[0012] The control terminal of the first locking unit is connected to the control module, the first end of the first locking unit is connected to the output terminal of the signal transmission line, the second end of the first locking unit is connected to the ground terminal, the first end of the second locking unit is connected to the first power supply, and the second end of the second locking unit is connected to the output terminal of the signal transmission line.

[0013] The first locking unit is configured to start operating upon receiving the second control signal, so as to control the signal transmission line to continuously output the second signal; and

[0014] It stops working after receiving the first control signal;

[0015] The second locking unit is used to control the signal transmission line to continuously output the first signal based on the first power supply after the first locking unit stops working.

[0016] Optionally, the first locking unit includes a switch Q2, a resistor R5, and a resistor R6;

[0017] The control terminal of the switch Q2 is connected to the control module through the resistor R5. The control terminal of the switch Q2 is also grounded through the resistor R6. The first terminal of the switch Q2 is connected to the output terminal of the signal transmission line, and the second terminal of the switch Q2 is used for grounding.

[0018] Optionally, the second locking unit includes a resistor R4;

[0019] The first end of the resistor R4 is connected to the first power supply, and the second end of the resistor R4 is connected to the output end of the signal transmission line.

[0020] Optionally, the control module includes a control unit and a voltage supply unit;

[0021] The control unit is connected to the input terminal of the signal transmission line and the voltage supply unit respectively. The control unit is also connected to the latch module. The voltage supply unit is also used to connect to the first power supply.

[0022] The control unit is configured to start operating when the voltage signal is a first signal, thereby outputting a first control signal to the latch module; and

[0023] The operation stops when the voltage signal is the second signal, so as to output a second control signal to the latch module based on the voltage supply unit.

[0024] Optionally, the control unit includes a switching transistor Q1, a resistor R1, and a resistor R2;

[0025] The control terminal of the switch Q1 is connected to the input terminal of the signal transmission line through the resistor R1. The control terminal of the switch Q1 is also grounded through the resistor R2. The first terminal of the switch Q1 is connected to the voltage supply unit and the latch module respectively, and the second terminal of the switch Q1 is used for grounding.

[0026] Optionally, the voltage providing unit includes a resistor R3;

[0027] The first end of the resistor R3 is connected to the first power supply, and the second end of the resistor R3 is connected to the first end of the switching transistor Q1.

[0028] Optionally, the latch module is further configured to receive an unlock signal and control the signal transmission line to continuously output a first signal to the controller based on the unlock signal.

[0029] To solve the above-mentioned technical problems, another technical solution adopted in this utility model embodiment is: to provide an electronic device, the electronic device comprising:

[0030] Controller;

[0031] Detection circuit; and

[0032] The latching circuit described above.

[0033] Unlike related technologies, this utility model provides a latching circuit and electronic device. The latching circuit includes a signal transmission line, a control module, and a latching module. The control module is connected to the input end of the signal transmission line and the latching module, respectively. The latching module is connected to the output end of the signal transmission line. The signal transmission line is also used to connect a detection circuit and a controller. The signal transmission line receives a voltage signal output by the detection circuit and transmits the voltage signal to the controller. The control module acquires the voltage signal at the input end of the signal transmission line and, when the voltage signal is a first signal, outputs a first control signal to the latching module, so that the latching module controls the signal transmission line to continuously output a first signal based on the first control signal. When the voltage signal is a second signal, it outputs a second control signal to the latching module, so that the latching module controls the signal transmission line to continuously output a second signal to the controller based on the second control signal. Therefore, the latching module and control module can continuously output a corresponding output signal according to the input signal, thereby avoiding interference with the voltage signal during signal transmission and improving the stability and reliability of the electronic device. [Attached Image Description]

[0034] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0035] Figure 1 A structural block diagram of an electronic device provided in an embodiment of this utility model;

[0036] Figure 2 This is a structural block diagram of a latching circuit provided in an embodiment of the present invention;

[0037] Figure 3 This is a circuit diagram of a latching circuit provided in an embodiment of the present invention.

Detailed Implementation Methods

[0038] To make the objectives, technical solutions, and advantages of this utility model clearer, the present utility model will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this utility model and are not intended to limit this utility model.

[0039] The technical features involved in the various embodiments of this application described below do not conflict with each other and can be combined with each other.

[0040] When an element is described as "connected" to another element, it can be directly connected to the other element, or there may be one or more intervening elements between them.

[0041] The terms "first," "second," etc., used in the specification and claims of this utility model are used to distinguish similar objects and are not used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, the first object can be one or more.

[0042] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the invention. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.

[0043] Please see Figure 1 , Figure 1 A structural block diagram of an electronic device provided in an embodiment of this utility model is shown below. Figure 1 As shown, the electronic device 100 includes a detection circuit 10, a controller 20, and a latching circuit 30; the latching circuit 30 is connected to both the detection circuit 10 and the controller 20. The electronic device 100 also includes a working circuit 40, with the detection circuit 10 connected to the working circuit 40. The detection circuit 10 detects whether the working circuit 40 has overcurrent or overvoltage faults, and outputs a voltage signal to the latching circuit 30 based on the detection result. The latching circuit 30 then accurately inputs the voltage signal to the controller 20, allowing the controller 20 to control the operating state of the working circuit 40 according to the voltage signal. It should be noted that since the detection circuit 10 directly inputs the voltage signal to the controller 20 via a signal transmission line, interference may occur during signal transmission, causing errors in the voltage signal received by the controller 20. Therefore, the latching circuit 30 obtains the voltage signal output by the detection circuit 10, and outputs a corresponding signal to the controller 20 according to the state of the voltage signal output by the detection circuit 10, thereby preventing the controller 20 from receiving incorrect voltage signals and improving the accuracy of the electronic device 100.

[0044] In another embodiment, the detection circuit 10 is also used to detect the working state of the working circuit 40 and input the working state to the controller 20 through the latch circuit 30, so that the controller 20 accurately records the working state of the working circuit 40.

[0045] Furthermore, in some embodiments, please refer to Figure 2 , Figure 2 This is a structural block diagram of a latching circuit provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the latching circuit 30 includes a signal transmission line 31, a control module 32, and a latching module 33;

[0046] The control module 32 is connected to the input end of the signal transmission line 31 and the latch module 33 respectively. The latch module 33 is connected to the output end of the signal transmission line 31. The signal transmission line 31 is also used to detect the circuit 10 and the controller 20 respectively.

[0047] The signal transmission line 31 is used to receive the voltage signal output by the detection circuit 10 and transmit the voltage signal to the controller 20;

[0048] The control module 32 is used to acquire the voltage signal at the input terminal of the signal transmission line 31, and when the voltage signal is a first signal, output a first control signal to the latch module 32, so that the latch module 32 controls the signal transmission line 31 to continuously output the first signal based on the first control signal; and

[0049] When the voltage signal is the second signal, a second control signal is output to the latch module 33 so that the latch module 33 controls the signal transmission line 31 to continuously output the second signal to the controller 20 based on the second control signal.

[0050] It should be noted that the voltage signal output by the detection module 10 is a digital signal (high or low level). Therefore, when the detection circuit 10 outputs a voltage signal to the signal transmission line 31, the control module 32 acquires the voltage signal output by the detection circuit 10 and outputs a corresponding control signal to the latch module 33 based on the voltage signal. Upon receiving the corresponding control signal, the latch module 33 outputs a corresponding voltage signal to the output terminal of the signal transmission line 31, thereby ensuring that the voltage signal received by the controller 20 is consistent with the voltage signal output by the detection circuit 10. This avoids distortion caused by interference during signal transmission, thus improving the accuracy of the signal received by the controller 20.

[0051] In some embodiments, such as Figure 2As shown, the control module 32 includes a control unit 321 and a voltage supply unit 322;

[0052] The control unit 321 is connected to the input terminal of the signal transmission line 31 and the voltage supply unit 322 respectively. The control unit 321 is also connected to the latch module 33. The voltage supply unit 322 is also used to connect to the first power supply (not shown).

[0053] The control unit 321 is configured to start operating when the voltage signal is the first signal, thereby outputting a first control signal to the latch module 33; and

[0054] When the voltage signal is the second signal, the operation stops, so as to output a second control signal to the latch module 33 based on the voltage supply unit 322.

[0055] Specifically, when the detection circuit 10 outputs a voltage signal, the control unit 321 receives the voltage signal and determines its state. If the voltage signal is a first signal, the control unit 321 starts working based on the voltage signal, thereby outputting a first control signal to the latch module 33, so that the latch module 33 controls the signal transmission line 31 to continuously output the first signal to the controller 20 according to the first control signal. If the voltage signal is a second signal, the control unit 321 stops working after receiving the second signal, thereby causing the voltage supply unit 322 to output a second control signal to the latch module 33 based on the power supply voltage of the first power source, thereby locking the signal transmission line 31 to continuously output the second signal.

[0056] In yet another embodiment, please refer to Figure 3 , Figure 3 This is a circuit diagram of a latching circuit provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the control unit 321 includes a switching transistor Q1, a resistor R1, and a resistor R2; the voltage supply unit 322 includes a resistor R3.

[0057] The control terminal of the switch Q1 is connected to the input terminal of the signal transmission line 31 through the resistor R1. The control terminal of the switch Q1 is also grounded through the resistor R2. The first terminal of the switch Q1 is connected to the voltage supply unit 322 and the latch module 33 respectively. The second terminal of the switch Q1 is used for grounding.

[0058] The first end of the resistor R3 is connected to the first power supply, and the second end of the resistor R3 is connected to the first end of the switching transistor Q1.

[0059] Specifically, when the detection circuit 10 outputs a voltage signal to the input terminal (IN) of the signal transmission line 31, the switching transistor Q1 receives the voltage signal through the resistor R1. At this time, if the voltage signal is a first signal, the switching transistor Q1 is in the on state, thereby pulling down the control terminal voltage of the latch module 33, causing the latch module 33 to receive a first control signal. If the voltage signal is a second signal, the switching transistor Q2 is in the off state. At this time, the voltage of the first power supply is input to the control terminal of the latch module 33 through the resistor R3, causing the latch module 33 to receive the second control signal.

[0060] In another embodiment, such as Figure 2 As shown, the latch module 33 includes a first locking unit 331 and a second locking unit 332;

[0061] The control terminal of the first locking unit 331 is connected to the control module 32. The first end of the first locking unit 331 is connected to the output terminal of the signal transmission line 31. The second end of the first locking unit 331 is connected to the ground terminal. The first end of the second locking unit 332 is connected to the first power supply (not shown). The second end of the second locking unit 332 is connected to the output terminal of the signal transmission line 31.

[0062] The first locking unit 331 is configured to start operating after receiving the second control signal, so as to control the signal transmission line 31 to continuously output the second signal; and

[0063] It stops working after receiving the first control signal;

[0064] The second locking unit 332 is used to control the signal transmission line 31 to continuously output the first signal based on the first power supply after the first locking unit 331 stops working.

[0065] Specifically, the first locking unit 331 receives a first control signal or a second control signal output by the control module 32. Upon receiving the second control signal, it starts working according to the second control signal, thereby connecting the output end of the signal transmission line 31 to the grounding end through the first locking unit 331, and thus enabling the signal transmission line 31 to continuously output a second signal based on the grounding end. If the first locking unit 331 receives the first control signal, it stops working according to the first control signal. At this time, the second locking unit 332 outputs a first signal to the output end of the signal transmission line 31 based on the first power supply, thereby enabling the controller 20 to continuously receive the first signal output by the signal transmission line 31. Based on this, the signals received by the controller 20 can be locked by the first locking unit 331 and the second locking unit 332, thereby avoiding interference from uncertain factors and improving the accuracy of the controller 20.

[0066] Furthermore, in some embodiments, such as Figure 3 As shown, the first locking unit 331 includes a switch Q2, a resistor R5, and a resistor R6; the second locking unit 332 includes a resistor R4.

[0067] The control terminal of the switch Q2 is connected to the control module 32 through the resistor R5. The control terminal of the switch Q2 is also grounded through the resistor R6. The first terminal of the switch Q2 is connected to the output terminal of the signal transmission line 31, and the second terminal of the switch Q2 is grounded.

[0068] The first end of the resistor R4 is connected to the first power supply, and the second end of the resistor R4 is connected to the output end of the signal transmission line 31.

[0069] Specifically, when the control module 32 outputs the first control signal, the switch Q2 will be turned off based on the first control signal, thereby causing the first power supply to output the first signal to the output terminal (OUT) of the signal transmission line 31 through the resistor R4, thus enabling the controller 20 to continuously receive the first signal. When the control module 32 outputs the second control signal, the switch Q2 will be turned on based on the second control signal, thereby causing the output terminal of the signal transmission line 31 to be connected to the ground terminal through the switch Q2, thus enabling the controller 20 to continuously receive the second signal. Based on this, the controller 20 can continuously receive the first signal or the second signal through the first power supply and the ground terminal. At this time, even if there is signal interference on the signal transmission line 31, it will not affect the signal received by the controller 20, thereby improving the stability of the electronic device 100.

[0070] In some embodiments, the latch module is further configured to receive an unlock signal and control the signal transmission line to continuously output a first signal to the controller based on the unlock signal.

[0071] Specifically, such as Figure 3 As shown, the switch Q2 is also connected to the controller 20 through the resistor R5. It should be noted that if the controller 20 receives a faulty second signal, while the controller 20 continuously receives the second signal, the operator will inspect the electronic device 100 and, after troubleshooting, control the controller 20 to output an unlock signal to the latch module 33. At this time, the switch Q2 will receive the unlock signal based on the resistor R5 and will be turned off based on the unlock signal, thereby allowing the signal transmission line 31 to receive the power supply voltage of the first power source based on the resistor R4, thus enabling the controller 20 to continuously receive the first signal. If the first signal received by the controller 20 is a faulty state, after the fault is cleared, the switch Q2 will be turned on based on the received signal, thereby enabling the controller 20 to continuously receive the second signal.

[0072] In some real-time examples, when the detection circuit 10 is a current detector or a voltage detector, the current detector or voltage detector includes a comparator. When the operating circuit 40 is working normally, the comparator outputs a high-level signal. At this time, the signal transmission line 31 receives the high-level signal, and the switch Q1 also receives the high-level signal through the resistor R1, thereby turning on based on the high-level signal. When the switch Q1 is turned on, the control terminal of the switch Q2 is connected to the ground terminal through the resistor R5 and the switch Q1, thereby turning off the switch Q2. When the switch Q2 is turned off, the power supply voltage of the first power supply is output to the output terminal of the signal transmission line 31 through the resistor R4, thereby causing the controller 20 to continuously receive a high-level signal.

[0073] If the current detector or voltage detector detects an overcurrent / overvoltage fault in the operating circuit 40, the comparator will output a low-level signal. When the switch Q1 receives the low-level signal, it will be turned off based on the low-level signal. At this time, the control terminal of the switch Q2 is connected to the first power supply through resistors R5 and R3, thereby turning on the switch Q2. When the switch Q2 is turned on, the output terminal of the signal transmission line 31 is directly grounded through the switch Q2, so that the controller 20 continuously receives a low-level signal. Based on this, the corresponding output signal can be output according to the input signal, avoiding interference from external factors and improving the stability and reliability of the electronic device 100.

[0074] This utility model provides a latching circuit, which includes a signal transmission line, a control module, and a latching module. The control module is connected to the input end of the signal transmission line and the latching module, respectively. The latching module is connected to the output end of the signal transmission line. The signal transmission line is also used to connect a detection circuit and a controller. The signal transmission line receives a voltage signal output by the detection circuit and transmits the voltage signal to the controller. The control module collects the voltage signal at the input end of the signal transmission line and, when the voltage signal is a first signal, outputs a first control signal to the latching module, so that the latching module controls the signal transmission line to continuously output a first signal based on the first control signal. When the voltage signal is a second signal, it outputs a second control signal to the latching module, so that the latching module controls the signal transmission line to continuously output a second signal to the controller based on the second control signal. Therefore, by using the latching module and the control module, a corresponding output signal can be continuously output according to the input signal, thereby avoiding interference with the voltage signal during signal transmission and improving the stability and reliability of the electronic device.

[0075] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and not to limit it; under the concept of this utility model, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of this utility model as described above, which are not provided in detail for the sake of brevity; although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A latching circuit, characterized by, The latch circuit comprises a signal transmission line, a control module and a latch module; The control module is connected with the input end of the signal transmission line and the latch module respectively, the latch module is connected with the output end of the signal transmission line, and the signal transmission line is also used for connecting a detection circuit and a controller; The signal transmission line is used for receiving a voltage signal output by the detection circuit and transmitting the voltage signal to the controller; The control module is used for collecting a voltage signal of the input end of the signal transmission line, and when the voltage signal is a first signal, a first control signal is output to the latch module, so that the latch module controls the signal transmission line to continuously output the first signal based on the first control signal; And When the voltage signal is a second signal, a second control signal is output to the latch module, so that the latch module controls the signal transmission line to continuously output the second signal to the controller based on the second control signal.

2. The latching circuit of claim 1, wherein, The latch module comprises a first locking unit and a second locking unit; The control end of the first locking unit is connected with the control module, the first end of the first locking unit is connected with the output end of the signal transmission line, the second end of the first locking unit is connected with a ground end, the first end of the second locking unit is connected with a first power supply, and the second end of the second locking unit is connected with the output end of the signal transmission line; The first locking unit is used for starting to work after receiving the second control signal, so as to control the signal transmission line to continuously output the second signal; And Stop working after receiving the first control signal; The second locking unit is used for controlling the signal transmission line to continuously output the first signal based on the first power supply after the first locking unit stops working.

3. The latching circuit of claim 2, wherein, The first locking unit comprises a switch tube Q2, a resistor R5 and a resistor R6; The control end of the switch tube Q2 is connected with the control module through the resistor R5, the control end of the switch tube Q2 is also grounded through the resistor R6, the first end of the switch tube Q2 is connected with the output end of the signal transmission line, and the second end of the switch tube Q2 is used for grounding.

4. The latching circuit of claim 3, wherein, The second locking unit comprises a resistor R4; The first end of the resistor R4 is connected with the first power supply, and the second end of the resistor R4 is connected with the output end of the signal transmission line.

5. The latching circuit of claim 1, wherein, The control module comprises a control unit and a voltage providing unit; The control unit is connected with the input end of the signal transmission line and the voltage providing unit respectively, the control unit is also connected with the latch module, and the voltage providing unit is also used for connecting a first power supply; The control unit is used for starting to work when the voltage signal is a first signal, so as to output a first control signal to the latch module; And Stop working when the voltage signal is a second signal, so as to output a second control signal to the latch module based on the voltage providing unit.

6. The latching circuit of claim 5, wherein, The control unit comprises a switch tube Q1, a resistor R1 and a resistor R2; A control end of the switch tube Q1 is connected with an input end of the signal transmission line through the resistor R1, and the control end of the switch tube Q1 is also grounded through the resistor R2, a first end of the switch tube Q1 is connected with the voltage providing unit and the latch module respectively, and a second end of the switch tube Q1 is used for grounding.

7. The latching circuit of claim 6, wherein, The voltage providing unit comprises a resistor R3; A first end of the resistor R3 is connected with the first power supply, and a second end of the resistor R3 is connected with the first end of the switch tube Q1.

8. The latch circuit according to any one of claims 1-7, characterized in that, The latch module is further used for receiving an unlock signal, and controlling the signal transmission line to continuously output the first signal to the controller according to the unlock signal.

9. An electronic device, comprising: The electronic device comprises: a controller; a detection circuit; and the latch circuit according to any one of claims 1-8.