Error reporting circuit based on logic level

By designing an error reporting circuit based on logic levels and utilizing the voltage and current conduction characteristics to achieve fast and accurate error reporting, the problems of high cost and slow response in existing technologies are solved, and higher precision and faster response LED control are achieved.

CN223729966UActive Publication Date: 2025-12-26FOSHAN ELECTRICAL & LIGHTING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422979359.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-12-26
Estimated Expiration
2034-12-03

AI Technical Summary

Technical Problem

Existing LED control and error reporting methods are costly to use programmable chips, require additional current detection chips and have slow response speeds, and their accuracy is affected when directly controlled by an MCU.

Method used

Design a logic level-based error reporting circuit, including a switching circuit, a comparator circuit, and an LED load circuit. Through the cooperation of the charging sub-circuit, the releasing sub-circuit, the driving sub-circuit, and the detection sub-circuit, the voltage and current conduction characteristics are utilized to achieve a fast and accurate error reporting function.

Benefits of technology

It achieves fast and accurate error response, reduces costs, improves judgment accuracy, and requires no software control, resulting in a faster response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223729966U_ABST
    Figure CN223729966U_ABST
Patent Text Reader

Abstract

The utility model discloses an error reporting circuit based on logic level, which relates to the technical field of lighting, and comprises a switching circuit, a comparison circuit and an LED load circuit, the switching circuit is connected with a power supply and 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, an 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 utility model relates to lighting technical field especially, relate to an error reporting circuit based on logic level. BACKGROUND

[0002] At present, in the factory research and development process, the control and error reporting method of LED mostly uses programmable chip to control.

[0003] Scheme one: MCU and current detection chip are used in cooperation, MCU can use the statement instruction of program code, reads the current value calculated by current detection chip, and MCU judges whether the current value is preset value again, if not in the range value, feedback to error reporting foot, enables the interrupt input, however, in addition to programmable chip, this scheme still needs to set one current detection chip, and the cost rises.

[0004] Scheme two: under the condition that MCU pin is sufficient, directly use MCU in cooperation with resistance, uses two MCU pins, gathers ADC and compares resistance two end voltage variation, uses program function operation to determine the value, whether it is normal working load voltage value, if not in the set value, through high low level informs DC chip, disconnects DC chip input to load / load lamp pearl chip voltage, namely, extinguishes load, however, this scheme uses comparison resistance and connects back MCU to gather voltage, is easily affected by precision problem.

[0005] From the above, the price of programmable chip itself can be higher than traditional fixed function chip, and programming tool, debugging and maintenance cost also need to be considered, which is not necessarily suitable for development scheme, in addition, compared with hardware, programmable chip control LED lamp needs time to process program and working step, thereby affecting the response speed of system. UTILITY MODEL CONTENT

[0006] The utility model solves the technical problem to provide an error reporting circuit based on logic level, can fast and accurate response, reaches the purpose of feedback error and reduces invalid current.

[0007] In order to solve the above technical problems, the utility model provides a kind of error reporting circuit based on logic level, comprising: switching circuit, comparison circuit and LED load circuit, the switching circuit is connected power supply and the switching circuit includes charging subcircuit, release subcircuit, drive subcircuit and detection subcircuit;The charging subcircuit is connected with the release subcircuit, for controlling the on-off state of the release subcircuit;The release subcircuit is connected with the drive subcircuit, for controlling the on-off state of the drive subcircuit;The drive subcircuit is connected with the comparison circuit, for controlling the on-off state of the comparison circuit;The comparison circuit is connected with the LED load circuit and detection subcircuit respectively, for driving the LED load circuit and according to the on-off state of the LED load circuit control detection subcircuit's on-off state;The detection subcircuit is connected with the charging subcircuit, for controlling the working state of the charging subcircuit.

[0008] As the improvement of the above scheme, the drive subcircuit includes third switch and fourth switch, the release subcircuit includes sixth switch and seventh switch, the charging subcircuit includes second capacitor, and the detection subcircuit includes 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 full of electricity, 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 full of electricity, the sixth switch and the seventh switch are turned on, so that the third switch and the fourth switch are turned off.

