Error reporting circuit based on logic level

The logic-level error reporting circuit addresses the cost and precision issues of existing LED control methods by using a switch and comparison circuit to quickly respond to errors, providing faster and more accurate fault detection with reduced costs.

CN119653546APending Publication Date: 2025-03-18FOSHAN ELECTRICAL & LIGHTING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411762787.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

Current LED control and error detection methods using programmable chips are costly, time-consuming, and prone to precision issues, affecting system responsiveness and increasing development and maintenance costs.

Method used

A logic-level error reporting circuit comprising a switch circuit, comparison circuit, and LED load circuit, utilizing different voltage and current characteristics to quickly and accurately respond to errors and reduce fault currents, without the need for software control.

Benefits of technology

The solution enables rapid and accurate error feedback, reduces fault currents, and offers faster response times, higher precision, and lower costs compared to microprocessor-based systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653546A_ABST
    Figure CN119653546A_ABST
Patent Text Reader

Abstract

The invention discloses an error reporting circuit based on logic level, and relates to the technical field of lighting, the error reporting circuit comprises a switching circuit, a comparison circuit and an LED load circuit, the switching circuit is connected with a power supply, and the switching circuit comprises a charging sub-circuit, a release sub-circuit, a driving sub-circuit and a detection sub-circuit; the charging sub-circuit is connected with the release sub-circuit and is used for controlling the on-off state of the release sub-circuit; the release sub-circuit is connected with the driving sub-circuit and is used for controlling the on-off state of the driving sub-circuit; the driving sub-circuit is connected with the comparison circuit and is used for controlling the on-off state of the comparison circuit; the comparison circuit is respectively connected with the LED load circuit and the detection sub-circuit, and is used for driving the LED load circuit and controlling the on-off state of the detection sub-circuit according to the working state of the LED load circuit; and the detection sub-circuit is connected with the charging sub-circuit and is used for controlling the working state of the charging sub-circuit. By adopting the circuit, the input power supply can be quickly and accurately responded and cut off, and the purposes of feeding back errors and reducing failure current are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of lighting technology, and in particular to an error reporting circuit based on logic levels. Background Art

[0002] At present, in the process of factory research and development, most of the control and error reporting methods of LEDs are controlled by programmable chips.

[0003] Solution 1: MCU is used together with the current detection chip. The MCU can use the statement instructions of the program code to read the current value calculated by the current detection chip. The MCU then determines whether the current value is within the preset value. If it does not meet the range value, it will be fed back to the error pin to enable interrupt input. However, in addition to the programmable chip, this solution also requires the installation of an additional current detection chip, which increases the cost.

[0004] Solution 2: When there are sufficient MCU pins, directly use the MCU with resistors and two MCU pins to collect the voltage changes at both ends of the ADC comparison resistor. Use program function calculations to determine whether the value is the normal working load voltage value. If it does not meet the set value, the DC chip is notified through high and low levels to disconnect the voltage input from the DC chip to the load / load lamp chip, that is, to extinguish the load. However, the comparison resistor used in this solution and the voltage collected by the MCU are easily affected by accuracy issues.

[0005] As can be seen from the above, the price of programmable chips themselves may be higher than traditional fixed-function chips. At the same time, it is also necessary to consider the programming tools, debugging and maintenance costs, which may not be applicable to development solutions. In addition, compared with hardware, programmable chips control LED lights. It takes time to process programs and work steps, which affects the response speed of the system. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide an error reporting circuit based on logic level, which can respond quickly and accurately to achieve the purpose of feedback error and reduce failure current.

[0007] In order to solve the above technical problems, the present invention provides an error reporting circuit based on logic levels, including: a switching circuit, a comparison circuit and an LED load circuit, the switching circuit is connected to a power supply and the switching circuit includes a charging sub-circuit, a release sub-circuit, a driving sub-circuit and a detection sub-circuit; the charging sub-circuit is connected to the release sub-circuit for controlling the on-off state of the release sub-circuit; the release sub-circuit is connected to the driving sub-circuit for controlling the on-off state of the driving sub-circuit; the driving sub-circuit is connected to the comparison circuit for controlling the on-off state of the comparison circuit; the comparison circuit is respectively connected to the LED load circuit and the detection sub-circuit for driving the LED load circuit and controlling the on-off state of the detection sub-circuit according to the working state of the LED load circuit; the detection sub-circuit is connected to the charging sub-circuit for controlling the working state of the charging sub-circuit.

[0008] As an improvement of the above scheme, the driving subcircuit includes a third switch and a fourth switch, the releasing subcircuit includes a sixth switch and a seventh switch, the charging subcircuit includes a second capacitor, and the detecting subcircuit includes a fifth switch; when the fifth switch is turned on, the sixth switch and the seventh switch are turned off to turn on the third switch and the fourth switch; when the fifth switch is turned off and the second capacitor is not fully charged, the sixth switch and the seventh switch are turned off to turn on the third switch and the fourth switch; when the fifth switch is turned off and the second capacitor is fully charged, the sixth switch and the seventh switch are turned on to turn off the third switch and the fourth switch.

[0009] As an improvement of the above solution, the source of the third switch is connected to a power supply, the drain of the third switch is connected to the comparison circuit, and the gate of the third switch is connected to the drain of the fourth switch; the source of the fourth switch is grounded, and the gate of the fourth switch is connected to the emitter of the seventh switch; the collector of the seventh switch is connected to the base of the sixth switch, the base of the seventh switch is connected to the collector of the sixth switch, and the emitter of the sixth switch is grounded; the collector of the fifth switch is connected to a power supply, the emitter of the fifth switch is grounded, and the base of the fifth switch is connected to the comparison circuit.

[0010] As an improvement of the above scheme, the switch circuit includes a third switch, a fourth switch, a fifth switch, a sixth switch, a seventh switch, a first voltage regulator diode, a second voltage regulator diode, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a first capacitor and a second capacitor; the source of the third switch is connected to the power supply, the drain of the third switch is connected to the comparison circuit, the gate of the third switch is connected to the power supply through the sixth resistor, and the first voltage regulator diode is connected to the sixth resistor in parallel; the source of the fourth switch is grounded, the drain of the fourth switch is connected to the gate of the third switch through the seventh resistor, and the gate of the fourth switch is connected to the power supply through the eighth resistor; the collector of the fifth switch is connected to the power supply through the twelfth resistor , the emitter of the fifth switch is grounded, and the base of the fifth switch is connected to the comparison circuit through the fourteenth resistor; the collector of the sixth switch is connected to the gate of the fourth switch through the tenth resistor, the emitter of the sixth switch is grounded, the base of the sixth switch is connected to the collector of the fifth switch through the eleventh resistor and is grounded through the ninth resistor, the second capacitor is connected in parallel with the ninth resistor, and the first capacitor is connected in parallel with the tenth resistor; the collector of the seventh switch is connected to the base of the sixth switch, the emitter of the seventh switch is connected to the gate of the fourth switch, and the base of the seventh switch is connected to the collector of the sixth switch; one end of the thirteenth resistor is connected to the gate of the fourth switch, and the other end is grounded; the cathode of the second voltage stabilizing diode is connected to the gate of the fourth switch, and the positive electrode is grounded.

[0011] As an improvement of the above solution, the comparison circuit includes a first switch and a second switch, and the first switch and the second switch are synchronously turned on or off.

[0012] As an improvement of the above solution, the emitter of the second switch is connected to the driving sub-circuit, the collector of the second switch is connected to the detection sub-circuit, the base of the second switch is connected to the base of the first switch and the collector of the first switch, and the emitter of the first switch is connected to the LED load circuit.

[0013] As an improvement of the above scheme, the comparison circuit includes a first switch, a second switch, a first resistor, a third resistor and a fourth resistor; the emitter of the second switch is connected to the driving subcircuit and connected to the emitter of the first switch through the first resistor, the collector of the second switch is connected to the detection subcircuit and grounded through the third resistor, the base of the second switch is connected to the base of the first switch and the collector of the first switch; the collector of the first switch is grounded through the fourth resistor, and the emitter of the first switch is connected to the LED load circuit.

[0014] As an improvement of the above solution, the comparison circuit further includes a fifth resistor, and the emitter of the first switch is connected to the LED load circuit through the fifth resistor.

[0015] As an improvement of the above solution, the logic level-based error reporting circuit further includes a second resistor, and the switch circuit is connected to the power supply via the second resistor.

[0016] As an improvement of the above solution, one end of the LED load circuit is connected to the comparison circuit, and the other end is grounded.

[0017] The implementation of the present invention has the following beneficial effects:

[0018] The error reporting circuit based on logic level of the present invention can utilize the voltage and current conduction characteristics between different circuits through the mutual cooperation among the comparison circuit, LED load circuit, charging subcircuit, release subcircuit, driving subcircuit and detection subcircuit, so as to enable the load to realize the "one fail fail" function;

[0019] Furthermore, the present invention adopts a logic level design method and utilizes the voltage and current conduction characteristics of the switch tube to make the port or node present a high level or low level state, thereby realizing an error reporting action.

[0020] Therefore, the present invention can respond quickly and accurately, cut off the input power supply, and achieve the purpose of feedback error and reducing failure current; compared with digital circuits such as microprocessors, this circuit has the advantages of faster response speed, higher judgment accuracy, lower cost, and no need for software control. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a structural schematic diagram of an error reporting circuit based on logic level of the present invention;

[0022] Figure 2 It is a structural schematic diagram of a switch circuit in an error reporting circuit based on a logic level of the present invention;

[0023] Figure 3 It is a structural schematic diagram of a comparison circuit in an error reporting circuit based on logic level of the present invention;

[0024] Figure 4 It is a circuit diagram of a first embodiment of an error reporting circuit based on logic level of the present invention;

[0025] Figure 5 is a circuit diagram of a second embodiment of an error reporting circuit based on logic levels of the present invention;

[0026] Figure 6 is a circuit diagram of a third embodiment of the error reporting circuit based on logic level of the present invention;

[0027] Figure 7 It is a circuit diagram of a fourth embodiment of the error reporting circuit based on logic level of the present invention. DETAILED DESCRIPTION

[0028] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0029] See also Figure 1 , Figure 1 The specific structure of the error reporting circuit based on logic level of the present invention is shown, which includes a switch circuit 1, a comparison circuit 2 and an LED load circuit 3. The switch circuit 1 is connected to a power supply and includes a charging subcircuit 11, a release subcircuit 12, a driving subcircuit 13 and a detection subcircuit 14. Specifically:

[0030] The charging subcircuit 11 is connected to the releasing subcircuit 12 and is used to control the on / off state of the releasing subcircuit 12;

[0031] The release sub-circuit 12 is connected to the drive sub-circuit 13 and is used to control the on / off state of the drive sub-circuit 13;

[0032] The driving sub-circuit 13 is connected to the comparison circuit 2 and is used to control the on / off state of the comparison circuit 2;

[0033] The comparison circuit 2 is connected to the LED load circuit 3 and the detection sub-circuit 14 respectively, and is used to drive the LED load circuit 3 and control the on-off state of the detection sub-circuit 14 according to the working state of the LED load circuit 3;

[0034] The detection subcircuit 14 is connected to the charging subcircuit 11 and is used to control the working state of the charging subcircuit 11 .

[0035] The power input switch circuit 1 is divided into two paths, wherein the first power input is the charging subcircuit 11 for charging processing, and the second power input is the driving subcircuit 13; since the charging subcircuit 11 has not completed charging, the release subcircuit 12 is not turned on at this time, so the driving subcircuit 13 can be turned on, so that the second power input is input to the comparison circuit 2, so that the comparison circuit 2 drives the LED load circuit 3; when the LED load circuit 3 works normally, the comparison circuit 2 controls the detection subcircuit 14 to be turned on, thereby terminating the charging work of the charging subcircuit 11, and the release subcircuit 12 remains disconnected; when the LED load circuit 3 fails, the comparison circuit 2 controls the detection subcircuit 14 to be disconnected, and the charging subcircuit 11 continues to charge. When the charging subcircuit 11 completes charging, the release subcircuit 12 is turned on, and the second power is released along the release subcircuit 12, so the driving subcircuit 13 is disconnected, the second power cannot be input to the comparison circuit 2, and the LED load circuit 3 is no longer powered.

