Shutdown detection circuit

By designing a shutdown detection circuit in the electronic endoscope cold light source system, using current detection and reference voltage comparison to achieve complete power outage, it solves the data loss and safety hazard problems caused by inaccurate shutdown detection in traditional methods, and improves the reliability of the system. sex and safety.

CN118826425APending Publication Date: 2024-10-22INNERMEDICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410805155.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The traditional electronic endoscope cold light source system determines the shutdown action by detecting the DC voltage signal of the switching power supply, which has safety risks because the switching power supply itself does not disconnect the power supply, leading to the risk of data loss.

Method used

A shutdown detection circuit is designed, including a current detection circuit, a reference voltage circuit, a comparison circuit and a control circuit. By detecting the AC current signal and supply voltage, the shutdown signal is judged and the power connection is cut off to ensure that the AC power supply is completely disconnected from the equipment to be powered. .

Benefits of technology

It effectively prevents data loss, improves the safety of the electronic endoscope cold light source system, ensures that the system is completely powered off when shutting down, and avoids data loss and security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118826425A_ABST
    Figure CN118826425A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power supplies, and discloses a shutdown detection circuit which is characterized in that a current detection circuit is arranged at the front end of to-be-powered equipment, and when the current detection circuit receives a shutdown signal, an alternating current power supply supplies power to the to-be-powered equipment through the current detection circuit; meanwhile, the current detection circuit sends an induced alternating current signal to the comparison circuit, the comparison circuit compares a direct current voltage signal with a reference voltage signal for multiple times to obtain a power-off signal, and the control circuit directly cuts off the power supply voltage of the current detection circuit and the comparison circuit after identifying the power-off signal. And the AC power supply and the to-be-powered equipment are thoroughly disconnected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of power supplies, and in particular to a shutdown detection circuit. Background Art

[0002] An electronic endoscope is a medical electronic optical instrument that can be inserted into the body cavity and organ cavity for direct observation, diagnosis and treatment. It integrates optical, mechanical, electrical and other advanced technologies. Since the cold light source system of the electronic endoscope needs to be able to be recognized by the software and save the system data before the machine is shut down and powered off to prevent data loss caused by forced power off, the traditional cold light source system of the electronic endoscope mostly directly determines the shutdown action by detecting the DC voltage signal of the back stage of the switching power supply, such as Figure 1 However, the system is shut down by directly detecting the DC signal, but the switching power supply itself is not disconnected from the power supply. The shutdown is only the power off of the subsequent system, and the AC power input to the switching power supply is not really disconnected, which poses a safety hazard. Summary of the invention

[0003] In view of this, the present invention provides a shutdown detection circuit to solve the problem of how to realize the shutdown of a switching power supply.

[0004] The present invention provides a shutdown detection circuit, comprising: a current detection circuit, a reference voltage circuit, a comparison circuit, and a control circuit, wherein the current detection circuit has a first end connected to an AC power supply, a second end connected to a power supply end of a device to be powered, a third end connected to a first end of the comparison circuit, a fourth end inputting a power supply voltage, and a fifth end receiving a power-on signal or a power-off signal, and is used for being in a first switch state when receiving a power-on signal, and the AC power supply is directly connected to the device to be powered; when receiving a shutdown signal, it is in a first switch state, and the AC power supply is connected to the device to be powered through it, and it sends an AC signal. A current signal is sent to a comparison circuit; a reference voltage circuit, a first end of which inputs a power supply voltage, and a second end of which is connected to the second end of the comparison circuit, and is used to convert the power supply voltage into a reference voltage signal; a comparison circuit, a third end of which is connected to the first end of the control circuit, and a fourth end of which inputs a power supply voltage, and is used to rectify the AC current signal into a DC voltage signal, and obtain a power-off signal after comparing the DC voltage signal with the reference voltage signal for multiple times; a control circuit, which is used to cut off the power supply voltage of the current detection circuit and the comparison circuit based on the power-off signal, and after the current detection circuit is powered off, the AC power supply is disconnected from the device to be powered.

[0005] The present invention sets a current detection circuit at the front end of the device to be powered. When the current detection circuit receives a shutdown signal, the AC power supply supplies power to the device to be powered through the current detection circuit. At the same time, the current detection circuit sends the sensed AC current signal to the comparison circuit. The comparison circuit compares the DC voltage signal with the reference voltage signal for multiple times to obtain a power-off signal. After identifying the power-off signal, the control circuit directly cuts off the power supply voltage of the current detection circuit and the comparison circuit, so that the AC power supply is completely disconnected from the device to be powered.

[0006] In an optional embodiment, the current detection circuit includes: a first switch circuit, a second switch circuit and a current sensing circuit, wherein the first switch circuit, whose first end receives a power-on signal or a power-off signal, whose second end and third end are respectively connected to the two output ends of the AC power supply, and whose fourth end and fifth end are respectively connected to the first power supply end and the second power supply end of the device to be powered; the second switch circuit, whose first end and second end are respectively connected to the two output ends of the AC power supply, whose third end is connected to the first power supply end of the device to be powered, whose fourth end is connected to the first end of the current sensing circuit, and whose fifth end inputs the supply voltage; the current sensing circuit, whose second end is connected to the second power supply end of the device to be powered, and whose third end is connected to the first end of the comparison circuit; when the second switch circuit is powered, the second switch circuit The first end of the first switch circuit is connected to the third end thereof, and the second end of the second switch circuit is connected to the fourth end thereof; when the first switch circuit receives a power-on signal, the second end of the first switch circuit is connected to the fourth end thereof, the third end of the first switch circuit is connected to the fifth end thereof, and the AC power supply is directly connected to the device to be powered; when the first switch circuit receives a power-off signal, the second end of the first switch circuit is disconnected from the fourth end thereof, and the AC power supply is connected to the device to be powered via the second switch circuit and the current sensing circuit, and the current sensing circuit senses the power supply current and then sends an AC current signal to the comparison circuit; based on the power-off signal, the control circuit cuts off the power supply voltage of the current detection circuit and the comparison circuit, the first end of the second switch circuit is disconnected from the third end thereof, the second end of the second switch circuit is disconnected from the fourth end thereof, and the AC power supply is disconnected from the device to be powered.

