Design of LED display screen control circuit using CPLD

Publisher:古古斋Latest update time:2011-06-25 Source: 中国LED网Keywords:CPLD  LED  display Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In recent years, with the rapid development of computer technology and integrated circuit technology, the most widely used large-screen display system is the video LED display system. In LED display technology, the brightness, light effect and color difference of red and green light-emitting diodes have been greatly improved. In addition, with the development of computer multimedia production software, the manufacturing cost of pseudo-color video LED display systems has been greatly reduced, and the application field has been increasing. This pseudo-color video LED display system uses computer multimedia technology to display video images in full synchronization and dynamic mode. The image is clear, the brightness is high, and there is no seam. The grayscale level of each color video has increased from the early 16 grayscale to the current 256 grayscale. With the development of large-scale integrated circuits and special components, a full-color video LED display system with 256 grayscale levels may be realized at any time.

LED electronic display technology has developed rapidly and has become one of the leading technologies in today's flat panel display field.

This article focuses on designing the control circuit of the LED display using M4A5-128P64-10VC.

1 Composition of LED display

In the LED display system, the dot matrix structure unit is its basic structure. Each display driver unit is composed of several 8×8 dot matrix LED display modules. Multiple display driver boards are assembled together to form a display screen of several square meters, which can be used to display various texts and images. The LED display screen includes computer video acquisition circuit, control circuit, drive circuit and power supply, as shown in Figure 1.

 Video LED display system structure diagram

The LED display has two primary colors, red and green, with 256 gray levels for each primary color. The pixel pitch is 7.62mm, and the pixels can reach 1024 dots in the horizontal direction and 768 dots in the vertical direction.

2 LED electronic display features

The LED display screen is composed of several display units. Its display method adopts the principle of mapping LED dot matrix with computer display screen, that is, one pixel of LED dot matrix corresponds to one pixel of computer display screen. For example, the picture on the computer screen is divided into 640 columns and 480 rows according to the resolution, that is, 640×480 dot matrix units on the LED display screen. Each dot matrix unit includes three kinds of light-emitting diodes: red, green and blue. These three kinds of light-emitting diodes emit three kinds of colors of light, and after mixing, they get the color perceived by human eyes. According to the principle of optical three primary colors, we only collect the image of each point on the computer screen, digitize it and decompose it into three kinds of signals: red, green and blue. After system processing, it is transmitted to the dot matrix unit on the LED dot matrix screen, and the light-emitting diodes of corresponding colors are driven respectively, thus realizing the mapping of computer screen on LED dot matrix screen.

3 LED electronic display driving principle

In most LED display systems, a refresh drive method is used, that is, data is latched in the column direction for each LED display driver unit and scanned in the row direction. According to the LED display driver board structure, a 1P16 scan duty cycle is used.

The LED display driver board driver circuit we designed uses two 74HC595 chips to form a 4:16 line decoder, which provides the line signal required by the entire scanning circuit. At the same time, the 74HC595 chip is also used as a serial shift register, which shifts the serial data from the system into parallel signal output. In this way, the driver column needs to provide a serial shift clock, a parallel lock-in signal and an output enable signal. The line scan requires serial data input and a serial shift clock signal, as shown in Figure 2. Therefore, we need to design a timing control circuit.

Dot matrix drive circuit schematic diagram

4 Conclusion

M4A5-128P64-10VC is a CPLD device produced by Lattice, with 128 macro units and 64 IPO pins. Lattice's development software ispDesignEXPERT integrates all the work of design input, compilation, verification and programming. First, design input is done, and you can directly draw the schematic diagram or program in VHDL language. We need to get a 100KHz signal from a 10MHz clock source. Use VHDL language to write a file named F100K.HDL in the VHDLMODULE text editor as follows:

After the design file is entered, it is compiled, and the user can adjust the pin assignment. After the compilation is passed, the chip can be programmed. Use the Byte-Blaster download cable to connect the computer parallel port to the JTAG socket on the PCB, and program the installed chip after power is turned on.

Practice shows that the circuit designed with M4A5-128P64-10VC produced by Lattice has met the design requirements.

Keywords:CPLD  LED  display Reference address:Design of LED display screen control circuit using CPLD

Previous article:Analysis of the contrast ratio of outdoor LED display
Next article:Design of a 16-bit constant current driver chip for a color LED display

Recommended ReadingLatest update time:2024-11-16 22:31

LED soft light power supply classification
  LED soft light strips require different power supplies depending on the model. How much do you know about power supplies? Do you know the types of power supplies required for LED soft light strips and their different meanings? Today I will tell you about the classification of power supplies for LED soft light stri
[Power Management]
Use the STC15W408AS microcontroller I/O port to light up the LED
The STC15W408AS microcontroller has 14 I/O ports. All its I/O ports can be configured into 4 types by software. The 4 types are: quasi-bidirectional port/weak pull-up (standard 8051 output mode), push-pull output/strong pull-up, high-impedance input (current can neither flow in nor flow out) or open-drain output funct
[Microcontroller]
Use the STC15W408AS microcontroller I/O port to light up the LED
The first bare-metal program for mini2440 - Light up the LED
After leaving my Mini2440 unused for two and a half years, I decided to take it out again and try to learn embedded Linux again. I used the Mini2440 development board from Friendly Arm, Wei Dongshan's "Embedded Linux Application Development Complete Manual" and its video tutorial. Therefore, all the software involve
[Microcontroller]
The first bare-metal program for mini2440 - Light up the LED
LED Chip on Board (COB) Packaging Process
The LED chip on board (COB) packaging process first covers the silicon wafer placement point on the substrate surface with thermally conductive epoxy resin (usually epoxy resin doped with silver particles), then directly places the silicon wafer on the substrate surface, heat treats until the silicon
[Power Management]
[Brief Analysis] Tips for protecting LED circuits
 We all know that LED is a voltage-sensitive device. In actual operation, its upper limit is 20mA. However, due to various reasons in use, the current often increases. If no protective measures are taken at this time, the LED will be damaged after the increased current exceeds a certain time and amplitude. Let's fir
[Power Management]
Analysis of non-isolated buck switch power supply circuit for LED lighting
In LED lighting applications, non-isolated BUCK switching power supplies are favored by many customers due to their high efficiency, and they occupy a part of the market share. Represented by SN3910, there are a series of ICs with similar functions on the market, such as BP2808, SMD802, AM850, SN3910, etc. In terms
[Power Management]
ROHM's LED driver IC solutions are essential for lighting LED lights in the automotive field
1. Introduction Automotive technology is undergoing a major transformation. For example, it is a well-known fact that electronic components enable the safety features and sensing functions required for autonomous driving technology. The exterior lights of cars, represented by headlights and taillight
[Embedded]
ROHM's LED driver IC solutions are essential for lighting LED lights in the automotive field
High Efficiency 3.6W Isolated LED Driver Based on LNK605DG
Overview This article introduces a high-efficiency LED driver that can provide 12 V output voltage and 0.3 A output current in the input voltage range of 90 VAC to 265 VAC. The LED driver uses the LNK605DG device in the LinkSwitch-II series IC of Power Integrations. The topology used in this device is an isolated
[Power Management]
High Efficiency 3.6W Isolated LED Driver Based on LNK605DG
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号