[0036] Therefore, by means of the mutual coordination among the comparison circuit 2, the LED load circuit 3, the charging sub-circuit 11, the release sub-circuit 12, the driving sub-circuit 13 and the detection sub-circuit 14, the voltage and current conduction characteristics between different circuits can be utilized to enable the load to realize the "one fail fail" function, that is, if any lamp bead in the LED load circuit 3 fails to light up normally, all other lamp beads will also fail to light up.

[0037] In some embodiments, the driving subcircuit 13 includes a third switch Q3 and a fourth switch Q4, the releasing subcircuit 12 includes a sixth switch Q6 and a seventh switch Q7, the charging subcircuit 11 includes a second capacitor C2, and the detecting subcircuit 14 includes a fifth switch Q5. Specifically:

[0038] When the fifth switch Q5 is turned on, the second capacitor C2 stops charging, and the sixth switch Q6 and the seventh switch Q7 are turned off, so that the third switch Q3 and the fourth switch Q4 are turned on;

[0039] When the fifth switch Q5 is turned off and the second capacitor C2 is not fully charged, the sixth switch Q6 and the seventh switch Q7 are turned off, so that the third switch Q3 and the fourth switch Q4 are turned on;

[0040] When the fifth switch Q5 is turned off and the second capacitor C2 is fully charged, the sixth switch Q6 and the seventh switch Q7 are turned on to turn off the third switch Q3 and the fourth switch Q4.

[0041] Therefore, the charging subcircuit 11 can be controlled by the detection subcircuit 14, the on-off control of the release subcircuit 12 can be controlled by the charging subcircuit 11, and the on-off control of the drive subcircuit 13 can be controlled by the release subcircuit 12 with high accuracy.

[0042] like Figure 2 As shown, in this embodiment, the source of the third switch Q3 is connected to the power supply, the drain of the third switch Q3 is connected to the comparison circuit 2, and the gate of the third switch Q3 is connected to the drain of the fourth switch Q4; the source of the fourth switch Q4 is grounded, the gate of the fourth switch Q4 is connected to the emitter of the seventh switch Q7, the collector of the seventh switch Q7 is connected to the base of the sixth switch Q6, the base of the seventh switch Q7 is connected to the collector of the sixth switch Q6, and the emitter of the sixth switch Q6 is grounded; the collector of the fifth switch Q5 is connected to the power supply, the emitter of the fifth switch Q5 is grounded, and the base of the fifth switch Q5 is connected to the comparison circuit 2.

[0043] In addition, in some embodiments, the comparison circuit 2 includes a first switch Q1 and a second switch Q2 , and the first switch Q1 and the second switch Q2 are turned on or off synchronously.

[0044] like Figure 3As shown, in this embodiment, the emitter of the second switch Q2 is connected to the driving sub-circuit 13, the collector of the second switch Q2 is connected to the detection sub-circuit 14, the base of the second switch Q2 is connected to the base of the first switch Q1 and the collector of the first switch Q1, and the emitter of the first switch Q1 is connected to the LED load circuit 3.

[0045] Therefore, the present invention adopts a logic level design method and utilizes the voltage and current conduction characteristics of the switch tube to make the port or node present a high level or low level state, thereby enabling the load to achieve a "one fail" function.

[0046] The switch circuit 1, the comparison circuit 2 and the LED load circuit 3 are described in detail below in conjunction with specific embodiments:

[0047] Embodiment 1:

[0048] 1. Switching circuit 1

[0049] like Figure 4 As shown, in this embodiment, the switch circuit 1 includes a third switch Q3, a fourth switch Q4, a fifth switch Q5, a sixth switch Q6, a seventh switch Q7, a first Zener diode DZ1, a second Zener diode DZ2, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a first capacitor C1 and a second capacitor C2;

[0050] The source of the third switch Q3 is connected to the power supply, the drain of the third switch Q3 is connected to the comparison circuit 2, the gate of the third switch Q3 is connected to the power supply via the sixth resistor R6, and the first voltage zener diode DZ1 is connected in parallel with the sixth resistor R6;

[0051] The source of the fourth switch Q4 is grounded, the drain of the fourth switch Q4 is connected to the gate of the third switch Q3 via the seventh resistor R7, and the gate of the fourth switch Q4 is connected to the power supply via the eighth resistor R8;

