Method, device and equipment for controlling UV detection light source
By obtaining the calibration parameters of the UV detection light source, using a multi-mode excitation optimization algorithm and a higher-order adaptive control algorithm, dynamically adjusting the excitation mode and parameters, solving the problem of inefficient detection efficiency of traditional light source control methods, and achieving more efficient and flexible detection effects.
Patent Information
- Application Number
- CN202510295264.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In practical applications, the existing ultraviolet light source control methods face problems such as fluctuations in output characteristics, inaccurate detection results and low detection efficiency.
By obtaining the calibration parameters of the UV detection light source, a multi-mode excitation optimization algorithm is used to generate a hybrid excitation strategy, and the excitation strategy parameters are optimized and controlled by using a higher-order adaptive control algorithm, and the excitation mode and parameters are dynamically adjusted to improve detection efficiency and adaptability.
Significantly improve detection efficiency and adaptability, ensuring that the light source maintains optimal performance under complex conditions and responds to environmental changes and light source status in real time.
Smart Images

Figure CN119815648A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of the Internet, and in particular to a control method, device and equipment for UV detection light sources. Background Art
[0002] Ultraviolet (UV) detection technology plays an important role in many fields, including material analysis, biomedical testing, and environmental monitoring. Efficient and accurate UV detection depends on a stable and controllable UV light source. However, existing UV light source control methods still face multiple challenges in practical applications. First, the output characteristics of UV light sources (such as wavelength, light intensity, and stability) are affected by many factors, including the aging of the light source itself, changes in ambient temperature, power supply fluctuations, etc. These factors can lead to inaccuracy and reduced reliability of the detection results. Secondly, most traditional light source control methods use a single excitation mode and cannot adaptively adjust the excitation strategy according to specific detection requirements, resulting in low detection efficiency. Summary of the invention
[0003] The present application provides a control method, device and equipment for a UV detection light source, which are used to solve the problem of low detection efficiency of traditional light source control methods in related technologies.
[0004] In a first aspect, the present application provides a method for controlling a UV detection light source, the method comprising: Get the calibration parameters of the UV detection light source; Generate a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters; The excitation strategy parameters of the hybrid excitation strategy are optimized and controlled according to a preset high-order adaptive control algorithm.
[0005] Optionally, in a first implementation of the first aspect of the present application, the calibration parameters include a calibration output wavelength and a calibration output light intensity, and after the step of obtaining the calibration parameters of the UV detection light source, the step further includes: Detecting target parameters of the UV detection light source according to a target instrument; wherein the target parameters include the calibrated output wavelength and the calibrated output light intensity; Generating a wavelength calibration curve according to the characteristic light intensity peak value corresponding to the calibrated output wavelength; Determine the actual output wavelength corresponding to the calibrated output wavelength according to the wavelength calibration curve; The actual output light intensity corresponding to the calibrated output light intensity is determined according to the actual output wavelength and a preset light source parameter comprehensive compensation model.
[0006] Optionally, in a second implementation of the first aspect of the present application, the step of determining the actual output light intensity corresponding to the calibrated output light intensity according to the actual output wavelength and a preset light source parameter comprehensive compensation model includes: The preset light source parameter comprehensive compensation model is expressed by the following formula: , in, is the actual output light intensity, is the calibrated output light intensity, is the temperature coefficient of the ith temperature monitoring point, is the temperature deviation of the ith temperature monitoring point, is the light source aging coefficient, The cumulative usage time of the light source. To calibrate the output wavelength, is the actual output wavelength, is the time-temperature coupling compensation factor.
[0007] Optionally, in a third implementation of the first aspect of the present application, the step of generating a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters includes: The multi-mode excitation optimization algorithm is expressed by the following formula: , in, for The output power at the moment, is the reference power, is the weight coefficient of the ith mode, is the envelope function of the ith mode, is the time center of the ith mode, is the time stretch of the ith mode, is the modulation frequency of the ith mode, is the phase of the ith mode, is the sample response function.
[0008] Optionally, in a fourth implementation of the first aspect of the present application, the step of optimizing and controlling the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm includes: Acquire an error signal generated according to an error between the output power and a target output power; adjusting control parameters of the PID controller according to the error signal; The excitation strategy parameters are modified according to the control parameters; wherein the excitation strategy parameters include the time stretch, the modulation frequency and the weight coefficient.
[0009] Optionally, in a fifth implementation of the first aspect of the present application, the method further includes: Obtaining operating data of the UV detection light source; Inputting the operating data into a preset life prediction model to determine the remaining life of the UV detection light source; The output power of the UV detection light source is adjusted according to the remaining life.
[0010] Optionally, in a sixth implementation of the first aspect of the present application, the method further includes: Obtaining environmental parameters of the environment in which the UV detection light source is located; Determine the comprehensive compensation amount corresponding to the environmental parameter according to a preset multi-dimensional environmental compensation algorithm; The output parameters of the UV detection light source are controlled according to the comprehensive compensation amount.
[0011] A second aspect of the present application provides a control device for a UV detection light source, the control device for a UV detection light source comprising: An acquisition module is used to obtain calibration parameters of the UV detection light source; A generation module, used to generate a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters; A control module is used to optimize and control the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm.
[0012] A third aspect of an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute a computer program stored in the memory, and when the processor executes the computer program, it implements each step of the control method of the UV detection light source provided in the first aspect of the embodiment of the present application.
[0013] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the method for controlling a UV detection light source provided in the first aspect of the embodiment of the present application is implemented.
[0014] In summary, according to the control method, device and equipment of the UV detection light source provided by the scheme of the present application, the calibration parameters of the UV detection light source are obtained; a hybrid excitation strategy is generated by a multi-mode excitation optimization algorithm according to the calibration parameters; and the excitation strategy parameters of the hybrid excitation strategy are optimized and controlled according to a preset high-order adaptive control algorithm. Through the implementation of the scheme of the present application, a hybrid excitation strategy is generated by a multi-mode excitation optimization algorithm based on the calibration parameters. The hybrid excitation strategy can dynamically adjust the excitation mode and parameters according to different detection requirements, significantly improving the detection efficiency and adaptability. A high-order adaptive control algorithm is used to optimize and control the excitation parameters of the hybrid excitation strategy. The algorithm can respond to environmental changes and light source status in real time, automatically adjust control parameters, and ensure that the light source can maintain optimal performance under various complex conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a process for controlling a UV detection light source provided in an embodiment of the present application; Figure 2 A schematic diagram of a program module of a control device for a UV detection light source provided in an embodiment of the present application; Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0017] In order to solve the problem of low detection efficiency of the traditional light source control method in the related art, the embodiment of the present application provides a control method for a UV detection light source, such as Figure 1 The following is a flow chart of a method for controlling a UV detection light source provided in this embodiment. The method for controlling a UV detection light source includes the following steps: Step 110: Obtain calibration parameters of the UV detection light source.
[0018] Specifically, in this embodiment, in the process of obtaining the calibration parameters of the UV detection light source, it is necessary to ensure that the ultraviolet light source equipment is in normal working condition, prepare the measuring instruments required for calibration, such as ultraviolet radiometer, spectrometer, etc., and during the calibration process, it is necessary to control the environmental conditions in the laboratory (such as temperature, humidity, no direct sunlight, etc.) to reduce the influence of external factors on the measurement results. In the process of measuring the calibration parameters, a high-precision monochromator can be used to perform wavelength scanning to determine the calibration output wavelength, and a standard photodetector can be used to measure the calibration output light intensity of the light source.
[0019] In an optional implementation of the present embodiment, after the step of obtaining the calibration parameters of the UV detection light source, it also includes: detecting the target parameters of the UV detection light source according to the target instrument; generating a wavelength correction curve according to the characteristic light intensity peak value corresponding to the calibrated output wavelength; determining the actual output wavelength corresponding to the calibrated output wavelength according to the wavelength correction curve; determining the actual output light intensity corresponding to the calibrated output light intensity according to the actual output wavelength and a preset light source parameter comprehensive compensation model.
[0020] Specifically, in this embodiment, the target instrument includes but is not limited to a high-precision monochromator, a standard photodetector, etc. It should be noted that the purpose of wavelength calibration is to ensure that the light source works within the set wavelength range and to ensure the accuracy of the wavelength. The light emitted by a wavelength standard light source (such as a mercury lamp or a deuterium lamp) passes through the monochromator, and the wavelength range (such as 250nm-400nm) is scanned step by step through the monochromator. The spectrometer records the spectral data under different driving currents, records the characteristic light intensity peak at the corresponding wavelength, and forms a wavelength calibration curve to determine the deviation between the actual output wavelength of the monochromator and the standard wavelength (for example, after calibration, it is known that the monochromator displays 363.5nm, which is actually 365nm). After that, the output light of the UV detection light source is introduced into the monochromator, and the monochromator scans the output range of the light source, records the spectrum curve, determines the light intensity peak position, and calculates the actual wavelength according to the light intensity peak position and the calibrated wavelength calibration curve. For the calibration of the output light intensity of the UV detection light source, the detector can be used to measure the light intensity of the light source output at different driving currents, record the corresponding relationship between the driving current and the light intensity, establish a light intensity mapping relationship, and measure the light intensity multiple times at different positions to ensure the stability and accuracy of the measurement results. The average value of the multi-point sampling data is used as the calibration result. For the actual output light intensity of the UV detection light source, it is necessary to adopt and preset the comprehensive compensation model of the light source parameters, and input the actual output wavelength and the calibration output light intensity into the model to obtain it.
[0021] Optionally, the preset light source parameter comprehensive compensation model is calculated by the following formula: , in, is the actual output light intensity, To calibrate the output light intensity, is the temperature coefficient of the ith temperature monitoring point, is the temperature deviation of the ith temperature monitoring point, is the light source aging coefficient, The cumulative usage time of the light source. To calibrate the output wavelength, is the actual output wavelength, is the time-temperature coupling compensation factor, and n is the number of monitoring points.
[0022] It can be understood that in the process of formula calculation, for each temperature monitoring point, the temperature influence factor is calculated. , multiply all temperature influence factors to get the total temperature influence and calculate the aging influence factor , which describes the aging effect of the light source over time and calculates the wavelength correction factor , expressed as the effect of the deviation between the actual wavelength and the nominal wavelength on the output intensity. It is understandable that the emission intensity of the ultraviolet light source at different wavelengths is usually uneven, and the spectral distribution of the light source in the ultraviolet band may have significant peaks and valleys, which need to be corrected by nonlinear correction factors to accurately measure the light intensity. The transmittance and reflectivity of the optical elements in the monochromator (such as gratings, filters, mirrors) in the ultraviolet band may also be nonlinear. The absorption and attenuation characteristics of the material in the ultraviolet band may significantly affect the measurement results, which need to be adjusted by nonlinear correction factors. Calculate the time-temperature coupling compensation factor , is the coupling effect of time and temperature on the light source output. Finally, all the influencing factors are multiplied and multiplied by the calibrated output light intensity. , get the actual output light intensity .
[0023] Step 120: Generate a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters.
[0024] Specifically, in this embodiment, in the initial stage of ultraviolet detection, it is necessary to generate multiple excitation modes (such as continuous mode, pulse mode, scanning mode, and combination mode) according to the characteristics of the detection object. The continuous mode maintains a constant wavelength and light intensity output; the pulse mode can realize intermittent excitation with adjustable frequency, and supports multiple waveforms such as square wave and triangle wave; the scanning mode can perform continuous or step-by-step scanning within a preset wavelength range. The system adopts an adaptive algorithm to automatically optimize the excitation parameters according to the characteristics of the detection object. For example, for samples that are easy to photolyze, the system will automatically reduce the light intensity and use intermittent excitation; for weak signal detection, the phase-locked amplification technology is used to improve the signal-to-noise ratio through pulse excitation of a specific frequency. At the same time, the system also establishes a sample spectral response database to store the optimal excitation parameters of different types of samples to achieve rapid call and parameter matching. When there is an error between the output parameters of the light source and the calibration parameters, it is necessary to optimize the excitation parameters of the hybrid excitation strategy through a multi-mode excitation optimization algorithm to ensure the stability and accuracy of the excitation mode.
[0025] In an optional implementation of this embodiment, the step of generating a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to calibration parameters includes: The multi-mode excitation optimization algorithm is expressed by the following formula: , in, for The output power at the moment, is the reference power, is the weight coefficient of the ith mode, is the envelope function of the ith mode, is the time center of the ith mode, is the time stretch of the ith mode, is the modulation frequency of the ith mode, is the phase of the ith mode, is the sample response function, In this embodiment, the reference power, the actual output light intensity of the light source after compensation, the parameters of each mode and the sample response function are input into the algorithm, and the final output power is calculated through the superposition of each mode and the sample response modulation, and the excitation parameters of the hybrid excitation strategy are optimized through the output power.
[0026] It is understandable that the physical properties of the excitation modes are independent of each other, that is, they do not interfere with each other in the time domain, frequency domain or wavelength domain through specific modulation methods. At the same time, these modes can work together to optimize the excitation effect. The calculation logic of the multi-mode excitation optimization algorithm is based on: sub-mode calculation, superposition optimization and real-time feedback adjustment. Multiple modes are superimposed because they are independent in dimensions such as time and frequency, and the core of the optimization algorithm is to dynamically adjust the contribution of each mode so that the excitation power can meet the needs of signal enhancement and avoid light damage, so as to achieve the purpose of efficient excitation.
[0027] It should be noted that the sample response function is an important parameter that describes the response characteristics of the sample to the excitation light source. The models of the sample response function include but are not limited to the single exponential model (used to describe simple single attenuation characteristics), the multi-exponential model (used to describe the composite characteristics of multiple attenuation channels) and the Gaussian function model (used to describe pulse-type responses). If the sample is a fluorescent substance, a single exponential or multi-exponential attenuation model may be used. If the sample is a nonlinear optical material, the response may be nonlinearly related to the frequency or excitation intensity. If the sample is a complex multi-component system, it may be necessary to combine experiments and simulations for fitting. By reasonably selecting the sample response function, the dynamic characteristics of the sample can be accurately described, thereby providing a key basis for optimizing the excitation algorithm.
[0028] Step 130 : optimizing and controlling the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm.
[0029] Specifically, in this embodiment, a multi-parameter real-time monitoring and feedback control system is established during the operation of the light source. The system collects the output light intensity signal in real time through a high-speed photoelectric detector, and the sampling frequency can reach 10kHz, ensuring that it can capture rapidly changing light intensity fluctuations. At the same time, the integrated spectrum analysis module monitors the stability of the output spectrum in real time, and the wavelength accuracy reaches ±0.1nm. The temperature monitoring module uses a high-precision thermocouple array to monitor temperature changes at multiple key locations at the same time, with a sampling accuracy of 0.1°C. The system inputs the collected multi-dimensional data into the designed Kalman filter algorithm to achieve signal noise reduction and state estimation. Based on the processed data, the control system adjusts the drive current in real time through a PID controller, which can compensate for the changes in light intensity caused by temperature changes and ensure output stability. All monitoring data are recorded in the database, and the control output obtained by the preset high-order adaptive control algorithm is used to perform real-time feedback control on the hybrid excitation strategy. The main task of the high-order adaptive control algorithm is to accurately adjust the output power of the light source according to the real-time feedback information to meet the specific control objectives. The adjustment of the output power directly affects the effect of the ultraviolet light source in the detection process, including the stability of the light intensity, the accuracy of the wavelength, etc. The output power is the adjustment object of the control system, and closed-loop control is achieved through the feedback loop. The controller (PID controller or high-order adaptive controller) is dynamically adjusted according to the error signal between the actual output power and the expected power to ensure that the light source output accurately meets the set excitation strategy.
[0030] In an optional implementation of the present embodiment, the step of optimizing the control of the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm includes: obtaining an error signal generated according to the error between the output power and the target output power; adjusting the control parameters of the PID controller according to the error signal; and correcting the excitation strategy parameters according to the control parameters.
[0031] Specifically, in this embodiment, the actual output power of the UV detection light source is monitored in real time and compared with the target output power to calculate the error signal, wherein the actual output power can be obtained by collecting the intensity signal of the UV detection light source through a high-speed photoelectric detector, and the target output power is determined by the preset excitation strategy parameters (such as power, frequency and mode). The error signal is the core input of the control system and represents the deviation between the current excitation strategy and the target state. Through the obtained error signal, the PID controller calculates and adjusts the output in real time to correct the control parameters in the excitation strategy, wherein the output formula of the PID controller is: , In order to improve the dynamic response and adaptability of the system, the three parameters of the PID controller (proportional gain , integral gain , differential gain ,and , It represents the corresponding parameter that is dynamically adjusted over time), and is adjusted in real time according to the characteristics of the error signal. The dynamic adjustment formula is: , in, To control the output, is the error signal, It is the basic gain value of the PID controller, ensuring sufficient control capability under small error conditions. is the gain adjustment, which is used to amplify or reduce the PID response to the error. is the error threshold, which determines the sensitivity of gain adjustment; smaller It can enhance the response to small errors. is the time constant, is a time decay term, which can avoid frequent oscillation of the system and ensure that the control output gradually converges. It can be understood that in the dynamic adjustment process, when the error is large, Increase, enhance the ability to respond quickly to current errors; Increase, improve the ability to correct the accumulated error; Increase, suppress the drastic degree of error change. When the error is small, , , The PID parameter dynamic adjustment mechanism ensures that the system has both fast response capability and stable convergence when the error approaches the target value, thus preventing "overshoot".
[0032] Through the output of the PID controller, the system dynamically modifies the excitation strategy parameters to optimize the shape and power distribution of the excitation signal, including the adjustment of the following key parameters: Time stretching It determines the pulse width of the excitation signal or the range of wavelength scanning. The adjustment formula is: , in, It is the adjustment coefficient of time broadening, which is used to control the sensitivity of broadening. When the feedback shows that the signal strength is insufficient or the response is slow, will increase appropriately and extend the duration of the excitation pulse; otherwise, Dynamically adjusting the time stretching ensures that the excitation signal can adapt to the spectral response characteristics of different samples while avoiding excessively wide pulses that waste power or reduce resolution.
[0033] Modulation frequency It directly affects the modulation speed and excitation efficiency of the excitation signal, and its adjustment formula is: , in, is the frequency adjustment coefficient, which is used to control the modulation frequency’s sensitive response to the error change rate. When the error signal changes rapidly, increase It can speed up the system's response to dynamic errors; conversely, it can reduce It can alleviate the excitation instability caused by too fast modulation.
[0034] Weight coefficient Determines the proportion of different excitation modes in the mixed strategy, and the adjustment formula is: , in, is the weight adjustment coefficient, which is used to control the weight's response sensitivity to the feedback signal. The weight adjustment mechanism ensures that the excitation strategy always matches the sample response characteristics with the optimal mode combination, thereby improving the intensity and signal-to-noise ratio of the detection signal.
[0035] Optionally, the output formula of the PID controller is a linear processing of the error signal, including proportional terms, integral terms and differential terms, which are directly related to the error value and its rate of change. For complex nonlinear dynamic systems, the control performance may be insufficient, the PID controller cannot adapt to the dynamically changing environment, and is prone to failure in multi-variable, multi-input and output systems. Fixed gain values may cause over-regulation or under-regulation. Therefore, considering the above problems, in this embodiment, the output formula of the PID controller is advanced, and the output formula of the high-order adaptive control can be expressed as: , in, is the nonlinear term coefficient, is the number of nonlinear terms. Nonlinear terms are introduced based on the output formula of the PID controller. , so that the high-order adaptive control algorithm can perform complex nonlinear correction of errors. The high-order adaptive algorithm improves the control accuracy by introducing more adjustment dimensions (for example, based on historical data or prediction models). It can automatically adjust parameters according to system response or external environmental changes, thereby enhancing adaptability and robustness.
[0036] In an optional implementation of the present embodiment, the method further includes: acquiring operating data of the UV detection light source; inputting the operating data into a preset life prediction model to determine the remaining life of the UV detection light source; and adjusting the output power of the UV detection light source according to the remaining life.
[0037] Specifically, in order to ensure the stable operation and efficient management of UV detection light sources, a comprehensive state parameter acquisition system needs to be established first. The system includes several key components: the cumulative working time counter is used to record the total working time of the light source since installation; the real-time power monitoring system collects the output power of the light source in real time; the switch count counter records the number of switches of the light source; the temperature change recorder monitors the changes in the ambient temperature of the light source; the spectrum drift detector monitors the stability of the output spectrum of the light source in real time. These data sources are synchronously collected through a high-speed data acquisition card to ensure the real-time and accuracy of the data. The operating data is input into the preset composite life prediction model. The model is based on a deep learning algorithm and can comprehensively analyze a variety of influencing factors, including temperature, power, and frequency of use. The model calculates the real-time reliability evaluation value of the light source through multi-factor coupling analysis. The life prediction module predicts the remaining life of the light source based on the evaluation value output by the model. According to the remaining life determined by the life prediction model, the system automatically adjusts the output power of the light source. Specifically, when the remaining life of the light source is longer, the system will maintain the current output power; when the remaining life is shorter, the system will gradually reduce the output power to slow down the attenuation rate of the light source and extend its service life. The adjustment strategy is based on the power attenuation index and environmental impact coefficient in the composite life prediction model to ensure that the adjusted power can both meet the detection requirements and extend the life of the light source.
[0038] It should be noted that the life prediction model is expressed by the following formula: , , in, is the predicted remaining life at time t, indicating the remaining usage time of the light source after time t. is the initial design life, i.e. the expected life of the light source under ideal conditions, The time-varying rate of the i-th attenuation factor represents the change in the attenuation rate at time τ. is the number of attenuation factors, is the jth periodic impact factor, indicating the amplitude of periodic fluctuations, is the frequency of the jth periodic influencing factor, indicating the frequency of fluctuation, is the phase of the jth periodic influencing factor. This part is the periodic influencing term, which represents the product of all periodic influencing factors. is the number of periodic impact factors, is the environmental factor compensation factor, indicating the temperature ,power and frequency of use The combined effect on life expectancy, , , For temperature ,power and frequency of use The nominal value of is the characteristic temperature, is the power attenuation index, It is the frequency influence coefficient. It can be understood that the life prediction model consists of three parts. The first part describes the basic attenuation law of the light source through an exponential function (such as the gradual decrease in light intensity); the second part uses periodic fluctuation terms to reflect the periodic impact of day and night temperature differences or periodic startup on life; the third part introduces environmental influence factors (including temperature, power, frequency, etc.) to correct the life. The environmental factor correction module dynamically adjusts the evaluation results of the light source life through real-time monitoring of parameters such as temperature, power and frequency. For example, a high temperature environment may accelerate the aging of the light source, while a low-power working state may extend the life of the light source.
[0039] In an optional implementation of the present embodiment, the method further includes: obtaining environmental parameters of the environment in which the UV detection light source is located; determining a comprehensive compensation amount corresponding to the environmental parameters according to a preset multi-dimensional environmental compensation algorithm; and controlling the output parameters of the UV detection light source according to the comprehensive compensation amount.
[0040] Specifically, in this embodiment, in order to realize the environmental adaptability compensation control of the UV detection light source, multiple high-precision sensors are arranged around the light source for real-time monitoring of environmental parameters such as temperature, humidity, air pressure, vibration and electromagnetic interference. The collected environmental data needs to be processed in real time and digitized by a high-precision ADC conversion system to ensure the accuracy and consistency of the data. Then, the real-time data filtering processing technology is used to remove noise and outliers to ensure the reliability of the data. The processed data will be used as the basic input for compensation control. Based on the real-time processed environmental data, a hierarchical compensation control system is adopted, which is divided into a fast response layer and a slow response layer. The fast response layer mainly handles transient environmental changes, such as sudden temperature fluctuations, and realizes instant compensation by quickly adjusting the driving parameters (such as current, voltage, etc.) of the light source; the slow response layer handles long-term trend changes, such as seasonal temperature changes, and realizes continuous compensation by adjusting the working mode of the light source or the cooling system parameters. In addition, the system also designs a multi-dimensional environmental compensation algorithm, which dynamically adjusts the compensation parameters according to real-time monitoring data and historical data to realize adaptive control of environmental changes.
[0041] It should be noted that the multi-dimensional environment compensation algorithm is expressed by the following formula: , in, is a dynamic weight coefficient, which is used to adjust the influence weight of each environmental parameter on life compensation at the current moment. Time correlation coefficient, used to describe the effect of time on environmental parameter compensation, is the number of environmental parameters, is the value of the i-th environmental parameter at time t, such as temperature, humidity, etc. is an adaptive weight function used to quantify environmental parameters The degree of deviation from the reference value, is the number of coupling factors, It is the environmental factor coupling function, which describes the interaction between multiple environmental parameters.
[0042] It can be understood that in the calculation process of the multi-dimensional environmental compensation algorithm, the environmental parameters need to be input first. For each environmental parameter, its deviation from the reference value is calculated and weighted in the form of an index. According to the real-time monitoring data and historical data, the weight coefficient of each environmental parameter is dynamically adjusted to convert the current value of each environmental parameter into an index. The corresponding dynamic weight coefficient and adaptive weight function Multiply them to get the compensation of a single environmental parameter. For the interaction between multiple environmental parameters, the coupling function The product of represents their joint effect. Through time integration, the cumulative impact of the dynamic coupling effect of environmental factors over time is calculated. The compensation amount of a single environmental parameter and the cumulative impact of the dynamic coupling effect of environmental factors are added to obtain the total compensation amount. Through the multi-dimensional environmental compensation algorithm, the system can comprehensively consider multiple environmental factors and their dynamic changes to compensate the light source output in real time. This algorithm can not only handle the impact of a single environmental parameter, but also capture the coupling effect between multiple environmental parameters, provide accurate compensation, and ensure the stability and reliability of the light source under complex environmental conditions.
[0043] According to a control method for a UV detection light source provided by the scheme of the present application, the calibration parameters of the UV detection light source are obtained; a hybrid excitation strategy is generated by using a multi-mode excitation optimization algorithm according to the calibration parameters; and the excitation strategy parameters of the hybrid excitation strategy are optimized and controlled according to a preset high-order adaptive control algorithm. Through the implementation of the scheme of the present application, a hybrid excitation strategy is generated by using a multi-mode excitation optimization algorithm based on the calibration parameters. The hybrid excitation strategy can dynamically adjust the excitation mode and parameters according to different detection requirements, significantly improving the detection efficiency and adaptability. A high-order adaptive control algorithm is used to optimize and control the excitation parameters of the hybrid excitation strategy. The algorithm can respond to environmental changes and light source status in real time, automatically adjust control parameters, and ensure that the light source can maintain optimal performance under various complex conditions.
[0044] Figure 2A control device for a UV detection light source provided in an embodiment of the present application can be used to implement the control method for a UV detection light source in the aforementioned embodiment. Figure 2 As shown, the control device of the UV detection light source mainly includes: An acquisition module 10 is used to acquire calibration parameters of a UV detection light source; A generating module 20, for generating a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters; The control module 30 is used to optimize and control the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm.
[0045] In an optional implementation of the present embodiment, the control device of the UV detection light source further includes: a detection module and a determination module. The detection module is used to detect the target parameters of the UV detection light source according to the target instrument; wherein the target parameters include the calibrated output wavelength and the calibrated output light intensity. The generation module is also used to generate a wavelength correction curve according to the characteristic light intensity peak corresponding to the calibrated output wavelength. The determination module is used to determine the actual output wavelength corresponding to the calibrated output wavelength according to the wavelength correction curve; and determine the actual output light intensity corresponding to the calibrated output light intensity according to the actual output wavelength and a preset light source parameter comprehensive compensation model.
[0046] In an optional implementation of the present embodiment, the control module is specifically used to: obtain an error signal generated according to the error between the output power and the target output power; adjust the control parameters of the PID controller according to the error signal; and correct the excitation strategy parameters according to the control parameters; wherein the excitation strategy parameters include the time broadening, the modulation frequency, and the weight coefficient.
[0047] In an optional implementation of this embodiment, the control device of the UV detection light source further includes: an adjustment module. The acquisition module is also used to: acquire the operating data of the UV detection light source. The determination module is also used to: input the operating data into a preset life prediction model to determine the remaining life of the UV detection light source. The adjustment module is used to: adjust the output power of the UV detection light source according to the remaining life.
[0048] In an optional implementation of this embodiment, the acquisition module is further used to: acquire environmental parameters of the environment in which the UV detection light source is located. The determination module is further used to: determine the comprehensive compensation amount corresponding to the environmental parameters according to a preset multi-dimensional environmental compensation algorithm. The control module is further used to: control the output parameters of the UV detection light source according to the comprehensive compensation amount.
[0049] According to a control device for a UV detection light source provided by the scheme of the present application, the calibration parameters of the UV detection light source are obtained; a hybrid excitation strategy is generated by using a multi-mode excitation optimization algorithm according to the calibration parameters; and the excitation strategy parameters of the hybrid excitation strategy are optimized and controlled according to a preset high-order adaptive control algorithm. Through the implementation of the scheme of the present application, a hybrid excitation strategy is generated by using a multi-mode excitation optimization algorithm based on the calibration parameters. The hybrid excitation strategy can dynamically adjust the excitation mode and parameters according to different detection requirements, significantly improving the detection efficiency and adaptability. A high-order adaptive control algorithm is used to optimize and control the excitation parameters of the hybrid excitation strategy. The algorithm can respond to environmental changes and light source status in real time, automatically adjust control parameters, and ensure that the light source can maintain optimal performance under various complex conditions.
[0050] According to the application plan provided Figure 3 An electronic device provided in an embodiment of the present application. The electronic device can be used to implement the control method of the UV detection light source in the above embodiment, mainly including: The memory 301, the processor 302 and the computer program 303 stored in the memory 301 and executable on the processor 302, the memory 301 and the processor 302 are connected by communication. When the processor 302 executes the computer program 303, the control method of the UV detection light source in the above-mentioned embodiment is implemented. The number of processors can be one or more.
[0051] The memory 301 may be a high-speed random access memory (RAM) memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 301 is used to store executable program codes, and the processor 302 is coupled to the memory 301 .
[0052] Furthermore, the present application also provides a computer-readable storage medium, which may be provided in the electronic device in the above embodiments. Figure 3 Memory in the illustrated embodiment.
[0053] The computer readable storage medium stores a computer program, and when the program is executed by the processor, the control method of the UV detection light source in the aforementioned embodiment is implemented. Furthermore, the computer storable medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.
[0054] 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.
[0055] 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 a computer device (which can be a personal computer, server, or network device, etc.) to execute 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.
[0056] 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 UV detection light source, characterized in that: include: Get the calibration parameters of the UV detection light source; Generate a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters; The excitation strategy parameters of the hybrid excitation strategy are optimized and controlled according to a preset high-order adaptive control algorithm.
2. The control method of the UV detection light source according to claim 1, characterized in that: The calibration parameters include the calibration output wavelength and the calibration output light intensity. After the step of obtaining the calibration parameters of the UV detection light source, the method further includes: Detecting target parameters of the UV detection light source according to a target instrument; wherein the target parameters include the calibrated output wavelength and the calibrated output light intensity; Generating a wavelength calibration curve according to the characteristic light intensity peak value corresponding to the calibrated output wavelength; Determine the actual output wavelength corresponding to the calibrated output wavelength according to the wavelength calibration curve; The actual output light intensity corresponding to the calibrated output light intensity is determined according to the actual output wavelength and a preset light source parameter comprehensive compensation model.
3. The control method of the UV detection light source according to claim 2, characterized in that: The step of determining the actual output light intensity corresponding to the calibrated output light intensity according to the actual output wavelength and the preset light source parameter comprehensive compensation model comprises: The preset light source parameter comprehensive compensation model is expressed by the following formula: , in, is the actual output light intensity, is the calibrated output light intensity, is the temperature coefficient of the ith temperature monitoring point, is the temperature deviation of the ith temperature monitoring point, is the light source aging coefficient, The cumulative usage time of the light source. To calibrate the output wavelength, is the actual output wavelength, is the time-temperature coupling compensation factor.
4. The control method of the UV detection light source according to claim 3, characterized in that: The step of generating a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters comprises: The multi-mode excitation optimization algorithm is expressed by the following formula: , in, for The output power at the moment, is the reference power, is the weight coefficient of the i-th mode, is the envelope function of the ith mode, is the time center of the ith mode, is the time stretch of the ith mode, is the modulation frequency of the ith mode, is the phase of the ith mode, is the sample response function.
5. The control method of the UV detection light source according to claim 4, characterized in that: The step of optimizing and controlling the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm comprises: Acquire an error signal generated according to an error between the output power and a target output power; adjusting control parameters of the PID controller according to the error signal; The excitation strategy parameters are modified according to the control parameters; wherein the excitation strategy parameters include the time stretch, the modulation frequency and the weight coefficient.
6. The control method of the UV detection light source according to claim 1, characterized in that: The method further comprises: Obtaining operating data of the UV detection light source; Inputting the operating data into a preset life prediction model to determine the remaining life of the UV detection light source; The output power of the UV detection light source is adjusted according to the remaining life.
7. The control method of the UV detection light source according to claim 1, characterized in that: The method further comprises: Obtaining environmental parameters of the environment in which the UV detection light source is located; Determine the comprehensive compensation amount corresponding to the environmental parameter according to a preset multi-dimensional environmental compensation algorithm; The output parameters of the UV detection light source are controlled according to the comprehensive compensation amount.
8. A control device for a UV detection light source, characterized in that: The control device of the UV detection light source comprises: An acquisition module is used to obtain calibration parameters of the UV detection light source; A generation module, used to generate a hybrid excitation strategy using a multi-mode excitation optimization algorithm according to the calibration parameters; A control module is used to optimize and control the excitation strategy parameters of the hybrid excitation strategy according to a preset high-order adaptive control algorithm.
9. An electronic device, characterized in that: The device comprises a memory and a processor, wherein: The processor is used to execute the computer program stored in the memory; When the processor executes the computer program, the steps in the method for controlling the UV detection light source according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method for controlling a UV detection light source according to any one of claims 1 to 7 are implemented.