A method and system for correcting photosensitivity based on dynamic temperature difference compensation

By integrating temperature difference, distance, and wavelength factors through a dynamic temperature difference compensation method, and combining dynamic weight allocation and closed-loop iteration, the measurement accuracy problem of the photosensitive acquisition system in complex environments is solved, and high-precision photosensitive detection is achieved.

CN122084098BActive Publication Date: 2026-06-30TAIHUA WISDOM IND GRP CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TAIHUA WISDOM IND GRP CO LTD
Filing Date
2026-04-23
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

Existing photosensitive acquisition systems lack sufficient measurement accuracy and stability under complex temperature environments. They do not adequately consider interference factors such as temperature difference, distance, and light wavelength, resulting in insufficient compensation accuracy and failing to meet high-precision requirements.

Method used

A dynamic temperature difference compensation method is adopted, which integrates the three core interference factors of temperature difference, distance and wavelength. A dynamic weight allocation and closed-loop iteration mechanism are introduced to adjust the weight of each factor in real time according to the environmental complexity. Through multi-dimensional data acquisition and compensation coefficient calculation, the photoelectric conversion and signal amplification process is optimized.

Benefits of technology

It significantly improves the compensation accuracy of photosensitivity, controls the measurement error within ±0.3 Lux, adapts to complex environments, enhances the versatility and response speed of the system, and reduces the cost of engineering applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122084098B_ABST
    Figure CN122084098B_ABST
Patent Text Reader

Abstract

This invention relates to the field of photosensitivity correction technology, and provides a method and system for photosensitivity correction based on dynamic temperature difference compensation. The method includes: in an experimental environment, weighted summation of temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient to obtain a comprehensive compensation coefficient; calculating the product of the photosensitivity acquisition value and the comprehensive compensation coefficient to obtain the compensated target photosensitivity value, and performing photoelectric conversion error correction and signal amplification noise filtering to obtain the corrected photosensitivity value; calculating the deviation from the standard photometer data; adjusting the weights according to the deviation using a gradient descent method until the deviation reaches the target, forming a weight lookup table for different temperature values, measurement distances, and illumination wavelengths; in practical applications, determining the weights based on the weight lookup table, and weighted summation of the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient to obtain the comprehensive compensation coefficient, which is used to compensate and correct the photosensitivity acquisition value. The compensation accuracy is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of photosensitivity correction technology, and particularly relates to a photosensitivity correction method and system based on dynamic temperature difference compensation. Background Technology