[0052] The collector of the fifth switch Q5 is connected to the power supply through the twelfth resistor R12, the emitter of the fifth switch Q5 is grounded, and the base of the fifth switch Q5 is connected to the comparison circuit 2 through the fourteenth resistor R14;

[0053] The collector of the sixth switch Q6 is connected to the gate of the fourth switch Q4 through the tenth resistor R10, the emitter of the sixth switch Q6 is grounded, the base of the sixth switch Q6 is connected to the collector of the fifth switch Q5 through the eleventh resistor R11 and is grounded through the ninth resistor R9, the second capacitor C2 is connected in parallel with the ninth resistor R9, and the first capacitor C1 is connected in parallel with the tenth resistor R10;

[0054] The collector of the seventh switch Q7 is connected to the base of the sixth switch Q6, the emitter of the seventh switch Q7 is connected to the gate of the fourth switch Q4, and the base of the seventh switch Q7 is connected to the collector of the sixth switch Q6;

[0055] One end of the thirteenth resistor R13 is connected to the gate of the fourth switch Q4, and the other end is grounded;

[0056] The cathode of the second voltage stabilizing diode DZ2 is connected to the gate of the fourth switch Q4, and the anode of the second voltage stabilizing diode DZ2 is grounded.

[0057] It should be noted that the power supply is divided into two paths after being input into the switch circuit 1. The first power supply charges the second capacitor C2 after being limited by the twelfth resistor R12. The second power supply is divided into two paths after passing through the node of the first voltage zener diode DZ1, one path flows to the third switch Q3, and the other path flows to the fourth switch Q4. At this time, the source and gate of the third switch Q3 receive the voltage stabilizing source of the first voltage zener diode DZ1, resulting in that the third switch Q3 is not turned on yet. The fourth switch Q4 needs to pull down the gate of the third switch Q3 before it can be turned on.

[0058] At the same time, since the second capacitor C2 is in a charging state and needs time (here C2 is equivalent to an interruption program step from the MCU being powered on to preparing to execute the program to the output to the load), the sixth switch Q6 and the seventh switch Q7 are turned off, and the power flows to the fourth switch Q4, so that the fourth switch Q4 pulls down the gate of the third switch Q3, and the third switch Q3 is turned on to the comparison circuit 2 part.

[0059] 2. Comparison Circuit 2

[0060] like Figure 4 As shown, in this embodiment, the comparison circuit 2 includes a first switch Q1, a second switch Q2, a first resistor, a third resistor R3 and a fourth resistor R4;

[0061] The emitter of the second switch Q2 is connected to the driving sub-circuit 13 and connected to the emitter of the first switch Q1 through the first resistor, the collector of the second switch Q2 is connected to the detection sub-circuit 14 (i.e., the base of the fifth switch Q5) and grounded through the third resistor R3, and the base of the second switch Q2 is connected to the base of the first switch Q1 and the collector of the first switch Q1;

[0062] The collector of the first switch Q1 is grounded via the fourth resistor R4 , and the emitter of the first switch Q1 is connected to the LED load circuit 3 .

[0063] It should be noted that the comparison circuit 2 in the present invention is a mirror source circuit. The second switch Q2 is connected to the power supply from the third switch Q3. The second switch Q2 and the first switch Q1 are turned on and transmitted to the LED load circuit 3 at the same time, lighting up the LED load circuit 3. At this time, the second switch Q2 and the first switch Q1 form a comparison power supply, which is a balanced state. Among them, the collector of the second switch Q2 is normally working in a high level state, which is transmitted to the fifth switch Q5. After the fifth switch Q5 is turned on, the charging state of the second capacitor C2 is turned off. At this time, the circuit forms a stable state of lighting up the LED load circuit 3.

[0064] 3. LED load circuit 3

[0065] like Figure 4 As shown, in this embodiment, one end of the LED load circuit 3 is connected to the comparison circuit 2, and the other end is grounded. The LED load circuit 3 includes a plurality of lamp beads connected in series.

