1 Introduction
LED video display screens have the advantages of high brightness, wide viewing angle, long life, high cost performance, and the ability to display various texts, graphics, and images synchronously with computers, play TV, video, DVD and other video signals in real time, and input and edit various multimedia data instantly. Therefore, they are widely used in many public places such as streets, squares, commercial centers, sports venues, entertainment venues, and control centers. However, due to technical problems, extra-large video display screens still face severe challenges, mainly manifested in low grayscale, serious brightness loss, and low refresh rate. In addition, the video signal source of this article comes from the DVI (Digital Video InterFace) interface. The DVI interface outputs digital video signals with a large amount of information. Generally, the video signal is first cached by an external RAM (Random Array Memory) and then processed by the processor. There are many types of external memories that can be used for digital image storage, such as SRAM, DRAM, and SDRAM, and their capacity and speed vary. DRAM and SDRAM are dynamic memories with large capacity and need to be refreshed during use. When the processor does not have an external dynamic RAM interface, a refresh circuit needs to be designed, which brings inconvenience to the system application; SRAM does not need to be refreshed, does not require a dedicated interface, has good real-time performance, and can perform jump addressing, so this article uses SRAM as an external cache memory. The use of field partition storage technology greatly improves the refresh frequency, and the image display effect is clear and stable. A video display system with a resolution of 800×256, a refresh frequency of 90 Hz, and a grayscale of 256×256×256 for red, green, and blue colors is realized. At the same time, the brightness and grayscale are conveniently adjustable with little brightness loss by using this technology.
2 System composition
The overall block diagram of the LED video display system is shown in Figure 1: The system consists of two parts: the sending part and the receiving part. The function of the sending part is mainly to encode and decode the video signal transmitted by the DVI interface to form 24b true color video data and dot clock (CLK), line synchronization signal (HS), field synchronization signal (VS), data valid signal (DE) and other control signals, which are transmitted to the receiving card through the LVDS (Low Voltage Differential Signaling) level. After the data processing of the receiving card, it is transmitted to the Yun LED large screen with a specific drive structure (1/8 scanning mode, 74HC595 drive chip). The focus of this article is to introduce the data processing module of the receiving card.
3 Data Processing
The data processing flow is shown in Figure 2: The receiving card receives the video signal (control signal and data signal) transmitted by the sending card, separates the data in the video signal by bit plane, stores it in the external cache by field, and then reads it out by partition and transmits it to the display driver screen. The bit plane separation module recombines the same-weighted bits of different data into new data and stores it in the memory. The external cache uses two SRAM ping-pong cache technologies to realize pipeline processing of data. The principles and implementations of the bit plane separation module and field partition storage are introduced below.
3.1 Plane Separation Module
The grayscale control method adopted by the video display screen is a combination of field superposition and duty cycle, as shown in Table 1: Field superposition refers to the use of constant frequency scanning of different fields to achieve different grayscale levels, such as D7~D4 in Table 1; Duty cycle control refers to controlling the duty cycle of the lighting time and the off time to achieve grayscale adjustment, such as D3~D0 in Table 1. The premise of these two methods is to achieve bit plane separation of video data. Bit plane separation is implemented by FPGA, which includes two major modules, data shift register and data selector. The principle block diagram implemented by VHDL is shown in Figure 3, where r0-7, g0-7, and b0-7 are the red, green and blue colors of true color image data, respectively, occupying one byte. These 24-bit data lines are stored through an 8-bit wide data shift register, and then output to the external buffer through a color bit selector. Bit plane separation is achieved by controlling the address of the buffer. The data width of the external buffer is 24 bits, so that the three colors of RGB are separated in parallel. The shift register uses pipeline technology to shift in the same-weighted bit of the ninth data while latching and outputting the first eight data bits of equal weight, thus improving the efficiency of data processing.
3.2 Field and zone storage
After the data is separated by the bit plane, the same weight bits of different data form new data. By controlling the address of the memory, the same weight bits of all data in a frame are written in the same segment of the memory, so the write address generator has high requirements. The system requires 256 levels of grayscale, so the memory is divided into 8 segments, and each segment stores bits (fields) representing the same weight value. Among them, 8 segments are replaced by 3 (23) address lines. The large screen with a resolution of 800*256 has 256 rows and 800 columns, so the row address is represented by 8 (28) address lines. The first 5 bits of these 8 address lines are the area address (32 areas), and the last 3 bits are the row address of a area (1/8 scan). The column address is represented by 7 (27) address lines. Because the memory is 24 bits wide, one storage unit represents the same weight bits of 8 RGB points of the LED display screen. The order of priority from high to low is: field address> column address> row address. The three counters are cascaded to form the write address of the memory, and the connection method is: field address (A17-A15), area address (A14-A10), row address in the area (A9-A7), column address (A6-A0). It can be seen that field (8 fields) storage can be achieved by changing the priority of the memory address line.
Data is written into the memory in 8 fields, and is required to be read out in 19 fields when it is read out, and the display time of each field must be controlled. Therefore, when generating the field address counter of the read address, a 19-base counter counter19 (0 to 18) is designed first. Table 2 shows the relationship between counter19 and the field address counter: The display time of each field is realized by a comparator, and the grayscale and brightness can be flexibly corrected by changing the value in the comparator.
The LED display requires 32 zones to light up at the same time, using parallel data processing to reduce hardware consumption and system operating frequency. Increase the refresh rate. Since the memory can only read one data at a time, it is necessary to use partition latching and then output the 32 zone data in parallel.
The row address and column address have the same principle as the write address generator. Here we mainly introduce their priorities. The data is already separated in bit planes, so if you want to display 32 area data at the same time, the area address should have the highest priority, followed by the column address, then the row address, and finally the field address. The connection method with the memory is the same as the write address.
4 Simulation waveform
The simulation waveform of the bit plane separation module is shown in Figure 4: RGBdin[23..16] is the high eight bits of the input data, rgb_regroup_output[23..16] is the high eight bits of the output data, flag is the input data valid signal flag, and flag_delay85 is the output valid signal flag.
The waveform analysis is as follows:
The first 7 of the first 8 data of the input data are all 00h, and the 8th is 02h. After the 8 data are bit-separated, the output is shown in Table 3. It can be seen from Table 3 that the bit-separation realizes the reading from right to left after the first 8 data are transposed.
Figure 5 is the simulation waveform of the write address. It can be seen that the field address has the highest priority. When the field address is 7h, the column address is increased by 1, when the column address is 63h, the row address is increased by 1, and when the row address is 7h, the area address is increased by 1. Similarly, it can be seen that the carry order of the read address in Figure 6 is: when the area address is 1Fh, the column address is increased by 1, when the column address is 63h, the row address is increased by 1, and when the row address is 7h, the field address is counted according to the 19-field principle. When the row address is 7h in Figure 6, the field address is not increased by 1. Figure 7 is the duty cycle signal controlled by the field address counter. This signal is connected to the enable end of the row scanning signal of the display driver board, and the display time is controlled by controlling the scanning signal, thereby realizing the grayscale.
5 Conclusion
Aiming at the refresh speed and grayscale control problems encountered by the LED video display system, this paper proposes a field partition storage technology and introduces its principle and implementation in detail. Through waveform simulation and engineering application, this method solves the problems of image flicker and large brightness loss in the LED display control system, and its grayscale and brightness control can be flexibly corrected.
Previous article:A new method for detecting outdoor full-color LED display screens based on CCD
Next article:Repurposing waste energy-saving lamps into high-efficiency LED lamps
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- What is the effect of connecting 4 1 ohm resistors in series to the power line?
- DSP6678 NDK network configuration (UDP) points
- Share energy storage power supply energy storage inverter parameters
- 10 experiences summarized by veteran engineers, so beneficial
- NB-IoT and LoRa chip manufacturers
- HDMI to AHD Video Converter
- Texas Instruments: See how innovations in automation are changing the world
- Don't understand antennas? Check this out
- FAQ_How to determine the phase of the output PWM signal in BlueNRG-12
- Why is the ADS of some MCU's display-related pins analog and DIR input?