Backlight optimization method and system for LCD display screen

By collecting ambient light parameters, segmenting the screen, calculating target brightness and color temperature, and adjusting LED drive current, the problem of contrast degradation and color distortion in LCD displays under different environments has been solved, achieving dynamic optimization of backlight and improving display quality and visual experience.

CN120998147APending Publication Date: 2025-11-21SHENZHEN ZHENGTONG RENHE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202511299039.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-11
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

LCD displays are prone to problems such as decreased contrast, color distortion, and excessive power consumption under different ambient light conditions. In particular, the screen content is difficult to see in bright light, while excessively bright backlight in dark light can cause visual fatigue.

Method used

By collecting ambient light parameters, the display screen is divided into blocks, the average grayscale and target brightness of each sub-block are calculated, the target color temperature is matched, the driving current of the LED light group is calculated, and the duty cycle of the pulse width modulation signal of the backlight driving circuit is adjusted to achieve dynamic optimization of the backlight.

Benefits of technology

It significantly enhances the dynamic contrast of the LCD display, avoids detail loss or halo effect caused by global dimming, and improves picture quality and visual comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120998147A_ABST
    Figure CN120998147A_ABST
Patent Text Reader

Abstract

The invention relates to a backlight optimization method and system for an LCD display screen, and the method comprises the following steps: collecting an ambient light parameter, and carrying out the block cutting of an LCD display image according to the ambient light parameter, so as to form image sub-blocks; counting the pixel gray value in each image sub-block, and calculating the average gray of the sub-blocks; determining the target brightness of the backlight area corresponding to each image sub-block by combining the light parameter with the average gray scale of the sub-blocks; matching a target color temperature of the backlight area according to the ambient light color temperature value and the target brightness; according to the target brightness and the target color temperature, calculating a driving current of the corresponding LED lamp group; according to the technical scheme, the PWM signal duty ratio of the backlight driving circuit is adjusted based on the driving current, the adaptive driving signal is generated, the LED lamp sets in the backlight areas are controlled to emit light through the signal, and the technical problem of how to dynamically optimize backlight according to environment changes and improve the LCD display quality is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of LCD technology, and in particular to a method and system for optimizing the backlight of an LCD display screen. Background Technology

[0002] With the rapid development and widespread application of LCD technology, users' demands for visual experience from display devices in different environments are increasing. LCD displays hold a significant market position due to their low cost and mature technology; however, their reliance on backlighting leads to problems such as decreased contrast, color distortion, and excessive power consumption under varying ambient light conditions. Particularly in bright light, screen content is difficult to see; while in dim light, excessively bright backlighting can cause eye strain. Therefore, dynamically optimizing backlighting according to environmental changes has become a key research direction for improving LCD display quality. Summary of the Invention

[0003] The purpose of this invention is to at least partially solve one of the technical problems existing in the prior art.

[0004] To achieve the above objectives, the present invention provides a backlight optimization method for an LCD display screen, comprising the following steps: The light parameters of the environment in which the display screen is located are collected, and based on the light parameters, the image currently displayed on the LCD screen is divided into blocks to obtain image sub-blocks; The average gray level of the sub-block is obtained by statistically calculating the gray values ​​of all pixels within the image sub-block. Based on the light parameters and the average gray level of the sub-block, the target brightness of the backlight area corresponding to each image sub-block is calculated; Based on the ambient light color temperature value and target brightness in the light parameters, match the target color temperature of the backlight area; Based on the target brightness and target color temperature, calculate the driving current of the LED group in the backlight area; Based on the driving current, the duty cycle of the pulse width modulation signal of the preset backlight driving circuit is adjusted to obtain an adaptive driving signal, and the LED light group in the corresponding backlight area is controlled to emit light through the adaptive driving signal.

[0005] Furthermore, the process involves acquiring the ambient light parameters of the environment in which the display screen is located, and based on these parameters, dividing the currently displayed image on the LCD screen into sub-blocks to obtain image sub-blocks, including: The ambient light around the display screen is collected in real time by an ambient light sensor to obtain the raw light signal, and the raw light signal is processed by analog-to-digital conversion to obtain the light parameters. Based on the ambient light intensity value in the light parameters, the number of partitions for the image currently displayed on the LCD screen is set to obtain the number of partitions value, and the image is divided into grids according to the number of partitions value to obtain initial sub-blocks; The edge pixels of the initial sub-block are subjected to grayscale consistency verification to obtain the verification result. Based on the verification result, the boundary of the initial sub-block is adjusted to obtain the image sub-block.

[0006] Furthermore, the step of performing grayscale value statistical calculation on all pixels within the image sub-block to obtain the average grayscale of the sub-block includes: Read the pixel grayscale value of each pixel in the image sub-block, and sort the pixel grayscale values ​​in order of size to obtain a grayscale sorting table; Based on the grayscale sorting table, the sorted pixel grayscale values ​​are processed by removing the first and last pixels to obtain effective grayscale values, and the effective grayscale values ​​are counted to obtain the number of effective pixels. Based on the effective grayscale values ​​and the number of effective pixels, the sum of all effective grayscale values ​​is calculated to obtain the total grayscale value. Then, the average grayscale value of the sub-block is obtained by dividing the total grayscale value by the number of effective pixels.

[0007] Furthermore, the step of calculating the target brightness of the backlight region corresponding to each image sub-block based on the light parameters and the average gray level of the sub-block includes: The ambient light intensity value in the light parameters is graded to obtain the light intensity level, and the initial brightness value is calculated based on the average gray level and light intensity level of the sub-block. Based on the initial brightness value, the maximum brightness threshold and minimum brightness threshold of the LCD display are checked in intervals to obtain the checked brightness value, and the adjacent areas of the checked brightness value are smoothed to obtain the smoothed brightness value. Based on the smoothed brightness value, the brightness attenuation coefficient of the backlight area is corrected and calculated to obtain the corrected brightness value, and the corrected brightness value is determined as the target brightness.

[0008] Furthermore, the step of matching the target color temperature of the backlight area based on the ambient light color temperature value and the target brightness in the light parameters includes: The ambient light color temperature value in the light parameters is processed by color temperature segmentation to obtain color temperature segmentation intervals, and an initial candidate color temperature value is determined within the color temperature segmentation interval based on the target brightness. Based on the initial color temperature candidate values, color component analysis is performed on the image sub-blocks corresponding to the backlight area in the current display screen of the LCD screen to obtain the color component ratio, and the initial color temperature candidate values ​​are filtered based on the color component ratio to obtain the filtered color temperature values. Based on the selected color temperature value, a correlation analysis is performed on the color temperatures of adjacent areas of the backlight area to obtain the correlated color temperature difference value. Based on the correlated color temperature difference value, the selected color temperature value is finely adjusted and corrected to obtain the target color temperature.