[0066] It should be noted that when the series lamp beads in the LED load circuit 3 are damaged, the voltages at both ends of the first resistor R1 are different. When the balance in the comparison circuit 2 is broken, the energy for the comparison circuit 2 to work is released from the fourth resistor R4, the collector of the second switch Q2 is in a low level state, and the fifth switch Q5 is in a cut-off state; at this time, the first power supply returns to the initial startup state, and energy is given to the second capacitor C2, so that the second capacitor C2 is in a charging state; when the second capacitor C2 is completely charged, the seventh switch Q7 and the sixth switch Q6 are connected to the ground, and the continuously input power is released through the seventh switch Q7 and the sixth switch Q6; because the fourth switch Q4 cannot pull down the gate of the third switch Q3, the third switch Q3 is in a cut-off state at this time, and the drive sub-circuit 13 is in a closed state, turning off all LED load circuits 3, achieving the function of "one fail fail".

[0067] Embodiment 2:

[0068] and Figure 4 The difference from the first embodiment shown in the figure is that the comparison circuit 2 in this embodiment further includes a fifth resistor R5. Figure 5 As shown, the emitter of the first switch Q1 is connected to the LED load circuit 3 via the fifth resistor R5.

[0069] The power supply can be further divided by the fifth resistor R5. When the series-connected lamp beads in the LED load circuit 3 are damaged, the voltages at both ends of the fifth resistor R5 are different, thereby affecting the voltages at both ends of the first resistor R1.

[0070] Embodiment three:

[0071] and Figure 4The difference from the first embodiment shown in FIG. 1 is that the present embodiment further includes a second resistor R2. Figure 6 As shown, the switch circuit 1 is connected to the power supply via the second resistor R2.

[0072] The second resistor R2 is a current limiting resistor. When a larger current needs to be input, if the current exceeds the resistor power, the second resistor R2 can act as a fuse to protect subsequent devices.

[0073] Embodiment 4:

[0074] and Figure 5 The difference between the second embodiment shown in FIG. 1 and FIG. 2 is that the second embodiment further includes a second resistor R2. Figure 7 As shown, the switch circuit 1 is connected to the power supply via the second resistor R2.

[0075] Similarly, the second resistor R2 is a current-limiting resistor. When a larger current needs to be input, if the current exceeds the resistor power, the second resistor R2 can act as a fuse to protect subsequent devices.

[0076] Therefore, the error reporting circuit based on the logic level of the present invention uses transistors, resistors and capacitors to build an error reporting circuit; wherein, the present invention judges the quality of the LED load circuit 3 in real time through the comparison circuit 2, and when the LED load circuit 3 has a damaged lamp bead, it can immediately start to perform an error reporting action; at the same time, the switch circuit 1 in the present invention can realize double buffering, that is, when the circuit is started, the switch circuit 1 acts as a delay / interruption function, and when the circuit reports an error, the switch circuit 1 acts as a circuit breaker, connecting the power supply to the ground for release; therefore, the present invention can respond quickly and accurately, cut off the input power supply, and achieve the purpose of feedback error and reducing failure current; compared with digital circuits such as microprocessors, this circuit has the advantages of faster response speed, higher judgment accuracy, lower cost, and no need for software control.

[0077] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A logic level based error reporting circuit, characterized in that: It includes a switch circuit, a comparison circuit and an LED load circuit, wherein the switch circuit is connected to a power supply and includes a charging subcircuit, a releasing subcircuit, a driving subcircuit and a detecting subcircuit; The charging subcircuit is connected to the releasing subcircuit and is used to control the on / off state of the releasing subcircuit; The release subcircuit is connected to the drive subcircuit and is used to control the on / off state of the drive subcircuit; The driving subcircuit is connected to the comparison circuit and is used to control the on / off state of the comparison circuit; The comparison circuit is connected to the LED load circuit and the detection subcircuit respectively, and is used to drive the LED load circuit and control the on / off state of the detection subcircuit according to the working state of the LED load circuit; The detection subcircuit is connected to the charging subcircuit and is used to control the working state of the charging subcircuit.

