Color LED Large Screen Control System Based on FPGA

Publisher:cloudsousou6Latest update time:2011-08-12 Source: 维库电子Keywords:FPGA  LED Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
As an important medium for modern information release, LED (Light Emitting Diode) large screens are receiving great attention from all walks of life, especially the business and advertising circles. With the advancement of science and technology, full-color LED display screens (RGB three primary colors) are gradually becoming popular. LED large screens are the development trend of the advertising industry in the 21st century. They are indoor and outdoor advertising display equipment with audio and video functions, and are internationally leading high-tech products. Not only are they novel and unique in appearance, their area can be adjusted at will, they can play audio and video advertising programs, and fixed light box advertising spaces can be installed on all four sides. Now local governments are encouraging the use of outdoor LED large screens and gradually canceling the approval of canvas advertisements and light box advertisements.

This solution uses ActEL's FPGA to control the color LED screen, which greatly enhances the reliability of the system, and the low-cost single chip greatly reduces the cost of the system.

1. Overview

1.1 Functional Overview

The selection of FPGA to realize the control of LED full-color screen mainly considers the system performance requirements, system upgrade needs and system design costs. The high requirements of modern society for information display effects and the increase in video data volume have posed challenges to the display controller, as shown in Figure 1. The LED full-color screen implemented in this article mainly realizes the following functions:

● Ensure that the full-color LED display does not display color distortion;

● Able to achieve 256 levels of grayscale;

● Able to correctly display text, pictures, animations and other information;

● Can receive DVI data stream output from PC and display it in real time.

Figure 1 LED display application example

1.2 System Block Diagram

The controller mainly completes the control and display of the LED scanning board, including color control, grayscale control, data reconstruction, storage form, scanning method selection, etc. The functional block diagram of the controller is shown in Figure 2.

Figure 2 LED display controller functional block diagram

2. Introduction of each functional module

The main difficulty in implementing the controller lies in its grayscale control. Using the visual effect of the human eye, we know that as long as the refresh frequency is high enough to prevent the LED device from flickering, the longer the LED device is on, the brighter the display will be. For this reason, we will use the duty cycle waveform of the LED device on and off time to control the grayscale level. Below we will introduce the grayscale control in 8-field scanning and 19-field scanning modes respectively.

2.1 8-field scanning module

The 8-field scanning method is proposed for serial drive LED display screens. For the most common 8-bit width display data, we display it 8 times. The first time, the 0th bit of the 8-bit data is displayed on the LED screen, and the second time, the 1st bit of the 8-bit data is displayed on the LED screen. Repeat this operation until all 8 bits of data are displayed on the LED screen. As long as the scanning frequency is high enough, the effects of the 8 displays are superimposed to obtain a complete data display effect. We call the lighting of the same data point corresponding to all the pixels of an LED dot matrix screen a field. 8 fields are required to display 8 bits of data. This method is called "8-field scanning".

In the "8-field scanning" mode, the lighting time corresponding to each data bit is shown as follows. Let the time for scanning a row be T. As can be seen from Table 1, the lighting efficiency of this mode is relatively low.

Table 1 Data corresponding to lighting time

Based on the above 8-field scanning method, as shown in Figure 3, we correspond each of the 8-field scanning to a fixed duty cycle signal to control the on and off of the LED device. From the analysis, we can see that the weight of each bit of 8-bit data: 1, 2, 4, 8, 16, 32, 64, 128, is the duty cycle factor corresponding to each field, and the duty cycle of each field is: 1/256, 2/256, 4/256, 8/256, 16/256, 32/256, 64/256, 128/256. The complete duty cycle value of a pixel is equal to the sum of the product of each bit of 0/1 data and the corresponding weight. Calculation shows that this ratio is exactly from 00 to FF, which constitutes 256 gray levels.

Figure 3 Data bit grayscale weight

2.2 19-field scanning module

Based on the "8-field scanning" introduced in the previous section, we know that the serious disadvantage of 8-field scanning is the low lighting efficiency. Therefore, as a functional improvement of the controller, we designed the "19-field scanning" method, which continues the idea of ​​serial drive and only makes some changes in the data bit reading.

As shown in Figure 4, it can be seen that the principle of the 19-field design is to display the high bit of the data several times in succession to increase the display brightness of the data. The 19-field scan of the lower 5 bits of data is the same as the 8-field scan, but the 5th bit is read twice in succession, the 6th bit is read 4 times in succession, and the 7th bit is read 8 times in succession.

Figure 4 Bit address of 8-field scan and 19-field scan

At the same time, it is important to note that when changing the number of times a data bit is displayed, the duty cycle value should not change its color.

