CN115394242A - Micro-instruction-based LED display screen point tracing method and device - Google Patents

Micro-instruction-based LED display screen point tracing method and device Download PDF

Info

Publication number
CN115394242A
CN115394242A CN202211134101.9A CN202211134101A CN115394242A CN 115394242 A CN115394242 A CN 115394242A CN 202211134101 A CN202211134101 A CN 202211134101A CN 115394242 A CN115394242 A CN 115394242A
Authority
CN
China
Prior art keywords
display screen
row
module
led display
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.)
Pending
Application number
CN202211134101.9A
Other languages
Chinese (zh)
Inventor
江犁锋
王明朗
奚谷枫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Jili Microelectronics Technology Co ltd
Original Assignee
Changzhou Jili Microelectronics Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changzhou Jili Microelectronics Technology Co ltd filed Critical Changzhou Jili Microelectronics Technology Co ltd
Priority to CN202211134101.9A priority Critical patent/CN115394242A/en
Publication of CN115394242A publication Critical patent/CN115394242A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2310/00Command of the display device
    • G09G2310/02Addressing, scanning or driving the display screen or processing steps related thereto
    • G09G2310/0202Addressing of scan or signal lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a microinstruction-based LED display screen dotting method, wherein the LED display screen is formed by splicing a plurality of same modules, one hub is connected with the plurality of modules in series, and the plurality of modules connected in series are spliced into one LED display screen, and the method comprises the following steps: dividing a display area for the display screen; establishing a column signal address table based on each display area; performing a line signal test on the display screen to generate a line scanning sequence table; testing the display screen wiring to generate a wiring scanning inner wiring table; circularly reading data in the column signal address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro-instruction code; and reading image information based on the data to perform screen refreshing. The LED display controller is provided with a column signal address table, a row scanning sequence table and a row scanning internal wiring table, and various lamp bead arrangement modes can be supported and the internal memory consumption can be reduced by combining the tracing point table based on a preset micro instruction.

Description

