High-stability control method, device and equipment for UV light source and storage medium
By preprocessing and dynamically adjusting the light intensity data of the UV light source, the problems of reaction lag and inaccurate adjustment in the prior art are solved, and the high stability and rapid response capabilities of the UV light source under various environmental conditions are achieved, and its effect and reliability in high-precision applications are improved.
Patent Information
- Application Number
- CN202510212544.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When existing UV light source control technology faces large fluctuations in light intensity or changes in the use environment, there are problems such as lag in reaction and inaccurate adjustment, resulting in deviations from expectations from the actual output light intensity of the UV light source, affecting its effect in high-precision applications.
By obtaining the light intensity data of the UV light source for preprocessing, calculating the light intensity average value and fluctuation value, dynamically adjusting the input current based on these data, generating fluctuation compensation values, and optimizing them through current adjustment parameters and power adjustment parameters. Finally, the optimized parameters are input into the control model to achieve comprehensive control of the light source.
It realizes high stability of UV light source output under various environmental conditions, quickly responds to environmental changes, reduces the impact of light intensity fluctuations on application effects, and improves the effect and reliability of UV light sources in high-precision applications.
Smart Images

Figure CN119729966A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of light source control, and in particular to a high-stability control method, device, equipment and storage medium for a UV light source. Background Art
[0002] With the rapid development of science and technology, UV (ultraviolet) light source technology has been widely used in many fields such as industry, medical treatment and environmental protection. UV light source has many advantages such as efficient sterilization, curing and photochemical reaction, so it plays an important role in water treatment, air purification, printing and material processing industries.
[0003] In the prior art, the control of UV light sources is usually achieved through a constant current source. This method achieves the purpose of stabilizing the output light intensity by stably controlling the input current of the UV light source. At the same time, a sensor is used to monitor the change of light intensity in real time, and the input current is adjusted through a feedback control circuit to improve the output stability of the light source. This method can keep the output light intensity of the UV light source relatively stable to a certain extent, meeting some basic application requirements.
[0004] For the above technical solution, although the light intensity of the UV light source can be stabilized through the constant current source and feedback control circuit, there are problems such as delayed response and inaccurate adjustment when the light intensity fluctuates greatly or the use environment changes. These problems will cause the actual output light intensity of the UV light source to deviate from the expected value, affecting its effect in high-precision applications. Summary of the invention
[0005] In order to improve the problems of delayed response and inaccurate adjustment when facing large fluctuations in light intensity or changes in the operating environment, the present application provides a high-stability control method, device, equipment and storage medium for UV light sources. Through preprocessing and dynamic adjustment of light intensity data, the output of the UV light source can maintain high stability under various environmental conditions.
[0006] The invention provides a high-stability control method for a UV light source, comprising: acquiring light intensity data of a UV light source, preprocessing the light intensity data to obtain a light intensity average value and a light intensity fluctuation value; calculating an input current of the UV light source by using the light intensity average value to obtain an input current value, evaluating the stability of the UV light source by using the light intensity fluctuation value, generating a fluctuation coefficient and an offset correction value based on the evaluation result, compensating the power output of the UV light source based on the fluctuation coefficient and the offset correction value to obtain a fluctuation compensation value; jointly calculating the input current value and the fluctuation compensation value to obtain a current regulation parameter and a power regulation parameter, optimizing the current regulation performance of the UV light source by using the current regulation parameter to obtain an optimized input current optimization value; performing parameter fusion on the optimized input current optimization value and the power regulation parameter to obtain an input value, inputting the input value into a preset control model to obtain a light source comprehensive control parameter, and controlling the UV light source based on the light source comprehensive control parameter.
[0007] As a preferred embodiment, the steps of obtaining the light intensity data of the UV light source, preprocessing the light intensity data, and obtaining the light intensity average value and the light intensity fluctuation value include: collecting the luminous data of the UV light source in real time through a light intensity sensor to obtain light intensity data, filtering the light intensity data using a time domain filtering technique to obtain filtered light intensity data, and generating a light intensity change curve based on the filtered light intensity data; calculating the light intensity fluctuation range according to the light intensity change curve, extracting features of the light intensity fluctuation range using a segmented analysis method to obtain an instantaneous light intensity value and a fluctuation amplitude value; performing multi-point weighted averaging on the instantaneous light intensity value using a weighted average method to obtain a light intensity average value, jointly analyzing the light intensity average value and the fluctuation amplitude value to generate a light intensity stability evaluation parameter; comparing the light intensity stability evaluation parameter with a preset target light intensity parameter to obtain a dynamic correction coefficient, compensating the light intensity fluctuation range according to the dynamic correction coefficient to obtain a light intensity fluctuation value.
[0008] As a preferred solution, the step of calculating the input current of the UV light source by the light intensity average value to obtain the input current value, evaluating the stability of the UV light source by the light intensity fluctuation value, generating a fluctuation coefficient and an offset correction value based on the evaluation result, compensating the power output of the UV light source based on the fluctuation coefficient and the offset correction value to obtain the fluctuation compensation value includes: calculating a reference value and an incremental value of the current input current by the light intensity average value, superimposing the reference value and the incremental value to obtain the input current value; evaluating the light intensity stability of the UV light source by the light intensity fluctuation value to generate a fluctuation coefficient and an offset correction value, updating the dynamic correction coefficient by the fluctuation coefficient and the offset correction value to generate an updated dynamic correction coefficient; dynamically adjusting the input current value according to the updated dynamic correction coefficient to obtain a compensated input current value, and adjusting the power output of the UV light source in real time by using the compensated input current value to generate a fluctuation compensation value.
[0009] As a preferred solution, the step of calculating the reference value and incremental value of the current input current using the average light intensity value includes: calculating the reference value of the input current according to the following formula: in, is the input current reference value, is the proportionality coefficient, is the average light intensity, is the adjustment factor, is the current increment caused by the light intensity fluctuation; the input current increment is calculated by the following formula: in, is the incremental value of the input current, is the incremental proportional coefficient, is the average value of the input current, is the adjustment factor, is the current change rate, is a time variable, indicating the dynamic change of time.
[0010] As a preferred solution, the light intensity stability of the UV light source is evaluated by using the light intensity fluctuation value, a fluctuation coefficient and an offset correction value are generated based on the evaluation result, and the dynamic correction coefficient is updated by the fluctuation coefficient and the offset correction value to generate the updated dynamic correction coefficient. The steps include: inputting the light intensity fluctuation value into a preset light intensity stability evaluation model, and calculating the light intensity fluctuation value in the light intensity stability evaluation model using a preset fluctuation coefficient calculation formula to obtain the fluctuation coefficient; wherein the fluctuation coefficient calculation formula is: in, is the coefficient of fluctuation, is the standard deviation of light intensity, is the average light intensity, is the time decay constant, is the adjustment factor, is the light intensity fluctuation value, is a time variable, indicating the change at a specific time point; the degree of light intensity deviation is analyzed based on the fluctuation coefficient to generate an offset correction value; the fluctuation coefficient is combined with the offset correction value, and an updated dynamic correction coefficient is generated through nonlinear combination calculation.
[0011] As a preferred scheme, the step of jointly calculating the input current value and the fluctuation compensation value to obtain the current regulation parameter and the power regulation parameter includes: performing curve fitting on the input current value and the fluctuation compensation value to generate a current change function and a power change function; calculating the current change rate using the current change function, and generating the current regulation parameter based on the current change rate; calculating the power change rate using the power change function, and generating the power regulation parameter based on the power change rate.
[0012] As a preferred scheme, the step of performing parameter fusion of the optimized input current optimization value and the power regulation parameter to obtain an input value, and inputting the input value into a preset control model to obtain a comprehensive control parameter of the light source includes: performing weighted fusion of the optimized input current optimization value and the power regulation parameter to generate an input power value; inputting the input power value into a preset control model, and in the control model, decomposing and reorganizing the input power value through a particle swarm optimization algorithm to output a comprehensive control parameter of the light source.
[0013] The present application also provides a high-stability control device for a UV light source, comprising: an acquisition module, used to acquire light intensity data of the UV light source, pre-process the light intensity data, and obtain a light intensity average value and a light intensity fluctuation value; a calculation module, used to calculate the input current of the UV light source through the light intensity average value to obtain an input current value, use the light intensity fluctuation value to evaluate the stability of the UV light source, generate a fluctuation coefficient and an offset correction value based on the evaluation result, compensate the power output of the UV light source based on the fluctuation coefficient and the offset correction value to obtain a fluctuation compensation value; an optimization module, used to jointly calculate the input current value and the fluctuation compensation value to obtain a current regulation parameter and a power regulation parameter, use the current regulation parameter to optimize the current regulation performance of the UV light source to obtain an optimized input current optimization value; a control module, used to perform parameter fusion on the optimized input current optimization value and the power regulation parameter to obtain an input value, input the input value into a preset control model to obtain a light source comprehensive control parameter, and control the UV light source based on the light source comprehensive control parameter.
[0014] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the high stability control method of the UV light source described above is implemented.
[0015] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor executes the high stability control method for a UV light source as described above.
[0016] Compared with the prior art, the present application has the following beneficial effects: fast response and precise adjustment. By acquiring the light intensity data of the UV light source and preprocessing it, the input current value and the fluctuation compensation value are accurately calculated, the input current is dynamically optimized, and finally the optimized input current and power adjustment parameters are input into the control model to generate the comprehensive control parameters of the light source. While achieving the stability of the light intensity output, it can quickly respond to environmental changes, effectively reduce the impact of light intensity fluctuations on the application effect, and improve the problems of delayed response and inaccurate adjustment when facing large light intensity fluctuations or changes in the use environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] 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.
[0018] 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.
[0019] Figure 1 It is a schematic flow chart of a high stability control method of a UV light source provided by an embodiment of the present invention; Figure 2 is a schematic block diagram of the structure of a high stability control device for a UV light source provided by an embodiment of the present invention; Figure 3 It is a schematic block diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0020] Description of reference numerals: 10. High stability control device of UV light source; 11. Acquisition module; 12. Calculation module; 13. Optimization module; 14. Control module; 20. Electronic device; 21. Memory; 22. Processor. DETAILED DESCRIPTION
[0021] 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.
[0022] 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 also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0023] 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.
[0024] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0025] The technical solution of the present invention is further described below with reference to the accompanying drawings and through specific implementation methods.
[0026] Embodiment 1: like Figure 1 As shown, the high stability control method of the UV light source provided in the embodiment of the present application includes steps S100 to S400.
[0027] Step S100: Acquire light intensity data of a UV light source, pre-process the light intensity data, and obtain a light intensity average value and a light intensity fluctuation value.
[0028] In this step, the light intensity data of the UV light source is collected by the sensor, and the acquired light intensity data is filtered to remove noise interference and obtain more accurate light intensity data. Specifically, by setting light intensity data samples within a certain time range, calculating their average value, and obtaining the light intensity average value; at the same time, by calculating the deviation of each light intensity data sample relative to the light intensity average value, the light intensity fluctuation value is obtained.
[0029] For example, the sliding window algorithm is used to average the light intensity data in each time window, and the light intensity fluctuation in each time window is calculated to obtain the light intensity average value and the light intensity fluctuation value.
[0030] Step S200, the input current of the UV light source is calculated by the average light intensity value to obtain the input current value, the stability of the UV light source is evaluated by the light intensity fluctuation value, the fluctuation coefficient and the offset correction value are generated based on the evaluation result, the power output of the UV light source is compensated based on the fluctuation coefficient and the offset correction value to obtain the fluctuation compensation value.
[0031] In this step, the required input current value is calculated by the light intensity average value to maintain the stable light intensity output of the UV light source. Specifically, a relationship model between the light intensity average value and the input current value is established, and the model is used to calculate the required input current value under the current light intensity average value. At the same time, the light intensity fluctuation value is used to evaluate the stability of the UV light source. If the fluctuation value is large, a higher fluctuation coefficient is generated, and the power output of the UV light source is dynamically compensated in combination with the offset correction value to obtain a fluctuation compensation value.
[0032] For example, when the light intensity fluctuation value exceeds a preset threshold, the input current is adjusted to reduce the impact of the light intensity fluctuation on the output stability.
[0033] Step S300: jointly calculate the input current value and the fluctuation compensation value to obtain a current regulation parameter and a power regulation parameter, and optimize the current regulation performance of the UV light source using the current regulation parameter to obtain an optimized input current optimization value.
[0034] In this step, the current adjustment parameter and the power adjustment parameter are obtained by weighted combination of the input current value and the fluctuation compensation value. Specifically, the input current value is used as the reference parameter, and the fluctuation compensation value is used as the correction parameter. Through algorithm optimization, an input current optimization value that can maintain light intensity stability and quickly respond to environmental changes is obtained.
[0035] For example, the least squares method is used to fit the historical input current and light intensity data, and the current regulation parameters are dynamically adjusted to achieve input current optimization.
[0036] Step S400, the optimized input current optimization value and the power adjustment parameter are integrated to obtain an input value, the input value is input into a preset control model to obtain a comprehensive light source control parameter, and the UV light source is controlled based on the comprehensive light source control parameter.
[0037] In this step, the optimized input current optimization value and the power adjustment parameter are combined into a comprehensive input value, and the comprehensive input value is input into the pre-trained control model. Specifically, the control model generates the optimal light source comprehensive control parameter according to the comprehensive input value to ensure the stability of the UV light source under various working environments.
[0038] For example, a large amount of historical data is trained through a machine learning model to generate a control model, and the model is applied in real-time control to provide high-precision light source control.
[0039] In this embodiment, the light intensity data of the UV light source is obtained and the light intensity data is preprocessed to obtain the light intensity average value and the light intensity fluctuation value. Then, the input current of the UV light source is calculated by the light intensity average value to obtain the input current value, and the light intensity fluctuation value is used to evaluate the stability of the UV light source, and the fluctuation coefficient and the offset correction value are generated based on the evaluation result. Based on the fluctuation coefficient and the offset correction value, the power output of the UV light source is compensated to obtain the fluctuation compensation value. Then, the input current value and the fluctuation compensation value are jointly calculated to obtain the current adjustment parameter and the power adjustment parameter, and the current adjustment parameter is used to optimize the current adjustment performance of the UV light source to obtain the optimized input current optimization value. Finally, the optimized input current optimization value and the power adjustment parameter are parameter fused to obtain the input value, and the input value is input into the preset control model to generate the light source comprehensive control parameter, so as to control the UV light source based on the light source comprehensive control parameter. By preprocessing and dynamically adjusting the light intensity data, the output of the UV light source maintains high stability under various environmental conditions, thereby improving the performance of the UV light source. It effectively overcomes the problems of delayed response and inaccurate adjustment in traditional technologies, realizes precise control of the light intensity of UV light source, meets the needs of high-precision applications, and improves the overall application effect and reliability of UV light source.
[0040] Embodiment 2: In step S100, the light intensity data of the UV light source is collected in real time by a light intensity sensor to obtain light intensity data, the light intensity data is filtered using time domain filtering technology to obtain filtered light intensity data, and a light intensity change curve is generated based on the filtered light intensity data.
[0041] By using a light intensity sensor that collects UV light source emission data, real-time monitoring of light intensity is achieved; specifically, a high-precision sensor is used to capture changes in light intensity emitted by the light source, and time domain filtering technology is used to remove data noise to ensure data accuracy.
[0042] For example, in practical applications, a digital filter is used to process the collected light intensity data, filter out high-frequency noise and electromagnetic interference, and generate a smooth light intensity change curve.
[0043] The light intensity fluctuation range is calculated according to the light intensity variation curve, and the segmented analysis method is used to extract the features of the light intensity fluctuation range to obtain the instantaneous light intensity value and the fluctuation amplitude value.
[0044] By analyzing the light intensity variation curve, the light intensity fluctuation range is determined, and each fluctuation interval is analyzed in sections; specifically, mathematical methods are used to perform section-wise fitting on the light intensity variation curve to extract key characteristic values, including instantaneous light intensity values and fluctuation amplitude values.
[0045] For example, the linear regression method is used to segment the light intensity change curve, and the instantaneous light intensity value of each segment and its corresponding fluctuation amplitude are calculated to accurately reflect the dynamic change characteristics of the light intensity.
[0046] The weighted average method is used to perform multi-point weighted averaging of the instantaneous light intensity values to obtain the light intensity average value. The light intensity average value and the fluctuation amplitude value are jointly analyzed to generate the light intensity stability evaluation parameters.
[0047] By taking a weighted average of the instantaneous light intensity values, the influence of the measurement error is reduced and a more stable light intensity average value is obtained. Specifically, an appropriate weighting coefficient is selected, the instantaneous light intensity values at multiple points are averaged, and a joint analysis is performed in combination with the fluctuation amplitude value to generate parameters for evaluating the light intensity stability of the UV light source.
[0048] For example, when calculating the average light intensity, a higher weight is given to the nearest measurement point to improve the real-time and accuracy of the calculation, and ultimately generate light intensity stability evaluation parameters.
[0049] The light intensity stability evaluation parameter is compared with the preset target light intensity parameter to obtain a dynamic correction coefficient, and the light intensity fluctuation range is compensated according to the dynamic correction coefficient to obtain a light intensity fluctuation value.
[0050] By comparing the difference between the actual light intensity and the target light intensity, a dynamic correction coefficient is calculated to adjust the light intensity fluctuation range; specifically, according to a preset control algorithm, the dynamic correction coefficient is used to correct and compensate for the light intensity fluctuation to ensure the stability of the output light intensity.
[0051] For example, through the proportional integral differential (PID) control algorithm, the light intensity stability evaluation parameters are compared with the target light intensity parameters, the dynamic correction coefficient is adjusted, the real-time compensation of the light intensity fluctuation is achieved, and the light intensity fluctuation value is generated.
[0052] In step S200, the reference value and the incremental value of the current input current are calculated using the average light intensity value, and the reference value and the incremental value are superimposed to obtain the input current value.
[0053] By processing the average light intensity, the basic reference value of the input current is determined, and the incremental value is calculated according to the change of real-time data; specifically, a mathematical model between light intensity and input current is established to calculate the currently required input current value.
[0054] For example, the basic current reference value is determined through the linear relationship between light intensity and input current, and the incremental current value is calculated based on the real-time fluctuation of light intensity, and finally the input current value is obtained by superposition.
[0055] The light intensity stability of the UV light source is evaluated using the light intensity fluctuation value to generate a fluctuation coefficient and an offset correction value, and the dynamic correction coefficient is updated using the fluctuation coefficient and the offset correction value to generate an updated dynamic correction coefficient.
[0056] By analyzing the light intensity fluctuation value, the stability of the UV light source is evaluated, and the corresponding fluctuation coefficient and offset correction value are generated; specifically, the parameters required for dynamic correction are calculated using preset mathematical formulas and models to update the dynamic correction coefficient.
[0057] For example, statistical methods are used to calculate the standard deviation and offset of light intensity fluctuations, generate fluctuation coefficients and offset correction values, and combine control algorithms to update dynamic correction coefficients to improve the control accuracy of light intensity stability.
[0058] The input current value is dynamically adjusted according to the updated dynamic correction coefficient to obtain the compensated input current value, and the power output of the UV light source is adjusted in real time using the compensated input current value to generate a fluctuation compensation value.
[0059] By adjusting the dynamic correction coefficient, the input current is compensated in real time to ensure the stability of the light intensity output; specifically, according to the updated dynamic correction coefficient, the input current is dynamically corrected to adjust the power output of the UV light source in real time.
[0060] For example, a real-time control system can be used to monitor and adjust the input current to ensure the stability of the UV light source output power, generate accurate fluctuation compensation values, and achieve precise light intensity control.
[0061] The step of calculating the reference value and the incremental value of the current input current by using the average light intensity includes calculating the reference value of the input current according to the following formula: in, is the input current reference value, is the proportionality coefficient, is the average light intensity, is the adjustment factor, is the current increment caused by light intensity fluctuation.
[0062] By establishing the above formula, the reference value is accurately calculated; specifically, by measuring the average light intensity and combining the influence of the fluctuation value, the proportional coefficient is used and adjustment factor , calculate the basic input current value.
[0063] For example, in actual operation, by continuously collecting the light intensity data of the UV light source, calculating the average value, and using this formula to obtain the corresponding input current reference value, the stable output of the light source is ensured.
[0064] The incremental value of the input current is calculated using the following formula: in, is the incremental value of the input current, is the incremental proportional coefficient, is the average value of the input current, is the adjustment factor, is the current change rate, is a time variable, indicating the dynamic change of time.
[0065] By calculating the incremental value of the input current, dynamic adjustment of the input current is ensured; specifically, the incremental proportional coefficient is used , adjustment coefficient and current change rate , adjust the real-time light intensity fluctuation and generate the current increment value. For example, monitor the change of light intensity data in real time, calculate the incremental current through the above formula, and adjust the input current in time to ensure the stability of the light intensity output of the UV light source.
[0066] The steps of evaluating the light intensity stability of the UV light source by using the light intensity fluctuation value, generating a fluctuation coefficient and an offset correction value based on the evaluation result, updating the dynamic correction coefficient by the fluctuation coefficient and the offset correction value, and generating the updated dynamic correction coefficient include: inputting the light intensity fluctuation value into a preset light intensity stability evaluation model, and calculating the light intensity fluctuation value by using a preset fluctuation coefficient calculation formula in the light intensity stability evaluation model to obtain the fluctuation coefficient; wherein the fluctuation coefficient calculation formula is: in, is the coefficient of fluctuation, is the standard deviation of light intensity, is the average light intensity, is the time decay constant, is the adjustment factor, is the light intensity fluctuation value, It is a time variable, which indicates the change at a specific point in time.
[0067] By inputting the light intensity fluctuation value, the fluctuation coefficient is calculated using the formula; specifically, the real-time fluctuation coefficient is calculated based on the standard deviation and average value of the light intensity fluctuation value and combined with the time variable.
[0068] For example, monitor the light intensity changes in real time, input the data into the stability assessment model, and use the above formula to calculate the fluctuation coefficient in order to further adjust the dynamic correction coefficient.
[0069] The degree of light intensity deviation is analyzed based on the fluctuation coefficient to generate an offset correction value.
[0070] The degree of light intensity deviation is determined by the fluctuation coefficient, and an offset correction value is generated to facilitate subsequent light intensity correction; specifically, the light intensity offset is calculated using the fluctuation coefficient, and a corresponding correction value is generated to ensure the accuracy of the light intensity output.
[0071] For example, by calculating the deviation between the fluctuation coefficient and the actual light intensity, the offset correction value is determined and real-time adjustments are made to ensure stable output of light intensity.
[0072] The fluctuation coefficient is combined with the offset correction value and calculated through nonlinear combination to generate an updated dynamic correction coefficient.
[0073] A new dynamic correction coefficient is calculated and generated by performing a nonlinear combination of the fluctuation coefficient and the offset correction value; specifically, a nonlinear mathematical model is applied to perform a combined operation on the fluctuation coefficient and the offset correction value to obtain a new correction parameter.
[0074] For example, a nonlinear regression model is used to fit the fluctuation coefficient and the offset correction value to generate an updated dynamic correction coefficient to improve the control accuracy and light intensity stability.
[0075] In step S300, the input current value and the fluctuation compensation value are jointly calculated to obtain the current adjustment parameter and the power adjustment parameter, including: curve fitting the input current value and the fluctuation compensation value to generate a current change function and a power change function.
[0076] By mathematically fitting the input current value and the fluctuation compensation value, a function model reflecting the current and power change law is created; specifically, the actually measured input current value and the fluctuation compensation value are fitted using data fitting technology to generate corresponding current change function and power change function.
[0077] For example, the input current and power data are processed using a polynomial fitting method to generate a mathematical function describing the current and power changes for subsequent parameter calculations.
[0078] The current change rate is calculated using the current change function, and the current adjustment parameter is generated based on the current change rate.
[0079] The current change rate is determined by calculating the derivative of the current change function, and the current regulation parameter is generated accordingly; specifically, the current change function is derived by differential operation to obtain the current change rate, and the current regulation parameter is generated to optimize the current control.
[0080] For example, in a control system, the current change rate is calculated in real time, and based on the calculation results, the current regulation parameters are adjusted to achieve precise control and optimization of the current.
[0081] The power change rate is calculated through the power change function, and the power adjustment parameter is generated based on the power change rate.
[0082] By taking the derivative of the power change function, the power change rate is calculated, and the adjustment parameters for optimizing the power output are generated; specifically, the real-time power change rate is calculated using the derivative of the power change function, and the adjustment parameters are generated to adjust the power output.
[0083] For example, in practical applications, power data is analyzed and calculated in real time, and the power change rate is used to generate adjustment parameters to ensure stable and efficient power output of the UV light source.
[0084] In step S400, the optimized input current optimization value and the power adjustment parameter are subjected to parameter fusion to obtain an input value, and the input value is input into a preset control model to obtain a comprehensive control parameter of the light source, including: weighted fusion of the optimized input current optimization value and the power adjustment parameter to generate an input power value.
[0085] By weightedly fusing the optimized input current optimization value with the power regulation parameters, a comprehensive input power value is formed to ensure the coordination and effectiveness of system control; specifically, the weighted average method is used to fuse the optimized input current and power regulation parameters to generate a unified input value.
[0086] For example, the input current optimization value and the power regulation parameter are processed using a weighted average algorithm to generate an input power value for subsequent control model input.
[0087] The input power value is input into the preset control model. In the control model, the input power value is decomposed and reorganized through the particle swarm optimization algorithm to output the comprehensive control parameters of the light source.
[0088] By inputting the input power value into the preset control model, the input parameters are processed using the particle swarm optimization algorithm to generate the best comprehensive control parameters of the light source; specifically, the control model optimizes the parameters according to the input power value using the particle swarm optimization algorithm, and outputs the comprehensive control parameters of the light source to achieve precise control.
[0089] For example, in the control model, the particle swarm optimization algorithm is used to train historical data, and through parameter decomposition and reorganization, high-precision comprehensive control parameters of the light source are generated to ensure the stability and efficiency of the UV light source.
[0090] In this embodiment, the light intensity data of the UV light source is obtained and processed in real time, the light intensity characteristics are extracted using time domain filtering technology and segmented analysis method, the light intensity average value is calculated using the weighted average method, the light intensity stability evaluation parameter is generated, and real-time adjustment and compensation are performed through the dynamic correction coefficient to achieve precise control of the light intensity. By constructing a mathematical model for input current and power regulation, the current and power change rates are calculated, the optimized adjustment parameters are generated, and the parameters are processed through weighted fusion and particle swarm optimization algorithms, and finally the comprehensive control parameters are generated. This method effectively improves the stability and control accuracy of the UV light source, meets the needs of high-precision applications, and improves the adaptability and overall performance of the UV light source in complex environments.
[0091] Embodiment 3: like Figure 2 As shown, the present application also provides a high-stability control device 10 for a UV light source, including an acquisition module 11 , a calculation module 12 , an optimization module 13 and a control module 14 .
[0092] The acquisition module 11 is mainly used to acquire the light intensity data of the UV light source, pre-process the light intensity data, and obtain the light intensity average value and the light intensity fluctuation value.
[0093] The calculation module 12 is mainly used to calculate the input current of the UV light source through the average light intensity value to obtain the input current value, use the light intensity fluctuation value to evaluate the stability of the UV light source, generate a fluctuation coefficient and an offset correction value based on the evaluation result, and compensate the power output of the UV light source based on the fluctuation coefficient and the offset correction value to obtain a fluctuation compensation value.
[0094] The optimization module 13 is mainly used to jointly calculate the input current value and the fluctuation compensation value to obtain the current regulation parameter and the power regulation parameter, and optimize the current regulation performance of the UV light source using the current regulation parameter to obtain the optimized input current optimization value.
[0095] The control module 14 is mainly used to fuse the optimized input current optimization value and the power adjustment parameter to obtain the input value, input the input value into the preset control model, obtain the light source comprehensive control parameter, and control the UV light source based on the light source comprehensive control parameter.
[0096] In this embodiment, through modular design, the acquisition module 11 can efficiently and accurately collect the light intensity data of the UV light source, and obtain reliable light intensity average value and light intensity fluctuation value through preprocessing; the calculation module 12 uses these data to obtain the required input current value through calculation, and evaluates the stability of the light intensity, and generates the corresponding fluctuation coefficient and offset correction value to compensate the power output of the UV light source; the optimization module 13 further jointly calculates the input current value and the fluctuation compensation value to generate optimized current regulation parameters and power regulation parameters, thereby optimizing the current regulation performance; the control module 14 integrates these optimized parameters, inputs them into the control model, generates comprehensive light source control parameters, and realizes precise control of the UV light source. This device effectively improves the stability and accuracy of the UV light source, ensuring that it maintains the best working state under various environmental conditions.
[0097] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned high stability control method embodiment of the UV light source, and will not be repeated here.
[0098] Embodiment 4: like Figure 3As shown, the present application also provides an electronic device 20, including a memory 21 and a processor 22, wherein the memory 21 stores a computer program that can be run on the processor 22, and when the processor 22 executes the computer program, the high stability control method of the UV light source of Example 1 is implemented.
[0099] In this embodiment, by integrating the memory 21 and the processor 22 in the electronic device 20, the computer program stored in the memory 21 can be run on the processor 22, thereby realizing high-stability control of the UV light source. Specifically, when the processor 22 executes the computer program, it first obtains the light intensity data of the UV light source, performs preprocessing, and calculates the light intensity average value and the light intensity fluctuation value; then, the input current value is calculated according to the light intensity average value, and the light intensity fluctuation value is used to evaluate the light intensity stability, generate the fluctuation coefficient and the offset correction value, and perform power output compensation; then, the input current value and the fluctuation compensation value are jointly calculated to generate the current adjustment parameter and the power adjustment parameter, and optimize the input current; finally, the optimized input current value and the power adjustment parameter are combined to generate the comprehensive control parameter of the light source to control the UV light source. This method not only improves the stability and control accuracy of the UV light source, but also simplifies the design of the control system and improves the overall performance and reliability of the electronic device 20.
[0100] Embodiment 5: The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the processor executes the high stability control method for a UV light source as described in Example 1.
[0101] In this embodiment, by storing a computer program on a computer-readable storage medium, when the computer program is run by a processor, high-stability control of the UV light source is achieved. Specifically, when the processor runs the program, the light intensity data of the UV light source is first obtained through a light intensity sensor, and the data is preprocessed to obtain the light intensity average value and the light intensity fluctuation value; then, the input current value is calculated using the light intensity average value, the stability of the light intensity is evaluated, the fluctuation coefficient and the offset correction value are generated, and the power output compensation is performed; then, the input current value and the fluctuation compensation value are jointly calculated to generate current adjustment parameters and power adjustment parameters, and the input current is optimized; finally, the optimized input current value and power adjustment parameters are merged to generate the comprehensive control parameters of the light source to control the UV light source. Through this method, the light intensity stability of the UV light source can be effectively improved, ensuring its reliable performance under different working conditions, and at the same time, the automation and efficiency of the control process are also improved.
[0102] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. 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 invention.
Claims
1. A high stability control method for a UV light source, characterized in that: include: Acquire light intensity data of a UV light source, pre-process the light intensity data, and obtain a light intensity average value and a light intensity fluctuation value; The input current of the UV light source is calculated by the light intensity average value to obtain an input current value, the stability of the UV light source is evaluated by the light intensity fluctuation value, a fluctuation coefficient and an offset correction value are generated based on the evaluation result, and the power output of the UV light source is compensated based on the fluctuation coefficient and the offset correction value to obtain a fluctuation compensation value; The input current value and the fluctuation compensation value are jointly calculated to obtain a current regulation parameter and a power regulation parameter, and the current regulation performance of the UV light source is optimized using the current regulation parameter to obtain an optimized input current optimization value; The optimized input current optimization value and the power adjustment parameter are parameter-fused to obtain an input value, the input value is input into a preset control model to obtain a comprehensive light source control parameter, and the UV light source is controlled based on the comprehensive light source control parameter.
2. The high stability control method of the UV light source according to claim 1, characterized in that: The step of obtaining the light intensity data of the UV light source, preprocessing the light intensity data, and obtaining the light intensity average value and the light intensity fluctuation value comprises: The light intensity data of the UV light source is collected in real time by a light intensity sensor to obtain light intensity data, the light intensity data is filtered by a time domain filtering technique to obtain filtered light intensity data, and a light intensity change curve is generated based on the filtered light intensity data; Calculate the light intensity fluctuation range according to the light intensity variation curve, and extract features of the light intensity fluctuation range using a segmented analysis method to obtain instantaneous light intensity values and fluctuation amplitude values; Applying a weighted average method to perform multi-point weighted averaging on the instantaneous light intensity value to obtain a light intensity average value, and jointly analyzing the light intensity average value and the fluctuation amplitude value to generate a light intensity stability evaluation parameter; The light intensity stability evaluation parameter is compared with a preset target light intensity parameter to obtain a dynamic correction coefficient, and the light intensity fluctuation range is compensated according to the dynamic correction coefficient to obtain a light intensity fluctuation value.
3. The high stability control method of the UV light source according to claim 2, characterized in that: The step of calculating the input current of the UV light source by the light intensity average value to obtain the input current value, evaluating the stability of the UV light source by using the light intensity fluctuation value, generating a fluctuation coefficient and an offset correction value based on the evaluation result, compensating the power output of the UV light source based on the fluctuation coefficient and the offset correction value to obtain the fluctuation compensation value comprises: Calculating a reference value and an incremental value of a current input current by using the average light intensity value, and superimposing the reference value and the incremental value to obtain an input current value; The light intensity stability of the UV light source is evaluated by using the light intensity fluctuation value to generate a fluctuation coefficient and an offset correction value, and the dynamic correction coefficient is updated by using the fluctuation coefficient and the offset correction value to generate an updated dynamic correction coefficient; The input current value is dynamically adjusted according to the updated dynamic correction coefficient to obtain a compensated input current value, and the power output of the UV light source is adjusted in real time using the compensated input current value to generate a fluctuation compensation value.
4. The high stability control method of the UV light source according to claim 3, characterized in that: The step of calculating the reference value and the incremental value of the current input current by using the average light intensity value comprises: Calculate the reference value of input current according to the following formula: in, is the input current reference value, is the proportionality coefficient, is the average light intensity, is the adjustment factor, is the current increment caused by the light intensity fluctuation; The incremental value of the input current is calculated using the following formula: in, is the incremental value of the input current, is the incremental proportional coefficient, is the average value of the input current, is the adjustment factor, is the current change rate, is a time variable, indicating the dynamic change of time.
5. The high stability control method of the UV light source according to claim 3, characterized in that: The step of evaluating the light intensity stability of the UV light source by using the light intensity fluctuation value, generating a fluctuation coefficient and an offset correction value based on the evaluation result, updating the dynamic correction coefficient by using the fluctuation coefficient and the offset correction value, and generating an updated dynamic correction coefficient comprises: The light intensity fluctuation value is input into a preset light intensity stability evaluation model. In the light intensity stability evaluation model, the light intensity fluctuation value is calculated using a preset fluctuation coefficient calculation formula to obtain a fluctuation coefficient; wherein the fluctuation coefficient calculation formula is: in, is the volatility coefficient, is the standard deviation of light intensity, is the average light intensity, is the time decay constant, is the adjustment factor, is the light intensity fluctuation value, is a time variable, indicating changes at a specific point in time; Analyze the degree of light intensity deviation based on the fluctuation coefficient to generate an offset correction value; The fluctuation coefficient is combined with the offset correction value and calculated through nonlinear combination to generate an updated dynamic correction coefficient.
6. The high stability control method of the UV light source according to claim 1, characterized in that: The step of jointly calculating the input current value and the fluctuation compensation value to obtain the current adjustment parameter and the power adjustment parameter comprises: Performing curve fitting on the input current value and the fluctuation compensation value to generate a current change function and a power change function; Calculating a current change rate using the current change function, and generating a current adjustment parameter based on the current change rate; The power change rate is calculated by using the power change function, and a power regulation parameter is generated based on the power change rate.
7. The high stability control method of the UV light source according to claim 1, characterized in that: The step of fusing the optimized input current optimization value and the power adjustment parameter to obtain an input value, and inputting the input value into a preset control model to obtain a comprehensive control parameter of the light source includes: Performing weighted fusion on the optimized input current optimization value and the power adjustment parameter to generate an input power value; The input power value is input into a preset control model, in which the input power value is decomposed and reorganized by a particle swarm optimization algorithm to output a comprehensive control parameter of the light source.
8. A high stability control device for a UV light source, characterized in that: include: An acquisition module is used to acquire light intensity data of a UV light source, and pre-process the light intensity data to obtain a light intensity average value and a light intensity fluctuation value; a calculation module, configured to calculate the input current of the UV light source by using the light intensity average value to obtain an input current value, evaluate the stability of the UV light source by using the light intensity fluctuation value, generate a fluctuation coefficient and an offset correction value based on the evaluation result, and compensate the power output of the UV light source based on the fluctuation coefficient and the offset correction value to obtain a fluctuation compensation value; An optimization module, used for jointly calculating the input current value and the fluctuation compensation value to obtain a current regulation parameter and a power regulation parameter, and optimizing the current regulation performance of the UV light source using the current regulation parameter to obtain an optimized input current optimization value; The control module is used to fuse the optimized input current optimization value and the power adjustment parameter to obtain an input value, input the input value into a preset control model to obtain a light source comprehensive control parameter, and control the UV light source based on the light source comprehensive control parameter.
9. An electronic device, characterized in that: The invention comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the high stability control method of the UV light source according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the processor is enabled to execute the high stability control method for a UV light source according to any one of claims 1 to 7.
Citation Information
Cited By
PPG light leakage self-checking method, wearable device and computer readable storage medium
CN120404066A
Ppg light leakage self-checking method, wearable device, and computer-readable storage medium
CN120404066B