Brightness Adjustment Method, Device, Equipment, Medium and Product of Light Emitting Unit
By setting the first current and the second current of the light emitting unit within different periods within the target period, the flickering problem caused by the light emitting diode extinguishing in the pulse width modulation mode is solved, and multi-level brightness control is realized without increasing the circuit area, ensuring the normal display of the screen.
Patent Information
- Application Number
- CN202411212172.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2044-08-30
AI Technical Summary
In the prior art, when the brightness of the light emitting diode is controlled by pulse width modulation, flickering problems caused by an increase in extinguishing time are prone to occur, especially the longer the extinguishing time, the more serious the flickering phenomenon is.
During different periods of the target period, it is determined that the driving current of the light emitting unit is different to prevent the light emitting unit from being extinguished. By setting the first current and the second current respectively in the first and second periods, the average brightness reaches the target brightness and avoiding flickering.
It effectively avoids the extinguishing time of the light emitting unit, solves the flickering problem, and ensures the normal display of the screen, and realizes multi-level brightness control without increasing the area of the control circuit.
Smart Images

Figure CN119132241B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display, and in particular to a method, device, equipment, medium and product for adjusting the brightness of a light-emitting unit. Background Art
[0002] Liquid crystal displays (LCDs) are passive electronic devices that don't emit light on their own and rely on a backlight unit (BLU) for light. The BLU provides the necessary light, enabling the liquid crystal layer in the LCD (Liquid Crystal Display) to adjust light transmittance and display images.
[0003] The backlight unit may include a light emitting unit, which may include one or more light emitting diodes (Mini-LEDs). Currently, the brightness of the light emitting diodes can be controlled by pulse width modulation (PWM).
[0004] However, in the pulse width modulation method, there will be a period of time when the light emitting diode is off. As the off time increases, a flicker problem may occur. The longer the light emitting diode is off, the more serious the flicker phenomenon is. Summary of the Invention
[0005] The present application provides a method, device, equipment, medium and product for adjusting the brightness of a light-emitting unit to solve the flicker problem.
[0006] In a first aspect, the present application provides a method for adjusting the brightness of a light-emitting unit, the method comprising:
[0007] Obtaining a set current and an initial duty cycle of a target period, calculating a target current according to the set current and the initial duty cycle, and determining a target brightness corresponding to the light-emitting unit according to the target current;
[0008] In a first time period of the target cycle, determining that the driving current of the light-emitting unit is a first current, and the light-emitting unit has a first brightness corresponding to the first time period;
[0009] In a second time period of the target cycle, determining that the driving current of the light-emitting unit is a second current, and the light-emitting unit has a second brightness corresponding to the second time period;
[0010] The average brightness of the first brightness and the second brightness is equal to the target brightness.
[0011] In some embodiments, when the first current is less than the target current, the second current is greater than the target current;
[0012] When the first current is greater than the target current, the second current is less than the target current.
[0013] In some embodiments, the number of the target cycles is multiple;
[0014] At least some target cycles have different initial duty cycles, each target cycle has a corresponding first current and second current, and the average brightness of the light-emitting unit under the control of the first current and second current corresponding to each target cycle is equal to the target brightness of the corresponding cycle.
[0015] In some embodiments, during the first time period of the target cycle, determining the driving current of the light-emitting unit to be the first current specifically includes:
[0016] Setting a target duty cycle, wherein the time period corresponding to the target duty cycle is the first time period of the target cycle;
[0017] During the first period, the first current is determined according to the set current and the target duty cycle.
[0018] In some embodiments, determining the driving current of the light-emitting unit as a second current and the second brightness corresponding to the light-emitting unit in the second period during the second period of the target cycle specifically includes:
[0019] Determining the total brightness of the light-emitting unit during the target period according to the target current and the duration of the target period;
[0020] determining a total brightness of the light-emitting unit in a first time period according to the first brightness and a duration of the first time period of the target cycle;
[0021] Subtract the total brightness of the first time period from the total brightness of the target cycle to obtain the total brightness of the light-emitting unit in the second time period of the target cycle;
[0022] Obtaining the second brightness according to the total brightness of the second period and the duration of the second period;
[0023] The driving current of the light-emitting unit in the second time period is determined to be the second current according to the second brightness.
[0024] In some embodiments, determining that the driving current of the light-emitting unit is a first current and the first brightness of the light-emitting unit corresponding to the first time period during the first time period specifically includes:
[0025] Dividing the first time period of the target cycle into at least one first sub-time period, and determining the driving current of the light-emitting unit as a first sub-current in each first sub-time period;
[0026] determining, according to the first sub-current in each first sub-period, a first sub-brightness of the light-emitting unit corresponding to each first sub-period, wherein an average brightness of each of the first sub-brightnesses is equal to the first brightness;
[0027] And / or, in a second time period of the target cycle, determining that the driving current of the light-emitting unit is a second current and the second brightness of the light-emitting unit corresponding to the second time period specifically includes:
[0028] Dividing the second period of the target cycle into at least one second sub-period, and in each second sub-period, determining the driving current of the light-emitting unit to be a second sub-current;
[0029] The second sub-brightness of the light-emitting unit corresponding to each second sub-period is determined according to the second sub-current in each second sub-period, and the average brightness of each second sub-brightness is equal to the second brightness.
[0030] In a second aspect, the present application provides a brightness control device for a light-emitting unit, comprising:
[0031] a first processing module, configured to obtain a set current and an initial duty cycle of a target period, calculate a target current according to the set current and the initial duty cycle, and determine a target brightness corresponding to the light-emitting unit according to the target current;
[0032] a second processing module, configured to determine, within a first time period of the target cycle, that the driving current of the light-emitting unit is a first current, and a first brightness corresponding to the light-emitting unit during the first time period;
[0033] a third processing module, configured to determine, within a second time period of the target cycle, that the driving current of the light-emitting unit is a second current, and a second brightness corresponding to the light-emitting unit during the second time period;
[0034] The average brightness of the first brightness and the second brightness is equal to the target brightness.
[0035] In a third aspect, the present application provides an electronic device, comprising: a memory and a processor;
[0036] The memory is used to store instructions; the processor is used to call the instructions in the memory to execute the method in the first aspect and any possible design of the first aspect.
[0037] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer instructions. When at least one processor of an electronic device executes the computer instructions, the electronic device executes the method in the first aspect and any possible design of the first aspect.
[0038] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When at least one processor of an electronic device executes the computer instructions, the electronic device executes the method in the first aspect and any possible design of the first aspect.
[0039] The brightness adjustment method, device, equipment, medium, and product of the light-emitting unit provided in the present application obtain the set current and initial duty cycle of the target cycle, calculate the target current based on the set current and initial duty cycle, determine the target brightness corresponding to the light-emitting unit based on the target current, and then determine the driving current of the light-emitting unit to be the first current and the first brightness corresponding to the first period of the light-emitting unit in the first period of the target cycle. In the second period of the target cycle, the driving current of the light-emitting unit is determined to be the second current and the second brightness corresponding to the second period of the light-emitting unit in the second period of the target cycle, thereby avoiding the time when the light-emitting unit is extinguished and solving the flicker problem. In addition, the average brightness of the first brightness of the light-emitting unit in the first period and the second brightness in the second period is equal to the target brightness, thereby ensuring normal display of the picture. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0041] Figure 1 A schematic flow chart of a method for adjusting the brightness of a light-emitting unit according to an embodiment of the present application;
[0042] Figure 2 A schematic diagram of current and duty cycle provided in an embodiment of the present application;
[0043] Figure 3 A current diagram provided for an embodiment of the present application;
[0044] Figure 4 A brightness diagram provided for another embodiment of the present application;
[0045] Figure 5 A brightness diagram provided for another embodiment of the present application;
[0046] Figure 6A schematic structural diagram of a brightness adjustment device for a light-emitting unit according to an embodiment of the present application;
[0047] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0048] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0049] Liquid crystal displays (LCDs) are passive electronic devices that don't emit light on their own and rely on a backlight unit (BLU) for light. The BLU provides the necessary light, enabling the liquid crystal layer in the LCD (Liquid Crystal Display) to adjust light transmittance and display images.
[0050] For example, the backlight unit may include an active matrix (AM) driver and a light-emitting unit. The light-emitting unit may include one or more sub-millimeter light-emitting diodes (Mini Light Emitting Diode, Mini-LED). The backlight unit controls the brightness of each sub-millimeter light-emitting diode through the active matrix driver, and can achieve local dimming (Local Dimming), dynamically adjusting the backlight brightness of different areas according to the image content, thereby improving contrast and color performance. Among them, sub-millimeter light-emitting diodes are a type of light-emitting diode between traditional light-emitting diodes and micro light-emitting diodes (Micro Light Emitting Diode, Micro-LED), and are usually between 100 microns and 200 microns in size. Sub-millimeter light-emitting diodes can be used as backlight sources to provide higher brightness and finer regional dimming.
[0051] Specifically, active matrix (AM) driving uses thin film transistors (TFTs) to control the switching state of each pixel. Each pixel has an independent thin film transistor that can quickly respond and control the brightness of sub-millimeter light-emitting diodes.
[0052] In some embodiments, the brightness of the LED can be controlled by controlling the current. This is achieved by adjusting the driving current of the LED to control the brightness of the LED. The brightness of the LED is proportional to the driving current of the LED. The greater the driving current of the LED, the higher the brightness of the LED, and the smaller the driving current of the LED, the lower the brightness of the LED.
[0053] However, if multi-level grayscale brightness is achieved only by controlling current, a multi-bit register is required to achieve current control. For example, using a 6-bit register to control current can achieve 64 levels of grayscale brightness, and using an 8-bit register to control current can achieve 256 levels of grayscale brightness.
[0054] Therefore, in order to achieve more brightness levels with the same maximum brightness, more bits are required.
[0055] The circuit corresponding to each bit register needs to match a corresponding number of electronic devices, such as transistors (MOS), etc. Each electronic device needs to occupy a corresponding unit area in the circuit. As the number of bits increases, the area of the corresponding circuit will also increase exponentially. Therefore, multi-bit registers need to occupy a larger circuit area.
[0056] However, due to the characteristics of the backlight unit, as the number of backlight unit partitions increases, each partition requires more precise light source control, which is usually achieved by reducing the spacing between light-emitting diodes. As the spacing between light-emitting diodes decreases, the density of light-emitting diodes increases, which requires more driving circuits. If current control requires a larger circuit area, it may affect the driving effect of the light-emitting diodes.
[0057] In other embodiments, the brightness of the LED can be controlled by pulse width modulation (PWM), which is achieved by adjusting the ratio of the on-off time (duty cycle) of the LED. The duty cycle refers to the proportion of the power-on time to the total time within a pulse cycle. The higher the duty cycle, the higher the average brightness of the LED, and the lower the duty cycle, the lower the average brightness of the LED.
[0058] However, in the pulse width modulation method, there will be a period of time when the light emitting diode is off. As the off time increases, a flicker problem may occur. The longer the light emitting diode is off, the more serious the flicker phenomenon is.
[0059] To this end, the present application proposes a brightness adjustment method for a light-emitting unit, which determines that the light-emitting unit has different currents at different time periods within a target cycle, avoids the light-emitting unit from being extinguished, and solves the flicker problem.
[0060] The following specific embodiments are used to describe the technical solution of the present application in detail. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0061] Figure 1 FIG. 1 shows a flow chart of a method for adjusting the brightness of a light emitting unit provided in an embodiment of the present application. Figure 1 As shown, with the electronic device as the execution subject, the method of this embodiment may include the following steps:
[0062] S101 , obtaining a set current and a duty cycle of a target period, calculating a target current according to the set current and the duty cycle, and determining a target brightness corresponding to the light-emitting unit according to the target current.
[0063] It should be noted that the target period can be a period corresponding to any frame, and one period corresponds to the display time of one frame.
[0064] The duty cycle refers to the proportion of time a signal is high within a cycle, and typically ranges from 0% to 100%. A higher duty cycle means the light-emitting unit stays on for a longer period, resulting in a higher average brightness. A lower duty cycle means the light-emitting unit stays on for a shorter period, resulting in a lower average brightness.
[0065] For example, the product of the set current of the target period and the duty cycle of the target period is calculated to obtain the target current of the target period. In the embodiment of the present application, after obtaining the target current, the target brightness corresponding to the light-emitting unit can also be determined based on the target current. The target brightness can be understood as the average brightness of the light-emitting unit in the target period, that is, the brightness of the light-emitting unit when the picture is displayed normally.
[0066] For example, the corresponding relationship between current and brightness can be preset, and the target brightness can be determined according to the target current, or the target current can be determined according to the target brightness.
[0067] In some embodiments, the number of target cycles can be multiple, each target cycle has its own corresponding initial duty cycle, and the initial duty cycles of at least some target cycles are different, so the light-emitting unit has different target brightness in at least some target cycles, so that different pictures have corresponding display brightness.
[0068] For example, the target current of each target cycle can be determined based on the set current and the initial duty cycle of each target cycle, and the target brightness of each target cycle can be determined based on the target current of each target cycle. It should be noted that the set current of each target cycle is the same.
[0069] For example, Figure 2As shown, there are four target cycles, designated as the first cycle, the second cycle, the third cycle, and the fourth cycle. If the duty cycle of the first cycle is 70%, the target current of the first cycle is 70% of the set current; if the duty cycle of the second cycle is 90%, the target current of the second cycle is 90% of the set current; if the duty cycle of the third cycle is 30%, the target current of the third cycle is 30% of the set current; and if the duty cycle of the fourth cycle is 40%, the target current of the fourth cycle is 30% of the set current.
[0070] S102 : In a first time period of a target cycle, determine that the driving current of the light-emitting unit is a first current, and the light-emitting unit has a first brightness corresponding to the first time period.
[0071] It should be noted that the first and second time periods of the target cycle are determined to facilitate the subsequent application of different currents in different time periods to avoid the light emitting unit being extinguished. The first and second time periods of the target cycle can be determined according to actual conditions.
[0072] The first brightness can be understood as the average brightness of the light-emitting unit during the first period. In some embodiments, a target duty cycle is set, and the period corresponding to the target duty cycle is the first period. During the first period of the target cycle, the first current is determined based on the set current and the target duty cycle. Thus, a larger first current can be determined based on a smaller set current by adjusting the target duty cycle. In this way, in multiple target cycles, the first current of each cycle can be determined based on a smaller set current, achieving multi-level brightness control without increasing the area of the control circuit, thereby improving control efficiency.
[0073] It should be noted that if the current is set as an analog signal and the target duty cycle is a digital signal, then different first currents can be output by adjusting the digital signal under a certain analog signal, and multi-level brightness control can be achieved without increasing the area of the control circuit.
[0074] For example, the target duty cycle may be the initial duty cycle, or the target duty cycle may be slightly smaller than the initial duty cycle, or slightly larger than the initial duty cycle.
[0075] As an implementation manner, for ease of calculation, the target duty cycle may be set to 50%, and the first period of the target cycle is half of the target cycle.
[0076] S103 , in a second time period of the target cycle, determining that the driving current of the light-emitting unit is a second current, and the light-emitting unit has a second brightness corresponding to the second time period.
[0077] The second brightness can be understood as the average brightness of the light-emitting unit in the second time period.
[0078] In some embodiments, the total brightness of the light-emitting unit in the target period can be determined based on the target current and the duration of the target period, and the total brightness of the light-emitting unit in the first period can be determined based on the first brightness and the duration of the first period of the target period. Then, the total brightness of the second period of the target period is subtracted from the total brightness of the target period to obtain the total brightness of the second period of the target period. The total brightness of the second period of the target period is subtracted from the total brightness of the second period to obtain the total brightness of the second period of the target period. Subsequently, the second brightness can be obtained based on the total brightness of the second period and the duration of the second period. Based on the second brightness, the driving current of the light-emitting unit in the second period is determined to be the second current. Therefore, after determining the current and brightness of the first period, the current and brightness of the second period can be determined based on the current and brightness of the first period.
[0079] For example, the product of the target current and the duration of the target cycle can be calculated to obtain the total brightness of the light-emitting unit during the target cycle; the product of the first brightness and the duration of the first period of the target cycle can be calculated to obtain the total brightness of the light-emitting unit during the first period; the total brightness of the first period can be subtracted from the total brightness of the target cycle to obtain the total brightness of the light-emitting unit during the second period of the target cycle; the total brightness of the second period can be divided by the duration of the second period to obtain the second brightness; and the driving current of the light-emitting unit during the second period can be determined as the second current based on the corresponding relationship between brightness and current. In this way, the average brightness of the light-emitting unit during the target cycle under the control of the first current and the second current can be guaranteed to be the target brightness, ensuring the normal operation of the light-emitting unit.
[0080] In some embodiments, the number of target cycles is multiple, such as Figure 3 As shown, each target cycle has a corresponding first time period and a corresponding second time period, each first time period has a corresponding first current, and each second time period has a corresponding second current. The average brightness of the light-emitting unit under the control of the first current and the second current corresponding to each target cycle is equal to the target brightness of the corresponding cycle, thereby avoiding flickering in each frame.
[0081] In some examples, the first current may be smaller than the target current corresponding to the target brightness. Accordingly, the second current needs to be larger than the target current to ensure that the average brightness of the first brightness corresponding to the first current and the second brightness corresponding to the second current is equal to the target brightness.
[0082] For example, if the initial duty cycle is x%, the target current is x% of the set current; and the first current is y% of the set current; if the set target duty cycle is a%, then the first period is a% of the target cycle. The second current of the second period can be calculated based on the above parameters. For ease of description, the set current is marked as A and the target cycle is marked as T. The second current of the second period is: (A×x%×TA×y%×T×a%) / (1-a%)T
[0083] For example, Figure 4 As shown, the number of target cycles is four, the target current of the first cycle is 70% of the set current, recorded as A×70%, the target current of the second cycle is 90% of the set current, recorded as A×90%, the target current of the third cycle is 30% of the set current, recorded as A×30%, and the target current of the fourth cycle is 40% of the set current, recorded as A×40%.
[0084] In the first cycle, the first current in the first time period can be 65% of the set current, recorded as A×65%. If the target duty cycle is 50%, the first time period is half of the target cycle, recorded as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second time period can be: (A×70%×TA×65%×T×50%) / T×50%=A×75%. Accordingly, the average brightness of the light-emitting unit in the first cycle when driven by the first current and the second current is: A×65%×T×50%+A×75%×T×50%=A×75%×T.
[0085] In the second cycle, the first current in the first period can be 80% of the set current, recorded as A×80%. If the target duty cycle is 50%, the first period is half of the target period, recorded as T×50%. In order to enable the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second period can be: (A×90%×TA×80%×T×50%) / T×50%=A×100%. Accordingly, the average brightness of the light-emitting unit in the second period when driven by the first current and the second current is: A×80%×T×50%+A×100%×T×50%=A×90%×T.
[0086] In the third cycle, the first current in the first period can be 25% of the set current, recorded as A×25%. If the target duty cycle is 50%, the first period is half of the target period, recorded as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second period can be: (A×30%×T×25%×T×50%) / T×50%=A×45%. Accordingly, the average brightness of the light-emitting unit in the third period when driven by the first current and the second current is: A×25%×T×50%+A×45%×T×50%=A×30%×T.
[0087] In the fourth cycle, the first current in the first period can be 30% of the set current. If the target duty cycle is 50%, the first period is half of the target period, recorded as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second period can be: (A×40%×TA×30%×T×50%) / T×50%=A×50%. Accordingly, the average brightness of the light-emitting unit in the fourth period when driven by the first current and the second current is: A×30%×T×50%+A×50%×T×50%=A×40%×T.
[0088] In other examples, the first current may be greater than the target current corresponding to the target brightness, and accordingly, the second current needs to be less than the target current to ensure that the average brightness of the first brightness corresponding to the first current and the second brightness corresponding to the second current is equal to the target brightness.
[0089] For example, Figure 5 As shown, the number of target cycles is four, the target current of the first cycle is 70% of the set current, recorded as A×70%, the target current of the second cycle is 90% of the set current, recorded as A×90%, the target current of the third cycle is 30% of the set current, recorded as A×30%, and the target current of the fourth cycle is 40% of the set current, recorded as A×40%.
[0090] In the first cycle, the first current in the first time period can be 75% of the set current, recorded as A×75%. If the target duty cycle is 50%, the first time period is half of the target cycle, recorded as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second time period can be: (A×70%×TA×75%×T×50%) / T×50%=A×65%. Accordingly, the average brightness of the light-emitting unit in the first cycle when driven by the first current and the second current is: A×75%×T×50%+A×65%×T×50%=A×75%×T.
[0091] In the second cycle, the first current in the first period can be 80% of the set current, denoted as A×100%. If the target duty cycle is 50%, the first period is half of the target period, denoted as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second period can be: (A×90%×TA×100%×T×50%) / T×50%=A×80%. Accordingly, the average brightness of the light-emitting unit in the second period when driven by the first current and the second current is: A×100%×T×50%+A×80%×T×50%=A×90%×T.
[0092] In the third cycle, the first current in the first period can be 25% of the set current, recorded as A×45%. If the target duty cycle is 50%, the first period is half of the target period, recorded as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second period can be: (A×30%×T×45%×T×50%) / T×50%=A×25%. Accordingly, the average brightness of the light-emitting unit in the third period when driven by the first current and the second current is: A×45%×T×50%+A×25%×T×50%=A×30%×T.
[0093] In the fourth cycle, the first current in the first period can be 50% of the set current. If the target duty cycle is 50%, the first period is half of the target period, recorded as T×50%. In order for the light-emitting unit to reach the target brightness when driven by the first current and the second current, the second current in the second period can be: (A×40%×TA×50%×T×50%) / T×50%=A×30%. Accordingly, the average brightness of the light-emitting unit in the fourth period when driven by the first current and the second current is: A×50%×T×50%+A×30%×T×50%=A×40%×T.
[0094] In some embodiments, the first time period can be divided into at least one first sub-period. In each first sub-period, the driving current of the light-emitting unit is determined to be the first sub-current. Based on the first sub-current in each first sub-period, the first sub-brightness corresponding to the light-emitting unit in each first sub-period is determined. The average brightness of each first sub-brightness is equal to the first brightness, so that the brightness of the first time period can be controlled more flexibly.
[0095] In other embodiments, the second time period can be divided into at least one second sub-time period. In each second sub-time period, the driving current of the light-emitting unit is determined to be the second sub-current. Based on the second sub-current in each second sub-time period, the second sub-brightness corresponding to the light-emitting unit in each second sub-time period is determined. The average brightness of each second sub-brightness is equal to the second brightness, thereby enabling more flexible control of the brightness of the second time period.
[0096] The brightness adjustment method for a light-emitting unit provided in this application determines, during a first period of a target cycle, a first current driving the light-emitting unit and a first brightness corresponding to the first period. During a second period of the target cycle, a second current driving the light-emitting unit and a second brightness corresponding to the second period are determined. This avoids the light-emitting unit from being off and solves the flicker problem. Furthermore, the average brightness of the light-emitting unit's first brightness during the first period and its second brightness during the second period equals the target brightness, thereby ensuring normal display of the image.
[0097] Figure 6 FIG. 1 shows a schematic structural diagram of a brightness adjustment device for a light emitting unit provided in an embodiment of the present application. Figure 6 As shown, the brightness adjustment device 10 of the light-emitting unit of this embodiment is used to implement the operation corresponding to the electronic device in any of the above method embodiments. The brightness adjustment device 10 of the light-emitting unit of this embodiment includes:
[0098] A first processing module 11 is configured to obtain a set current and an initial duty cycle of a target period, calculate a target current according to the set current and the initial duty cycle, and determine a target brightness corresponding to the light-emitting unit according to the target current;
[0099] A second processing module 12 is configured to determine, within a first time period of the target cycle, that the driving current of the light-emitting unit is a first current, and a first brightness corresponding to the light-emitting unit during the first time period;
[0100] A third processing module 13 is configured to determine, within a second time period of the target cycle, that the driving current of the light-emitting unit is a second current, and a second brightness corresponding to the light-emitting unit during the second time period;
[0101] The average brightness of the first brightness and the second brightness is equal to the target brightness.
[0102] The brightness adjustment device 10 of the light-emitting unit provided in the embodiment of the present application can execute the above method embodiment. Its specific implementation principle and technical effects can be found in the above method embodiment, and this embodiment will not be repeated here.
[0103] Figure 7 FIG1 shows a hardware structure diagram of an electronic device provided by an embodiment of the present application. Figure 7 As shown, the electronic device 20 is used to implement the operations corresponding to the electronic device in any of the above method embodiments. The electronic device 20 of this embodiment may include: a memory 21, a processor 22 and a communication interface 23.
[0104] Memory 21 is used to store computer instructions. Memory 21 may include high-speed random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk memory. It can also be a USB flash drive, a mobile hard drive, a read-only memory, a magnetic disk, or an optical disk.
[0105] The processor 22 is used to execute the computer instructions stored in the memory to implement the brightness adjustment method of the light-emitting unit in the above embodiment. For details, please refer to the relevant description in the above method embodiment. The processor 22 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the present invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0106] Optionally, the memory 21 may be independent or integrated with the processor 22 .
[0107] The communication interface 23 may be connected to the processor 22. The processor 22 may control the communication interface 23 to implement functions of receiving and sending signals.
[0108] The electronic device provided in this embodiment can be used to execute the above-mentioned method for adjusting the brightness of the light-emitting unit. Its implementation method and technical effects are similar and will not be described in detail in this embodiment.
[0109] The present application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed by a processor, they are used to implement the methods provided in the various embodiments described above.
[0110] The present application also provides a computer program product, comprising computer instructions stored in a computer-readable storage medium. At least one processor of a device can read the computer instructions from the computer-readable storage medium, and at least one processor can execute the computer instructions so that the device implements the methods provided in the various embodiments described above.
[0111] An embodiment of the present application also provides a chip, which includes a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call and execute the computer instructions from the memory, so that a device equipped with the chip executes the methods described in the various possible implementation modes above.
[0112] Finally, it should be noted that the above embodiments are intended only to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the aforementioned embodiments, those skilled in the art will appreciate that they may modify the technical solutions described in the aforementioned embodiments or replace some or all of the technical features therein with equivalents. However, such modifications or replacements do not deviate from the essence of the corresponding technical solutions within the scope of the various embodiments of this application.
Claims
1. A method for adjusting the brightness of a light emitting unit, characterized in that: The method comprises: Obtaining a set current and an initial duty cycle of a target period, calculating a target current based on the set current and the initial duty cycle, and determining a target brightness corresponding to the light-emitting unit based on the target current; determining, within a first time period of the target period, a driving current of the light-emitting unit as a first current, and a first brightness corresponding to the light-emitting unit during the first time period; In a second time period of the target cycle, determining that the driving current of the light-emitting unit is a second current, and the light-emitting unit has a second brightness corresponding to the second time period; Wherein, the average brightness of the first brightness and the second brightness is equal to the target brightness; the average value of the first current and the second current is equal to the target current; Determining, during the second time period of the target cycle, that the driving current of the light-emitting unit is a second current and the second brightness of the light-emitting unit corresponding to the second time period includes: Determine the total brightness of the light-emitting unit in the target period according to the target current and the duration of the target period; determine the total brightness of the light-emitting unit in the first period according to the first brightness and the duration of the first period of the target period; subtract the total brightness of the first period from the total brightness of the target period to obtain the total brightness of the light-emitting unit in the second period of the target period; obtain the second brightness according to the total brightness of the second period and the duration of the second period; determine the driving current of the light-emitting unit in the second period as the second current according to the second brightness; The second time period of the target cycle is divided into at least one second sub-time period. In each second sub-time period, the driving current of the light-emitting unit is determined to be the second sub-current. According to the second sub-current in each second sub-time period, the second sub-brightness of the light-emitting unit corresponding to each second sub-time period is determined, and the average brightness of each second sub-brightness is equal to the second brightness.
2. The method according to claim 1, characterized in that When the first current is less than the target current, the second current is greater than the target current; When the first current is greater than the target current, the second current is less than the target current.
3. The method according to claim 1, characterized in that The number of the target cycles is multiple; At least some target cycles have different initial duty cycles, each target cycle has a corresponding first current and second current, and the average brightness of the light-emitting unit under the control of the first current and second current corresponding to each target cycle is equal to the target brightness of the corresponding cycle.
4. The method according to claim 1, wherein Determining the driving current of the light-emitting unit to be a first current within a first time period of the target cycle specifically includes: Setting a target duty cycle, wherein the time period corresponding to the target duty cycle is the first time period of the target cycle; During the first period, the first current is determined according to the set current and the target duty cycle.
5. The method according to any one of claims 1 to 4, characterized in that Determining, during a first time period of the target cycle, that the driving current of the light-emitting unit is a first current and a first brightness of the light-emitting unit corresponding to the first time period specifically includes: Dividing the first time period of the target cycle into at least one first sub-time period, and determining the driving current of the light-emitting unit as a first sub-current in each first sub-time period; A first sub-brightness of the light-emitting unit corresponding to each first sub-period is determined according to the first sub-current in each first sub-period, and an average brightness of each first sub-brightness is equal to the first brightness.
6. A brightness adjustment device for a light emitting unit, characterized in that: The device comprises: a first processing module, configured to obtain a set current and an initial duty cycle of a target period, calculate a target current according to the set current and the initial duty cycle, and determine a target brightness corresponding to the light-emitting unit according to the target current; a second processing module, configured to determine, within a first time period of the target cycle, that the driving current of the light-emitting unit is a first current, and a first brightness corresponding to the light-emitting unit during the first time period; a third processing module, configured to determine, within a second time period of the target cycle, that the driving current of the light-emitting unit is a second current, and a second brightness corresponding to the light-emitting unit during the second time period; Wherein, the average brightness of the first brightness and the second brightness is equal to the target brightness; the average value of the first current and the second current is equal to the target current; The third processing module determines the total brightness of the light-emitting unit in the target period according to the target current and the duration of the target period; determines the total brightness of the light-emitting unit in the first period according to the first brightness and the duration of the first period of the target period; subtracts the total brightness of the first period from the total brightness of the target period to obtain the total brightness of the light-emitting unit in the second period of the target period; obtains the second brightness according to the total brightness of the second period and the duration of the second period; and determines the driving current of the light-emitting unit in the second period as the second current according to the second brightness; The second time period of the target cycle is divided into at least one second sub-time period. In each second sub-time period, the driving current of the light-emitting unit is determined to be the second sub-current. According to the second sub-current in each second sub-time period, the second sub-brightness of the light-emitting unit corresponding to each second sub-time period is determined, and the average brightness of each second sub-brightness is equal to the second brightness.
7. An electronic device, characterized in that: include: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, which are used to implement the method according to any one of claims 1 to 5 when executed by a processor.
9. A computer program product, characterized in that The computer program product comprises a computer program, which implements the method according to any one of claims 1 to 5 when executed by a processor.
Citation Information
Patent Citations
Light-emitting substrate, driving method thereof and display device
CN116030768A
Illumination controller for implementing dimming
CN118075946A
Row-column integrated backlight LED driving chip
CN118411958A