[0009] Furthermore, calculating the driving current of the LED group in the backlight area based on the target brightness and target color temperature includes: The target brightness is divided into brightness levels to obtain brightness level ranges, and the corresponding basic current value is found in a preset color temperature-current correspondence table based on the target color temperature. Based on the brightness level range, the brightness ratio of the base current value is adjusted to obtain the adjusted current value, and the current stability of the adjusted current value is checked to remove unstable current fluctuation values ​​and obtain a stable current value. Based on the stable current value and the actual connection method of the LED light group in the backlight area, the stable current value is calculated for circuit adaptation to obtain the adapted drive current.

[0010] Furthermore, the step of adjusting the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and controlling the LED light group of the corresponding backlight area to emit light through the adaptive driving signal, includes: The driving current is subjected to current amplitude detection to obtain current amplitude data, and based on the current amplitude data, a matching initial duty cycle is found in a preset current-duty cycle correspondence table; The initial duty cycle is calibrated by the signal conditioning module of the backlight driving circuit to obtain the calibrated duty cycle. Based on the calibrated duty cycle, the period parameter of the pulse width modulation signal is synchronously adjusted to obtain the adapted duty cycle signal. An adaptation drive signal is generated based on the adaptation duty cycle signal, and the adaptation drive signal is transmitted to the LED light group drive interface of the corresponding backlight area through the backlight control module to obtain the light group drive command. The LED light group of the corresponding backlight area is controlled to emit light based on the light group drive command.

[0011] In a second aspect, the present invention also provides a backlight optimization system for an LCD display screen, comprising: The acquisition module is used to acquire the light parameters of the environment in which the display screen is located, and based on the light parameters, to divide the image currently displayed on the LCD screen into blocks to obtain image sub-blocks; The statistics module is used to perform statistical calculations on the gray values ​​of all pixels within the image sub-block to obtain the average gray value of the sub-block. The first calculation module is used to calculate the target brightness of the backlight area corresponding to each of the image sub-blocks based on the light parameters and the average gray level of the sub-blocks; The matching module is used to match the target color temperature of the backlight area based on the ambient light color temperature value and the target brightness in the light parameters; The second calculation module is used to calculate the driving current of the LED group in the backlight area based on the target brightness and target color temperature. The adjustment module is used to adjust the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and to control the LED light group of the corresponding backlight area to emit light through the adaptive driving signal.

[0012] Thirdly, embodiments of the present invention provide a backlight optimization system for an LCD display screen, comprising: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the backlight optimization method for an LCD display screen.

[0013] Fourthly, embodiments of the present invention provide a storage medium storing a processor-executable program, which, when executed by a processor, is used to implement the aforementioned backlight optimization method for an LCD display screen.

[0014] This invention provides a backlight optimization method for an LCD display, comprising the following steps: collecting light parameters of the environment in which the display is located; dividing the currently displayed image on the LCD display into sub-blocks based on the light parameters; statistically calculating the grayscale values ​​of all pixels within each sub-block to obtain the average grayscale of the sub-block; calculating the target brightness of the backlight area corresponding to each sub-block based on the light parameters and the average grayscale of the sub-block; matching the target color temperature of the backlight area based on the ambient light color temperature and the target brightness in the light parameters; calculating the driving current of the LED group in the backlight area based on the target brightness and the target color temperature; adjusting the duty cycle of the pulse width modulation signal of a preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and controlling the LED group in the corresponding backlight area to emit light through the adaptive driving signal. This method solves the technical problem of how to dynamically optimize the backlight according to environmental changes and improve the display quality of the LCD, significantly enhancing the dynamic contrast of the image and avoiding detail loss or halo effects caused by global dimming. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the steps of a backlight optimization method for an LCD display screen in one embodiment of the present invention; Figure 2This is a structural block diagram of a backlight optimization system for an LCD display screen according to an embodiment of the present invention; Figure 3 This is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.

[0016] The objectives, features, and advantages of this invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0017] The embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. The step numbers in the following embodiments are set only for ease of explanation, and there is no limitation on the order between the steps. The execution order of each step in the embodiments can be adaptively adjusted according to the understanding of those skilled in the art.

[0018] The following describes in detail, with reference to the accompanying drawings, a method, system, apparatus, and storage medium for optimizing the backlight of an LCD display screen according to an embodiment of the present invention. First, a method for optimizing the backlight of an LCD display screen according to an embodiment of the present invention will be described with reference to the accompanying drawings.

[0019] like Figure 1 As shown, Figure 1 This invention provides a backlight optimization method for an LCD display screen, comprising the following steps: Step S1: Collect the light parameters of the environment where the display screen is located. Based on the light parameters, divide the image currently displayed on the LCD screen into blocks to obtain image sub-blocks.

[0020] Specifically, in optimizing the backlight of an LCD display, the first step is to collect the ambient light parameters of the environment in which the display is located. This step involves using sensors to detect information such as the light intensity and color temperature of the current environment, and these light parameters are crucial for subsequent steps. Based on the collected light parameters, the image currently displayed on the LCD display is then segmented into multiple image sub-blocks, each representing a local area of ​​the original image. For example, in an office environment, sunlight shines through windows during the day, causing one side of the screen to be brighter than the other. Light sensors placed around the display can accurately capture this change, providing a basis for subsequent processing. Next, when segmenting the image according to the light parameters, the system divides the entire screen into several independent small regions (i.e., image sub-blocks), the specific number depending on the algorithm design and actual needs. Assuming an 8x8 grid, there are a total of 64 sub-blocks, and each sub-block's grayscale distribution is analyzed individually. The advantage of this approach is that it allows for fine-tuning for different lighting conditions and content characteristics; for example, areas near windows may require higher brightness compensation, while areas further away from windows do not. In this way, even within the same image, optimal visibility in all areas is ensured, while also saving energy and reducing eye strain. This approach achieves seamless integration from ambient light perception to image detail optimization, enabling the LCD screen to automatically adjust to the most suitable viewing state in various complex environments.

[0021] Step S2: Statistically calculate the grayscale values ​​of all pixels within the image sub-block to obtain the average grayscale of the sub-block.

[0022] Specifically, after segmenting the currently displayed image on the LCD screen into sub-blocks, the next step is to statistically calculate the grayscale values ​​of all pixels within each sub-block. This process is achieved by reading the brightness information of each pixel and converting it into a corresponding grayscale value. These grayscale values ​​are typically represented by integers between 0 and 255, where 0 represents black and 255 represents white. For each sub-block, the system iterates through all its pixels, extracts their grayscale values ​​one by one, and accumulates these values. The sum is then divided by the total number of pixels in the sub-block to obtain the average grayscale value of that sub-block. For example, in an office environment, when the screen displays an image containing a bright document area and a darker border area, the sub-block located slightly to the right of the center of the screen may primarily cover white document content, and its internal pixels will mostly have high grayscale values, resulting in a higher average grayscale value for the sub-block. Conversely, if the sub-block located in the lower left corner of the screen covers a dark menu bar, its internal pixel grayscale values ​​will generally be lower, leading to a correspondingly lower average grayscale value for the sub-block. These calculation results serve as the basis for determining the target brightness of the backlit area. They are then passed to the next processing stage to ensure that the backlit area corresponding to each image sub-block can obtain a matching illumination intensity based on its content brightness characteristics, thereby achieving fine-grained backlight control.

[0023] Step S3: Based on the light parameters and the average gray level of the sub-block, calculate the target brightness of the backlight area corresponding to each image sub-block.

[0024] Specifically, the process of calculating the target brightness of the backlight area corresponding to each image sub-block based on the light parameters and the average grayscale of the sub-blocks first requires collecting ambient light parameters, including but not limited to ambient light intensity, to accurately assess the impact of external light on the display effect. Next, the calculated average grayscale of the sub-blocks is combined with the acquired light parameters, and a preset algorithm is used to determine the target brightness of the backlight area corresponding to each image sub-block. In practice, the algorithm adjusts the coefficients based on the average grayscale value of the sub-blocks and the light parameters. It considers that brighter ambient light may require higher backlight brightness to ensure clear visibility of the content, while in darker environments, the backlight brightness is appropriately reduced to decrease energy consumption and protect the user's eyesight. For example, in a typical office scenario, if the average grayscale of a specific image sub-block on the display screen is low, indicating that the content in that area is dark, and if the ambient light is strong, the algorithm will correspondingly increase the target brightness of the backlight area corresponding to that image sub-block, ensuring that details on the screen can be clearly seen even in bright environments. Conversely, if in the same office, another image sub-block has a higher average grayscale and the ambient light is weak, the system will calculate a relatively lower target brightness value, thereby optimizing the display effect while achieving energy saving. In this way, by comprehensively considering the average grayscale of the sub-block and the light parameters, the system accurately calculates the target brightness of the corresponding backlight area for each image sub-block, thereby achieving fine-grained brightness control of the entire display screen.

[0025] Step S4: Based on the ambient light color temperature value and target brightness in the light parameters, match the target color temperature of the backlight area.

[0026] Specifically, the process of matching the target color temperature of the backlight area based on the ambient light color temperature value and target brightness in the light parameters first requires extracting the ambient light color temperature value from the collected light parameters. This value reflects the warm or cool characteristics of the current ambient light source and is usually expressed in Kelvin (K). For example, sunlight is approximately 6500K, which is cool white light, while indoor incandescent light is approximately 2700K, which is warm yellow light. Subsequently, combined with the previously calculated target brightness of the backlight area corresponding to each image sub-block, the target brightness and ambient light color temperature value are used as input parameters and fed into a preset color temperature mapping model or lookup table for matching calculation. This model or lookup table stores the recommended backlight output color temperature values ​​for different combinations of ambient light color temperature and target brightness to ensure that the light emitted by the display screen is consistent with the surrounding environment. For example, in an office environment, when the ambient light mainly comes from natural sunlight and has a high color temperature (e.g., 6000K), and the calculated target brightness of a certain image sub-block is also high, the system will match a cooler target color temperature for the backlight area (e.g., 6200K) to maintain natural color reproduction. Conversely, when fluorescent lights are turned off and warm desk lamps are turned on in the evening, the ambient light color temperature drops to around 3000K. Even if the same image sub-block still has a high target brightness, the system will match a lower target color temperature for the backlight area (e.g., 3200K) to make the screen light closer to the ambient light tone and avoid visual jarring. By jointly calculating the ambient light color temperature and target brightness, the system ensures that the target color temperature of each backlight area responds to both external lighting conditions and matches the current area's brightness requirements, thus achieving continuous, smooth color temperature adjustment that conforms to human visual perception.

[0027] Step S5: Calculate the driving current of the LED group in the backlight area based on the target brightness and target color temperature.

[0028] Specifically, the process of calculating the driving current of the LED group in the backlight area based on the target brightness and target color temperature first requires taking the target brightness and target color temperature of the backlight area corresponding to each image sub-block determined in the previous steps as input parameters and inputting them into a preset current calculation model or lookup table for processing. This model or lookup table stores the current response characteristic data of the LED group under different combinations of brightness and color temperature. In specific implementation, the system determines the required basic driving current level according to the target brightness, and then proportionally allocates the current in combination with the target color temperature. Especially when using a lamp group composed of multi-channel LEDs (such as dual-color LEDs of cool white and warm white), it is necessary to calculate the required driving current of each cool white LED and warm white LED separately so that the mixed light from both can accurately reach the target color temperature. For example, in an office environment, when the target brightness of a backlight area is high and the target color temperature is 6200K, the system calculates a higher total drive current and allocates a larger proportion to the cool white LED channel and a smaller proportion to the warm white LED channel. Conversely, when environmental changes cause the target color temperature of that area to adjust to 3200K, although the target brightness remains high, the system correspondingly reduces the drive current proportion of the cool white LEDs while increasing the drive current proportion of the warm white LEDs to achieve a warm-toned light output. By precisely calculating the drive current of the LED group based on both target brightness and target color temperature, the system ensures that each backlight area meets optimized requirements in terms of brightness and color, providing accurate current control for subsequent PWM signal adjustment.

[0029] Step S6: Based on the driving current, adjust the duty cycle of the pulse width modulation signal of the preset backlight driving circuit to obtain an adaptive driving signal, and control the LED group of the corresponding backlight area to emit light through the adaptive driving signal.

[0030] Specifically, the process of adjusting the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current first requires using the driving current of the LED group in each backlight area calculated in the previous step as the control basis, inputting it into the control module of the backlight driving circuit. This driving circuit uses pulse width modulation (PWM) to control the power supply of the LED group. The control module calculates the corresponding PWM signal duty cycle value according to the magnitude of the driving current and a preset current-duty cycle conversion relationship. This duty cycle determines the proportion of high-level time within a fixed period, thereby adjusting the magnitude of the average output current. For example, in an office environment, when the driving current of a certain backlight area is calculated to be high, the control module will correspondingly increase the PWM signal duty cycle to approach 100%, thus ensuring the LED group continuously receives high energy input and emits stronger light; conversely, when the driving current is low, the PWM signal duty cycle is reduced, for example, to 30% or lower, so that the LED group is in an off state for most of the period, thereby reducing the luminous intensity. The adjusted pulse width modulation signal serves as the adaptation drive signal, which is directly output to the LED group in the corresponding backlight area, driving it to emit light according to the set brightness and color temperature. This ensures that the light output of each area precisely matches the image content and environmental conditions, achieving closed-loop control from current calculation to actual light emission. In this way, each backlight area can independently respond to the display requirements of its image sub-blocks and changes in ambient light, achieving fine-grained backlight adjustment.

[0031] In a specific embodiment, the step of collecting the light parameters of the environment in which the display screen is located, and based on the light parameters, dividing the image currently displayed on the LCD screen into blocks to obtain image sub-blocks, includes: The ambient light around the display screen is collected in real time by an ambient light sensor to obtain the raw light signal, and the raw light signal is processed by analog-to-digital conversion to obtain the light parameters. Based on the ambient light intensity value in the light parameters, the number of partitions for the image currently displayed on the LCD screen is set to obtain the number of partitions value, and the image is divided into grids according to the number of partitions value to obtain initial sub-blocks; The edge pixels of the initial sub-block are subjected to grayscale consistency verification to obtain the verification result. Based on the verification result, the boundary of the initial sub-block is adjusted to obtain the image sub-block.

[0032] Specifically, the process of acquiring the ambient light parameters of the environment surrounding the display screen, and then segmenting the currently displayed image on the LCD screen into sub-blocks based on these parameters, begins by using an ambient light sensor installed on the bezel or back of the display screen to collect the ambient light around the screen in real time. The sensor continuously receives light radiation from the outside and converts it into a continuously changing raw light signal, reflecting the current ambient lighting conditions. Subsequently, the raw light signal undergoes analog-to-digital conversion (ADC) processing, using an ADC to convert the analog raw light signal into a digital signal, thereby obtaining light parameters that can be used for calculation. These light parameters include at least the ambient light intensity value and the ambient light color temperature value. Based on the ambient light intensity value in the light parameters, the system enters the image segmentation stage. The level of ambient light intensity directly affects the subsequent segmentation strategy. When the ambient light intensity is high, such as in a bright office near a window where the intensity exceeds 800 lux, the system determines it to be a strong light environment. To improve display contrast and local control precision, a larger number of segments is set, such as dividing the entire screen into 16×16 areas (256 regions). Conversely, when the ambient light intensity is low, such as in the evening when the main light is off and only a desk lamp is used for illumination (around 200 lux), the system sets a smaller number of segments, such as 8×8 areas (64 regions), to avoid over-segmentation that would increase control complexity and response delay. The image is then divided into a grid according to the number of segments, that is, the currently displayed image is evenly divided into several rectangular areas according to rows and columns, forming initial sub-blocks. Next, the edge pixels of the initial sub-blocks are checked for grayscale consistency. Specifically, the grayscale values ​​of pixels on the boundary of each initial sub-block are extracted, and their standard deviation or gradient change rate is calculated. If this value exceeds a preset threshold, it indicates that there is a significant grayscale jump at the boundary, possibly crossing different objects or light and dark areas. In this case, the boundary of the initial sub-block is fine-tuned based on the check result. For example, the boundary is shifted to the side with lower grayscale by a few pixels, so that the adjusted image sub-block contains pixels with similar grayscale as much as possible, thereby improving the accuracy of subsequent average grayscale calculation and the rationality of backlight matching. For example, when displaying an office interface containing a white document and a dark toolbar, if the initial grid happens to include the edge of the toolbar in an initial sub-block, and the check finds that its edge grayscale difference is significant, the system will adjust the boundary of the sub-block to fully include the toolbar area, ultimately obtaining an image sub-block that better matches the image content structure, providing reliable basic data for subsequent backlight optimization.

[0033] In a specific embodiment, the step of performing grayscale value statistical calculation on all pixels within the image sub-block to obtain the average grayscale of the sub-block includes: Read the pixel grayscale value of each pixel in the image sub-block, and sort the pixel grayscale values ​​in order of size to obtain a grayscale sorting table; Based on the grayscale sorting table, the sorted pixel grayscale values ​​are processed by removing the first and last pixels to obtain effective grayscale values, and the effective grayscale values ​​are counted to obtain the number of effective pixels. Based on the effective grayscale values ​​and the number of effective pixels, the sum of all effective grayscale values ​​is calculated to obtain the total grayscale value. Then, the average grayscale value of the sub-block is obtained by dividing the total grayscale value by the number of effective pixels.

[0034] Specifically, the process of calculating the average grayscale of all pixels within the image sub-block involves several steps. First, the image processing module reads the grayscale value of each pixel within the sub-block. These grayscale values ​​are derived from the RGB data of the current frame image using a grayscale conversion algorithm (e.g., Y = 0.299R + 0.587G + 0.114B). Each pixel corresponds to an integer value between 0 and 255, representing its brightness level. Then, all read pixel grayscale values ​​are sorted in ascending order using a sorting algorithm to form a grayscale sorting table. This table completely records the distribution sequence of grayscale values ​​for all pixels within the image sub-block. Based on this sorting table, the system performs a head-and-tail removal process, removing extreme values ​​from the beginning and end of the sorted sequence. For example, the lowest 5% and highest 5% of pixel grayscale values ​​are removed to eliminate interference from localized highlights or dark noise on the overall brightness assessment, retaining the grayscale values ​​of the main pixels in the middle as valid grayscale values. After the removal process, the effective grayscale values ​​are counted to determine the number of retained pixels, which reflects the size of the effective region participating in the final averaging calculation. Next, based on the effective grayscale values ​​and the number of effective pixels, all effective grayscale values ​​are summed sequentially to obtain a total grayscale sum. This total grayscale sum represents the cumulative brightness of the main area of ​​the image sub-block. Subsequently, a division operation is performed between the total grayscale sum and the number of effective pixels. The quotient is the average grayscale of the sub-block, serving as an important basis for subsequent calculations of the target brightness. For example, in an office setting, when an image sub-block covers a white background area in a document editing interface but contains a small amount of black text and a window reflection, the original pixel grayscale values ​​will show black values ​​close to 0 and overly bright values ​​close to 255. Directly calculating the arithmetic mean may lead to an overly high average grayscale value for the sub-block, affecting the accuracy of backlight adjustment. However, after the initial and final removal process, the reflection and some dark characters are eliminated, retaining a large number of effective grayscale values ​​concentrated in the 240-250 range. This makes the final calculated average grayscale value of the sub-block more realistically reflect the actual visual brightness of the area, thus providing reliable input for the subsequent target brightness calculation of the backlight area. This ensures that the backlight adjustment is neither too bright nor too dim, improving display quality and visual comfort.

[0035] In a specific embodiment, calculating the target brightness of the backlight area corresponding to each image sub-block based on the light parameters and the average gray level of the sub-block includes: The ambient light intensity value in the light parameters is graded to obtain the light intensity level, and the initial brightness value is calculated based on the average gray level and light intensity level of the sub-block. Based on the initial brightness value, the maximum brightness threshold and minimum brightness threshold of the LCD display are checked in intervals to obtain the checked brightness value, and the adjacent areas of the checked brightness value are smoothed to obtain the smoothed brightness value. Based on the smoothed brightness value, the brightness attenuation coefficient of the backlight area is corrected and calculated to obtain the corrected brightness value, and the corrected brightness value is determined as the target brightness.

[0036] Specifically, the process of calculating the target brightness of the backlight area corresponding to each image sub-block based on the light parameters and the average gray level of the sub-block first involves classifying the ambient light intensity value in the light parameters, dividing the continuous ambient light intensity value into several preset intervals, such as 0-100 lux as low light level, 101-500 lux as medium light level, and above 501 lux as high light level. Each interval corresponds to a light intensity level label, such as level 1, level 2, and level 3. This light intensity level is used to quantify the intensity of ambient light. Next, based on the average grayscale and light intensity level of the sub-blocks, the initial brightness value is calculated by looking up a preset brightness mapping table or performing linear / non-linear function operations. This mapping relationship reflects the correlation between the brightness of the image content and the required backlight intensity under different lighting conditions. For example, under high light levels, even if the average grayscale of the sub-blocks is high (e.g., 240), the system will still calculate a high initial brightness value to overcome the influence of ambient light on screen visibility; while under low light levels, even if the average grayscale of the sub-blocks is low (e.g., 60), the initial brightness value will be controlled at a low level to avoid excessive brightness and glare. Subsequently, based on the initial brightness value, the interval verification stage is entered, comparing the initial brightness value with the preset maximum brightness threshold and minimum brightness threshold of the LCD display. If the initial brightness value exceeds the maximum brightness threshold (e.g., 800 nits), it is limited to the maximum brightness threshold; if it is lower than the minimum brightness threshold (e.g., 50 nits), it is increased to the minimum brightness threshold, thereby obtaining a verification brightness value to ensure that the backlight output is within the range of device safety and human eye comfort. Next, the verified brightness value is smoothed for adjacent regions. A sliding window or weighted average algorithm is used to fuse the verified brightness value of the current image sub-block with the verified brightness values ​​of its adjacent regions (top, bottom, left, and right). For example, a five-point average or a Gaussian weighted average is taken to reduce halo or staircase effects caused by sudden brightness changes between adjacent backlit areas, resulting in a smooth brightness value. For instance, in an office scene, if an image sub-block is located in a white document area under strong window lighting, its initial brightness value may be as high as 750 nits. This value is retained after verification. However, if its adjacent image sub-block is located in a dark menu bar with weak ambient light, its verified brightness value is only 100 nits. Direct use would create a strong contrast. Therefore, smoothing processing ensures a natural brightness transition between the two, avoiding visual discontinuity. Finally, based on the smoothed brightness value, the brightness attenuation coefficient of the backlight area is corrected and calculated. This attenuation coefficient takes into account the influence of factors such as LED aging, heat dissipation conditions, or uneven light transmission of the panel on the actual luminous efficiency. The system dynamically adjusts this coefficient according to the device running time or temperature sensor feedback. The smoothed brightness value is multiplied by the correction coefficient (such as 0.95) to obtain the corrected brightness value, and the corrected brightness value is finally determined as the target brightness, which is used as the input parameter for calculating the drive current in the next stage, thereby completing the complete link from environmental perception to backlight brightness decision.

[0037] In a specific embodiment, matching the target color temperature of the backlight area based on the ambient light color temperature value and the target brightness in the light parameters includes: The ambient light color temperature value in the light parameters is processed by color temperature segmentation to obtain color temperature segmentation intervals, and an initial candidate color temperature value is determined within the color temperature segmentation interval based on the target brightness. Based on the initial color temperature candidate values, color component analysis is performed on the image sub-blocks corresponding to the backlight area in the current display screen of the LCD screen to obtain the color component ratio, and the initial color temperature candidate values ​​are filtered based on the color component ratio to obtain the filtered color temperature values. Based on the selected color temperature value, a correlation analysis is performed on the color temperatures of adjacent areas of the backlight area to obtain the correlated color temperature difference value. Based on the correlated color temperature difference value, the selected color temperature value is finely adjusted and corrected to obtain the target color temperature.

[0038] Specifically, the process of matching the target color temperature of the backlight area based on the ambient light color temperature value and target brightness in the light parameters first involves color temperature segmentation of the ambient light color temperature value in the light parameters. Continuous color temperature values ​​are divided into several typical intervals, such as 2700K-3500K for warm white light, 3500K-5000K for neutral white light, and 5000K-6500K for cool white light. Each interval corresponds to a different type of ambient light source, such as incandescent lamps, fluorescent lamps, or natural sunlight. By determining which interval the current ambient light color temperature value falls into, its corresponding color temperature segment is determined, serving as the basic range for color temperature matching. Next, based on the target brightness, an initial color temperature candidate value is determined within the color temperature segmentation range. The level of the target brightness will affect the color temperature selection tendency. For example, under high target brightness conditions, even if the ambient light color temperature is in the neutral white light range, the system may still tend to select a higher initial color temperature candidate value in that range to enhance the sense of clarity; while under low target brightness conditions, a lower initial color temperature candidate value in the same range is selected to maintain visual softness. Subsequently, based on the initial color temperature candidate values, the system enters the color component analysis stage. RGB three-channel pixel values ​​are statistically analyzed for the image sub-blocks corresponding to the backlight area in the current display screen of the LCD screen. The average proportion of red, green, and blue color components in that area is calculated. If the image sub-block mainly presents warm-toned content (such as skin tones or wooden interface elements), the proportion of red is higher. In this case, the system will prioritize retaining or enhancing the initial color temperature candidate values ​​with a warm color tendency. Conversely, if the image sub-block is mainly composed of blue sky or document backgrounds, the proportion of blue is higher, and the system tends to retain cooler candidate values. The initial color temperature candidate values ​​are filtered based on this color component proportion, eliminating options that conflict with the color tendency of the image content, thus obtaining the filtered color temperature value. For example, in an office scenario, when a backlight area corresponds to an image sub-block displaying a warm yellow-toned PPT background and the ambient light color temperature is 3200K (belonging to the warm white light range), the system first determines the initial color temperature candidate value to be 3000K or 3400K. Then, considering the high proportion of red and green components in the image, it filters out 3000K, which is closer to the content's color tone, as the filtered color temperature value. Then, based on the selected color temperature value, the color temperature of adjacent areas of the backlight area is correlated and analyzed to obtain the currently determined color temperature value of the adjacent backlight areas above, below, left and right. The difference between the value and the selected color temperature value of the current area is calculated, which is the correlated color temperature difference. If the difference exceeds a preset threshold (such as 500K), it indicates that there is a significant risk of color temperature jump between adjacent areas. At this time, the selected color temperature value is finely adjusted and corrected, for example, by moving it 50K to 200K closer to the neighboring color temperature value to achieve a natural and smooth transition of color temperature between areas. Finally, the target color temperature is obtained, ensuring that the entire screen does not have obvious local color shift or visual discontinuity while dimming independently in different areas.

[0039] In a specific embodiment, calculating the driving current of the LED group in the backlight area based on the target brightness and target color temperature includes: The target brightness is divided into brightness levels to obtain brightness level ranges, and the corresponding basic current value is found in a preset color temperature-current correspondence table based on the target color temperature. Based on the brightness level range, the brightness ratio of the base current value is adjusted to obtain the adjusted current value, and the current stability of the adjusted current value is checked to remove unstable current fluctuation values ​​and obtain a stable current value. Based on the stable current value and the actual connection method of the LED light group in the backlight area, the stable current value is calculated for circuit adaptation to obtain the adapted drive current.

[0040] Specifically, the process of calculating the driving current of the LED group in the backlight area based on the target brightness and target color temperature first involves dividing the target brightness into brightness levels. Continuous target brightness values ​​are divided into multiple brightness level ranges according to preset thresholds. For example, 0-200 nits is the low brightness level range, 201-500 nits is the medium brightness level range, and 501-800 nits is the high brightness level range. Each range corresponds to different driving intensity requirements. Next, based on the target color temperature, the corresponding base current value is looked up in a preset color temperature-current correspondence table. This table stores reference values ​​for the LED driving current required for different color temperatures under standard brightness conditions. It is particularly suitable for lamp group structures composed of multi-channel LEDs (such as cool white LEDs and warm white LEDs). For example, when the target color temperature is 6200K, the system finds that the base current value of the cool white LED channel is higher than that of the warm white LED channel; when the target color temperature is 3200K, the base current value of the warm white LED channel is dominant. Subsequently, based on the brightness level range, the base current value is adjusted proportionally. Specifically, a proportional coefficient is calculated based on the relative position of the current target brightness within its respective brightness level range. For example, if the target brightness is 600 nits, falling within the high brightness level range of 501-800 nits, the proportional coefficient is (600-500) / (800-500) = 0.33. This coefficient is multiplied by the base current value to obtain the adjusted current value, thereby achieving linear or nonlinear current adaptation for different brightness levels at the same color temperature. Next, the adjusted current value undergoes current stability verification. By monitoring historical current change trends or simulating circuit response characteristics, it is determined whether the adjusted current value will cause instantaneous current jumps or high-frequency fluctuations. If its rate of change exceeds a safety threshold, it is considered an unstable current fluctuation value and is discarded, replaced by the stable value from the previous cycle or an interpolated result, thus obtaining a stable current value. This ensures that the drive signal will not cause LED flickering or power overload due to sudden changes. For example, in an office setting, when the target brightness of a backlight area is 550 nits and the target color temperature is 6200K, the system first classifies it into the high brightness level range. Looking up the table, the system obtains the base current value of 120mA for cool white LEDs. Then, based on the proportion of 550 nits within the range, it adjusts the current to approximately 135mA. After stability verification confirms no drastic fluctuations, this value is retained as the stable current. Finally, based on this stable current value and the actual connection method of the LED group in the backlight area, if the LED group is in series, the stable current value is used as the driving current for the entire series circuit. If it is in parallel or a multi-path hybrid structure, circuit adaptation calculations are performed according to the number of branches and current distribution rules. For example, the total current is proportionally distributed to the cool white and warm white LED branches to obtain the adapted driving current, which serves as the control input for the PWM dimming module, ensuring that the LED group emits light stably and accurately at the target brightness and color temperature.

[0041] In a specific embodiment, adjusting the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and controlling the LED group of the corresponding backlight area to emit light through the adaptive driving signal, includes: The driving current is subjected to current amplitude detection to obtain current amplitude data, and based on the current amplitude data, a matching initial duty cycle is found in a preset current-duty cycle correspondence table; The initial duty cycle is calibrated by the signal conditioning module of the backlight driving circuit to obtain the calibrated duty cycle. Based on the calibrated duty cycle, the period parameter of the pulse width modulation signal is synchronously adjusted to obtain the adapted duty cycle signal. An adaptation drive signal is generated based on the adaptation duty cycle signal, and the adaptation drive signal is transmitted to the LED light group drive interface of the corresponding backlight area through the backlight control module to obtain the light group drive command. The LED light group of the corresponding backlight area is controlled to emit light based on the light group drive command.

[0042] Specifically, the process of adjusting the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and controlling the LED group of the corresponding backlight area to emit light through the adaptive driving signal, firstly, the driving current is detected by current amplitude detection. A current detection unit integrated in the backlight driving circuit (such as a sampling resistor combined with an operational amplifier or Hall sensor) is used to collect the current signal flowing through the LED group in real time, convert it into a processable voltage signal, and then perform analog-to-digital conversion to obtain digitized current amplitude data. This data accurately reflects the actual magnitude of the currently required driving current. Next, based on the current amplitude data, a matching initial duty cycle is found in a preset current-duty cycle correspondence table. This table is pre-established through experimental calibration and records the pulse width modulation signal duty cycle corresponding to different driving current values. For example, when the driving current is 120mA, the corresponding duty cycle is 60%; when the driving current is 80mA, the corresponding duty cycle is 40%. The system quickly obtains the initial duty cycle matching the current driving current as the adjustment starting point by looking up the table. Subsequently, the initial duty cycle is calibrated by the signal conditioning module of the backlight drive circuit. The signal conditioning module, considering real-time operating parameters such as circuit temperature and power supply voltage fluctuations, fine-tunes and compensates the initial duty cycle. For example, in high-temperature environments, the LED forward voltage drop decreases; to prevent overcurrent, the duty cycle is appropriately reduced during calibration, thus obtaining a calibrated duty cycle and improving control accuracy and system stability. Next, based on the calibrated duty cycle, the period parameter of the pulse width modulation signal is synchronously adjusted to ensure the duty cycle matches the switching frequency, avoiding deviation of the average current from the set value due to frequency drift. For example, in a PWM signal with a fixed period of 20kHz, if the calibrated duty cycle is 55%, the high-level duration is 11 microseconds. The system generates a precisely timed adaptive duty cycle signal accordingly. Then, an adaptive drive signal is generated based on the adapted duty cycle signal. This process is completed by the PWM generator, which converts the adapted duty cycle signal into a square wave signal with a specific voltage level (e.g., 3.3V or 5V) and driving capability. The backlight control module then transmits the adapter drive signal to the LED lamp group driver interface of the corresponding backlight area. Based on the area address code, the backlight control module routes the adapter drive signal to the correct output channel, forming a lamp group drive command. This command includes the timing, voltage, and on / off control information of the drive signal. Finally, based on the lamp group drive command, the LED lamp group in the corresponding backlight area is controlled to emit light. The drive interface circuit converts the adapter drive signal into an actual current output, driving the LED lamp group to emit light according to the target brightness and target color temperature.For example, in an office setting, when the driving current of a certain backlight area is 135mA, the system detects that the current amplitude data corresponds to 135mA. Looking up the table, the initial duty cycle is found to be 68%. After calibration by the signal conditioning module, it is corrected to 66%. Then, combined with a 20kHz cycle, a high-level adaptive duty cycle signal is generated for 13.2 microseconds. Finally, an adaptive driving signal is formed and transmitted to the LED group in that area, so that it emits light stably and achieves backlight output that is consistent with the image content and ambient light.

[0043] The backlight optimization method for the LCD display screen in the embodiments of the present invention has been described above. The backlight optimization system for the LCD display screen in the embodiments of the present invention will be described below. Please refer to [link / reference]. Figure 2 One embodiment of the backlight optimization system for an LCD display screen in this invention includes: The acquisition module 21 is used to acquire the light parameters of the environment in which the display screen is located, and based on the light parameters, to divide the image currently displayed on the LCD screen into blocks to obtain image sub-blocks; The statistics module 22 is used to perform statistical calculations on the gray values ​​of all pixels within the image sub-block to obtain the average gray value of the sub-block. The first calculation module 23 is used to calculate the target brightness of the backlight area corresponding to each of the image sub-blocks based on the light parameters and the average gray level of the sub-blocks; Matching module 24 is used to match the target color temperature of the backlight area based on the ambient light color temperature value and target brightness in the light parameters; The second calculation module 25 is used to calculate the driving current of the LED group in the backlight area based on the target brightness and target color temperature. The adjustment module 26 is used to adjust the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and control the LED group of the corresponding backlight area to emit light through the adaptive driving signal.

[0044] In this embodiment, the specific implementation of each unit in the above device embodiment is described in the above method embodiment, and will not be repeated here.

[0045] Reference Figure 3 This invention provides a backlight optimization system for an LCD display screen, comprising: At least one processor 301; At least one memory 302 is used to store at least one program; When at least one program is executed by at least one processor 301, the at least one processor 301 implements a backlight optimization method for an LCD display.

[0046] Similarly, the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0047] In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order shown in the operation diagrams. For example, depending on the functions / operations involved, two consecutively shown blocks may actually be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order. Furthermore, the embodiments presented and described in the flowcharts of this invention are provided by way of example to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is altered and sub-operations described as part of a larger operation are executed independently.

[0048] Furthermore, although the invention has been described in the context of functional modules, it should be understood that, unless otherwise stated, one or more of the described functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the invention. Rather, given the properties, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the module will be understood within the scope of conventional skill of an engineer. Therefore, those skilled in the art can implement the invention as set forth in the claims using ordinary techniques without excessive experimentation. It is also understood that the specific concepts disclosed are merely illustrative and not intended to limit the scope of the invention, which is determined by the full scope of the appended claims and their equivalents.

[0049] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several programs to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0050] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequential list of executable programs for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, a program execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can retrieve and execute a program from or in conjunction with such a program execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can mean any means that can contain, store, communicate, propagate, or transmit a program for use by or in conjunction with a program execution system, apparatus, or device.

[0051] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0052] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable program execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0053] In the foregoing description of this specification, references to terms such as "one embodiment," "another embodiment," or "some embodiments" indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of the present invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0054] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

[0055] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

Claims

1. A backlight optimization method for an LCD display screen, characterized in that, Includes the following steps: The light parameters of the environment in which the display screen is located are collected, and based on the light parameters, the image currently displayed on the LCD screen is divided into blocks to obtain image sub-blocks; The average gray level of the sub-block is obtained by statistically calculating the gray values ​​of all pixels within the image sub-block. Based on the light parameters and the average gray level of the sub-block, the target brightness of the backlight area corresponding to each image sub-block is calculated; Based on the ambient light color temperature value and target brightness in the light parameters, match the target color temperature of the backlight area; Based on the target brightness and target color temperature, calculate the driving current of the LED group in the backlight area; Based on the driving current, the duty cycle of the pulse width modulation signal of the preset backlight driving circuit is adjusted to obtain an adaptive driving signal, and the LED light group in the corresponding backlight area is controlled to emit light through the adaptive driving signal.