[0009] As the improvement of the above scheme, the source electrode of the third switch is connected with the power supply, the drain electrode of the third switch is connected with the comparison circuit, and the gate electrode of the third switch is connected with the drain electrode of the fourth switch;The source electrode of the fourth switch is grounded, and the gate electrode of the fourth switch is connected with the emitter electrode of the seventh switch;The collector electrode of the seventh switch is connected with the base electrode of the sixth switch, the base electrode of the seventh switch is connected with the collector electrode of the sixth switch, and the emitter electrode of the sixth switch is grounded;The collector electrode of the fifth switch is connected with the power supply, the emitter electrode of the fifth switch is grounded, and the base electrode of the fifth switch is connected with the comparison circuit.

[0010] As an improvement of the above-mentioned scheme, the switch circuit comprises a third switch, a fourth switch, a fifth switch, a sixth switch, a seventh switch, a first voltage stabilizing diode, a second voltage stabilizing 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 a 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 stabilizing diode is connected in parallel with the sixth resistor; the source of the fourth switch is connected to ground, 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 connected to ground, 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 connected to ground, the base of the sixth switch is connected to the collector of the fifth switch through the eleventh resistor and to ground 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 connected to ground; the negative electrode of the second voltage stabilizing diode is connected to the gate of the fourth switch, and the positive electrode is connected to ground.

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

[0012] As an improvement of the above-mentioned scheme, 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-mentioned scheme, the comparison circuit comprises 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 sub-circuit and to the emitter of the first switch through the first resistor, the collector of the second switch is connected to the detection sub-circuit and to ground 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; the collector of the first switch is connected to ground through the fourth resistor, and the emitter of the first switch is connected to the LED load circuit.

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

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

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

[0017] The utility model discloses, has the following beneficial effect:

[0018] The error reporting circuit based on logic level of the utility model discloses through the mutual cooperation between comparison circuit, LED load circuit, charging subcircuit, release subcircuit, drive subcircuit and detection subcircuit, can utilize the voltage current conduction characteristic between different circuits, makes the load realize " one fail all fail " function;

[0019] Further, the utility model discloses the method of logic level design, utilize the voltage current conduction characteristic of switch tube, can make the port or node present high level or low level state, thereby realizes error reporting action.

[0020] Therefore, the utility model discloses can fast and accurate response, cut off input power supply, reaches the purpose of feedback error and reduces failure current, compared with digital circuit such as microprocessor, this circuit has the advantages such as faster response, higher accuracy, lower cost, need not software control. BRIEF DESCRIPTION OF DRAWINGS

[0021] Figure 1 It is the structure schematic diagram of the error reporting circuit based on logic level of the utility model discloses;

[0022] Figure 2 It is the structure schematic diagram of switch circuit in the error reporting circuit based on logic level of the utility model discloses;

[0023] Figure 3 It is the structure schematic diagram of comparison circuit in the error reporting circuit based on logic level of the utility model discloses;

[0024] Figure 4 It is the first embodiment circuit diagram of the error reporting circuit based on logic level of the utility model discloses;

[0025] Figure 5 It is the second embodiment circuit diagram of the error reporting circuit based on logic level of the utility model discloses;

[0026] Figure 6 It is the third embodiment circuit diagram of the error reporting circuit based on logic level of the utility model discloses.

[0027] Figure 7 is the fourth embodiment circuit diagram of the error reporting circuit based on the logic level of the utility model. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical scheme and advantage of the utility model more clearly, the utility model will be further described in detail below with the drawings.

[0029] Referring to Figure 1 , Figure 1 The specific structure of the error reporting circuit based on the logic level of the utility model is shown, which comprises a switching circuit 1, a comparison circuit 2 and an LED load circuit 3, the switching circuit 1 is connected with a power supply and comprises a charging sub-circuit 11, a release sub-circuit 12, a driving sub-circuit 13 and a detection sub-circuit 14.

[0030] The charging sub-circuit 11 is connected with the release sub-circuit 12 and is used for controlling the on-off state of the release sub-circuit 12;

[0031] The release sub-circuit 12 is connected with the driving sub-circuit 13 and is used for controlling the on-off state of the driving sub-circuit 13;

[0032] The driving sub-circuit 13 is connected with the comparison circuit 2 and is used for controlling the on-off state of the comparison circuit 2;

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

[0034] The detection sub-circuit 14 is connected with the charging sub-circuit 11 and is used for controlling the working state of the charging sub-circuit 11.

[0035] After the power input switching circuit 1 is divided into two paths, wherein the first path power input charging sub-circuit 11 carries out charging processing, the second path power input driving sub-circuit 13; since the charging sub-circuit 11 does not complete charging, the release sub-circuit 12 does not conduct at this time, so the driving sub-circuit 13 can conduct, thereby the second path power input 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 sub-circuit 14 to conduct, thereby the charging work of the charging sub-circuit 11 is suspended, and the release sub-circuit 12 remains disconnected; when the LED load circuit 3 fails, the comparison circuit 2 controls the detection sub-circuit 14 to disconnect, and the charging sub-circuit 11 continues to charge, when the charging sub-circuit 11 completes charging, the release sub-circuit 12 is conducted, at this time, the second path power along the release sub-circuit 12 releases, so the driving sub-circuit 13 is disconnected, and the second path power cannot input the comparison circuit 2, and the LED load circuit 3 is no longer powered.

[0036] Therefore, by cooperating with each other in the comparison circuit 2, LED load circuit 3, charging sub-circuit 11, releasing sub-circuit 12, driving sub-circuit 13 and detection sub-circuit 14, the voltage and current conduction characteristics between different circuits can be used to enable the load to achieve the "one light, all light" function, that is, if any one LED bead in the LED load circuit 3 fails to light up normally, all the other LED beads will fail to light up.

[0037] In some embodiments, the driving sub-circuit 13 includes a third switch Q3 and a fourth switch Q4, the release sub-circuit 12 includes a sixth switch Q6 and a seventh switch Q7, the charging sub-circuit 11 includes a second capacitor C2, and the detection sub-circuit 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 off and the second capacitor C2 is not fully charged, the sixth switch Q6 and the seventh switch Q7 are off, so that the third switch Q3 and the fourth switch Q4 are turned on.

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

[0041] Therefore, the charging control of the charging sub-circuit 11 can be realized through the detection sub-circuit 14, the on / off control of the release sub-circuit 12 can be realized through the charging sub-circuit 11, and the on / off control of the drive sub-circuit 13 can also be realized through the release sub-circuit 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 comparator 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 comparator circuit 2.

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

[0044] like Figure 3As shown, in the embodiment, the emitter of the second switch Q2 is connected with the driving sub-circuit 13, the collector of the second switch Q2 is connected with the detecting sub-circuit 14, the base of the second switch Q2 is connected with 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 with the LED load circuit 3.

[0045] Therefore, the utility model discloses a logic level design method, using the voltage and current conduction characteristic of switch tube, can make the port or node present high level or low level state, thereby making the load realize " one fail all fail " function.

[0046] The switch circuit 1, the comparison circuit 2 and the LED load circuit 3 are described in detail as follows:

[0047] Embodiment one:

[0048] I. switch circuit 1

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

[0050] the source of the third switch Q3 is connected with the power supply, the drain of the third switch Q3 is connected with the comparison circuit 2, the gate of the third switch Q3 is connected with the power supply through the sixth resistance R6, and the first voltage stabilizing diode DZ1 is connected with the sixth resistance R6 in parallel;

[0051] the source of the fourth switch Q4 is grounded, the drain of the fourth switch Q4 is connected with the gate of the third switch Q3 through the seventh resistance R7, and the gate of the fourth switch Q4 is connected with the power supply through the eighth resistance R8;

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

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

