CN110517626B - Method and device for improving image refresh rate of LED display screen - Google Patents

Method and device for improving image refresh rate of LED display screen Download PDF

Info

Publication number
CN110517626B
CN110517626B CN201910642470.0A CN201910642470A CN110517626B CN 110517626 B CN110517626 B CN 110517626B CN 201910642470 A CN201910642470 A CN 201910642470A CN 110517626 B CN110517626 B CN 110517626B
Authority
CN
China
Prior art keywords
led lamps
group
led
driving chip
animation
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.)
Active
Application number
CN201910642470.0A
Other languages
Chinese (zh)
Other versions
CN110517626A (en
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.)
Shanghai Jingwu Intelligent Technology Co Ltd
Original Assignee
Shanghai Jingwu Intelligent 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 Shanghai Jingwu Intelligent Technology Co Ltd filed Critical Shanghai Jingwu Intelligent Technology Co Ltd
Priority to CN201910642470.0A priority Critical patent/CN110517626B/en
Publication of CN110517626A publication Critical patent/CN110517626A/en
Application granted granted Critical
Publication of CN110517626B publication Critical patent/CN110517626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Abstract

The invention discloses a method for improving the image refresh rate of an LED display screen, which comprises the following steps: acquiring animation source data; analyzing to obtain initial state data of each group of LED lamps on and off in the LED display screen when each frame of animation image in the animation source data is displayed on the LED display screen; each group of LED lamps corresponds to one driving chip; according to a prestored register position table of each group of LED lamps, performing array transformation on initial state data of each group of LED lamps to generate final state data arranged according to the size of a register address value; according to the final state data of each group of LED lamps corresponding to each driving chip, each driving chip drives and controls each group of corresponding LED lamps to complete the display of each frame of animation image on the LED display screen, and then refreshing of a plurality of frames of animation images of animation source data is achieved. By the method and the device, the display refreshing time of the animation image on the LED display screen is greatly reduced, and the animation playing frequency is improved.

Description

Method and device for improving image refresh rate of LED display screen
Technical Field
The invention relates to the technical field of LED display, in particular to a method and a device for improving the image refresh rate of an LED display screen.
Background
With the market demands, most of intelligent products with face display come on in a dispute, for example, in various intelligent robots with face display, rich animation expressions need to be played through an LED display screen for face display, and the refresh frequency of embedded products displayed by the LED display screen is too slow and the expressions are single at present. The low image refresh rate on the LED display screen easily causes unsmooth playing of the animation, visual residue exists, and the user experience is greatly reduced.
In order to facilitate the wiring of a hardware circuit, the LED lamps corresponding to each driving chip may not be sequentially arranged on the LED display screen according to the register address value thereof, in the prior art, each driving chip needs to separately search for driving one LED lamp, and cannot be driven in a rapid and continuous manner, and the time consumed is long, so the display refresh time of the whole animation image is also long.
Therefore, how to increase the image refresh rate of the LED display screen becomes a technical problem which needs to be solved urgently at present.
Disclosure of Invention
In order to solve the technical defects, the invention provides a method and a device for improving the image refresh rate of an LED display screen, and the specific technical scheme is as follows:
on one hand, the invention discloses a method for improving the image refresh rate of an LED display screen, which comprises the following steps:
acquiring animation source data, wherein the animation source data comprises a plurality of frames of animation image data;
analyzing to obtain initial state data of each group of LED lamps on and off in the LED display screen when each frame of animation image in the animation source data is displayed on the LED display screen; each group of LED lamps corresponds to one driving chip;
according to a prestored register position table of each group of LED lamps, respective register address values of the group of LED lamps are stored in the register position table, and initial state data of each group of LED lamps are subjected to array conversion to generate final state data which are arranged according to the size of the register address values;
and according to the final state data of each group of LED lamps corresponding to each driving chip, each driving chip drives and controls each corresponding group of LED lamps to complete the display of each frame of animation image on the LED display screen, thereby realizing the refreshing of a plurality of frames of animation images of the animation source data.
Further, the generating final state data arranged according to the size of the register address value by performing array transformation on the initial state data of each group of LED lamps according to a pre-stored register position table of each group of LED lamps, in which respective register address values of a group of LED lamps are stored, includes:
according to a prestored register position table of each group of LED lamps, respective register address values of one group of LED lamps are stored in the register position table, and the register address values of the LED lamps in the group of LED lamps corresponding to each driving chip are searched;
acquiring on-off state data of each LED lamp in a group of LED lamps corresponding to each driving chip according to the initial state data of the group of LED lamps corresponding to each driving chip;
and arranging the on-off state data of the LED lamps in each group of LED lamps in sequence according to the register address values of the LED lamps in each group of LED lamps to obtain the final state data of a group of LED lamps corresponding to each driving chip.
Further, the step of driving and controlling each group of corresponding LED lamps by each driving chip according to the final state data of each group of corresponding LED lamps by each driving chip to complete the display of each frame of animation image on the LED display screen, and further refreshing a plurality of frames of animation images of the animation source data includes:
acquiring a first register address value of a first LED lamp when each driving chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip;
according to the final state data of each group of LED lamps, starting from the LED lamp corresponding to the address value of the first register, and sequentially driving and controlling the on and off of each LED lamp through the corresponding driving chip;
when all the driving chips finish the driving control of the corresponding LED lamps, the display of the animation image frame which is required to be displayed at present on the LED display screen is judged to be finished, the display of the next animation image frame is started, and then the refreshing of a plurality of frames of animation images of the animation source data is realized.
Further, before the sequentially driving and controlling the on and off of each LED lamp by the corresponding driving chip from the LED lamp corresponding to the first register address value according to the final state data of each group of LED lamps, the method further includes:
acquiring the number of each group of LED lamps corresponding to each driving chip;
the method comprises the following steps that according to the final state data of each group of LED lamps, starting from the LED lamp corresponding to the address value of the first register, the method sequentially drives and controls the on and off of each LED lamp through the corresponding driving chip, and then the method further comprises the following steps:
recording the number of the LED lamps which are sequentially driven and controlled by the driving chip to be on or off;
judging whether the number of the LED lamps which are sequentially driven and controlled by the driving chip is equal to the number of each group of LED lamps corresponding to the driving chip or not;
and when the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of the LED lamps corresponding to the driving chip, judging that the driving chip completes the driving control of each corresponding LED lamp.
Further, the method for improving the image refresh rate of the LED display screen further includes: and reading the animation image played by the upper computer and generating corresponding animation source data.
On the other hand, the invention also discloses a device for improving the image refresh rate of the LED display screen, which comprises the following components: the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring animation source data which comprises a plurality of frames of animation image data; the analysis processing module is used for analyzing and obtaining initial state data of each group of LED lamps in the LED display screen when each frame of animation image in the animation source data is displayed on the LED display screen; each group of LED lamps corresponds to one driving chip; the array conversion module is used for performing array conversion on initial state data of each group of LED lamps according to a pre-stored register position table of each group of LED lamps, and generating final state data which are arranged according to the register address values; and the driving control module is used for driving and controlling each group of corresponding LED lamps through each driving chip according to the final state data of each group of corresponding LED lamps of each driving chip to complete the display of each frame of animation image on the LED display screen, further realize the refreshing of a plurality of frames of animation images of the animation source data, complete the display of each frame of animation image on the LED display screen, and further realize the refreshing of the plurality of frames of animation images of the animation source data.
Further, the number sequence transformation module comprises: the storage submodule is used for storing a register position table of each group of LED lamps, and the register position table stores respective register address values of one group of LED lamps; the searching submodule is used for searching the register address value of each LED lamp in a group of LED lamps corresponding to each driving chip according to a prestored register position table of each group of LED lamps; the state extraction submodule is used for acquiring on-off state data of each LED lamp in a group of LED lamps corresponding to each driving chip according to the initial state data of the group of LED lamps corresponding to each driving chip; and the arrangement submodule is used for sequentially arranging the on-off state data of the LED lamps in each group of LED lamps according to the register address values of the LED lamps in each group of LED lamps to obtain the final state data of the group of LED lamps corresponding to each driving chip.
Further, the drive control module includes: the information acquisition submodule is used for acquiring a first register address value of a first LED lamp when each driving chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip; the driving submodule is used for sequentially driving and controlling the on and off of each LED lamp through the corresponding driving chip from the LED lamp corresponding to the address value of the first register according to the final state data of each group of LED lamps; and the control submodule is used for judging that the display of the animation image frame which is required to be displayed at present on the LED display screen is finished when all the driving chips finish the driving control of the corresponding LED lamps, controlling the display of the next frame of animation image, and further refreshing a plurality of frames of animation images of the animation source data.
Further, the information acquisition submodule is also used for acquiring the number of each group of LED lamps corresponding to each driving chip;
the drive control module further includes: the recording submodule is used for recording the number of the LED lamps which are sequentially driven and controlled by the driving chip; the judging submodule is used for judging whether the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of LED lamps corresponding to the driving chip; and when the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of the LED lamps corresponding to the driving chip, judging that the driving chip completes the driving control of each corresponding LED lamp.
Further, the device for improving the image refresh rate of the LED display screen of the present invention further comprises: and the data generation module is used for reading the animation image played by the upper computer and generating corresponding animation source data.
The invention at least comprises the following technical effects:
(1) according to the invention, the on-off state data of each group of LED lamps are arranged according to the magnitude sequence of the register address value, so that the corresponding LED lamps can be continuously driven according to the arranged on-off state data, animation images can be rapidly displayed through the LED lamps, and the image refresh rate of the LED display screen is improved.
(2) By the method for improving the image refresh rate, the animation image frame can be controlled to be played at a higher playing frequency, so that animation display and playing on the LED display screen are smoother, no visual residue exists, and the user experience is improved.
(3) Because most of the LED lamps on the LED lamp display screen are not arranged in sequence in the actual layout of hardware, when the refreshing of animation images is realized, when one LED lamp is driven, the register address value of the LED lamp needs to be searched first, then the on-off state of the LED lamp is obtained according to the animation images, and then the LED lamp is driven, so that the display refreshing frequency is slow due to the fact that the register address values of each group of LED lamps are searched one by one, after the initial state data of the group of LED lamps are obtained, the register address values of the LED lamps can be quickly searched by searching the register address table of the group of LED lamps, the initial state data of the group of LED lamps can be conveniently arranged in sequence according to the register address values, the continuous driving is realized, the refreshing time is greatly saved, and the animation playing frequency is improved.
(4) The animation source data can be generated by reading the animation image played by the upper computer, so that the development difficulty of the embedded software is reduced. And even if the previous animation needs to be adjusted and modified in the later period, the corresponding animation image can be directly modified on the upper computer, and then the corresponding animation source data is generated according to each modified animation image.
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 inventive exercise.
FIG. 1 is a flowchart illustrating a first embodiment of a method for increasing an image refresh rate of an LED display screen according to the present invention;
FIG. 2 is a flowchart illustrating another embodiment of a method for increasing an image refresh rate of an LED display screen according to the present invention;
FIG. 3 is a flowchart illustrating a method for increasing an image refresh rate of an LED display screen according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for increasing an image refresh rate of an LED display screen according to another embodiment of the present invention;
FIG. 5 is a schematic illustration of an animated image display of the heart of the present invention;
FIG. 6 is a block diagram of an embodiment of an apparatus for increasing the image refresh rate of an LED display screen according to the present invention;
FIG. 7 is a block diagram of another embodiment of an apparatus for increasing the image refresh rate of an LED display screen according to the present invention;
FIG. 8 is a block diagram of another embodiment of an apparatus for increasing the image refresh rate of an LED display screen according to the present invention;
FIG. 9a is a schematic view of a first animation image in the animation according to the present invention;
FIG. 9b is a schematic view of a second animation image in the animation according to the present invention;
FIG. 9c is a diagram of a third animation image in the animation according to the invention.
Reference numerals:
10-an obtaining module; 20- -analysis processing module; 30-array transformation module; 31- -storage submodule; 32- -find submodule; 33- -status extraction submodule; 34- -permutation submodule; 40- -drive control module; 41- -information acquisition submodule; 42- -drive submodule; 43- -control submodule; 44- -record submodule; 45- -judge submodule; 50- -data generation module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention discloses a method for improving the image refresh rate of an LED display screen, wherein the embodiment shown in figure 1 comprises the following steps:
s101, acquiring animation source data, wherein the animation source data comprises a plurality of frames of animation image data;
the animation source data comprises animation image data of one frame, and when the LED display screen displays the animation of the animation source data, the LED display screen displays the animation through the on-off state of each LED lamp on the display screen.
S102, analyzing and obtaining initial state data of each group of LED lamps on and off in the LED display screen when each frame of animation image in the animation source data is displayed by the LED display screen; each group of LED lamps corresponds to one driving chip;
specifically, the LED display screen comprises a plurality of groups of LED lamps, and one driving chip drives and controls the on and off of one group of LED lamps. If a frame of animation image is displayed, the LED display screen includes a plurality of groups of LED lamps, and there is initial state data of the plurality of groups of LED lamps for the frame of animation image. The initial state data here refers to on/off state data of the LED lamp. Because most of the LED display screens are not sequentially arranged according to the register address values of the LED lamps in the actual hardware layout, the initial state data of each group of LED lamps needs to be analyzed and obtained.
S103, according to a prestored register position table of each group of LED lamps, respective register address values of the group of LED lamps are stored in the register position table, and initial state data of each group of LED lamps are subjected to array conversion to generate final state data which are arranged according to the size of the register address values;
specifically, each driving chip corresponds to a group of LED lamps, and the group of LED lamps also has respective register address values, and since the group of LED lamps may not be sequentially arranged according to the magnitude order of the register address values when being arranged on the LED display screen, if the on-off state (final state data) of the group of LED lamps is to be obtained according to the magnitude order of the register address values, the register address values of the lamps in the group of LED lamps need to be queried according to the pre-stored register location table of the group of LED lamps.
And S104, according to the final state data of each group of LED lamps corresponding to each driving chip, each driving chip drives and controls each group of corresponding LED lamps to complete the display of each frame of animation image on the LED display screen, and then the refreshing of a plurality of frames of animation images of the animation source data is realized.
After the final state data of the LED lamps corresponding to the driving chips are obtained, the driving chips can sequentially drive and control the on-off state of the group of LED lamps according to the final state data. After the driving of the LED lamps of each group is completed through each driving chip, the frame of animation image is completely displayed on the LED display screen, and then the next animation image frame can be displayed by switching to the next animation image frame, and the initial state number of each group of LED lamps of the frame of animation image is subjected to array transformation by adopting the same method to generate final state data which is sequentially arranged according to the register address value of each lamp; and then each driving chip sequentially drives the corresponding LED lamps according to the final state data of the corresponding group of LED lamps. When each driving chip finishes the driving of the LED lamp of each group, the animation image of the frame can be completely displayed, and then the display of the next frame of animation image is started. Thus, the refreshing of a plurality of frames of animation images of the animation source data is realized.
Several frames of animation images are played frame by frame at a certain frequency, so that the animation is formed. The playing frequency is high, namely the refresh rate is high, so that the fluency of the animation is high, and no visual residue exists. The expression of most of the existing embedded products with facial display is single, most of the LED lamps on the LED lamp display screen are not arranged in sequence in the actual layout of hardware, so when the refreshing of animation images is realized, when one LED lamp is driven, the register address value of the LED lamp needs to be searched first, the on-off state of the LED lamp is obtained according to the animation images, and then the LED lamp is driven, so that the display refreshing frequency is slow due to the fact that the driving is searched one by one, the time consumed by displaying each frame of animation images on the LED display screen is relatively long, and the animation effect is not smooth. In this embodiment, it is not necessary to search for register addresses one by one during driving and then drive, but to obtain initial state data of each group of LED lamps according to the frame of animation image to be displayed, then to search for register address values of each LED lamp in each group of LED lamps according to the register position table of each group of LED lamps, then to arrange the initial state data in sequence according to the register address values to obtain final state data of each group of LED lamps, then each driving chip drives the LED lamps of its respective group by knowing the register address value of the LED lamp corresponding to the first state data in the final state data, and after knowing the register address value of the first LED lamp to drive, the final state data of the group can be sequentially driven, for example, the final state data is arranged from large to small according to the register address values of each LED lamp of the group, when the driver chip drives, the address value of the register of the next LED lamp is reduced by 1 on the basis of the address value of the register of the previous LED lamp. No further sequential lookups are required which is time consuming. Therefore, the time for driving display is greatly saved, and the image refreshing frequency of the LED display screen is improved.
In the following, we will compare the image refresh time used by the solution of the present invention with the image refresh time of the prior art. Specifically, for example, a certain frame of animation image that is desired to be displayed on the LED display screen is shown in the figure, the LED display screen has 864 LED beads, and each driver chip drives and controls 144 LED lamps through 6 driver chips. The frequency is controlled by I2C 400HZ, and the time required for scanning all the LED lamps is as follows by adopting the prior art to sweep independently: (2.5us 29 144) 6 62.64 ms; however, with the continuous brushing of the scheme of this embodiment, since each driving chip only scans the LED lamp of the first register address value, the subsequent 143 lamps can be continuously brushed on the basis, because the final status data of the group of LED lamps corresponding to the driving chip is arranged according to the order of the register address values of the LED lamps, therefore, the address value of the next register can be quickly found according to the previous register address value, for example, if the final status data of a group of LED lamps corresponding to a certain driving chip is arranged according to the order of the register address values from small to large, after the LED lamp of the smallest register address value is found, the subsequent LED lamps can be easily found and driven, only 1 needs to be added to the previous register address value each time, and therefore, the time required for scanning all the LED lamps is: (2.5us 29 +2.5 9 143) 6 ═ 19.74ms, so can reach 50 frames per second broadcast frequency the fastest, obviously, compare in prior art, has greatly improved the image refresh rate, has strengthened the smoothness of the cartoon, there is no vision residue, user experience is high.
Another embodiment of the method of the present invention, as shown in fig. 2, comprises:
s201, acquiring animation source data, wherein the animation source data comprises a plurality of frames of animation image data;
s202, analyzing and obtaining initial state data of each group of LED lamps on and off in the LED display screen when each frame of animation image in the animation source data is displayed by the LED display screen; each group of LED lamps corresponds to one driving chip;
s203, according to a prestored register position table of each group of LED lamps, respective register address values of one group of LED lamps are stored in the register position table, and the register address values of the LED lamps in the group of LED lamps corresponding to each driving chip are searched;
s204, acquiring on-off state data of each LED lamp in a group of LED lamps corresponding to each driving chip according to the initial state data of the group of LED lamps corresponding to each driving chip;
s205, arranging the on-off state data of the LED lamps in each group of LED lamps in sequence according to the size of the register address value of each LED lamp in each group of LED lamps to obtain the final state data of one group of LED lamps corresponding to each driving chip;
and S206, according to the final state data of each group of LED lamps corresponding to each driving chip, each driving chip drives and controls each group of corresponding LED lamps to complete the display of each frame of animation image on the LED display screen, and then refreshing of a plurality of frames of animation images of the animation source data is realized.
In this embodiment, it is specifically explained how to convert the sequence in the initial state data of a group of LED lamps into the final state data of the group of LED lamps, relative to the first embodiment. Specifically, for example, when a certain frame of animation image data is displayed on the LED display screen, the on/off status data of a certain line of LED lamps in the frame of animation image data in the animation source data is: 0x3C, 0x 12; the binary data is 00111100, 00010010; wherein 1 represents on, 0 represents off, that is, the on/off states of the 16 LED lamps in the row are: the light is extinguished, and the light is extinguished; the 16 lamps may not be arranged in the order of the register address values of the LED lamps, or even may not be driven by one chip, and it is assumed that each driving chip drives and controls only 8 LED lamps, and in the 16 LED lamps, the 1 st lamp, the 2 nd lamp, the 3 rd lamp, the 5 th lamp, the 7 th lamp, the 8 th lamp, the 9 th lamp, and the 12 th lamp are driven by the first driving chip, and the rest are driven by the second driving chip, then the initial state data of a group of LED lamps corresponding to the first driving chip is the off state data of the 1 st lamp, the 2 nd lamp, the 3 rd lamp, the 5 th lamp, the 7 th lamp, the 8 th lamp, the 9 th lamp, and the 12 th lamp, that is, 10000011; and the initial state data of a group of LED lamps corresponding to the second driver chip is on/off state data of the 4 th lamp, the 6 th lamp, the 10 th lamp, the 11 th lamp, the 13 th lamp, the 14 th lamp, the 15 th lamp and the 16 th lamp, that is, 11000010.
The obtained initial state data of a group of LED lamps corresponding to the first driving chip is 00110001; the initial state data of a group of LED lamps corresponding to the second driving chip is 11000010; then, specific on-off state data of each LED lamp can be obtained according to the initial state data, and then, the register address value of each LED lamp needs to be queried according to the register position table of each group of LED lamps, and for example, if a group of LED lamps corresponding to the first driving chip is queried, the register address values of 8 LED lamps in the group are respectively: 0x30, 0x24, 0x28, 0x31, 0x25, 0x27, 0x29, 0x 26; the details are shown in the following table:
Figure GDA0002632591480000101
Figure GDA0002632591480000111
table 1 table a for corresponding status data of a group of LED lamps corresponding to a first driving chip
Then, we can perform number sequence conversion on the initial state data according to the order of the register address values, for example, we can arrange the register address values in the order from small to large (of course, the register address values can also be arranged in the order from large to small), and obtain the final state data of the group of LED lamps after converting the initial state data of the group of LED lamps according to the order from small to large of the register address values of the LED lamps (0x24 is the smallest, which is the first register address of the group): 10000110.
after the final state data of the LED lamps corresponding to the driving chips are obtained, the driving chips can sequentially drive and control the on-off state of the group of LED lamps according to the final state data. When each driving chip finishes the driving of the LED lamp of each group, the animation image of the frame can be completely displayed, and then the display of the next frame of animation image is started. Thus, the refreshing of a plurality of frames of animation images of the animation source data is realized.
Another embodiment of the method of the present invention, as shown in fig. 3, comprises:
s301, acquiring animation source data, wherein the animation source data comprises a plurality of frames of animation image data;
s302, analyzing and obtaining initial state data of each group of LED lamps on and off in the LED display screen when the LED display screen displays each frame of animation image in the animation source data; each group of LED lamps corresponds to one driving chip;
s303, according to a prestored register position table of each group of LED lamps, the register position table stores respective register address values of the group of LED lamps, the initial state data of each group of LED lamps is subjected to array conversion, and final state data arranged according to the register address values are generated;
s304, acquiring a first register address value of a first LED lamp when each driving chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip;
s305, sequentially driving and controlling the on and off of each LED lamp through corresponding driving chips from the LED lamp corresponding to the address value of the first register according to the final state data of each group of LED lamps;
s306, when all the driving chips finish the driving control of the corresponding LED lamps, the display of the animation image frame which is required to be displayed at present on the LED display screen is judged to be finished, the display of the next frame of animation image is started, and then the refreshing of a plurality of frames of animation images of the animation source data is realized.
On the basis of any of the above embodiments, the present embodiment specifically explains how each driving chip drives and controls the corresponding LED lamp. Specifically, for example, the final state data of the first driving chip (corresponding to 8 LED lamps controlled) is obtained as 10000110, and of course, the binary data may also be converted into hexadecimal data for storage, and then analyzed and converted during subsequent driving; the final status data are sequentially arranged according to the register address values of the LED lamps, as shown in the following table:
Figure GDA0002632591480000121
table 2 a table b corresponding to data of on/off states of a group of LED lamps corresponding to a first driving chip
Thus, the first driving chip starts to drive the LED lamp with the address value of the control register being 0x24 to be turned on, then drives the LED lamp with the address value of the control register being 0x25 to be turned off, then drives the LED lamp with the address value of the control register being 0x26 to be turned off, and so on, and drives and controls the corresponding LED lamp by combining the final state data of the group of LED lamps according to the sequence of the address values of the registers from small to large.
After the driving of the LED lamps of each group is completed through each driving chip, the frame of animation image is completely displayed on the LED display screen, and then the next animation image frame can be switched to be displayed, the same method is adopted for the next animation image, the initial state data of each group of LED lamps of the frame of animation image are sequentially arranged according to the register address value of each lamp, and the final state data are obtained through conversion; and then each driving chip sequentially drives the corresponding LED lamps according to the final state data of the corresponding group of LED lamps. When each driving chip finishes the driving of the LED lamp of each group, the animation image of the frame can be completely displayed, and then the display of the next frame of animation image is started. Thus, the refreshing of a plurality of frames of animation images of the animation source data is realized.
Another embodiment of the method of the present invention is, on the basis of the previous embodiment of the method, to add a step of determining completion of driving, and specifically, as shown in fig. 4, the method includes:
s401, acquiring animation source data, wherein the animation source data comprises a plurality of frames of animation image data;
s402, analyzing and obtaining initial state data of each group of LED lamps on and off in the LED display screen when the LED display screen displays each frame of animation image in the animation source data; each group of LED lamps corresponds to one driving chip;
s403, according to a pre-stored register position table of each group of LED lamps, the register position table stores respective register address values of the group of LED lamps, the initial state data of each group of LED lamps is subjected to array conversion, and final state data arranged according to the register address values are generated;
s404, acquiring a first register address value of a first LED lamp when each driving chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip;
s405, acquiring the number of each group of LED lamps corresponding to each driving chip;
s406, sequentially driving and controlling the on and off of each LED lamp through corresponding driving chips from the LED lamp corresponding to the address value of the first register according to the final state data of each group of LED lamps;
s407, recording the number of the LED lamps which are sequentially driven and controlled by the driving chip;
s408, judging whether the number of the LED lamps which are sequentially driven and controlled by the driving chip is equal to the number of each group of LED lamps corresponding to the driving chip;
s409, when the number of the LED lamps which are sequentially driven and controlled by the driving chip and turned on and off reaches the number of each group of LED lamps corresponding to the driving chip, judging that the driving chip completes the driving control of each corresponding LED lamp;
s410, when all the driving chips finish the driving control of the corresponding LED lamps, judging that the display of the animation image frame which is required to be displayed at present on the LED display screen is finished, entering the display of the next frame of animation image, and further realizing the refreshing of a plurality of frames of animation images of animation source data.
Specifically, for example, the driving chip IS31FL3731 can drive at most 144 LED lamps, if a group of LED lamps corresponding to the driving chip has 144 LED lamps, the driving chip counts the LED lamps under driving control according to the final status data of the group of LED lamps, and determines that the driving chip currently completes driving the group of LED lamps when the number of the LED lamps reaches 144 LED lamps. When all the driving chips finish the driving of the LED lamps of each group, the frame of animation image is displayed, and the next frame of animation image can be displayed. According to the method, the quick refreshing of the animation image can be realized.
It should be noted that each driving chip may sequentially and continuously drive the LED lamps of each group, or may simultaneously and independently drive the LED lamps of each group, which is related to a specific driving circuit structure. Because the number of the LED lamps which can be driven by each LED driving chip is limited, if large-scale LED lamp display is realized, a plurality of driving chips are needed, and therefore more LED lamps are driven. Controlling the mcu of each driving chip to generate a decoded driving signal to the driving chip for driving, wherein the driving chips are commonly and sequentially driven under the control of the mcu, for example, the mcu is controlled by 3 driving chips, and each driving chip corresponds to 144 LED lamps; and after the mcu transmits the decoded driving signal to the driving chip 1, the driving chip 1 starts to sequentially drive the corresponding 144 LED lamps, after the driving chip 1 finishes driving, the mcu transmits the decoded driving signal to the driving chip 2, so that the driving chip 2 drives, and after the driving chip 2 finishes driving, the driving chip 3 is controlled to drive. So, a driver chip connects a driver chip's continuous drive, realizes that drive LED lamp cascade is lighted to can derive, the time that LED display screen actually need refresh the demonstration does: the refreshing display time of a single driving chip is equal to the number of the driving chips.
In another more optimized mode, each driving chip is controlled to drive through the mcu, so that the time for finishing refreshing the display is quicker. The time that the LED display screen actually needs to refresh the display is as follows: and the single driving chip finishes refreshing the display time. Specifically, a plurality of driving chips may be sequentially connected in series to the address bus, and the plurality of driving chips may be connected in parallel to the data bus; that is to say, a plurality of driving chips to be cascaded are connected in series by using an address bus, and the chips are all connected into a data bus, so that the working state of each driving chip is independent of the working states of other driving chips. The address signal of each driving chip is provided by an address bus, and the address number of each driving chip is obtained and stored by the address bus when the chip is powered on. And the data signal is provided by a data bus, and each driving chip only takes data which is in accordance with the address number of the driving chip on the data bus and lights the LEDs of each group. The display refreshing time actually required by adopting the method is the time for completing refreshing display by a single driving chip. And each driving control chip drives each corresponding LED lamp at the same time, so that the image display refreshing time is further shortened, and the image refreshing rate is improved.
Another embodiment of the method of the present invention, on the basis of any of the above method embodiments, before acquiring the animation source data, further includes: and reading the animation image played by the upper computer and generating corresponding animation source data.
Specifically, for example, the facial expression of the robot is displayed through an LED screen, the designed facial expression of the robot is generally realized through coding, and for a more complicated expression, the coding is more complicated, and especially, it is more difficult under the condition that more LED lamps are arranged on the LED screen. Especially if the animated images need to be adjusted at a later stage, it is more cumbersome and difficult to synchronize and modify the previously written code in turn. The embodiment skillfully solves the technical problem, the manual coding is complex, but the pictures are visual, so that the embodiment generates corresponding animation source data through the images, specifically, a user can draw pictures on the upper computer to draw animation images to be displayed, after the drawing of each animation image is completed, the animation images can be displayed on the upper computer, and then the animation images displayed on the upper computer are read through software such as a coding assistant, so that automatic coding is realized, and the corresponding animation source data are generated. For example, the design of the robot eye expression coding assistant can be realized on a Visual Studio2015 platform by using a C # language and through WPF. All the played animation source data can be generated after being designed through upper computer software, and the development difficulty of embedded software is reduced; and even if the previous animation needs to be adjusted and modified in the later period, the corresponding animation image can be directly modified on the upper computer, and then the corresponding animation source data is generated according to each modified animation image.
Specifically, the user can directly carry out the figure drawing on the host computer through the code assistant software, for example, can draw heart-shaped figure on the host computer as shown in fig. 5, the user wants to light a certain LED lamp, then directly click this LED lamp can, click certain LED lamp pearl, then the state of this lamp pearl is got in the reverse, just click then the bright state of going out that has changed this lamp pearl promptly. After the graph is drawn, the animation source data corresponding to the graph can be generated according to the graph automatic coding, for example, according to the heart-shaped image shown in fig. 5, the following data can be generated:
2 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x3C,
3 0xFC,0xFC,0xF8,0xFF,0xF1,0x9F,0x9F,0x09,0xFF,0xFF,
4 0xFF,0xFF,0xFF,0xBF,0xFF,0x1F,0xFF,0x3F,0xFC,0x3F,
5 0xF0,0x3F,0x40,0x00,0x00,0xE0,0xCF,0x0F,0x78,0x00,
6 0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
of the above data, 8bit data per byte represents whether or not 8 consecutive LED lamps are turned on as shown in fig. 5 (1 on 0 off). Therefore, all animation source data can be generated after being designed through the upper computer software, and the development difficulty of the embedded software is reduced; by adopting the technical scheme of the embodiment, new animation expressions are added more easily, and the product development rate is improved. And subsequently, modification and adjustment are carried out, the image can also be directly modified and adjusted, and the animation source data can be regenerated according to the modified animation image.
Based on the same technical concept, the invention also discloses a device for improving the image refresh rate of the LED display screen, and the device can refresh the animation image on the LED display screen by adopting the method for improving the image refresh rate of the LED display screen. Specifically, as shown in fig. 6, the apparatus for increasing the image refresh rate of the LED display screen includes: an obtaining module 10, configured to obtain animation source data, where the animation source data includes a plurality of frames of animation image data; the analysis processing module 20 is configured to analyze initial state data of each group of LED lamps on and off in the LED display screen when each frame of animation image in the animation source data is displayed on the LED display screen; each group of LED lamps corresponds to one driving chip; the array conversion module 30 is configured to perform array conversion on the initial state data of each group of LED lamps according to a pre-stored register position table of each group of LED lamps, where respective register address values of the group of LED lamps are stored in the register position table, and generate final state data arranged according to the register address values; and the driving control module 40 is configured to drive and control each corresponding group of LED lamps through each driving chip according to the final state data of each corresponding group of LED lamps of each driving chip, so as to complete display of each frame of animation image on the LED display screen, and further refresh a plurality of frames of animation images of the animation source data.
By adopting the device of the embodiment, when the animation image is refreshed on the LED display screen, each driving chip does not need to search each LED lamp register address one by one in the driving process when driving the corresponding LED lamp, but the initial state data of each group of LED lamps is obtained by the analysis processing module 20 according to the frame of animation image to be displayed, the register address value of each LED lamp in each group of LED lamps is searched by the array conversion module 30 according to the register position table of each group of LED lamps, then the final state data of each group of LED lamps is obtained by sequentially arranging according to the register address values, then the driving control module 40 only needs to know the register address value of the LED lamp corresponding to the first state data in the final state data when driving the LED lamp of each group according to the final state data of the group of LED lamps corresponding to each driving chip, after knowing the register address value of the first driven LED lamp, the driving can be performed sequentially according to the final state data of the group, for example, the final state data is arranged in the order from large to small according to the register address values of the LED lamps of the group, and when the driving is performed by the driving chip, the register address value of the subsequent LED lamp is decreased by 1 based on the register address value of the previous LED lamp. No further sequential lookups are required which is time consuming. Therefore, the time for driving display is greatly saved, and the image refreshing frequency of the LED display screen is improved.
In another embodiment of the apparatus of the present invention, as shown in fig. 7, on the basis of the above embodiment of the apparatus, the sequence transforming module 30 includes: the storage submodule 31 is configured to store a register position table of each group of LED lamps, where respective register address values of the group of LED lamps are stored in the register position table; the searching submodule 32 is configured to search, according to a pre-stored register position table of each group of LED lamps, a register address value of each LED lamp in a group of LED lamps corresponding to each driver chip; the state extraction submodule 33 is configured to obtain on-off state data of each LED lamp in the group of LED lamps corresponding to each driver chip according to initial state data of the group of LED lamps corresponding to each driver chip; and the arrangement submodule 34 is configured to sequentially arrange the on-off state data of each LED lamp in each group of LED lamps according to the size of the register address value of each LED lamp in each group of LED lamps, and obtain final state data of a group of LED lamps corresponding to each driving chip.
Specifically, the array transformation module 30 may be regarded as a mcu (micro controller), and the mcu end may store the register position table of each group of LED lamps, and of course, the animation source data acquired by the acquisition module 10 may also be compressed and stored in the flash of the mcu, so as to save resources. In order to facilitate the wiring of a hardware circuit, the LED lamps corresponding to each driving chip can be arranged in a sequence from small to large according to the address value of the register, and the number sequence conversion module 30 of the device can convert and obtain final state data arranged in a sequence from small to large according to the address value of the register, so that the subsequent rapid and continuous driving is facilitated. Therefore, the refreshing time of the single-frame animation image is greatly reduced, and the playing frequency is improved.
Preferably, the driving control module 40 of the apparatus of the present invention includes: the information obtaining submodule 41 is configured to obtain a first register address value of a first LED lamp when each driver chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip; the driving submodule 42 is configured to sequentially drive and control on and off of each LED lamp through the corresponding driving chip, starting from the LED lamp corresponding to the first register address value according to the final state data of each group of LED lamps; and the control submodule 43 is configured to determine that display of a current animation image frame to be displayed on the LED display screen is completed when all the driver chips complete driving control of the corresponding LED lamps, and control to enter display of a next frame of animation image, thereby implementing refresh of a plurality of frames of animation images of animation source data.
Specifically, the driving chip in this embodiment may adopt an IS31FL3731 driving chip, and a single IS31FL3731 driving chip, if connected as a single color lamp, can drive up to 144 LEDs. If 144 LED lamps of the driver chip are to be driven continuously, the software control method is as follows:
I2C _ Write _ N (IS31FL3731,0x24, I2C0_ leftes _ Transform _ Status _ Light,144) where IS31FL3731 represents chip address byte;
0x24 denotes the register address of the first driven LED lamp;
the brightness of each LED corresponding to the address from the first register address to the last register address is stored in the I2C0_ leftlayers _ Transform _ Status _ Light array and is arranged from small to large according to the register address value;
144 denotes the maximum length of this continuous drive.
In another embodiment of the device of the present invention, as shown in fig. 8, on the basis of any one of the above embodiments of the device, the information obtaining sub-module 41 is further configured to obtain the number of each group of LED lamps corresponding to each driving chip. The drive control module 40 further includes: the recording submodule 44 is used for recording the number of the LED lamps which are sequentially driven and controlled by the driving chip; the judging submodule 45 is configured to judge whether the number of on/off LED lamps sequentially driven and controlled by the driving chip reaches the number of LED lamps in each group corresponding to the driving chip; and when the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of the LED lamps corresponding to the driving chip, judging that the driving chip finishes the driving control of the corresponding LED lamps.
Preferably, on the basis of any one of the above embodiments of the apparatus, the apparatus for increasing the image refresh rate of the LED display screen further comprises: and the data generation module 50 is used for reading the animation image played by the upper computer and generating corresponding animation source data.
In another embodiment of the present invention, if fig. 9a, 9b, and 9c are 3 pictures in a moving picture, the lighting beads of each picture are different.
Firstly, the data generation module can generate animation source data according to the animation images, specifically comprises the three animation image data, namely codes of the automatically generated animation images, and the codes can show the on-off states (the on value is 1 and the off value is 0) of the LED lamps when the animation images are displayed on the LED display screen;
then, the obtaining module 10 obtains the animation source data, and then the analysis processing module 20 performs table lookup on the coded data of each image to find the register address value of the group of LED lamps corresponding to each driving chip, one LED display screen can be driven by a plurality of driving chips, and each driving chip corresponds to one group of LED lamps. And each LED has a status data for showing the on-off status according to the animation source data, and then the on-off status data (initial status data) of each LED lamp corresponding to each driving chip is sequenced according to the magnitude order of the register address value through the array conversion module 30, so as to obtain the final status data of the group of LED lamps.
Because the refresh mode adopted by the invention requires that the on-off state data of each LED lamp is arranged according to the order of the address value of each register, for example, arranged from small to large, the LED lamps corresponding to the address value of the register 0x24 are required to be arranged one by +1, but in the actual layout of hardware, most of the LED lamps are not arranged according to the order, so that if the fast refresh effect is to be realized, the original state data of each group of LED lamps needs to be subjected to several-row conversion, for example, the following software control is adopted:
uint16_t i=0;
for(i2ccnt=0;i2ccnt<144;i2ccnt++)
{
I2C0_Lefteyes_Transform_Status_Light[I2c0__Lefteyes_Status_Register[i2ccnt-0x24]=I2C_Lefteyes_Current_Status_Light[i2ccnt];
}
finally, the driving control module 40 drives the corresponding LED lamp according to the final state data of each group obtained by the array conversion module 30 and the corresponding driving chip according to the final state data of the group. For example, in the I2C refresh, since the final state data is arranged according to the magnitude sequence of the register address value, the control mode of continuous driving can be adopted, and the time is greatly reduced compared with the case that the address driving is searched by the single lamp one by one. Specifically, if there are 864 lamp beads in a picture, they are driven and controlled by IS31FL3731 driver chip, and 864 lamp beads require 6 driver chips for driving and controlling, each driver chip drives and controls 144 LED lamps. Now I2C uses 400HZ control frequency, the following compares the time used by the prior art and the inventive solution:
in the prior art, each LED is individually driven, and the software control is as follows:
I2C_Write(IS31FL3731,I2C_Lefteyes_Status_Light_Register[I2c0_Icnt],PWM_VALUE);
wherein IS31FL3731 represents the chip address byte;
the control Register corresponding to the Register address byte C1-1 is 0x24 and is stored in an I2C _ leftes _ Status _ Light _ Register [ I2C0_ Icnt ] array;
PWM _ VALUE represents data byte and represents the brightness of an LED lamp to be lightened, and the brightness is 255 grades, wherein 255 brightest 0 represents extinguishment.
The time required by the prior art is as follows: (2.5us 29 144) 6 62.64 ms.
In the scheme of the invention, all LEDs of the chip are continuously driven, and the software control mode is as follows:
I2C_Write_N(IS31FL3731,0x24,I2C0_Lefteyes_Transform_Status_Light,144)
wherein IS31FL3731 represents the chip address byte;
0x24 denotes a register address of a first driven LED lamp of consecutive driving;
the I2C0_ leftes _ Transform _ Status _ Light array stores the brightness of the LEDs from the head address to the tail address in sequence, and the brightness is arranged from small to large according to the register address value; when the LED lamp is continuously driven, adding 1 to the address of each LED lamp register;
144 denotes the maximum length of this continuous drive.
The time required by the scheme of the invention is as follows: (2.5us 29 +2.5 9 143) 6-19.74 ms, so that the playing frequency of 50 frames per second can be reached at the fastest speed;
obviously, the time required for displaying and refreshing each frame of animation image by using the prior art is 62.64ms at least, while the time required for displaying and refreshing each frame of animation image by using the technical scheme of the invention is 19.74ms at least, and the refreshing efficiency is improved by 3 times.
The device for improving the image refresh rate of the LED display screen solves the technical problems of single expression and too low refresh frequency of an embedded product, and by the device, the frame-by-frame playing is carried out, the playing frequency is higher than 50HZ at most, animation is smooth, and no visual residue exists.
The device embodiment of the present invention corresponds to the method embodiment of the present invention, and the technical details of the method embodiment of the present invention are also applicable to the device embodiment of the present invention, and are not described again for reducing the repetition.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for improving the image refresh rate of an LED display screen is characterized by comprising the following steps:
acquiring animation source data, wherein the animation source data comprises a plurality of frames of animation image data;
analyzing to obtain initial state data of each group of LED lamps on and off in the LED display screen when each frame of animation image in the animation source data is displayed on the LED display screen; each group of LED lamps corresponds to one driving chip;
according to a prestored register position table of each group of LED lamps, respective register address values of the group of LED lamps are stored in the register position table, and initial state data of each group of LED lamps are subjected to array conversion to generate final state data which are arranged according to the size of the register address values;
and according to the final state data of each group of LED lamps corresponding to each driving chip, each driving chip drives and controls each corresponding group of LED lamps to complete the display of each frame of animation image on the LED display screen, thereby realizing the refreshing of a plurality of frames of animation images of the animation source data.
2. The method as claimed in claim 1, wherein the generating of the final status data arranged according to the size of the register address value by performing an array transformation on the initial status data of each group of LED lamps according to a pre-stored register location table of each group of LED lamps, in which the register address values of each group of LED lamps are stored, comprises:
according to a prestored register position table of each group of LED lamps, respective register address values of one group of LED lamps are stored in the register position table, and the register address values of the LED lamps in the group of LED lamps corresponding to each driving chip are searched;
acquiring on-off state data of each LED lamp in a group of LED lamps corresponding to each driving chip according to the initial state data of the group of LED lamps corresponding to each driving chip;
and arranging the on-off state data of the LED lamps in each group of LED lamps in sequence according to the register address values of the LED lamps in each group of LED lamps to obtain the final state data of a group of LED lamps corresponding to each driving chip.
3. The method according to claim 1, wherein the driving chips respectively drive and control each group of corresponding LED lamps according to the final state data of each group of LED lamps corresponding to each driving chip to complete the display of each frame of animation image on the LED display screen, and further the refreshing of a plurality of frames of animation images of the animation source data comprises:
acquiring a first register address value of a first LED lamp when each driving chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip;
according to the final state data of each group of LED lamps, starting from the LED lamp corresponding to the address value of the first register, and sequentially driving and controlling the on and off of each LED lamp through the corresponding driving chip;
when all the driving chips finish the driving control of the corresponding LED lamps, the display of the animation image frame which is required to be displayed at present on the LED display screen is judged to be finished, the display of the next animation image frame is started, and then the refreshing of a plurality of frames of animation images of the animation source data is realized.
4. The method according to claim 3, wherein before the sequentially driving and controlling the on and off of the LED lamps by the corresponding driving chips from the LED lamp corresponding to the address value of the first register according to the final status data of each group of LED lamps, the method further comprises:
acquiring the number of each group of LED lamps corresponding to each driving chip;
the method comprises the following steps that according to the final state data of each group of LED lamps, starting from the LED lamp corresponding to the address value of the first register, the method sequentially drives and controls the on and off of each LED lamp through the corresponding driving chip, and then the method further comprises the following steps:
recording the number of the LED lamps which are sequentially driven and controlled by the driving chip to be on or off;
judging whether the number of the LED lamps which are sequentially driven and controlled by the driving chip is equal to the number of each group of LED lamps corresponding to the driving chip or not;
and when the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of the LED lamps corresponding to the driving chip, judging that the driving chip completes the driving control of each corresponding LED lamp.
5. The method for increasing the image refresh rate of the LED display screen according to any one of claims 1-4, further comprising:
and reading the animation image played by the upper computer and generating corresponding animation source data.
6. An apparatus for increasing the image refresh rate of an LED display screen, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring animation source data which comprises a plurality of frames of animation image data;
the analysis processing module is used for analyzing and obtaining initial state data of each group of LED lamps in the LED display screen when each frame of animation image in the animation source data is displayed on the LED display screen; each group of LED lamps corresponds to one driving chip;
the array conversion module is used for performing array conversion on initial state data of each group of LED lamps according to a pre-stored register position table of each group of LED lamps, and generating final state data which are arranged according to the register address values;
and the driving control module is used for driving and controlling each group of corresponding LED lamps through each driving chip according to the final state data of each group of corresponding LED lamps of each driving chip to complete the display of each frame of animation image on the LED display screen, so as to refresh a plurality of frames of animation images of the animation source data.
7. The apparatus of claim 6, wherein the array transformation module comprises:
the storage submodule is used for storing a register position table of each group of LED lamps, and the register position table stores respective register address values of one group of LED lamps;
the searching submodule is used for searching the register address value of each LED lamp in a group of LED lamps corresponding to each driving chip according to a prestored register position table of each group of LED lamps;
the state extraction submodule is used for acquiring on-off state data of each LED lamp in a group of LED lamps corresponding to each driving chip according to the initial state data of the group of LED lamps corresponding to each driving chip;
and the arrangement submodule is used for sequentially arranging the on-off state data of the LED lamps in each group of LED lamps according to the register address values of the LED lamps in each group of LED lamps to obtain the final state data of the group of LED lamps corresponding to each driving chip.
8. The apparatus of claim 6, wherein the driving control module comprises:
the information acquisition submodule is used for acquiring a first register address value of a first LED lamp when each driving chip drives the LED lamp for the first time; the first register address value is the register address value of the LED lamp corresponding to the first state data in the final state data of each group of LED lamps corresponding to the driving chip;
the driving submodule is used for sequentially driving and controlling the on and off of each LED lamp through the corresponding driving chip from the LED lamp corresponding to the address value of the first register according to the final state data of each group of LED lamps;
and the control submodule is used for judging that the display of the animation image frame which is required to be displayed at present on the LED display screen is finished when all the driving chips finish the driving control of the corresponding LED lamps, controlling the display of the next frame of animation image, and further refreshing a plurality of frames of animation images of the animation source data.
9. The apparatus for increasing the image refresh rate of LED display screen according to claim 8,
the information acquisition submodule is also used for acquiring the number of each group of LED lamps corresponding to each driving chip;
the drive control module further includes:
the recording submodule is used for recording the number of the LED lamps which are sequentially driven and controlled by the driving chip;
the judging submodule is used for judging whether the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of LED lamps corresponding to the driving chip; and when the number of the LED lamps which are sequentially driven and controlled by the driving chip reaches the number of each group of the LED lamps corresponding to the driving chip, judging that the driving chip completes the driving control of each corresponding LED lamp.
10. The apparatus of any one of claims 6 to 9, further comprising:
and the data generation module is used for reading the animation image played by the upper computer and generating corresponding animation source data.
CN201910642470.0A 2019-07-16 2019-07-16 Method and device for improving image refresh rate of LED display screen Active CN110517626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910642470.0A CN110517626B (en) 2019-07-16 2019-07-16 Method and device for improving image refresh rate of LED display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910642470.0A CN110517626B (en) 2019-07-16 2019-07-16 Method and device for improving image refresh rate of LED display screen

Publications (2)

Publication Number Publication Date
CN110517626A CN110517626A (en) 2019-11-29
CN110517626B true CN110517626B (en) 2020-10-09

Family

ID=68622735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910642470.0A Active CN110517626B (en) 2019-07-16 2019-07-16 Method and device for improving image refresh rate of LED display screen

Country Status (1)

Country Link
CN (1) CN110517626B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2664701B2 (en) * 1988-02-10 1997-10-22 株式会社東芝 Information display device
ES2169712T3 (en) * 1995-12-29 2003-10-16 Cree Inc LED MATRIX DISPLAY FROM DIFFERENT COLORS AND VOLTAGES.
TW482992B (en) * 1999-09-24 2002-04-11 Semiconductor Energy Lab El display device and driving method thereof
CN201838297U (en) * 2010-08-09 2011-05-18 太原中北新缘科技中心 CPLD (Complex programmable logic device)-based 8-bit liquid crystal display (LCD) control driving board
CN101964174A (en) * 2010-09-21 2011-02-02 康佳集团股份有限公司 Method and device for increasing refresh rate of light-emitting diode (LED) display screen and video display system
CN103729319A (en) * 2013-12-04 2014-04-16 上海斐讯数据通信技术有限公司 Equipment system based on serial bus and data transmission method
CN105761667B (en) * 2016-03-02 2018-05-08 大连集思特科技有限公司 LED intelligent glass video control methods
CN109752839B (en) * 2018-12-18 2021-06-08 华为技术有限公司 Processor, display control device, system, image processing method and device

Also Published As

Publication number Publication date
CN110517626A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
US20190180698A1 (en) Method for driving backlight module, driving device, display apparatus and backlight module
JP5312376B2 (en) Scanning display device control circuit
CN100435202C (en) Method and apparatus for driving liquid crystal display
US9589514B2 (en) Methods and apparatus for reduced bandwidth pulse width modulation
CN113066423A (en) LED display drive control method and device
CN104751787A (en) Organic Light Emitting Diode Display Device And Method Of Driving The Same
CN104637449B (en) The method for driving active matrix organic LED panel
CN102222469A (en) Dynamic imaging device of LED lampstandards and application of same in tunnel advertisements
CN112102449A (en) Virtual character generation method, virtual character display device, virtual character equipment and virtual character medium
CN1107936C (en) Programmable display device
CN110517626B (en) Method and device for improving image refresh rate of LED display screen
KR101891971B1 (en) Display apparatus and driving method thereof
CN116057496B (en) Apparatus and method for data transmission when displaying images on an LED panel
CN104714333B (en) Display device and control method
CN106935213B (en) Low-delay display system and method
WO2022021529A1 (en) Backlight processing system, apparatus and method, backlight driver, and storage medium
CN1905663A (en) Method and apparatus of frame frequency conversion
CN202205428U (en) Tunnel advertisement
WO2021238040A1 (en) Control method and apparatus for realizing animation effects for light fixture, device and storage medium
CN113205785A (en) Frame display signal synchronization method, display device, electronic apparatus, and storage medium
CN106297648B (en) Light emitting diode control method
KR101607431B1 (en) Method and apparatus for real-time image processing using motion recognition
CN115102808B (en) Information interaction method and device and automobile
US11817036B2 (en) Display apparatus and control method thereof
JP7094732B2 (en) Projection device and its control method

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
GR01 Patent grant
GR01 Patent grant