A method, system and device for adjusting uniformity of light source

By calculating the slope coefficient between the photosensitive sensor and the light bar control parameters and using the least squares method to calculate the optimal control parameters of the light bar, the problem of low light source uniformity adjustment efficiency is solved, and efficient and accurate light source uniformity adjustment is achieved.

CN114828355BActive Publication Date: 2025-03-14SHENZHEN COLIBRI TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110116919.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-28
Publication Date
2025-03-14
Estimated Expiration
2041-01-28

AI Technical Summary

Technical Problem

In the prior art, the light source uniformity adjustment efficiency is low, especially in the stereoscopic card environment and the light environment of the front light source, the adjustment is more difficult and the efficiency is lower.

Method used

By calculating the slope coefficient between the brightness value of each photosensitive sensor on the calibration plate and the control parameters controlled by multiple light strips, a linear constraint equation for the brightness value is constructed, and the optimal control parameters of each light strip are calculated by using the linear constraint least squares method, and set it as the brightness control parameters on the device.

Benefits of technology

It realizes automatic, fast and accurate adjustment of the brightness values ​​in all parts of the calibration plate, improving the adjustment efficiency and making the adjustment uniformity more accurate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114828355B_ABST
    Figure CN114828355B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of machine vision technology, and in particular to a method, system and device for adjusting the uniformity of a light source, wherein the method comprises: respectively calculating the slope coefficient between the brightness value of each photosensitive sensor on a calibration board and the control parameters of a plurality of light strips; constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and a preset target brightness value of each photosensitive sensor; and calculating the optimal control parameters of each light strip using a linear constraint least squares method according to the linear constraint equation for the brightness value of each photosensitive sensor and a preset current constraint condition or duty cycle constraint condition of each photosensitive sensor, so that the uniformity of the brightness value at each location on the calibration board meets the preset requirements. The adjustment method improves the efficiency of adjusting the uniformity of the light source.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of machine vision technology, and in particular to a method, system and device for adjusting light source uniformity. Background Art

[0002] In the field of camera function testing, light environment control is particularly important in camera test equipment. The uniformity of the light source is a key adjustment factor for camera test equipment. Various light environments (including infrared light or white light, etc.) require high uniformity to meet the stability and image quality of camera image acquisition during the photo shooting process. Therefore, the uniformity of the light source has become an equipment indicator that equipment suppliers must adjust.

[0003] At present, the method of adjusting the uniformity of light sources is mainly to manually or semi-automatically measure the brightness value of the light source, then record the brightness value of different points, calculate the uniformity of the light source, and then manually adjust the brightness value of the light bar to improve the uniformity. This method is complex and time-consuming to adjust, especially in the environment of stereoscopic graphics and front light sources. The adjustment is more difficult and less efficient, which is not conducive to mass production and shipment. Summary of the invention

[0004] The main technical problem solved by the present invention is the low efficiency of light source uniformity adjustment in the prior art.

[0005] A method for adjusting uniformity of a light source, comprising:

[0006] Calculate the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls respectively;

[0007] Constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor;

[0008] According to the linear constraint equation of the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor, the optimal control parameter of each light bar is calculated by using the linear constraint least square method;

[0009] Set the brightness control parameters of each light bar on the device to their corresponding optimal control parameters.

[0010] In one embodiment, after setting the brightness control parameter of each light bar on the device to its corresponding optimal control parameter, the method further includes:

[0011] Calculate the uniformity value of the current brightness values ​​of all photosensors;

[0012] Determine whether the uniformity value meets a preset uniformity threshold requirement;

[0013] If not, the control parameters of the corresponding light bar are fine-tuned; if satisfied, the adjustment of the control parameters of the light bar is stopped.

[0014] In one embodiment, the control parameter of the light bar is a duty cycle or a current value;

[0015] The step of respectively calculating the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls comprises:

