Display brightness real-time compensation method and device, electronic terminal and storage medium

By inputting the display's target brightness value and rotation angle to the pre-built compensation model, and calculating and adjusting the duty cycle, the problem of the display's brightness deviation from the calibration value when rotated and tilted is solved, real-time compensation and non-professional adjustment of brightness are achieved.

CN119942960APending Publication Date: 2025-05-06NANJING JUSHA DISPLAY TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510401289.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The brightness value of the display is prone to deviate from the calibration value when it is rotated and tilted, and it is difficult for the prior art to realize brightness adjustment by non-professional personnel.

Method used

By obtaining the target brightness value and the actual rotation angle, input the pre-constructed compensation model, calculate the compensation value based on the corresponding relationship in the model, and adjust the duty cycle to achieve brightness compensation.

Benefits of technology

Real-time compensation of brightness values ​​during rotation and tilt of the display is achieved, solving the problem of brightness deviation from calibration values, and does not require hardware operation and can also be adjusted by non-professional personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119942960A_ABST
    Figure CN119942960A_ABST
Patent Text Reader

Abstract

The invention discloses a display brightness real-time compensation method and device, an electronic terminal and a storage medium in the technical field of display brightness adjustment. The method comprises the following steps: acquiring a target brightness value and an actual rotation angle; inputting the target brightness value and the actual rotation angle into a pre-constructed compensation model, obtaining a duty ratio corresponding to the target brightness value according to a pre-constructed corresponding relationship in the compensation model, and querying a display original brightness value corresponding to the actual rotation angle in the corresponding relationship based on the corresponding duty ratio, calculating a compensation value corresponding to the actual rotation angle according to the target brightness value and an original brightness value of the display; and adjusting a duty ratio according to the compensation value, and controlling a display to display target brightness corresponding to the target brightness value based on the adjusted duty ratio. The technical problem that the brightness value deviates from the calibration value when the display rotates and inclines can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of display brightness adjustment, and in particular to a display brightness real-time compensation method, device, electronic terminal and storage medium. Background Art

[0002] The brightness value of a display, usually expressed in nits (nit) or candela per square meter (cd / m²), is the core parameter for measuring the luminous intensity of the screen, which directly affects the visual experience, color performance and energy consumption.

[0003] The brightness value of the display usually deviates from the calibrated value when it is rotated and tilted. Usually, hardware optimization (such as IPS, compensation film) and sensors work together to solve the problem of brightness value deviating from the calibrated value. However, the above behavior involves hardware operation, and it is difficult for non-professional staff to perform calibration compensation to adjust the brightness value.

[0004] Therefore, there is an urgent need for a display brightness real-time compensation method, device, electronic terminal and storage medium to solve the above technical problems. Summary of the invention

[0005] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method, device, electronic terminal and storage medium for real-time display brightness compensation, which can solve the technical problem that the brightness value of the display deviates from the calibration value when the display is rotated and tilted.

[0006] To achieve the above object, the present invention is implemented by adopting the following technical solutions: In a first aspect, the present invention provides a method for real-time compensation of display brightness, comprising: Get the target brightness value and actual rotation angle; Input the target brightness value and the actual rotation angle into a pre-constructed compensation model, obtain a duty cycle corresponding to the target brightness value according to a pre-constructed corresponding relationship in the compensation model, query the original brightness value of the display corresponding to the actual rotation angle in the corresponding relationship based on the corresponding duty cycle, and calculate the compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display; The duty cycle is adjusted according to the compensation value, and the display is controlled to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle.

[0007] Furthermore, the corresponding relationship includes: When the display is located on a reference plane, the original brightness value of the panel corresponding to the PWM duty cycle from 0 to 100%.

[0008] Furthermore, the corresponding relationship also includes: Keeping the X axis of the reference plane unchanged, controlling the display to rotate 360° clockwise in the YZ plane, and obtaining the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle; Keeping the Y axis of the reference plane unchanged, controlling the display to rotate 360° clockwise in the XZ plane, and obtaining the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle; The Z axis of the reference plane remains unchanged, the display is controlled to rotate 360° clockwise in the XY plane, and the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle is obtained.

[0009] Further, calculating the compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display includes: Com yz [i][α]=(YZ[i][α]-L[i]) / (YZ[i][α] / i); Among them, Com yz [i][α] is the compensation value when the duty cycle is i and the YZ plane is rotated by an angle α, YZ[i][α] is the original brightness value of the display when the duty cycle is i and the YZ plane is rotated by an angle α, and L[i] is the target brightness value corresponding to the duty cycle i; Com xz [i][β]=(XZ[i][β]-L[i]) / (XZ[i][β] / i); Among them, Com xz [i][β] is the compensation value when the duty cycle is i and the XZ plane is rotated by an angle β, and XZ[i][β] is the original brightness value of the display when the duty cycle is i and the XZ plane is rotated by an angle β; Com xy [i][γ]=(XY[i][γ]-L[i]) / (XY[i][γ] / i); Among them, Com xy [i][γ] is the compensation value when the duty cycle is i and the XY plane is rotated by an angle γ, and XY [i][γ] is the original brightness value of the display when the duty cycle is i and the XY plane is rotated by an angle γ.

[0010] Further, adjusting the duty cycle according to the compensation value includes: i'=i-Com yz [i][α]- Com xz [i][β]- Com xy [i][γ]; Wherein, i' is the adjusted duty cycle.

[0011] In a second aspect, the present invention provides a display brightness real-time compensation device, comprising: The acquisition module is used to obtain the target brightness value and the actual rotation angle; A compensation module, configured to input the target brightness value and the actual rotation angle into a pre-constructed compensation model, obtain a duty cycle corresponding to the target brightness value according to a pre-constructed corresponding relationship in the compensation model, query an original brightness value of the display corresponding to the actual rotation angle in the corresponding relationship based on the corresponding duty cycle, and calculate a compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display; The adjustment module is used to adjust the duty cycle according to the compensation value, and control the display to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle.

[0012] In a third aspect, the present invention provides an electronic terminal, comprising a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of any of the above methods are performed.

[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of any of the above methods when executed by a processor.

[0014] Compared with the prior art, the beneficial effects achieved by the present invention are: The acquired target brightness value and actual rotation angle are input into a pre-constructed compensation model, the duty cycle corresponding to the target brightness value is obtained according to the corresponding relationship pre-constructed in the compensation model, the original brightness value of the display corresponding to the actual rotation angle is queried in the corresponding relationship based on the corresponding duty cycle, the compensation value corresponding to the actual rotation angle is calculated according to the target brightness value and the original brightness value of the display, and finally the duty cycle is adjusted according to the compensation value, and the display is controlled to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle; in the above operation, the target brightness value and the actual rotation angle can be acquired by sensors, the compensation model and the corresponding relationship pre-constructed in the model can also be set in advance, and the overall compensation method can also be implemented by the device, thereby solving the technical problem that the brightness value of the display deviates from the calibration value when it rotates and tilts, and the solution does not involve hardware operation, and non-professional staff can also implement calibration compensation to adjust the brightness value. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a flow chart of a method for real-time compensation of display brightness provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0016] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present application and the specific features in the embodiments are detailed descriptions of the technical solution of the present application, rather than limitations on the technical solution of the present application. In the absence of conflict, the embodiments of the present application and the technical features in the embodiments can be combined with each other.

[0017] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. Embodiment 1:

[0018] Figure 1 1 is a flow chart of the method for real-time display brightness compensation in the first embodiment of the present invention. This flow chart only shows the logical sequence of the method described in this embodiment. In other possible embodiments of the present invention, different methods may be used without conflict. Figure 1 The steps shown or described are accomplished in the order shown.

[0019] The display brightness real-time compensation method provided in this embodiment can be applied to a terminal and can be executed by a display brightness real-time compensation device, which can be implemented by software and / or hardware, and can be integrated in a terminal, for example: any smart phone, tablet computer or computer device with communication function. Figure 1 As shown, the method of this embodiment specifically includes the following steps: Step 1: Get the target brightness value and actual rotation angle; Step 2: Input the target brightness value and the actual rotation angle into a pre-constructed compensation model, and obtain the duty cycle corresponding to the target brightness value according to the pre-constructed corresponding relationship in the compensation model, wherein the corresponding relationship includes: Taking the vertical intersection of the preset reference point of the display and the horizontal plane as the origin of the three-dimensional coordinate system, constructing a coordinate system with the origin of the three-dimensional coordinate system, when the display is located on the reference plane, the original brightness value of the panel corresponding to the PWM duty cycle from 0 to 100%; The corresponding relationship also includes: Keeping the X axis of the reference plane unchanged, controlling the display to rotate 360° clockwise in the YZ plane, and obtaining the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle; Keeping the Y axis of the reference plane unchanged, controlling the display to rotate 360° clockwise in the XZ plane, and obtaining the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle; The Z axis of the reference plane remains unchanged, the display is controlled to rotate 360° clockwise in the XY plane, and the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle is obtained.

[0020] Based on the corresponding duty cycle, querying the original brightness value of the display corresponding to the actual rotation angle in the corresponding relationship, and calculating the compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display includes: Com yz [i][α]=(YZ[i][α]-L[i]) / (YZ[i][α] / i); Among them, Com yz [i][α] is the compensation value when the duty cycle is i and the YZ plane is rotated by an angle α, YZ[i][α] is the original brightness value of the display when the duty cycle is i and the YZ plane is rotated by an angle α, and L[i] is the target brightness value corresponding to the duty cycle i; Com xz [i][β]=(XZ[i][β]-L[i]) / (XZ[i][β] / i); Among them, Com xz [i][β] is the compensation value when the duty cycle is i and the XZ plane is rotated by an angle β, and XZ[i][β] is the original brightness value of the display when the duty cycle is i and the XZ plane is rotated by an angle β; Com xy [i][γ]=(XY[i][γ]-L[i]) / (XY[i][γ] / i); Among them, Com xy [i][γ] is the compensation value when the duty cycle is i and the XY plane is rotated by an angle γ, and XY [i][γ] is the original brightness value of the display when the duty cycle is i and the XY plane is rotated by an angle γ.

[0021] Step three: adjusting the duty cycle according to the compensation value, and controlling the display to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle.

[0022] Adjusting the duty cycle according to the compensation value includes: i'=i-Com yz [i][α]- Com xz [i][β]- Com xy [i][γ]; Wherein, i' is the adjusted duty cycle.

[0023] The specific practical steps include: Step 1: Take the direction of the monitor perpendicular to the desktop as the coordinate origin (X=0, Y=0, Z=0). Test the original brightness value L[i] of the panel corresponding to the PWM duty cycle from 0 to 100%, where i is the duty cycle value; Step 2: Keep the X-axis unchanged and rotate 360° clockwise in the YZ plane. Record the original brightness value YZ[i][α] of the panel corresponding to the PWM duty cycle from 0 to 100% at each rotation angle, where i = duty cycle value and α = rotation angle. Step 3: Keep the Y axis unchanged and rotate 360° clockwise in the XZ plane. Record the original brightness value XZ[i][β] of the panel corresponding to the PWM duty cycle from 0 to 100% at each rotation angle, where i = duty cycle value and β = rotation angle. Step 4: Keep the Z axis unchanged and rotate 360° clockwise in the XY plane. Record the original brightness value XY[i][γ] of the panel corresponding to the PWM duty cycle from 0 to 100% at each rotation angle, where i = duty cycle value and γ = rotation angle. Step 5: With the X axis unchanged and the same duty cycle, the brightness difference at different angles in the YZ plane is Axy=(YZ[i][α]-L[i]); the average brightness value corresponding to each duty cycle is Byz=(YZ[i][α] / i); calculate the compensation value Comyz[i][α]=Ayz / Byz=(YZ[i][α]-L[i]) / (YZ[i][α] / i) at different angles in the YZ plane; Step 6: Same as above, the compensation values ​​of different angles in XZ and XY planes can be calculated by the same method. Comxz[i][β]=(XZ[i][β]-L[i]) / (XZ[i][β] / i); Comxy[i][γ]=(XY[i][γ]-L[i]) / (XY[i][γ] / i); Step 7: Add the above compensation values ​​to the program. When the menu is set to L brightness value, look up the table according to Step 1 to get the initial value of duty cycle i. According to the rotation angle detected by the gravity sensor, calculate the corresponding compensation values ​​Comyz[i][α], Comyz[i][β], Comyz[i][γ] in the YZ, XZ, and XY planes. Step 8: The software adjusts the duty cycle i'=i-Comyz[i][α]-Comyz[i][β]-Comyz[i][γ] according to the compensation value; obtains the corresponding brightness; and realizes real-time detection of the display rotation angle to correctly reach the brightness value set by the menu. Embodiment 2:

[0024] Embodiment 2 of the present invention provides a display brightness real-time compensation device, including: The acquisition module is used to obtain the target brightness value and the actual rotation angle; A compensation module, configured to input the target brightness value and the actual rotation angle into a pre-constructed compensation model, obtain a duty cycle corresponding to the target brightness value according to a pre-constructed corresponding relationship in the compensation model, query an original brightness value of the display corresponding to the actual rotation angle in the corresponding relationship based on the corresponding duty cycle, and calculate a compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display; The adjustment module is used to adjust the duty cycle according to the compensation value, and control the display to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle.