[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.

[0003] Photosensitive acquisition technology is an important component of modern sensing technology and one of the core technologies for sensing ambient light intensity. It is widely used in fields such as light intensity monitoring and automatic lighting control. Due to the device characteristics of photosensitive elements, changes in ambient temperature can cause changes in the electron migration state of the internal light intensity and color temperature detection tube, which in turn can lead to deviations in the measured photosensitivity values.

[0004] Currently, some temperature compensation schemes for data acquisition devices only achieve compensation through simple fixed parameter correction, without fully considering the differentiated effects of different temperature ranges; some rely on production line data acquisition to build compensation models, which consumes production line resources and is susceptible to interference from site conditions and personnel operations; some schemes are not optimized for consistency differences among multiple devices, resulting in insufficient compensation accuracy and limited applicability. These problems make it difficult to guarantee the measurement accuracy and stability of photosensitive acquisition systems in complex temperature environments, failing to meet the requirements of high-precision photosensitive detection.

[0005] In addition, existing technologies generally only consider a single temperature difference factor, ignoring key interferences such as measurement distance (light attenuation) and light wavelength (difference in photoelectric conversion efficiency). In complex environments, the deviation can reach 5%-20%. At the same time, the use of fixed coefficient compensation does not dynamically adjust the weight of each factor according to the complexity of the environment, resulting in poor adaptability. After compensation, the deviation is mostly above ±0.5 Lux, which cannot meet the requirements of high-precision scenarios. Summary of the Invention

[0006] To address the technical problems mentioned above, this invention provides a photosensitive value correction method and system based on dynamic temperature difference compensation. This method breaks through the traditional single temperature difference compensation and integrates the three core interference factors of temperature difference, distance, and wavelength for the first time, adapting to more complex scenarios. Furthermore, it introduces a dynamic weight allocation and closed-loop iteration mechanism to adjust the weight of each factor in real time according to the complexity of the environment, solving the problem of different influence weights of each factor under different environments. The compensation accuracy is significantly higher than that of the fixed coefficient method.

[0007] To achieve the above objectives, the present invention adopts the following technical solution:

[0008] The first aspect of the present invention provides a method for correcting photosensitivity based on dynamic temperature difference compensation, comprising:

[0009] In the experimental environment, photosensitivity values, temperature values, measurement distances, and illumination wavelengths are acquired simultaneously. Temperature difference compensation coefficients, distance compensation coefficients, and wavelength compensation coefficients are determined. These coefficients are then weighted and summed to obtain a comprehensive compensation coefficient, with the weights determined based on the temperature value, measurement distance, and illumination wavelength. The product of the photosensitivity value and the comprehensive compensation coefficient is calculated to obtain the compensated target photosensitivity value. Photoelectric conversion error correction and signal amplification noise filtering are then applied to obtain the corrected photosensitivity value. The deviation between the corrected photosensitivity value and the standard photometer data is calculated. Based on the deviation, the weights are adjusted using the gradient descent method until the deviation meets the target, resulting in a weight lookup table for different temperature values, measurement distances, and illumination wavelengths.

[0010] In practical applications, the photosensitized values, temperature values, measurement distance, and light wavelength are acquired simultaneously. The weights are determined based on a weight lookup table, and the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient are weighted and summed to obtain a comprehensive compensation coefficient, which is used to compensate and correct the photosensitized values.

[0011] Furthermore, the temperature difference compensation coefficient is: Ct=Li_Tn / Li_T10; where Ct is the temperature difference compensation coefficient for the nth temperature range, Li_Tn is the standard photosensitivity value for the nth temperature range, and Li_T10 is the standard photosensitivity value for the reference temperature range.

[0012] Furthermore, the distance compensation coefficient is: Cd=1 / (1+k×d); where d is the measurement distance and k is the attenuation coefficient.

[0013] Furthermore, the adjustment of weights based on the deviation using gradient descent is expressed as follows:

[0014] ωt = ωt + 0.05 × ΔL × Ct;

[0015] ωd = ωd + 0.05 × ΔL × Cd;

[0016] ωλ=ωλ+0.05×ΔL×Cλ;

[0017] Where ωt, ωd, and ωλ represent temperature weight, distance weight, and wavelength weight, respectively; ΔL represents deviation; and Ct, Cd, and Cλ represent temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient, respectively.

[0018] Furthermore, the photoelectric conversion error correction is: L2 = Lf / (1 + e (-0.02×Lf+0.5) ); where Lf is the corrected photosensitivity value.

[0019] Furthermore, in practical applications, the photosensitive acquisition value L1, temperature value T, measurement distance d, and illumination wavelength λ are acquired simultaneously to determine the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient. The temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient are then weighted and summed to obtain the comprehensive compensation coefficient, and the weights of the weighted summation are determined based on a weight lookup table. The product of the photosensitive acquisition value and the comprehensive compensation coefficient is calculated to obtain the compensated target photosensitive value. Then, photoelectric conversion error correction and signal amplification noise filtering are performed to obtain the corrected photosensitive value.

[0020] A second aspect of the present invention provides a photosensitivity correction system based on dynamic temperature difference compensation, comprising:

[0021] The experimental module is configured to: synchronously acquire photosensitivity values, temperature values, measurement distances, and illumination wavelengths in an experimental environment; determine temperature difference compensation coefficients, distance compensation coefficients, and wavelength compensation coefficients; perform a weighted summation of these coefficients to obtain a comprehensive compensation coefficient, with the weights determined based on the temperature value, measurement distance, and illumination wavelength; calculate the product of the photosensitivity value and the comprehensive compensation coefficient to obtain the compensated target photosensitivity value; perform photoelectric conversion error correction and signal amplification noise filtering to obtain the corrected photosensitivity value; calculate the deviation between the corrected photosensitivity value and the standard photometer data; adjust the weights based on the deviation using the gradient descent method until the deviation meets the standard; and generate a weight lookup table for different temperature values, measurement distances, and illumination wavelengths.

[0022] The application module is configured to: in practical applications, simultaneously acquire photosensor values, temperature values, measurement distances, and light wavelengths; determine weights based on a weight lookup table; and perform a weighted summation of the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient to obtain a comprehensive compensation coefficient for compensating and correcting the photosensor values.

[0023] Furthermore, the temperature difference compensation coefficient is: Ct=Li_Tn / Li_T10; where Ct is the temperature difference compensation coefficient for the nth temperature range, Li_Tn is the standard photosensitivity value for the nth temperature range, and Li_T10 is the standard photosensitivity value for the reference temperature range.

[0024] Furthermore, the distance compensation coefficient is: Cd=1 / (1+k×d); where d is the measurement distance and k is the attenuation coefficient.

[0025] Furthermore, the adjustment of weights based on the deviation using gradient descent is expressed as follows:

[0026] ωt = ωt + 0.05 × ΔL × Ct;

[0027] ωd = ωd + 0.05 × ΔL × Cd;

[0028] ωλ=ωλ+0.05×ΔL×Cλ;

[0029] Where ωt, ωd, and ωλ represent temperature weight, distance weight, and wavelength weight, respectively; ΔL represents deviation; and Ct, Cd, and Cλ represent temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient, respectively.

[0030] Compared with the prior art, the beneficial effects of the present invention are:

[0031] This invention breaks through the traditional single temperature difference compensation, and for the first time integrates three core interference factors: temperature difference, distance, and wavelength, to adapt to more complex scenarios. It also introduces a dynamic weight allocation and closed-loop iteration mechanism to adjust the weight of each factor in real time according to the complexity of the environment, solving the problem that the influence weight of each factor is different under different environments. The compensation accuracy is significantly higher than that of the fixed coefficient method. Attached Figure Description

[0032] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0033] Figure 1 This is a flowchart of a photosensitivity correction method based on dynamic temperature difference compensation according to Embodiment 1 of the present invention;

