Design of large LED display system based on S3C4480X

Publisher:bln898Latest update time:2012-10-18 Source: 维库电子Keywords:S3C4480X  LED Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Large-scale LED display systems have been widely used in various indoor and outdoor occasions, but because they mostly use multi-machine systems, the system cost and the complexity of software and hardware design are increased. When a multi-machine system is working, it is essentially equivalent to a computer system with a high bus width. Its technical difficulties are as follows:

◆ There are tens of thousands of pixels on a large LED display screen. As the display area increases, the circuit structure also increases.

◆In order to ensure a certain display quality, the frame rate should be above 30 frames/s. For a 512×252 monochrome LED screen, the data transmission volume per second is at least 480 KB. For color screens and high-quality display occasions, the data transmission volume will increase by integer multiples.

◆When the LED screen is located outdoors, the communication between the upper and lower computers may be hundreds of meters or even thousands of meters, requiring fast and reliable communication.

In view of the above two technical difficulties, in order to use a single CPU system instead of a multi-machine system to control a large LED display system, the following coping strategies are adopted:

◆The large-scale LED screen is composed of universal display modules, which have good versatility and embeddability.

◆Using 16-bit parallel bus data transmission mode, to display the display module at the corresponding position, the column latch unit on the module can be accurately selected, so that the horizontally cascaded LED display modules can be regarded as a continuous

storage unit.

◆Using the DMA controller inside S3C44BOX for data transmission and control saves the CPU instruction fetching and translation time when using instructions to transmit data, as well as the software overhead of counting, comparing, jumping, etc. when using instructions to transmit data. This enables data transmission to be completed in continuous read and write operations, improving the speed and efficiency of data transmission.

1 Hardware structure and principle

Large-scale LED display systems are generally divided into two parts: the main control board and the display driver module.

1.1 Display module

Nowadays, large-scale LED display systems use the characteristics of human vision to adopt row-by-row scanning and column driving to save hardware costs. This system uses 1/16 row-by-row scanning, so the entire large LED screen is divided into 16 rows of the same name. The display module schematic is shown in Figure 1.

Display module schematic

Each display module is a 64×32 small dot matrix screen, divided into two parts, 16 rows in the upper and lower parts, and 8 groups of column data latches in each part. The upper and lower parts reuse a 4-16 decoder U1, which is driven to scan 1/16 row by row for display, and 16 groups of column drive latches are required to latch the column display data. When using the parallel bus data transmission method, a 4-16 decoder U2 is required to enable the column latch. When refreshing the dot matrix, two-level latches are required to latch the column display data, otherwise the display tailing phenomenon will occur. The data being displayed this time is stored in the second-level latch. The main control board refreshes the column data of the next row of data to be displayed by the first-level latch on the screen end. After the data to be displayed in the next row is transmitted, it is latched to the second-level latch output and driven to drive the next row of display. Using the parallel bus method, the second-level latch is still more economical than the solution of serial data transmission and then converted to parallel output.

When display modules are horizontally cascaded, the idea of ​​staggered cascading is used to make it versatile and embeddable. As shown in Figure 1, the strobe line will be staggered once when it reaches a level and passed to the next level, always making the first strobe line BLK_EN0 the enable control line of the first-level column latch decoder, so that n strobe lines can sequentially select n-level horizontal cascade modules. In this way, the same display modules can be used to arbitrarily combine into horizontally cascaded strip screens.

By using the idea of ​​staggered cascading, the decoder U2 of the first-level latch on the horizontally cascaded display module can be enabled in sequence, and the decoder can enable the first-level column data latch in sequence. In this way, the first-level column data latch on the horizontally cascaded screen can be regarded as a continuous storage unit, which is the basis for using DMA parallel data transmission control.

1.2 Interface design between main control circuit and LED screen

This display system uses S3C44BOX based on ARM7TDMI core and with internal DMA controller as the main controller, making it work in ARM state and use 16-bit bus. Since the LED screen is virtually regarded as a continuous storage unit, the address space 0x2000000~Ox4000000 is allocated to it.

The main control circuit and LED screen interface should be able to achieve the following functions:

◆Select the display module at any position and the first-level column data latch on the module. Accurately latch the dot matrix code to be displayed at the position, and after the data in the first-level column data latch is refreshed, latch the refreshed data into the second-level column data latch and output it.

◆Can control the strobe drive of one of the 16 rows of the same name for progressive scanning display.

◆Realize the logic level conversion from 3.3 V of main control chip to 5 V of LED screen.

The schematic diagram of the main control board and LED screen interface circuit is shown in Figure 2.

Schematic diagram of the main control board and LED screen interface circuit

The structure of a large LED screen can be divided into vertical cascade and horizontal cascade. This structure is similar to a three-dimensional array. Assume a three-dimensional array LED[i][j][k], where:

i=0, 1, 2,…, m represents the serial number of the vertical cascade level of the LED screen.

j=0, 1, 2,…, n represents the serial number of the horizontal cascade level of the LED screen.

k=0, 1, 2, ..., 16 represents the serial numbers of the 16 first-level column data latches on the display module.

&nbs

p; Since the system uses a 16-bit parallel bus data transmission method and regards the LED screen as a continuous storage unit, A[4:1] is used as the decoding input of the first-level column data latch decoder (U2 in Figure 1) on the display module, which is the k variable of the three-dimensional array; A[8:5] is used as the decoding input of the decoder (U7 in Figure 2) for selecting the horizontal cascade display module, which is the j variable of the three-dimensional array; Since the LED screen must have good flexibility, and because the technical requirements of the dot matrix code storage order are required for DMA data transmission, the vertical cascade level selection does not meet the conditions for using the address bus decoding selection, so the PG[2:0] of S3C44BOX is used as the decoding input of the vertical cascade level selection decoder, which is the i variable of the three-dimensional array.

Since the states on the address and data buses are constantly changing, the address and data signals should be latched when writing to the LED screen. U2, U3 and U4 are used on the main control board to latch the states of the address and data buses when writing to the LED. The LED screen is assigned the first address of Ox2000000. When writing to it, the nGCSl and nWE pins of the S3C44BOX will have an effective low level with a programmable control delay. nGCSl is used as the latch enable control signal of U2, U3 and U4 through a NOT gate to ensure that the signals on the address and data buses are latched only when the LED screen is accessed. nWE is used as the latch enable control signal of the first-level column data latch (U3~U19 in Figure 1) at the screen end through a NOT gate to ensure that the refresh data is latched only when it stably appears at the input end of the column data latch. PCI0 of S3C44BOX is used as the latch enable control signal line of the second-level latches (U20~U35 in Figure 1) of all screen ends; PC[3:O] of S3C44BOX is used as the decoding input of the 16-row driver decoder (U1 in Figure 1). Since the main control board only needs to control the output of the LED screen during data transmission and does not require signal feedback, the interface circuit uses a cheap 5V powered HCT circuit chip solution to meet the logic level conversion from the main control chip 3.3V to the LED screen 5V.

When DMA transfers data, the more concerned thing is the DMA write operation, the timing is shown in Figure 3. At t1, the DMA write operation starts, and the address and refresh data of the corresponding position of the LED screen appear on the address and data bus; at t2, the nGCS1 pin appears an effective low level, and the data on the address and data bus is latched into U2~U4 and output; at t3, the nWE pin appears an effective low level, and the output data of U2~U4 is latched into the first-level column data latch of the screen end and output. In this way, the main controller completes a column data refresh.

Timing

2 Software Design

2.1 LED screen display program design

Since the internal DMA controller of S3C4480X is used for data transmission and control, the display program is greatly simplified, and the program flow is shown in Figure 4. The transmission of the dot matrix code is completed by the DMA controller. It is only necessary to assign the first address of the dot matrix code, the first address of the LED screen and the value of the transmission data amount to the corresponding control word before starting the DMA data transmission, and then start the DMA operation. After completing the transmission of all the dot matrix codes of the same name row, the refreshed data is latched to the output of the second-level column data latch, and the same name row is driven to display. In this way, after 16 rows of the same name are displayed in a loop, a frame of dot matrix display is completed.


Program Flow

2.2 Dot Matrix Sorting

Due to the circuit structure of the LED display module and the use of 16-bit parallel bus and DMA data transmission technology, the order of dot matrix code during display needs to meet the following requirements:

① One data transmission on the 16-bit parallel bus, that is, one DMA write operation transmits two bytes of dot matrix code, and the low-order and high-order bytes are respectively sent to the same-name row and column data latches of two adjacent vertical cascade modules. Therefore, the same-name row and column dot matrix codes of adjacent vertical cascade modules should be stored continuously.

② Due to the decoding selection circuit structure of the first-level column data latch of the display module and the DMA data transmission requirements, the row dot matrix with the same name in the upper and lower parts of the same display module should be stored continuously in sequence according to the selection order of the column data latch.

&n

bsp; ③ A series of horizontal cascade levels of two adjacent vertical cascade levels should be arranged in dot matrix order according to principles ① and ②.

④ Each vertical cascade level is arranged in dot matrix code according to the principles of ①, ②, and ③.

⑤ In the 16-line scanning display mode, a large LED screen is divided into 16 rows of the same name, and each row of the same name is arranged in dot matrix according to the principles of ①, ②, ③, and ④.

