LED fault detection method, system, computer device and readable storage medium

By identifying the sub-grayscale frame with the longest LED off time and distributing the reading tasks, the display interruption problem caused by LED fault detection is solved, enabling detection and data reading to be completed within the LED off time, ensuring that the LED lights up normally.

CN116106718BActive Publication Date: 2025-10-21FOSHAN PINE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211547634.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2025-10-21
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

Existing LED fault detection methods are prone to display interruption during the detection process, especially when reading multiple LED fault detection data, which takes a long time.

Method used

By identifying the target sub-grayscale frame as the one with the longest LED off time, the reading time of fault detection data is distributed. Partial data is read within each sub-grayscale frame, and the stop position is recorded to avoid repeated reading. The detection, reading, and display process is completed within the off time.

Benefits of technology

It effectively shortens the reading time of LED fault detection data, avoids display interruption, and ensures that the LED lights can be lit normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116106718B_ABST
    Figure CN116106718B_ABST
Patent Text Reader

Abstract

The application discloses an LED fault detection method and system, computer equipment and a readable storage medium, and relates to the technical field of LEDs. The method comprises the following steps: sequentially identifying target sub-gray frames, and sequentially executing an LED fault detection process in the target sub-gray frames. The target sub-gray frame is a sub-gray frame with the longest LED extinguishing time. The LED fault detection process comprises the following steps: sending an LED fault detection start command to a driving IC to start the LED fault detection; sending an LED fault detection stop command to the driving IC to stop the LED fault detection; reading LED fault detection data generated during the LED fault detection; and sending display data to the driving IC. The application can avoid display interruption problems in the LED fault detection process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of LED technology, and in particular to an LED fault detection method, system, computer equipment and readable storage medium. Background Art

[0002] LED faults are mainly open circuit faults and short circuit faults. Generally, the LED driver IC turns on the LED with a weak current (usually at the uA level) and then detects the LED cathode voltage to determine whether the LED is faulty. Specifically, the conventional LED fault detection implementation method is as follows:

[0003] 1. Send an LED fault detection start command to the driver IC to start LED fault detection;

[0004] 2. Send an LED fault detection stop command to the driver IC to stop LED fault detection;

[0005] 3. Read LED fault detection data;

[0006] 4. Send display data to the driver IC to restore the display;

[0007] Since the above LED fault detection process is completed within 1us, and a general LED light board is composed of multiple LEDs, and reading the LED fault detection data requires reading the results of each LED one by one, reading the LED fault detection data takes a relatively long time, which will cause a long display interruption. Summary of the Invention

[0008] The technical problem to be solved by the present invention is to provide an LED fault detection method, system, computer equipment and readable storage medium, which can avoid the display interruption problem during the LED fault detection process.

[0009] In order to solve the above technical problems, the present invention provides an LED fault detection method, comprising: sequentially identifying target sub-grayscale frames, and sequentially executing LED fault detection processes within the target sub-grayscale frames, wherein the target sub-grayscale frames are sub-grayscale frames in which the LED is off for the longest time. The LED fault detection process comprises: sending an LED fault detection start command to a driver IC to start LED fault detection; sending an LED fault detection stop command to the driver IC to stop the LED fault detection; reading LED fault detection data generated during the LED fault detection; and sending display data to the driver IC.

[0010] As an improvement of the above solution, the target sub-grayscale frame identification method includes: determining the sub-grayscale frame with the longest LED off time in the grayscale frame according to the grayscale code, and the grayscale frame includes multiple sub-grayscale frames with different on times.

[0011] As an improvement to the above solution, after reading the LED fault detection data generated during the LED fault detection, the stop position of the LED fault detection data is recorded.

[0012] As an improvement to the above solution, when reading the LED fault detection data generated during the LED fault detection, the reading is started from the stop position recorded in the previous target sub-grayscale frame.

[0013] Correspondingly, the present invention also provides an LED fault detection system, comprising: an identification module, configured to sequentially identify target sub-grayscale frames, wherein the target sub-grayscale frame is a sub-grayscale frame in which the LED is off for the longest time; a start module, configured to send an LED fault detection start command to a driver IC within the target sub-grayscale frame to start LED fault detection; a stop module, configured to send an LED fault detection stop command to the driver IC within the target sub-grayscale frame to stop the LED fault detection; a reading module, configured to read LED fault detection data generated during the LED fault detection within the target sub-grayscale frame; and a display module, configured to send display data to the driver IC within the target sub-grayscale frame.

[0014] As an improvement to the above solution, the identification module determines the sub-grayscale frame with the longest LED off time in the grayscale frame according to the grayscale code, and the grayscale frame includes a plurality of sub-grayscale frames with different on times.

[0015] As an improvement to the above solution, after the reading module reads the LED fault detection data generated during the LED fault detection, it records a stop position of the LED fault detection data.

[0016] As an improvement to the above solution, when the reading module reads the LED fault detection data generated during the LED fault detection, the reading is started from the stop position recorded in the previous target sub-grayscale frame.

[0017] Correspondingly, the present invention further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the above-mentioned LED fault detection method when executing the computer program.

[0018] Correspondingly, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above-mentioned LED fault detection method when executed by a processor.

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

[0020] The present invention disperses the reading time of LED fault detection data within multiple sub-grayscale frames with the longest LED off time, shortens the reading time of each LED fault detection data, and completes the processes of LED fault detection, LED fault detection data reading, and display data sending within the sub-grayscale frame with the longest LED off time, without affecting the normal lighting of the LED lamp, thereby effectively solving the display interruption problem caused by the LED fault detection process. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a flow chart of an embodiment of the LED fault detection method of the present invention;

[0022] Figure 2 This is the schematic diagram of the LED driver circuit;

[0023] Figure 3 is a schematic diagram of a brightness driving signal A;

[0024] Figure 4 is a schematic diagram of a brightness driving signal B;

[0025] Figure 5 is a schematic diagram of an LED fault detection method of the present invention;

[0026] Figure 6 It is a structural diagram of the LED fault detection system of the present invention. DETAILED DESCRIPTION

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

[0028] See also Figure 1 , Figure 1 The flowchart of an embodiment of the LED fault detection method of the present invention is shown, which includes:

[0029] S101, identifying target sub-grayscale frames in sequence;

[0030] Specifically, the target sub-grayscale frame is the sub-grayscale frame with the longest LED off time. Specifically, the sub-grayscale frame with the longest LED off time in the grayscale frame is determined according to the grayscale coding, wherein the grayscale frame includes multiple sub-grayscale frames with different on times.

[0031] like Figure 2 As shown, in general, the LED can be driven by a brightness drive signal. Different brightness drive signals can record different duty cycles, and the duty cycle can directly affect the brightness. If the average duty cycle is the same, the brightness is the same.

[0032] like Figure 3 As shown, in the brightness driving signal A, the duty cycle is a=Ta / T1;

[0033] like Figure 4 As shown, in the brightness driving signal B, the average duty cycle is a'=(Tb+Tc+Td) / 3T1. When Tb+Tc+Td=3Ta, then a'=a;

[0034] Therefore, the brightness indicated by the brightness driving signal A and the brightness driving signal B are the same.

[0035] Correspondingly, grayscale refers to the specific brightness value of each color lamp bead, and grayscale coding is used to represent the specific brightness value (duty cycle) of each bit; therefore, the sub-grayscale frame with the longest LED off time in the grayscale frame can be determined based on the grayscale coding.

[0036] S102, within the target sub-grayscale frame, sending an LED fault detection start command to the driver IC to start LED fault detection;

[0037] S103, within the target sub-grayscale frame, sending an LED fault detection stop command to the driver IC to stop LED fault detection;

[0038] S104, reading LED fault detection data generated during LED fault detection within the target sub-grayscale frame;

[0039] Since the LED light board is composed of multiple LEDs, and reading the LED fault detection data requires reading the results of each LED one by one, reading the LED fault detection data takes a relatively long time, which will cause a long display interruption; therefore, the present invention divides the reading task into multiple target sub-grayscale frames, that is, reading the LED fault detection data within multiple target sub-grayscale frames.

[0040] Specifically, the present invention performs an LED fault detection in each target sub-grayscale frame, and only reads part of the LED fault detection data in each target sub-grayscale frame until all LED fault detection data are read after multiple target sub-grayscale frames.

[0041] Accordingly, to avoid repeated reading of LED fault detection data, the present invention records the stopping position of the LED fault detection data after each reading of the LED fault detection data generated during LED fault detection. Accordingly, the next time the LED fault detection data generated during LED fault detection is read, reading can begin from the stopping position recorded in the previous target sub-grayscale frame. In other words, each time the LED fault detection data is read, the stopping position of the LED fault detection data is recorded; when the next detection is performed, the LED fault detection data can be read from this stopping position.

[0042] S105 sends display data to the driver IC.

[0043] like Figure 5 As shown, the LED fault detection process (i.e., step S102-step S103), the LED fault detection data reading process (i.e., step S104), and the display data sending process (i.e., step S105) of the present invention are all completed within the LED off time, without affecting the normal lighting of the LED lamp, thereby effectively solving the display interruption problem caused by the LED fault detection process.

[0044] See also Figure 6 , Figure 6 The specific structure of the LED fault detection system 100 of the present invention is shown, which includes an identification module 1, a start module 2, a stop module 3, a reading module 4 and a display module 5. Specifically:

[0045] The identification module 1 is used to identify the target sub-grayscale frame in sequence; wherein, the target sub-grayscale frame is the sub-grayscale frame with the longest LED off time; the identification module 1 can determine the sub-grayscale frame with the longest LED off time in the grayscale frame according to the grayscale coding, and the grayscale frame includes multiple sub-grayscale frames with different conduction times.

[0046] The start module 2 is used to send an LED fault detection start command to the driver IC in the target sub-grayscale frame to start LED fault detection;

[0047] The stop module 3 is used to send an LED fault detection stop command to the driver IC to stop LED fault detection within the target sub-grayscale frame;

[0048] The reading module 4 is used to read the LED fault detection data generated during LED fault detection within the target sub-grayscale frame;

[0049] The display module 5 is used to send display data to the driver IC within the target sub-grayscale frame.

[0050] The present invention divides the reading task into multiple target sub-grayscale frames, that is, reading LED fault detection data within multiple target sub-grayscale frames. Specifically, the present invention performs an LED fault detection once within each target sub-grayscale frame via start module 2 and stop module 3. Within each target sub-grayscale frame, reading module 4 only reads a portion of the LED fault detection data, until all LED fault detection data is read after multiple target sub-grayscale frames have passed.

[0051] Accordingly, to avoid repeated reading of LED fault detection data, the reading module 4 records the stopping position of the LED fault detection data after each reading of the LED fault detection data generated during LED fault detection. Accordingly, the next time the reading module 4 reads the LED fault detection data generated during LED fault detection, it can start reading from the stopping position recorded in the previous target sub-grayscale frame. In other words, the reading module 4 records the stopping position of the LED fault detection data each time it finishes reading the LED fault detection data; when the next detection is performed, it can start reading the LED fault detection data from this stopping position.

[0052] Therefore, the present invention can disperse the reading time of LED fault detection data in multiple sub-grayscale frames with the longest LED off time, shorten the reading time of each LED fault detection data, and complete the processes of LED fault detection, LED fault detection data reading and display data sending in the sub-grayscale frame with the longest LED off time, without affecting the normal lighting of the LED lamp, thereby effectively solving the display interruption problem caused by the LED fault detection process.

[0053] Accordingly, the present invention may disclose a computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein the processor implements the steps of the above-mentioned LED fault detection method when executing the computer program. The present invention also discloses a computer-readable storage medium storing the computer program, wherein the processor implements the steps of the above-mentioned LED fault detection method when executing the computer program.

[0054] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles 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 method for detecting LED faults, characterized in that: include: Identify target sub-grayscale frames in sequence, and execute the LED fault detection process in the target sub-grayscale frames in sequence. The target sub-grayscale frame is the sub-grayscale frame with the longest LED off time. The LED fault detection process includes: Sending an LED fault detection start command to the driver IC to start LED fault detection; Sending an LED fault detection stop command to the driver IC to stop the LED fault detection; Reading LED fault detection data generated during the LED fault detection; Sending display data to the driver IC.

2. The LED fault detection method according to claim 1, wherein: The target sub-grayscale frame identification method includes: determining a sub-grayscale frame with the longest LED off time in a grayscale frame according to grayscale coding, wherein the grayscale frame includes a plurality of sub-grayscale frames with different LED on times.

3. The LED fault detection method according to claim 1, wherein: After reading the LED fault detection data generated during the LED fault detection, a stop position of the LED fault detection data is recorded.

4. The LED fault detection method according to claim 3, wherein: When reading the LED fault detection data generated during the LED fault detection, the reading is started from the stop position recorded in the previous target sub-grayscale frame.

5. An LED fault detection system, characterized in that: include: an identification module, configured to sequentially identify a target sub-grayscale frame, wherein the target sub-grayscale frame is a sub-grayscale frame having the longest LED off time; A starting module, configured to send an LED fault detection starting command to a driver IC within the target sub-grayscale frame to start LED fault detection; a stop module, configured to send an LED fault detection stop command to the driver IC within the target sub-grayscale frame to stop the LED fault detection; a reading module, configured to read, within the target sub-grayscale frame, LED fault detection data generated during the LED fault detection; The display module is used to send display data to the driver IC within the target sub-grayscale frame.

6. The LED fault detection system according to claim 5, wherein: The identification module determines a sub-grayscale frame having the longest LED off time in a grayscale frame according to the grayscale code, and the grayscale frame includes a plurality of sub-grayscale frames with different LED on times.

7. The LED fault detection system according to claim 5, wherein: After reading the LED fault detection data generated during the LED fault detection, the reading module records a stop position of the LED fault detection data.

8. The LED fault detection system according to claim 7, wherein: When the reading module reads the LED fault detection data generated during the LED fault detection, the reading is started from the stop position recorded in the previous target sub-grayscale frame.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the LED fault detection method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the LED fault detection method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Fault diagnosis method for LED screen on street lamp

    CN111260612A

  • Light irradiation system

    CN113892027A