Micro-instruction-based LED display screen point tracing method and device
Technical Field
The invention relates to the technical field of LED display, in particular to a microinstruction-based LED display screen point tracing method and device.
Background
At present, along with the development of technique and the progress of society, the LED display screen is more and more extensive in the application of daily life, commonly used LED display screen control system mainly includes the video source that connects gradually, a video processor, the card of sending, scanning card and LED display screen, and the scanning card generally cooperates the HUB board (also called the keysets) to install in the LED box, HUB mouth on the HUB board can be connected a plurality of LED lamp plate modules through winding displacement or row needle and cascade the demonstration simultaneously, just so formed an LED box, a LED display screen is spliced into again to a plurality of LED boxes.
Present LED display screen is lighted and is needed to be exported image display drive signal by the scanning card, then carry out data grouping and signal drive reinforcing through the HUB board, it lights to be connected to LED lamp plate module through winding displacement or other connectors by the HUB board again, some chips or functional module that have monitoring function on the LED lamp plate module also need communicate with the scanning card through winding displacement and HUB board simultaneously, thereby realize passing back monitoring information to the scanning card end, the rethread scanning card passes back to host computer software show for the user.
The display method of the existing LED display screen is generally realized by a point tracing method, specifically, a point tracing table records address information of each point of a module in the module, n parts of the point tracing table are copied to a memory during system initialization and expanded to be the point tracing table of the whole LED display screen, and each pixel accesses the point tracing table once during screen refreshing. The existing point tracing method is equivalent to the point tracing data of a whole LED screen, so that a large memory space is occupied, and a point tracing table needs to be accessed once before the data of each point is read, so that the memory bandwidth consumption is large, and the efficiency is low.
Disclosure of Invention
In order to solve at least one technical problem in the prior art, embodiments of the present invention provide a method and an apparatus for pointing on an LED display screen based on a micro instruction.
In a first aspect, an embodiment of the present invention provides a microinstruction-based LED display screen dotting method, where an LED display screen is formed by splicing a plurality of same modules, where one hub is connected in series with the plurality of modules, and a plurality of hub-connected modules are spliced into one LED display screen, the method includes: dividing a display area for the display screen; establishing a column signal address table based on each display area; performing a line signal test on the display screen to generate a line scanning sequence table; testing the display screen wiring to generate a line scanning internal wiring table; circularly reading data in the column signal address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro-instruction code; and reading image information based on the data to perform screen refreshing.
Further, the dividing the display area of the display screen includes: uniformly dividing the display screen into a plurality of display areas; each hub controls a series of modules, and each hub includes at least one set of row signals, each set of row signals controlling a display area.
Further, the establishing a column signal address table based on each display area includes: sequentially controlling the display area controlled by each column signal; determining the pixel address of the upper left corner of the display area controlled by each column signal; and storing the pixel address of the upper left corner corresponding to the display area controlled by each column signal as a column signal address table.
Further, the generating a scan sequence table for the line signal test of the display screen includes: actually controlling the light beads in the second row on the module to generate a row scanning sequence table based on a certain row signal; wherein, the row scanning sequence table comprises a group of row scanning sequence tables or a plurality of groups of row scanning sequence tables; when the scanning signals of the upper area and the lower area of one module are the same, the scanning sequence table is a group; when the scanning signals of the upper and lower areas of one module are different, the scanning sequence table is a plurality of groups.
Further, the generating a scan-in-line routing table by testing the display screen routing includes: the row scanning inner routing table only needs to record routing information of one module; testing by sequentially lighting the lamp beads of the module, and determining the routing information of the module based on the lighting of each lamp bead; the trace information includes one or a combination of reading in reverse order, reading in the second broken line, reading the pixel number and the initial pixel address in the broken line.
Further, the circularly reading the data in the hub address table, the row scan order table and the row scan line table based on the preset microinstruction code comprises: s1: loading the ith column signal address from a column signal table to a module register R0, wherein i belongs to (0, n-1), and n is the number of column signals; s2: loading the address of the row sweep j from the row sweep sequence table to a module register R1, wherein j belongs to (0, m-1), and m is the number of row signals; s3: loading the routing information of the kth data from the routing table, wherein the routing information comprises the starting pixel address information in the several folding lines, the reading pixel number and the folding lines, and the starting pixel address information is respectively stored in a module register R2, a module register R3 and a module register R4; s4: generating a memory address based on information stored in the module register R0, the module register R1, the module register R2 and the module register R4; s5: the microkernel reads the data of the pixel number in the line scanning internal routing table to a cache; s6: repeating the steps S1-S5 until a plurality of pixel data are read into the cache in the corresponding area of each group of column signals; s7: the first pixel data is taken from each group of caches, a group of continuous data with 16 × pb bytes is formed and written into a screen refreshing cache, the screen refreshing cache is arranged in an sdram screen refreshing cache, and pb is the number of bytes contained in each pixel; s8: repeating the step S7, reading second pixel data, writing the second pixel data into the sdram screen refreshing cache, and repeating until all the pixel data in the cache are written into the sdram screen refreshing cache; s9: when k = k +1, repeatedly executing the steps S3-S8 until the trace table is completely read, and at the moment, completely writing all pixel data scanned by the same line into the screen refreshing cache of the sdram; s10: and when j = j +1, repeating the steps S1-S9 until the row scanning sequence table is completely read, and at the moment, completely writing the data of one frame into the screen refreshing buffer of the sdram.
Further, the method further comprises: the hardware automatically indexes hub address tables from sram according to the value of i; and/or the hardware automatically scans the sequence table index from the sram according to the j value; and/or the hardware automatically scans the intra-row routing table index from the sram according to the k value.
In a second aspect, an embodiment of the present invention provides a microinstruction-based LED display screen dotting device, where the LED display screen is formed by splicing a plurality of same modules, one hub is connected in series with the plurality of modules, and the plurality of modules connected in series with the hub are spliced into one LED display screen, the device including: the dividing module is suitable for dividing display areas of the display screen; a column signal address table establishing module adapted to establish a column signal address table based on each of the display areas; the row scanning sequence table generating module is suitable for performing row signal test on the display screen to generate a row scanning sequence table; the in-line scanning inner wiring table generating module is suitable for testing the display screen wiring to generate an in-line scanning inner wiring table; the circular reading module is suitable for circularly reading data in the column signal address table, the row scanning sequence table and the row scanning inner route table based on a preset micro instruction code; and the screen refreshing module is suitable for refreshing the screen based on the data reading image information.
In a third aspect, a computer-readable storage medium is provided, where one or more instructions are stored in the computer-readable storage medium, and the computer instructions are configured to cause the computer to execute the above-mentioned microinstruction-based LED display screen dot-drawing method.
In a fourth aspect, an electronic device is provided, which includes: a memory and a processor; the memory having stored therein at least one program instruction; the processor loads and executes the at least one program instruction to realize the LED display screen point tracing method based on the micro instruction.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: the LED display screen is formed by splicing a plurality of same modules, wherein one hub is connected with the plurality of modules in series, and the plurality of modules connected in series with the hub are spliced into one LED display screen, and the method comprises the following steps: dividing a display area for the display screen; establishing a column signal address table based on each display area; performing a line signal test on the display screen to generate a line scanning sequence list; testing the display screen wiring to generate a line scanning internal wiring table; circularly reading data in the column signal address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro-instruction code; and reading image information based on the data to perform screen refreshing. The LED display controller is provided with a hub address table, a row scanning sequence table and a row scanning internal wiring table, and the problems that when modules of different models of different manufacturers have different LED lamp bead arrangement modes, various lamp bead arrangement modes can be supported and internal memory consumption is reduced by adopting the method can be solved based on the preset micro instruction and the tracing point table.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a method for a microinstruction-based pointing method for an LED display screen according to an embodiment of the present invention;
FIGS. 2a-2b are schematic diagrams of an LED panel controlled by a plurality of hub interfaces according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an arrangement of beads on a module according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an apparatus for a microinstruction-based pointing device for an LED display screen according to an embodiment of the present invention;
fig. 5 is a partial block diagram of an electronic device provided by an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs; the terms used in the specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention, for example, the terms "length", "width", "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. indicate orientations or positions based on the orientation or position shown in the drawings, are merely for convenience of description, and are not to be construed as limiting the present technical solution.
The terms "including" and "having," and any variations thereof, in the description and claims of this invention and the description of the above figures are intended to cover non-exclusive inclusions; the terms "first," "second," and the like in the description and in the claims, or in the drawings, are used for distinguishing between different objects and not necessarily for describing a particular sequential order. The meaning of "plurality" is two or more unless specifically limited otherwise.
Furthermore, reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The terms that may appear in the following examples are to be construed as follows:
hub: one hub is provided with a row signal, a column signal, a clock signal, an enabling signal and the like, generally, one hub is connected with a plurality of modules in series, and the modules connected with the plurality of hubs in series are spliced into an LED display screen.
Row and column signals: whether lamp beads on the LED module are on or off is controlled by row signals and column signals together, one row signal controls the anodes (cathodes) of all lamps on the row, and the cathodes (anodes) of the lamps are connected with all the column signals simultaneously. E.g., the first row signal is enabled while the second column signal is enabled, the second light in the first row is illuminated.
Routing: the arrangement mode of lamp beads on the wiring finger module is that a row of lamp beads are not required to be taken by a row of signal, two rows and four rows of signal are possible to be taken, and the number of column signals is twice or four times of the number of the lamp beads in the row.
Sram: (Static Random-Access Memory), synchronous Static Random Access Memory.
Sdram: (synchronous dynamic random-access memory).
For the purpose of understanding, the display principle of the LED display screen is explained as follows:
the LED display screen is formed by splicing a plurality of same modules, one hub is connected with the plurality of modules in series, and the plurality of modules connected with the hub in series are spliced into the LED display screen. One hub is provided with a row signal, a column signal, a clock signal, an enable signal and the like (only the row and column signals are concerned here), generally, one hub is connected with a plurality of modules in series, and a plurality of modules connected in series with the hub are spliced into an LED display screen. The row signals on all the hubs are the same, that is, only one group of row signals exists in a complete LED display screen, and the column signals of each hub are independent and send different data synchronously according to the clock signals. Typically a hub has two sets of column signals. As shown in fig. 2, a schematic diagram of controlling one LED screen for a plurality of hub interfaces (in a specific display screen, the hub sequence is not fixed, and in practical applications, the hub sequence may be arbitrarily connected). There are 8 hubs in the figure with 256 x 64 dots per hub, i.e., each hub contains 256 rows of 64 dots, where there are 2 hubs in a row.
Referring to fig. 1, a flow chart of a method for tracing a point on an LED display screen based on a microinstruction according to the present invention is shown. The method comprises the following steps:
s110: and dividing a display area for the display screen.
As an example, a plurality of display areas are evenly divided for the display screen; each hub controls a series of modules, and each hub includes at least one set of row signals, each set of row signals controlling a display area.
Specifically, the LED display screen may be divided into a plurality of regions uniformly, as shown in fig. 2a, and then divided into 8 regions uniformly, wherein each region is controlled by one hub.
S120: and establishing a column signal address table based on each display area.
As an example, the establishing a column signal address table based on each display area includes: sequentially controlling a display area of each column signal; determining the pixel address of the upper left corner of the display area controlled by each column signal; and storing the pixel address of the upper left corner corresponding to the display area controlled by each column signal as a column signal address table.
Specifically, as shown in fig. 2b, each hub controls a series of modules, there are 1 or 2 sets of column signals on the hub, and the column signals are represented by "col signals" (full color display, 1 set of col signals includes RGB3 signals), each set of col signals controls a rectangular display area, in the figure, 1 hub includes an example of two sets of col signals, and the col address table stores the pixel address of the upper left corner of the rectangular area it controls. The control card is used for controlling the lamp beads on the first column signal to be fully lightened, so that the pixel address of the upper left corner of the area controlled by the first column signal can be obtained, the control card is used for controlling the lamp beads on the first column signal to be fully closed, the lamp beads on the second column signal to be fully lightened, so that the pixel address of the upper left corner of the area controlled by the second column signal can be obtained, and the like, all the lamp beads of the area controlled by each column signal are respectively and independently controlled to be lightened, so that the pixel addresses of the upper left corners of all the areas controlled by the column signals can be obtained, and a column signal address table for storing the pixel addresses is obtained.
S130: and performing a line signal test on the display screen to generate a line scanning sequence table.
As an example, the generating a row scan order table for the row signal test on the display screen includes: actually controlling the light beads in the second row on the module to generate a row scanning sequence table based on a certain row signal; wherein, the row scanning sequence table comprises a group of row scanning sequence tables or a plurality of groups of row scanning sequence tables; when the scanning signals of the upper area and the lower area of one module are the same, the scanning sequence table is a group; when the scanning signals of the upper and lower areas of one module are different, the scanning sequence table is a plurality of groups.
Specifically, since each module configured in the same LED display screen is the same, the trace data of each line scan is the same, and the number of modules in each hub band is the same, only one module needs to be tested in the process of generating the line scan sequence table. And controlling to light the first row by the control card, and recording which row of lamps is lighted to obtain a row scanning sequence table. That is, the horizontal scanning sequence table stores the 0 th to n-1 th row signals to actually control the lamp beads on the module, one module is generally divided into an upper area and a lower area, the areas are controlled by column signals of different groups, when the horizontal scanning signals of the upper area and the lower area are the same, only the horizontal scanning sequence table needs to be established, when the horizontal scanning signals of the upper area and the lower area are different, the condition that the horizontal scanning sequences are different also exists, and therefore the horizontal scanning sequence table also needs multiple groups.
S140: and testing the display screen wiring to generate a line scanning internal wiring table.
As an example, the generating a scan-in-line routing table for testing the display screen routing includes: the row scanning inner routing table only needs to record routing information of one module; testing by sequentially lighting the lamp beads of the module, and determining the routing information of the module based on the lighting of each lamp bead; the trace information includes one or a combination of reading in reverse order, reading in the second broken line, reading the pixel number and the initial pixel address in the broken line.
Specifically, the routing table only needs to record routing information of one module by using a row scanning inner routing table of stroke compression coding, the unit data format in the routing table is as follows, and one data occupies 32 bits, namely 4 bytes:
Figure BDA0003850307340000071
as shown in fig. 3, a 32 × 32 pixel module (an upper half screen and a lower half screen of a module, two sets of column signals control, the upper diagram only illustrates the upper half screen and a set of column signals) is controlled by 8 row signals, and at this time, a row signal is connected in series with 64 lamps (there are 64 column signals) on the upper half screen, and the wiring manner is as shown in the figure. During display, the control circuit sends 64 pixel data to the row signal for lighting (the next half-screen row signal synchronously sends 64 pixel data, so that 128 lamps are lighted at the same time in one row scanning), and then sends the second row scanning for lighting, and the dynamic refreshing is repeated, so that human eyes can see a picture of 32 × 32. In order to display a picture normally, a control circuit is required to read picture data according to a routing mode of a module, first 8 pixels (1-8) in a first row in the picture are read and sent to column signals, then first 8 pixels (9-16) in a second row 9 are read and sent, then last 8 pixels (17-24) in the first row are read and sent, and then last 8 pixels (25-32) in the second row are read and sent. Wherein line is in the 0 th fold line, and the corresponding data is 0 (pixels 1-8 are in the 0 th fold line); 1 (pixels 9-16 in the 1 st fold line); 0 (pixels 17-24 in 0 th fold line); 1 (pixels 25-32 in the 1 st fold line). The Size is the number of pixels read, and the data corresponding to the Size in fig. 3 is 8.Addr is the starting pixel address in the broken line, and Addr in fig. 3 corresponds to data of 0. The reverse value affects the behavior of the next time the read instruction is executed (0 for sequential reading and 1 for reverse reading), and is 0 in fig. 3.
It can be seen that, since the data amount in the above three tables is small, the data can be stored in sram, and the reading efficiency is further improved.
S150: and circularly reading the data in the column signal address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro-instruction code.
S160: and reading image information based on the data to perform screen refreshing.
As an example, the circularly reading the data in the column signal address table, the row scan order table and the row scan internal route table based on the preset microinstruction code comprises:
s1: loading the ith column signal address from a column signal table to a module register R0, wherein i belongs to (0, n-1), and n is the number of column signals;
s2: loading the address of the row sweep j from the row sweep sequence table to a module register R1, wherein j belongs to (0, m-1), and m is the number of row signals;
s3: loading the routing information of the kth data from the routing table, wherein the routing information comprises the starting pixel address information in the several folding lines, the reading pixel number and the folding lines, and the starting pixel address information is respectively stored in a module register R2, a module register R3 and a module register R4;
s4: generating a memory address based on information stored in the module register R0, the module register R1, the module register R2 and the module register R4;
s5: the microkernel reads the data of the pixel number in the line scanning internal routing table to a cache;
s6: repeating the steps S1-S5 until a plurality of pixel data are read into the cache in the corresponding area of each group of column signals;
s7: respectively taking first pixel data from each group of caches, writing a group of continuous data with 16 × pb bytes into a screen refreshing cache, wherein the screen refreshing cache is in an sdram screen refreshing cache, and pb is the number of bytes contained in each pixel;
s8: repeating the step S7, reading second pixel data, writing the second pixel data into the sdram screen refreshing cache, and repeating until all the pixel data in the cache are written into the sdram screen refreshing cache;
s9: when k = k +1, repeatedly executing the steps S3-S8 until the trace table is completely read, and at the moment, completely writing all pixel data scanned by the same line into the screen refreshing cache of the sdram;
s10: and when j = j +1, repeating the steps S1-S9 until the row scanning sequence table is completely read, and at the moment, completely writing the data of one frame into the screen refreshing buffer of the sdram.
Specifically, the microinstructions include the following:
S1:LDC r0,i;
loading the ith col address from the column signal table to the module register R0, and automatically indexing the col table in the sram by hardware according to the i value (the same applies to other tables).
S2:LDROW r1,r0,j;
The address of row sweep j is loaded from the row sweep sequence table into module register R1. The value of R0 is used as a parameter to indicate which group of row scanning sequence table the hardware takes, when R0 is even number, the hardware is taken from the first group of table, and when R0 is odd number, the hardware is taken from the second group of table.
S3:LDT line,size,addr,k;
k, loading kth data from a routing table, wherein line, size and addr are respectively stored in 3 registers R2-R4 of the module; where line is indicated at the fold line; size represents the number of read pixels; addr is represented as the starting pixel address in the broken line; the reverse value affects the next read instruction execution behavior (0 for sequential reads and 1 for reverse reads).
S4: calculating the address of the sdram to be read according to the information obtained in the above 3 steps:
addrm address = (R0 + (R1 + line) × LED panel width + addr) × pb.
S5:read buffer sdram,size;
The microkernel reads the data of size pixels into the buffer.
S6: after i = i +1 is executed, repeating steps 1-5 until each group of col corresponding regions has a plurality of pixel data read into a cache, i =0 (assuming that the number of col groups is 16, repeating the steps 16 times), and the cache is a storage space realized by sram or a hardware register. In this example, 16 groups of cols are illustrated, and there may be 32 groups of cols and 48 groups of cols simultaneously, but the hardware does not need to implement the same number of group caches, and the hardware can be processed for multiple times due to programmability, so that the hardware implementation cost can be saved.
S7: and (3) respectively fetching first pixel data from each group of caches to form a group of continuous data writing brush cache with 16 × pb bytes, wherein the brush cache is in the sdram, and the sdram has very high reading and writing efficiency according to integral multiple of 16 bytes.
S8: and step 7 is repeated, and the second pixel data is read and written into the sdram. This is repeated until the pixel data in the buffer is completely written into the sdram.
S9: and after k = k +1, repeating the step 3 until the trace table is completely read, and k =0. The pixel data of the same row scan is all written into the sdram at this time.
S10: and after j = j +1, repeating the step 1 until the row scanning sequence list is completely read. At this time, the data of one frame is completely written into the sdram screen refreshing buffer.
After the processing, the data in the screen refreshing cache is irrelevant to the arrangement modes of module wiring, line scanning sequence and hub ports of the LED screen. The screen refreshing hardware in the LED controller only needs to read the data of 16 × pb bytes from the screen refreshing cache one time in sequence and output the data to 16 groups of col signal pins, and then the correct display of the image can be realized. The module registers R0 to R4 are internal registers of the module, and the zero access latency effect can be achieved based on the registers.
The LED display controller is provided with a column signal address table, a row scanning sequence table and a row scanning internal wiring table, and the problems that when modules of different manufacturers and different models have different LED lamp bead arrangement modes, various lamp bead arrangement modes can be supported and internal memory consumption is reduced by adopting the method can be solved based on the preset micro instruction and the tracing point table.
Example 2
A point drawing device of an LED display screen based on micro instructions is provided.
Referring to fig. 4, a schematic diagram of an apparatus for a microinstruction-based LED display screen pointing device according to an embodiment of the present invention is shown. The device comprises:
the dividing module is suitable for dividing display areas of the display screen;
a column signal address table establishing module adapted to establish a column signal address table based on each of the display areas;
the row scanning sequence table generating module is suitable for performing row signal test on the display screen to generate a row scanning sequence table;
the in-line scanning internal routing table generating module is suitable for testing the display screen routing to generate an in-line scanning internal routing table;
the cyclic reading module is suitable for cyclically reading data in the column signal address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro instruction code;
and the screen refreshing module is suitable for refreshing the screen based on the data reading image information.
Example 3
The embodiment of the present invention further provides a storage medium, where the storage medium stores a microinstruction-based LED display screen dotting method, and when executed by a processor, the LED display screen dotting program implements the above-mentioned steps of the microinstruction-based LED display screen dotting method. Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
Example 4
Referring to fig. 5, an embodiment of the present invention further provides an electronic device, including: a memory and a processor; at least one program instruction is stored in the memory; the processor loads and executes the at least one program instruction to realize the microinstruction-based LED display screen dotting method provided by the embodiment 1.
The memory 502 and the processor 501 are coupled in a bus that may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 501 and the memory 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 501 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store data used by processor 501 in performing operations.
The foregoing is merely an example of the present invention, and common general knowledge in the field of known specific structures and characteristics is not described herein in any greater extent than that known in the art at the filing date or prior to the priority date of the application, so that those skilled in the art can now appreciate that all of the above-described techniques in this field and have the ability to apply routine experimentation before this date can be combined with one or more of the present teachings to complete and implement the present invention, and that certain typical known structures or known methods do not pose any impediments to the implementation of the present invention by those skilled in the art. It should be noted that, for those skilled in the art, without departing from the structure of the present invention, several variations and modifications can be made, which should also be considered as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the utility of the patent. The scope of the claims of the present application shall be defined by the claims, and the description of the embodiments and the like in the specification shall be used to explain the contents of the claims.