Taking the data sorting of the first row of the same-named rows of a 128×64 dot matrix screen as an example, as shown in Figure 5, the storage order of the dot matrix codes of the first row of the same-named rows should be: a, b...z, A, B,...z...

128

3 Conclusion

The use of parallel bus DMA data transmission technology simplifies the software and hardware design of the LED display system, reduces system costs, and achieves good display quality. Under the system clock of 22.1184MHz, the display frame rate of 512×256 (8m2) monochrome dot matrix screen reaches 250Hz, and 1 byte is transmitted in an average of 120ns, achieving the purpose of using a single CPU system instead of a multi-machine system to control the LED display system. However, in order to enable the previous generation of display driver boards to still be used, the dot matrix code needs to be sorted, and can only be displayed in page mode when displayed, so a large-capacity memory is required when displaying multiple pages of dynamic scrolling. For a 512×256 monochrome dot matrix screen, a capacity of tens of megabytes is required. The use of 32-bit ARM7TDMl core advanced controller S3C44BOX and cheap large-capacity SDRAM memory can solve this problem well. If a display driver board designed for DMA control display is used for display, the dot matrix code does not need to be sorted, and a SRAM of hundreds of KB can meet the system requirements.

Keywords:S3C4480X  LED Reference address:Design of large LED display system based on S3C4480X

Previous article:Implementation of anti-electromagnetic interference characteristics for mobile phones, cameras, and LCD screens
Next article:Software implementation of smooth movement of LCD display

Recommended ReadingLatest update time:2024-11-16 15:34

Implementing Capacitive Proximity and Touch Interfaces in Low-Cost Line-Powered LED Lighting Designs
In recent months, there has been a trend towards integrating capacitive touch user interfaces and capacitive proximity detection user interfaces into lighting applications. The simplicity of the interface, the ability to use irregularly shaped sensors, and the ability to seal the user interface are all features that
[Embedded]
Implementing Capacitive Proximity and Touch Interfaces in Low-Cost Line-Powered LED Lighting Designs
NIKO dimmable PFC LED is designed for driving LED bulbs and tubes
In LED lighting applications, in LED driver circuits powered by AC-DC power supplies, isolated topologies and non-isolated topologies are common. These two topologies have their own characteristics. In comparison, the advantages of non-isolated topologies include smaller magnetic components, higher energy efficiency,
[Power Management]
NIKO dimmable PFC LED is designed for driving LED bulbs and tubes
China has developed the world's highest power LED light source and mastered packaging technology
The Micro-Opto-Electromechanical Systems Research Department of Wuhan National Laboratory for Optoelectronics (under preparation) and the School of Energy of Huazhong University of Science and Technology have cooperated to package the world's highest-power LED light source and developed a packaging technology with
[Power Management]
Causes of Heat Dissipation Failure in LED Lighting Design
The reason why LED light sources generate heat is the non-quantum recombination of carriers in the LED chip. The heat generated by the PN junction of the LED must first be conducted outward through the semiconductor material of the chip itself to the surface of the chip, which has a certain thermal resistance. From th
[Power Management]
Introduction to LED epitaxial wafers and methods for identifying quality
The production process of epitaxial wafers is very complicated. After the epitaxial wafers are developed, nine points are randomly selected from each epitaxial wafer for testing. The ones that meet the requirements are good products, and the others are defective products (large voltage deviation, short or long wavel
[Power Management]
DIY: Design LED handwriting screen based on PIC16F877A microcontroller
The signal is compared by the amplifier LM324 and sent to the microcontroller for processing. The 32×32 dot matrix display module and driver module are composed of 74HC595 peripheral driver array and 8-bit serial input/output shift register ULN2803A. The light pen scans the display screen to find the coordinate value.
[Power Management]
DIY: Design LED handwriting screen based on PIC16F877A microcontroller
Research and design of LED constant current drive circuit
1 Introduction In recent years, the application of LED display screens has developed rapidly, promoting the progress of LED driver ICs. Based on the high reliability of LEDs and the consistency of brightness and color, LEDs are usually driven with constant current. There are three main design points for th
[Power Management]
Research and design of LED constant current drive circuit
Linear Technology releases DC/DC converter for 3-output LED drivers
Linear Technology releases DC/DC converter for 3-output LED drivers Linear Technology Corporation introduces the LT3492, a 2.1MHz DC/DC converter designed to operate as a 3-channel constant current LED driver. Each of the LT3492's 3 channels can drive up to 10 300mA LEDs in series, enabling it to drive up t
[Analog Electronics]
Linear Technology releases DC/DC converter for 3-output LED drivers
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号