2. The logic level based error reporting circuit as claimed in claim 1, characterized in that: The driving subcircuit includes a third switch and a fourth switch, the releasing subcircuit includes a sixth switch and a seventh switch, the charging subcircuit includes a second capacitor, and the detecting subcircuit includes a fifth switch; When the fifth switch is turned on, the sixth switch and the seventh switch are turned off, so that the third switch and the fourth switch are turned on; When the fifth switch is turned off and the second capacitor is not fully charged, the sixth switch and the seventh switch are turned off to turn on the third switch and the fourth switch; When the fifth switch is turned off and the second capacitor is fully charged, the sixth switch and the seventh switch are turned on to turn off the third switch and the fourth switch.

3. The logic level based error reporting circuit as claimed in claim 2, characterized in that: The source of the third switch is connected to a power supply, the drain of the third switch is connected to the comparison circuit, and the gate of the third switch is connected to the drain of the fourth switch; The source of the fourth switch is grounded, and the gate of the fourth switch is connected to the emitter of the seventh switch; The collector of the seventh switch is connected to the base of the sixth switch, the base of the seventh switch is connected to the collector of the sixth switch, and the emitter of the sixth switch is grounded; The collector of the fifth switch is connected to a power supply, the emitter of the fifth switch is grounded, and the base of the fifth switch is connected to the comparison circuit.

4. The logic level based error reporting circuit as claimed in claim 1, characterized in that: The switch circuit includes a third switch, a fourth switch, a fifth switch, a sixth switch, a seventh switch, a first voltage zener diode, a second voltage zener diode, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a first capacitor and a second capacitor; The source of the third switch is connected to the power supply, the drain of the third switch is connected to the comparison circuit, the gate of the third switch is connected to the power supply through the sixth resistor, and the first voltage regulator diode is connected in parallel with the sixth resistor; The source of the fourth switch is grounded, the drain of the fourth switch is connected to the gate of the third switch through the seventh resistor, and the gate of the fourth switch is connected to the power supply through the eighth resistor; The collector of the fifth switch is connected to the power supply through the twelfth resistor, the emitter of the fifth switch is grounded, and the base of the fifth switch is connected to the comparison circuit through the fourteenth resistor; The collector of the sixth switch is connected to the gate of the fourth switch through the tenth resistor, the emitter of the sixth switch is grounded, the base of the sixth switch is connected to the collector of the fifth switch through the eleventh resistor and is grounded through the ninth resistor, the second capacitor is connected in parallel with the ninth resistor, and the first capacitor is connected in parallel with the tenth resistor; The collector of the seventh switch is connected to the base of the sixth switch, the emitter of the seventh switch is connected to the gate of the fourth switch, and the base of the seventh switch is connected to the collector of the sixth switch; One end of the thirteenth resistor is connected to the gate of the fourth switch, and the other end is grounded; The cathode of the second voltage stabilizing diode is connected to the gate of the fourth switch, and the anode of the second voltage stabilizing diode is grounded.

5. The logic level based error reporting circuit as claimed in claim 1, characterized in that: The comparison circuit includes a first switch and a second switch, and the first switch and the second switch are synchronously turned on or off.

6. The logic level based error reporting circuit as claimed in claim 5, characterized in that: The emitter of the second switch is connected to the driving subcircuit, the collector of the second switch is connected to the detecting subcircuit, the base of the second switch is connected to the base of the first switch and the collector of the first switch, and the emitter of the first switch is connected to the LED load circuit.

7. The logic level based error reporting circuit as claimed in claim 1, characterized in that: The comparison circuit includes a first switch, a second switch, a first resistor, a third resistor and a fourth resistor; The emitter of the second switch is connected to the driving subcircuit and connected to the emitter of the first switch through the first resistor, the collector of the second switch is connected to the detection subcircuit and grounded through the third resistor, and the base of the second switch is connected to the base of the first switch and the collector of the first switch; A collector of the first switch is grounded through the fourth resistor, and an emitter of the first switch is connected to the LED load circuit.

8. The logic level based error reporting circuit as claimed in claim 7, characterized in that: The comparison circuit further includes a fifth resistor, and the emitter of the first switch is connected to the LED load circuit through the fifth resistor.

9. The logic level based error reporting circuit as claimed in claim 1, characterized in that: A second resistor is also included, and the switch circuit is connected to the power supply via the second resistor.

10. The logic level based error reporting circuit according to claim 1, characterized in that: One end of the LED load circuit is connected to the comparison circuit, and the other end is grounded.