LED display system, constant current driving circuit and display control method
Technical Field
The invention relates to the technical field of LED display, in particular to an LED display system, a constant current driving circuit and a display control method.
Background
An LED (Light Emitting Diode) display screen is a flat panel display that employs LED lamps as pixel elements. The LED display screen has the advantages of high brightness, low working voltage, low power consumption, large scale, long service life, impact resistance, stable performance and the like, and is widely applied to places such as stadiums, commercial office buildings, markets, schools, billboards and the like. The refresh rate of the LED display screen is an important parameter influencing the picture quality, and a stable picture can be obtained and the visual flicker feeling can be reduced by adopting a high refresh rate.
The LED display screen often needs to work for a long time, sometimes still can cause LED lamp damage in the adverse circumstances of high temperature, high humidity, forms LED lamp open circuit or short circuit easily. When the open short circuit phenomenon occurs, not only the damaged LED lamp can not be normally lighted, but also all the LED lamps on the row and the column where the damaged LED lamp is located on the whole LED display screen can be suddenly turned on, and the image quality is greatly influenced. In order to maintain the normal display function of the LED display screen, in the existing LED display system, the control terminal sends a display control signal to the LED display screen in a driving period to realize image display, sends a detection instruction in a detection period to obtain the connection state of all LED lamps on the LED display screen, and shields the LED lamps with abnormal working state in a subsequent driving period to improve the image quality.
However, in the detection period, the control terminal sends a detection instruction to each row of LED lamps line by line, and controls each row of LED lamps to be turned on, and obtains the connection state of the LED lamps according to the turn-on condition and returns the connection state to the control terminal. The detection period of the existing LED display system occupies the time for normally displaying images on the LED display screen, so that the technical indexes of the LED display screen such as the refresh rate, the brightness utilization rate and the like are reduced, and the complexity of system control is increased.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide an LED display system, a constant current driving circuit, and a display control method, which detect and disable an LED lamp having an abnormal operating state in a driving period of an LED display device, so as to simplify a circuit structure of the constant current driving circuit and improve a refresh rate and a luminance utilization rate of the LED display device.
According to an aspect of the present invention, there is provided a display control method of an LED display device, including:
judging whether the working state of the LED lamp is abnormal or not in the driving period of the LED display device;
storing the address of the LED lamp with abnormal working state; and
and disabling the LED lamp with the abnormal working state according to the stored LED lamp address.
Optionally, the step of determining whether the operating state of the LED lamp is abnormal includes:
detecting the working voltage of the LED lamp in the driving period of the LED display device;
and judging whether the working state of the LED lamp is abnormal or not according to the working voltage of the LED lamp.
Optionally, the step of detecting the operating voltage of the LED lamp includes: in the line scanning stage of the frame period, detecting the port voltage of the constant current driving module to obtain the working voltage of the LED lamp,
and the ports of the constant current driving module correspond to the rows of the LED lamps one to one.
Optionally, the row address of the LED lamp with the abnormal working state is obtained according to the row scanning information in the row scanning stage, and the column address of the LED lamp with the abnormal working state is obtained according to the port number of the constant current driving module.
Optionally, the step of determining whether the operating state of the LED lamp is abnormal includes:
judging whether the port voltage corresponding to the LED lamp is in a normal voltage range or not, and if the port voltage is out of the normal voltage range, considering that the working voltage of the LED lamp is abnormal; and if the voltage of the port is within a normal voltage range, the working voltage of the LED lamp is considered to be normal.
Optionally, the step of determining whether the operating state of the LED lamp is abnormal further includes:
if the working voltage of the LED lamp is abnormal, confirming that the LED lamp is in an abnormal working state; and if the working voltage of the LED lamp is normal, confirming that the LED lamp is in a normal working state.
Optionally, the step of determining whether the operating state of the LED lamp is abnormal includes:
calculating the ratio of the abnormal working voltage times to the lighting times of the LED lamp to obtain the abnormal working voltage occurrence probability of the LED lamp; and
and under the condition that the occurrence probability of the abnormal working voltage of the LED lamp is greater than a threshold value, confirming that the LED lamp is in an abnormal working state.
Optionally, the step of storing the address of the LED lamp with abnormal operating state includes:
searching the historical record of the address of the LED lamp with the abnormal working state; and
and under the condition that the LED lamp address with the abnormal working state is not found in the historical record, storing the LED lamp address with the abnormal working state.
Optionally, the method further comprises:
and under the condition that the occurrence probability is less than or equal to the threshold value, confirming that the LED lamp is in a normal working state, and not storing the address of the LED lamp.
Optionally, after the step of storing the address of the LED lamp with the abnormal operating state, or the step of confirming that the LED lamp is in the normal operating state, or finding the address of the LED lamp with the abnormal operating state in the history, the method further includes: and clearing the counter data of the abnormal times and the lighting times of the working voltage of the LED lamp.
Optionally, the LED display device receives gray scale data from a control terminal, and the control terminal receives a stored LED lamp address from the LED display device after the driving period is over.
Optionally, the step of disabling the LED lamp with abnormal operating state includes: in the subsequent driving period of the LED display device, the control end sets the gray scale data corresponding to the LED lamp with abnormal working state to 0.
Optionally, the step of disabling the LED lamp with abnormal operating state includes: in the subsequent driving period of the LED display device, the LED display device sets 0 to the gray scale data corresponding to the LED lamp with abnormal working state.
According to another aspect of the present invention, there is provided an LED display system comprising:
a control terminal for providing a row display control signal and a column display control signal at least including gray scale data; and
the LED display device is connected with the control end to obtain the row display control signal and the column display control signal, the LED display device comprises an LED lamp array and a constant current driving circuit,
wherein, in a driving period of the LED display device, the constant current driving circuit provides constant current to a plurality of LED lamps of the LED lamp array according to the column display control signal to obtain effective brightness,
in the driving period of the LED display device, the constant current driving circuit judges whether the working states of the LED lamps are abnormal or not; storing the address of the LED lamp with abnormal working state; and forbidding the LED lamp with the abnormal working state according to the stored LED lamp address.
Optionally, in a driving period of the LED display device, the constant current driving circuit detects operating voltages of the plurality of LED lamps; and judging whether the working states of the LED lamps are abnormal or not according to the working voltages of the LED lamps.
Optionally, the LED display device further includes a line scanning circuit, wherein the line scanning circuit generates a line scanning signal according to the line display control signal, and performs line scanning in a driving period of the LED display device to drive the plurality of LED lamps in a line.
Optionally, the constant current driving circuit includes:
the communication module is used for receiving and sending the column display control signal, generating a column driving signal according to the column display control signal and acquiring row scanning information;
the constant current driving module is connected with the communication module to receive the column driving signals and generate a plurality of constant currents according to the column driving signals, and a plurality of ports of the constant current driving module are connected with corresponding column LED lamps in the plurality of LED lamps and respectively provide the plurality of constant currents;
the detection module is connected to the plurality of ports of the constant current driving module, detects the voltage of the plurality of ports of the constant current driving module to obtain the working voltage of the plurality of LED lamps, and judges whether the working state of the plurality of LED lamps is abnormal or not according to the working voltage of the plurality of LED lamps; and
and the storage module is connected with the communication module and the detection module to store the LED lamp address with the abnormal working state.
Optionally, the detection module is further connected to the communication module to obtain the line scanning information, obtain, according to the line scanning information, a line address of the LED lamp in the abnormal operating state, and obtain, according to the port number of the constant current driving module, a column address of the LED lamp in the abnormal operating state.
Optionally, for each of the plurality of LED lamps, the detecting module performs the following steps:
judging whether the port voltage corresponding to the LED lamp is in a normal voltage range or not, and if the port voltage is not in the normal voltage range, determining that the working voltage of the LED lamp is abnormal; and if the voltage of the port is within a normal voltage range, the working voltage of the LED lamp is considered to be normal.
Optionally, for each of the plurality of LED lamps, the detecting module performs the following steps:
if the working voltage of the LED lamp is abnormal, confirming that the LED lamp is in an abnormal working state; and if the working voltage of the LED lamp is normal, confirming that the LED lamp is in a normal working state.
Optionally, for each of the plurality of LED lamps, the detecting module performs the following steps:
calculating the ratio of the abnormal working voltage times to the lighting times of the LED lamp to obtain the abnormal working voltage occurrence probability of the LED lamp; and
and under the condition that the occurrence probability of the abnormal working voltage of the LED lamp is greater than a threshold value, confirming that the LED lamp is in an abnormal working state.
Optionally, for each of the plurality of LED lamps, the storage module performs the following steps:
searching the historical record of the address of the LED lamp with the abnormal working state; and
and under the condition that the LED lamp address with the abnormal working state is not found in the historical record, storing the LED lamp address with the abnormal working state in a storage module of the constant current driving circuit.
Optionally, for each of the plurality of LED lamps, the storage module performs the following steps:
and under the condition that the occurrence probability is less than or equal to the threshold value, confirming that the LED lamp is in a normal working state, and not storing the address of the LED lamp.
Optionally, the constant current driving circuit further includes a counter, where the counter is configured to store the number of times of abnormal operating voltage and the number of times of lighting of the LED lamp, and after the storage module stores the address of the LED lamp in the abnormal operating state, or the detection module confirms that the LED lamp is in the normal operating state, or the storage module finds the address of the LED lamp in the abnormal operating state in the history, the counter clears the counter data of the number of times of abnormal operating voltage and the number of times of lighting of the LED lamp.
Optionally, the control terminal receives a stored LED lamp address from the LED display device after the driving period is finished.
Optionally, the step of disabling the LED lamp with abnormal operating state includes: in the subsequent driving period of the LED display device, the control end sets the gray scale data corresponding to the LED lamp with abnormal working state to 0.
Optionally, the step of disabling the LED lamp with abnormal operating state includes: in the subsequent driving period of the LED display device, the LED display device sets 0 to the gray scale data corresponding to the LED lamp with abnormal working state.
According to still another aspect of the present invention, there is provided a constant current driving circuit for an LED display device, comprising:
the communication module is used for receiving and sending the column display control signal, generating a column driving signal according to the column display control signal and acquiring row scanning information;
the constant current driving module is connected with the communication module to receive the column driving signals and generate a plurality of constant currents according to the column driving signals, and a plurality of ports of the constant current driving module are connected with corresponding column LED lamps in the plurality of LED lamps and respectively provide the plurality of constant currents;
the detection module is connected to the constant current driving module and the communication module and used for judging whether the working states of the LED lamps are abnormal or not; and
a storage module connected with the communication module and the detection module to store the LED lamp address with abnormal working state,
and disabling the LED lamp with abnormal working state according to the stored LED lamp address.
Optionally, the detection module is connected to a plurality of ports of the constant current driving module, detects a plurality of port voltages of the constant current driving module to obtain working voltages of the plurality of LED lamps, and determines whether the working states of the plurality of LED lamps are abnormal according to the working voltages of the plurality of LED lamps.
Optionally, the detection module receives the line scanning information, obtains a row address of the LED lamp with the abnormal working state according to the line scanning information, and obtains a column address of the LED lamp with the abnormal working state according to the port number of the constant current driving module.
Optionally, for each of the plurality of LED lamps, the detecting module performs the following steps:
judging whether the port voltage corresponding to the LED lamp is in a normal voltage range or not, and if the port voltage is not in the normal voltage range, determining that the working voltage of the LED lamp is abnormal; and if the voltage of the port is within a normal voltage range, the working voltage of the LED lamp is considered to be normal.
Optionally, for each of the plurality of LED lamps, the detecting module performs the following steps:
if the working voltage of the LED lamp is abnormal, confirming that the LED lamp is in an abnormal working state; and if the working voltage of the LED lamp is normal, confirming that the LED lamp is in a normal working state.
Optionally, for each of the plurality of LED lamps, the detecting module performs the following steps:
calculating the ratio of the abnormal working voltage times to the lighting times of the LED lamp to obtain the occurrence probability of the abnormal voltage; and
and under the condition that the occurrence probability is larger than a threshold value, confirming that the LED lamp is in an abnormal working state.
Optionally, for each of the plurality of LED lamps, the storage module performs the following steps:
searching the historical record of the address of the LED lamp with the abnormal working state; and
and under the condition that the LED lamp address with the abnormal working state is not found in the historical record, storing the LED lamp address with the abnormal working state in a storage module of the constant current driving circuit.
Optionally, for each of the plurality of LED lamps, the storage module performs the following steps:
and under the condition that the occurrence probability is less than or equal to the threshold value, confirming that the LED lamp is in a normal working state, and not storing the address of the LED lamp.
Optionally, the constant current driving circuit further includes a counter, where the counter is configured to store the number of times of abnormal operating voltage and the number of times of lighting of the LED lamp, and after the storage module stores the address of the LED lamp in the abnormal operating state, or the detection module confirms that the LED lamp is in the normal operating state, or the storage module finds the address of the LED lamp in the abnormal operating state in the history, the counter clears the counter data of the number of times of abnormal operating voltage and the number of times of lighting of the LED lamp.
Optionally, the constant current driving circuit sends the stored LED lamp address after the driving period is over.
Optionally, the step of disabling the LED lamp with abnormal operating state includes: in the subsequent driving period of the LED display device, the gray scale data corresponding to the LED lamp with abnormal working state is set to 0.
According to the display control method of the LED display device, the LED lamp with abnormal working state is detected and forbidden in the driving period of the LED display device, the LED display device does not need to execute a detection instruction and carry out corresponding data processing, so that the circuit structure of the LED display device can be simplified, the detection period of the LED display device does not need to occupy the time of normal image display, and the refresh rate and the brightness utilization rate of the LED display device can be improved.
In an optional embodiment, the address of the LED lamp with abnormal working state is confirmed according to the occurrence probability of the voltage abnormality of the LED lamp, so that the judgment accuracy can be improved. The display control method can remarkably reduce the situation that the working state of the LED lamp is judged by mistake due to interference signals (for example, abnormal transmission of the display control signals), so that the LED display device can maintain effective pixel units as much as possible to improve the image quality.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 shows a schematic block diagram of an LED display system according to an embodiment of the present invention.
Fig. 2 shows a schematic block diagram of a constant current driving circuit in the LED display system shown in fig. 1.
Fig. 3 illustrates a flowchart of a display control method of an LED display device according to an embodiment of the present invention.
Fig. 4 illustrates a detailed flowchart of a part of the steps in the display control method illustrated in fig. 3.
Fig. 5 illustrates a flowchart of a display control method of a control terminal according to an embodiment of the present invention.
Detailed Description
Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Like elements in the various figures are denoted by the same or similar reference numerals. For purposes of clarity, the various features in the drawings are not necessarily drawn to scale.
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples.
FIG. 1 shows a schematic block diagram of an LED display system according to an embodiment of the present invention. The LED display system 100 includes a control terminal 101 and an LED display device 102.
The control terminal 101 generates gray-scale DATA of a plurality of successive image frames based on text, image and video contents of the computer. The control terminal 101 provides display control signals including a row display control signal including, for example, a clock signal CLK and a row control signal, and a column display control signal including, for example, a clock signal CLK and gray scale DATA.
The LED display device 102 is connected to the control terminal 101 via a cable, for example, to receive a row display control signal and a column display control signal. The LED display device 102 includes an LED lamp array 110, a constant current driving circuit 120, and a line scanning circuit 130.
The LED lamp array 110 includes a plurality of LED lamps 11 arranged in an m x n array in rows and columns. The constant current driving circuit 120 generates a column driving signal according to the column display control signal, and supplies a constant current to each of the plurality of LED lamps 11 of the LED lamp array 110 to obtain an effective luminance corresponding to the gray-scale DATA. The line scanning circuit 130 generates a line scanning signal in accordance with a line display control signal, and performs line scanning in a frame period of the LED display device 102 to drive the plurality of LED lamps 11 in lines.
In this embodiment, the row scanning circuit 130 includes, for example, a plurality of switches each connected between the power supply terminal and the anode of a corresponding row of the LED lamps of the LED lamp array 110, and the constant current driving circuit 120 includes, for example, a plurality of constant current sources each connected between the ground terminal and the cathode of a corresponding column of the LED lamps of the LED lamp array 110. During the line scanning phase of the frame period of the LED display device 102, the line scanning circuit 130 provides a supply voltage VCC to the anodes of the selected line of LED lamps, and the constant current sources of the constant current driving circuit 120 generate constant currents, thereby lighting the selected line of LED lamps and generating effective brightness corresponding to the gray scale data.
In this embodiment, the constant current driving circuit 120 of the LED display device 102 has a detection function of detecting the operating state of the LED lamp. In a frame period of the LED display device 102, the constant current driving circuit 120 detects operating voltages of the plurality of LED lamps 11 of the LED lamp array 110, determines whether operating states of the plurality of LED lamps 11 are abnormal according to the operating voltages of the plurality of LED lamps 11, stores an address of the LED lamp having the abnormal operating state, and disables the LED lamp having the abnormal operating state according to the stored address of the LED lamp. Specifically, in the line scanning stage of the frame period, the port voltage of the constant current driving circuit 120 is detected to obtain the working voltage of the LED lamp, wherein the constant current driving circuit 120 and the line scanning circuit 130 are respectively connected to the control terminal 101, transmit the display control signal, and are controlled by the control terminal 101 to display in a unified manner, and the LED lamp with abnormal working is accurately positioned and disabled according to the address of the abnormal LED lamp.
Although the LED display device 102 is shown as a unitary structure in fig. 1, it is understood that the LED display device 102 may be assembled from a plurality of LED modules. Each LED module has its own LED lamp array 110, constant current driving circuit 120, and line scanning circuit 130. The LED modules are connected in cascade with each other, respectively display a part of image pictures according to the display control signals, and forward the display control signals to the LED modules of the next stage.
According to the LED display system provided by the embodiment of the invention, the LED lamp with abnormal working state is detected and forbidden in the driving period of the LED display device, the LED display device does not need to execute a detection instruction and perform corresponding data processing, so that the circuit structure of the LED display device can be simplified, the detection period of the LED display device does not need to occupy the time of normal image display, and the refresh rate and the brightness utilization rate of the LED display device can be improved. Fig. 2 shows a schematic block diagram of a constant current driving circuit in the LED display system shown in fig. 1. The constant current driving circuit 120 includes a communication module 121, a constant current driving module 122, a detection module 123, and a storage module 124.
The communication module 121 is connected to the control terminal 101 or the previous LED module to receive the display control signal Di, and connected to the next LED module to send the display control signal Do. The communication module 121 generates a column driving signal according to the column display control signal and obtains row scanning information (e.g., the lighting is the second scan, row information). The constant current driving module 122 is connected to the communication module 121 to receive the column driving signal and the row scanning information, and generate a plurality of constant currents according to the column driving signal, a plurality of ports of the constant current driving module 122 are connected to corresponding columns of LED lamps 11 in the plurality of LED lamps 11 of the LED lamp array 110, and respectively provide a plurality of constant currents, and each port number corresponds to columns T1 to Tm of the LED lamp array 110. Therefore, the constant current driving circuit 120 can realize a display driving function of driving the plurality of LED lamps 11 according to the display control signal.
The detection module 123 is respectively connected to the plurality of ports of the constant current driving module 122, detects the voltage of the plurality of ports of the constant current driving module 122 to obtain the working voltage of the plurality of LED lamps 11, and determines whether the working state of the plurality of LED lamps is abnormal according to the working voltage of the plurality of LED lamps 11. The detection module 123 is further connected to the communication module 121 to obtain line scanning information, and the detection module 123 obtains the row address of the LED lamp with the abnormal working state according to the line scanning information, and obtains the column address of the LED lamp with the abnormal working state according to the port number of the constant current driving module.
The storage module is connected with the detection module 123 to store the address of the LED lamp with abnormal working state. Therefore, the constant current drive circuit 120 can realize a state detection function of detecting the operating state of the LED lamp 11.
In this embodiment, during the frame period line scanning phase of the LED display device 102, the plurality of ports of the constant current driving module 122 supply a constant current to the selected line of LED lamps 11. For each LED lamp in the selected row of LED lamps 11, the detecting module 123 determines whether the port voltage corresponding to the LED lamp is within a normal voltage range, and if the port voltage is not within the normal voltage range, the working voltage of the LED lamp is considered to be abnormal; and if the voltage of the port is within a normal voltage range, the working voltage of the LED lamp is considered to be normal. Specifically, the detection module 123 compares the port voltage with a reference voltage, and when the LED display device adopts a common cathode scheme, if the port voltage is less than or equal to the reference voltage, the operating voltage of the LED lamp is abnormal; and if the voltage of the port is greater than the reference voltage, the working voltage of the LED lamp is normal.
In the present embodiment, the detection module 123 calculates a ratio of the number of times of operating voltage abnormality of the LED lamp to the number of times of lighting to obtain an occurrence probability of the voltage abnormality, and confirms that the LED lamp is in an abnormal operating state in a case where the occurrence probability is greater than a threshold value.
In other embodiments, the detecting module 123 only determines whether the operating voltage of the LED lamp is abnormal once, and if the operating voltage of the LED lamp is abnormal, it is determined that the LED lamp is in an abnormal operating state; and if the working voltage of the LED lamp is normal, confirming that the LED lamp is in a normal working state.
The storage module 124 searches the history of the LED lamp address with abnormal operating condition, and in case that the LED lamp address with abnormal operating condition is not found in the history, the LED lamp address with abnormal operating condition is stored in the storage module 124 of the constant current driving circuit 120. In the case where the occurrence probability is less than or equal to the threshold, the detection module 123 clears the LED lamp address so that the LED lamp address is not stored by the storage module 124.
Further, the constant current driving circuit 120 includes, for example, a counter for calculating the occurrence probability of abnormality of the operating voltage of the LED lamp. The counter stores the abnormal operating voltage times and the lighting times of the LED lamp 11, and after at least one step of storing the address of the LED lamp with abnormal operating state in the storage module 124, clearing the address of the LED lamp (i.e. confirming that the LED lamp is in the normal operating state) by the detection module 123, and finding the address of the LED lamp with abnormal operating state in the history, the counter clears the counter data of the abnormal operating voltage times and the lighting times of the LED lamp 11.
The step of removing the address of the LED lamp with abnormal working state may be: the constant current driving circuit 120 further includes a buffer matched with the counter, the buffer records the LED lamp address with abnormal working state preliminarily recorded in the counter, compares the LED lamp address with abnormal working state counted in the counter, and compares the LED lamp address with abnormal working state stored in the storage module 124, if the abnormal LED lamp address does not appear in the history record, the abnormal LED lamp address is stored in the storage module 124, and the history record is added, otherwise, the abnormal LED lamp address in the buffer is clear, and the history record of the original abnormal LED lamp address is maintained.
Further, the LED lamp 11 with abnormal operation state is disabled according to the stored LED lamp address. In this embodiment, the constant current driving circuit 120 transmits the stored LED lamp address to the control terminal 101 after the end of the frame period. The control terminal 101 sets the gray-scale data of the LED lamp with abnormal operation state to 0 in the subsequent frame period, thereby disabling the LED lamp 11 with abnormal operation state. In an alternative embodiment, in the subsequent driving period of the LED display device, the constant current driving circuit 120 sets the grayscale data of the LED lamp having the abnormal operation state to 0, thereby disabling the LED lamp 11 having the abnormal operation state.
Fig. 3 illustrates a flowchart of a display control method of an LED display device according to an embodiment of the present invention. For example, steps S01 to S07 are performed inside the LED display device 102 shown in fig. 1.
In step S01, the LED display device 102 starts displaying an image for one frame, and starts line scanning for a frame period.
In this step, referring to fig. 2, the row scanning circuit 130 supplies a supply voltage VCC to the anodes of the selected row of LED lamps, and the constant current sources of the constant current driving circuit 120 generate constant currents, thereby lighting the selected row of LED lamps and controlling the selected row of LED lamps to generate effective brightness corresponding to the gray-scale data.
In step S02, the LED display device 102 determines whether each LED lamp in the selected row of LED lamps should be lit.
In this step, for example, the LED display device 102 acquires gray scale data of the selected row of LEDs, and determines that the LED lamp with the gray scale data set to 0 should not be turned on; alternatively, the LED display device 102 reads the storage module 124, and determines that the LED lamp in the abnormal operating state should not be turned on based on the history of the address of the LED lamp in the abnormal operating state.
In this step, if it is determined that there is an LED lamp that should not be lit in the selected row of LED lamps, the subsequent detecting and determining step is not performed for the LED lamp that should not be lit. For the LED lamps that should be lit in the selected row of LED lamps, the detection step of step S03 is continuously performed.
In the step, the LED lamps which are not required to be lightened are screened, so that the data processing amount of the subsequent detection and judgment steps can be reduced, and the detection efficiency of the LED lamps of the LED display screen is improved.
In step S03, the detection module 123 of the LED display device 102 detects the port voltage of the constant current driving module 122 connected to the selected row of LED lamps in the row scanning phase.
In this step, the detection module 123 is connected to the plurality of ports of the constant current driving module 122 to obtain the operating voltage of the LED lamp corresponding to the selected row according to the port voltage.
The detection module 123 is also connected to the communication module 121 to obtain the line scanning information.
In step S04, the detection module 123 of the LED display device 102 determines whether the operating state of the LED lamp is abnormal or not based on the operating voltage of the LED lamp in the selected row.
In this step, the detection module 123 determines whether the port voltage corresponding to the selected row of LED lamps is within a normal voltage range, and if the port voltage is not within the normal voltage range, the working voltage of the LED lamps is considered to be abnormal; and if the voltage of the port is within a normal voltage range, the working voltage of the LED lamp is considered to be normal.
Specifically, the detection module 123 compares the port voltage corresponding to the selected row of LED lamps with a set reference voltage Vos, and determines whether the port voltage exceeds a normal operating voltage range, where Vos is the port voltage corresponding to the LED lamps in a normal operating state, for example, when the LED display device adopts a common cathode scheme, the normal voltage range refers to the port voltage being less than or equal to the reference voltage Vos. And judging whether the LED lamp in the selected row is in a normal state or not according to the comparison result.
In this step, if it is determined that there is an LED lamp having an abnormal operating voltage among the selected row of LED lamps, step S05 is performed for the LED having the abnormal operating voltage. And skipping the storage step of the step S05 for the LED lamps with normal working voltage in the selected row of LED lamps.
In step S05, the storage module 124 of the LED display device 102 stores the address of the LED lamp having abnormal operating state.
In this step, the detection module 123 obtains the row address of the LED lamp with abnormal operating state according to the row scanning information, and obtains the column address of the LED lamp 11 with abnormal operating state according to the port number of the constant current driving module 122.
In step S06, the LED display device 102 determines whether the frame period has ended.
In this step, if the frame period is not finished, the process returns to step S01, and the line scanning phase of the next line of LED lamps is started. If the frame period is over, step S07 is executed, and then display driving of the next frame image and state detection of the LED lamp are started.
Fig. 4 illustrates a detailed flowchart of a part of the steps in the display control method illustrated in fig. 3. The detailed steps of step S05 shown in fig. 3 are further described in fig. 4.
In step S11, the detection module 123 of the LED display device 102 calculates the probability of occurrence of voltage abnormality of the LED lamp.
In this step, the LED display device 102, for example, uses a counter to store the number of operating voltage abnormality times and the number of lighting times of the LED lamp in a plurality of consecutive frames, and the detection module 123 calculates a ratio of the number of operating voltage abnormality times to the number of lighting times of the LED lamp to obtain the occurrence probability of the operating voltage abnormality of the LED lamp.
In step S12, the detection module 123 of the LED display device 102 compares the occurrence probability of the abnormal operating voltage of the LED lamp with a threshold value to confirm whether the LED lamp is in an abnormal state.
In this step, for example, the threshold value is set to 90%. If the occurrence probability of the voltage abnormality of the LED lamp is greater than the threshold value, step S13 is executed, i.e., it is confirmed that the LED lamp is in an abnormal operation state. If the occurrence probability of the abnormal operating voltage of the LED lamp is less than or equal to the threshold, step S17 is executed, i.e. it is determined that the LED is still in the normal operating state, the cache of the LED lamp address in the normal operating state is cleared, the counter data is cleared, and the history of the LED lamp address stored in the storage module 124 is maintained.
In other embodiments, the detecting module 123 only determines whether the operating voltage of the LED lamp is abnormal once, and if the operating voltage of the LED lamp is abnormal, it is determined that the LED lamp is in an abnormal operating state; and if the working voltage of the LED lamp is normal, confirming that the LED lamp is in a normal working state. After the step S13, a step S14 is further executed to compare the address of the LED lamp with the abnormal operating state with the history in the storage module 124.
In this step, if the history in the storage module 124 does not include the address of the LED lamp with abnormal operating condition, the steps S18 and S17 are further performed, the address of the LED lamp with abnormal operating condition is stored in the storage module 124, and the counter data is cleared. If the history in the storage module 124 already includes the address of the LED lamp with abnormal operating condition, step S18 is skipped, step S17 is executed, and the counter data is cleared.
In the above embodiment, after at least one step of storing the address of the LED lamp with abnormal operating state in the storage module, removing the buffer of the address of the LED lamp with abnormal operating state by the detection module (i.e. confirming that the LED lamp is in the normal operating state), and finding the address of the LED lamp with abnormal operating state in the history, the counter data of the abnormal number of times and the lighting number of times of the LED lamp is cleared. In an alternative embodiment, the detection module of the LED display device calculates the occurrence probability of the voltage abnormality from counter data of a plurality of consecutive frame periods, the counter acquires, for example, the number of voltage abnormalities and the number of lighting times of the LED lamp for a predetermined number (for example, 100) of consecutive frame periods, and clears the counter data after reaching the predetermined number of consecutive frame periods. That is, after the judgment of whether the working state of the LED lamp is abnormal and address storage and the execution of one working cycle are finished, the counter data in the one working cycle is cleared, the one working cycle corresponds to one display frame of the LED display device in the direct judgment, and corresponds to a plurality of continuous display frames (measured by time or times) of the LED display device in the comprehensive judgment of a plurality of detections. And the data of the counter is cleared in time, so that the detection accuracy can be ensured, and the reliability is improved.
In a preferred embodiment, if the number of the LED lamps with abnormal working states in the LED display states is too large, an alarm signal is generated, and the LED display device carries out alarm prompt for a user according to the alarm signal. The number of the LED lamps with abnormal working state for triggering the alarm signal can be set by the total number of the LED lamps of the LED display device, different requirements are required for different actual products, and the adjustment can be carried out according to the requirements of users, and further detailed explanation is not needed.
In the display control method of this embodiment, the occurrence probability of the abnormal operating voltage of the LED lamp is used as a state parameter for determining whether the LED lamp is in a normal operating state, and the addresses of the LED lamps stored in the storage module are all the addresses of the LED lamps in an abnormal operating state. Compared with a method using the operating voltage of the LED lamp as the state parameter, the display control method using the occurrence probability of the voltage abnormality as the state parameter can significantly reduce the situation in which the operating state of the LED lamp is erroneously determined due to an interference signal (e.g., a display control signal transmission abnormality), and thus, the LED display device can maintain as many effective pixel units as possible to improve the image quality.
Fig. 5 illustrates a flowchart of a display control method of a control terminal according to an embodiment of the present invention. For example, steps S21 to S23 are performed inside the control terminal 101 shown in fig. 1.
In step S21, before or after the beginning of each frame period, the control terminal 101 reads the storage module 124 of the LED display device 102 to obtain the address of the LED lamp with abnormal operation status.
In step S22, in each frame period, the control terminal 100 modifies the gray scale data of the image frame according to the address of the LED lamp with abnormal operation state, wherein the gray scale data of the LED lamp with abnormal operation state is set to 0.
In step S23, the control terminal 100 transmits the gray-scale data of the image picture that has been modified to the LED display device 102 in each frame period.
While embodiments in accordance with the invention have been described above, these embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. The invention is limited only by the claims and their full scope and equivalents.