[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 negative electrode of the second voltage stabilizing diode DZ2 is connected to the gate of the fourth switch Q4, and the positive electrode is grounded.

[0057] It should be noted that the power input switch circuit 1 is divided into two paths after the power supply, the first path of the power supply is limited by the twelfth resistor R12, and then charges the second capacitor C2; the second path of the power supply is divided into two paths after passing through the node of the first voltage stabilizing 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 stabilizing diode DZ1, so that the third switch Q3 is not yet turned on, and the fourth switch Q4 needs to pull down the gate of the third switch Q3 to turn on.

[0058] At the same time, since the second capacitor C2 is in a charging state, it takes time (here, C2 is equivalent to an interrupt program step before the MCU is powered on and ready to execute the program to turn on and output to the load), so the sixth switch Q6 and the seventh switch Q7 are cut 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 to turn on the third switch Q3 to the comparison circuit 2 part.

[0059] II. Comparison circuit 2

[0060] As shown in Figure 4 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 through 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 comparator circuit 2 in this invention is a mirror source circuit. The second switch Q2 is connected to the power supply from the third switch Q3. When the second switch Q2 and the first switch Q1 are turned on, the power is transmitted to the LED load circuit 3, illuminating the LED load circuit 3. At this time, the second switch Q2 and the first switch Q1 form a comparative power supply, which is a balanced state. The collector of the second switch Q2 is normally 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 where the LED load circuit 3 is lit.

[0064] III. 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 comparator circuit 2, and the other end is grounded. The LED load circuit 3 includes multiple LEDs connected in series.

[0066] It should be noted that when the series-connected LED beads in the LED load circuit 3 are damaged, the voltage across the first resistor R1 is different. When the balance in the comparator circuit 2 is broken, the energy of the comparator circuit 2 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 the energy is given to the second capacitor C2, so that the second capacitor C2 is in a charging state. After the second capacitor C2 is fully charged, the seventh switch Q7 and the sixth switch Q6 are grounded, and the continuously input power is released through the seventh switch Q7 and the sixth switch Q6. Since the fourth switch Q4 cannot pull the gate of the third switch Q3 low, the third switch Q3 is in a cut-off state, the driver sub-circuit 13 is in a closed state, and all LED load circuits 3 are turned off, achieving the function of "one-stop-stop".

[0067] Example 2:

[0068] and Figure 4 Unlike the first embodiment shown, the comparator circuit 2 in this embodiment further includes a fifth resistor R5. For example... Figure 5 As shown, the emitter of the first switch Q1 is connected to the LED load circuit 3 through the fifth resistor R5.

[0069] The power supply can be further divided by the fifth resistor R5. When the series lamp beads in the LED load circuit 3 are damaged, the voltage across the fifth resistor R5 will be different, which will affect the voltage across the first resistor R1.

[0070] Example 3:

[0071] and Figure 4The first embodiment shown is different in that the second embodiment also includes a second resistor R2. Figure 6 As shown, the switch circuit 1 connects the power supply through the second resistor R2.

[0072] The second resistor R2 is a current-limiting resistor, and when a large current needs to be input, if the current exceeds the power of the resistor, the second resistor R2 can function as a fuse to protect the subsequent devices.

[0073] Embodiment four:

[0074] With Figure 5 The second embodiment shown is different in that the second embodiment also includes a second resistor R2. Figure 7 As shown, the switch circuit 1 connects the power supply through the second resistor R2.

[0075] Similarly, the second resistor R2 is a current-limiting resistor, and when a large current needs to be input, if the current exceeds the power of the resistor, the second resistor R2 can function as a fuse to protect the subsequent devices.

[0076] Therefore, the error reporting circuit based on a logic level of the utility model uses a transistor, a resistor and a capacitor to build an error reporting circuit; wherein, the utility model judges the good or bad of the LED load circuit 3 in real time through the comparison circuit 2, and when the LED load circuit 3 appears a damaged lamp bead, can immediately start to do error reporting action; simultaneously, the switch circuit 1 in the utility model can realize double buffering, namely, the switch circuit 1 functions as a delay / interrupt when the circuit starts, and the switch circuit 1 functions as a circuit breaker when the circuit reports an error, and releases the power supply to the ground; therefore, the utility model can respond quickly and accurately, cut off the input power supply, and achieve the purpose of feeding back errors and reducing failure current; compared with digital circuits such as microprocessors, the circuit has the advantages of faster response speed, higher judgment accuracy, lower cost, no need for software control and the like.

[0077] The above is the preferred embodiment of the utility model, and it should be pointed out that for ordinary skilled persons in the technical field, several improvements and refinements can be made without departing from the principles of the utility model, and these improvements and refinements are also considered to be within the protection scope of the utility model.

Claims

1. A logic level based error reporting circuit, comprising: The switch circuit, the comparison circuit and the LED load circuit, the switch circuit is connected with the power supply and the switch circuit includes charging sub-circuit, release sub-circuit, drive sub-circuit and detection sub-circuit; The charging sub-circuit is connected with the release sub-circuit, for controlling the on-off state of the release sub-circuit; The release sub-circuit is connected with the drive sub-circuit, for controlling the on-off state of the drive sub-circuit; The drive sub-circuit is connected with the comparison circuit, for controlling the on-off state of the comparison circuit; The comparison circuit is connected with the LED load circuit and detection sub-circuit respectively, 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 with the charging sub-circuit, for controlling the working state of the charging sub-circuit.

2. The logic level based error reporting circuit of claim 1, wherein, The drive sub-circuit includes third switch and fourth switch, the release sub-circuit includes sixth switch and seventh switch, the charging sub-circuit includes second capacitor, and the detection sub-circuit includes 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, so that the third switch and the fourth switch are turned on; When the fifth switch is turned off and the second capacitor is fully charged, the sixth switch and the seventh switch are turned on, so that the third switch and the fourth switch are turned off.

3. The logic level based error reporting circuit according to claim 2, wherein, The source of the third switch is connected with the power supply, the drain of the third switch is connected with the comparison circuit, and the gate of the third switch is connected with the drain of the fourth switch; The source of the fourth switch is connected with the ground, and the gate of the fourth switch is connected with the emitter of the seventh switch; The collector of the seventh switch is connected with the base of the sixth switch, the base of the seventh switch is connected with the collector of the sixth switch, and the emitter of the sixth switch is connected with the ground; The collector of the fifth switch is connected with the power supply, the emitter of the fifth switch is connected with the ground, and the base of the fifth switch is connected with the comparison circuit.

4. The logic level based error reporting circuit of claim 1, wherein, The switch circuit includes third switch, fourth switch, fifth switch, sixth switch, seventh switch, first voltage stabilizing diode, second voltage stabilizing diode, sixth resistor, seventh resistor, eighth resistor, ninth resistor, tenth resistor, eleventh resistor, twelfth resistor, thirteenth resistor, fourteenth resistor, first capacitor and second capacitor; The source of the third switch is connected with the power supply, the drain of the third switch is connected with the comparison circuit, and the gate of the third switch is connected with the power supply through the sixth resistor, and the first voltage stabilizing diode is connected with the sixth resistor in parallel; The source of the fourth switch is connected with the ground, the drain of the fourth switch is connected with the gate of the third switch through the seventh resistor, and the gate of the fourth switch is connected with 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, and the base of the sixth switch is connected to the collector of the fifth switch through the eleventh resistor and 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 negative electrode of the second voltage stabilizing diode is connected to the gate of the fourth switch, and the positive electrode is grounded.

5. The logic level based error reporting circuit of claim 1, wherein, The comparison circuit comprises a first switch and a second switch, and the first switch and the second switch are synchronously turned on or turned off.

6. The logic level based error reporting circuit of claim 5, wherein, 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.

7. The logic level based error reporting circuit of claim 1, wherein, The comparison circuit comprises 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 sub-circuit and connected to the emitter of the first switch through the first resistor, the collector of the second switch is connected to the detection sub-circuit 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; 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.

8. The logic level based error reporting circuit of claim 7, wherein, The comparison circuit further comprises 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 of claim 1, wherein, Further comprising a second resistor, and the switch circuit is connected to the power supply through the second resistor.

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