CN103680402B - A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof - Google Patents
A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof Download PDFInfo
- Publication number
- CN103680402B CN103680402B CN201310411143.7A CN201310411143A CN103680402B CN 103680402 B CN103680402 B CN 103680402B CN 201310411143 A CN201310411143 A CN 201310411143A CN 103680402 B CN103680402 B CN 103680402B
- Authority
- CN
- China
- Prior art keywords
- memory
- ddr2
- leon3
- image
- image data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Control Of El Displays (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU, it comprises embedded unit, logic control element and LED display, the input end of embedded unit andlogic control unit connects, and the output terminal of logic control element is connected with LED display; The FLASH memory, image data acquiring module and the DDR2 first memory that are provided with LEON3 soft nucleus CPU in embedded unit and are electrically connected with LEON3 soft nucleus CPU respectively, DDR2 first memory is electrically connected with image data acquiring module; The splicing of many image-regions control module, image data processing module, LED turntable driving module and DDR2 second memory is provided with in logic control element, many image-region splicing control modules are electrically connected with DDR2 second memory, image data processing module respectively, and DDR2 second memory is electrically connected with LED turntable driving module, image data processing module respectively.The present invention adopts LEON3 soft nucleus CPU to deal with device, arranges DDR2 first memory, DDR2 second memory in embedded unit and logic control element respectively, has low-power consumption, low cost, high performance feature.
Description
technical fieldthe present invention relates to a kind of LED display control technology, particularly relate to a kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU.
background technologyalong with the development of LED display technology, particularly door head screen are in the application in the place such as shop, bank, user is more and more higher to the function of LED display, cost requirement.Existing low cost asynchronous display control system mostly is the display control program without gray scale, and has the display control program of gray scale mostly to be embedded system to export HDMI or LVDS signal and carry out scanning to FPGA and show, and cost is high, complex structure.
Be 201010125460 in the patent No., a kind of asynchronous control system is disclosed in the patent of invention that patent name is " the LED giant-screen asynchronous control system based on the soft nuclear technology of Microblaze ", its principal feature is that use 2 Microblaze soft nucleus CPUs and scan logic module share blocks of outer DDR2 storer, the method is owing to adopting internal memory sharing mode, the memory access ability of real-time high bandwidth cannot be provided, therefore poor effect in the display image data that full-color, the larger band section of process is long-pending for logic module.Meanwhile, the impact being subject to FPGA platform based on the soft nuclear technology of Microblaze that this system adopts causes its portability lower, is not easy to carry out good control to cost.
summary of the inventionthe object of this invention is to provide a kind of low cost, low-power consumption, the high performance asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU.
For achieving the above object, a kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU of the present invention, it comprises embedded unit, logic control element and LED display, the input end of embedded unit andlogic control unit connects, and the output terminal of logic control element is connected with LED display; The FLASH memory, image data acquiring module and the DDR2 first memory that are provided with LEON3 soft nucleus CPU in embedded unit and are electrically connected with LEON3 soft nucleus CPU respectively, another output terminal of DDR2 first memory and image data acquiring model calling; The splicing of many image-regions control module, image data processing module, LED turntable driving module and DDR2 second memory is provided with in logic control element, many image-region splicing control modules are connected with the input end of DDR2 second memory, the input end of image data processing module respectively, the output terminal of DDR2 second memory is connected with the input end of LED turntable driving module, and DDR2 second memory is electrically connected with image data processing module.
Described LEON3 soft nucleus CPU is electrically connected with FLASH memory, image data acquiring module, DDR2 first memory respectively by ahb bus.
Described and many image-regions are spliced control module and are electrically connected with image data processing module, DDR2 second memory respectively by Wishbone bus.
Described DDR2 second memory is electrically connected with image data processing module, LED turntable driving module respectively by Wishbone bus.
The output terminal of described LED turntable driving module is connected with LED display.
Many image-region splicing control modules of described logic control element are electrically connected with the image data acquiring module of embedded unit.
The invention provides the method for the described asynchronous all-colour LED display and control based on LEON3 soft nucleus CPU, the method comprises the following steps:
1) by territory, picture portion to be played, and by image to be played stored in FLASH memory;
2) LEON3 soft nucleus CPU creates the management thread of respective numbers according to the image-region quantity in playlist, current thread loads image to be played by FLASH memory, image decoding to be played is view data by LEON3 soft nucleus CPU, then view data is write in DDR2 first memory;
3) after image decoding to be played, LEON3 soft nucleus CPU carries out special effect processing to decoded view data, in special effect processing process, LEON3 soft nucleus CPU first calculates the permutation and combination of decoded view data in different images region according to the special efficacy algorithm set in playlist, again the order of permutation and combination is converted to and reads instruction, simultaneously, to needing the region of filling black in image, LEON3 soft nucleus CPU directly generates black pixel point and fills instruction, then black pixel point is filled instruction and read instruction to be sent to image data acquiring module;
4) after image data acquiring module receives and reads instruction and black pixel point filling instruction, according to reading instruction, from DDR2 first memory, the view data in different images region is read by the order of permutation and combination, the described view data read out by permutation and combination order is the view data after special effect processing, and automatically generate corresponding black picture element dot information according to black pixel point filling instruction, then the view data after special effect processing and black picture element dot information are sent to many image-regions splicing control module;
5) many image-region splicing control modules are according to the configuration parameter of different images region in whole LED screen, black picture element dot information image data acquiring module sent writes in DDR2 second memory together with the view data after special effect processing, after writing last the pixel information in last region, the view data of whole LED screen is all stored in DDR2 second memory, and many image-region splicing control modules send a signal to image data processing module;
6) after image data processing module receives signal, from DDR2 second memory, sequentially read the view data of whole LED screen according to the configuration parameter of image after special effect processing, and after Gamma correction, pointwise correction process by the image information piecemeal of different gray shade scale stored in DDR2 second memory;
7) LED turntable driving module exports LED display to show according to the real-time image information reading the whole LED screen after step 6) process from DDR2 second memory of the scanning refreshing frequency preset.
In the present invention, DDR2 first memory port is electrically connected with LEON3 soft nucleus CPU, another output terminal and image data acquiring model calling, when image data acquiring module reads the view data in DDR2 first memory without the need to taking bus, other modules still normally can use bus in the process.
In described step 3), LEON3 soft nucleus CPU is only responsible for generating black pixel point and is filled instruction and read instruction, does not carry out read-write operation, greatly reduces taking ahb bus in image special effect processing procedure, improve the work efficiency of system to DDR2 first memory.
In described step 4), image data acquiring module fills instruction according to the black pixel point received can generate corresponding black picture element dot information automatically, unlike LED asynchronous display control system equally to read out black picture element dot information from storer, improve data transmission speed.
The present invention adopts low cost, high performance LEON3 soft nucleus CPU is as flush bonding processor, DDR2 first memory is set in embedded unit, DDR2 second memory is set in logic control element, each units shared one piece of DDR2 storer compared to existing technology, the present invention can ensure that embedded unit and logic control element are to the performance requirement of storer, make logic control element can carry out read-write operation to DDR2 second memory in real time, can process full-color, the LED display view data that larger band section is long-pending, simultaneously, the system that to decrease in image special effect processing procedure is to the utilization rate of bus, improve the process of view data, transfer rate, reduce the cost of control system.In a word, whole LED display control program has the feature of low-power consumption, low cost, high-performance and high reliability.
accompanying drawing explanationbelow in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail:
Fig. 1 is the general frame of system of the present invention;
Fig. 2 is the concrete block diagram of system of the present invention.
Embodiment
As shown in Figure 1 to Figure 2, a kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU of the present invention, it comprises embedded unit 1, logic control element 2 and LED display 3, the input end of embedded unit 1 andlogic control unit 2 connects, and the output terminal of logic control element 2 is connected with LED display 3; LEON3 soft nucleus CPU 11 is provided with and the FLASH memory 12 be electrically connected with LEON3 soft nucleus CPU 11 respectively, image data acquiring module 13 and another output terminal of DDR2 first memory 14, DDR2 first memory 14 are connected with image data acquiring module 13 in embedded Unit 1; The splicing of many image-regions control module 21, image data processing module 22, LED turntable driving module 23 and DDR2 second memory 24 is provided with in logic control element 2, many image-region splicing control modules 21 are connected with the input end of DDR2 second memory 24, the input end of image data processing module 22 respectively, the output terminal of DDR2 second memory 24 is connected with the input end of LED turntable driving module 23, and DDR2 second memory 24 is electrically connected with image data processing module 22.
Described LEON3 soft nucleus CPU 11 is electrically connected with FLASH memory 12, image data acquiring module 13, DDR2 first memory 14 respectively by ahb bus.
Described and many image-regions are spliced control module 21 and are electrically connected with image data processing module 22, DDR2 second memory 24 respectively by Wishbone bus.
Described DDR2 second memory 24 is electrically connected with image data processing module 22, LED turntable driving module 23 respectively by Wishbone bus.
The output terminal of described LED turntable driving module 23 is connected with LED display 3.
Many image-region splicing control modules 21 of described logic control element 2 are electrically connected with the image data acquiring module 13 of embedded unit 1.
The invention provides the method for the described asynchronous all-colour LED display and control based on LEON3 soft nucleus CPU, the method comprises the following steps:
1) by territory, picture portion to be played, and by image to be played stored in FLASH memory 12;
2) LEON3 soft nucleus CPU 11 creates the management thread of respective numbers according to the image-region quantity in playlist, current thread loads image to be played by FLASH memory 12, image decoding to be played is view data by LEON3 soft nucleus CPU 11, then view data is write in DDR2 first memory 14;
3) after image decoding to be played, LEON3 soft nucleus CPU 11 carries out special effect processing to decoded view data, in special effect processing process, LEON3 soft nucleus CPU 11 first calculates the permutation and combination of decoded view data in different images region according to the special efficacy algorithm set in playlist, again the order of permutation and combination is converted to and reads instruction, simultaneously, to needing the region of filling black in image, LEON3 soft nucleus CPU 11 directly generates black pixel point and fills instruction, then black pixel point is filled instruction and read instruction to be sent to image data acquiring module 13;
4) after image data acquiring module 13 receives and reads instruction and black pixel point filling instruction, according to reading instruction, from DDR2 first memory 14, the view data in different images region is read by the order of permutation and combination, the described view data read out by permutation and combination order is the view data after special effect processing, and automatically generate corresponding black picture element dot information according to black pixel point filling instruction, then the view data after special effect processing and black picture element dot information are sent to many image-regions splicing control module 21;
5) many image-region splicing control modules 21 are according to the configuration parameter of different images region in whole LED screen, black picture element dot information image data acquiring module 13 sent writes in DDR2 second memory 24 together with the view data after special effect processing, after writing last the pixel information in last region, the view data of whole LED screen is all stored in DDR2 second memory 24, and many image-region splicing control modules 21 send a signal to image data processing module 22;
6) after image data processing module 22 receives signal, from DDR2 second memory 24, sequentially read the view data of whole LED screen according to the configuration parameter of image after special effect processing, and after Gamma correction, pointwise correction process by the image information piecemeal of different gray shade scale stored in DDR2 second memory 24;
7) LED turntable driving module 23 exports LED display 3 to show according to the real-time image information reading the whole LED screen after step 6) process from DDR2 second memory 24 of the scanning refreshing frequency preset.
Claims (5)
1. the asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU, it is characterized in that: it comprises embedded unit, logic control element and LED display, the FLASH memory, image data acquiring module and the DDR2 first memory that are provided with LEON3 soft nucleus CPU in described embedded unit and are electrically connected with LEON3 soft nucleus CPU respectively, another output terminal of DDR2 first memory and image data acquiring model calling, many image-regions splicing control module is provided with in described logic control element, image data processing module, LED turntable driving module and DDR2 second memory, many image-regions splicing control module respectively with the input end of DDR2 second memory, the input end of image data processing module connects, DDR2 second memory is electrically connected with image data processing module, the output terminal of DDR2 second memory is connected with the input end of LED turntable driving module, the image data acquiring module of described embedded unit is spliced control module with many image-regions of described logic control element and is electrically connected, the output terminal of the LED turntable driving module of described logic control element is electrically connected with LED display.
2. the asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU according to claim 1, is characterized in that: described LEON3 soft nucleus CPU is electrically connected with FLASH memory, image data acquiring module, DDR2 first memory respectively by ahb bus.
3. the asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU according to claim 1, is characterized in that: described many image-region splicing control modules are electrically connected with image data processing module, DDR2 second memory respectively by Wishbone bus.
4. the asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU according to claim 1, is characterized in that: described DDR2 second memory is electrically connected with image data processing module, LED turntable driving module respectively by Wishbone bus.
5. the method for the asynchronous all-colour LED display and control based on LEON3 soft nucleus CPU as described in one of claim 1-4, is characterized in that: the method comprises the following steps:
1) by territory, picture portion to be played, and by image to be played stored in FLASH memory;
2) LEON3 soft nucleus CPU creates the management thread of respective numbers according to the image-region quantity in playlist, current thread loads image to be played by FLASH memory, image decoding to be played is view data by LEON3 soft nucleus CPU, then view data is write in DDR2 first memory;
3) after image decoding to be played, LEON3 soft nucleus CPU carries out special effect processing to decoded view data, in special effect processing process, LEON3 soft nucleus CPU first calculates the permutation and combination of decoded view data in different images region according to the special efficacy algorithm set in playlist, again the order of permutation and combination is converted to and reads instruction, simultaneously, to needing the region of filling black in image, LEON3 soft nucleus CPU directly generates black pixel point and fills instruction, then black pixel point is filled instruction and read instruction to be sent to image data acquiring module;
4) after image data acquiring module receives and reads instruction and black pixel point filling instruction, according to reading instruction, from DDR2 first memory, the view data in different images region is read by the order of permutation and combination, the described view data read out by permutation and combination order is the view data after special effect processing, and automatically generate corresponding black picture element dot information according to black pixel point filling instruction, then the view data after special effect processing and black picture element dot information are sent to many image-regions splicing control module;
5) many image-region splicing control modules are according to the configuration parameter of different images region in whole LED screen, black picture element dot information image data acquiring module sent writes in DDR2 second memory together with the view data after special effect processing, after writing last the pixel information in last region, the view data of whole LED screen is all stored in DDR2 second memory, and many image-region splicing control modules send a signal to image data processing module;
6) after image data processing module receives signal, from DDR2 second memory, sequentially read the view data of whole LED screen according to the configuration parameter of image after special effect processing, and after Gamma correction, pointwise correction process by the image information piecemeal of different gray shade scale stored in DDR2 second memory;
7) LED turntable driving module exports LED display to show according to the real-time image information reading the whole LED screen after step 6) process from DDR2 second memory of the scanning refreshing frequency preset.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310411143.7A CN103680402B (en) | 2013-09-11 | 2013-09-11 | A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310411143.7A CN103680402B (en) | 2013-09-11 | 2013-09-11 | A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103680402A CN103680402A (en) | 2014-03-26 |
CN103680402B true CN103680402B (en) | 2015-12-23 |
Family
ID=50317776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310411143.7A Expired - Fee Related CN103680402B (en) | 2013-09-11 | 2013-09-11 | A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103680402B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109743515B (en) * | 2018-11-27 | 2021-09-03 | 中国船舶重工集团公司第七0九研究所 | Asynchronous video fusion and superposition system and method based on soft core platform |
US11955056B2 (en) | 2019-07-30 | 2024-04-09 | Xi'an Novastar Tech Co., Ltd. | Splitter, LED display system, method for configuring display screen |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003308061A (en) * | 2002-04-15 | 2003-10-31 | Sanyo Electric Co Ltd | Picture display device |
KR100513140B1 (en) * | 2005-06-20 | 2005-09-07 | 주식회사 누리플랜 | Method and apparatus for controlling full color illumination of led |
CN101515436A (en) * | 2008-12-25 | 2009-08-26 | 西安青松科技股份有限公司 | Embedded LED display screen control system |
CN102194403A (en) * | 2010-03-17 | 2011-09-21 | 上海仰邦软件科技有限公司 | Microblaze soft core technology-based LED (Light Emitting Diode) large-screen asynchronous control system |
CN202102691U (en) * | 2011-06-13 | 2012-01-04 | 南京德普达电子技术有限公司 | Embedded LED display screen full-color synchronization playing apparatus |
CN202502713U (en) * | 2012-01-12 | 2012-10-24 | 上海灵信信息科技有限公司 | LED display screen controller based on SOPC |
CN102903334A (en) * | 2012-11-13 | 2013-01-30 | 河南工业大学 | Full color LED (Light-Emitting Diode) display screen |
CN202905112U (en) * | 2012-08-03 | 2013-04-24 | 晋江市晶鑫电子技术有限公司 | Light emitting diode (LED) full-color display screen |
CN103092548A (en) * | 2011-11-01 | 2013-05-08 | 吕晓威 | LED display screen controller based on muC/OS2II |
-
2013
- 2013-09-11 CN CN201310411143.7A patent/CN103680402B/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003308061A (en) * | 2002-04-15 | 2003-10-31 | Sanyo Electric Co Ltd | Picture display device |
KR100513140B1 (en) * | 2005-06-20 | 2005-09-07 | 주식회사 누리플랜 | Method and apparatus for controlling full color illumination of led |
CN101515436A (en) * | 2008-12-25 | 2009-08-26 | 西安青松科技股份有限公司 | Embedded LED display screen control system |
CN102194403A (en) * | 2010-03-17 | 2011-09-21 | 上海仰邦软件科技有限公司 | Microblaze soft core technology-based LED (Light Emitting Diode) large-screen asynchronous control system |
CN202102691U (en) * | 2011-06-13 | 2012-01-04 | 南京德普达电子技术有限公司 | Embedded LED display screen full-color synchronization playing apparatus |
CN103092548A (en) * | 2011-11-01 | 2013-05-08 | 吕晓威 | LED display screen controller based on muC/OS2II |
CN202502713U (en) * | 2012-01-12 | 2012-10-24 | 上海灵信信息科技有限公司 | LED display screen controller based on SOPC |
CN202905112U (en) * | 2012-08-03 | 2013-04-24 | 晋江市晶鑫电子技术有限公司 | Light emitting diode (LED) full-color display screen |
CN102903334A (en) * | 2012-11-13 | 2013-01-30 | 河南工业大学 | Full color LED (Light-Emitting Diode) display screen |
Also Published As
Publication number | Publication date |
---|---|
CN103680402A (en) | 2014-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9105112B2 (en) | Power management for image scaling circuitry | |
CN103686314B (en) | Demultiplex device and method adopting HD (high definition) video channel to transmit SD (standard definition) videos | |
US20150138212A1 (en) | Display driver ic and method of operating system including the same | |
US20170083999A1 (en) | Efficient display processing with pre-fetching | |
CN104104888A (en) | Parallel multi-core FPGA digital image real-time zooming processing method and device | |
CN206272746U (en) | A kind of digital video display interface module based on FPGA | |
JP2015075770A (en) | Image processing device, electronic device containing image processing device, and image processing method | |
KR20160033549A (en) | Image Processing Device and Method including a plurality of image signal processors | |
US20240292009A1 (en) | Method and apparatus for processing video compression, and medium | |
CN103680402B (en) | A kind of asynchronous all-colour LED display control program based on LEON3 soft nucleus CPU and control method thereof | |
CN114302087B (en) | MIPI data transmission mode conversion method and device and electronic equipment | |
CN103813125B (en) | A kind of duplex digital image processing system | |
US20060033753A1 (en) | Apparatuses and methods for incorporating an overlay within an image | |
CN203708370U (en) | Multipath digital image processing system | |
WO2017113560A1 (en) | Display control circuit and display apparatus | |
US11574380B2 (en) | Methods and apparatus for optimizing GPU kernel with SIMO approach for downscaling utilizing GPU cache | |
CN104156907A (en) | FPGA-based infrared preprocessing storage system and FPGA-based infrared preprocessing storage method | |
US10152766B2 (en) | Image processor, method, and chipset for increasing intergration and performance of image processing | |
CN111179151B (en) | Method and device for improving graphic rendering efficiency and computer storage medium | |
CN203522918U (en) | HDMI-to-PCIE acquisition card | |
CN106791550A (en) | The apparatus and method that a kind of low frame rate LVDS turns frame frequency DVI videos high | |
CN112995559A (en) | Video processing method, device and system, display controller and display control system | |
CN104219458A (en) | High-definition multimedia LED display screen control system | |
US9298673B2 (en) | Electronic device and information processing method | |
CN118214820B (en) | Image data processing method, product, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151223 Termination date: 20190911 |
|
CF01 | Termination of patent right due to non-payment of annual fee |