CN108053791B - The pulse modulation method and device of video frame driving signal - Google Patents
The pulse modulation method and device of video frame driving signal Download PDFInfo
- Publication number
- CN108053791B CN108053791B CN201711339297.4A CN201711339297A CN108053791B CN 108053791 B CN108053791 B CN 108053791B CN 201711339297 A CN201711339297 A CN 201711339297A CN 108053791 B CN108053791 B CN 108053791B
- Authority
- CN
- China
- Prior art keywords
- video frame
- pulse
- pulse width
- frame
- time slot
- 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
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control 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/22—Control 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/30—Control 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/32—Control 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]
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/01—Shaping pulses
- H03K5/04—Shaping pulses by increasing duration; by decreasing duration
Abstract
The invention discloses the pulse modulation methods and device of a kind of video frame driving signal, wherein method includes: the pulse width m for obtaining high level in PWM modulation period and PWM modulation period;To n-th frame video frame, the PWM modulation period is divided into NnA time slot, and pulse width m is divided into NnOne's share of expenses for a joint undertaking pulse;According to preset rules LocnBy NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to NnIn a time slot, the PWM modulation signal of n-th frame video frame is obtained;Judge whether n-th frame video frame is last frame video frame;When n-th frame video frame is not last frame video frame, the value of n adds 1, and returns and execute above-mentioned second step.By the way that the pulse width of the high level in the PWM modulation period is arbitrarily split, it is assigned randomly in each time slot that the PWM modulation period splits out, the display advantage of different allocation plans can be integrated, the unlatching turn-off number of times and vision refresh rate of LED are balanced simultaneously, promote whole display effect, low ash display effect and vision refresh rate.
Description
Technical field
The present invention relates to image technique fields, and in particular to a kind of pulse modulation method and dress of video frame driving signal
It sets.
Background technique
LED gray scale can also be referred to as LED luminance.Tonal gradation is also referred to as semi-tone (Half-tone), is mainly used for passing
Send picture, have three ways, such as 16 grades, 32 grades, 64 grades respectively, it using matrix disposal mode by the processes pixel of file at 16,
32,64 grades of levels keep the picture of transmission apparent.Either monochromatic, double-colored, three color screens, will show that image or animation require
The luminous gray scale of each LED for constituting pixel is adjusted, the fine degree adjusted is exactly described tonal gradation.
General there are two types of the methods of control LED gray scale: one is the electric current that change is flowed through, general LED pipe allows continuous work
Make electric current at 20 milliamperes or so, other than red LED has saturated phenomenon, other LED gray scales substantially with the electric current that flows through at than
Example;Another method is the visual persistence using human eye, with pulse width modulation (Pulse Width Modulation, abbreviation
Gray-scale Control is realized for PWM) method, that is, the width (i.e. duty ratio) of periodically-varied modulation pulse, as long as this is heavy
The complex point bright period is short enough (i.e. refreshing frequency is sufficiently high), and human eye is that imperceptible light-emitting pixels are being shaken.
Since PWM is more suitable for digital control, so almost all of LED screen is all using pulsewidth modulation in the prior art
To control tonal gradation.Specifically, the value for inputting pixel is converted to electronic impulse by PWM, and the width of pulse depends on defeated
Enter the size of the value of pixel, high level then lights LED, and otherwise LED does not work.Within the period that a repetition is lighted, each picture
Vegetarian refreshments only needs 4 pulses under 16 grades of gray scales, and 256 grades of gray scales lower needs 8 pulses, greatly reduces serial transmission frequency.
Therefore, LED accumulation lighting time is longer in pulse more wide then each modulation period, and LED illuminance is bigger;Conversely, each modulation week
Accumulation lighting time phase LED is shorter, and illumination is lower, thereby realizes basic LED tonal gradation and shows.
Wherein, more commonly used mode is that a PWM cycle is divided into more parts, high level width and low level in every part
The ratio of width is consistent with the low and high level width ratio before not breaing up, improves vision refresh rate with this.
However, due to driving current LED unlatching after a period of time be often it is unstable, cannot reach specified moment
Current value, brightness can lose, in the technical scheme, due to the high level method of salary distribution, time slot allocation mode and every
High level initial position is fixed in a time slot, so that final brightness aggregated loss increases, the efficiency for causing low ash to show
Same pixel value LED luminance differs greatly under low, low ash.
Summary of the invention
In view of this, the embodiment of the invention provides the pulse modulation method and device of a kind of video frame driving signal, with
Solve the problems, such as that the unstable caused low ash display efficiency of the electric current of the unlatching moment of video frame in the prior art is low.
First aspect present invention provides a kind of pulse modulation method of video frame driving signal, comprising the following steps:
Step S1 obtains the pulse width m of high level in PWM modulation period and PWM modulation period;
The PWM modulation period is divided into N to n-th frame video frame by step S2nA time slot, and by the pulse width m
It is divided into NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides;
Step S3, according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to the NnIn a time slot, obtain
To the PWM modulation signal of n-th frame video frame, wherein the preset rules LocnIndicate the allocation rule to n-th frame video frame,
It provides that every one's share of expenses for a joint undertaking pulse and each time slot traverse once in assigning process;
Step S4 judges whether the n-th frame video frame is last frame video frame;
Step S5, when the n-th frame video frame is not last frame video frame, the value of n adds 1, and returns to step S2,
When the n-th frame video frame is last frame video frame, terminate impulse modulation.
Optionally, according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to the NnIn a time slot, packet
It includes:
According to according to preset rules LocnDetermine the initial position of the high level in each time slot;
The subpulse is distributed based on the initial position.
Optionally, described that the pulse width m is divided into NnOne's share of expenses for a joint undertaking pulse, comprising:
When the pulse width m is 0, the pulse width of the high level of every one's share of expenses for a joint undertaking pulse is 0;
When the pulse width m is less than or equal to NnWhen, at least NnThe pulse width of the high level of-m subpulses
It is 0;
When the pulse width m is greater than NnWhen, the pulse width is divided into NnPart.
Optionally, described that the pulse width m is divided into NnOne's share of expenses for a joint undertaking pulse, comprising:
Obtain the time slot width of the time slot;
The pulse width is divided into NnThe subpulse of the pulse width consecutive variations of part high level, wherein the son
The pulse width of maximum high level is less than or equal to the time slot width in pulse.
Optionally, the preset rules LocnIt distributes including the adjacent subpulse of the pulse width by high level to phase
In the adjacent time slot.
Second aspect of the present invention provides a kind of impulse modulation device of video frame driving signal, comprising:
Acquiring unit, for obtaining the pulse width m of high level in PWM modulation period and PWM modulation period;
Division unit, for n-th frame video frame, the PWM modulation period to be divided into NnA time slot, and by the pulse
Width m is divided into NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides;
Allocation unit, for according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to the NnWhen a
In gap, the PWM modulation signal of n-th frame video frame is obtained, wherein the preset rules LocnExpression divides n-th frame video frame
With rule, provide that every one's share of expenses for a joint undertaking pulse and each time slot traverse once in assigning process;
Judging unit, for judging whether the n-th frame video frame is last frame video frame;
Numerical value adjustment unit, for not being last frame video frame when the n-th frame video frame, the value of n adds 1, and returns
Division unit;
Stop unit terminates impulse modulation for being last frame video frame when the n-th frame video frame.
Optionally, the allocation unit includes:
Subelement is determined, for according to according to preset rules LocnDetermine the initial position of the high level in each time slot;
Subelement is distributed, for distributing the subpulse based on the initial position.
Optionally, described that the pulse width m is divided into NnOne's share of expenses for a joint undertaking pulse, comprising:
When the pulse width m is 0, the pulse width of the high level of every one's share of expenses for a joint undertaking pulse is 0;
When the pulse width m is less than or equal to NnWhen, at least NnThe pulse width of the high level of-m subpulses
It is 0;
When the pulse width m is greater than NnWhen, the pulse width is divided into NnPart.
Third aspect present invention provides a kind of LED display, including at least one processor;And with it is described at least
The memory of one processor communication connection;Wherein, the memory is stored with the instruction that can be executed by one processor,
Described instruction is executed by least one described processor, so that at least one described processor executes first aspect present invention or the
The pulse modulation method of video frame driving signal described in any one of one side.
Fourth aspect present invention provides a kind of non-transient computer readable storage medium, and the non-transient computer is readable
Storage medium stores computer instruction, and the computer instruction is for making computer execute first aspect present invention or first aspect
Any one of described in video frame driving signal pulse modulation method.
Technical solution provided by the invention, has the following beneficial effects:
1. the pulse modulation method of video frame driving signal provided by the invention, by the way that the height in the PWM modulation period is electric
Flat pulse width is arbitrarily split, and is assigned randomly in each time slot that the PWM modulation period splits out, can be integrated different distribution
The display advantage of scheme, while balancing the unlatching turn-off number of times and vision refresh rate of LED, to promote whole display effect, low
Grey display effect and vision refresh rate.
2. the pulse modulation method of video frame driving signal provided by the invention, is determined in each time slot by preset rules
The initial position of high level determines the opening time of LED, using the initial position of high level so as to make full use of vision
Persistence effect promotes display effect.
3. the pulse modulation method of video frame driving signal provided by the invention, by the way that the pulse width of high level is adjacent
Subpulse distribute into adjacent time slot so that the pulse width of high level corresponding in all time slots gradually changes, make
It is high-efficient to obtain the pulse modulation method, it is easy to accomplish.
Detailed description of the invention
The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, and attached drawing is schematically without that should manage
Solution is carries out any restrictions to the present invention, in the accompanying drawings:
What Fig. 1 show the pulse modulation method of video frame driving signal in the embodiment of the present invention 1 one specifically illustrated
Method flow diagram;
Specifically illustrate Fig. 2 shows one of the pulse modulation method of video frame driving signal in the embodiment of the present invention 2
Method flow diagram;
What Fig. 3 show the pulse modulation method of video frame driving signal in the embodiment of the present invention 3 one specifically illustrated
Method flow diagram;
What Fig. 4 show the impulse modulation device of video frame driving signal in the embodiment of the present invention 5 one specifically illustrated
Structure chart;
Fig. 5 shows a structure chart specifically illustrated of LED display in the embodiment of the present invention 6.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Those skilled in the art are it is to be appreciated that LED display includes several pixels, wherein for monochromatic LED screen
For, the corresponding LED of each pixel;For color LED screen, each pixel is by R, the LED group of tri- kinds of colors of G, B
At.Realize the display of image by controlling the light on and off of each pixel, i.e., by the bright of the LED of control composition pixel with
It goes out to realize, the value of specific available pixel point indicates the brightness of the pixel.
In addition, corresponding to a PWM modulation signal for each LED, the pulse width of high level is LED in PWM
The time lighted, low level width are the time that LED extinguishes.
The present invention provides a kind of pulse modulation method of video frame driving signal, specially a kind of dynamic distributed pulse
Width modulated (Dynamic Distributed Pulse Width Modulation, referred to as DDPWM), i.e. dynamic divide not
With the number of time slot of video frame, the pulse width of high level and initial position in each video frame different time-gap are dynamically distributed,
The pulse width of high level in one PWM modulation signal is distributed in each time slot.Wherein, after distribution, in all time slots
Before the sum of pulse width of high level, with distribution, the pulse width of high level is consistent in a PWM modulation signal.
Embodiment 1
The present embodiment provides a kind of pulse modulation methods of video frame driving signal, can be used for the arteries and veins of video frame driving signal
In modulated device.As shown in Figure 1, method includes the following steps:
Step S11 obtains the pulse width m of high level in PWM modulation period and PWM modulation period.
Since video frame is shown based on LED display, the impulse modulation of video frame driving signal and specific
LED display hardware configuration it is related.Specifically, which can show that the bit wide of image is D bit, that
Corresponding to the PWM modulation period in video frame is 2DA clock cycle.
The impulse modulation device of video frame driving signal can show the bit wide of image by obtaining LED display, i.e.,
The PWM modulation period can be obtained.
In addition, value of the impulse modulation device of video frame driving signal by the pixel of the extraneous input of acquisition, by its turn
It is melted into after electric signal, the pulse width m of high level in the PWM modulation period corresponding to the pixel can be obtained.
One section of video flowing is made of several video frames, and the impulse modulation device of video frame driving signal needs successively to each
A video frame carries out the processing of following step.
The PWM modulation period is divided into N to n-th frame video frame by step S12nA time slot, and pulse width m is divided
For NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides.
For the n-th frame video frame in video flowing, the impulse modulation device of video frame driving signal is all by PWM modulation
Phase is divided into NnA time slot.Corresponding to different video frames, the quantity of the time slot divided can be different, can also be identical.
Wherein, the quantity of current processed video frame is indicated using n.
For example, certain LED display can show that the bit wide of image is 8bit, then corresponding to PWM modulation in video frame
Period is 28A clock cycle, if the PWM modulation period is divided into 8 time slots, each time slot has 32 clocks
Period.
In addition, the impulse modulation device of video frame driving signal divides the pulse width m of high level in the PWM modulation period
For NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides.It should be noted that corresponding to difference
Video frame, video frame divide after subpulse quantity may be the same or different;The pulse of high level in each subpulse
Width may be the same or different, and only need to guarantee, the sum of pulse width of high level of all subpulses after division with draw
Pulse width m before point is equal, that is, needs to meet following formula:
Wherein, miFor the pulse width of the high level of i-th of subpulse.
For example, the pulse width m=60 of high level is divided into 8 corresponding to the number of time slot in the PWM modulation period
Part, the pulse width of high level is respectively 4,5,6,7,7,7,9,15 in every one's share of expenses for a joint undertaking pulse.
Step S13, according to preset rules LocnBy NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to NnIn a time slot, n-th frame is obtained
The PWM modulation signal of video frame, wherein preset rules LocnIndicate that the allocation rule to n-th frame video frame, regulation were distributed
Every one's share of expenses for a joint undertaking pulse and each time slot traverse once in journey.
The impulse modulation device of video frame driving signal is according to the preset allocation rule to n-th frame video frame, by NnPart
Subpulse is not repeatedly distributed to NnIn a time slot, the PWM modulation signal of n-th frame video frame is obtained.
Specific allocation rule can be adjusted according to the actual situation, i.e., different video frames can use different distribution
Rule can also use identical allocation rule.Only it need to guarantee that every one's share of expenses for a joint undertaking pulse and each time slot traverse one in assigning process
It is secondary.
Step S14 judges whether n-th frame video frame is last frame video frame.When the judgment result is no, step is executed
S15;Otherwise, terminate impulse modulation.
The impulse modulation device of video frame driving signal is after the impulse modulation to n-th frame video frame is completed, by sentencing
The video frame of breaking whether be video flowing last frame video frame, it is determined whether need to terminate impulse modulation.
Specifically, it is stored with the sum of video frame in video flowing in the impulse modulation device of video frame driving signal, leads to
The size relation between the sum of the quantity and video frame that add up current processed video frame is crossed, can whether be judged
Last frame video frame is handled.
The value of step S15, n add 1, and return to step S12.
Confirming currently processed video frame not in the impulse modulation device of video frame driving signal is last frame video frame
When, after the parameter n for being used to indicate processed video frame quantity is added 1, return to step S12.
Above-mentioned circulation is constantly repeated, until last frame video frame is disposed, the pulse tune of the video flowing can be completed
System.
The present embodiment is assigned randomly to PWM tune by arbitrarily splitting the pulse width of the high level in the PWM modulation period
In each time slot that period processed splits out, the display advantage of different allocation plans can be integrated, while balancing the unlatching shutdown of LED
Number and vision refresh rate, to promote whole display effect, low ash display effect and vision refresh rate.
Embodiment 2
The present embodiment provides a kind of pulse modulation methods of video frame driving signal, can be used for the arteries and veins of video frame driving signal
In modulated device.As shown in Fig. 2, method includes the following steps:
Step S21 obtains the pulse width m of high level in PWM modulation period and PWM modulation period.
Identical as 1 step S11 of embodiment, details are not described herein.
The PWM modulation period is divided into N to n-th frame video frame by step S22nA time slot, and pulse width m is divided
For NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides.
Identical as 1 step S12 of embodiment, details are not described herein.
Step S23, according to preset rules LocnBy NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to NnIn a time slot, n-th frame is obtained
The PWM modulation signal of video frame, wherein preset rules LocnIndicate that the allocation rule to n-th frame video frame, regulation were distributed
Every one's share of expenses for a joint undertaking pulse and each time slot traverse once in journey.
The impulse modulation device of video frame driving signal is specific to need according to preset rules when carrying out subpulse distribution
In, the regulation of initial position of each subpulse in corresponding time slot is carried out.Specifically includes the following steps:
Step S231, according to according to preset rules LocnDetermine the initial position of the high level in each time slot.
Corresponding to different video frames, preset rules be may be the same or different.Wherein, it can be incited somebody to action in preset rules
Allocation rule one of of the initial position of high level in each time slot as subpulse.I.e. for specific video frame, distribution
Rule has determined that the initial position of the high level in corresponding time slot.
Step S232 distributes subpulse based on initial position.
The initial position of high level in different time-gap is had determined that in preset rules, then the arteries and veins of video frame driving signal
Modulated device needs to carry out according to corresponding initial position when carrying out subpulse distribution.
For example, the initial position of each time slot determined in preset rules is identical, i.e., in the 3rd clock week of each time slot
The position of phase has high level, then when carrying out the distribution of subpulse, the initial position of the subpulse distributed in each time slot
For the position of the 3rd clock cycle.
Step S24 judges whether n-th frame video frame is last frame video frame.When the judgment result is no, step is executed
S25;Otherwise, terminate impulse modulation.
Identical as 1 step S14 of embodiment, details are not described herein.
Step S25, when the n-th frame video frame is not last frame video frame, the value of n adds 1, and returns to step
S22。
Identical as 1 step S15 of embodiment, details are not described herein.
The specific steps details not being described in detail in the present embodiment, please refers to embodiment 1, details are not described herein.
Embodiment 3
The present embodiment provides a kind of pulse modulation methods of video frame driving signal, can be used for the arteries and veins of video frame driving signal
In modulated device.As shown in figure 3, method includes the following steps:
Step S31 obtains the pulse width m of high level in PWM modulation period and PWM modulation period.
Identical as 2 step S21 of embodiment, details are not described herein.
The PWM modulation period is divided into N to n-th frame video frame by step S32nA time slot, and pulse width m is divided
For NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides.
Specifically, comprising the following steps:
The PWM modulation period is divided into N to n-th frame video frame by step S321nA time slot.
Similar with 2 step S22 of embodiment, details are not described herein.
Step S322 obtains the time slot width of time slot.
The impulse modulation device of video frame driving signal, which gets LED display, can show that the bit wide of image is D
bit, then corresponding to the PWM modulation period in video frame is 2DThe PWM modulation period is being divided into N by a clock cyclenWhen a
After gap, the impulse modulation device of video frame driving signal is able to confirm that the time slot width of each time slot is
For example, for example, certain LED display can show that the bit wide of image is 8bit, then corresponding to PWM in video frame
Modulation period is 28A clock cycle, if the PWM modulation period is divided into 8 time slots, each time slot has 32
Clock cycle.
Pulse width m is divided into N by step S323nThe subpulse of the pulse width consecutive variations of part high level, wherein
The pulse width of maximum high level is less than or equal to time slot width in subpulse.
The impulse modulation device of video frame driving signal determines subpulse when carrying out subpulse division, according to time slot width
In maximum high level pulse width, i.e., in subpulse the pulse width of maximum high level be less than or equal to time slot width.
For example, according in above-mentioned example, when the pulse width of maximum high level should be less than or equal in the subpulse that is marked off
Gap width 32.
The impulse modulation device of video frame driving signal confirmation subpulse in maximum high level pulse width after,
According to the principle that the pulse width of the high level of subpulse is successively successively decreased, the division of subpulse is carried out, pulse width m is divided into
NnThe subpulse of the pulse width consecutive variations of part high level.
For example, the pulse width m=60 of high level is preset in total with 8 time slots according to above-mentioned in the PWM modulation period
Rule, the pulse width of the high level for the subpulse that can be marked off are respectively as follows: 4,5,6,7,8,9,10,11.
During actual division, according to the difference of the specific value of the pulse width m of high level in the PWM modulation period,
Following three kinds of situations can be divided into:
1) when pulse width m is 0, the pulse width of the high level of every one's share of expenses for a joint undertaking pulse is 0.
The pulse width m of the impulse modulation device confirmation of video frame driving signal at this time is 0, then the every height marked off
The pulse width of the high level of pulse is all 0.
2) when pulse width m is less than or equal to NnWhen, at least NnThe pulse width of the high level of-m subpulses is 0.
By the pulse width of the high level of the subpulse marked off a minimum clock cycle, if institute
There are the pulse width of the high level of subpulse all clock cycle, then having NnThe arteries and veins of the high level of-m subpulses
Rushing width is 0.It is less than or equal to N in pulse width mnWhen, at least NnThe pulse width of the high level of-m subpulses is 0.
3) when pulse width m is greater than NnWhen, pulse width is divided into NnPart.
Step S33, according to preset rules LocnBy NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to NnIn a time slot, n-th frame is obtained
The PWM modulation signal of video frame, wherein preset rules LocnIndicate that the allocation rule to n-th frame video frame, regulation were distributed
Every one's share of expenses for a joint undertaking pulse and each time slot traverse once in journey.
In the present embodiment, preset rules LocnFor the adjacent subpulse of the pulse width by high level distribute to it is adjacent when
In gap.For example, the high-level pulse width of subpulse is 4,5,6,7,7,7,9,15, in the son for being 4 by high-level pulse width
After pulse distribution is to time slot 1, then being 5 for the high-level pulse width for the subpulse that time slot 2 is distributed.The allocation rule
The consecutive variations that can guarantee the high level of adjacent time-slots can be improved vision refresh rate.
Step S34 judges whether n-th frame video frame is last frame video frame.When the judgment result is no, step is executed
S35;Otherwise, terminate impulse modulation.
Identical as 2 step S24 of embodiment, details are not described herein.
The value of step S35, n add 1, and return to step S321.
Identical as 2 step S25 of embodiment, details are not described herein.
The specific steps details not being described in detail in the present embodiment, please refers to embodiment 2, details are not described herein.
Embodiment 4
The present embodiment provides an a kind of specific application examples of the pulse modulation method of video frame driving signal, specifically such as
Shown in lower:
1. a PWM modulation period is arbitrarily divided into several time slots (slot), the number of time slot can be according to reality
Refresh rate to be achieved and clock frequency calculate.
2. distributing certain high level time in each time slot under a PWM modulation period, guarantee high in all time slots
Level accounts for the cumulative of time and accounts for the cumulative and consistent of time with high level before equal part, realizes the aobvious of distributed pulsewidth modulation with this
Show effect.
3. in each time slot the initial position of high level can arbitrary disposition, visual persistence effect can be made full use of to mention in this way
Rise display effect.
To modulate bit wide as 8bit image, the value of pixel is 60, and each time slot high level initial position is incremented by 1, each
The high pulse width that time slot is got is incremented by for 1.
One PWM modulation period is 256 clock cycle, i.e., 28If being divided into 8 time slots, each time slot 32
A clock cycle.Its distribution pattern is as follows:
In this example, high level initial position fits at the 0th clock position in time slot 0;High level initial position in time slot 1
It fits at the 1st clock position;Until high level initial position fits at the 7th clock position in time slot 7.The width of pulse from
Time slot 0 is assigned as 4,5,6,7,8,9,10,11 to time slot 7 respectively.
4. the specific time slot allocation pattern of each frame in continuous different frame can according to the specific physical parameter of lamp bead and
Actual effect dynamic is equipped with different patterns.
For example, the pattern that first frame is used with above-mentioned 3, the 2nd frame can be on this pattern, the initial position of each time slot
The duty ratio in a numerical value or even each time slot is independently added and subtracted to try again again adjustment etc..
Since every kind of pattern all has respective image appearance power by oneself, some patterns are conducive to improve refresh rate, some figures
Case is conducive to improve image sophistication, some patterns are conducive to show grayscale etc..This method organically mixes various patterns,
So that whole display effect reaches optimum balance.
5. on the other hand, it is also dynamic and configurable that different frame, which splits into how many a time slots, i.e., dynamically controls every frame PWM modulation
The number of time slot that period divides equally.Each PWM modulation period is divided into multiple time slots, increases LED in this way and opens turn-off number of times.No
Any fractionation time slot at same frame can balance LED and open turn-off number of times and vision refresh rate, thus promoted low ash display effect and
Vision refresh rate.
1 time slot is split with first frame PWM modulation, the second frame PWM modulation is divided into for 32 time slots.First frame LED
Shutdown 1 time is opened, first frame LED, which is opened, to be turned off 32 times, successively opens shutdown 33 times altogether, promotes 16.5 times together in vision refresh rate
When, effectively reduce LED display loss.
Embodiment 5
The present embodiment provides a kind of impulse modulation devices of video frame driving signal, can be used for executing embodiment 1 to implementation
The pulse modulation method of video frame driving signal in example 4.As shown in figure 4, the device includes:
Acquiring unit 41, for obtaining the pulse width m of high level in PWM modulation period and PWM modulation period.
Division unit 42, for n-th frame video frame, the PWM modulation period to be divided into NnA time slot, and by the arteries and veins
It rushes width m and is divided into NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides.
Allocation unit 43, for according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to the NnIt is a
In time slot, the PWM modulation signal of n-th frame video frame is obtained, wherein the preset rules LocnIt indicates to n-th frame video frame
Allocation rule provides that every one's share of expenses for a joint undertaking pulse and each time slot traverse once in assigning process.
Judging unit 44, for judging whether n-th frame video frame is last frame video frame.
Numerical value adjustment unit 45, for not being last frame video frame when n-th frame video frame, the value of n adds 1, and returns and draw
Sub-unit.
Stop unit 46 terminates impulse modulation for being last frame video frame when n-th frame video frame.
A kind of optional embodiment as the present embodiment, wherein allocation unit includes:
Subelement is determined, for according to according to preset rules LocnDetermine the initial position of the high level in each time slot;
Subelement is distributed, for distributing the subpulse based on initial position.
Another optional embodiment as the present embodiment, wherein pulse width m is divided into NnOne's share of expenses for a joint undertaking pulse, packet
It includes:
When pulse width m is 0, the pulse width of the high level of every one's share of expenses for a joint undertaking pulse is 0.
When pulse width m is less than or equal to NnWhen, at least NnThe pulse width of the high level of-m subpulses is 0.
When pulse width m is greater than NnWhen, pulse width is divided into NnPart.
Embodiment 6
Fig. 5 is the hardware structural diagram of LED display provided in an embodiment of the present invention, as shown in figure 5, the device packet
One or more processors 51 and memory 52 are included, in Fig. 5 by taking a processor 51 as an example.
Processor 51 can be connected with memory 52 by bus or other modes, to be connected as by bus in Fig. 5
Example.
Processor 51 can be central processing unit (Central Processing Unit, CPU).Processor 51 can be with
For other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
The combination of the chips such as discrete hardware components or above-mentioned all kinds of chips.General processor can be microprocessor or the processing
Device is also possible to any conventional processor etc..
Memory 52 is used as a kind of non-transient computer readable storage medium, can be used for storing non-transient software program, non-
Transient computer executable program and module, such as the pulse modulation method pair of the video frame driving signal in the embodiment of the present invention
Program instruction/the module answered.Non-transient software program, instruction and the mould that processor 51 is stored in memory 52 by operation
Block, thereby executing the various function application and data processing of server, i.e., in realization above-described embodiment, video frame driving signal
Pulse modulation method.
Memory 52 may include storing program area and storage data area, wherein storing program area can storage program area,
Application program required at least one function;Storage data area can store the impulse modulation device according to video frame driving signal
Use created data etc..In addition, memory 52 may include high-speed random access memory, it can also include non-transient
Memory, for example, at least a disk memory, flush memory device or other non-transient solid-state memories.In some implementations
In example, optional memory 52 includes the memory remotely located relative to processor 51, these remote memories can pass through net
Network is connected to the impulse modulation device of video frame driving signal.The example of above-mentioned network includes but is not limited to internet, in enterprise
Portion's net, local area network, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 52, when by one or more of processors 51
When execution, the pulse modulation method of video frame driving signal described in any one of embodiment 1 to embodiment 4 is executed.
Method provided by the embodiment of the present invention can be performed in the said goods, has the corresponding functional module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, for details, reference can be made to the correlations in embodiment as shown in Figure 1 to retouch
It states.
Embodiment 7
The embodiment of the invention also provides a kind of non-transient computer storage medium, the computer storage medium is stored with
Video frame described in any one of embodiment 1 to embodiment 4 can be performed in computer executable instructions, the computer executable instructions
The pulse modulation method of driving signal.Wherein, the storage medium can be magnetic disk, CD, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), flash memory (Flash
Memory), hard disk (Hard Disk Drive, abbreviation: HDD) or solid state hard disk (Solid-State Drive, SSD) etc.;Institute
State the combination that storage medium can also include the memory of mentioned kind.
It is that can lead to it will be understood by those skilled in the art that realizing all or part of the process in above-described embodiment method
Computer program is crossed to instruct relevant hardware and complete, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (ROM) or random access memory (RAM) etc..
Although being described in conjunction with the accompanying the embodiment of the present invention, those skilled in the art can not depart from the present invention
Spirit and scope in the case where various modifications and variations can be made, such modifications and variations are each fallen within by appended claims institute
Within the scope of restriction.
Claims (10)
1. a kind of pulse modulation method of video frame driving signal, which comprises the following steps:
Step S1 obtains the pulse width m of high level in PWM modulation period and PWM modulation period;
The PWM modulation period is divided into N to n-th frame video frame by step S2nA time slot, and the pulse width m is divided into
NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides;
Step S3, according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to the NnIn a time slot, is obtained
The PWM modulation signal of n frame video frame, wherein the preset rules LocnIndicate the allocation rule to n-th frame video frame, rule
Determine every one's share of expenses for a joint undertaking pulse and each time slot in assigning process to traverse once;
Step S4 judges whether the n-th frame video frame is last frame video frame;
Step S5, when the n-th frame video frame is not last frame video frame, the value of n adds 1, and returns to step S2, works as institute
Stating n-th frame video frame is last frame video frame, terminates impulse modulation.
2. pulse modulation method according to claim 1, which is characterized in that according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking
Pulse is not repeatedly distributed to the NnIn a time slot, comprising:
According to according to preset rules LocnDetermine the initial position of the high level in each time slot;
The subpulse is distributed based on the initial position.
3. pulse modulation method according to claim 1 or 2, which is characterized in that described to be divided into the pulse width m
NnOne's share of expenses for a joint undertaking pulse, comprising:
When the pulse width m is 0, the pulse width of the high level of every one's share of expenses for a joint undertaking pulse is 0;
When the pulse width m is less than or equal to NnWhen, at least NnThe pulse width of the high level of-m subpulses is 0;
When the pulse width m is greater than NnWhen, the pulse width is divided into NnPart.
4. pulse modulation method according to claim 1 or 2, which is characterized in that described to be divided into the pulse width m
NnOne's share of expenses for a joint undertaking pulse, comprising:
Obtain the time slot width of all time slots;
The pulse width is divided into NnThe subpulse of the pulse width consecutive variations of part high level, wherein in the subpulse
The pulse width of maximum high level is less than or equal to the time slot width.
5. pulse modulation method according to claim 2, which is characterized in that the preset rules LocnIncluding by high level
The adjacent subpulse of pulse width distribute into the adjacent time slot.
6. a kind of impulse modulation device of video frame driving signal characterized by comprising
Acquiring unit, for obtaining the pulse width m of high level in PWM modulation period and PWM modulation period;
Division unit, for n-th frame video frame, the PWM modulation period to be divided into NnA time slot, and by the pulse width m
It is divided into NnOne's share of expenses for a joint undertaking pulse, wherein NnIndicate the subpulse quantity after n-th frame video frame divides;
Allocation unit, for according to preset rules LocnBy the NnOne's share of expenses for a joint undertaking pulse is not repeatedly distributed to the NnIn a time slot,
Obtain the PWM modulation signal of n-th frame video frame, wherein the preset rules LocnIndicate that the distribution to n-th frame video frame is advised
Then, provide that every one's share of expenses for a joint undertaking pulse and each time slot traverse once in assigning process;
Judging unit, for judging whether the n-th frame video frame is last frame video frame;
Numerical value adjustment unit, for not being last frame video frame when the n-th frame video frame, the value of n adds 1, and returns to division
Unit;
Stop unit terminates impulse modulation for being last frame video frame when the n-th frame video frame.
7. impulse modulation device according to claim 6, which is characterized in that allocation unit includes:
Subelement is determined, for according to according to preset rules LocnDetermine the initial position of the high level in each time slot;
Subelement is distributed, for distributing the subpulse based on the initial position.
8. impulse modulation device according to claim 6 or 7, described that the pulse width m is divided into Nn one's share of expenses for a joint undertaking pulse,
Include:
When the pulse width m is 0, the pulse width of the high level of every one's share of expenses for a joint undertaking pulse is 0;
When the pulse width m is less than or equal to NnWhen, at least NnThe pulse width of the high level of-m subpulses is 0;
When the pulse width m is greater than NnWhen, the pulse width is divided into NnPart.
9. a kind of LED display, which is characterized in that including at least one processor;And at least one described processor
The memory of communication connection;Wherein, the memory is stored with the instruction that can be executed by one processor, described instruction quilt
At least one described processor executes, so that view described in any one of at least one described processor perform claim requirement 1 to 5
The pulse modulation method of frequency frame driving signal.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, the computer instruction is used to that video frame described in any one of computer perform claim requirement 1 to 5 to be made to drive
The pulse modulation method of dynamic signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711339297.4A CN108053791B (en) | 2017-12-14 | 2017-12-14 | The pulse modulation method and device of video frame driving signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711339297.4A CN108053791B (en) | 2017-12-14 | 2017-12-14 | The pulse modulation method and device of video frame driving signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108053791A CN108053791A (en) | 2018-05-18 |
CN108053791B true CN108053791B (en) | 2019-06-28 |
Family
ID=62132286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711339297.4A Active CN108053791B (en) | 2017-12-14 | 2017-12-14 | The pulse modulation method and device of video frame driving signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108053791B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109152136B (en) * | 2018-08-31 | 2020-08-18 | 广州市雅江光电设备有限公司 | Gray scale increasing method of LED lamp |
CN109192133B (en) * | 2018-10-31 | 2020-06-05 | 中国电子科技集团公司第五十八研究所 | Optimization method based on SPWM |
CN112601320B (en) * | 2019-09-17 | 2022-02-18 | 广州腾龙健康实业股份有限公司 | Dimming method for dimming signal frequency change |
CN111261097A (en) * | 2020-03-11 | 2020-06-09 | 深圳市德普微电子有限公司 | Gray scale display driving method |
CN113851074B (en) * | 2020-06-28 | 2023-07-28 | 深圳市明微电子股份有限公司 | LED driving pulse modulation method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1026655A1 (en) * | 1999-02-01 | 2000-08-09 | Deutsche Thomson-Brandt Gmbh | Method for power level control of a display device and apparatus for carrying out the method |
TWI316694B (en) * | 2006-01-19 | 2009-11-01 | Macroblock Inc | Driving method for led with pulse width modulation |
CN103345900B (en) * | 2013-06-24 | 2016-03-02 | 深圳市明微电子股份有限公司 | A kind of LED driving pulse modulator approach and system |
-
2017
- 2017-12-14 CN CN201711339297.4A patent/CN108053791B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108053791A (en) | 2018-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108053791B (en) | The pulse modulation method and device of video frame driving signal | |
JP5989848B2 (en) | Field sequential color display using composite colors | |
KR100778487B1 (en) | Modulation circuit, image display using the same, and modulation method | |
CN106228936B (en) | Backlight brightness control method, Apparatus and liquid crystal display equipment | |
CN102498507B (en) | Liquid crystal display device | |
CN106057132A (en) | Display device | |
CN110178173A (en) | Display device, its control method and penalty coefficient calculation method | |
CN108962126A (en) | A kind of displaying panel driving method, drive system and the display device comprising it | |
CN102779480B (en) | Display screen drive circuit and light-emitting diode display device | |
CN110379368A (en) | The driving method of pulsewidth and voltage hybrid modulation, driving device and display device | |
CN110178172A (en) | Intensity scale Vibrating pulse width modulated | |
CN104835460B (en) | Image processing equipment, image processing method, display panel drive and display equipment | |
CN109326255A (en) | Adjust the display methods and display system of dynamic fuzzy | |
CN113299245B (en) | Method and device for adjusting local backlight of display equipment, display equipment and storage medium | |
KR20070115673A (en) | Display device and display control method | |
JP2009271499A (en) | Backlight drive circuit and method for driving the same | |
CN105764204B (en) | A kind of PWM light-dimming methods and PWM light modulating devices | |
JP2009265671A (en) | Method of local-dimming light source, light source apparatus for performing the method, and display apparatus having the light source apparatus | |
CN104011786A (en) | Image display device | |
CN105206228B (en) | The LED scanning arrays driving chip and adjusting method that brightness linear change is voluntarily adjusted | |
US20160232832A1 (en) | Display device and method for driving backlight thereof | |
CN101499240B (en) | Image display device and electronic apparatus | |
CN101006405A (en) | Method and system for enhanced dimming resolution in a light ballast through use of multiple control frequencies | |
CN113141438A (en) | Gray level image projection method, device, equipment and storage medium | |
KR102587037B1 (en) | Multi-half-tone imaging and dual modulation projection/dual modulation laser projection |
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 |