Claims (10)

1. A point tracing method for an LED display screen based on a micro instruction is characterized in that the LED display screen is formed by splicing a plurality of same modules, one hub is connected with the plurality of modules in series, and the modules connected with the plurality of hubs in series are spliced into the LED display screen, and the method comprises the following steps:
dividing a display area for the display screen;
establishing a column signal address table based on each display area;
performing a line signal test on the display screen to generate a line scanning sequence list;
testing the display screen wiring to generate a line scanning internal wiring table;
circularly reading data in the column signal address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro-instruction code;
and reading image information based on the data to perform screen refreshing.
2. The microinstruction-based LED display screen dotting method of claim 1, wherein said dividing a display area of the display screen comprises:
uniformly dividing the display screen into a plurality of display areas;
each hub controls a series of modules, and each hub includes at least one set of row signals, each set of row signals controlling a display area.
3. The microinstruction-based LED display screen dotting method of claim 2, wherein said creating a column signal address table based on said each display area comprises:
sequentially controlling the display area controlled by each column signal;
determining the pixel address of the upper left corner of the display area controlled by each column signal;
and storing the pixel address of the upper left corner corresponding to the display area controlled by each column signal as a column signal address table.
4. The microinstruction-based LED display screen pointing method of claim 1, wherein said performing a line signal test on the display screen to generate a line scan order list comprises:
actually controlling the light beads in the second row on the module to generate a row scanning sequence table based on a certain row signal;
wherein the row scanning sequence table comprises a group of row scanning sequence tables or a plurality of groups of row scanning sequence tables;
when the scanning signals of the upper area and the lower area of one module are the same, the scanning sequence table is a group;
when the scanning signals of the upper and lower areas of one module are different, the scanning sequence table is a plurality of groups.
5. The microinstruction-based LED display screen dotting method of claim 1, wherein the testing the display screen trace to generate an in-line-scan trace table comprises:
the row scanning inner routing table only needs to record routing information of one module;
the lamp beads of the module are sequentially lightened for testing, and the wiring information of the module is determined based on the lightening of each lamp bead;
the routing information comprises one or a combination of reverse reading, line folding at the second row, reading pixel number and initial pixel address in the line folding.
6. The microinstruction-based LED display screen dot method of claim 1, wherein the cyclically reading the data in the column signal address table, the row scan order table, and the row scan line table based on the predetermined microinstruction code comprises:
s1: loading the ith column signal address from a column signal table to a module register R0, wherein i belongs to (0, n-1), and n is the number of column signals;
s2: loading the addresses of the row sweep j from the row sweep sequence table to the module register R1, wherein j belongs to (0, m-1), and m is the number of row signals;
s3: loading the routing information of the kth data from the routing table, wherein the routing information comprises the starting pixel address information in the several folding lines, the reading pixel number and the folding lines, and the starting pixel address information is respectively stored in a module register R2, a module register R3 and a module register R4;
s4: generating a memory address based on the information stored in the module register R0, the module register R1, the module register R2 and the module register R4;
s5: the microkernel reads the data of the pixel number in the line scanning inner routing table to a cache;
s6: repeating the steps S1-S5 until a plurality of pixel data are read into the cache in the corresponding area of each group of column signals;
s7: respectively taking first pixel data from each group of caches, writing a group of continuous data with 16 × pb bytes into a screen refreshing cache, wherein the screen refreshing cache is in an sdram screen refreshing cache, and pb is the number of bytes contained in each pixel;
s8: repeating the step S7, reading second pixel data, writing the second pixel data into the sdram screen refreshing cache, and repeating until all the pixel data in the cache are written into the sdram screen refreshing cache;
s9: when k = k +1, repeatedly executing the steps S3-S8 until the trace table is completely read, and writing all pixel data scanned by the same row into the sdram screen refreshing cache;
s10: and when j = j +1, repeating the steps S1-S9 until the line scanning sequence table is completely read, and at the moment, completely writing the data of one frame into the screen refreshing buffer of the sdram.
7. The microinstruction-based LED display screen dotting method of claim 6, further comprising:
hardware automatically indexes from a signal address table in the sram according to the i value; and/or
The hardware automatically scans the sequence table index from the sram according to the j value; and/or
And automatically scanning the inner routing table index from the sram row by the hardware according to the k value.
8. The utility model provides a LED display screen device of tracing based on microinstruction, its characterized in that, LED display screen is formed by the concatenation of the module that the polylith is the same, and one of them hub connects in series polylith module, and the module of a plurality of hubs series connection splices into a LED display screen, the device includes:
the dividing module is suitable for dividing display areas of the display screen;
a hub address table establishing module adapted to establish a hub address table based on each of the display regions;
the row scanning sequence table generating module is suitable for performing row signal test on the display screen to generate a row scanning sequence table;
the in-line scanning inner wiring table generating module is suitable for testing the display screen wiring to generate an in-line scanning inner wiring table;
the circular reading module is suitable for circularly reading data in the hub address table, the row scanning sequence table and the row scanning inner wiring table based on a preset micro instruction code;
and the screen refreshing module is suitable for refreshing the screen based on the data reading image information.
9. A computer readable storage medium having one or more instructions stored thereon for causing a computer to perform the microinstruction based LED display pointing method of claims 1-7.
10. An electronic device, comprising: a memory and a processor; the memory having stored therein at least one program instruction; the processor is used for loading and executing at least one program instruction to realize the microinstruction-based LED display screen point drawing method in claims 1-7.
CN202211134101.9A 2022-09-16 2022-09-16 Micro-instruction-based LED display screen point tracing method and device Pending CN115394242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211134101.9A CN115394242A (en) 2022-09-16 2022-09-16 Micro-instruction-based LED display screen point tracing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211134101.9A CN115394242A (en) 2022-09-16 2022-09-16 Micro-instruction-based LED display screen point tracing method and device