[0016] For any photosensor i, turn on all light strips in sequence, wherein when each light strip is turned on, the duty cycle or current value of the light strip is divided into N equal points from minimum to maximum for control, and each photosensor value is recorded at the corresponding equal points, and based on the current value interval or duty cycle interval composed of the N equal points and the corresponding brightness value of the photosensor, the sub-slope coefficient of the current value or duty cycle and the brightness value of each light strip is calculated using the linear least squares method, wherein multiple sub-slope coefficients between all light strips and a photosensor i constitute the slope coefficient corresponding to the photosensor i; wherein N≥2.

[0017] In one embodiment, constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor includes:

[0018] For any photosensor, its brightness value is calculated using the following formula:

[0019]

[0020] Among them, y i represents the brightness value of the i-th photosensor, k i,j It represents the sub-slope coefficient corresponding to the i-th photosensor when the j-th light bar is turned on, j represents the light bar number, x j Indicates the current duty cycle or current value of the jth light bar;

[0021] Among them, the linear constraint equation of the brightness value of any photosensor i is:

[0022]

[0023] Wherein, goal_pow represents the target brightness value of the photosensor.

[0024] In one embodiment, the method of calculating the optimal control parameters of each light bar using the linear constraint least squares method according to the linear constraint equation of the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor includes:

[0025] Based on the slope coefficient, the linear constraint least square method is used to solve the linear constraint equations of the brightness values ​​of all photosensors to obtain the optimal control parameters corresponding to each light bar.

[0026] In one embodiment, calculating the uniformity value of the current brightness values ​​of all the photosensitive sensors includes: calculating the uniformity value of the current brightness values ​​of all the photosensitive sensors by the following formula:

[0027]

[0028] Among them, p represents the current uniformity value of all photosensors, max (photosensitivity value) represents the maximum value of all photosensor measurement values, min (photosensitivity value) represents the minimum value of all photosensor measurement values, and average (photosensitivity value) represents the average value of all photosensor measurement values.

[0029] In one embodiment, the fine-tuning of the duty cycle or current value of the corresponding light bar includes:

[0030] According to the preset correspondence between the light bar and the photosensitive sensor, the photosensitive sensor with the maximum brightness value currently detected is obtained, the light bar with the largest slope coefficient corresponding to the photosensitive sensor is determined, and the duty cycle or current value of the light bar is reduced by the preset fine-tuning step value; at the same time, the photosensitive sensor with the minimum brightness value currently detected is obtained, the light bar with the largest slope coefficient corresponding to the photosensitive sensor is determined, and the duty cycle or current value of the light bar is increased by the preset fine-tuning step value.

[0031] A light source uniformity adjustment system, comprising:

[0032] A first calculation module is used to respectively calculate the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls;

[0033] A second calculation module is used to construct a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient of each photosensitive sensor and a preset target brightness value of each photosensitive sensor;

[0034] A third calculation module is used to calculate the optimal control parameters of each light bar by using a linear constraint least square method according to a linear constraint equation of the brightness value of each photosensitive sensor and a preset current constraint condition or a duty cycle constraint condition of each photosensitive sensor;

[0035] The control module is used to set the brightness control parameter of each light bar on the device to its corresponding optimal control parameter.

[0036] In one embodiment, a uniformity judgment module is also included, which is used to calculate the uniformity value of the current brightness value of all photosensitive sensors, and judge whether the uniformity value meets the preset uniformity threshold requirement. If not, the control parameters of the corresponding light bar are further fine-tuned; if so, the adjustment of the control parameters of the light bar is stopped.

[0037] A light source uniformity adjustment device comprises a plurality of photosensitive sensors and a processor, wherein the plurality of photosensitive sensors are used to measure brightness values ​​at different positions on a calibration plate, and the processor is used to adjust control parameters of each light bar according to the brightness values ​​so that the brightness at the positions where all photosensitive sensors are located meets preset uniformity requirements.

[0038] According to the light source uniformity adjustment method of the above embodiment, it includes: respectively calculating the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the control of multiple light strips; constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor; according to the linear constraint equation for the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor, the linear constrained least squares method is used to calculate the optimal control parameters of each light strip, so that the uniformity of the brightness value at each location on the calibration board meets the preset requirements. The adjustment method of this embodiment can automatically, quickly and accurately adjust the brightness value at each location of the calibration board to be uniform, thereby improving the adjustment efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a schematic diagram of the structure of a light source uniformity adjustment device according to an embodiment of the present application;

[0040] Figure 2 This is a flow chart of a method for adjusting light source uniformity according to an embodiment of the present application;

[0041] Figure 3 This is a structural block diagram of a light source uniformity adjustment system according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.

[0043] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.

[0044] The light source uniformity adjustment method provided in this embodiment automatically obtains the brightness value of each location on the calibration board through a photosensitive sensor, and then uses a preset uniformity adjustment strategy to adjust the duty cycle or current value of each light bar, so that the brightness value of each location on the calibration board meets the preset uniformity requirement. This method does not require manual measurement and manual adjustment, improves the adjustment efficiency and makes the adjustment uniformity more precise.

[0045] Embodiment 1:

[0046] This embodiment provides a method for adjusting the uniformity of a light source, aiming to solve the problems of the current manual or semi-automatic adjustment of the uniformity of a light source, which is complicated, inefficient, and unable to achieve automated batch adjustment. In order to more clearly express the adjustment method of this embodiment, this embodiment provides a control box for automatic adjustment of the uniformity of a light source. Figure 1, a plurality of white light strips and red light strips are arranged around the calibration board of the control box, and then 25 photosensors are evenly arranged on the calibration board. In order to facilitate the recording of each photosensor, each photosensor can be numbered according to a two-dimensional array, for example, the first mark in the upper left corner is 11, and the horizontal right is 12, 13, etc., or a two-dimensional coordinate system is established for the plane where the calibration board is located, for example, the horizontal direction is the X axis, and the vertical direction is the Y axis, and then the coordinates of each photosensor are marked. Each photosensor is connected to the light source controller (i.e., the processor) through a signal cable. Among them, the light source controller of this embodiment includes but is not limited to a PWM light source controller and a constant current board light source controller. The PWM light source controller controls the brightness of the light source by sending different duty cycle commands through software, and the constant current board light source controller controls the brightness of the light source by sending different current value commands through software. Among them, the controller that controls the current value of the light bar is a constant current board controller, and the controller that controls the duty cycle of the light bar is a PWM controller.

[0047] In this embodiment, after setting up the above-mentioned hardware, in order to make the measurement result of each photosensor more accurate, each photosensor is pre-calibrated in this embodiment. The specific calibration method is: place the Optic Meter sensor (calibrated standard sensor) at the same position of each photosensor, and the calibrated measurement value of the Optic Meter sensor is the accurate value. Under the same light brightness value, compare the difference between the Optic Meter sensor value and the value of each photosensor, calculate the calibration parameters of each photosensor, and write the calibration parameters into the light source controller of the photosensor to complete the calibration of all photosensors. After calibration once, there is no need for regular calibration.

[0048] Wherein, calibration parameter=Optic Meter probe Average value / photosensitive sensor measurement value, wherein Optic Meter probe Average value is the measurement value of the Optic Meter sensor.

[0049] In one embodiment, the light source controller also includes a display screen and an input device. The display screen is used to display parameter information during the adjustment process, such as the brightness value of each photosensitive sensor, the duty cycle or current value of each light bar, and the uniformity threshold value input by the user. The input device is mainly used for the user to input the number of light bar groups, the number of photosensitive sensors, the minimum uniformity threshold, the maximum value of the light bar duty cycle or current, the photosensitive sensor target value, the minimum value of the photosensitive sensor, the maximum value of the photosensitive sensor, and the fine-tuning step value of the light bar duty cycle or current.

[0050] Among them, Figure 2 , the light source uniformity adjustment method of this embodiment includes:

[0051] Step 101: Calculate the slope coefficients between the brightness value of each photosensitive sensor on the calibration board and the control parameters of multiple light bar controls. Specifically, the control parameters of the light bar are duty cycle or current value. In this embodiment, the slope coefficients between the brightness value of each photosensitive sensor on the calibration board and the duty cycle of each light bar control or the brightness value of each photosensitive sensor and the current value of each light bar control are calculated; wherein the duty cycle of each light bar control refers to the duty cycle used to control the brightness of the light bar, and the current value of each light bar control refers to the current value used to control the brightness of the light bar.