[0007] In an optional embodiment, the second switching circuit includes: a relay, a first capacitor and a first diode, wherein the relay, a first power supply end of which is connected to the anode of the first diode, the first power supply end of which is also grounded, a second power supply end of which is connected to the cathode of the first diode and the first end of the first capacitor, and a power supply voltage is also input to the second power supply end of the relay, a first input end and a second input end of which are respectively connected to the two output ends of the AC power supply, a first output end of which is connected to the first power supply end of the device to be powered, and a second output end of which is connected to the first end of the current sensing circuit; a first capacitor, a second end of which is grounded; when the relay is powered, the first input end of the relay is connected to its first output end, and the second input end of the relay is connected to its second output end; based on a power-off signal, the control circuit cuts off the power supply voltage of the relay and the comparison circuit, and the first input end of the relay is disconnected from its first output end, and the second input end of the relay is disconnected from its second output end.

[0008] In an optional embodiment, the current sensing circuit includes: a current transformer, a second diode, and a third diode, wherein the first end of the primary side of the current transformer is connected to the fourth end of the second switching circuit, the second end of the primary side is connected to the cathode of the second diode and the anode of the third diode, the first end of the secondary side is grounded, and the second end of the secondary side is connected to the first end of the comparison circuit, and is used to send an AC current signal to the comparison circuit; the second diode, the anode of which is connected to the second power supply terminal of the device to be powered; the third diode, the cathode of which is connected to the second power supply terminal of the device to be powered.

[0009] In an optional embodiment, the reference voltage circuit includes: a first operational amplifier, a fourth diode, a second capacitor, a third capacitor, a fourth capacitor and a first resistor, wherein the first operational amplifier, its forward input terminal is connected to the anode of the fourth diode, the first end of the second capacitor, and the first end of the first resistor, its reverse input terminal is connected to its output terminal, its output terminal is grounded through the third capacitor, its output terminal is connected to the second end of the comparison circuit, its positive power supply terminal inputs the power supply voltage, its positive power supply terminal is also grounded through the fourth capacitor, and its negative power supply terminal is grounded; the fourth diode, its cathode is grounded; the third capacitor, its second end is grounded; the first operational amplifier constitutes a voltage follower to convert the supply voltage into a reference voltage signal.

[0010] In an optional embodiment, the comparison circuit includes: a first comparison sub-circuit, a second comparison sub-circuit and a third comparison sub-circuit, wherein the first comparison sub-circuit, whose first end is connected to the second end of the reference voltage circuit, whose second end is connected to the third end of the current detection circuit, whose second end is also grounded, and whose third end is connected to the first end of the second comparison sub-circuit, is used to rectify the AC current signal into a DC voltage signal, and after comparing the reference voltage signal with the DC voltage signal, output a first voltage signal to the second comparison sub-circuit; the second comparison sub-circuit, whose second end is connected to the second end of the reference voltage circuit, whose third end is grounded, and whose fourth end is connected to the first end of the third comparison sub-circuit, is used to compare the reference voltage signal with the first voltage signal, and output a second voltage signal to the third comparison sub-circuit; the third comparison sub-circuit, whose second end is connected to its third end, and whose third end is connected to the first end of the control circuit, is used to obtain a power-off signal based on the second voltage signal and using the voltage following principle.

[0011] In an optional embodiment, the first comparison subcircuit includes: a second operational amplifier, a second resistor, a third resistor, a fourth resistor, a fifth diode and a sixth diode, wherein the second operational amplifier, whose non-inverting input terminal is connected to the cathode of the fifth diode, the cathode of the sixth diode and the first end of the second resistor, whose inverting input terminal is connected to the first end of the third resistor and the first end of the fourth resistor, and whose output terminal is connected to the first end of the second comparison subcircuit, is used to compare the reference voltage signal with the DC voltage signal and output the first voltage signal to the second comparison subcircuit; the fifth diode, whose anode is connected to the third end of the current detection circuit and whose anode is also grounded; the sixth diode, whose cathode is grounded, is used to form a rectifier circuit with the fifth diode to rectify the AC current signal into a DC voltage signal; the second resistor, whose second end is grounded; the third resistor, whose second end is grounded; the fourth resistor, whose second end is connected to the second end of the reference voltage circuit.

[0012] In an optional embodiment, the second comparison sub-circuit includes: a third operational amplifier, a fifth resistor, a sixth resistor, a seventh diode and a fifth capacitor, wherein the third operational amplifier, whose non-inverting input terminal is connected to the cathode of the seventh diode, the first end of the fifth resistor, and the first end of the fifth capacitor, whose inverting input terminal is connected to the second end of the reference voltage circuit, and whose output terminal is connected to the first end of the third comparison sub-circuit, is used to compare the reference voltage signal with the first voltage signal, and then output the second voltage signal to the third comparison sub-circuit; the seventh diode, whose anode is connected to the third end of the first comparison sub-circuit through the sixth resistor; the fifth capacitor, whose second end is connected to the second end of the fifth resistor and then grounded, is used to form a filter circuit with the fifth resistor for filtering out noise of the first voltage signal.

[0013] In an optional embodiment, the third comparison sub-circuit includes: a seventh resistor, an eighth resistor and a fourth operational amplifier, wherein the fourth operational amplifier has a non-inverting input terminal connected to the third end of the second comparison sub-circuit through the seventh resistor, a non-inverting input terminal connected to the ground through the eighth resistor, an inverting input terminal connected to its output terminal, and an output terminal connected to the first end of the control circuit, and is used to obtain a power-off signal based on the second voltage signal and utilizing the voltage following principle.

[0014] In an optional embodiment, the shutdown detection circuit also includes: an anti-false detection shutdown signal circuit, a first end of which is connected to the in-phase input terminal of the fourth operational amplifier, a second end of which inputs the power supply voltage, and a third end of which is grounded. When the current detection circuit falsely detects the shutdown signal, it is in the on state and transmits the second voltage signal to the ground. After a loop is formed inside it, it is in the off state and the shutdown signal is consumed.

[0015] In an optional embodiment, the anti-false detection shutdown signal circuit includes: a ninth resistor, an eighth diode, a sixth capacitor and a thyristor, wherein the thyristor has a first end connected to the in-phase input terminal of the fourth operational amplifier, a second end connected to the anode of the eighth diode, a second end connected to ground, and a control end connected to the first end of the sixth capacitor and the cathode of the eighth diode through the ninth resistor; the sixth capacitor has a second end inputting the supply voltage; when the current detection circuit falsely detects the shutdown signal, the thyristor is turned on and the second voltage signal is transmitted to the ground, and the ninth resistor, the eighth diode and the PN structure of the thyristor form a loop, and then the thyristor is disconnected and the shutdown signal is consumed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 This is a schematic diagram of traditional DC signal shutdown detection;

[0018] Figure 2 is a composition diagram of another shutdown detection circuit according to an embodiment of the present invention;

[0019] Figure 3 is a composition diagram of another shutdown detection circuit according to an embodiment of the present invention;

[0020] Figure 4 is a specific circuit structure diagram of a second switch circuit and a current sensing circuit according to an embodiment of the present invention;

[0021] Figure 5 is a specific circuit structure diagram of a reference voltage circuit according to an embodiment of the present invention;

[0022] Figure 6 is a composition diagram of yet another shutdown detection circuit according to an embodiment of the present invention;

[0023] Figure 7 is a specific circuit structure diagram of a comparison circuit according to an embodiment of the present invention;

[0024] Figure 8 It is a schematic diagram of AC signal shutdown detection according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0026] In this embodiment, a shutdown detection circuit is provided. Figure 2 As shown, it includes: a current detection circuit 1, a reference voltage circuit 2, a comparison circuit 3, and a control circuit 4.

[0027] like Figure 2 As shown, the current detection circuit 1 has a first end connected to the AC power supply, a second end connected to the power supply end of the device to be powered, a third end connected to the first end of the comparison circuit 3, a fourth end inputs the power supply voltage, and a fifth end receives a power-on signal or a power-off signal. When a power-on signal is received, it is in a first switching state, and the AC power supply is directly connected to the device to be powered; when a shutdown signal is received, it is in the first switching state, and the AC power supply is connected to the device to be powered through it, and it sends an AC current signal to the comparison circuit 3.

[0028] Specifically, the AC power supply is actually connected to a power module inside the device to be powered, and the power module is a DC voltage conversion module, such as: BCUK circuit, BOOST circuit, BUCK-BOOST circuit, but this is only an example and is not limited to this. Optionally, the shutdown detection circuit can be set outside the device to be powered, or integrated inside the device to be powered, and the specific location is not limited here.

[0029] Specifically, the current detection circuit 1 has a built-in switch circuit and a current sensing circuit, and the switch circuit receives a power-on signal or a power-off signal. When the switch circuit receives a power-on signal, the switch circuit directly connects the AC power supply to the device to be powered, and the current sensing circuit does not sense the AC current signal. At this time, the AC power supply normally supplies power to the device to be powered; when the switch circuit receives a power-off signal, the switch circuit no longer directly connects the AC power supply to the device to be powered, and the AC power supply will be connected to the device to be powered through the internal path of the current detection circuit 1, and the current sensing circuit will sense the AC current signal.

[0030] like Figure 2 As shown, the reference voltage circuit 2 has a first end inputting a supply voltage and a second end connected to a second end of a comparison circuit 3, and is used to convert the supply voltage into a reference voltage signal.

[0031] Optionally, the reference voltage circuit 2 may adopt a voltage following mode to obtain a suitable reference voltage signal based on the power supply voltage. The level of the reference voltage signal may be set as required and is not limited here.

[0032] like Figure 2 As shown, the comparison circuit 3 has a third end connected to the first end of the control circuit 4 and a fourth end inputting a power supply voltage, and is used to rectify the AC current signal into a DC voltage signal, and compare the DC voltage signal with the reference voltage signal for multiple times to obtain a power-off signal.