Publications (1)

Publication Number Publication Date
CN115394242A true CN115394242A (en) 2022-11-25

Family

ID=84126821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211134101.9A Pending CN115394242A (en) 2022-09-16 2022-09-16 Micro-instruction-based LED display screen point tracing method and device

Country Status (1)

Country Link
CN (1) CN115394242A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117012143A (en) * 2023-08-21 2023-11-07 中山市智牛电子有限公司 Point tracing method and point tracing system for LED display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117012143A (en) * 2023-08-21 2023-11-07 中山市智牛电子有限公司 Point tracing method and point tracing system for LED display screen
CN117012143B (en) * 2023-08-21 2024-01-05 中山市智牛电子有限公司 Point tracing method and point tracing system for LED display screen

Similar Documents

Publication Publication Date Title
US4566005A (en) Data management for plasma display
US4663619A (en) Memory access modes for a video display generator
CN115394242A (en) Micro-instruction-based LED display screen point tracing method and device
CN100378793C (en) Liquid crystal display displaying method and system
JP2527826B2 (en) How to draw a figure in a computer graphic system
US6091863A (en) Image processor and data processing system using the same processor
US20240004650A1 (en) Data processing method and apparatus, and related product
US10923081B2 (en) Timing controller, display apparatus, and operation method thereof
US5818433A (en) Grapics memory apparatus and method
CN109036259B (en) LED display module and LED display equipment
JP2000122030A (en) Method for driving matrix type liquid crystal display panel and device for executing this method
CN111554334B (en) Method and system for realizing DDR (double data Rate) access by multiple taps
EP0121070A2 (en) Plasma display management systems
CN113470554A (en) LED display driving chip open circuit detection read-back method
JPS6327727B2 (en)
JPS62183487A (en) Raster scan video controller
CN101714072B (en) For the treatment of the method and apparatus of the pixel planes of expression visual information
US20070008276A1 (en) Interface unit and interface transmission method thereof
JP3533197B2 (en) Image processing device
CN115132119A (en) Control method and device for displaying image
JPS6019258A (en) Memory
CN117768598A (en) Device for receiving single-ended signal of LED control card and forwarding single-ended signal into differential signal
CN115167766A (en) Data writing method and device, memory, electronic device and storage medium
CN114257758A (en) Efficient human-computer interface superposition method based on FPGA
CN115346462A (en) Display driving integrated circuit and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination