A small-pitch LED full-color synchronous screen receiving board and its working method
Through the collaborative processing of microcontroller and FPGA, the display of high-resolution LED full-color synchronous screen is realized, which solves the problem of insufficient resolution and real-time display capability in the existing technology, and achieves the improvement of flexibility and cost-effectiveness.
Patent Information
- Application Number
- CN202210395740.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-15
AI Technical Summary
Existing LED full-color display control technology has shortcomings in resolution and real-time display capabilities. Microcontrollers are limited by insufficient resources and cannot achieve high-resolution display. The cost of embedded systems is high and not suitable for real-time display. However, based on FPGA/CPLD Although the technology has fast processing speed, the design complexity is high.
The microcontroller and FPGA are used to jointly process control network packet data and commands. The microcontroller processes network protocols and command analysis. The FPGA processes image data and LED dot matrix scanning signals. The LED full-color synchronous screen display is realized through the SPI bus and HUB75 module.
It achieves high-resolution LED full-color synchronous screen display, combines the characteristics of microcontroller to quickly process commands and FPGA to quickly process image data, and completes the processing of data and commands from the sending card. The design flexibility and cost-effectiveness are good.
Smart Images

Figure CN114863869B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of digital multimedia broadcasting, and in particular relates to a small-pitch LED full-color synchronous screen receiving board and a working method thereof. Background Art
[0002] A single-chip microcomputer refers to an integration formed by circuit chips. Relying on a huge scale of integrated circuits, it integrates functions such as CPU, RAM and ROM on silicon chips to build and improve small computer systems. At present, single-chip microcomputers have been used in many fields. The use process of single-chip microcomputers is relatively convenient, the overall volume is small, the requirements for the surrounding environment are relatively simple, the control ability is strong, and it can integrate a variety of functions, giving the technology a strong control effect. The single-chip microcomputer has a fast processing speed, powerful processing functions, and strong reliability. When applied to the network, the single-chip microcomputer can effectively avoid the invasion of network viruses on computers and effectively protect the security of computer data and information.
[0003] FPGA devices are a kind of semi-customized circuit in application-specific integrated circuits. They are programmable logic arrays that can effectively solve the problem of the small number of gate circuits in the original device. The basic structure of FPGA includes programmable input and output units, configurable logic blocks, digital clock management modules, embedded block RAM, wiring resources, embedded dedicated hard cores, and bottom-level embedded functional units. Due to the characteristics of rich wiring resources, reprogrammable and high integration, and low investment, FPGA has been widely used in the field of digital circuit design. The advantage of using FPGA to process data is that FPGA can process large amounts of data in real time, showing significant advantages of real-time, flexibility, easy debugging, low development cost, and more stability.
[0004] The control technology of LED full-color display screen can be divided into LED display control technology based on single-chip microcomputer, LED display control technology based on embedded system and LED display control technology based on FPGA / CPLD. For LED display control technology based on single-chip microcomputer, the main control device is single-chip microcomputer, so it is limited by the internal resources of single-chip microcomputer. The resolution of the display screen targeted by the LED display screen controller designed by single-chip microcomputer is generally not high, and it can only display simple text or neon effects, which are often used in street advertisements, signs and other occasions. For LED display control technology based on embedded system, although the screen display resolution targeted by the LED display screen control system realized by embedded control technology has been improved and the control is flexible, its display content needs to be stored in the memory in advance, and there is a certain gap for the requirements of real-time display, and the cost is high, which is not suitable for real-time display. For LED display control technology based on FPGA / CPLD, compared with the control research and development of single-chip microcomputer and embedded system, FPGA as the main control can process high-speed data and can process a large amount of data in a short time, which meets the current requirements for high-resolution display. In addition, the development cycle of FPGA as the main control is short and the design is relatively flexible, which has unique advantages in this regard. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a small-pitch LED full-color synchronous screen receiving board and a working method thereof in view of the deficiencies in the above-mentioned prior art, wherein the single-chip microcomputer and FPGA jointly process the control network packet data and commands.
[0006] The present invention adopts the following technical solutions:
[0007] A working method of a small-pitch LED full-color synchronous screen receiving board, comprising the following steps:
[0008] S1. According to the data structure of the network packet, the image to be displayed, the LED display screen architecture, and the content to be processed, interface and resources of the single-chip microcomputer, the FPGA architecture of the LED full-color synchronous screen receiving board and the overall architecture of the small-pitch LED full-color synchronous screen receiving board system are obtained;
[0009] S2, based on the overall FPGA architecture designed in step S1 and the overall architecture of the small-pitch LED full-color synchronous receiving board, use a single-chip microcomputer to receive data packets, parse the command part of the data packet, and send control commands through the SPI bus;
[0010] S3, using the FPGA overall architecture designed in step S1 to receive the control command, and process the data according to the control command; receiving the corresponding image data according to the control command and processing the image data;
[0011] S4, performing image correction on the image data processed in step S3;
[0012] S5. Use FPGA to control the LED dot matrix scanning signal, and control the LED driver chip to light up the corresponding pixels through the HUB75 interface.
[0013] Specifically, in step S2, the content of the data packet includes an 8-bit command, a 16-bit parameter length and a data format of the corresponding parameter.
[0014] Specifically, in step S2, the commands processed by the single chip microcomputer include grayscale commands, synchronization commands, image correction commands, and commands for controlling scanning timing, and command parsing includes command parsing at power-on and command parsing after power-on.
[0015] Furthermore, the command parsing at power-on is as follows:
[0016] Send the register configuration command to configure the register of the LED driver chip, send the gamma table selection and gamma table command, and store the FPGA storage resources into the gamma table used;
[0017] The command parsing after power-on is specifically: sending a cycle of grayscale commands and synchronization commands.
[0018] Specifically, step S3 is as follows:
[0019] FPGA uses the network packet receiving module to monitor the grayscale data and command parameters that need to be sent on the network from the sending card to the receiving card, and then through a FIFO or SDRAM cache, according to the control command sent by the microcontroller, FPGA uses the control center module to control the issuance of the corresponding grayscale data and command parameters obtained by monitoring, realizing a collaborative mode in which the microcontroller completes command parsing and the FPGA completes data processing.
[0020] Furthermore, the command parameters include grayscale commands, synchronization commands, register configuration commands, gamma table write commands, clock frequency division commands, and line and field synchronization commands for HUB75 synchronization timing.
[0021] Furthermore, the register configuration command is used to control the register configuration data to be grouped into six paths, and the parallel-to-serial conversion is completed through the HUB75 module. A group of registers is configured in each frame to complete the four-frame configuration.
[0022] Furthermore, the write gamma table command includes a gamma table selection command and a gamma correction command. The gamma correction command controls the gamma correction table to cooperate with the video controller to generate point-by-point correction parameters; the point-by-point correction parameters are used to correct the displayed image in real time, and the gamma correction table to be displayed is selected through the gamma table selection command.
[0023] Another technical solution of the present invention is a small-pitch LED full-color synchronous screen receiving board, including a single-chip microcomputer and an FPGA, the single-chip microcomputer and the FPGA are connected to a video controller via an RJ45 port, the video controller is respectively connected to a host computer, an editing and broadcasting machine, and a camera, the single-chip microcomputer is connected to the FPGA via an SPI bus, the FPGA is connected to the LED display screen via a HUB75 module, the light sensor and the temperature sensor provided on the LED display screen are connected to the single-chip microcomputer, and the host computer is respectively connected to the video controller and the single-chip microcomputer via a USB interface;
[0024] The host computer or memory sends the image to be displayed or text command; the video controller collects the program source of the editing and broadcasting machine and the camera and synthesizes the image to be displayed according to the image to be displayed or text command, and then divides the synthesized image to be displayed according to the LED screen configuration, and then sends the divided image blocks through the RJ45 interface; the single-chip microcomputer and FPGA use the single-chip microcomputer to process the network protocol and network packet commands according to the divided image blocks, and send the control command to the FPGA through the SPI bus. The FPGA converts the image block into an LED dot matrix scanning signal in combination with the command of the single-chip microcomputer, and then controls the LED driver chip to light up the corresponding pixels through the HUB75 module to realize the reception of the LED full-color synchronous screen.
[0025] Specifically, the FPGA includes a control center module, the video controller is connected to the input end of the control center module via the RJ45 interface, the network packet receiving module and the first FIFO set on the small-pitch LED full-color synchronous screen receiving board, the single-chip microcomputer is connected to the input end of the control center module via the SPI receiving module and the second FIFO, and the output end of the control center module is divided into three paths, one path is connected to the HUB75 module via the gamma correction module, the second path is connected to the gamma table writing module, and the third path is connected to the HUB75 module via the frequency division module and the line scan counting module.
[0026] Compared with the prior art, the present invention has at least the following beneficial effects:
[0027] The present invention discloses a working method for a small-pitch LED full-color synchronous screen receiving board. A single-chip microcomputer is used as the MAC layer for Ethernet processing, which can fully handle the processing of 100M network data. The single-chip microcomputer processes commands sent by a video controller, and then controls the monitoring data of an FPGA. The FPGA side processes image data. This mode can fully utilize the characteristics of the single-chip microcomputer for quickly processing commands and the characteristics of the FPGA for quickly processing a large amount of image data. Combining the characteristics of the two, the processing of sending card data and commands can be better completed.
[0028] Furthermore, after receiving the data of command + parameter length + parameter format, the MCU and FPGA need to determine whether the received data is a command. The first command is determined by the 8-bit data following the UDP packet checksum, which is the first command. Subsequent commands need to be determined by the parameter length, and the next command is determined after the parameter ends. This mode is more convenient for data processing.
[0029] Furthermore, after power-on, the microcontroller will process the commands. After power-on, it will mainly process the LED driver chip configuration commands, frequency division commands and FPGA gamma table write commands. For normal display, only the grayscale commands and synchronization commands need to be processed. If the microcontroller is selected to process the commands, the data volume is not large, the microcontroller can quickly complete the command processing, and the processing of the grayscale data can be handed over to the FPGA.
[0030] Furthermore, after power-on, the LED driver chip is first configured and the gamma table data is written, so that during normal grayscale transmission, the LED display screen can be displayed according to the configuration content and the gamma table data.
[0031] Furthermore, the collaborative mode in which the MCU completes command parsing and the FPGA completes data processing can make full use of the MCU's ability to quickly process commands and the FPGA's ability to quickly process a large number of images. Combining the characteristics of the two can better complete the processing of sending card data and commands.
[0032] Furthermore, after power-on, register configuration commands, gamma table writing commands, and clock division commands are started. After configuration is completed, normal grayscale transmission begins. The diversified commands improve the flexibility of the design. The display effect can be changed by changing the parameters of the commands sent by the sending card.
[0033] Furthermore, each group of HUB75 can basically handle a maximum display screen of 256*64. Dividing it into four groups can complete the display of 256*256 resolution. The four HUB75 ports need to be configured with the driver chip separately.
[0034] Furthermore, the writing of different gamma tables is controlled by the video controller end, and different gamma tables are selected. Different gamma tables are suitable for different environments, and the display effect can be conveniently adjusted by changing the gamma table selection command.
[0035] A small-pitch LED full-color synchronous screen receiving board, the host computer or memory sends the image to be displayed or text command; collects the program source of the editing and broadcasting machine and the camera and synthesizes the image to be displayed, then divides the synthesized image to be displayed according to the LED screen configuration, and then sends the divided image blocks through the RJ45 interface; the single-chip microcomputer and FPGA use the single-chip microcomputer to process the network protocol and network packet commands according to the divided image blocks, and send the control command to the FPGA through the SPI bus, the FPGA combines the command of the single-chip microcomputer to convert the image block into an LED dot matrix scanning signal, and then controls the LED driver chip to light up the corresponding pixel through the HUB75 module to realize the LED full-color synchronous screen reception. The characteristics of the sending card and the receiving card are used to achieve the flexibility and rationality of the design.
[0036] Furthermore, each module corresponds to the command sent by the video controller. The control center module, network packet receiving module, and SPI receiving module are data receiving modules. The gamma correction module and the gamma table writing module are image processing modules. The HUB75 module, the frequency division module, and the line scan counting module are timing control modules for the LED dot matrix scanning signal.
[0037] In summary, the present invention can fully utilize the characteristics of the single-chip microcomputer to quickly process commands and the characteristics of the FPGA to quickly process a large number of images. Combining the characteristics of the two can better complete the processing of the sending card data and commands.
[0038] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 This is a schematic diagram of the overall architecture of the LED full-color synchronous screen;
[0040] Figure 2 This is a schematic diagram of the overall FPGA architecture of the LED full-color synchronous screen receiving board;
[0041] Figure 3 It is the command and explanation diagram of LED driver chip ICND2153. DETAILED DESCRIPTION
[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "one side", "one end", "one side" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.
[0044] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0045] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0046] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0047] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0048] Various structural schematic diagrams of the embodiments disclosed in the present invention are shown in the accompanying drawings. These figures are not drawn to scale, and some details are magnified and some details may be omitted for the purpose of clear expression. The shapes of various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are only exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0049] The present invention provides a small-pitch LED full-color synchronous screen receiving board and a working method thereof, wherein a single-chip microcomputer and an FPGA are used to jointly process and control network packet data and commands, the single-chip microcomputer processes network protocols and network packet commands, the FPGA monitors the network, the FPGA chip is connected to the data enable and four-bit valid data line of the PHY chip, the single-chip microcomputer is used to process the network protocol, and the FPGA processes the data part of the network packet. The video controller workflow is to collect the editing and broadcasting machine and other program sources, synthesize the image to be displayed, divide it according to the LED screen configuration, transmit the divided image blocks to the corresponding receiving card through the gigabit network, and the receiving card converts the received image blocks into LED dot matrix scanning signals to control the LED driver chip and light up the corresponding pixels. The receiving board receives the data packet containing grayscale data and commands sent by the video controller, the single-chip microcomputer completes the network protocol and command parsing, controls the data reading of the FPGA through the SPI bus, the FPGA controls the timing of the four-way HUB75 module and realizes image correction, and controls the LED dot matrix scanning signal to finally light up the electronic display screen to display text or images. Compared with traditional single-chip microcomputer control or FPGA control, the present invention can utilize the single-chip microcomputer to process commands and network protocols, and has a stronger control function. In addition, FPGA can process data in real time and is more flexible and easy to debug, so it is fully capable of processing command data of 100M networks.
[0050] See also Figure 1 The present invention discloses a small-pitch LED full-color synchronous screen receiving board, which includes an RJ45 interface, a single-chip microcomputer and an FPGA. A host computer, a program and broadcast machine (PIS) and a camera are respectively connected to a video controller, the video controller is connected to the RJ45 interface through a 100M network, the video controller is respectively connected to the single-chip microcomputer and the FPGA through the RJ45 interface, the single-chip microcomputer is connected to the FPGA through an SPI bus, the FPGA is respectively connected to four 256×64@50HZ LED display screens through four groups of HUB75 modules, the light sensor and the temperature sensor arranged on the LED display screen are connected to the single-chip microcomputer, and the host computer is connected to the single-chip microcomputer of the receiving board through a USB interface.
[0051] The camera is connected to the video controller via USB, and the video controller is equipped with an RK3328 processor.
[0052] First, the host computer or storage sends the image or text to be displayed to the video controller. The video controller collects other program sources from the editing and broadcasting machine and the camera, and synthesizes the image to be displayed. The synthesized image to be displayed is divided according to the LED screen configuration, and then the divided image blocks are transmitted to the corresponding receiving board through the 100M network via the RJ45 interface; the receiving board converts the received image blocks into LED dot matrix scanning signals and controls the LED driver chip to light up the corresponding pixels through the HUB75 module, thereby realizing the reception of LED full-color synchronous screen.
[0053] Among them, the receiving board includes a single-chip microcomputer and an FPGA. The single-chip microcomputer is responsible for processing the commands of the network protocol and network packets, and sending the control commands to the FPGA through the SPI bus. The FPGA monitors the four-bit data part of the network, plus the data enable, and processes the data of the network packet in combination with the commands of the single-chip microcomputer.
[0054] See also Figure 2 , the FPGA includes a network packet receiving module, a first FIFO, an SPI receiving module, a control center module, a second FIFO, a gamma correction module, a gamma table writing module, a frequency division module and a line scan counting module. The input end of the network packet receiving module is connected to the RJ45 interface, and the output end is connected to the control center module via the first FIFO, which is used to realize the cross-clock domain operation from the clock of the PHY chip to the FPGA system clock; the input end of the SPI receiving module is connected to the SPI bus, and the output end of the SPI receiving module is connected to the control center module via the second FIFO, which is used to realize the cross-clock domain operation from the SPI bus clock to the system clock; the control center module is respectively connected to the gamma correction module, the gamma table writing module and the frequency division module, and the gamma correction module is respectively connected to the four-way HUB75 module for respectively correcting the images of the four split screens; the gamma table writing module is connected to the gamma correction module for real-time correction of the image data; the frequency division module is connected to the four-way HUB75 module via the line scan counting module, which is used to realize the frequency control of the four screens respectively.
[0055] The present invention provides a working method of a small-pitch LED full-color synchronous screen receiving board, comprising the following steps:
[0056] S1. According to the data structure of the network packet, the image to be displayed and the LED display screen architecture, design the content that needs to be processed by the FPGA and the single-chip microcomputer in the small-pitch LED full-color synchronous screen receiving board, as well as the functions to be completed, the required interfaces and the required resources, and obtain the overall architecture of the FPGA president architecture and the small-pitch LED synchronous display system;
[0057] In the small-pitch LED full-color synchronous display system, the MCU is responsible for processing the network protocol, receiving data packets, and processing commands after power-on. The FPGA is responsible for receiving network monitoring data, processing image data, and controlling LED dot matrix scanning signals.
[0058] S2. Use the video controller to send data packets through the 100M network. The single-chip microcomputer processes the network layer protocol. The single-chip microcomputer acts as the MAC layer of the network from the sending card to the receiving card. The single-chip microcomputer only processes the command part of the data packet, performs command parsing, and sends the command to the FPGA through the SPI bus.
[0059] The overall architecture of the FPGA designed in step S1 and the overall architecture of the small-pitch LED full-color synchronous display system are as follows: Figure 1 The system architecture shown and Figure 2 FPGA architecture, the microcontroller receives data packets, parses the command part of the data packets, and sends control commands to the FPGA through the SPI bus; the video controller sends 8-bit command + 16-bit parameter length + corresponding parameter data format through the 100M network. The commands to be processed by the microcontroller include grayscale commands, synchronization commands, image correction commands, and commands for controlling the scanning timing. The command parsing part is divided into command parsing at power-on and command parsing after power-on.
[0060] The specific command analysis at power-on is:
[0061] Sending register configuration commands is used to configure the registers of the LED driver chip, and sending gamma table selection and sending commands are used to store the gamma table in the storage resources of the FPGA.
[0062] The command analysis after power-on is as follows:
[0063] Send grayscale command and command loop.
[0064] S3, FPGA receives the control command sent by the single-chip microcomputer. The control center module is used to match the command with the data. The content received by FPGA is the data enable of the PHY chip and four bits of valid data, and then the data is processed according to the control command;
[0065] After receiving the control command from the microcontroller, the FPGA first converts the serial data of the SPI bus into eight-bit parallel data using the FIFO buffer. The microcontroller then uses a high-order judgment bit to determine whether the transmission is a parameter or a command, which results in nine-bit parallel data.
[0066] See also Figure 2The control center module receives the command data sent by the microcontroller and controls the issuance of corresponding grayscale data or command parameters. The main commands include grayscale commands, synchronization commands, register configuration commands, gamma table write commands, clock division commands, and line and field synchronization commands for HUB75 synchronization timing.
[0067] The register configuration command and gamma correction command are completed at power-on. The LED driver chip used is ICND2153. The register configuration data is grouped into six paths and converted to serial through the HUB75 module. One group of registers is configured for each frame, and the configuration of four frames is completed.
[0068] The gamma correction table uses professional equipment or industrial cameras to collect data with the video controller to generate point-by-point correction parameters; the point-by-point correction parameters are sent to the receiving card or video controller to correct the displayed image in real time, and the gamma table selection command is used to select the gamma correction table that is finally displayed with the best display.
[0069] After completing the command control, the grayscale data and command parameters to be sent are monitored on the network from the sending card to the receiving card, such as Figure 2 As shown, the network packet receiving module is used to receive the data enable signal and four-bit data on the PHY chip, and then through a FIFO or SDRAM cache, according to the control command sent by the microcontroller, the control center module controls the issuance of the corresponding grayscale data and command parameters obtained by monitoring, thereby realizing a collaborative mode in which the microcontroller completes command parsing and the FPGA completes data processing.
[0070] S4, complete the image correction, frequency division module and HUB75 timing control functions on FPAG;
[0071] The image correction function on FPGA takes advantage of FPGA's image processing capabilities. It can select a suitable gamma table based on the environment and write it into the FPGA's RAM. The frequency division module is used to select a suitable display frequency based on the LED screen. The HUB75 timing control function is used to control the display timing and complete functions such as LED open circuit, upper and lower ghosting, and cross elimination.
[0072] S5. Control the LED driver chip according to the two-channel RGB data and control commands output by the HUB75 port in step S4, and control the LED display screen through the HUB75 port to light up the corresponding pixels.
[0073] After FPGA completes the data processing, it converts the parallel-to-serial data into serial control output. The four groups of HUB75 modules correspond to four 256×64@50HZ LED display screens respectively. The control performed by FPGA is to control the output of the four-channel HUB75 grayscale data respectively.
[0074] FPGA controls the LED driver chip by controlling the LE length. The LED driver chip ICND2153 contains a simple 16-bit shift register. The grayscale value and configuration value are latched into the shift register. The control command is parsed by counting the length of the LE signal. Different LE lengths represent different commands. Figure 3 shown.
[0075] The single-chip microcomputer can be used as the MAC layer of the 100M network. For the 256*256@50hz LED display, a three-primary-color full-color display is used. For the high-speed rail screen, 8 scans are used indoors. The calculated transmission rate is 256*256*3*8*50=78.6Mbps, which is basically the limit rate of the 100M network. For the FPGA side, the monitoring data also uses the 100M network port, and the FPGA side can also process data at a speed of 100M.
[0076] For the 256×256@50HZ LED display screen to be displayed at the end, it can be transmitted using 100M network. At this time, the single-chip microcomputer can be used to process the network protocol, and the MAC layer can be set on the single-chip microcomputer. In addition, the single-chip microcomputer has the characteristics of fast processing speed and powerful processing function. The single-chip microcomputer can be used to process the part with smaller data volume. Except for the data processing part, such as the command parsing part, the data processing and image correction work are handed over to the FPGA. In this way, the characteristics of the single-chip microcomputer and FPGA can be fully competent for the processing of 100M network data.
[0077] In summary, the present invention provides a small-pitch LED full-color synchronous screen receiving board and a working method thereof, which can fully utilize the characteristics of the single-chip microcomputer to quickly process commands and the characteristics of the FPGA to quickly process a large number of images. Combining the characteristics of the two can better complete the processing of the sending card data and commands.
[0078] The above contents are only for explaining the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.
Claims
1. A working method of a small-pitch LED full-color synchronous screen receiving board, It is characterized in that The following steps are involved: S1. According to the data structure of the network packet, the image to be displayed, the LED display screen architecture, and the content to be processed, interface and resources of the single-chip microcomputer, the FPGA architecture of the LED full-color synchronous screen receiving board and the overall architecture of the small-pitch LED full-color synchronous screen receiving board system are obtained; S2, based on the overall FPGA architecture designed in step S1 and the overall architecture of the small-pitch LED full-color synchronous receiving board, use a single-chip microcomputer to receive data packets, parse the command part of the data packet, and send control commands through the SPI bus. The content of the data packet includes 8-bit commands, 16-bit parameter length and the data format of the corresponding parameters; S3, using the FPGA overall architecture designed in step S1 to receive the control command, and process the data according to the control command; receiving the corresponding image data according to the control command and processing the image data, specifically: FPGA uses the network packet receiving module to monitor the grayscale data and command parameters that need to be sent from the sending card to the receiving card on the network, and then through a FIFO or SDRAM cache, according to the control command sent by the single-chip microcomputer, FPGA uses the control center module to control the issuance of the corresponding grayscale data and command parameters obtained by monitoring, realizing a collaborative mode in which the single-chip microcomputer completes command parsing and the FPGA completes data processing; The command parameters include grayscale command, synchronization command, register configuration command, gamma table writing command, clock frequency division command and line and field synchronization command for HUB75 synchronization timing; The register configuration command is used to control the register configuration data to be grouped into six paths, and the parallel-to-serial conversion is completed through the HUB75 module. A group of registers is configured in each frame to complete the configuration of four frames; The write gamma table command includes a gamma table selection command and a gamma correction command. The gamma correction command controls the gamma correction table to cooperate with the video controller to generate point-by-point correction parameters. The point-by-point correction parameters are used to correct the displayed image in real time, and the gamma correction table to be displayed is selected through the gamma table selection command. S4, performing image correction on the image data processed in step S3; S5. Use FPGA to control the LED dot matrix scanning signal, and control the LED driver chip to light up the corresponding pixels through the HUB75 interface.
2. According to the working method of the small-pitch LED full-color synchronous screen receiving board described in claim 1, It is characterized in that In step S2, the commands processed by the single chip microcomputer include grayscale commands, synchronization commands, image correction commands and commands for controlling scanning timing, and command parsing includes command parsing at power-on and command parsing after power-on.
3. The working method of the small-pitch LED full-color synchronous screen receiving board according to claim 2, It is characterized in that The specific command parsing at power-on is: Send the register configuration command to configure the register of the LED driver chip, send the gamma table selection and gamma table command, and store the FPGA storage resources into the gamma table used; The command parsing after power-on is specifically: sending a cycle of grayscale commands and synchronization commands.
4. A small-pitch LED full-color synchronous screen receiving board, It is characterized in that It includes a single-chip microcomputer and an FPGA. The single-chip microcomputer and the FPGA are connected to a video controller via an RJ45 port. The video controller is respectively connected to a host computer, an editing and broadcasting machine, and a camera. The single-chip microcomputer is connected to the FPGA via an SPI bus. The FPGA is connected to an LED display screen via a HUB75 module. The light sensor and the temperature sensor set on the LED display screen are connected to the single-chip microcomputer. The host computer is respectively connected to the video controller and the single-chip microcomputer via a USB interface. The host computer or memory sends the image to be displayed or text command; the video controller collects the program source of the editing and broadcasting machine and the camera and synthesizes the image to be displayed according to the image to be displayed or text command, and then divides the synthesized image to be displayed according to the LED screen configuration, and then sends the divided image blocks through the RJ45 interface; the single-chip microcomputer and FPGA use the single-chip microcomputer to process the network protocol and network packet commands according to the divided image blocks, and send the control command to the FPGA through the SPI bus. The FPGA converts the image block into an LED dot matrix scanning signal in combination with the command of the single-chip microcomputer, and then controls the LED driver chip to light up the corresponding pixels through the HUB75 module to realize the reception of the LED full-color synchronous screen.
5. According to claim 4, the small-pitch LED full-color synchronous screen receiving board, It is characterized in that The FPGA includes a control center module. The video controller is connected to the input end of the control center module via the RJ45 interface, the network packet receiving module and the first FIFO set on the small-pitch LED full-color synchronous screen receiving board. The single-chip microcomputer is connected to the input end of the control center module via the SPI receiving module and the second FIFO. The output end of the control center module is divided into three paths. One path is connected to the HUB75 module via the gamma correction module, the second path is connected to the gamma table writing module, and the third path is connected to the HUB75 module via the frequency division module and the line scan counting module.