[0025] The display brightness real-time compensation device provided in the second embodiment of the present invention can execute the display brightness real-time compensation method provided in the first embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Embodiment three:

[0026] Embodiment 3 of the present invention further provides an electronic terminal, comprising a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and the processor is configured to operate according to the instructions to execute the steps of the method described in embodiment 1.

[0027] The electronic terminal provided in the third embodiment of the present invention can execute the display brightness real-time compensation method provided in the first embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Embodiment 4:

[0028] Embodiment 4 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in Embodiment 1 are implemented, and the computer program has functional modules and beneficial effects corresponding to the execution method.

[0029] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0030] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0031] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0032] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0033] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for real-time compensation of display brightness, characterized in that: include: Get the target brightness value and actual rotation angle; Input the target brightness value and the actual rotation angle into a pre-constructed compensation model, obtain a duty cycle corresponding to the target brightness value according to a pre-constructed corresponding relationship in the compensation model, query the original brightness value of the display corresponding to the actual rotation angle in the corresponding relationship based on the corresponding duty cycle, and calculate the compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display; The duty cycle is adjusted according to the compensation value, and the display is controlled to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle.

2. A method for real-time display brightness compensation according to claim 1, characterized in that: The corresponding relationship includes: When the display is located on a reference plane, the original brightness value of the panel corresponding to the PWM duty cycle from 0 to 100%.

3. A method for real-time display brightness compensation according to claim 2, characterized in that: The corresponding relationship also includes: Keeping the X axis of the reference plane unchanged, controlling the display to rotate 360° clockwise in the YZ plane, and obtaining the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle; Keeping the Y axis of the reference plane unchanged, controlling the display to rotate 360° clockwise in the XZ plane, and obtaining the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle; The Z axis of the reference plane remains unchanged, the display is controlled to rotate 360° clockwise in the XY plane, and the original brightness value of the display corresponding to the duty cycle of PWM increasing from 0 to 100% at each unit rotation angle is obtained.

4. A method for real-time display brightness compensation according to claim 3, characterized in that: Calculating the compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display includes: Com yz [i][α] =(YZ[i][α]-L[i]) / (YZ[i][α] / i); Among them, Com yz [i][α] is the compensation value when the duty cycle is i and the YZ plane is rotated by an angle α, YZ[i][α] is the original brightness value of the display when the duty cycle is i and the YZ plane is rotated by an angle α, and L[i] is the target brightness value corresponding to the duty cycle i; Com xz [i][β] =(XZ[i][β]-L[i]) / (XZ [i][β] / i); Among them, Com xz [i][β] is the compensation value when the duty cycle is i and the XZ plane is rotated by an angle β, and XZ[i][β] is the original brightness value of the display when the duty cycle is i and the XZ plane is rotated by an angle β; Com xy [i][γ] =(XY[i][γ]-L[i]) / (XY [i][γ] / i); Among them, Com xy [i][γ] is the compensation value when the duty cycle is i and the XY plane is rotated by an angle γ, and XY [i][γ] is the original brightness value of the display when the duty cycle is i and the XY plane is rotated by an angle γ.

5. A method for real-time display brightness compensation according to claim 4, characterized in that: Adjusting the duty cycle according to the compensation value includes: i'=i-Com yz [i][α]- Com xz [i][β] - Com xy [i][γ]; Wherein, i' is the adjusted duty cycle.

6. A real-time display brightness compensation device, characterized in that: include: Acquisition module, used to obtain target brightness value and actual rotation angle; A compensation module, configured to input the target brightness value and the actual rotation angle into a pre-constructed compensation model, obtain a duty cycle corresponding to the target brightness value according to a pre-constructed corresponding relationship in the compensation model, query an original brightness value of the display corresponding to the actual rotation angle in the corresponding relationship based on the corresponding duty cycle, and calculate a compensation value corresponding to the actual rotation angle according to the target brightness value and the original brightness value of the display; The adjustment module is used to adjust the duty cycle according to the compensation value, and control the display to display the target brightness corresponding to the target brightness value based on the adjusted duty cycle.

7. An electronic terminal, characterized in that: The method comprises a processor and a memory connected to the processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 5 are executed.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.