LED lamp panel data demodulation control method and system
By employing a UART communication channel and master-slave backup method between the LED light board module and the receiver card, the problems of numerous signal lines and difficulty in implementing backup functions are solved, thereby improving stability and cost-effectiveness.
Patent Information
- Application Number
- CN202411713416.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-11-27
AI Technical Summary
In existing technologies, the number of signal lines between the LED light board module and the receiving card is large and the master-slave signal backup function is difficult to implement, resulting in complex cable processing and high cost.
UART communication channel is used to replace TTL signal interface to build UART serial port with master-slave backup mode. Data is processed by MCU unit and display driving, fault detection and other functions are implemented in LED light board module. The number of signal lines is reduced and master-slave signal backup is realized.
It effectively reduces the number of signal lines, simplifies cable manufacturing, lowers manufacturing costs, and improves the stability and backup function of signal transmission.
Smart Images

Figure CN119694242B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of LED technology, and in particular to a data demodulation control method and system for an LED lamp panel. Background Art
[0002] In the field of LED display technology, the mainstream implementation solution is that the receiving card directly controls the LED driver IC of the LED light board module through multiple TTL signals.
[0003] like Figure 1 As shown, using the industry-standard HUB75 interface as an example, 16 signal lines are generally required. Furthermore, the LED light board module's extended functions (such as detection, brightness correction, and data storage) require an intelligent module based on an MCU within the module. This intelligent module primarily communicates with the receiving card via UART, requiring at least two signal lines. In other words, at least 18 signal lines are required between the receiving card and the LED light board module. However, the production and processing of cables and connectors for 18 signal lines is more complex than for fewer signal lines. Furthermore, if master-slave signal backup is required, the number of signal lines must be doubled, and a complex signal switching circuit is required. Therefore, master-slave signal backup in the LED light board module is difficult to implement.
[0004] In summary, how to effectively reduce the number of signal lines from the receiving card to the LED light board module and realize the master-slave signal backup function of the LED light board module is an urgent problem to be solved. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a data demodulation control method and system for an LED light board, which can effectively reduce the number of signal lines from a receiving card to an LED light board module.
[0006] In order to solve the above technical problems, the present invention provides a data demodulation control method for an LED light board, comprising: constructing a UART communication channel between a receiving card and an LED light board module, wherein the LED light board module comprises an MCU unit, an ADC resampling circuit, an NVM memory, a constant current LED driver unit and an LED matrix, wherein the MCU unit is respectively connected to the ADC resampling circuit, the NVM memory and the constant current LED driver unit, and the constant current LED driver unit is connected to the LED matrix; data is exchanged between the receiving card and the LED light board module through the UART communication channel, wherein: the receiving card sends control data to the LED light board module through the UART communication channel, and the control data includes original display data, point-by-point brightness correction data and color gamut correction data; the MCU unit processes the original display data to generate target display data, and sends the target display data to the constant current LED driver unit to drive the LED matrix for display; the MCU unit reads LED fault detection data and signal fault detection data from the constant current LED driver unit; the MCU unit detects the light board status detection data through the ADC resampling circuit; the MCU unit stores the point-by-point brightness correction data and color gamut correction data in the NVM memory; the LED light board module sends the LED fault detection data, drive control signal, light board status detection data, point-by-point brightness correction data and color gamut correction data to the receiving card through the UART communication channel.
[0007] As an improvement to the above solution, the UART communication channel includes a master UART serial port and a slave UART serial port. When the receiving card and the LED light board module exchange data through the UART communication channel, the master UART serial port and the slave UART serial port are switched in a master-slave backup mode.
[0008] As an improvement to the above scheme, the step of switching the master channel and the slave channel in a master-slave backup manner includes: the receiving card sends a VS packet to the LED light board module simultaneously through the master UART serial port and the slave UART serial port respectively; the LED light board module sends the packet sequence number of the received VS packet to the receiving card simultaneously from the master UART serial port and the slave UART serial port respectively; the receiving card determines the fault status of the master UART serial port and the slave UART serial port according to the packet sequence number, and switches the master UART serial port and the slave UART serial port respectively.
[0009] As an improvement of the above scheme, the step in which the MCU unit processes the original display data to generate target display data includes: the MCU unit performs gamma correction, point-by-point brightness correction, brightness adjustment and pin mapping processing on the original display data in sequence to generate target display data.
[0010] As an improvement to the above scheme, the MCU unit sequentially performs gamma correction, point-by-point brightness correction, brightness adjustment, and pin mapping processing on the original display data to generate target display data, including the following steps: performing bit conversion on the RGB data of each pixel in the original display data by a table lookup method; constructing an initial RGB data matrix based on the RGB data after the bit conversion, and multiplying the initial RGB data matrix with preset point-by-point brightness correction data to generate a target RGB data matrix; multiplying the RGB data of each pixel in the target RGB data matrix by a brightness percentage to generate target brightness data; searching for the corresponding output channel of the constant current LED driver unit according to the position of each pixel in the target brightness data, and filling the grayscale information of each pixel in the target brightness data into the memory location corresponding to each grayscale bit in the corresponding output channel to generate target display data.
[0011] As an improvement to the above solution, the step of sending the target display data to the constant current LED driver unit to drive the LED matrix for display includes: the MCU unit triggers DMA transmission through a timer to write the target display data from the memory to the GPIO port output control register to control the output of the GPIO port, wherein; the MCU unit outputs the HOE signal and the row control signal of the target display data to the constant current LED driver unit through one GPIO port; the MCU unit outputs the display data and control command to the constant current LED driver unit through another GPIO port; and the constant current LED driver unit drives the LED matrix for display according to the HOE signal, row control signal, display data and control command.
[0012] As an improvement to the above solution, the GPIO port arranges data in sequence from low address to high address according to the order in which the data is sent, and the valid data bits of the data correspond to the PINs of the GPIO.
[0013] As an improvement to the above solution, the step of the MCU unit reading LED fault detection data and signal fault detection data from the constant current LED driver unit includes: the MCU unit outputs an LED fault detection command to the constant current LED driver unit through a GPIO port, and then outputs an HDCLK clock to shift the LED fault detection result data out of the shift register of the constant current LED driver unit; the MCU unit reads the LED fault detection result data into a memory through another GPIO port; the MCU unit reads the control signal and row control signal of the constant current LED driver unit through another GPIO port to perform signal fault detection, and performs a fusion analysis on the signal fault detection result to generate signal fault detection data.
[0014] Correspondingly, the present invention also provides an LED light board data demodulation and control system, including a receiving card and an LED light board module, the LED light board module including an MCU unit, an ADC resampling circuit, an NVM memory, a constant current LED drive unit and an LED matrix, the MCU unit is respectively connected to the ADC resampling circuit, the NVM memory and the constant current LED drive unit, and the constant current LED drive unit is connected to the LED matrix; the receiving card and the LED light board module are connected via a UART interface, and the above-mentioned LED light board data demodulation control method is used for data interaction.
[0015] As an improvement to the above solution, the receiving card and the LED light board module are connected via two sets of UART interfaces.
[0016] The implementation of the present invention has the following beneficial effects:
[0017] The present invention uses a UART interface instead of a TTL signal interface, which can effectively reduce the number of signal lines from the receiving card to the LED light board module while maintaining the display function and extended functions. The MCU is used as the core in the LED light board module to realize LED display driving and extended functions such as LED fault detection, signal fault detection, and light board status detection.
[0018] Furthermore, the present invention improves the stability of signal transmission between the receiving card and the LED light board module through the master-slave signal backup function of the LED light board module, simplifies the manufacturing of cables and connectors from the receiving card to the LED light board module, and reduces manufacturing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a schematic diagram of the existing HUB75 interface;
[0020] Figure 2 This is a flow chart of the first embodiment of the LED light board data demodulation control method of the present invention;
[0021] Figure 3 It is a structural diagram of the LED light board data demodulation control system of the present invention;
[0022] Figure 4 This is a flow chart of a second embodiment of the LED light board data demodulation control method of the present invention;
[0023] Figure 5 It is a schematic diagram of the MCU unit in the present invention processing the original display data to generate the target display data;
[0024] Figure 6This is a schematic diagram of sending target display data to a constant current LED driving unit to drive an LED matrix for display in the present invention;
[0025] Figure 7 It is a schematic diagram of the MCU unit in the present invention reading LED fault detection data and signal fault detection data from the constant current LED driving unit. DETAILED DESCRIPTION
[0026] 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.
[0027] See also Figure 2 , Figure 2 The flowchart of the first embodiment of the LED light board data demodulation control method of the present invention is shown, which includes:
[0028] S101, build a UART communication channel between the receiving card and the LED light board module;
[0029] like Figure 3 As shown, the LED light board module 101 includes an MCU unit 1, an ADC resampling circuit 2, an NVM memory (non-volatile memory) 3, a constant current LED driver unit 4 and an LED matrix 5. The MCU unit 1 is connected to the ADC resampling circuit 2, the NVM memory 3 and the constant current LED driver unit 4 respectively, and the constant current LED driver unit 4 is connected to the LED matrix 5.
[0030] S102, data exchange between the receiving card and the LED light board module through the UART communication channel;
[0031] In the prior art, the receiving card and the LED light board module communicate via TTL. Unlike the prior art, the present invention uses UART to communicate with the receiving card and the LED light board module.
[0032] Correspondingly, the UART communication channel in the present invention includes a master UART serial port and a slave UART serial port, that is, the receiving card and the LED light board module are connected through two sets of UART serial ports.
[0033] When working, the receiving card sends the original display data, point-by-point brightness correction data, and color gamut correction data to the LED light board module through the UART communication channel; at the same time, the receiving card reads LED fault detection, signal fault detection, status detection data, point-by-point brightness correction data, and color gamut correction data from the LED light board module.
[0034] Therefore, the present invention uses a dual UART (5 signal lines) interface to replace the TTL signal interface with multiple signal lines, which can effectively reduce the number of signal lines from the receiving card to the LED light board module (the number of signal lines from the receiving card to the LED light board module is reduced from a minimum of 18 to a maximum of 5) while maintaining the display function and expansion function unchanged. In the LED light board module, the MCU is used as the core to realize LED display driving and extended functions such as LED fault detection, signal fault detection, and light board status detection.
[0035] Furthermore, when the receiving card and the LED light board module exchange data through the UART communication channel, the master and slave UART serial ports are switched in a master-slave backup mode, that is, the TX and RX of the UART are independently master-slave backup. The specific steps include:
[0036] (1) The receiving card sends VS packets to the LED light board module through the master UART serial port and the slave UART serial port at the same time;
[0037] (2) The LED light board module sends the packet sequence number of the received VS packet from the master UART serial port and the slave UART serial port to the receiving card respectively;
[0038] (3) The receiving card determines the fault status of the master UART serial port and the slave UART serial port according to the packet sequence number, and switches the master UART serial port and the slave UART serial port respectively.
[0039] For example, the following is a timing diagram of the main serial port:
[0040] RX0:|VS--->CMD0--->DI SDATA--->IDLE|VS--->---->DI SDATA--->IDLE|RX1:|VS--->IDLE|VS--->IDLE|
[0041] TX0:|VSACK|VSACK CMD0ACK|TX1:|VSACK|VSACK|
[0042] If the master and slave serial ports VS packet response is as follows:
[0043] ①1): RX0 VS packet, TX0 OK, TX1 OK;
[0044] ①2): RX0 VS packet, TX0 OK, TX1 NG;
[0045] ①3): RX0 VS package, TX0 NG, TX1 OK;
[0046] ①4): RX0 VS package, TX0 NG, TX1 NG;
[0047] ②1): RX1 VS packet, TX0 OK, TX1 OK;
[0048] ②2): RX1 VS packet, TX0 OK, TX1 NG;
[0049] ②3): RX1 VS package, TX0 NG, TX1 OK;
[0050] ②4): RX1 VS package, TX0 NG, TX1 NG;
[0051] Then, the serial port fault conditions are shown in Table 1 below:
[0052] Table 1
[0053]
[0054] At this time, the TX / RX signals can be switched respectively according to the fault conditions of the master UART serial port and the slave UART serial port.
[0055] Therefore, the present invention improves the stability of signal transmission between the receiving card and the LED light board module through the master-slave signal backup function of the LED light board module, simplifies the manufacturing of cables and connectors from the receiving card to the LED light board module, and reduces manufacturing costs.
[0056] See also Figure 4 , Figure 4 The flowchart of the second embodiment of the LED light board data demodulation control method of the present invention is shown, which includes:
[0057] S201, establish a UART communication channel between the receiving card and the LED light board module;
[0058] S202, the receiving card sends control data to the LED light board module through the UART communication channel;
[0059] The control data includes original display data, point-by-point brightness correction data, and color gamut correction data;
[0060] S203, the MCU unit processes the original display data to generate target display data, and sends the target display data to the constant current LED driving unit to drive the LED matrix for display;
[0061] like Figure 5 As shown, the MCU unit can perform gamma correction, point-by-point brightness correction, brightness adjustment, and pin mapping on the original display data in order to generate the target display data. The specific steps include:
[0062] (1) Using a table lookup method, the RGB data of each pixel in the original display data is converted into bits;
[0063] By looking up the table, the 8-bit RGB data of each color of each pixel can be converted into 16-bit RGB data, thereby achieving gamma correction.
[0064] (2) constructing an initial RGB data matrix based on the RGB data after bit conversion, and multiplying the initial RGB data matrix with the preset point-by-point brightness correction data to generate a target RGB data matrix;
[0065] The RGB data obtained after gamma correction are all 16 bits. The RGB data of each pixel can form a 1x3 initial RGB data matrix, while the point-by-point brightness correction data stored in the NVM memory is a 3x3 matrix data of each pixel. Multiplying these two matrices can obtain the target RGB data matrix after point-by-point brightness correction of the pixel.
[0066] For example, the initial RGB data matrix is: A = [rgb]
[0067] The point-by-point brightness correction data (i.e., point-by-point brightness correction parameter matrix) is:
[0068]
[0069] Then, the target RGB data matrix is:
[0070]
[0071] Therefore, point-by-point brightness correction can be achieved through step (2).
[0072] (3) multiplying the RGB data of each pixel in the target RGB data matrix by the brightness percentage to generate target brightness data;
[0073] After point-by-point brightness correction, the RGB data of each color of each pixel is multiplied by the brightness percentage to obtain the brightness-adjusted data.
[0074] (4) According to the position of each pixel point in the target brightness data, the corresponding output channel of the constant current LED driver unit is searched, and the grayscale information of each pixel point in the target brightness data is filled into the memory position corresponding to each grayscale bit in the corresponding output channel to generate the target display data.
[0075] After brightness adjustment, the 16-bit data of each color of each pixel is obtained. The corresponding constant current LED driver unit output channel is found according to the position of the pixel. Then, the grayscale of the 16-bit data of each color is separated and filled into the memory location corresponding to each grayscale bit of the output channel, and finally the data that can be directly sent by GPIO is obtained.
[0076] In addition, the step of sending the target display data to the constant current LED driving unit to drive the LED matrix for display includes:
[0077] (1) The MCU unit triggers DMA transfer through the timer to write the target display data from the memory to the GPIO port output control register to control the output of the GPIO port, where;
[0078] The target display data can be sent to the constant current LED driver unit via GPIO.
[0079] (2) The MCU unit outputs the HOE signal and the row control signal of the target display data to the constant current LED driver unit through a GPIO port;
[0080] It should be noted that the constant current LED driving unit includes a constant current LED driving IC and a row decoder.
[0081] like Figure 6 As shown, the MCU unit outputs the HOE signal (i.e., HOE) to the constant current LED driver IC through the GPIOy port, and outputs the row control signal (i.e., HA, HB, HC, HD, HE) to the row decoder through the GPIOy port.
[0082] (3) The MCU unit outputs display data and control commands to the constant current LED driver unit through another GPIO port;
[0083] like Figure 6 As shown, the MCU unit outputs display data (ie, RGB) to the constant current LED driver IC through the GPIOx port, and outputs control commands (ie, HDCLK, HLAT) to the constant current LED driver IC through the GPIOx port.
[0084] (4) The constant current LED driving unit drives the LED matrix for display according to the HOE signal, row control signal, display data and control command.
[0085] It's important to note that using a timer to trigger DMA writes data from memory to the GPIO port output control register, thereby controlling the GPIO output. Furthermore, by adjusting the timer trigger frequency, the DMA data transfer speed can be varied, thereby changing the GPIO output signal frequency. Because DMA performs data transfer, no CPU intervention is required during the transfer; the CPU only needs to configure DMA. This significantly conserves CPU resources, allowing constant-current LED driver control to be achieved through on-chip peripherals.
[0086] Since the HOE signal of the constant current LED driver unit needs to be coordinated with the row signal output of the LED matrix, the present invention outputs the HOE signal and the row control signal using one GPIO port, and uses another GPIO port to output display data and control commands of the constant current LED driver unit.
[0087] Furthermore, when the GPIO port sends data, it needs to be arranged in sequence from low address to high address according to the data sending order, and the valid data bits of the data correspond to the PIN actually used by the GPIO.
[0088] The following takes the PWM constant current LED driver unit and direct decoding as an example. The data sent by GPIOx and GPIOy are shown in Table 2 and Table 3:
[0089] Table 2
[0090]
[0091] Table 3
[0092]
[0093]
[0094] S204, the MCU unit reads LED fault detection data and signal fault detection data from the constant current LED driver unit;
[0095] Accordingly, the steps of the MCU unit reading the LED fault detection data and the signal fault detection data from the constant current LED driver unit include:
[0096] (1) The MCU unit outputs the LED fault detection command to the constant current LED driver unit through a GPIO port, and then outputs the HDCLK clock to shift the LED fault detection result data out of the shift register of the constant current LED driver unit;
[0097] (2) The MCU unit reads the LED fault detection result data into the memory through another GPIO port;
[0098] (3) The MCU unit reads the control signal and row control signal of the constant current LED driver unit through another GPIO port to perform signal fault detection, and fuses and analyzes the signal fault detection results to generate signal fault detection data.
[0099] It should be noted that one channel of the timer can be used to trigger DMA to write data from the memory to the GPIO port output control register, while another channel of the same timer can trigger another DMA channel to read the contents of the GPIO port input status register into the memory; similarly, DMA implements data reading, and no CPU intervention is required during the transmission. The CPU only needs to configure DMA, which greatly saves CPU resources and can implement LED fault detection and signal fault detection through on-chip peripherals.
[0100] like Figure 6 and Figure 7 As shown, GPIOx outputs LED fault detection commands to the constant-current LED driver IC, then outputs the HDCLK clock to shift the LED fault detection result data out of the shift register in the constant-current LED driver IC. The Timerx CHz trigger event is set to lag the Timerx CHx trigger event by an appropriate amount. This data DMACHz is read into memory via GPIOz. Simultaneously, GPIOz reads the constant-current LED driver IC's output display data (i.e., RGB), GPIOx output control commands (i.e., HDCLK, HLAT), GPIOy output HOE signals (i.e., HOE), and row control signals (i.e., HA, HB, HC, HD, HE), forming a loopback test for signal fault detection. Similarly, the raw detection data read by DMA needs to be integrated and analyzed to obtain the final detection result.
[0101] S205, the MCU unit detects the status of the light board through the ADC resampling circuit;
[0102] Specifically, the voltage and temperature of the LED light board module can be collected through the ADC resampling circuit, and then the voltage value and temperature value can be obtained through calculation.
[0103] S206, the MCU unit stores the point-by-point brightness correction data and the color gamut correction data into the NVM memory;
[0104] S207, the LED light board module sends LED fault detection data, drive control signal, light board status detection data, point-by-point brightness correction data and color gamut correction data to the receiving card through the UART communication channel.
[0105] Therefore, the MCU unit receives the original display data sent by the receiving card from the UART, and after processing, sends it to the constant current LED driver unit from the GPIO, and the display content is displayed on the LED matrix; the MCU unit reads the LED fault detection data and drive control signal from the constant current LED driver unit through the GPIO; the MCU unit detects the input voltage and temperature through the ADC resampling circuit; the receiving card reads the detection or status data of the LED light board module through the UART; the MCU receives point-by-point brightness correction data, color gamut correction data and other data, and stores them in the NVM memory, and reads and loads them from the NVM memory when needed.
[0106] In summary, the present invention can effectively reduce the number of signal lines from the receiving card to the LED light board module, realize master-slave signal backup while maintaining the display function and expansion function unchanged, improve the stability of signal transmission between the receiving card and the LED light board module, simplify the manufacturing of cables and connectors from the receiving card to the LED light board module, and reduce manufacturing costs.
[0107] See also Figure 3 , Figure 3 The structure diagram of an embodiment of the data demodulation and control system of an LED light board of the present invention is shown, which includes a receiving card 100 and an LED light board module 101. The LED light board module 101 includes an MCU unit 1, an ADC resampling circuit 2, an NVM memory 3, a constant current LED driver unit 4 and an LED matrix 5. The MCU unit 1 is connected to the ADC resampling circuit 2, the NVM memory 3 and the constant current LED driver unit 4 respectively, and the constant current LED driver unit 4 is connected to the LED matrix 5.
[0108] Different from the prior art, in the present invention, the receiving card 100 and the LED light board module 101 are connected via a UART interface, and the above-mentioned LED light board data demodulation control method is used for data interaction.
[0109] Furthermore, the receiving card 100 and the LED light board module 101 are connected via two sets of UART interfaces. This effectively reduces the number of signal lines from the receiving card to the LED light board module while maintaining display and extended functions. The MCU unit 1 within the LED light board module 101 is the core to implement LED display driving, as well as extended functions such as LED fault detection, signal fault detection, and light board status detection.
[0110] 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 data demodulation control method for LED light board, characterized in that: include: Establish a UART communication channel between the receiving card and the LED light board module. The LED light board module includes an MCU unit, an ADC resampling circuit, an NVM memory, a constant current LED driver unit, and an LED matrix. The MCU unit is connected to the ADC resampling circuit, the NVM memory, and the constant current LED driver unit, respectively. The constant current LED driver unit is connected to the LED matrix. The receiving card and the LED light board module exchange data through the UART communication channel, wherein: The receiving card sends control data to the LED light board module through the UART communication channel, wherein the control data includes original display data, point-by-point brightness correction data, and color gamut correction data; The MCU unit processes the raw display data to generate target display data, and sends the target display data to the constant current LED driving unit to drive the LED matrix for display; The MCU unit reads LED fault detection data and signal fault detection data from the constant current LED driving unit; The MCU unit detects the light board status detection data through the ADC resampling circuit; The MCU unit stores the point-by-point brightness correction data and the color gamut correction data into an NVM memory; The LED light board module sends the LED fault detection data, drive control signal, light board status detection data, point-by-point brightness correction data and color gamut correction data to the receiving card through the UART communication channel; The step of sending the target display data to the constant current LED driver unit to drive the LED matrix for display includes: the MCU unit triggers DMA transmission through a timer to write the target display data from the memory to the GPIO port output control register to control the output of the GPIO port, wherein: the MCU unit outputs the HOE signal and the row control signal of the target display data to the constant current LED driver unit through one GPIO port; the MCU unit outputs the display data and the control command to the constant current LED driver unit through another GPIO port; the constant current LED driver unit drives the LED matrix for display according to the HOE signal, the row control signal, the display data and the control command; the GPIO port arranges the data in sequence from the low address to the high address according to the data transmission order, and the valid data bits of the data correspond to the GPIO PIN; The steps of the MCU unit reading LED fault detection data and signal fault detection data from the constant current LED driver unit include: the MCU unit outputting an LED fault detection command to the constant current LED driver unit through a GPIO port, and then outputting an HDCLK clock to shift the LED fault detection result data out of the shift register of the constant current LED driver unit; the MCU unit reading the LED fault detection result data into a memory through another GPIO port; the MCU unit reading the control signal and the row control signal of the constant current LED driver unit through another GPIO port to perform signal fault detection, and fusing and analyzing the signal fault detection results to generate signal fault detection data.
2. The LED light board data demodulation control method according to claim 1, characterized in that: The UART communication channel includes a master UART serial port and a slave UART serial port. When the receiving card and the LED light board module exchange data through the UART communication channel, the master UART serial port and the slave UART serial port are switched in a master-slave backup mode.
3. The LED light board data demodulation control method according to claim 2, characterized in that: The step of switching the master UART serial port and the slave UART serial port in a master-slave backup mode includes: The receiving card sends VS packets to the LED light board module simultaneously through the master UART serial port and the slave UART serial port; The LED light board module sends the packet sequence number of the received VS packet from the master UART serial port and the slave UART serial port to the receiving card respectively; The receiving card determines the fault conditions of the master UART serial port and the slave UART serial port according to the packet sequence number, so as to switch the master UART serial port and the slave UART serial port respectively.
4. The LED light board data demodulation control method according to claim 1, characterized in that: The step of the MCU unit processing the original display data to generate target display data includes: The MCU unit sequentially performs gamma correction, point-by-point brightness correction, brightness adjustment, and pinmapping processing on the original display data to generate target display data.
5. The LED light board data demodulation control method according to claim 4, characterized in that: The MCU unit sequentially performs gamma correction, point-by-point brightness correction, brightness adjustment, and pin mapping on the original display data to generate target display data, including the following steps: Performing bit conversion on the RGB data of each pixel in the original display data by using a table lookup method; Constructing an initial RGB data matrix based on the RGB data after bit number conversion, and multiplying the initial RGB data matrix with preset point-by-point brightness correction data to generate a target RGB data matrix; Multiplying the RGB data of each pixel in the target RGB data matrix by the brightness percentage to generate target brightness data; According to the position of each pixel point in the target brightness data, the output channel of the corresponding constant current LED driving unit is searched, and the grayscale information of each pixel point in the target brightness data is filled into the memory position corresponding to each grayscale bit in the corresponding output channel to generate the target display data.
6. An LED light board data demodulation and control system, characterized in that: It includes a receiving card and an LED light board module, wherein the LED light board module includes an MCU unit, an ADC resampling circuit, an NVM memory, a constant current LED driver unit and an LED matrix, wherein the MCU unit is connected to the ADC resampling circuit, the NVM memory and the constant current LED driver unit respectively, and the constant current LED driver unit is connected to the LED matrix; The receiving card and the LED light board module are connected via a UART interface, and data interaction is performed using the LED light board data demodulation control method described in any one of claims 1 to 5.
7. The LED light board data demodulation and control system according to claim 6, characterized in that: The receiving card is connected to the LED light board module via two sets of UART interfaces.
Citation Information
Patent Citations
Port multiplexing LED constant current driving chip and driving method
CN118450564A
Nonuniform point-by-point correction system for full-color LED display screen
CN201904067U