[0033] Specifically, when the current detection circuit 1 receives a shutdown signal and senses an AC current signal, the comparison circuit 3 will determine whether shutdown is required based on the AC current signal, and obtain a power-off signal of a preset level by comparing the AC current signal with the reference voltage signal multiple times. The comparison method is not limited to analog circuits or digital circuits and is not limited here.

[0034] like Figure 2 As shown, the control circuit 4 is used to cut off the power supply voltage of the current detection circuit 1 and the comparison circuit 3 based on the power-off signal. After the current detection circuit 1 is powered off, the AC power supply is disconnected from the device to be powered.

[0035] Specifically, when the comparison circuit 3 outputs a power-off signal, in order to completely cut off the power to the device to be powered, for example, the front stage of the switching power supply is powered off, the control circuit 4 directly cuts off the power supply voltage of the current detection circuit 1, the current detection circuit 1 is in a disconnected state, and the AC power supply is disconnected from the device to be powered.

[0036] In some optional embodiments, such as Figure 3 As shown, the current detection circuit 1 includes: a first switch circuit 11 , a second switch circuit 12 and a current sensing circuit 13 .

[0037] like Figure 3 As shown, the first switch circuit 11 has a first end that receives a power-on signal or a power-off signal, a second end and a third end that are respectively connected to the two output ends of the AC power supply, and a fourth end and a fifth end that are respectively connected to the first power supply end and the second power supply end of the device to be powered.

[0038] Specifically, the first switch circuit 11 is actually only used to enable the AC power source to be directly connected to the device to be powered, or to enable the AC power source to supply power to the AC power source through the second switch circuit 12 and the current sensing circuit 13 .

[0039] like Figure 3 As shown, the second switch circuit 12 has its first and second ends connected to the two output ends of the AC power supply respectively, its third end connected to the first power supply end of the device to be powered, its fourth end connected to the first end of the current sensing circuit 13, and its fifth end inputs the power supply voltage.

[0040] like Figure 3 As shown, the current sensing circuit 13 has a second end connected to the second power supply end of the device to be powered, and a third end connected to the first end of the comparison circuit 3 .

[0041] Specifically, when the second switch circuit 12 is powered, the first end of the second switch circuit 12 is connected to its third end, and the second end of the second switch circuit 12 is connected to its fourth end; that is, as long as the second switch circuit 12 is powered, it is in the on state.

[0042] For different power-on and power-off signals, the current detection circuit 1 has the following two states:

[0043] (1) When the first switch circuit 11 receives a power-on signal, the second end of the first switch circuit 11 is connected to its fourth end, the third end of the first switch circuit 11 is connected to its fifth end, and the AC power supply is directly connected to the device to be powered; the first end of the second switch circuit 12 is connected to its third end, and the second end of the second switch circuit 12 is connected to its fourth end.

[0044] Since the second switch circuit 12 is in the on state, if the second switch circuit 12 and the current sensing circuit 13 are used to power the device to be powered, the second switch circuit 12 and the current sensing circuit 13 will consume some electrical energy. Therefore, when the first switch circuit 11 receives the power-on signal, the AC power supply will directly power the device to be powered, and the second switch circuit 12 and the current sensing circuit 13 will not work, and the current sensing circuit 13 will not sense the AC current signal.

[0045] (2) When the first switch circuit 11 receives a shutdown signal, the second end of the first switch circuit 11 is disconnected from its fourth end, and the third end of the first switch circuit 11 is disconnected from its fifth end; the first end of the second switch circuit 12 is connected to its third end, and the second end of the second switch circuit 12 is connected to its fourth end. The AC power supply will be connected to the device to be powered through the second switch circuit 12 and the current sensing circuit 13. The current sensing circuit 13 senses the power supply current and then sends an AC current signal to the comparison circuit 3.

[0046] Specifically, based on the power-off signal, the control circuit 4 cuts off the power supply voltage of the current detection circuit 1 and the comparison circuit 3, and disconnects the first end of the second switch circuit 12 from its third end, disconnects the second end of the second switch circuit 12 from its fourth end, and disconnects the AC power supply from the device to be powered.

[0047] In some optional embodiments, such as Figure 4 As shown, the second switch circuit 12 includes: a relay K, a first capacitor C1 and a first diode D1.

[0048] like Figure 4 As shown, the relay K has a first power supply end (pin 6) connected to the anode of the first diode D1, and its first power supply end is also grounded, and its second power supply end (pin 1) is connected to the cathode of the first diode D1 and the first end of the first capacitor C1, and its second power supply end also inputs a power supply voltage (i.e. 12VK), and its first input end (pin 3) and second input end (pin 4) are respectively connected to the two output ends of the AC power supply (live wire L0 and neutral wire N0), and its first output end (pin 5) is connected to the first power supply end of the device to be powered, and its second output end (pin 2) is connected to the first end of the current sensing circuit 13 (i.e. current transformer T1); the first capacitor C1, and its second end is grounded.

[0049] Specifically, when relay K is powered, the first input terminal of relay K is connected to its first output terminal, and the second input terminal of relay K is connected to its second output terminal. The current sensing circuit 13 senses the AC current signal and sends it to the comparison circuit 3. The comparison circuit 3 generates a power-off signal based on the reference voltage signal and the AC current signal. The control circuit 4 cuts off the power supply voltage of relay K and the comparison circuit 3 based on the power-off signal, thereby disconnecting the first input terminal of relay K from its first output terminal, and disconnecting the second input terminal of relay K from its second output terminal.