The calculation proves that the number of times each data bit is read in the 19-field scanning mode is reasonable. The grayscale control of 19-field scanning is based on the same principle as that of 8-field grayscale control. In the 19-field scanning mode, although an 8-bit data is displayed 19 times in total, the data bits are still scanned from bit 0 to bit 7, so as long as the corresponding duty cycle signal is loaded to the fixed data bit to control its grayscale display, it can meet the requirements.

2.3 Controller Clock Tree Design

Because the controller in this article combines two scanning modes, and the working frequency of each scanning mode is different, the entire controller involves more working frequencies, that is, there are many cross-clock domain working phenomena, as shown in Figure 5, here we make full use of the FPGA's timing logic resources. Actel FPGA has a very rich clock network. In addition to the global clock network, it also has a segmented wiring structure inside, which can make the FPGA have up to 252 clocks inside.

Figure 5 System clock domain distribution diagram

In addition, since the data that the controller needs to process is relatively large, according to the design concept of FPGA, ping-pong operation is used to store data to improve the data processing speed. In terms of data source, the controller can display static images stored internally or external input data. When processing data transmitted from the previous system, the data interface problem is involved. According to the interface processing design concept of FPGA, FIFO is used as the data interface to achieve data synchronization.

3. Market Application

LED displays are already very common in information dissemination situations and are widely used in industries such as industry, transportation, commerce, advertising, finance, sports competitions, simulated military exercises, and electronic landscapes, as shown in Figure 6. As the demand for quality of life becomes higher and higher, LED displays can also be used for interior decoration, exhibition hall displays, etc. In the future, the application of LED displays will become more and more extensive, and the application of Actel's FPGA can provide the best solution for LED controllers.

Figure 6 LED display application example

Keywords:FPGA  LED Reference address:Color LED Large Screen Control System Based on FPGA

Previous article:Overview of LED's past, present and future and its driving
Next article:Research on technical requirements of switching power supply for LED lighting

Recommended ReadingLatest update time:2024-11-16 16:49

A brief analysis of the development trend of "isolated drive power supply" in the field of LED power supply
  LED lighting power supply designs are divided into non-isolated designs and isolated designs. An LED driver power supply with an isolation transformer or electrical isolation means that the LED can be touched directly by hand without electric shock. Although an LED driver power supply without an isolation tra
[Power Management]
Share: The difference between different LED driver power supplies in different applications
1 Introduction to the principle of distributed constant current drive In the past incandescent lamp and energy-saving lamp markets, the mainstream lamp models with limited specifications formed by large companies are difficult for LEDs to continue to comply with. LEDs have their application flexibility and will bring
[Power Management]
Share: The difference between different LED driver power supplies in different applications
STM32 Getting Started with LED Control
Why should we learn STM32?     STM32 is a 32-bit microcontroller but it only costs the price of an 8-bit microcontroller and its speed is several times that of an 8-bit microcontroller.     More importantly, it is easy to master as an entry-level ARM chip, and there is a lot of information online, and many people ar
[Microcontroller]
LED level indicator circuit designed by LM324
This article introduces two LED level indicator circuits made with LM324 . LED level indicators are often used to indicate output levels in audio circuits and power amplifier circuits. LM324 is a quad op amp integrated circuit. 1. The first LED level indicator introduced is with an adjustable gain amplifier stage, whi
[Power Management]
LED level indicator circuit designed by LM324
Implementation of Network Data Encryption Based on CycloneII and MSP430
1 Introduction With the development of information technology and networking, network communication security issues are becoming increasingly prominent. Field Programmable Gate Array (FPGA) is widely used in the field of encryption due to its flexible design and high reliability. The encryption algorithm im
[Embedded]
Implementation of Network Data Encryption Based on CycloneII and MSP430
A three-primary color LED driving principle and application IC circuit design scheme
Three primary colors composition In three-primary color design applications, white balance and the maximum desired brightness value are usually achieved by adjusting the set LED current. We generally use the simplest and most optimized color matching method as the color reproduction method for designing full-color d
[Power Management]
A three-primary color LED driving principle and application IC circuit design scheme
The latest LED heat dissipation design: maximizing the avoidance of heat dissipation system energy loss
The LED chips in LED lamps are electronic components with high heat flux density. During operation, they generate a large amount of excess heat due to their static and dynamic losses, which is dissipated to the outside through the heat dissipation system to maintain the stability of their operating temperature. At p
[Power Management]
The latest LED heat dissipation design: maximizing the avoidance of heat dissipation system energy loss
A high-speed frame synchronization and phase ambiguity estimation method and its FPGA implementation
0 Introduction The digital message stream in digital communication always uses several code elements to form a "word", and several "words" to form a "sentence". Therefore, when receiving these digital streams, it is also necessary to know the start and end times of these "words" and "sentences", and generate a
[Embedded]
A high-speed frame synchronization and phase ambiguity estimation method and its FPGA implementation
Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号