2. The backlight optimization method for an LCD display screen according to claim 1, characterized in that, The system collects the ambient light parameters of the environment in which the display screen is located, and based on these parameters, segments the image currently displayed on the LCD screen into sub-blocks, including: The ambient light around the display screen is collected in real time by an ambient light sensor to obtain the raw light signal, and the raw light signal is processed by analog-to-digital conversion to obtain the light parameters. Based on the ambient light intensity value in the light parameters, the number of partitions for the image currently displayed on the LCD screen is set to obtain the number of partitions value, and the image is divided into grids according to the number of partitions value to obtain initial sub-blocks; The edge pixels of the initial sub-block are subjected to grayscale consistency verification to obtain the verification result. Based on the verification result, the boundary of the initial sub-block is adjusted to obtain the image sub-block.

3. The backlight optimization method for an LCD display screen according to claim 1, characterized in that, The step of performing grayscale value statistical calculation on all pixels within the image sub-block to obtain the average grayscale of the sub-block includes: Read the pixel grayscale value of each pixel in the image sub-block, and sort the pixel grayscale values ​​in order of size to obtain a grayscale sorting table; Based on the grayscale sorting table, the sorted pixel grayscale values ​​are processed by removing the first and last pixels to obtain effective grayscale values, and the effective grayscale values ​​are counted to obtain the number of effective pixels. Based on the effective grayscale values ​​and the number of effective pixels, the sum of all effective grayscale values ​​is calculated to obtain the total grayscale value. Then, the average grayscale value of the sub-block is obtained by dividing the total grayscale value by the number of effective pixels.

4. The backlight optimization method for an LCD display screen according to claim 1, characterized in that, The step of calculating the target brightness of the backlight region corresponding to each image sub-block based on the light parameters and the average gray level of the sub-block includes: The ambient light intensity value in the light parameters is graded to obtain the light intensity level, and the initial brightness value is calculated based on the average gray level and light intensity level of the sub-block. Based on the initial brightness value, the maximum brightness threshold and minimum brightness threshold of the LCD display are checked in intervals to obtain the checked brightness value, and the adjacent areas of the checked brightness value are smoothed to obtain the smoothed brightness value. Based on the smoothed brightness value, the brightness attenuation coefficient of the backlight area is corrected and calculated to obtain the corrected brightness value, and the corrected brightness value is determined as the target brightness.

5. The backlight optimization method for an LCD display screen according to claim 1, characterized in that, The step of matching the target color temperature of the backlight area based on the ambient light color temperature value and target brightness in the light parameters includes: The ambient light color temperature value in the light parameters is processed by color temperature segmentation to obtain color temperature segmentation intervals, and an initial candidate color temperature value is determined within the color temperature segmentation interval based on the target brightness. Based on the initial color temperature candidate values, color component analysis is performed on the image sub-blocks corresponding to the backlight area in the current display screen of the LCD screen to obtain the color component ratio, and the initial color temperature candidate values ​​are filtered based on the color component ratio to obtain the filtered color temperature values. Based on the selected color temperature value, a correlation analysis is performed on the color temperatures of adjacent areas in the backlight area to obtain the correlated color temperature difference value. Based on the correlated color temperature difference value, the selected color temperature value is finely adjusted and corrected to obtain the target color temperature.

6. The backlight optimization method for an LCD display screen according to claim 1, characterized in that, The calculation of the driving current of the LED group in the backlight area based on the target brightness and target color temperature includes: The target brightness is divided into brightness levels to obtain brightness level ranges, and the corresponding basic current value is found in a preset color temperature-current correspondence table based on the target color temperature. Based on the brightness level range, the brightness ratio of the base current value is adjusted to obtain the adjusted current value, and the current stability of the adjusted current value is checked to remove unstable current fluctuation values ​​and obtain a stable current value. Based on the stable current value and the actual connection method of the LED light group in the backlight area, the stable current value is calculated for circuit adaptation to obtain the adapted drive current.

7. The backlight optimization method for an LCD display screen according to claim 1, characterized in that, The step of adjusting the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and controlling the LED group of the corresponding backlight area to emit light through the adaptive driving signal, includes: The driving current is subjected to current amplitude detection to obtain current amplitude data, and based on the current amplitude data, a matching initial duty cycle is found in a preset current-duty cycle correspondence table; The initial duty cycle is calibrated by the signal conditioning module of the backlight driving circuit to obtain the calibrated duty cycle. Based on the calibrated duty cycle, the period parameter of the pulse width modulation signal is synchronously adjusted to obtain the adapted duty cycle signal. An adaptation drive signal is generated based on the adaptation duty cycle signal, and the adaptation drive signal is transmitted to the LED light group drive interface of the corresponding backlight area through the backlight control module to obtain the light group drive command. The LED light group of the corresponding backlight area is controlled to emit light based on the light group drive command.

8. A backlight optimization system for an LCD display screen, characterized in that, include: The acquisition module is used to acquire the light parameters of the environment in which the display screen is located, and based on the light parameters, to divide the image currently displayed on the LCD screen into blocks to obtain image sub-blocks; The statistics module is used to perform statistical calculations on the gray values ​​of all pixels within the image sub-block to obtain the average gray value of the sub-block. The first calculation module is used to calculate the target brightness of the backlight area corresponding to each of the image sub-blocks based on the light parameters and the average gray level of the sub-blocks; The matching module is used to match the target color temperature of the backlight area based on the ambient light color temperature value and the target brightness in the light parameters; The second calculation module is used to calculate the driving current of the LED group in the backlight area based on the target brightness and target color temperature. The adjustment module is used to adjust the duty cycle of the pulse width modulation signal of the preset backlight driving circuit based on the driving current to obtain an adaptive driving signal, and control the LED light group of the corresponding backlight area to emit light through the adaptive driving signal.

9. A backlight optimization system for an LCD display screen, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements a backlight optimization method for an LCD display screen as described in any one of claims 1-7.

10. A storage medium storing a processor-executable program, characterized in that, The processor-executable program, when executed by the processor, is used to implement a backlight optimization method for an LCD display screen as described in any one of claims 1-7.

Citation Information

Cited By

  • Backlight energy efficiency optimization method for liquid crystal display screen of mobile phone

    CN121386249A