[0052] Step 102: construct a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor.

[0053] Step 103: according to the linear constraint equation of the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor, the optimal control parameter of each light bar is calculated by using the linear constraint least square method.

[0054] Step 104: setting the brightness control parameter of each light bar on the device to its corresponding optimal control parameter.

[0055] Among them, in step 101, when calculating the slope coefficient of the brightness value and duty cycle or the brightness value and current value of each photosensor, the influence of multiple light bars on the brightness value measured by one photosensor should be considered. Therefore, for any photosensor i, all light bars are turned on in sequence, wherein when each light bar is turned on, the duty cycle or current value of the light bar is adjusted from the minimum to the maximum, so that the brightness value detected by the photosensor is also changed from the minimum to the maximum. In this process, the minimum brightness value and the maximum brightness value of the current photosensor i are obtained, and the interval consisting of the minimum value and the maximum value of the duty cycle or current value of the light bar is divided into N equally divided current value or duty cycle intervals, N Not less than 4, for example, take 5 equally divided current values ​​or duty cycles b[1], b[2], b[3], b[4] and b[5], and correspondingly divide the interval composed of the minimum brightness value and the maximum brightness value of the photosensor i into N equally divided brightness intervals. For example, the measurement value of the corresponding photosensor is divided into five equally divided intervals, namely TP[1], TP[2], TP[3], TP[4] and TP[5]. The sub-slope coefficients of the current value or duty cycle and the brightness value of each light bar are calculated according to the N equally divided current values ​​or duty cycle intervals and the N equally divided brightness intervals by the least squares method. The multiple sub-slope coefficients of multiple light bars and the photosensor i constitute the slope coefficient. For example, when the first light bar is turned on, the sub-slope coefficient corresponding to the first photosensor is K1, and when the second light bar is turned on, the sub-slope coefficient corresponding to the first photosensor is K2. In this way, the sub-slope coefficients when multiple light bars are turned on are obtained. These sub-slope coefficients can be stored in the form of an array or a set to form the slope coefficient of the first photosensor. According to this method, the slope coefficients corresponding to all photosensors can be obtained.

[0056] In step 102, the linear constraint equation for calculating the brightness value of each photosensitive sensor according to the slope coefficient of each photosensitive sensor and the preset target brightness value of each photosensitive sensor includes:

[0057] For any photosensor, its brightness value is calculated using the following formula:

[0058]

[0059] Among them, y i represents the brightness value of the i-th photosensor, k i,j It represents the sub-slope coefficient corresponding to the i-th photosensor when the j-th light bar is turned on, j represents the light bar number, x j Indicates the current duty cycle or current value of the jth light strip.

[0060] Among them, the linear constraint equation of the brightness value of any photosensor i is:

[0061]

[0062] Wherein, goal_pow represents the target brightness value of the photosensor, and 5% is the set upper and lower limit thresholds, which are preset by technicians in this field according to the use environment and are not fixed.

[0063] For example, the linear constraint equation for the brightness value of the brightness sensor numbered 1 is:

[0064]

[0065] The linear constraint equation for the brightness value of brightness sensor number 2 is:

[0066]

[0067] The linear constraint equation for the brightness value of the photosensor numbered 3 is:

[0068]

[0069] In step 103, the optimal current value or optimal duty cycle of each light bar is calculated by using the least square method according to the linear constraint equation of the brightness value of each photosensitive sensor and the current constraint condition or duty cycle constraint condition of each sensor preset, including: using the least square method to solve the linear constraint equation of the brightness value of all photosensitive sensors (or the constraint equation can be split) to obtain the optimal current value or optimal duty cycle corresponding to each light bar. For any light bar i, the constraint condition of its duty cycle or current value is:

[0070] lb≤x j ub,

[0071] Among them, x j It represents the current duty cycle or current value of the jth light bar, lb is the minimum duty cycle value or minimum current value of the light bar, and ub is the maximum duty cycle value or maximum current value of the light bar.

[0072] In this embodiment, when the least square method is used to solve the linear constraint equation of the brightness value of all photosensors to obtain the optimal current value or optimal duty cycle corresponding to each light bar, the constrained linear least square method is used to optimally solve the following target equation to obtain a set of optimal duty cycles or optimal current values, which includes multiple optimal duty cycles or optimal current values, each optimal duty cycle or optimal current value corresponds to a light bar, and the duty cycle or current value of the corresponding light bar is set to the calculated optimal duty cycle or optimal current value. In which, y1, y2, ..., y n The more it converges to goal_pow, the higher the uniformity of the light source.

[0073]

[0074] min f(x) represents the optimal duty cycle or optimal current value, which is calculated by the least square method based on the above constraints. y1 represents the brightness value of the first photosensor (which can also be understood as the photosensor numbered 1). n Indicates the brightness value of the nth photosensor.

[0075] Furthermore, after setting the current value of each light bar on the device to its corresponding optimal current value or setting the duty cycle of each light bar to its corresponding optimal duty cycle, it also includes: calculating the uniformity value of the current brightness value of all photosensitive sensors, and determining whether the uniformity value meets the preset uniformity threshold requirement; if not, further fine-tuning the duty cycle or current value of some light bar(s); if so, stopping adjusting the duty cycle or current value of the light bar.

[0076] Among them, when calculating the uniformity value of the current brightness values ​​of all photosensitive sensors in this embodiment, the uniformity value of the current brightness values ​​of all photosensitive sensors is calculated by the following formula:

[0077]

[0078] Among them, p represents the uniformity value, max (light sensitivity value) represents the maximum value of all photosensor measurement values, min (light sensitivity value) represents the minimum value of all photosensor measurement values, and average (light sensitivity value) represents the average value of all photosensor measurement values.

[0079] Among them, in this embodiment, fine-tuning the duty cycle or current value of the corresponding light bar includes: according to the pre-set correspondence between the light bar and the photosensitive sensor, this correspondence is pre-set, for example, finding the photosensitive sensor with the largest current brightness value, and fine-tuning the duty cycle or current value of the light bar corresponding to the maximum slope coefficient between the photosensitive sensor. Since multiple photosensitive sensors are dispersedly arranged at various locations on the light board, the distance between each light bar and each photosensitive sensor is different, so the influence of each light bar on each sensor is also different. According to this principle, a corresponding relationship is established between different light bars and corresponding photosensitive sensors. For example, the brightness values ​​of the 10th, 11th, and 12th photosensitive sensors are mainly affected by the third light bar. In other words, the measurement values ​​of the 10th, 11th, and 12th photosensitive sensors can mainly reflect the brightness of the third light bar. Get the photosensor with the currently detected maximum brightness value, determine the light bar with the largest slope coefficient corresponding to the photosensor, and reduce the duty cycle or current value of the light bar by the preset fine-tuning step value; at the same time, get the photosensor with the currently detected minimum brightness value, determine the light bar with the largest slope coefficient corresponding to the photosensor, increase the duty cycle or current value of the light bar by the preset fine-tuning step value, and then further repeat the above uniformity determination steps. If the preset uniformity threshold is met, stop adjusting the duty cycle or current value of each light bar. Otherwise, repeat the above steps to continue adjusting the duty cycle or current value of each light bar until the brightness values ​​detected by all photosensors meet the uniformity requirements.

[0080] Among them, the fine-tuning step value settings for adjusting the duty cycle or current value in this embodiment are slightly different. If the brightness of the light bar is changed by adjusting the current value, the fine-tuning step value is set to any value between 1-10mA. If the brightness of the light bar is changed by adjusting the duty cycle, the fine-tuning step value is set to 1-10pa.

[0081] Embodiment 2:

[0082] Please refer to Figure 3 This embodiment provides a light source uniformity adjustment system, including:

[0083] The first calculation module 201 is used to calculate the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bars. Specifically, the method for calculating the slope coefficient is the same as that of the first embodiment.

[0084] The second calculation module 202 is used to construct a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient of each photosensitive sensor and the preset target brightness value of each photosensitive sensor;

[0085] The third calculation module 203 is used to calculate the optimal control parameters of each light bar by using the linear constraint least square method according to the linear constraint equation of the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor;

[0086] The control module 204 is used to set the brightness control parameter of each light bar on the device to its corresponding optimal control parameter.

[0087] Furthermore, the light source uniformity adjustment system also includes a uniformity judgment module 205, which is used to calculate the uniformity value of the current brightness value of all photosensors, and judge whether the uniformity value meets the preset uniformity threshold requirement. If not, the control parameters of the corresponding light bar are further fine-tuned; if satisfied, the adjustment of the control parameters of the light bar is stopped.

[0088] Through the light source uniformity adjustment system of this embodiment, the adjustment method of this embodiment can automatically, quickly and accurately adjust the brightness values ​​of various locations on the calibration plate to be uniform, thereby improving the adjustment efficiency.

[0089] Embodiment 3

[0090] This embodiment provides a light source uniformity adjustment device, such as Figure 1 The adjustment device includes a plurality of photosensitive sensors 1 and a processor 2. The plurality of photosensitive sensors 1 are evenly arranged on a calibration board for measuring brightness values ​​at different positions on the calibration board. The processor 2 is connected to the plurality of photosensitive sensors 1 through cables. The processor 2 is used to adjust the duty cycle or current value of each light bar according to the brightness values ​​of the plurality of photosensitive sensors 1, so that the brightness at the positions where all the photosensitive sensors are located meets the preset uniformity requirements. The specific adjustment method is the same as that in the first embodiment and will not be repeated here.

[0091] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.

Claims

1. A method for adjusting light source uniformity, characterized in that: include: Calculate the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls respectively; Constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor; According to the linear constraint equation of the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor, the optimal control parameter of each light bar is calculated by using the linear constraint least square method; Set the brightness control parameters of each light bar on the device to their corresponding optimal control parameters; The control parameters of the light bar are duty cycle or current value; The step of respectively calculating the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls comprises: For any photosensor i, turn on all light bars in sequence, wherein when each light bar is turned on, the duty cycle or current value of the light bar is divided into N equal points from the minimum to the maximum for control, and each photosensor value is recorded at the corresponding equal points, and based on the current value interval or duty cycle interval composed of the N equal points and the corresponding brightness value of the photosensor, the sub-slope coefficient of the current value or duty cycle and the brightness value of each light bar is calculated using the linear least squares method, wherein the multiple sub-slope coefficients between all light bars and a photosensor i constitute the slope coefficient corresponding to the photosensor i; wherein N≥2; The step of constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor includes: For any photosensor, its brightness value is calculated using the following formula: Among them, y i represents the brightness value of the i-th photosensor, k i,j It represents the sub-slope coefficient corresponding to the i-th photosensor when the j-th light bar is turned on, j represents the light bar number, x j Indicates the current duty cycle or current value of the jth light bar; Among them, the linear constraint equation of the brightness value of any photosensor i is: (1-5%)*goal_pow≤∑ n j=1 k i,j x j ≤(1+5%)*goal_pow; Wherein, goal_pow represents the target brightness value of the photosensor.

2. The method for adjusting the uniformity of a light source according to claim 1, wherein: After setting the brightness control parameters of each light bar on the device to their corresponding optimal control parameters, it also includes: Calculate the uniformity value of the current brightness values ​​of all photosensors; Determine whether the uniformity value meets a preset uniformity threshold requirement; If not, fine-tune the control parameters of the corresponding light bar; if satisfied, stop adjusting the control parameters of the light bar; Calculating the uniformity value of the current brightness values ​​of all the photosensitive sensors includes: calculating the uniformity value of the current brightness values ​​of all the photosensitive sensors by the following formula: p=1-[max(light sensitivity value)-min(light sensitivity value)]÷average(light sensitivity value); Among them, p represents the current uniformity value of all photosensors, max (photosensitivity value) represents the maximum value of all photosensor measurement values, min (photosensitivity value) represents the minimum value of all photosensor measurement values, and average (photosensitivity value) represents the average value of all photosensor measurement values.

3. The method for adjusting the uniformity of a light source according to claim 2, wherein: The method of calculating the optimal control parameters of each light bar by using the linear constraint least square method according to the linear constraint equation of the brightness value of each photosensitive sensor and the preset current constraint condition or duty cycle constraint condition of each photosensitive sensor includes: Based on the slope coefficient, the linear constraint least square method is used to solve the linear constraint equations of the brightness values ​​of all photosensors to obtain the optimal control parameters corresponding to each light bar.

4. The method for adjusting the uniformity of a light source according to claim 2, wherein: The fine-tuning of the duty cycle or current value of the corresponding light bar includes: According to the preset correspondence between the light bar and the photosensitive sensor, the photosensitive sensor with the maximum brightness value currently detected is obtained, the light bar with the largest slope coefficient corresponding to the photosensitive sensor is determined, and the duty cycle or current value of the light bar is reduced by the preset fine-tuning step value; at the same time, the photosensitive sensor with the minimum brightness value currently detected is obtained, the light bar with the largest slope coefficient corresponding to the photosensitive sensor is determined, and the duty cycle or current value of the light bar is increased by the preset fine-tuning step value.

5. A light source uniformity adjustment system, characterized in that: include: The first calculation module is used to calculate the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls; the control parameters of the light bar are duty cycle or current value; The step of respectively calculating the slope coefficient between the brightness value of each photosensitive sensor on the calibration board and the control parameters of the multiple light bar controls comprises: For any photosensor i, turn on all light bars in sequence, wherein when each light bar is turned on, the duty cycle or current value of the light bar is divided into N equal points from the minimum to the maximum for control, and each photosensor value is recorded at the corresponding equal points, and based on the current value interval or duty cycle interval composed of the N equal points and the corresponding brightness value of the photosensor, the sub-slope coefficient of the current value or duty cycle and the brightness value of each light bar is calculated using the linear least squares method, wherein the multiple sub-slope coefficients between all light bars and a photosensor i constitute the slope coefficient corresponding to the photosensor i; wherein N≥2; A second calculation module is used to construct a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient of each photosensitive sensor and a preset target brightness value of each photosensitive sensor; The step of constructing a linear constraint equation for the brightness value of each photosensitive sensor according to the slope coefficient corresponding to each photosensitive sensor and the preset target brightness value of each photosensitive sensor includes: For any photosensor, its brightness value is calculated using the following formula: Among them, y i represents the brightness value of the i-th photosensor, k i,j It represents the sub-slope coefficient corresponding to the i-th photosensor when the j-th light bar is turned on, j represents the light bar number, x j Indicates the current duty cycle or current value of the jth light bar; Among them, the linear constraint equation of the brightness value of any photosensor i is: (1-5%)*goal_pow≤∑ n j=1 k i,j x j ≤(1+5%)*goal_pow; Wherein, goal_pow represents the target brightness value of the photosensor; A third calculation module is used to calculate the optimal control parameters of each light bar by using a linear constraint least square method according to a linear constraint equation of the brightness value of each photosensitive sensor and a preset current constraint condition or a duty cycle constraint condition of each photosensitive sensor; The control module is used to set the brightness control parameter of each light bar on the device to its corresponding optimal control parameter.

6. The light source uniformity adjustment system according to claim 5, characterized in that: It also includes a uniformity judgment module, which is used to calculate the uniformity value of the current brightness value of all photosensitive sensors and judge whether the uniformity value meets the preset uniformity threshold requirement. If not, the control parameters of the corresponding light bar are further fine-tuned; if satisfied, the adjustment of the control parameters of the light bar is stopped.

7. A light source uniformity adjustment device, characterized in that: Used for applying the light source uniformity adjustment method as described in any one of claims 1 to 4, the light source uniformity adjustment device includes a plurality of photosensitive sensors and a processor, the plurality of photosensitive sensors are used to measure the brightness values ​​at different positions on a calibration plate, and the processor is used to adjust the control parameters of each light bar according to the brightness values ​​so that the brightness at the positions where all photosensitive sensors are located meets the preset uniformity requirements.

Citation Information

Patent Citations

  • Source optimization method by adopting self-adaptive compressed sensing technology

    CN106444301A

  • Method for automatically detecting dimming performance of power source or light source to be detected

    CN107148127A