[0050] Regardless of whether the first switch circuit 11 receives a power-on signal or a power-off signal, as long as the relay K supplies power, the AC power supply can be connected to the device to be powered through the second switch circuit 12, the current sensing circuit 13 in sequence. However, since the relay K, the first capacitor C1, the first diode D1 and the current sensing circuit 13 need to consume electrical energy, when the first switch circuit 11 receives a power-on signal, the AC power supply will directly supply power to the device to be powered, rather than supplying power to the device to be powered through the second switch circuit 12, the current sensing circuit 13.

[0051] Optionally, the first switch circuit 11 is a double-pole single-throw switch. Figure 4 In the embodiment, terminals J3 to J6 are connected to a double-pole single-throw switch. When the first switch circuit 11 receives a power-on signal, that is, the double-pole single-throw switch is pressed and closed, terminal J3 is connected to terminal J4, and terminal J5 is connected to terminal J6. At this time, the AC power supply is directly connected to the device to be powered. When the first switch circuit 11 receives a power-off signal, that is, the double-pole single-throw switch pops up and disconnects, terminal J3 is disconnected from terminal J4, and terminal J5 is disconnected from terminal J6. At this time, the AC power supply is connected to the device to be powered through the relay K, the first capacitor C1, the first diode D1 and the current sensing circuit 13.

[0052] In some optional embodiments, such as Figure 4 As shown, the current sensing circuit 13 includes: a current transformer T1, a second diode D2, and a third diode D3, wherein the current transformer T1, the first end of its primary side is connected to the fourth end of the second switch circuit 12 (i.e., the second pin of the relay K), the second end of its primary side is connected to the cathode of the second diode D2 and the anode of the third diode D3, the first end of its secondary side is grounded, and the second end of its secondary side is connected to the first end of the comparison circuit 3, which is used to send an AC current signal (i.e., IS_DET) to the comparison circuit 3; the second diode D2, the anode of which is connected to the second power supply end of the device to be powered; the third diode D3, the cathode of which is connected to the second power supply end of the device to be powered.

[0053] Specifically, when the first switch circuit 11 receives a shutdown signal, the relay K remains energized and remains closed, and the AC power flows from the relay K and the current transformer T1 to the device to be powered. After the current transformer T1 senses the AC current, it generates an AC current signal and sends it to the comparison circuit 3.

[0054] Figure 4 In order to prevent the current transformer T1 from being too sensitive to generate the IS_DET signal when the machine is turned on, a second diode D2 and a third diode D3 are added to the flow path of the current transformer T1 for rectification.

[0055] In some optional embodiments, such as Figure 5As shown, the reference voltage circuit 2 includes: a first operational amplifier U1, a fourth diode D4, a second capacitor C2, a third capacitor C3, a fourth capacitor C4 and a first resistor R1. The first operational amplifier U1, its forward input terminal is connected to the anode of the fourth diode D4, the first terminal of the second capacitor C2, and the first terminal of the first resistor R1, its reverse input terminal is connected to its output terminal, its output terminal is grounded through the third capacitor C3, its output terminal (i.e. +VREF) is connected to the second terminal of the comparison circuit 3, its positive power supply terminal inputs the power supply voltage (i.e. +12VK), its positive power supply terminal is also grounded through the fourth capacitor C4, and its negative power supply terminal is grounded; the fourth diode D4, its cathode is grounded; the third capacitor C3, its second terminal is grounded. The first operational amplifier U1 constitutes a voltage follower to convert the power supply voltage into a reference voltage signal.

[0056] Optionally, the reference voltage circuit 2 is not limited to Figure 5 The structure shown in the figure may also be other reference circuits, for example, a voltage divider circuit is used to divide the supply voltage to obtain a reference voltage signal, but this is only an example and is not intended to be limiting.

[0057] In some optional embodiments, such as Figure 6 As shown, the comparison circuit 3 includes: a first comparison sub-circuit 31 , a second comparison sub-circuit 32 and a third comparison sub-circuit 33 .

[0058] like Figure 6 As shown, the first comparison sub-circuit 31 has a first end connected to the second end of the reference voltage circuit 2, a second end connected to the third end of the current detection circuit 1, a second end also grounded, and a third end connected to the first end of the second comparison sub-circuit 32, which is used to rectify the AC current signal into a DC voltage signal, and after comparing the reference voltage signal with the DC voltage signal, output a first voltage signal and send it to the second comparison sub-circuit 32.

[0059] like Figure 6 As shown, the second comparison sub-circuit 32 has a second end connected to the second end of the reference voltage circuit 2, a third end grounded, and a fourth end connected to the first end of the third comparison sub-circuit 33, and is used to compare the reference voltage signal with the first voltage signal, and then output a second voltage signal to the third comparison sub-circuit 33.

[0060] like Figure 6 As shown, the third comparison subcircuit 33 has its second end connected to its third end, and its third end connected to the first end of the control circuit 4, and is used to obtain a power-off signal based on the second voltage signal and using the voltage following principle.

[0061] Specifically, the comparison circuit 3 is used to compare the AC current signal with the reference voltage signal to obtain a power-off signal of a preset level, and the power-off signal needs to be recognized by the control circuit 4. Therefore, Figure 6 The comparison circuit 3 is designed with three levels of comparison. The first two levels compare the AC current signal with the reference voltage signal in multiple levels, and the last level acts as a voltage follower to obtain a power-off signal.

[0062] It should be noted that Figure 6 The three-stage comparison subcircuit shown is only an example, and other analog circuits or digital circuits may also be used to obtain a power-off signal of a preset level, which is not limited here.

[0063] In some optional embodiments, such as Figure 7 As shown, the first comparison sub-circuit 31 includes: a second operational amplifier U2, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth diode D5 and a sixth diode D6.

[0064] like Figure 7 As shown, the second operational amplifier U2 has a non-inverting input terminal connected to the cathode of the fifth diode D5, the cathode of the sixth diode D6, and the first end of the second resistor R2, an inverting input terminal connected to the first end of the third resistor R3 and the first end of the fourth resistor R4, and an output terminal connected to the first end of the second comparison sub-circuit 32 (i.e., the sixth resistor R6), and is used to compare the reference voltage signal with the DC voltage signal and output the first voltage signal to the second comparison sub-circuit 32; the fifth diode D5 has an anode connected to the third end of the current detection circuit 1, and its anode is also grounded; the sixth diode D6 has a cathode grounded, and is used to form a rectifier circuit with the fifth diode D5 to rectify the current signal of the current sensing circuit 13 and generate a DC voltage signal; the second resistor R2 has a second end grounded; the third resistor R3 has a second end grounded; the fourth resistor R4 has a second end connected to the second end of the reference voltage circuit 2 (i.e., the input reference voltage signal +VREF).

[0065] Specifically, Figure 7 The fifth diode D5 and the sixth diode D6 form a rectifier circuit to rectify the AC current signal into a DC voltage signal. When the first switch circuit 11 receives a power-on signal, the second operational amplifier U2 will not receive the AC current signal. When the first power-on circuit receives a power-off signal, the second operational amplifier U2 receives the AC current signal, converts the AC current signal into a DC voltage signal, and then compares the DC voltage signal with the reference voltage signal to obtain a first voltage signal.

[0066] In some optional embodiments, such as Figure 7 As shown, the second comparison sub-circuit 32 includes: a third operational amplifier U3, a fifth resistor R5, a sixth resistor R6, a seventh diode D7 and a fifth capacitor C5.

[0067] like Figure 7As shown, the third operational amplifier U3, whose non-inverting input terminal is connected to the cathode of the seventh diode D7, the first end of the fifth resistor R5, and the first end of the fifth capacitor C5, whose inverting input terminal is connected to the second end of the reference voltage circuit 2 (i.e., the input reference voltage signal +VREF), and whose output terminal is connected to the first end of the third comparison sub-circuit 33 (i.e., the fourth operational amplifier), is used to compare the reference voltage signal with the first voltage signal, and then output the second voltage signal to the third comparison sub-circuit 33; the seventh diode D7, whose anode is connected to the third end of the first comparison sub-circuit 31 (i.e., the second operational amplifier U2) through the sixth resistor R6; the fifth capacitor C5, whose second end is connected to the second end of the fifth resistor R5 and then grounded, is used to form a filter circuit with the fifth resistor R5 to filter out noise of the first voltage signal.

[0068] Specifically, Figure 7 In the process, the third operational amplifier U3 compares the first voltage signal with the DC voltage signal again and transmits the comparison signals to the third comparison sub-circuit 33 .

[0069] In some optional embodiments, such as Figure 7 As shown, the third comparison sub-circuit 33 includes: a seventh resistor R7, an eighth resistor R8 and a fourth operational amplifier U4, wherein the fourth operational amplifier U4, the in-phase input terminal of which is connected to the third end (i.e., the seventh resistor R7) of the second comparison sub-circuit 32 through the seventh resistor R7, the in-phase input terminal of which is grounded through the eighth resistor R8, the inverting input terminal of which is connected to its output terminal, and the output terminal (i.e., SYS_SW) of which is connected to the first end of the control circuit 4, which is used to obtain a power-off signal based on the second voltage signal and using the voltage following principle. After the control circuit 4 identifies the power-off signal, it cuts off the power supply voltage of the current detection circuit 1 and the comparison circuit 3, that is, cuts off the +12VK voltage.

[0070] In some optional embodiments, such as Figure 7 As shown, the shutdown detection circuit also includes: an anti-false detection shutdown signal circuit 5, a first end of which is connected to the in-phase input terminal of the fourth operational amplifier U4, a second end of which inputs the power supply voltage (i.e. +12VK), and a third end of which is grounded. When the current detection circuit 1 falsely detects the shutdown signal, it is in the on state and transmits the second voltage signal to the ground. After a loop is formed inside it, it is in the off state and the shutdown signal is consumed.

[0071] In some optional embodiments, such as Figure 7 As shown, the anti-false detection shutdown signal circuit 5 includes: a ninth resistor R9, an eighth diode D8, a sixth capacitor C6 and a thyristor Q.

[0072] like Figure 7As shown, the thyristor Q has a first end connected to the in-phase input terminal of the fourth operational amplifier U4, a second end connected to the anode of the eighth diode D8, a second end connected to ground, and a control end connected to the first end of the sixth capacitor C6 and the cathode of the eighth diode D8 through the ninth resistor R9; the sixth capacitor C6 has a second end input with the supply voltage.

[0073] Specifically, when the current detection circuit 1 mistakenly detects a shutdown signal, the thyristor Q is turned on, and the second voltage signal is transmitted to the ground. The ninth resistor R9, the eighth diode D8 and the PN structure of the thyristor Q form a loop, and then the thyristor Q is turned off, and the shutdown signal is consumed.

