Disclosure of Invention
Aiming at the defects that the prior art can not provide a Liquid Crystal Display (LCD) backlight adjustment control method which is simple in hardware implementation, small in chip area occupation and obvious in power consumption reduction, the invention aims to provide an LCD backlight adjustment control method based on image load analysis.
According to an aspect of the present invention, there is provided an LCD backlight based on image load analysis
Adjustment control method for backlight adjustment of display image in LCD display drive circuit
The machine is characterized by comprising:
a. performing load analysis on display input data received by the driving circuit to obtain a load threshold DTH;
b. and adjusting the display input data according to the load threshold DTH to obtain modified display data.
Preferably, the step b further comprises the steps of:
adjusting the display input data according to the load threshold DTH, and adjusting the backlight brightness to obtain corrected display data.
Preferably, the step of performing the load analysis in the step a includes the steps of:
DTHn=DTHn-1+ Δ, wherein said Δ is a step factor.
According to another aspect of the invention, the step factor Δ is determined by:
-performing statistics on the display input data to obtain statistics;
-determining a factor interval to which said statistical result belongs;
-determining the step-size factor from the factor interval.
Preferably, the step-size factors correspond to the factor intervals one to one.
Preferably, the step of performing statistics on the display input data includes the steps of:
-converting said display input data into intermediate data R, G, B based on three primary colors;
-a selection process of said intermediate data R, G, B and selecting or calculating therefrom a suitable value as said statistical result.
Preferably, the step of performing selection processing on the intermediate data R, G, B includes any one of the following steps:
-selecting a numerically intermediate one from said intermediate data R, G, B as said statistical result;
-weighted averaging of the intermediate data R, G, B and taking the weighted average as the statistical result.
According to another aspect of the present invention, there is provided an LCD backlight adjustment control device based on image load analysis, for performing backlight adjustment on a display image in an LCD display driving circuit, comprising:
load analyzing means for performing load analysis on display input data received by the drive circuit to obtain a load threshold DTH; and
adjusting means for adjusting the display input data according to the load threshold DTH to obtain modified display data.
Preferably, the adjusting device further comprises: first adjusting means for adjusting the display input data according to the load threshold DTH; and the second adjusting device is used for adjusting according to the backlight brightness.
The invention carries out load analysis on the display input data received by the driving circuit to obtain a load threshold value DTH, then adjusts the display input data according to the load threshold value DTH to obtain modified display data, and adopts an iterative algorithm to adjust the image data and the backlight brightness, thereby achieving the purpose of saving power consumption.
Detailed Description
Those skilled in the art will appreciate that variations may be implemented by those skilled in the art in combination with the prior art and the above-described embodiments, and will not be described in detail herein. Such variations do not affect the essence of the present invention and are not described herein.
As shown in fig. 1, the present invention provides a schematic diagram of an LCD backlight adjusting control method for image load analysis according to an embodiment of the present invention. Firstly, image data is sent to a load analysis module to obtain an image load threshold value DTH, then, the image data and backlight brightness (PWM) are respectively adjusted according to the DTH, and finally, the input image data is displayed on an LCD display screen. The two effects are neutralized on the LCD screen by mutual compensation, so that the human eye can not find obvious changes. The figure is clear, and a schematic diagram of a structure of the LCD backlight adjustment control method for image load analysis is completely reflected, and specific embodiments will be explained in the detailed implementation, which is not repeated herein.
Referring to fig. 2, according to an embodiment of the present invention, the load analysis module of the LCD backlight adjustment control method for image load analysis uses an iterative formula. The formula is mainly used for a load analysis module of the specific embodiment of the invention, and data analysis is performed on the step factor obtaining method. Further, the load analysis module adopts an iterative formula, the load threshold of the current frame of image is obtained based on the load threshold of the previous frame of image, wherein Δ is a step factor, and the factor is related to the number i and the size of the divided sections in the algorithm implementation. The image load threshold value is not easy to be too large or too small, the too large result can cause the deviation of the finally obtained image load threshold value and the expected threshold value to be larger, the too small result can cause the number of iterations to be increased, and if the number of iterations is too large, human eyes can see the image and the backlight adjustment process. The detailed description will not be repeated herein, but will be explained in detail.
As shown in fig. 3, according to an embodiment of the present invention, an internal structure diagram of a load analysis implementation of the LCD backlight adjustment control method for image load analysis is provided. RGB image data are counted firstly, the condition of the counted data is related to the load threshold of the previous frame of image, then the counted result N is judged to belong to which pre-defined interval, delta is added or subtracted according to the corresponding interval, and the threshold to be waited can be obtained through multiple iterations. The detailed description will not be repeated herein, but will be explained in detail.
Specifically, as understood by those skilled in the art, fig. 4 shows a flowchart of an LCD backlight adjustment control method for image load analysis provided by the present invention according to an embodiment of the present invention. In the specific embodiment shown in fig. 4, the control method includes the following steps:
firstly, step S100 is executed to perform load analysis on the display input data received by the driving circuit, and obtain a load threshold DTH through the load analysis.
The person skilled in the art understands that the purpose of this step is to enable a load threshold DTH obtained by load analysis and thus to adjust the input data of the display and the backlight brightness according to the load threshold DTH. The display input data received by the driving circuit are known as the three primary colors RGB, and further the three primary colors Red (Red), Green (Green), and Blue (Blue), which the human eye recognizes based on the wavelength of the light seen. Most colors in the visible spectrum can be mixed by three basic color lights in different proportions, namely Red (Red), Green (Green) and Blue (Blue). The three lights are mixed in the same proportion and reach certain intensity, and then white (white light) is presented; if the intensity of all three lights is zero, it is black (dark). This is the additive color principle, which is widely applied to actively emitting products such as televisions and monitors. Therefore, the load threshold DTH can be obtained by performing load analysis on the three primary colors RGB, so that the input data for display and the backlight brightness are controlled and adjusted to reflect different colors.
Further, in order to obtain the load threshold DTH, those skilled in the art understand that load analysis must be performed on the RGB, and the load analysis is further performed by the following steps: firstly, counting the display input data to obtain a statistical result, then determining a factor interval to which the statistical result belongs, and finally, performing addition calculation according to an adjustment value corresponding to the factor interval and a previous step factor to obtain the step factor. The manner of the load analysis will be specifically described in the following specific embodiment shown in fig. 2, and will not be described herein again.
Then, step S101 is performed, and the display input data is adjusted according to the load threshold DTH. Those skilled in the art understand that during normal display of the LCD, the display input data is directly displayed by default, thereby obtaining an image corresponding to the display input data. The purpose of this step is to enable people to see an image with moderate backlight brightness on the display screen, so that the display input data is adjusted to obtain modified display data, and the modified display data is processed to display the modified image, so that the finally displayed image is more acceptable to the audience.
In a preferred variation, fig. 6 and 7 are graphs illustrating adjustment of the display input data, and fig. 6 is a schematic diagram illustrating adjustment of the display input data, where as shown in fig. 6, the dashed line indicates a corresponding relationship between the input gray scale and the output gray scale, and a slope is 45 degrees. The formula: OUT is IN;
the formula OUT-IN- α represents the slope, and those skilled IN the art understand that the manner IN which the display input data is adjusted has the significant drawback that when input is greater than DTH, the output data becomes 255, and saturation occurs.
Preferably, as shown in fig. 7, it is a specific embodiment used in the present invention, which compensates the high gray level with the low gray level, specifically, the mapping relationship between the input data and the output data:
a first stage:
OUT=IN*α;
and a second stage:
0UT is 255- (255-IN) β, wherein,
we then proceed to step S102 to adjust the backlight brightness according to the load threshold DTH. Those skilled in the art will appreciate that this step is preferably performed at the same time as step S101, in order to clearly see what we see after the adjustment for the display input data, if no backlight is visible, the backlight will brighten the image, but if it is too brightened, the image will be rather pale. Preferably, in this embodiment, the backlight brightness is controlled by using the duty ratio of PWM, i.e. pulse width modulation, which is a very effective technique for controlling analog circuits by using digital output of a microprocessor, and is widely used in many fields from measurement, communication to power control and conversion.
More specifically, those skilled in the art understand that in the present embodiment, the process of adjusting the backlight brightness is preferably implemented by adjusting the duty ratio of PWM, and specifically, in a preferred variation, assuming that the physical brightness actually displayed by the LCD is L, the data input is LCD ln, and the backlight brightness is BL, the brightness display formula is:
L=LCD_IN*BL
LCD_IN=(x_out_ana)gamma∝x_outgamma
the x _ out _ ana refers to an analog output of the LCD driving circuit, and further, the x _ out is a digital quantity of the analog output.
CABC adjusted LCD display brightness of LCABCThe input data is LCD _ INCABCThe backlight is BLCABCDisplay the luminance formula:
LCABC=IN*α*BLCABC
LCD_INCABC=(x_out_anaCABC)gamma∝x_outCABC gamma
since the LCD display brightness after CABC adjustment should be equal to that before CABC adjustment, the LCD display brightness should be equal to that before CABC adjustment
L=LCABC
The duty cycle after the adjustment of cabc should be
Preferably, in order to control the backlight brightness through the load threshold DTH, the load threshold DTH must be obtained through load analysis, the gradual change of the output voltage is controlled through the load threshold DTH, and then the backlight brightness is controlled through the PWM technique. Those skilled in the art will appreciate that in a preferred variation, the use of BOOST circuitry may be employed, with two methods of controlling backlight brightness: first, through the EN terminal: and adjusting the duty ratio of the PWM to adjust the on or off of a BOOST circuit, wherein after the output voltage is subjected to first-order filtering, the voltage amplitude is correspondingly changed, and thus the effect of adjusting the brightness is achieved. Second, via the FB terminal: the duty ratio of the PWM is adjusted, then a corresponding voltage change (set as Va) is obtained through a first-order filter circuit, and the input current of the FB terminal is extremely small (the input end of the operational amplifier) because the voltage of the FB is kept unchanged (set as Vb). Let the voltage across the feedback resistor at the FB terminal be Vc. The purpose of regulating Vc through Vb can be achieved by setting a voltage dividing resistor. Vb change leads to Vc change, and the Vc change leads to LED current change, so that the effect of adjusting the backlight brightness of the LCD is achieved. Those skilled in the art understand that the method for controlling the backlight brightness belongs to the prior art and is not described herein in detail.
Finally, we go to step S103 to obtain the modified display data.
The skilled person understands that the purpose of this step is to enable the corrected display data to be reflected to people through the display screen, further, the pictures of multiple frames are continuously and alternately displayed on the display screen in an iterative manner, and according to the characteristic of the persistence of vision, the animation effect is displayed in human eyes, thereby achieving the final purpose of the present invention. Furthermore, those skilled in the art understand that the correction data after the backlight brightness is adjusted and the data processing is performed, that is, the correction data after the processing of the above steps S101 and S102 is displayed on the LCD as display data, which is not described herein again.
In order to obtain the corrected display data, the steps S100 to S102 should be completed, and those skilled in the art understand that obtaining the corrected display data is a process of continuously iterating the image, and the number of iterations is not too large or too small, which may cause the deviation between the finally obtained image load threshold and the expected threshold to be large, and too small may cause the number of iterations to be increased, and if the number of iterations is too large, the human eye may see the image and the process of backlight adjustment.
As shown in fig. 5, in a preferred variation, the control manner for obtaining the step factor Δ is further divided into the following 3 steps:
first, step S200 is entered, and statistics is performed on the display input data to obtain a statistical result.
The skilled person understands that the purpose of this step is to perform an efficient calculation of the display input data resulting in an efficient value N by which it is determined within which factor interval the step factor Δ is. The factor interval refers to a kind of comparison table of the value N and the step factor Δ, which is obtained through a large number of calculations and statistics. Further, before performing statistics on the display input data, we need to convert the display input data into intermediate data R, G, B based on three primary colors, where the display input data is a set of codes or a set of data containing colors before performing statistics, and we need to convert the code data into intermediate data R, G, B based on three primary colors, so as to achieve the purpose of performing statistics on the display input data. The three primary colors are displayed as a binary set of data, and we finally aim to change the three sets of data into a valid value N with uniqueness and operability.
In a preferred variant, it is assumed that the three primary colors red, green and blue are binary data of 8 bits, respectively red: 01000010, green: 10000001, blue: 00010001, further, we can perform effective calculation on three groups of data, and change the three groups of data into one group of data, and the group of data has uniqueness and effectiveness. For example, the intermediate data R, G, B is weighted-averaged, and the weighted average is taken as the statistical result. The red, green and blue are weighted 33.333 percent in the illustrated embodiment, so that each bit in the three sets of data is added and then divided by 3 to yield 0.330.3300.33000.330.66. Then we calculate the value N by another effective algorithm from the 8-bit binary data, for example, we can divide the data into 2 groups on average and add the 2 groups of numbers to obtain 11. Said 11 corresponds to a step factor delta value within said factor interval.
In another preferred variant, we can select as the statistical result the one with the central value from the intermediate data R, G, B, assuming that the three primary colors red, green and blue are binary data of 8 bits, respectively red: 01010110, green: 10110001, blue: 01010001, further, a centering value is obtained to obtain 01010001, where 01010001 is the value N, and further, a step factor Δ value corresponding to the factor interval is obtained.
Those skilled in the art will appreciate that there are many ways of calculating the effective value N, the setting of the factor interval is determined by the way of calculating the effective value N, the step factor Δ obtained in any of the steps S200 to S202 is intended to obtain the modified display data, the way of calculating the effective value N and the way of determining and planning the division of the factor interval are only relative, and the way of determining the effective value N is reasonably feasible as long as it can be determined after a large number of rule operations that the factor interval corresponds to the calculated effective value N.
Then, step S201 is executed to determine the factor interval to which the statistical result belongs. The skilled person understands that the purpose of determining the factor interval to which the statistical result belongs is to determine whether the result N is before the interval N-1 of the previous frame image or after the interval N-1 of the previous frame image, and we can know whether to use addition or subtraction to make the previous frame image approach to the current frame image according to the interval and the interval of the previous frame image. The factor interval refers to a group of comparison tables of step-size factors delta and effective values N obtained through a large number of scientific calculations and experiments, and is a set of step-size factors delta corresponding to the effective values N, any effective value N can correspond to one step-size factor delta in the factor interval, the factor interval is not too large or too small, the deviation between the finally obtained image load threshold and the expected threshold is large due to the too large factor interval, the expected effect of the factor interval cannot be achieved, the iteration times are increased due to the too small factor interval, and if the iteration times are too many, human eyes may see the image and backlight adjustment process.
In a preferred variation, assuming that the factor interval is (0,255), the valid value statistically obtained from the previous frame image corresponds to the interval value 50, and the valid value statistically obtained from the current frame image corresponds to the interval value 75, so that the previous frame image can be changed toward the current frame image by an addition operation. Those skilled in the art understand that the variation is a simple example for better understanding of the steps, and the variation does not affect the technical scheme of the present invention.
And finally, entering step S202, and determining the step size factor according to the factor interval.
The person skilled in the art understands that the purpose of determining the step factor from the factor interval is to obtain a step factor delta value that can approach a target threshold, the step factor delta value varying with a change of the effective value N.
Furthermore, the statistical result is obtained by performing an effective algorithm based on the three primary colors on the image data of the display image of the current frame, and the load threshold of the image of the current frame is obtained based on the load threshold of the previous frame, that is, DTHn-1+ Δ, where DTH refers to a target threshold, and Δ is a step factor, so that the step factor Δ corresponding to the statistical result is a variation approaching to the target display image threshold. Those skilled in the art understand that the step factor Δ may have a slope increasing or decreasing with the increasing of the effective value N, may be a curve, or may have no relation to the increasing of the effective value N, but the step factor corresponds to the factor interval. Further, the display input data does not reach the corrected display data once, but is gradually completed by a plurality of frames, which is only difficult to be seen by human eyes, so that the step factor Δ changes with the change of the image of the current frame. As shown in fig. 2, after several corrections, DTHn-1 gradually tends to DTHn, and the step factor Δ i gradually approaches 0.
Unlike the previous frame, further, a plurality of frames are superimposed together in succession to form what we call an animation. It is understood by those skilled in the art that in the present invention, the frame is a single image frame with the minimum unit in the motion picture, and corresponds to each frame of the shot on the motion picture film. One frame is a still picture and successive frames form a motion picture, such as a television picture. We generally say the number of frames, simply, the number of frames of a picture transmitted in 1 second time. It is also understood that the graphics processor can refresh several times per second, typically denoted as fps. Each frame is a static image, the motion false image is formed by displaying the frames in quick succession, namely the persistence of vision is said, the brightness feeling of human eyes does not disappear immediately along with the disappearance of the brightness of an object, and the display can feel a plurality of nonexistent colors by utilizing quick color switching, thereby improving the color expression of the display. A high frame rate may result in a smoother, more realistic animation. The greater the frames per second (fps), the smoother the displayed motion will be.
In recent years, with the rapid development of handheld devices (such as mobile phones and tablet computers), the demand for small and medium-sized screens is expanding, and the storage capacity and size of batteries cannot meet the existing demand, so that the high power consumption of the backlight becomes a great concern for manufacturers. In order to solve this problem, various large LCD driver design companies have proposed methods for reducing the backlight brightness while ensuring the image display quality, thereby achieving the purpose of saving power consumption. For example, the average method, the maximum method, the histogram method, etc. applied to the large-sized LCD are used, but such methods have large distortion (such as the average method and the maximum method), or have complicated hardware implementation and occupy a large chip area, or have larger power consumption than saved power consumption due to the algorithm introduction.
The utility model provides a technical scheme that its technical problem adopted is: an iterative algorithm is adopted during load analysis, the calculation threshold of the frame image is based on the threshold of the previous frame image, because a person sees that a static image on a display is dynamic actually, the display screen is in a constantly refreshed state, and the dynamic change process of the frame image cannot be identified because the response rate of the human eye is slow, only a proper step length is selected according to data analysis of the current frame, so that the threshold tends to an expected threshold, and the expected threshold can be reached after a plurality of frames (the required frame number is different according to the size of the step length, and the finally obtained threshold has a certain error).
The beneficial effects of the utility model are that, under the assurance image display effect prerequisite, the hardware realization is simple, and it is little to occupy chip area, and the reduction in power consumption is obvious.
In fig. 1, the image data is first sent to the load analysis module, and after the image load threshold DTH is obtained, the image data and the backlight brightness (PWM) are respectively adjusted according to the DTH, and the two effects are neutralized on the LCD display screen due to mutual compensation, so that the human eyes do not find obvious changes.
Fig. 2 is an iterative formula adopted by the load analysis module, and the load threshold of the current frame of image is obtained based on the load threshold of the previous frame of image, where Δ is a step factor, and this factor is related to the number i and the size of the divided sections in the algorithm implementation. The image load threshold value is not easy to be too large or too small, the too large result can cause the deviation of the finally obtained image load threshold value and the expected threshold value to be larger, the too small result can cause the number of iterations to be increased, and if the number of iterations is too large, human eyes can see the image and the backlight adjustment process.
Fig. 3 is a structural diagram of an internal implementation of load analysis, where image data is first counted, a condition of the counted data is related to a load threshold of a previous frame of image, and then it is determined which pre-defined interval the counted result N belongs to, and the threshold to be expired is obtained through multiple iterations by adding or subtracting Δ according to the corresponding interval.
Further, those skilled in the art understand that in one preferred embodiment, a new method of LCD backlight adjustment based on image load analysis is provided; the method comprises the following steps: image load analysis, image data expansion, and LCD backlight adjustment. The method is characterized in that: the image load analysis method adopts an iteration method. Specifically, the load analysis method is characterized in that: and counting corresponding information by adopting a counter according to the relation between the image data and the brightness threshold of the previous frame of image. More specifically, a suitable iteration step length is selected according to the statistical information, and the threshold value of the image of the current frame is obtained on the basis of the threshold value of the image of the previous frame. The iteration step length is not easy to be too large or too small, the iteration times are increased due to too small iteration step length, and the deviation between the actual obtained threshold and the expected threshold is large due to too large iteration step length.
Further, referring to the embodiment shown in fig. 1, in a preferred embodiment, the LCD backlight adjustment control device based on image load analysis provided by the present invention is used in an LCD display driving circuit to perform backlight adjustment on a display image, and includes: load analyzing means for performing load analysis on display input data received by the drive circuit to obtain a load threshold DTH; and adjusting means for adjusting the display input data according to the load threshold DTH to obtain modified display data. In yet another preferred embodiment, the adjusting means further comprises: first adjusting means for adjusting the display input data according to the load threshold DTH; and the second adjusting device is used for adjusting according to the backlight brightness. Further, those skilled in the art understand that the control device can be implemented with reference to the embodiments shown in fig. 1 to fig. 5, which are not described herein again.
The technical patent relates to a novel method for adjusting the backlight of an LCD based on image load analysis. The method can quickly obtain the load threshold value of the image according to the content of the image load, and dynamically adjusts the image data and the backlight brightness based on the threshold value, thereby achieving the purpose of saving power consumption, and the method has the greatest advantages of good image dynamic effect, simple hardware realization, small area and dynamic power consumption saving of about 20%.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes and modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention.