Light spot control method, device and equipment for adjustable focus LED light source
By establishing a mathematical model of LED light source and performing spectral decomposition and optimization, combining focal length adjustment and multi-loop closed-loop control, the problem of difficulty in precise control of the spot quality of LED light source is solved, and the stability of high-precision spot morphology and comprehensive control of multiple indicators are achieved.
Patent Information
- Application Number
- CN202510047601.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2045-01-13
AI Technical Summary
In practical applications, LED light sources have problems that spot quality is difficult to accurately control, especially due to the complexity of spot characteristics caused by multi-wavelength coupling, temperature drift and dispersion effects, and traditional control methods are difficult to meet the requirements of high precision.
By establishing a mathematical model of LED light source, spot feature extraction and multi-wavelength coupled signal separation are performed, signal optimization is used by spectral decomposition and energy grading methods, and attenuation compensation is performed in combination with focal length adjustment characteristics to achieve dynamic balance adjustment and multi-loop closed-loop control.
It improves the accuracy of focal length adjustment, ensures the stability of the spot morphology, realizes comprehensive control of multiple evaluation indicators such as spectral purity, energy uniformity and edge sharpness, and improves the performance of LED light sources in high-precision applications.
Smart Images

Figure CN119450850B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of light spot control technology, and in particular to a light spot control method, device and equipment for an adjustable-focus LED light source. Background Art
[0002] Focusable LED light sources are widely used in the field of lighting due to their advantages such as high efficiency, energy saving, long life, and fast response speed. However, in practical applications, the light spot control of LED light sources faces many technical difficulties. LED light sources have complex light spot characteristics, including multi-wavelength coupling, temperature drift, dispersion effect, etc. These factors make it difficult to accurately control the light spot quality, especially in situations where high-precision light spot morphology is required. Traditional control methods are difficult to meet the requirements.
[0003] Secondly, the temperature of the LED light source will rise during operation, causing spectral drift and light intensity attenuation. At the same time, the thermal expansion of the lens group will affect the accuracy of focal length adjustment. There is a complex coupling relationship between this temperature effect and the light intensity-current characteristics and focal length adjustment characteristics, making the design of the light spot control system more difficult. Existing control methods often consider these characteristics separately and lack a systematic solution. In addition, the light spot control of LED light sources also faces problems such as unsatisfactory response characteristics and insufficient control accuracy. Especially in application scenarios where real-time adjustment of light spot characteristics is required, due to the lack of an effective multi-loop closed-loop control strategy, it is difficult to simultaneously guarantee multiple evaluation indicators of light spot quality, such as spectral purity, energy uniformity, edge sharpness, etc., which seriously restricts the promotion of adjustable focus LED light sources in high-precision applications. Summary of the invention
[0004] The present application provides a method, device and equipment for controlling the light spot of a focus-adjustable LED light source, thereby improving the accuracy of focal length adjustment and ensuring the stability of the light spot shape.
[0005] In a first aspect, the present application provides a method for controlling a light spot of an adjustable-focus LED light source, the method comprising:
[0006] Collect parameters and perform optical modeling on the LED light source to obtain a mathematical model of the LED light source;
[0007] Based on the mathematical model of the LED light source, light spot feature extraction and multi-wavelength coupling signal separation are performed to obtain a high-energy main wavelength component and a low-energy sub-wavelength component;
[0008] Inputting the high-energy main wavelength component and the low-energy sub-wavelength component into a short-time numerical calculation model to optimize spectrum decomposition parameters to obtain spectrum control parameters;
[0009] Performing optical path analysis based on the spectral control parameters, and performing attenuation compensation calculation in combination with the focal length adjustment characteristics, to obtain an optical path compensation coefficient and a focal length adjustment parameter;
[0010] Perform dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculate the light spot quality evaluation index and the light intensity ratio and generate the wavelength balance control parameter;
[0011] The wavelength balance control parameters are input into the LED driving control system, and the LED light source driving control quantity is output through multi-loop closed-loop control and real-time parameter calculation.
[0012] A second aspect of the present application provides a light spot control device for an adjustable-focus LED light source, the light spot control device for an adjustable-focus LED light source comprising:
[0013] The acquisition module is used to collect parameters and perform optical modeling on the LED light source to obtain a mathematical model of the LED light source;
[0014] A separation module, used for performing light spot feature extraction and multi-wavelength coupling signal separation based on the LED light source mathematical model to obtain a high-energy main wavelength component and a low-energy sub-wavelength component;
[0015] A parameter optimization module, used for inputting the high-energy main wavelength component and the low-energy sub-wavelength component into a short-time numerical calculation model to optimize spectrum decomposition parameters to obtain spectrum control parameters;
[0016] A calculation module, used to perform optical path analysis based on the spectral control parameters, and perform attenuation compensation calculation in combination with the focal length adjustment characteristics to obtain an optical path compensation coefficient and a focal length adjustment parameter;
[0017] An adjustment module, used to perform dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculate the light spot quality evaluation index and the light intensity ratio and generate a wavelength balance control parameter;
[0018] The output module is used to input the wavelength balance control parameters into the LED drive control system, and output the LED light source drive control quantity through multi-loop closed-loop control and real-time parameter calculation.
[0019] The third aspect of the present application provides an electronic device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the electronic device executes the above-mentioned light spot control method of the adjustable-focus LED light source.
[0020] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for controlling the light spot of a focus-adjustable LED light source.
[0021] Compared with the prior art, the present application has the following beneficial effects: by establishing a mathematical model of LED light source and integrating light intensity distribution, temperature characteristics and dispersion effect, an accurate description of the characteristics of LED light source is achieved; spectral decomposition and energy grading methods are used to effectively separate multi-wavelength coupled signals, solving the problem of light spot quality degradation caused by spectral aliasing; short-time numerical calculation and swarm intelligence algorithm are introduced to optimize the spectral decomposition parameters and improve the accuracy of spectral control; a multi-layer compensation mechanism is established, combined with a temperature-focal length linkage model, to effectively compensate for the optical path drift caused by temperature changes; a complete light spot quality evaluation system is designed, and comprehensive control of light spot quality is ensured through multi-indicator comprehensive scoring; a multi-loop closed-loop control strategy is constructed to achieve coordinated control of light intensity, temperature and position, and ensure the dynamic response performance of the system; a layered compensation and dynamic correction method is used to improve the accuracy of focal length adjustment and ensure the stability of light spot morphology; a combination of PWM control and temperature compensation strategy is used to ensure the stable operation of LED light source under different working conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0023] The structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with this technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantive technical significance. Any structural modification, change in proportion or adjustment of size, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.
[0024] Figure 1 It is a flow chart of a method for controlling a light spot of a focus-adjustable LED light source provided by an embodiment of the present invention;
[0025] Figure 2 is a schematic block diagram of the structure of a light spot control device for an adjustable focus LED light source provided by an embodiment of the present invention;
[0026] Figure 3It is a schematic block diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0029] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0030] It should be further understood that the term "and / or" used in the specification and appended claims of this application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations. Figure 1 , an embodiment of the light spot control method of the adjustable focus LED light source in the embodiment of the present application includes:
[0031] Step 100: collect parameters and perform optical modeling on the LED light source to obtain a mathematical model of the LED light source;
[0032] It is understandable that the execution subject of the present application may be a light spot control device for a focus-adjustable LED light source, or a terminal or a server, which is not specifically limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0033] Specifically, the physical properties of the LED light source are measured, including chip size, packaging structure, and optical devices. The spatial geometric structure data of the LED light source is obtained through appropriate measurement tools and techniques. Based on the geometric structure data, the light-emitting surface of the LED light source is divided into N×N units. The light intensity of each unit is calibrated to obtain the initial data of the light intensity distribution. The spectrum of the LED light source is scanned and the temperature gradient is measured at different working currents. By performing systematic measurements at multiple working currents, a spectrum-temperature mapping model is established to form a spectral characteristic data set to reflect the spectral characteristics of the LED light source under different temperature and current conditions. Based on the spectral characteristic data set, the spectral drift of the LED light source during the temperature and current changes is compensated to ensure that the corresponding relationship between the light intensity, temperature, and current obtained in the end is accurate. Based on the initial data of light intensity distribution, the light ray is traced on the light-emitting surface of the LED light source, and an optical path dispersion model is established to obtain spatial light intensity distribution data, which helps to understand the optical path and dispersion characteristics from the light source to the imaging plane. By calculating the optical path propagation characteristic parameters, the characteristic changes of light during propagation are analyzed to optimize the control effect of the light spot. According to the light intensity-temperature-current correspondence, the light intensity attenuation characteristics and temperature response of LED light sources under different working conditions are modeled and analyzed to reveal various performance problems faced by light sources in practical applications, such as the change of light intensity over time and the influence of ambient temperature on light intensity. By obtaining the light intensity attenuation characteristic parameters and coupling these parameters with the optical path propagation characteristic parameters, a dynamic correspondence between light intensity distribution and driving parameters is established. Through the above steps, a complete mathematical model of LED light source is obtained. This model covers the geometric structure and luminous characteristics of the light source, and includes its response characteristics under different working conditions, so that in practical applications, effective light spot adjustment can be performed according to needs.
[0034] Step 200: extracting light spot features and separating multi-wavelength coupling signals based on a mathematical model of an LED light source to obtain a high-energy main wavelength component and a low-energy sub-wavelength component;
[0035] Specifically, based on the mathematical model of LED light source, the spot image is preprocessed by Gaussian filtering and histogram equalization to improve the accuracy of subsequent analysis. Gaussian filtering effectively removes noise in the image, while histogram equalization can enhance the contrast of the image and make the outline of the spot clearer. After preprocessing, the adaptive threshold segmentation method is used for edge detection to obtain the contour data of the spot. The spot contour data is morphologically processed and feature calculated. Morphological processing techniques, such as expansion and corrosion, extract the shape characteristics of the spot and eliminate small noise points and artifacts. Through these processes, the geometric characteristic parameters of the spot are extracted, including the diameter, ellipticity and light intensity uniformity of the spot, reflecting the shape and distribution of the spot. In order to improve the accuracy of the geometric characteristic parameters, mean filtering and gradient analysis are performed to obtain the light intensity distribution ratio of the center area and the edge area of the spot, reflecting the light intensity distribution of the spot in different areas, which helps to understand the output characteristics of the light source and how to effectively adjust the spot. The spectral data of the LED light source is normalized and wavelength calibrated. Normalization eliminates the impact of different measurement conditions on spectral data, while wavelength calibration ensures the accuracy of spectral data. By calculating the maximum root mean square value of the spectrum kurtosis value and the autocorrelation function, the spectral characteristic parameter set is obtained. Based on the spectral characteristic parameter set, energy threshold analysis and temperature compensation of multi-wavelength coupling signals are performed. This analysis process can identify the energy distribution at different wavelengths and make appropriate adjustments to eliminate the impact of temperature changes and obtain a more reliable energy distribution ratio. According to the energy distribution ratio, the wavelength components are graded into primary and secondary energies and the signals are reconstructed. Optical signals of different wavelengths are classified according to their energy levels to distinguish between high-energy main wavelength components and low-energy sub-wavelength components. By combining the effect of temperature on spectral drift, compensation calculations are performed to more accurately reflect the luminous characteristics of the light source under actual working conditions. Through the above steps, high-energy main wavelength components and low-energy sub-wavelength components are extracted.
[0036] Step 300, inputting the high-energy main wavelength component and the low-energy sub-wavelength component into a short-time numerical calculation model to optimize the spectrum decomposition parameters to obtain the spectrum control parameters;
[0037] It should be noted that the high-energy main wavelength component is divided into equally spaced time windows. The Hanning window function is used to weight these windows to reduce spectrum leakage. The weighted time signal is converted into main wavelength spectrum data using Fourier transform to reflect the frequency components and intensity distribution of the light source at the main wavelength. At the same time, the same window division and weighting method is used for the low-energy sub-wavelength component. The waveform characteristics of the low-energy sub-wavelength component are extracted by wavelet decomposition technology. Wavelet transform can analyze signals at different scales, so that the system can capture the instantaneous characteristics of the sub-wavelength component and obtain richer sub-wavelength spectrum data. The spectrum energy distribution is divided into intervals according to the main wavelength spectrum data and the sub-wavelength spectrum data. By analyzing the spectrum data, the characteristic area of the energy distribution is identified, and the transfer function model is established by the piecewise linear fitting method. The spectrum data is analyzed, the piecewise linear coefficients are extracted, and a mathematical model related to the performance of the light source is constructed. Based on the piecewise linear coefficients, the initial population and iteration parameters of the swarm intelligence algorithm are set. The swarm intelligence algorithm is an optimization method that simulates the behavior of groups in nature. Through continuous iterative optimization of the population, it effectively explores and finds the best solution. In this process, spectral purity, energy uniformity and wavelength stability are taken as optimization targets, and multi-objective optimization calculations are performed. Through the optimization algorithm, the influence of different parameter configurations on spectral performance can be systematically evaluated to obtain the parameter optimization range. The spectral decomposition parameters within the parameter optimization range are normalized to eliminate the influence of different dimensions and numerical ranges on subsequent analysis, so that each parameter can be compared and optimized under the same standard. Combined with the spectral quality evaluation index, error analysis and threshold screening are performed to ensure the accuracy and reliability of the selected parameters. The spectral control parameters are obtained to effectively reflect the luminous characteristics of the LED light source under the actual working state, ensuring that the light source always outputs the ideal light spot effect under different conditions.
[0038] Step 400: Perform optical path analysis based on the spectrum control parameters, and perform attenuation compensation calculation in combination with the focus adjustment characteristics to obtain an optical path compensation coefficient and a focus adjustment parameter;
[0039] Specifically, the optical path analysis is performed based on the spectral control parameters to understand the behavioral characteristics of light of different wavelengths when propagating in the optical path. By modeling and analyzing the dispersion characteristics of light of different wavelengths, the propagation speed and path changes of light in different media are revealed, the attenuation law of the optical path is calculated, and the optical path attenuation data is obtained to reflect the energy loss during the propagation of light. The spatial distribution characteristics of the optical path attenuation data are analyzed. This process needs to be considered comprehensively in combination with the influence of temperature on the focal length. Temperature changes will cause the refractive index of the material in the optical path to change, thereby affecting the distribution of light intensity. Through analysis, a light intensity attenuation distribution diagram is drawn to show the change of light intensity under different conditions. According to the light intensity attenuation distribution diagram, a light intensity change model within the focal length adjustment range is established to quantify the light intensity change under different focal lengths. The temperature characteristics of the LED are combined for compensation calculation to form a corresponding relationship between focal length and light intensity, so that the output characteristics of the light source can be accurately controlled during the adjustment process. In order to improve the accuracy of spot control, the focal length-light intensity correspondence relationship is coupled with the optical path dispersion characteristics to obtain a light intensity compensation model. The role of this model is to comprehensively consider the combined effects of light intensity change and optical path attenuation, so as to develop an effective compensation strategy to achieve an ideal spot effect. Through this process, the light intensity fluctuation caused by focal length change can be effectively reduced, and the stability of LED light sources under various working conditions can be improved. Based on the light intensity compensation model, the attenuation at different positions in the light path is compensated in layers. Through layered compensation, the attenuation phenomenon of light under different media and environmental conditions can be dealt with more carefully, and the accuracy of compensation can be improved. At the same time, a temperature-focal length linkage model is established, so that the focal length adjustment can respond to temperature changes in real time, ensuring the stable performance of the light source in a changing environment. By accurately dividing the displacement range of the lens group and combining the dispersion compensation characteristics, a focal length control sequence is generated. This sequence provides clear operating steps for focal length adjustment, so that the focal length of the light source can be adjusted quickly and effectively in practical applications. According to the focal length control sequence and the layered compensation coefficient, the minimum step length and compensation amount of focal length adjustment are calculated. This process involves data matching and dynamic correction to ensure the best combination of various parameters during the light source adjustment process. The optical path compensation coefficient and focal length adjustment parameters are obtained.
[0040] The light path in the light intensity compensation model is divided into equal intervals to calculate the light intensity attenuation value of each position point to form a spatial attenuation distribution sequence. Through this sequence, the attenuation characteristics of light at different positions are understood. Based on the spatial attenuation distribution sequence, the temperature data of each position point is collected and processed, and a spatial temperature distribution model is established to reveal the temperature changes at each position in the light path and obtain temperature gradient data. According to the temperature gradient data, the thermal expansion characteristics of the lens group material are compensated and calculated to determine the focal length temperature drift coefficient, that is, the focal length change of the lens group under temperature change. In order to improve the accuracy of compensation, the focal length temperature drift coefficient is layered to obtain multi-layer temperature compensation parameters. These parameters can provide corresponding compensation measures for different temperature changes to ensure that the light source can maintain stable output characteristics under various environmental conditions. Based on the multi-layer temperature compensation parameters, the light intensity attenuation value of each layer is temperature corrected to establish a layered light intensity compensation model, aiming to more accurately reflect the light intensity changes under different temperature conditions and obtain the required layered compensation coefficients. These compensation coefficients provide theoretical support for the displacement control of the subsequent lens group, so that the light source can effectively offset the light intensity fluctuation caused by temperature changes when adjusting the focal length. The layered compensation coefficient is spatially mapped to establish the corresponding relationship between the displacement of the lens group and the compensation coefficient, and the displacement compensation curve is obtained. According to the displacement compensation curve, the total stroke of the lens group is divided into equal intervals. At each displacement point, the corresponding compensation amount can be calculated to obtain the displacement control sequence. Based on the displacement control sequence, the dispersion characteristics of light of different wavelengths are compensated and calculated, and the dispersion-displacement mapping relationship is established to obtain the dispersion compensation parameters. These parameters can effectively correct the light intensity changes caused by dispersion and ensure the consistency and stability of light of different wavelengths during the focal length adjustment process. The dispersion compensation parameters are data-fused with the displacement control sequence to ensure that the compensation amount at each displacement point is accurately corrected. By comprehensively considering the light intensity attenuation, temperature change and dispersion characteristics, the final focal length control sequence is obtained.
[0041] Step 500: Perform dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculate the light spot quality evaluation index and the light intensity ratio, and generate the wavelength balance control parameter;
[0042] Specifically, according to the optical path compensation coefficient and focal length adjustment parameters, combined with the influence of temperature on the spectrum, the spectral characteristics of the high-energy main wavelength component are analyzed, and the spectral characteristic index of the main wavelength is extracted to reflect the luminous performance of the light source under specific working conditions. The main wavelength spectral characteristic index and the low-energy sub-wavelength component are correlated and analyzed, and a temperature-spectral drift compensation model is established to quantify the influence of temperature change on the wavelength and obtain wavelength coupling data. Through this model, the interaction between different wavelength components in the operation of the light source is understood. Based on the wavelength coupling data, the spectral purity index, energy uniformity index, edge sharpness index and time stability index are calculated. These indicators together constitute a comprehensive evaluation system for spot quality. By establishing a spot quality feature vector, various indicators are comprehensively reflected. The spot quality feature vector is input into the evaluation model, and a weighted calculation is performed considering the response characteristics of the LED. Through weighted calculation, a comprehensive score of the spot is obtained, and a dynamic balance interval is established based on this score. Based on the balance control interval, the energy distribution of the wavelength component is monitored and dynamically compensated in real time. Through dynamic compensation, the energy distribution of each wavelength component can be adjusted in time to offset the impact of environmental changes and working state changes on the light spot quality, ensuring the stability and consistency of the light source output. Based on real-time monitoring data and dynamic compensation strategies, an energy balance model is established to obtain wavelength balance control parameters. These parameters provide clear guidance for the dynamic adjustment of LED light sources, allowing the light source to automatically adjust the output according to the current working state and environmental conditions to achieve the best light spot quality performance.
[0043] Step 600: Input the wavelength balance control parameter into the LED driving control system, and output the LED light source driving control quantity through multi-loop closed-loop control and real-time parameter calculation.
[0044] Specifically, the wavelength balance control parameters are input into the LED drive control system to establish a closed-loop light intensity control model. The construction of the model is based on the analysis of the wavelength balance control parameters. At the same time, the response time characteristics of the LED are considered during the establishment process to adjust the parameters and obtain accurate spectral feedback data. The spot characteristics of the spectral feedback data are analyzed. The temperature characteristics of the LED are combined to make compensation corrections to ensure that the output of the light source remains stable at different operating temperatures. Through this process, the light intensity adjustment parameters are obtained. Based on the light intensity adjustment parameters, a segmented PWM (pulse width modulation) control strategy is established to optimize the regulation of the drive current. The response delay of the LED is considered for compensation to better adapt to the dynamically changing working conditions and obtain an effective drive current control quantity. The drive current control quantity is linked to the optical path compensation coefficient, and a multi-loop control priority strategy is established to determine which parameters should be adjusted first under different working conditions to obtain the light intensity compensation control quantity. According to this light intensity compensation control quantity, the focal length adjustment is optimized in real time, and the closed-loop correction is made in combination with the temperature characteristics of the LED to ensure that the light source always maintains an ideal focal length under different temperature conditions and obtain a position feedback signal. Based on the position feedback signal, the position of the lens group is precisely controlled. A temperature-position compensation model is established to take into account the impact of temperature changes on the performance of the light source and obtain the optical path control signal. The optical path control signal and the light intensity compensation control quantity are multi-loop coupled and optimized to ensure that the output of the light source is always in a steady state under various environmental conditions. The steady-state control strategy can not only cope with the impact of temperature changes and load changes, but also ensure the stability and consistency of the LED light source in different usage scenarios. Through the above control methods and strategies, the LED light source drive control quantity finally obtained can accurately adjust the working state of the light source.
[0045] In the embodiment of the present application, by establishing a mathematical model of the LED light source and integrating the light intensity distribution, temperature characteristics and dispersion effect, an accurate description of the characteristics of the LED light source is achieved, and the spectral decomposition and energy grading methods are used to effectively separate the multi-wavelength coupled signals, thereby solving the problem of reduced light spot quality caused by spectral aliasing; short-time numerical calculation and swarm intelligence algorithms are introduced to optimize the spectral decomposition parameters and improve the accuracy of spectral control; a multi-layer compensation mechanism is established, and the temperature-focal length linkage model is combined to effectively compensate for the optical path drift caused by temperature changes; a complete light spot quality evaluation system is designed, and comprehensive control of the light spot quality is ensured through comprehensive scoring of multiple indicators; a multi-loop closed-loop control strategy is constructed to achieve coordinated control of light intensity, temperature and position, and ensure the dynamic response performance of the system; a layered compensation and dynamic correction method is used to improve the accuracy of focal length adjustment and ensure the stability of the light spot morphology; and a combination of PWM control and temperature compensation strategies is used to ensure stable operation of the LED light source under different working conditions.
[0046] In a specific embodiment, the process of executing step 100 may specifically include the following steps:
[0047] The physical parameters of the chip size, packaging structure and optical devices of the LED light source are measured, and a three-dimensional space model is established to obtain spatial geometric structure data. Based on the spatial geometric structure data, the light-emitting surface of the LED light source is divided into N×N units, and the light intensity of each unit is calibrated to obtain the initial data of light intensity distribution;
[0048] The spectrum of the LED light source is scanned and the temperature gradient is measured at different working currents. A spectrum-temperature mapping model is established to obtain a spectrum characteristic data set. Based on the spectrum characteristic data set, the spectrum drift of the LED light source in the temperature-current change process is compensated to obtain the light intensity-temperature-current correspondence relationship.
[0049] Based on the initial light intensity distribution data, the light emitting surface of the LED light source is traced, and the optical path dispersion model is established to obtain the spatial light intensity distribution data. Based on the spatial light intensity distribution data, the optical path and dispersion characteristics from the light source to the imaging plane are calculated to obtain the optical path propagation characteristic parameters.
[0050] According to the correspondence between light intensity, temperature and current, the light intensity attenuation characteristics and temperature response of the LED light source under different working conditions are modeled and analyzed to obtain the light intensity attenuation characteristic parameters. The optical path propagation characteristic parameters and the light intensity attenuation characteristic parameters are coupled and calculated to establish a dynamic correspondence between the light intensity distribution and the driving parameters to obtain the mathematical model of the LED light source.
[0051] Specifically, the physical parameters of the core components of the LED light source are measured, including chip size, packaging structure, and optical devices. Through physical measurement, a three-dimensional spatial model is established, which can reflect the actual geometric structure of the LED light source. The establishment of the three-dimensional model needs to consider the shape and size of the light source and the optical properties of different materials to obtain spatial geometric structure data, such as the length, width, and height of the chip (denoted as , , ), the size of the package shape, etc. Based on the spatial geometric structure data, the light-emitting surface of the LED light source is divided into N×N units to achieve more precise light intensity measurement and calibration. The light intensity of each unit is calibrated to obtain the initial data of the light intensity distribution. The light intensity of each unit is set to ,in and Represent the index of the row and column respectively. This process is completed by the light intensity measurement instrument, and the initial data set of light intensity distribution is represented as a matrix:
[0052] ;
[0053] The spectrum of the LED light source is scanned and the temperature gradient is measured at different working currents, and a spectrum-temperature mapping model is established to obtain a spectral characteristic data set. Assume that the working current is defined as and temperature is , in different The measured spectral data is expressed as Using these data, a mathematical model is constructed to describe the relationship between spectrum and temperature, forming a spectral characteristic data set:
[0054] ;
[0055] Based on the obtained spectral characteristic data set, the spectral drift of the LED light source during temperature and current changes is compensated. This compensation process is intended to ensure that the spectral characteristics of the light source remain relatively stable regardless of the temperature and current conditions. The light intensity after compensation is set to , the relationship between light intensity, temperature and current is expressed by the following formula:
[0056] ;
[0057] in, is the reference light intensity, is the reference temperature, is the reference operating current, and Represent the coefficients of the influence of temperature and current on light intensity. Based on the initial data of light intensity distribution, ray tracing is performed on the light-emitting surface of the LED light source. By calculating the propagation of light in space, an optical path dispersion model is established. The optical path from the light source to the imaging plane is set to , according to the spatial light intensity distribution data:
[0058] ;
[0059] in Indicates the luminous surface, is the light intensity distribution function. This process helps to understand the relationship between the light source output characteristics and the optical path, and obtain the optical path propagation characteristic parameters. According to the light intensity-temperature-current correspondence, the light intensity attenuation characteristics and temperature response of the LED light source under different working conditions are modeled and analyzed. In this process, it is assumed that the light intensity attenuation characteristics are expressed as , then establish an equation to describe its attenuation behavior:
[0060] ;
[0061] in, is a constant that describes the temperature attenuation characteristics. By coupling the optical path propagation characteristic parameters with the light intensity attenuation characteristic parameters, a dynamic correspondence between the light intensity distribution and the driving parameters can be established. The mathematical model of the LED light source obtained is expressed as:
[0062] ;
[0063] This model allows the system to predict the output characteristics of the light source under different working conditions, so that subsequent adjustments and optimizations can be more accurately controlled based on the theoretical model.
[0064] In a specific embodiment, the process of executing step 200 may specifically include the following steps:
[0065] Based on the mathematical model of LED light source, the light spot image is preprocessed by Gaussian filtering and histogram equalization, and the edge detection is performed by adaptive threshold segmentation to obtain the light spot contour data.
[0066] Perform morphological processing and feature calculation on the spot profile data, extract the spot diameter, ellipticity and light intensity uniformity, obtain the geometric feature parameters, and perform mean filtering and gradient analysis on the geometric feature parameters to obtain the light intensity distribution ratio between the center area and the edge area of the spot;
[0067] The spectrum data of the LED light source is normalized and wavelength calibrated, the spectrum kurtosis value and the maximum root mean square value of the autocorrelation function are calculated, and the spectrum characteristic parameter set is obtained. Based on the spectrum characteristic parameter set, energy threshold analysis and temperature compensation are performed on the multi-wavelength coupling signal to obtain the energy distribution ratio of different wavelengths;
[0068] According to the energy distribution ratio, the wavelength components are graded into primary and secondary energies and the signals are reconstructed. The influence of temperature on the spectrum drift is combined to perform compensation calculation to obtain high-energy primary wavelength components and low-energy secondary wavelength components.
[0069] Specifically, based on the mathematical model of LED light source, the spot image is preprocessed by Gaussian filtering and histogram equalization. The purpose of Gaussian filtering is to remove noise in the image, which is achieved by the following formula:
[0070] ;
[0071] in, represents the output of the Gaussian filter, is the standard deviation, which determines the smoothness of the filter. After histogram equalization, the contrast of the image is enhanced, making the characteristics of the light spot more obvious, especially when the brightness distribution of the image is more concentrated. This process is achieved by calculating the cumulative distribution function of the image:
[0072] ;
[0073] in, The gray level in the image is The proportion of pixels in the image. After equalization, the brightness range of the image will be expanded to ensure that each gray level is evenly distributed. Adaptive threshold segmentation is used for edge detection. Based on the characteristics of the local area, the threshold is adaptively selected to improve the accuracy of edge detection. Set a local window size of , calculate the average value of pixels in this window :
[0074]
[0075] On this basis, if the value of a certain pixel is higher than the local threshold, the pixel is considered to be part of the edge. Through these steps, the contour data of the light spot is obtained. Morphological processing and feature calculation are performed on the light spot contour data to extract the geometric features of the light spot. The geometric features include the diameter, ellipticity and light intensity uniformity of the light spot. The diameter of the light spot is obtained by measuring the farthest point of the contour, and the ellipticity is obtained by measuring the farthest point of the contour. Defined as:
[0076] ;
[0077] in is the area of the light spot, is the perimeter of the light spot profile. The light intensity uniformity is expressed by the standard deviation of the light intensity distribution, which is set as:
[0078] ;
[0079] in, is the standard deviation of light intensity, is the mean value of the light intensity. Through calculation, the geometric feature parameters are obtained. In order to improve the stability of the geometric features, the feature parameters are subjected to mean filtering and gradient analysis to reduce the impact of noise on the results. By analyzing the light intensity distribution ratio of the center area and the edge area of the light spot, the distribution characteristics of the light spot are understood. Set the light intensity in the center area to and the edge area light intensity is , then the light intensity distribution ratio is:
[0080] ;
[0081] This ratio helps to identify the focusing characteristics and uniformity of the light spot. The spectral data of the LED light source is normalized and wavelength calibrated. Normalization is achieved by dividing each spectral data point by the maximum value, while the purpose of wavelength calibration is to ensure the accuracy of the spectral data, which is calibrated by referring to the spectral data of the standard light source. During normalization and calibration, the maximum root mean square value of the spectral kurtosis value and the autocorrelation function are calculated to obtain the spectral feature parameter set. Spectral kurtosis Defined as:
[0082] ;
[0083] in, is the mean of the spectrum, is the standard deviation of the spectrum. The maximum RMS value of the autocorrelation function is calculated by the following formula:
[0084] ;
[0085] in, is the total number of samples, is the delay time. Through these indicators, the characteristics of the spectrum are analyzed. Based on the spectrum characteristic parameter set, energy threshold analysis and temperature compensation are performed on the multi-wavelength coupling signal to obtain the energy distribution ratio of different wavelengths. The energy distribution ratio is calculated by the following formula:
[0086] ;
[0087] This ratio reflects the relative strength of signals of different wavelengths. According to the energy distribution ratio, the wavelength components are graded into primary and secondary energies and the signals are reconstructed. In this process, the main wavelength component is set as and the sub-wavelength component is The influence of temperature on spectral drift is combined to perform compensation calculations to obtain the high-energy main wavelength component and the low-energy sub-wavelength component. The corrected formula is expressed as:
[0088] ;
[0089] in, This process ensures that the light source can always maintain the best spectral performance under different working conditions.
[0090] In a specific embodiment, the process of executing step 300 may specifically include the following steps:
[0091] The high-energy main wavelength component is divided into equally spaced time windows, and the Hanning window function is used for weighted processing, and the main wavelength spectrum data is obtained through Fourier transform; the same window division and weighting method is used for the low-energy sub-wavelength component, and the waveform characteristics are extracted through wavelet decomposition to obtain the sub-wavelength spectrum data;
[0092] According to the main wavelength spectrum data and the sub-wavelength spectrum data, the spectrum energy distribution is divided into intervals, and the transfer function model is established by piecewise linear fitting to obtain the piecewise linear coefficients;
[0093] Based on the piecewise linear coefficients, the initial population and iteration parameters of the swarm intelligence algorithm are set, and the spectral purity, energy uniformity and wavelength stability are taken as optimization targets. Multi-objective optimization calculations are performed to obtain the parameter optimization range.
[0094] The spectral decomposition parameters within the parameter optimization range are normalized, and error analysis and threshold screening are performed in combination with spectral quality evaluation indicators to obtain spectral control parameters.
[0095] Specifically, the high-energy main wavelength component is divided into equally spaced time windows. By setting a window size , the division of time windows is expressed as:
[0096] ;
[0097] in, Indicates The starting time of the time window, is the total number of windows. The Hanning window function is used to weight each time window. The expression is:
[0098] ;
[0099] After the signal is weighted by the window function, the weighted signal It is expressed as:
[0100] ;
[0101] in, is the original signal, which is weighted by the Hanning window to better reduce spectrum leakage. Perform Fourier transform on the weighted signal to obtain the main wavelength spectrum data
[0102] ;
[0103] in, is the frequency, is an imaginary unit. Through Fourier transform, the time domain signal is converted to the frequency domain to analyze its spectrum characteristics. Similarly, for the low-energy sub-wavelength component, the same window division and weighting method are used. Wavelet transform is used to extract waveform features. Set a wavelet function , its expression in the frequency domain is:
[0104] ;
[0105] in, is the scale factor, is the translation factor, is the wavelet transform coefficient. By performing wavelet transform on the low-energy sub-wavelength component, the sub-wavelength spectrum data is obtained. , and extract its features. After obtaining the main wavelength spectrum data and sub-wavelength spectral data After that, the spectrum energy distribution is divided into intervals. Assume that the spectrum is divided into intervals, and the energy of each interval is expressed as:
[0106] ;
[0107] in, and They are The starting frequency and ending frequency of each interval are calculated. The transfer function model is established by performing piecewise linear fitting on the energy of these intervals. :
[0108]
[0109] in, and is the piecewise linear coefficient obtained by fitting. Based on the piecewise linear coefficient, the initial population and iteration parameters of the swarm intelligence algorithm are set to perform multi-objective optimization calculations. The optimization objectives are set as spectral purity, energy uniformity, and wavelength stability, which are expressed by the following formulas:
[0110] ;
[0111] ;
[0112] Stability coefficient;
[0113] By solving these objectives, a parameter optimization interval is obtained. The spectral decomposition parameters within the parameter optimization interval are normalized. This is done by dividing by its maximum value:
[0114] ;
[0115] At the same time, error analysis and threshold screening are performed in combination with spectral quality evaluation indicators to ensure that the spectral control parameters can meet the design requirements. The error is set as:
[0116] ;
[0117] Through the above steps, it is ensured that the optimized spectrum control parameters achieve the expected effect, thereby realizing the efficient utilization of high-energy main wavelength components and low-energy sub-wavelength components.
[0118] In a specific embodiment, the process of executing step 400 may specifically include the following steps:
[0119] Based on the spectral control parameters, the dispersion characteristics of light of different wavelengths are modeled and analyzed, the optical path attenuation law is calculated, the optical path attenuation data is obtained, and the spatial distribution characteristics of the optical path attenuation data are analyzed. Combined with the effect of temperature on focal length, the light intensity attenuation distribution diagram is obtained;
[0120] According to the light intensity attenuation distribution diagram, a light intensity variation model within the focal length adjustment range is established, and compensation calculation is performed in combination with the temperature characteristics of the LED to obtain the focal length-light intensity correspondence. The focal length-light intensity correspondence is then coupled with the optical path dispersion characteristics to obtain a light intensity compensation model.
[0121] Based on the light intensity compensation model, the attenuation at different positions in the optical path is compensated in layers, and a temperature-focal length linkage model is established to obtain the layered compensation coefficient. The displacement range of the lens group is accurately divided, and the focal length control sequence is obtained in combination with the dispersion compensation characteristics.
[0122] According to the focal length control sequence and the layered compensation coefficient, the minimum step length and compensation amount of the focal length adjustment are calculated, and data matching and dynamic correction are performed to obtain the optical path compensation coefficient and the focal length adjustment parameter.
[0123] Specifically, the dispersion characteristics of light of different wavelengths are modeled and analyzed based on the spectral control parameters to clarify the influence of the spectral control parameters on the light propagation process. The dispersion characteristics are analyzed by establishing the relationship between spectral data and optical path, and the dispersion equation is used to describe the propagation behavior of light at different wavelengths. The spectral control parameters are set as , through the refractive index To describe the dispersion characteristics of light, the relationship between refractive index and wavelength is usually expressed by the dispersion formula:
[0124] ;
[0125] in, is the base refractive index of the material, and It is a constant related to material properties. According to the change of refractive index, the optical path length at different wavelengths is calculated. , whose expression is:
[0126] ;
[0127] in, is the actual distance the light travels, is the integral variable along the ray path. The calculated optical path Help the system further analyze the optical path attenuation law and set the optical path attenuation data as follows:
[0128] ;
[0129] in, is the optical path without attenuation. The spatial distribution characteristics of the optical path attenuation data are analyzed, assuming that the light source is affected by temperature. The effect of temperature changes will cause the focal length The effect of temperature on focal length is expressed as:
[0130] ;
[0131] in, is the focal length at room temperature, is the thermal expansion coefficient of the material, is the reference temperature. Combining the optical path attenuation and focal length changes, we get the light intensity attenuation distribution diagram , and its computational model is expressed as
[0132] ;
[0133] in, is the initial light intensity of the light source, is the attenuation length related to the optical path attenuation. After obtaining the light intensity attenuation distribution diagram, the light intensity change model within the focal length adjustment range is established. Compensation calculation is performed based on the temperature characteristics, and the light intensity change model is set as:
[0134] ;
[0135] This model adjusts the light intensity by the effect of temperature on focal length. The focal length-light intensity correspondence obtained is It is expressed as:
[0136] ;
[0137] in, is a proportional coefficient that reflects the effect of focal length change on light intensity. The focal length-light intensity correspondence is coupled with the optical path dispersion characteristics for analysis. The coupled light intensity compensation model is expressed as:
[0138] ;
[0139] in, is the light intensity difference that needs to be compensated. This model is used to evaluate the light intensity attenuation at different positions. Based on the light intensity compensation model, the attenuation at different positions in the light path is compensated in layers. Assume that the light path is divided into Levels, compensation amount of light intensity attenuation Set to:
[0140] ;
[0141] in, It is The position of the layer. When establishing the temperature-focal length linkage model, the layer compensation coefficient is obtained
[0142] ;
[0143] By accurately dividing the displacement range of the lens group and combining the dispersion compensation characteristics, the focal length control sequence can be obtained. . The sequence is expressed by the following formula:
[0144] ;
[0145] in, It is The focal length control amount at each position. According to the focal length control sequence and the layered compensation coefficient, the minimum step length of the focal length adjustment is calculated. and compensation
[0146] ;
[0147] ;
[0148] After data matching and dynamic correction, the optical path compensation coefficient is obtained and focal length adjustment parameters ,Right now:
[0149] ;
[0150] .
[0151] In a specific embodiment, the execution step is based on the light intensity compensation model, the attenuation at different positions in the optical path is layered compensated, a temperature-focal length linkage model is established, a layered compensation coefficient is obtained, and the displacement range of the lens group is accurately divided. In combination with the dispersion compensation characteristics, the process of obtaining the focal length control sequence can specifically include the following steps:
[0152] The light path in the light intensity compensation model is divided into equal intervals, the light intensity attenuation value of each position point is calculated, and the spatial attenuation distribution sequence is obtained;
[0153] Based on the spatial attenuation distribution sequence, the temperature data of each location point is collected and processed, a spatial temperature distribution model is established, and temperature gradient data is obtained;
[0154] According to the temperature gradient data, the thermal expansion characteristics of the lens group material are compensated and calculated to obtain the focal length temperature drift coefficient, and the focal length temperature drift coefficient is layered to obtain the multi-layer temperature compensation parameter;
[0155] Based on the multi-layer temperature compensation parameters, the light intensity attenuation value of each layer is corrected by temperature, and a layered light intensity compensation model is established to obtain the layered compensation coefficient.
[0156] The layered compensation coefficient is spatially mapped, the corresponding relationship between the lens group displacement and the compensation coefficient is established, and the displacement compensation curve is obtained;
[0157] According to the displacement compensation curve, the total stroke of the lens group is divided into equal intervals, and the compensation amount of each displacement point is calculated to obtain the displacement control sequence;
[0158] Based on the displacement control sequence, the dispersion characteristics of light of different wavelengths are compensated and calculated, and the dispersion-displacement mapping relationship is established to obtain the dispersion compensation parameters;
[0159] The dispersion compensation parameters are fused with the displacement control sequence, and the compensation amount of each displacement point is corrected and calculated to obtain the focal length control sequence.
[0160] Specifically, set the total length of the optical path , and divide it into Equally spaced points ,in From 1 to , the spacing of each position point is expressed as:
[0161] ;
[0162] Therefore, each location point It is expressed as:
[0163] ;
[0164] At each location point, calculate the light intensity attenuation value , using the light intensity attenuation formula:
[0165] ;
[0166] in, is the initial light intensity of the light source, is the attenuation length related to the optical path attenuation. Thus, a spatial attenuation distribution sequence is obtained:
[0167] ;
[0168] Based on the obtained spatial attenuation distribution sequence, the temperature data of each position point is collected and processed to establish a spatial temperature distribution model. Assume that in the optical path, a temperature sensor is used to measure and obtain the temperature value of each position point. , the temperature distribution model is expressed as:
[0169] ;
[0170] in, is the initial ambient temperature, is the temperature gradient. Through the above model, we get the temperature gradient data , and is defined as:
[0171] ;
[0172] Based on the temperature gradient data, the thermal expansion characteristics of the lens group material are compensated and calculated. The thermal expansion coefficient is set to , the change in focal length is expressed by the following formula:
[0173] ;
[0174] in, is the initial focal length. Focal length temperature drift coefficient Defined as:
[0175] ;
[0176] In order to perform stratification, the focal length temperature drift coefficient stratified and defined as ( ), and obtain the multi-layer temperature compensation parameters , which is expressed as:
[0177] ;
[0178] in It is On this basis, based on the multi-layer temperature compensation parameters , the temperature correction is performed on the light intensity attenuation value of each layer to establish a layered light intensity compensation model. The correction formula for light intensity compensation is:
[0179] ;
[0180] The obtained layer compensation coefficient for:
[0181] ;
[0182] The layered compensation coefficients are spatially mapped to establish the lens group displacement The corresponding relationship with the compensation coefficient is used to obtain the displacement compensation curve , expressed as a function:
[0183] ;
[0184] According to the displacement compensation curve, the total stroke of the lens group Divide the displacement points into equal intervals and calculate the compensation amount for each displacement point
[0185] ;
[0186] in, in is the number of divisions. The resulting shift control sequence is:
[0187] ;
[0188] Based on the displacement control sequence, the dispersion characteristics of light of different wavelengths are compensated and calculated, assuming that the dispersion characteristics are expressed by the dispersion equation as follows:
[0189] ;
[0190] in, is the wavelength The refractive index, is a constant of the material. Through this equation, the dispersion-displacement mapping relationship is established
[0191] ;
[0192] The dispersion compensation parameters obtained It is expressed by the following formula:
[0193] ;
[0194] The dispersion compensation parameters are fused with the displacement control sequence, and the compensation amount of each displacement point is corrected and calculated to obtain the final focus control sequence.
[0195] .
[0196] In a specific embodiment, the process of executing step 500 may specifically include the following steps:
[0197] According to the optical path compensation coefficient and the focal length adjustment parameter, combined with the influence of temperature on the spectrum, the spectral characteristics of the high-energy main wavelength component are analyzed to obtain the main wavelength spectrum characteristic index;
[0198] The correlation analysis of the main wavelength spectrum characteristic index and the low-energy sub-wavelength component is carried out to establish a temperature-spectrum drift compensation model and obtain the wavelength coupling degree data;
[0199] Based on the wavelength coupling data, the spectral purity index, energy uniformity index, edge sharpness index and time stability index are calculated, a comprehensive evaluation system for light spot quality is established, and the light spot quality feature vector is obtained;
[0200] The light spot quality feature vector is input into the evaluation model, and a weighted calculation is performed considering the LED response characteristics to obtain a comprehensive score of the light spot. A dynamic balance interval is established based on the comprehensive score of the light spot, and the balance control interval is determined in combination with the LED working characteristics.
[0201] Based on the balance control interval, the energy distribution of the wavelength component is monitored in real time and dynamically compensated, an energy balance model is established, and the wavelength balance control parameters are obtained.
[0202] Specifically, the influence of temperature on the spectrum is considered. The spectral characteristics of the high-energy main wavelength component are obtained by measuring the spectral data of the main wavelength component. To obtain, among which Indicates wavelength. Defines spectral characteristic indicators, such as the central wavelength of the spectrum and the spectral full width at half maximum , and their calculation formulas are as follows:
[0203] ;
[0204] ;
[0205] in and The wavelengths corresponding to the half-maximum spectral intensity are obtained. Through these characteristic indicators, we can understand the changes of the main wavelength component under different temperature conditions. Correlation analysis was performed to establish a temperature-spectrum drift compensation model. Pearson correlation coefficient was used The relationship between these two wavelength components is evaluated as follows:
[0206] ;
[0207] in, and represent the characteristic indexes of the main wavelength and sub-wavelength components respectively, and and is the mean of each. Based on correlation analysis, the wavelength coupling data is obtained , used to reflect the impact of temperature change on spectral drift. Based on the wavelength coupling data, the spectral purity index is calculated , Energy uniformity index , edge sharpness index and time stability index The spectral purity is calculated using the following formula:
[0208] ;
[0209] Energy uniformity indicates how evenly the light intensity is distributed and is defined as:
[0210] ;
[0211] Edge sharpness is measured using the derivative of the spectrum:
[0212] ;
[0213] Temporal stability is measured by taking multiple measurements of the spectrum over a period of time and is usually defined as the standard deviation
[0214] ;
[0215] Through the above calculations, a comprehensive evaluation system for spot quality is established, and its output is the spot quality feature vector The spot quality feature vector Input into the evaluation model, considering the impact of LED response characteristics on each indicator. Use weighted average method to get the comprehensive score of the spot
[0216] ;
[0217] in is the weight of each indicator, and their sum is 1. According to the comprehensive score of the spot, a dynamic balance interval is established :
[0218] ;
[0219] in, and The score range is obtained through historical data analysis. Combined with the working characteristics of LED, the balance control range is determined , used to monitor and adjust the energy distribution of spectral components in real time. Set up a feedback system to monitor the spectral energy distribution and dynamically compensate. Based on the balance control interval , monitor the energy distribution of wavelength components in real time, and use real-time data to update the energy balance model. Define energy balance control parameters for:
[0220] ;
[0221] On this basis, dynamic compensation is implemented for each wavelength component to maintain the stability of the light source output.
[0222] In a specific embodiment, the process of executing step 600 may specifically include the following steps:
[0223] According to the wavelength balance control parameters, a light intensity closed-loop control model is established, and the parameters are adjusted considering the LED response time characteristics to obtain spectrum feedback data;
[0224] The light spot characteristics of the spectral feedback data are analyzed, and compensation correction is performed in combination with the LED temperature characteristics to obtain the light intensity adjustment parameters. Based on the light intensity adjustment parameters, a segmented PWM control strategy is established, and compensation is performed considering the response delay of the LED to obtain the drive current control value.
[0225] The driving current control quantity and the optical path compensation coefficient are linked and analyzed, and a multi-loop control priority strategy is established to obtain the light intensity compensation control quantity. Based on the light intensity compensation control quantity, the focal length adjustment is optimized in real time, and closed-loop correction is performed in combination with the temperature characteristics to obtain a position feedback signal.
[0226] Based on the position feedback signal, the position of the lens group is precisely controlled, and a temperature-position compensation model is established to obtain the optical path control signal. The optical path control signal and the light intensity compensation control quantity are multi-loop coupled and optimized to establish a steady-state control strategy and obtain the LED light source drive control quantity.
[0227] Specifically, a closed-loop light intensity control model is established based on the wavelength balance control parameters. The design of this model takes into account the response time characteristics of the LED, which is a key factor in ensuring control accuracy and stability. A closed-loop light intensity control model is established. The basic form of the model is expressed as:
[0228] ;
[0229] in is the target light intensity, , and They are proportional, integral and differential gains, respectively, reflecting the real-time response of the control system to the current wavelength balance parameters. By adjusting these gains, the system's response to changes in light intensity is optimized. Analyze the spectral feedback data. Spectral feedback data It is measured in real time by the sensor, which reflects the spectral characteristics of the current LED light source output. The light spot characteristics are analyzed for the spectral feedback data, and compensation correction is performed in combination with the temperature characteristics of the LED to obtain the light intensity adjustment parameters. The calculation of the light intensity adjustment parameter is expressed by the following formula:
[0230] ;
[0231] in It is the correction value of light intensity based on temperature characteristics. The current temperature is measured by the temperature sensor. Perform the calculation:
[0232] ;
[0233] in, is the sensitivity of light intensity to temperature, is the rated temperature. By calculating the light intensity adjustment parameters, a segmented PWM control strategy is established to achieve precise control of the LED drive current. The basic idea of the segmented PWM control strategy is to divide the drive current into multiple stages to cope with different working conditions. In this strategy, the drive current control quantity It is expressed as:
[0234] ;
[0235] in is the PWM duty cycle, which indicates the proportion of time the current is on in each cycle. Taking into account the response delay characteristics of the LED, the PWM signal is adjusted through the compensation model to obtain the final drive current control value :
[0236] ;
[0237] in, It is a compensation value based on the response delay of the LED and is determined through experiments. Perform linkage analysis to establish a multi-loop control priority strategy. The optical path compensation coefficient is calculated using the following formula:
[0238] ;
[0239] in is the current optical path, is the target optical path. Through linkage analysis, the light intensity compensation control value is obtained :
[0240] ;
[0241] According to the light intensity compensation control amount, the focus adjustment is optimized in real time. Focus adjustment parameters It is expressed by the following formula:
[0242] ;
[0243] in is the target focal length, It is the focal length correction value based on temperature, which is usually determined by the relationship between temperature characteristics and optical path change. Through closed-loop correction, the position feedback signal is obtained.
[0244] ;
[0245] in, The feedback gain ensures that the system can quickly respond to focal length changes. Based on the position feedback signal, the position of the lens group is precisely controlled. A temperature-position compensation model is established. , which is used to describe the effect of temperature change on the lens position, and its form is:
[0246] ;
[0247] in is the sensitivity of the lens position to temperature. Light intensity compensation control Perform multi-loop coupling optimization to obtain a steady-state control strategy
[0248] ;
[0249] in, and is the weight coefficient, which reflects the influence of optical path and light intensity on the final control signal. It is expressed as:
[0250] .
[0251] The above describes the light spot control method of the adjustable focus LED light source in the embodiment of the present application. The following describes the light spot control device of the adjustable focus LED light source in the embodiment of the present application. Figure 2 In one embodiment of the present application, a light spot control device for an adjustable focus LED light source includes:
[0252] The acquisition module 11 is used to collect parameters and perform optical modeling on the LED light source to obtain a mathematical model of the LED light source;
[0253] A separation module 12 is used to extract light spot features and separate multi-wavelength coupling signals based on a mathematical model of an LED light source to obtain a high-energy main wavelength component and a low-energy sub-wavelength component;
[0254] The parameter optimization module 13 is used to input the high-energy main wavelength component and the low-energy sub-wavelength component into the short-time numerical calculation model to optimize the spectrum decomposition parameters and obtain the spectrum control parameters;
[0255] A calculation module 14 is used to perform optical path analysis based on the spectrum control parameters and perform attenuation compensation calculation in combination with the focal length adjustment characteristics to obtain an optical path compensation coefficient and a focal length adjustment parameter;
[0256] The adjustment module 15 is used to perform dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculate the light spot quality evaluation index and the light intensity ratio and generate the wavelength balance control parameter;
[0257] The output module 16 is used to input the wavelength balance control parameters into the LED drive control system, and output the LED light source drive control quantity through multi-loop closed-loop control and real-time parameter calculation.
[0258] Through the coordinated cooperation of the above-mentioned components, by establishing a mathematical model of LED light source and integrating light intensity distribution, temperature characteristics and dispersion effect, an accurate description of the characteristics of LED light source is achieved. The spectral decomposition and energy grading methods are used to effectively separate the multi-wavelength coupled signals, solving the problem of reduced light spot quality caused by spectral aliasing. Short-time numerical calculation and swarm intelligence algorithm are introduced to optimize the spectral decomposition parameters and improve the accuracy of spectral control. A multi-layer compensation mechanism is established, combined with the temperature-focal length linkage model, to effectively compensate for the optical path drift caused by temperature changes. A complete light spot quality evaluation system is designed to ensure comprehensive control of light spot quality through comprehensive scoring of multiple indicators. A multi-loop closed-loop control strategy is constructed to achieve coordinated control of light intensity, temperature and position, ensuring the dynamic response performance of the system. The layered compensation and dynamic correction methods are used to improve the accuracy of focal length adjustment and ensure the stability of light spot morphology. The combination of PWM control and temperature compensation strategy ensures the stable operation of LED light source under different working conditions.
[0259] See also Figure 3 , Figure 3 This is a schematic block diagram of the structure of an electronic device 300 provided in an embodiment of the present application. The electronic device 300 includes a processor 301 and a memory 302. The processor 301 and the memory 302 are connected via a device bus 303, wherein the memory 302 may include a non-volatile storage medium and an internal memory.
[0260] The non-volatile storage medium can store a computer program. The computer program includes program instructions, and when the program instructions are executed by the processor 301, the processor 301 can execute any of the above-mentioned light spot control methods of the adjustable-focus LED light source.
[0261] The processor 301 is used to provide computing and control capabilities to support the operation of the entire electronic device 300 .
[0262] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 301, the processor 301 can execute any of the above-mentioned light spot control methods of the adjustable-focus LED light source.
[0263] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a partial structure related to the present application scheme, and does not constitute a limitation on the electronic device 300 involved in the present application scheme. The specific electronic device 300 may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0264] It should be understood that the processor 301 may be a central processing unit (CPU), and the processor 301 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0265] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working process of the electronic device 300 described above can refer to the corresponding process of the aforementioned adjustable-focus LED light source spot control method, which will not be repeated here.
[0266] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by one or more processors, the one or more processors implement the light spot control method of the adjustable-focus LED light source provided in the embodiment of the present application.
[0267] The computer-readable storage medium may be an internal storage unit of the electronic device 300 in the aforementioned embodiment, such as a hard disk or memory of the electronic device 300. The computer-readable storage medium may also be an external storage device of the electronic device 300, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped with the electronic device 300.
[0268] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0269] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0270] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for controlling a light spot of an adjustable focus LED light source, characterized in that: The method comprises: Collect parameters and perform optical modeling on the LED light source to obtain a mathematical model of the LED light source; Based on the mathematical model of the LED light source, light spot feature extraction and multi-wavelength coupling signal separation are performed to obtain a high-energy main wavelength component and a low-energy sub-wavelength component; Inputting the high-energy main wavelength component and the low-energy sub-wavelength component into a short-time numerical calculation model to optimize spectrum decomposition parameters to obtain spectrum control parameters; Performing optical path analysis based on the spectral control parameters, and performing attenuation compensation calculation in combination with the focal length adjustment characteristics, to obtain an optical path compensation coefficient and a focal length adjustment parameter; Perform dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculate the light spot quality evaluation index and the light intensity ratio and generate the wavelength balance control parameter; The wavelength balance control parameters are input into the LED driving control system, and the LED light source driving control quantity is output through multi-loop closed-loop control and real-time parameter calculation.
2. The method for controlling the light spot of a focusable LED light source according to claim 1, characterized in that: The LED light source is subjected to parameter collection and optical modeling to obtain a mathematical model of the LED light source, including: The chip size, packaging structure and optical device of the LED light source are measured for physical parameters, a three-dimensional space model is established, and spatial geometric structure data is obtained. Based on the spatial geometric structure data, the light-emitting surface of the LED light source is divided into N×N units, and the light intensity of each unit is calibrated to obtain initial light intensity distribution data; Performing spectral scanning and temperature gradient measurement on the LED light source at different working currents, establishing a spectrum-temperature mapping model, obtaining a spectrum characteristic data set, and compensating for the spectrum drift of the LED light source in the temperature-current change process according to the spectrum characteristic data set, and obtaining a light intensity-temperature-current correspondence relationship; Based on the initial light intensity distribution data, ray tracing is performed on the light-emitting surface of the LED light source to establish an optical path dispersion model to obtain spatial light intensity distribution data, and based on the spatial light intensity distribution data, the optical path and dispersion characteristics from the light source to the imaging plane are calculated to obtain optical path propagation characteristic parameters; According to the light intensity-temperature-current correspondence, the light intensity attenuation characteristics and temperature responses of the LED light source under different working conditions are modeled and analyzed to obtain the light intensity attenuation characteristic parameters, and the optical path propagation characteristic parameters and the light intensity attenuation characteristic parameters are coupled and calculated to establish a dynamic correspondence between the light intensity distribution and the driving parameters to obtain the mathematical model of the LED light source.
3. The light spot control method of the adjustable focus LED light source according to claim 2, characterized in that: The light spot feature extraction and multi-wavelength coupling signal separation based on the LED light source mathematical model to obtain a high-energy main wavelength component and a low-energy sub-wavelength component include: Based on the LED light source mathematical model, the light spot image is preprocessed by Gaussian filtering and histogram equalization, and edge detection is performed by using adaptive threshold segmentation to obtain light spot contour data; Performing morphological processing and feature calculation on the light spot profile data, extracting the light spot diameter, ellipticity and light intensity uniformity, obtaining geometric feature parameters, and performing mean filtering and gradient analysis on the geometric feature parameters to obtain the light intensity distribution ratio between the center area and the edge area of the light spot; Normalizing and wavelength calibrating the spectrum data of the LED light source, calculating the spectrum kurtosis value and the maximum root mean square value of the autocorrelation function, obtaining a spectrum characteristic parameter set, and performing energy threshold analysis and temperature compensation on the multi-wavelength coupling signal based on the spectrum characteristic parameter set to obtain energy distribution ratios of different wavelengths; According to the energy distribution ratio, the wavelength components are graded into primary and secondary energies and signals are reconstructed, and compensation calculation is performed in combination with the influence of temperature on spectral drift to obtain high-energy primary wavelength components and low-energy secondary wavelength components.
4. The method for controlling the light spot of a focus-adjustable LED light source according to claim 3, characterized in that: The step of inputting the high-energy main wavelength component and the low-energy sub-wavelength component into a short-time numerical calculation model to optimize spectrum decomposition parameters to obtain spectrum control parameters includes: The high-energy main wavelength component is divided into equally spaced time windows, and a Hanning window function is used for weighted processing, and main wavelength spectrum data is obtained through Fourier transform; the same window division and weighting method is used for the low-energy sub-wavelength component, and waveform features are extracted through wavelet decomposition to obtain sub-wavelength spectrum data; According to the main wavelength spectrum data and the sub-wavelength spectrum data, the spectrum energy distribution is divided into intervals, and a transfer function model is established by piecewise linear fitting to obtain piecewise linear coefficients; Based on the piecewise linear coefficients, the initial population and iteration parameters of the swarm intelligence algorithm are set, spectral purity, energy uniformity and wavelength stability are taken as optimization targets, multi-objective optimization calculations are performed, and parameter optimization intervals are obtained; The spectral decomposition parameters within the parameter optimization interval are normalized, and error analysis and threshold screening are performed in combination with spectral quality evaluation indicators to obtain spectral control parameters.
5. The method for controlling the light spot of a focus-adjustable LED light source according to claim 4, characterized in that: The optical path analysis is performed based on the spectral control parameters, and the attenuation compensation calculation is performed in combination with the focal length adjustment characteristics to obtain the optical path compensation coefficient and the focal length adjustment parameter, including: Based on the spectral control parameters, the dispersion characteristics of light of different wavelengths are modeled and analyzed, the optical path attenuation law is calculated, the optical path attenuation data is obtained, and the spatial distribution characteristics of the optical path attenuation data are analyzed, and the light intensity attenuation distribution diagram is obtained by combining the influence of temperature on focal length; According to the light intensity attenuation distribution diagram, a light intensity variation model within the focal length adjustment range is established, and compensation calculation is performed in combination with the temperature characteristics of the LED to obtain a focal length-light intensity correspondence relationship, and the focal length-light intensity correspondence relationship is coupled with the optical path dispersion characteristics for analysis to obtain a light intensity compensation model; Based on the light intensity compensation model, the attenuation at different positions in the optical path is compensated in layers, a temperature-focal length linkage model is established, a layered compensation coefficient is obtained, and the displacement range of the lens group is accurately divided, and the focal length control sequence is obtained in combination with the dispersion compensation characteristics; According to the focal length control sequence and the layered compensation coefficient, the minimum step length and compensation amount of focal length adjustment are calculated, and data matching and dynamic correction are performed to obtain the optical path compensation coefficient and focal length adjustment parameters.
6. The method for controlling the light spot of a focus-adjustable LED light source according to claim 5, characterized in that: Based on the light intensity compensation model, the attenuation at different positions in the optical path is compensated in layers, a temperature-focal length linkage model is established, a layered compensation coefficient is obtained, and the displacement range of the lens group is accurately divided, and the focal length control sequence is obtained in combination with the dispersion compensation characteristics, including: The light path in the light intensity compensation model is divided into equal intervals, and the light intensity attenuation value of each position point is calculated to obtain a spatial attenuation distribution sequence; Based on the spatial attenuation distribution sequence, the temperature data of each position point is collected and processed, a spatial temperature distribution model is established, and temperature gradient data is obtained; According to the temperature gradient data, a compensation calculation is performed on the thermal expansion characteristics of the lens assembly material to obtain a focal length temperature drift coefficient, and the focal length temperature drift coefficient is layered to obtain a multi-layer temperature compensation parameter; Based on the multi-layer temperature compensation parameters, the light intensity attenuation value of each layer is subjected to temperature correction, a layered light intensity compensation model is established, and the layered compensation coefficient is obtained; Performing spatial mapping on the layered compensation coefficient, establishing a corresponding relationship between the lens group displacement and the compensation coefficient, and obtaining a displacement compensation curve; According to the displacement compensation curve, the total stroke of the lens group is divided into equal intervals, and the compensation amount of each displacement point is calculated to obtain a displacement control sequence; Based on the displacement control sequence, the dispersion characteristics of light of different wavelengths are compensated and calculated, a dispersion-displacement mapping relationship is established, and a dispersion compensation parameter is obtained; The dispersion compensation parameter is data-fused with the displacement control sequence, and the compensation amount of each displacement point is corrected and calculated to obtain a focal length control sequence.
7. The light spot control method of the adjustable focus LED light source according to claim 6, characterized in that: The step of performing dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculating the light spot quality evaluation index and the light intensity ratio and generating the wavelength balance control parameter comprises: According to the optical path compensation coefficient and the focal length adjustment parameter, combined with the influence of temperature on the spectrum, the spectrum characteristics of the high-energy main wavelength component are analyzed to obtain the main wavelength spectrum characteristic index; Performing correlation analysis on the main wavelength spectrum characteristic index and the low-energy sub-wavelength component, establishing a temperature-spectrum drift compensation model, and obtaining wavelength coupling degree data; Based on the wavelength coupling data, the spectral purity index, energy uniformity index, edge sharpness index and time stability index are calculated, a comprehensive evaluation system for light spot quality is established, and a light spot quality feature vector is obtained; The light spot quality feature vector is input into the evaluation model, and a weighted calculation is performed considering the LED response characteristics to obtain a comprehensive score of the light spot, and a dynamic balance interval is established according to the comprehensive score of the light spot, and a balance control interval is determined in combination with the LED working characteristics; Based on the balance control interval, the energy distribution of the wavelength component is monitored in real time and dynamically compensated, an energy balance model is established, and wavelength balance control parameters are obtained.
8. The method for controlling the light spot of a focus-adjustable LED light source according to claim 7, characterized in that: The wavelength balance control parameter is input into the LED driving control system, and the LED light source driving control quantity is output through multi-loop closed-loop control and real-time parameter calculation, including: According to the wavelength balance control parameters, a light intensity closed-loop control model is established, and the parameters are adjusted considering the LED response time characteristics to obtain spectrum feedback data; Performing spot characteristic analysis on the spectral feedback data, performing compensation correction in combination with the LED temperature characteristics, obtaining light intensity adjustment parameters, and establishing a segmented PWM control strategy based on the light intensity adjustment parameters, taking into account the response delay of the LED for compensation, and obtaining the driving current control amount; The driving current control amount and the optical path compensation coefficient are linked and analyzed, a multi-loop control priority strategy is established, and a light intensity compensation control amount is obtained. According to the light intensity compensation control amount, the focal length adjustment is optimized in real time, and a closed-loop correction is performed in combination with the temperature characteristics to obtain a position feedback signal; Based on the position feedback signal, the position of the lens group is precisely controlled, a temperature-position compensation model is established, an optical path control signal is obtained, and the optical path control signal and the light intensity compensation control quantity are multi-loop coupled and optimized to establish a steady-state control strategy and obtain the LED light source drive control quantity.
9. A light spot control device for an adjustable focus LED light source, characterized in that: Used to execute the light spot control method of the adjustable-focus LED light source according to any one of claims 1 to 8, the light spot control device of the adjustable-focus LED light source comprises: The acquisition module is used to collect parameters and perform optical modeling on the LED light source to obtain a mathematical model of the LED light source; A separation module, used for performing light spot feature extraction and multi-wavelength coupling signal separation based on the LED light source mathematical model to obtain a high-energy main wavelength component and a low-energy sub-wavelength component; A parameter optimization module, used for inputting the high-energy main wavelength component and the low-energy sub-wavelength component into a short-time numerical calculation model to optimize spectrum decomposition parameters to obtain spectrum control parameters; A calculation module, used to perform optical path analysis based on the spectral control parameters, and perform attenuation compensation calculation in combination with the focal length adjustment characteristics to obtain an optical path compensation coefficient and a focal length adjustment parameter; An adjustment module, used to perform dynamic balance adjustment according to the optical path compensation coefficient and the focal length adjustment parameter, calculate the light spot quality evaluation index and the light intensity ratio and generate a wavelength balance control parameter; The output module is used to input the wavelength balance control parameters into the LED drive control system, and output the LED light source drive control quantity through multi-loop closed-loop control and real-time parameter calculation.
10. An electronic device, characterized in that: The electronic device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory so that the electronic device executes the light spot control method of the adjustable-focus LED light source according to any one of claims 1-8.
Citation Information
Patent Citations
LED light source module with high color rendering index and LED lamp
CN104633499A
Temperature control method, device and equipment for multi-wavelength LED detection light source
CN119292376A