[0034] Figure 2 This is a data acquisition flowchart of Embodiment 1 of the present invention;

[0035] Figure 3 This is a flowchart of the real-time compensation process in Embodiment 1 of the present invention. Detailed Implementation

[0036] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings.

[0037] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.

[0038] Example 1

[0039] This embodiment provides a method for correcting photosensitivity based on dynamic temperature difference compensation.

[0040] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation. By building a dedicated experimental environment, collecting multi-dimensional data, constructing a precise compensation model, and optimizing in real time, it integrates multiple factors and optimizes the entire calculation process to achieve high-precision correction of the photosensitive value.

[0041] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which includes four key steps: data acquisition, coefficient calculation, real-time compensation, and evaluation and optimization. Furthermore, a judgment node is introduced to achieve dynamic optimization, ensuring that the compensation accuracy always meets the standard error requirements.

[0042] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which breaks through the traditional single temperature difference compensation and integrates the three core interference factors of temperature difference, distance and wavelength for the first time. It is suitable for more complex scenarios and solves the problem of insufficient accuracy caused by ignoring multiple interferences in the existing technology.

[0043] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation. It does not rely on production line resources. By independently building an experimental environment and collecting multi-device, multi-dimensional statistical data to construct a model, it avoids interference caused by production line data collection and has stronger model stability.

[0044] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which subdivides the temperature range into 14 intervals. Compared with the coarse-grained division of the prior art, it can more accurately match the changes in photosensitive characteristics under different temperatures and has higher compensation accuracy.

[0045] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation. It introduces dynamic weight allocation and closed-loop iteration mechanism, and adjusts the weight of each factor in real time according to the environmental complexity. This solves the problem that the influence weight of each factor is different under different environments, and the compensation accuracy is significantly higher than that of the fixed coefficient method.

[0046] Existing technologies do not optimize the entire process of photosensitive value "photoelectric conversion-signal amplification-data calibration" but only optimize the compensation coefficient calculation, without reducing errors at the source. The photosensitive value correction method based on dynamic temperature difference compensation provided in this embodiment does not only improve the compensation coefficient calculation, but also optimizes photoelectric conversion error and signal noise filtering by combining the entire process of photosensitive value "acquisition-conversion-amplification-calibration", thereby reducing errors at the source and improving the measurement accuracy to over 99%, with the post-compensation deviation controlled within ±0.3 Lux.

[0047] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation. The compensation coefficient is calculated based on statistical data from 10 devices, taking into account individual differences of devices, improving the algorithm's adaptability to different devices, and making it more versatile.

[0048] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation. It achieves real-time compensation through factor matching, weight allocation and simple calculation. It has low computational load, fast response speed, no need for complex algorithm iteration, and is easy to apply in engineering.

[0049] This embodiment provides a method for correcting photosensitivity based on dynamic temperature difference compensation, such as... Figure 1 As shown, it includes the following steps:

[0050] Step 1: Setting up the experimental environment.

[0051] Laboratory temperature control equipment capable of precisely controlling air temperature was selected to construct an adjustable temperature working environment ranging from -25℃ to 45℃, with a temperature control accuracy of ±0.5℃.

[0052] A high-precision temperature sensor is fixed near the installation location of the photosensitive element to ensure that the distance between the temperature sensor and the photosensitive element is less than 1mm (distance threshold) and that the collected ambient temperature is consistent with the actual operating temperature of the photosensitive element. The acquisition frequency of the temperature sensor is matched with the acquisition frequency of the photosensitive element, both set to 30s / time.

[0053] Ten identical, high-precision photosensitive acquisition devices (numbered AJ) were selected to ensure consistent device performance parameters and reduce the impact of individual device differences on experimental data.

[0054] A distance adjustment mechanism (0-25cm, accuracy ±0.1cm) is configured to simulate different measurement distance scenarios; a spectral sensor (wavelength range 380-760nm, accuracy ±2nm) is configured to collect light wavelength data; and a standard photometer (accuracy ±0.01Lux) is configured to verify the accuracy of the corrected photosensitivity value.

[0055] Step 2: Multi-dimensional data collection.

[0056] like Figure 2 As shown, the steps of multi-dimensional data collection clarify the calculation logic of "single unit average - interval total average", highlight the core actions of temperature interval switching and data calculation, and ensure that the process is reproducible.

[0057] Step 201, Temperature Difference-Photosensitive Value Data: Divide the operating temperature into 14 intervals, each with a 5℃ interval (T1: -25<T≤-20℃ to T14: 40<T≤45℃). Within each temperature interval, each photosensitive acquisition device collects photosensitive data 10 times at a frequency of 30 seconds / time. Calculate the average photosensitive value of a single device within that temperature interval.

[0058] La,i=(La,1+La,2+...+La,10) / 10;

[0059] Lb,i=(Lb,1+Lb,2+...+Lb,10) / 10;

[0060] ...;

[0061] Lj,i=(Lj,1+Lj,2+...+Lj,10) / 10;

[0062] Wherein, La,i is the average photosensitive value of photosensitive acquisition device A within a certain temperature range, and La,1 to La,10 are 10 acquisition values ​​of photosensitive acquisition device A within that temperature range; Lb,i is the average photosensitive value of photosensitive acquisition device B within a certain temperature range, and Lb,1 to Lb,10 are 10 acquisition values ​​of photosensitive acquisition device B within that temperature range; Lj,i is the average photosensitive value of photosensitive acquisition device J within a certain temperature range, and Lj,1 to Lj,10 are 10 acquisition values ​​of photosensitive acquisition device J within that temperature range.

[0063] Step 202, Distance-Photosensitive Value Data: Repeat the above temperature difference-photosensitive value data acquisition process at distances of 5cm, 10cm, 15cm, 20cm, and 25cm, and record the photosensitive acquisition data under different distance-temperature combinations.

[0064] Step 203, Wavelength-Photosensitive Value Data: Under constant temperature of 25℃ and distance of 15cm, adjust the wavelength of the light source (380-760nm, 10nm interval), collect the standard light intensity value and photosensitive value corresponding to each wavelength, calculate the conversion efficiency, and establish a "wavelength-conversion efficiency" relationship table.

[0065] Step 204: Calculate the total average photosensitive value of 10 devices within each temperature range, and use it as the standard photosensitive value for that temperature range.

[0066] Li_Tn=(La,i_Tn+Lb,i_Tn+...+Lj,i_Tn) / 10;

[0067] Wherein, Li_Tn is the standard photosensitivity value for the nth temperature range (Tn), and La,i_Tn to Lj,i_Tn are the average photosensitivity values ​​of 10 devices in the Tn range.

[0068] Step 3: Determine the multi-factor compensation coefficient.

[0069] (1) Temperature difference coefficient Ct: 20 < T ≤ 25℃ (T10) is selected as the reference temperature range, and the standard photosensitive value Li_T10 in this range is used as the reference photosensitive value. The temperature difference compensation coefficient for each temperature range is calculated according to the following formula:

[0070] Ct = Li_Tn / Li_T10;

[0071] Where C is the temperature difference compensation coefficient for the nth temperature range, Li_Tn is the standard photosensitivity value for the nth temperature range, and Li_T10 is the standard photosensitivity value for the reference temperature range.

[0072] (2) Distance compensation coefficient Cd: The distance compensation coefficient is introduced, and the formula is:

[0073] Cd = 1 / (1 + k × d);

[0074] Where d is the actual measured distance (cm) and k is the attenuation coefficient (calibrated to 0.04 through experiments).

[0075] (3) Wavelength compensation coefficient Cλ: The illumination wavelength λ is obtained by the spectral sensor, and the corresponding coefficient is obtained by querying the preset "wavelength-conversion efficiency" relationship table (e.g., Cλ=1.02 when λ=650nm, Cλ=0.95 when λ=450nm).

[0076] (4) Formation of compensation coefficient table: The temperature difference compensation coefficients (Ct1 to Ct14) corresponding to 14 temperature ranges are obtained by calculation. Combined with the distance coefficient and wavelength coefficient, a multi-factor compensation coefficient database is formed, as shown in Table 1. The standard photosensitivity value and temperature difference compensation coefficient calculation results for some temperature ranges are shown in Table 2.

[0077] Table 1. Database of Multi-Factor Compensation Coefficients

[0078]

[0079] Table 2. Calculation results of standard photosensitivity values ​​and temperature difference compensation coefficients for some temperature ranges.

[0080]

[0081] Step 4: Real-time compensation application.

[0082] like Figure 3 As shown, the entire process of real-time compensation, from "data acquisition to synchronization to matching to calculation to output," is clearly demonstrated, highlighting the dynamic continuous compensation logic with a 30-second cycle.

[0083] Step 401, Multi-parameter synchronous acquisition: In the experimental environment, the photosensitive acquisition system synchronously acquires the real-time acquisition value L1 of the photosensitive element, the real-time temperature value T of the temperature sensor, the actual measurement distance d of the distance sensor, and the illumination wavelength λ of the spectral sensor.

[0084] Step 402, Compensation Coefficient Matching: Determine the temperature range Tn to which the real-time temperature value T belongs, retrieve the corresponding temperature difference compensation coefficient Ct from the compensation coefficient database; calculate the distance compensation coefficient Cd based on the actual measurement distance d; obtain the wavelength compensation coefficient Cλ based on the illumination wavelength λ.

[0085] Step 403, Dynamic weight allocation: The weights (ωt, ωd, ωλ) of the three factors are dynamically adjusted according to the environmental complexity, and the total weight is 1.

[0086] As one implementation method, the weights are determined using the following approach:

[0087] When the ambient temperature fluctuation is greater than 5℃, ωt=0.5, ωd=0.3, ωλ=0.2;

[0088] When the measurement distance is greater than 15cm, ωd=0.5, ωt=0.3, ωλ=0.2;

[0089] When the illumination wavelength is <450nm or >650nm, ωλ=0.4, ωt=0.3, ωd=0.3;

[0090] Normal environment (temperature fluctuation ≤2℃, distance 5-15cm, wavelength 500-600nm): ωt=0.4, ωd=0.3, ωλ=0.3.

[0091] As another implementation method, the weights are calculated using the following formula:

[0092] ;

[0093] Among them, the intensity of temperature effect Distance affects intensity Wavelength affects intensity ΔT is the difference between the real-time temperature and the reference temperature, d0 is the standard measurement distance, λ0 is the standard reference wavelength, and k is the reference wavelength. t k d k λ These are the sensitivity coefficients for each factor.

[0094] Step 404, Comprehensive Compensation Calculation:

[0095] Calculate the comprehensive compensation coefficient:

[0096] C=ωt×Ct+ωd×Cd+ωλ×Cλ;

[0097] Calculate the compensated target photosensitivity value using the following formula:

[0098] Lf = L1 × C;

[0099] Where Lf is the compensated target photosensitive value, C is the comprehensive compensation coefficient, and L1 is the real-time acquisition value of the photosensitive element.

[0100] Step 405: Calculation principle optimization and calibration:

[0101] (1) Photoelectric conversion error correction: To address the characteristics of photosensitive elements, such as "low conversion efficiency under low light intensity and saturation distortion under high light intensity", a nonlinear correction formula is introduced:

[0102] L2=Lf / (1+e (-0.02×Lf+0.5) );

[0103] Where 0.02 and 0.5 are parameters obtained by fitting experimental data.

[0104] (2) Signal amplification and noise filtering: L2 is processed using a 5-times moving average filter to remove random noise interference. The formula is as follows:

[0105] L3=(L2(i)+L2(i-1)+L2(i-2)+L2(i-3)+L2(i-4)) / 5.

[0106] Step 406, Dynamic Iterative Verification: Compare the corrected photosensitivity value L3 with the standard photometer data, and calculate the deviation ΔL; if ΔL ≤ ±0.3Lux, output L3 as the final target photosensitivity value; if ΔL > ±0.3Lux, adjust the weights using the gradient descent method.

[0107] ωt = ωt + 0.05 × ΔL × Ct;

[0108] ωd = ωd + 0.05 × ΔL × Cd;

[0109] ωλ=ωλ+0.05×ΔL×Cλ;

[0110] Recalculate until the deviation is within the acceptable range.

[0111] Step 407, Dynamic Continuous Compensation: Repeat the above steps at a frequency of 30 seconds per cycle to achieve dynamic continuous compensation.

[0112] Step 408: Record the weights ωt, ωd, and ωλ for different temperature values ​​T, measurement distances d, and light wavelengths, and form a lookup table of weights for different temperature values ​​T, measurement distances d, and light wavelengths.

[0113] Step 5: Synchronously acquire the photosensitive acquisition value L1, temperature value T, measurement distance d, and illumination wavelength λ; determine the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient; perform a weighted summation of the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient to obtain the comprehensive compensation coefficient, and the weights of the weighted summation are determined based on a weight lookup table; calculate the product of the photosensitive acquisition value and the comprehensive compensation coefficient to obtain the compensated target photosensitive value; and perform photoelectric conversion error correction and signal amplification noise filtering to obtain the corrected photosensitive value.

[0114] Multi-scene accuracy verification: Select different temperature points (covering 14 temperature ranges), different measurement distances (5cm, 15cm, 25cm), different light wavelengths (400nm, 550nm, 700nm), and different light intensity environments to verify the compensated photosensitivity value, ensuring that the deviation between the target photosensitivity value and the actual light sensing data is within the standard error range (±0.3Lux).

[0115] Long-term stability test: Conduct long-term stability test, run continuously for 30 days, monitor the running status and compensation accuracy of the compensation algorithm at fixed time points every day to ensure no drift phenomenon.

[0116] Model optimization and adjustment: If the compensation result deviation exceeds the standard error range under a certain temperature range, distance or wavelength combination, re-collect the experimental data under that combination, adjust the corresponding compensation coefficient or weight allocation rules, and optimize the compensation model.

[0117] Table 3 shows the real-time photosensitivity L1 and the compensated target photosensitivity of 10 devices under the conditions of temperature 28℃ (within the T11 range, Ct=1.0054), distance 20cm (Cd=0.556), wavelength 600nm (Cλ=1.00), and normal environmental weights (ωt=0.4, ωd=0.3, ωλ=0.3).

[0118] Table 3. Target photosensitivity values ​​after compensation

[0119]

[0120] Note: The initial deviation of device E exceeded the standard error range. After adjusting the weights (ωt=0.4+0.05×0.94×1.0054≈0.447, ωd=0.3+0.05×0.94×0.556≈0.326, ωλ=0.3+0.05×0.94×1.00≈0.347), the deviation was reduced to 0.38 Lux after recalculation, which meets the requirements.

[0121] The experimental data show that, after multi-factor fusion and full-process optimization compensation in this embodiment, the photosensitive measurement deviation is controlled within the standard error range of ±0.3 Lux, and the compensation accuracy is significantly improved.

[0122] Practical application scenario example—taking an urban intelligent lighting system as an example, the photosensitizing system integrating the compensation algorithm of this embodiment is installed in the control box of urban road street lights:

[0123] Application process: The photosensitive acquisition system acquires the light sensitivity value, temperature value, measurement distance, and light wavelength of the road environment in real time, and calculates the target photosensitive value through the multi-factor fusion compensation algorithm in this embodiment; when the target photosensitive value is lower than 30 Lux, the street light control box controls the street light to turn on; when the target photosensitive value is higher than 30 Lux, the street light is controlled to turn off.

[0124] Application results: In scenarios with low winter temperatures (-10℃), high summer temperatures (38℃), long-distance monitoring (20cm), and complex light wavelengths, the streetlights can accurately respond to changes in ambient light intensity, with the deviation between the start-up and shutdown times and actual needs not exceeding 5 minutes. Compared with traditional systems that do not use the compensation algorithm in this embodiment, the energy consumption of the streetlights is reduced by 8%-12%, reducing the phenomenon of false start-up and shutdown caused by light sensing errors and improving the reliability of road lighting.

[0125] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which has high compensation accuracy: by subdividing 14 temperature ranges and building a compensation model based on statistical data from 10 devices, it integrates three major factors: temperature difference, distance, and wavelength, and optimizes the entire calculation process. This method can effectively offset the effects of temperature differences, individual device differences, and multiple interference factors, and control the photosensitive measurement error within ±0.3 Lux. The compensation accuracy is 40% higher than that of the prior art.

[0126] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which has a wide range of applications: the compensation model is adapted to a wide temperature range of -25℃ to 45℃, a distance range of 0-25cm, and a wavelength range of 380-760nm. It can be applied to multiple fields such as urban smart lighting, agricultural greenhouse lighting control, outdoor security equipment, consumer electronics, and automotive electronics, and has strong versatility.

[0127] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which does not require production line resources: data acquisition and model construction are completed by building an experimental environment independently, without relying on data from the production process on the production line, reducing interference with the production process, and avoiding external interference from the production line environment, thus improving model stability.

[0128] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which has a fast response speed: the compensation algorithm has a simple logic, only needs to complete the multi-factor weight allocation, coefficient matching and simple calculation, and the compensation response delay does not exceed 50ms, which meets the requirements of photosensitive detection scenarios with high real-time requirements.

[0129] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which has low maintenance cost: after the compensation model is built, there is no need for frequent iterative adjustments in the later stage. Only periodic (such as once a year) accuracy verification is required. If the deviation exceeds the standard error range, the compensation coefficient can be quickly adjusted, and the maintenance cost is significantly reduced.

[0130] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which has strong dynamic adaptability: by dynamically adjusting the weights of various factors through environmental parameters, the adaptability and accuracy stability under complex environments are significantly improved compared with fixed coefficient schemes.

[0131] This embodiment provides a photosensitive value correction method based on dynamic temperature difference compensation, which is easy to apply in engineering: the technical solution of this invention has clear logic, and the data acquisition and compensation calculation processes are easy to implement through hardware circuits and software programs. It can be directly integrated into existing photosensitive acquisition systems without the need for large-scale modification of existing equipment, and the cost of engineering application is low.

[0132] Example 2

[0133] This embodiment provides a photosensitivity correction system based on dynamic temperature difference compensation, comprising:

[0134] The experimental module is configured to: synchronously acquire photosensitivity values, temperature values, measurement distances, and illumination wavelengths in an experimental environment; determine temperature difference compensation coefficients, distance compensation coefficients, and wavelength compensation coefficients; perform a weighted summation of these coefficients to obtain a comprehensive compensation coefficient, with the weights determined based on the temperature value, measurement distance, and illumination wavelength; calculate the product of the photosensitivity value and the comprehensive compensation coefficient to obtain the compensated target photosensitivity value; perform photoelectric conversion error correction and signal amplification noise filtering to obtain the corrected photosensitivity value; calculate the deviation between the corrected photosensitivity value and the standard photometer data; adjust the weights based on the deviation using the gradient descent method until the deviation meets the standard; and generate a weight lookup table for different temperature values, measurement distances, and illumination wavelengths.

[0135] The application module is configured to: in practical applications, simultaneously acquire photosensor values, temperature values, measurement distances, and light wavelengths; determine weights based on a weight lookup table; and perform a weighted summation of the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient to obtain a comprehensive compensation coefficient for compensating and correcting the photosensor values.

[0136] Furthermore, the temperature difference compensation coefficient is: Ct=Li_Tn / Li_T10; where Ct is the temperature difference compensation coefficient for the nth temperature range, Li_Tn is the standard photosensitivity value for the nth temperature range, and Li_T10 is the standard photosensitivity value for the reference temperature range.

[0137] Furthermore, the distance compensation coefficient is: Cd=1 / (1+k×d); where d is the measurement distance and k is the attenuation coefficient.

[0138] Furthermore, the adjustment of weights based on the deviation using gradient descent is expressed as follows:

[0139] ωt = ωt + 0.05 × ΔL × Ct;

[0140] ωd = ωd + 0.05 × ΔL × Cd;

[0141] ωλ=ωλ+0.05×ΔL×Cλ;

[0142] Where ωt, ωd, and ωλ represent temperature weight, distance weight, and wavelength weight, respectively; ΔL represents deviation; and Ct, Cd, and Cλ represent temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient, respectively.

[0143] It should be noted that each module in this embodiment corresponds one-to-one with each step in Embodiment 1, and their specific implementation processes are the same, so they will not be repeated here.

[0144] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A photosensitive value correction method based on dynamic temperature difference compensation, characterized in that, include: In the experimental environment, the photosensitive acquisition value, temperature value, measurement distance and light wavelength are acquired simultaneously. The temperature difference compensation coefficient, distance compensation coefficient and wavelength compensation coefficient are determined. The temperature difference compensation coefficient, distance compensation coefficient and wavelength compensation coefficient are weighted and summed to obtain the comprehensive compensation coefficient. The weight of the weighted summation is determined according to the temperature value, measurement distance and light wavelength. The product of the photosensitive acquisition value and the comprehensive compensation coefficient is calculated to obtain the compensated target photosensitive value. Then, photoelectric conversion error correction and signal amplification noise filtering are performed to obtain the corrected photosensitive value. Calculate the deviation between the corrected photosensitivity value and the standard photometer data, and adjust the weights according to the deviation using the gradient descent method until the deviation meets the standard, thus forming a weight lookup table for different temperature values, measurement distances, and light wavelengths. In practical applications, the photosensitized values, temperature values, measurement distance, and light wavelength are acquired simultaneously. The weights are determined based on a weight lookup table, and the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient are weighted and summed to obtain a comprehensive compensation coefficient, which is used to compensate and correct the photosensitized values.

2. The photosensitive value correction method based on dynamic temperature difference compensation as described in claim 1, characterized in that, The temperature difference compensation coefficient is: Ct=Li_Tn / Li_T10; where Ct is the temperature difference compensation coefficient for the nth temperature range, Li_Tn is the standard photosensitivity value for the nth temperature range, and Li_T10 is the standard photosensitivity value for the reference temperature range.

3. The photosensitive value correction method based on dynamic temperature difference compensation as described in claim 1, characterized in that, The distance compensation coefficient is: Cd=1 / (1+k×d); where d is the measurement distance and k is the attenuation coefficient.

4. The photosensitive value correction method based on dynamic temperature difference compensation as described in claim 1, characterized in that, The adjustment of weights based on deviation using gradient descent is expressed as follows: ωt = ωt + 0.05 × ΔL × Ct; ωd = ωd + 0.05 × ΔL × Cd; ωλ=ωλ+0.05×ΔL×Cλ; Where ωt, ωd, and ωλ represent temperature weight, distance weight, and wavelength weight, respectively; ΔL represents deviation; and Ct, Cd, and Cλ represent temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient, respectively.

5. The photosensitive value correction method based on dynamic temperature difference compensation as described in claim 1, characterized in that, The photoelectric conversion error correction is: L2=Lf / (1+e (-0.02×Lf+0.5) ); wherein, Lf is the corrected photosensitive value.

6. The photosensitive value correction method based on dynamic temperature difference compensation as described in claim 1, characterized in that, In practical applications, the photosensitive acquisition value L1, temperature value T, measurement distance d, and light wavelength λ are acquired simultaneously to determine the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient. The temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient are then weighted and summed to obtain the comprehensive compensation coefficient. The weights of the weighted summation are determined based on a weight lookup table. The product of the photosensitive acquisition value and the comprehensive compensation coefficient is calculated to obtain the compensated target photosensitive value. Then, photoelectric conversion error correction and signal amplification noise filtering are performed to obtain the corrected photosensitive value.

7. A photosensitivity correction system based on dynamic temperature difference compensation, characterized in that, include: The experimental module is configured to: synchronously acquire photosensor values, temperature values, measurement distances, and light wavelengths in the experimental environment; determine temperature difference compensation coefficients, distance compensation coefficients, and wavelength compensation coefficients; and perform a weighted summation of the temperature difference compensation coefficients, distance compensation coefficients, and wavelength compensation coefficients to obtain a comprehensive compensation coefficient. The weights of the weighted summation are determined based on the temperature value, measurement distance, and light wavelength. The product of the photosensitive acquisition value and the comprehensive compensation coefficient is calculated to obtain the compensated target photosensitive value. Then, photoelectric conversion error correction and signal amplification noise filtering are performed to obtain the corrected photosensitive value. Calculate the deviation between the corrected photosensitivity value and the standard photometer data, and adjust the weights according to the deviation using the gradient descent method until the deviation meets the standard, thus forming a weight lookup table for different temperature values, measurement distances, and light wavelengths. The application module is configured to: in practical applications, simultaneously acquire photosensor values, temperature values, measurement distances, and light wavelengths; determine weights based on a weight lookup table; and perform a weighted summation of the temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient to obtain a comprehensive compensation coefficient for compensating and correcting the photosensor values.

8. The photosensitivity correction system based on dynamic temperature difference compensation as described in claim 7, characterized in that, The temperature difference compensation coefficient is: Ct=Li_Tn / Li_T10; where Ct is the temperature difference compensation coefficient for the nth temperature range, Li_Tn is the standard photosensitivity value for the nth temperature range, and Li_T10 is the standard photosensitivity value for the reference temperature range.

9. A photosensitivity correction system based on dynamic temperature difference compensation as described in claim 7, characterized in that, The distance compensation coefficient is: Cd=1 / (1+k×d); where d is the measurement distance and k is the attenuation coefficient.

10. A photosensitivity correction system based on dynamic temperature difference compensation as described in claim 7, characterized in that, The adjustment of weights based on deviation using gradient descent is expressed as follows: ωt = ωt + 0.05 × ΔL × Ct; ωd = ωd + 0.05 × ΔL × Cd; ωλ=ωλ+0.05×ΔL×Cλ; Where ωt, ωd, and ωλ represent temperature weight, distance weight, and wavelength weight, respectively; ΔL represents deviation; and Ct, Cd, and Cλ represent temperature difference compensation coefficient, distance compensation coefficient, and wavelength compensation coefficient, respectively.