[0074] Specifically, when the power is turned on, the voltage at the non-inverting input terminal of the fourth operational amplifier U4 is normally pulled down to the ground through the eighth resistor R8. If the false trigger signal of the current transformer T1 passes through the second comparison sub-circuit 32, it may cause the non-inverting input terminal of the fourth operational amplifier U4 to generate a high level, thereby causing the shutdown signal to be mistakenly detected when the power is turned on; the transient current generated by the +12VK power supply turns on the thyristor Q, and the falsely detected high-level signal flows from the collector of the thyristor Q to the ground. At this time, the ninth resistor R9, the base-emitter PN junction of the thyristor Q, and the sixth diode D6 form a loop. When the current flows through the sixth diode D6, the base voltage of the thyristor Q changes from a positive voltage to a negative voltage. At this time, the thyristor Q is disconnected, and the generated false trigger signal is consumed. In addition, the sixth diode D6 can effectively prevent the thyristor Q from being damaged by a sudden change in current.

[0075] Exemplarily, the shutdown detection circuit is applied to the cold light source system of the electronic endoscope, and the AC signal shutdown detection schematic diagram is as follows: Figure 8 shown. Figure 8 In the process, the shutdown detection circuit detects the shutdown signal (SYS_SW) by detecting the pressing action of the human-machine interactive switch button, and transmits the shutdown signal to the cold light source system. After software judgment, the shutdown and power-off operation is realized. The cold light source system receives the shutdown signal from the shutdown detection circuit and executes the shutdown and power-off action. It realizes all the functions of the machine and is the brain of the cold light source system of the electronic endoscope.

[0076] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A shutdown detection circuit, characterized in that: include: Current detection circuit, reference voltage circuit, comparison circuit, control circuit, wherein, A current detection circuit, wherein a first end of the current detection circuit is connected to an AC power supply, a second end of the current detection circuit is connected to a power supply end of a device to be powered, a third end of the current detection circuit is connected to a first end of the comparison circuit, a fourth end of the current detection circuit inputs a power supply voltage, and a fifth end of the current detection circuit receives a power-on signal or a power-off signal. The current detection circuit is used to be in a first switching state when a power-on signal is received, and the AC power supply is directly connected to the device to be powered; and when a power-off signal is received, the current detection circuit is in a first switching state, and the AC power supply is connected to the device to be powered through the current detection circuit, and the current detection circuit sends an AC current signal to the comparison circuit. A reference voltage circuit, a first end of which is input with the supply voltage, a second end of which is connected with the second end of the comparison circuit, and is used for converting the supply voltage into a reference voltage signal; a comparison circuit, the third end of which is connected to the first end of the control circuit, the fourth end of which is input with a supply voltage, and is used for rectifying the AC current signal into a DC voltage signal, and obtaining a power-off signal after comparing the DC voltage signal with the reference voltage signal for multiple times; A control circuit is used to cut off the power supply voltage of the current detection circuit and the comparison circuit based on the power-off signal, and after the current detection circuit is powered off, the AC power supply is disconnected from the device to be powered.

2. The shutdown detection circuit according to claim 1, characterized in that: The current detection circuit includes: a first switch circuit, a second switch circuit and a current sensing circuit, wherein: A first switch circuit, wherein the first end thereof receives a power-on signal or a power-off signal, the second end thereof and the third end thereof are respectively connected to the two output ends of the AC power supply, and the fourth end thereof and the fifth end thereof are respectively connected to the first power supply end and the second power supply end of the device to be powered; A second switch circuit, wherein the first end and the second end are respectively connected to the two output ends of the AC power supply, the third end is connected to the first power supply end of the device to be powered, the fourth end is connected to the first end of the current sensing circuit, and the fifth end is input with the power supply voltage; The current sensing circuit has a second end connected to the second power supply end of the device to be powered, and a third end connected to the first end of the comparison circuit.

3. The shutdown detection circuit according to claim 2, characterized in that: The second switch circuit includes: a relay, a first capacitor and a first diode, wherein: A relay, wherein a first power supply end thereof is connected to an anode of the first diode, and the first power supply end thereof is also grounded, a second power supply end thereof is connected to a cathode of the first diode and a first end of the first capacitor, and the second power supply end thereof also inputs the power supply voltage, a first input end thereof and a second input end thereof are respectively connected to two output ends of the AC power supply, a first output end thereof is connected to a first power supply end of the device to be powered, and a second output end thereof is connected to a first end of the current sensing circuit; The first capacitor has a second terminal connected to the ground.

4. The shutdown detection circuit according to claim 2, characterized in that: The current sensing circuit comprises: a current transformer, a second diode, and a third diode, wherein: a current transformer, wherein a first end of a primary side thereof is connected to a fourth end of the second switch circuit, a second end of a primary side thereof is connected to a cathode of the second diode and an anode of the third diode, a first end of a secondary side thereof is grounded, and a second end of a secondary side thereof is connected to a first end of the comparison circuit, and is used to send an AC current signal to the comparison circuit; A second diode, an anode of which is connected to a second power supply terminal of the device to be powered; A third diode has a cathode connected to the second power supply terminal of the device to be powered.

5. The shutdown detection circuit according to claim 1, characterized in that: The reference voltage circuit includes: a first operational amplifier, a fourth diode, a second capacitor, a third capacitor, a fourth capacitor and a first resistor, wherein: A first operational amplifier, wherein a positive input terminal thereof is connected to the anode of the fourth diode, the first terminal of the second capacitor, and the first terminal of the first resistor, a negative input terminal thereof is connected to its output terminal, an output terminal thereof is grounded via the third capacitor, an output terminal thereof is connected to the second terminal of the comparison circuit, a positive power supply terminal thereof inputs the power supply voltage, a positive power supply terminal thereof is also grounded via the fourth capacitor, and a negative power supply terminal thereof is grounded; a fourth diode, a cathode of which is grounded; The third capacitor has a second terminal connected to the ground.

6. The shutdown detection circuit according to claim 1, characterized in that: The comparison circuit includes: a first comparison subcircuit, a second comparison subcircuit and a third comparison subcircuit, wherein: a first comparison subcircuit, a first end of which is connected to the second end of the reference voltage circuit, a second end of which is connected to the third end of the current detection circuit, a second end of which is also grounded, and a third end of which is connected to the first end of the second comparison subcircuit, and is used to rectify the AC current signal into a DC voltage signal, and after comparing the reference voltage signal with the DC voltage signal, output a first voltage signal and send it to the second comparison subcircuit; a second comparison subcircuit, a second end of which is connected to the second end of the reference voltage circuit, a third end of which is grounded, and a fourth end of which is connected to the first end of the third comparison subcircuit, and is used for comparing the reference voltage signal with the first voltage signal, and then outputting a second voltage signal to the third comparison subcircuit; The third comparison subcircuit has its second end connected to its third end, and its third end connected to the first end of the control circuit, and is used to obtain a power-off signal based on the second voltage signal and using the voltage following principle.

7. The shutdown detection circuit according to claim 6, characterized in that: The first comparison subcircuit includes: a second operational amplifier, a second resistor, a third resistor, a fourth resistor, a fifth diode and a sixth diode, wherein: a second operational amplifier, whose non-inverting input terminal is connected to the cathode of the fifth diode, the cathode of the sixth diode, and the first end of the second resistor, whose inverting input terminal is connected to the first end of the third resistor and the first end of the fourth resistor, and whose output terminal is connected to the first end of the second comparison sub-circuit, and is used for comparing the reference voltage signal with the DC voltage signal, and then outputting a first voltage signal to send to the second comparison sub-circuit; a fifth diode, whose anode is connected to the third terminal of the current detection circuit and whose anode is also grounded; a sixth diode, whose cathode is grounded, and which is used to form a rectifier circuit with the fifth diode to rectify the AC current signal into a DC voltage signal; a second resistor, a second end of which is grounded; a third resistor, a second end of which is grounded; A fourth resistor has a second end connected to the second end of the reference voltage circuit.

8. The shutdown detection circuit according to claim 6, characterized in that: The second comparison subcircuit includes: a third operational amplifier, a fifth resistor, a sixth resistor, a seventh diode and a fifth capacitor, wherein: a third operational amplifier, whose non-inverting input terminal is connected to the cathode of the seventh diode, the first end of the fifth resistor, and the first end of the fifth capacitor, whose inverting input terminal is connected to the second end of the reference voltage circuit, and whose output terminal is connected to the first end of the third comparison sub-circuit, and is used for comparing the reference voltage signal with the first voltage signal, and then outputting a second voltage signal to send to the third comparison sub-circuit; a seventh diode, an anode of which is connected to the third terminal of the first comparison sub-circuit through the sixth resistor; A fifth capacitor, a second end of which is connected to the second end of the fifth resistor and then grounded, is used to form a filter circuit with the fifth resistor to filter out noise of the first voltage signal.

9. The shutdown detection circuit according to claim 6, characterized in that: The third comparison subcircuit includes: a seventh resistor, an eighth resistor and a fourth operational amplifier, wherein: A fourth operational amplifier, whose non-inverting input terminal is connected to the third terminal of the second comparison sub-circuit through the seventh resistor, whose non-inverting input terminal is grounded through the eighth resistor, whose inverting input terminal is connected to its output terminal, and whose output terminal is connected to the first terminal of the control circuit, is used to obtain a power-off signal based on the second voltage signal and utilizing the voltage following principle.

10. The shutdown detection circuit according to claim 9, characterized in that: Also includes: The circuit for preventing false detection of shutdown signals has a first end connected to the in-phase input end of the fourth operational amplifier, a second end inputting the supply voltage, and a third end connected to the ground. When the current detection circuit falsely detects the shutdown signal, the circuit is in the on state and transmits the second voltage signal to the ground. After a loop is formed inside the circuit, the circuit is in the off state and the shutdown signal is consumed.

11. The shutdown detection circuit according to claim 10, characterized in that: The anti-false detection shutdown signal circuit comprises: a ninth resistor, an eighth diode, a sixth capacitor and a thyristor, wherein: a thyristor, wherein a first end of the thyristor is connected to the non-inverting input end of the fourth operational amplifier, a second end of the thyristor is connected to the anode of the eighth diode, a second end of the thyristor is grounded, and a control end of the thyristor is connected to the first end of the sixth capacitor and the cathode of the eighth diode through the ninth resistor; a sixth capacitor, a second end of which is input with the supply voltage; When the current detection circuit mistakenly detects the shutdown signal, the thyristor is turned on to transmit the second voltage signal to the ground, and the ninth resistor, the eighth diode and the PN structure of the thyristor form a loop, after which the thyristor is turned off and the shutdown signal is consumed.