Laser temperature control system based on dynamic Kalman and PID control

By combining dynamic Kalman filtering and an improved PID algorithm, the problem of insufficiently precise temperature control of tunable semiconductor lasers is solved, high-precision temperature control is achieved, steady-state errors and high-temperature error offsets are reduced, and the normal working requirements of the laser are met. .

CN118625878AInactive Publication Date: 2024-09-10SHANDONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202411111721.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technology cannot achieve high-precision temperature control of tunable semiconductor lasers, resulting in laser power and wavelength drift problems caused by temperature changes. Conventional PID control algorithms cannot meet high-precision requirements.

Method used

A laser temperature control system based on dynamic Kalman and PID control is used, combined with a negative temperature coefficient thermistor, a temperature acquisition module, a dynamic Kalman filter module, a PID algorithm module and a semiconductor refrigeration chip drive module. Through dynamic Kalman filtering and improved PID algorithm performs temperature prediction and control to improve temperature acquisition accuracy and control accuracy.

Benefits of technology

It effectively improves the resolution and accuracy of temperature control, reduces the high-temperature error offset, reduces the steady-state error, and meets the high-precision temperature control requirements of tunable lasers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625878A
    Figure CN118625878A
Patent Text Reader

Abstract

The invention discloses a laser temperature control system based on dynamic Kalman and PID (Proportion Integration Differentiation) control, which belongs to the technical field of temperature control and is used for controlling the temperature of a tunable laser. Comprising a negative temperature coefficient thermistor, a temperature acquisition module, an analog-to-digital converter, a dynamic Kalman filtering module, a single-chip microcomputer, a PID algorithm module, a pulse width modulation module, a semiconductor chilling plate driving module and a semiconductor chilling plate. According to the invention, the temperature sensing circuit and the high-resolution ADC analog-to-digital conversion module are combined with dynamic Kalman filtering to effectively improve the acquisition precision of a resolution interval, and an improved PID algorithm and a subsequent driving module are combined to make a temperature control curve smoother and more accurate; the heat effect generated when the tunable laser normally works is effectively compensated, the heat offset phenomenon generated when the semiconductor chilling plate works is solved, the high-temperature error offset is controlled, and the steady-state error of a high-precision temperature control interval is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a laser temperature control system based on dynamic Kalman and PID control, belonging to the technical field of temperature control. Background Art

[0002] Tunable semiconductor lasers generally work in a certain variable temperature environment, because the Joule heating effect generated by the current injection of the multi-channel constant current source of the light source in the tunable semiconductor laser and the heat conduction between the tuning nodes will also cause temperature changes. At the same time, there are also temperature changes in the external environment. These temperature changes will not only cause changes in the laser power, but also cause the wavelength drift of the laser output wavelength. For every 1°C change in temperature, the corresponding output wavelength drifts by nearly 100pm, which has a drastic effect on the output wavelength of the laser. Therefore, a high-precision temperature control solution is crucial to ensure the stable and long-term normal operation of the tunable semiconductor laser, so high-precision and stable temperature control of the tunable semiconductor laser is an urgent problem to be solved.

[0003] Since fiber demodulation systems such as tunable lasers have extremely high requirements for working temperature, conventional temperature control solutions have the problem of insufficient acquisition accuracy in the high-resolution range during temperature acquisition, and cannot meet the temperature control requirements of tunable lasers. An important reason for this phenomenon is that after the temperature sensor module collects temperature information, there is no refined and reliable filtering algorithm, resulting in insufficient accuracy of temperature measurement and prediction values. This phenomenon also generates closed-loop input errors for subsequent temperature control algorithms. In view of the working characteristics of tunable lasers, especially thermal characteristics, and in connection with the working characteristics of semiconductor refrigerators, the high-temperature offset is large during the setting process. Conventional PID control algorithms, etc., can no longer meet the requirements of high-precision temperature control, and the drive control of semiconductor refrigerators is not refined enough. Summary of the invention

[0004] The purpose of the present invention is to provide a laser temperature control system based on dynamic Kalman and PID control to solve the problem in the prior art that the temperature control of a tunable laser is not precise enough.

[0005] A laser temperature control system based on dynamic Kalman and PID control, including a negative temperature coefficient thermistor, a temperature acquisition module, an analog-to-digital converter, a dynamic Kalman filter module, a single-chip microcomputer, a PID algorithm module, a pulse width modulation module, a semiconductor cooling chip drive module and a semiconductor cooling chip; The temperature acquisition module collects the temperature of the negative temperature coefficient thermistor and inputs it into the analog-to-digital converter. The output result of the analog-to-digital converter is imported into the dynamic Kalman filter module for temperature prediction, and the temperature prediction result is imported into the single-chip microcomputer for judgment: If the difference between the instantaneous temperature variable and the set target temperature is positive, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to cool down; If the difference between the instantaneous temperature variable and the set target temperature is negative, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to increase the temperature. Continue to judge. If the difference between the temperature variable and the set target temperature is positive, the temperature is lowered. If the difference between the temperature variable and the set target temperature is negative, the temperature is increased. After the single chip microcomputer makes a control decision through judgment, it outputs a pulse width modulation signal to the semiconductor refrigeration chip driving module, and the semiconductor refrigeration chip driving module controls the semiconductor refrigeration chip to perform temperature increase or temperature decrease.

[0006] Dynamic Kalman filtering includes the state transition model: ; In the formula, yes The state vector at the moment, yes The state vector at the moment, yes Input vector at all times, the input vector is the control information of the heating and cooling power of the semiconductor refrigeration chip, yes The time process noise, The covariance of , is the state transition function; The observation model is: ; In the formula, yes The moment observation vector, yes Observe the noise at all times. The covariance of , is the observation function.

[0007] Dynamic Kalman filtering includes the temperature prediction model: ; In the formula, Is Always The predicted temperature value at time yes The state transfer matrix at time, yes The estimated temperature at time, yes Input matrix at any time. The input matrix is The coefficient of influence on temperature change; The error covariance prediction model is: ; In the formula, Is Always The error covariance prediction value at time , yes Time error covariance.

[0008] Dynamic Kalman filtering includes, the dynamic Kalman gain is calculated as: ; In the formula, yes The Kalman gain at the moment, the Kalman gain weighs the credibility of the predicted value and the observed value, and determines how to adjust the temperature prediction value when updating. yes The Jacobian matrix of the observation matrix at time instant; Based on the dynamic Kalman gain, the state is updated: ; In the formula, It is based on the dynamic Kalman gain The estimate of the state vector at the moment, It is based on the dynamic Kalman gain The state vector at that moment.

[0009] The dynamic Kalman filter includes, based on the dynamic Kalman gain, the temperature estimation model is: ; In the formula, It is based on the dynamic Kalman gain Estimated temperature at the time, yes The temperature measurement value at the moment, the temperature measurement value is the instantaneous temperature measurement value collected by the temperature acquisition module; Based on the dynamic Kalman gain, the error covariance estimation model is: ; In the formula, It is based on the dynamic Kalman gain The estimated value of the moment error covariance, is the identity matrix.

[0010] The calculation of the instantaneous temperature measurement value collected by the temperature acquisition module includes the conversion formula of the temperature acquisition module: ; In the formula, Indicates temperature Thermistor resistance value when Indicates temperature Thermistor resistance value when Indicates the thermal sensitivity coefficient of the thermistor, is the Kelvin temperature, is the Kelvin temperature at standard temperature; The instantaneous analog voltage value collected by the temperature acquisition circuit for: ; Instantaneous temperature measurement for: .

[0011] The PID algorithm includes: ; In the formula, yes PID control increment at the moment, is the proportional gain, yes Time error, yes Time error, is the integral gain, is the differential gain.

[0012] The control process of the PID algorithm includes: Will Set to 1, , All are set to 0, and the response curves of time and temperature are plotted; modulation When , with a step size of 5. When the steady-state value meets the steady-state error, it will be called back with a step size of 1. , find the optimal response curve; modulation When , with a step size of 0.0002, find the optimal response curve, the cooling process Greater than the heating process ; modulation When , with a step size of 0.0000004, find the optimal response curve.

[0013] When heating up, set the dead zone parameter to 0.001℃.

[0014] When cooling, do not set the dead zone parameter.

[0015] Compared with the prior art, the present invention has the following beneficial effects: the present invention utilizes a temperature sensing circuit and a high-resolution ADC analog-to-digital conversion module in combination with a dynamic Kalman filter to effectively improve the acquisition accuracy of the resolution range, and combines an improved PID algorithm and a subsequent drive module to make the temperature control curve smoother and more accurate; it effectively compensates for the thermal effect generated when the tunable laser is working normally and the heat cancellation phenomenon generated when the semiconductor refrigeration plate is working, controls the high-temperature error offset, and reduces the steady-state error in the high-precision temperature control range. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a system architecture diagram of the present invention; Figure 2 It is a dynamic Kalman filter flow chart; Figure 3 This is the improved PID algorithm flow chart; Figure 4 It is a schematic diagram of setting efficiency time; Figure 5 This is the temperature control curve diagram when the dynamic Kalman filter and the improved PID algorithm are not combined; Figure 6 This is the temperature control curve when combining dynamic Kalman filtering and improved PID algorithm. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention is described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present invention, but 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.

[0018] A laser temperature control system based on dynamic Kalman and PID control, including a negative temperature coefficient thermistor, a temperature acquisition module, an analog-to-digital converter, a dynamic Kalman filter module, a single-chip microcomputer, a PID algorithm module, a pulse width modulation module, a semiconductor cooling chip drive module and a semiconductor cooling chip; The temperature acquisition module collects the temperature of the negative temperature coefficient thermistor and inputs it into the analog-to-digital converter. The output result of the analog-to-digital converter is imported into the dynamic Kalman filter module for temperature prediction, and the temperature prediction result is imported into the single-chip microcomputer for judgment: If the difference between the instantaneous temperature variable and the set target temperature is positive, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to cool down; If the difference between the instantaneous temperature variable and the set target temperature is negative, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to increase the temperature. Continue to judge. If the difference between the temperature variable and the set target temperature is positive, the temperature is lowered. If the difference between the temperature variable and the set target temperature is negative, the temperature is increased. After the single chip microcomputer makes a control decision through judgment, it outputs a pulse width modulation signal to the semiconductor refrigeration chip driving module, and the semiconductor refrigeration chip driving module controls the semiconductor refrigeration chip to perform temperature increase or temperature decrease.

[0019] Dynamic Kalman filtering includes the state transition model: ; In the formula, yes The state vector at the moment, yes The state vector at the moment, yes Input vector at all times, the input vector is the control information of the heating and cooling power of the semiconductor refrigeration chip, yes The time process noise, The covariance of , is the state transition function; The observation model is: ; In the formula, yes The moment observation vector, yes Observe the noise at all times. The covariance of , is the observation function.

[0020] Dynamic Kalman filtering includes the temperature prediction model: ; In the formula, Is Always The predicted temperature value at time yes The state transfer matrix at the moment, yes The estimated temperature at time, yes Input matrix at any time. The input matrix is The coefficient of influence on temperature change; The error covariance prediction model is: ; In the formula, Is Always The error covariance prediction value at time , yes Time error covariance.

[0021] Dynamic Kalman filtering includes, the dynamic Kalman gain is calculated as: ; In the formula, yes The Kalman gain at the moment, the Kalman gain weighs the credibility of the predicted value and the observed value, and determines how to adjust the temperature prediction value when updating. yes The Jacobian matrix of the observation matrix at time instant; Based on the dynamic Kalman gain, the state is updated: ; In the formula, It is based on the dynamic Kalman gain The estimate of the state vector at the moment, It is based on the dynamic Kalman gain The state vector at that moment.

[0022] The dynamic Kalman filter includes, based on the dynamic Kalman gain, the temperature estimation model is: ; In the formula, It is based on the dynamic Kalman gain Estimated temperature at the time, yes The temperature measurement value at the moment, the temperature measurement value is the instantaneous temperature measurement value collected by the temperature acquisition module; Based on the dynamic Kalman gain, the error covariance estimation model is: ; In the formula, It is based on the dynamic Kalman gain The estimated value of the moment error covariance, is the identity matrix.

[0023] The calculation of the instantaneous temperature measurement value collected by the temperature acquisition module includes the conversion formula of the temperature acquisition module: ; In the formula, Indicates temperature Thermistor resistance value when Indicates temperature Thermistor resistance value when Indicates the thermal sensitivity coefficient of the thermistor, is the Kelvin temperature, is the Kelvin temperature at standard temperature; The instantaneous analog voltage value collected by the temperature acquisition circuit for: ; Instantaneous temperature measurement for: .

[0024] The PID algorithm includes: ; In the formula, yes PID control increment at the moment, is the proportional gain, yes Time error, yes Time error, is the integral gain, is the differential gain.

[0025] The control process of the PID algorithm includes: Will Set to 1, , All are set to 0, and the response curves of time and temperature are plotted; modulation When , with a step size of 5. When the steady-state value meets the steady-state error, it will be called back with a step size of 1. , find the optimal response curve; modulation When , with a step size of 0.0002, find the optimal response curve, the cooling process Greater than the heating process ; modulation When , with a step size of 0.0000004, find the optimal response curve.

[0026] When heating up, set the dead zone parameter to 0.001℃.

[0027] When cooling, do not set the dead zone parameter.

[0028] The thermal effect of the tunable semiconductor laser itself, heat conduction, and the thermal offset phenomenon of heat released by the heat dissipation surface of the semiconductor refrigeration plate, there is heat accumulation in the cooling process. During the heating process, two different PID modulation algorithms should be used for control. In the temperature control process, the above-mentioned series of thermal phenomena in the cooling process also show different trends from the temperature control at the normal ambient temperature. Through experimental observation, when no cooling control is applied, the internal temperature of the tunable laser rises rapidly and stabilizes in the range of 31℃±0.2 for a long time. Therefore, in addition to considering the change of ambient temperature in the two temperature control processes, heat accumulation and heat offset also need to be considered. This also leads to the response curve not being a conventional response curve when PID parameter modulation is performed. Specifically, if the ambient temperature is lower than the set temperature in the initial state, during the heating process, the rise time has a shorter rise time (about 60s) than the conventional temperature modulation curve. At the same time, due to the thermal effect itself, the overshoot is slightly larger than the conventional temperature control, but it can be ignored.

[0029] If the ambient temperature is higher than the set temperature in the initial state, the rise time during the cooling process is longer than the heating process (2-3 times, about 200s). At the same time, due to the thermal effect itself, there is almost no overshoot, and the overshoot is extremely small.

[0030] At a higher temperature resolution, such as 0.001°C, the temperature rise process presents a linear function with a higher rising slope, while the temperature drop function is a linear function with a slower drop. The final steady-state error has a characteristic that the high temperature error offset is 1-2 times greater than the low temperature offset.

[0031] Therefore, in the PID parameter modulation method, first Set to 1, , All are set to 0 to form a unit step response curve. Observe the trend. At this time, the response curve rise time is relatively long (about 1 minute and 30 seconds), and the stabilization time is extremely short, but the steady-state error is large. Taking the standard temperature of 25.00℃ as an example, the steady-state error is about 2℃±0.02, that is, the steady-state value is about 27℃±0.02.

[0032] Both the heating process and the cooling process need to be followed at this time. First increase The size is roughly adjusted in steps of 5 and the response curve is observed. When the step size is 5, the response curve improves, but does not meet the standard. When it is increased to 20, it is found that the steady-state error has basically met the requirements, and the steady-state value is basically close to the steady-state error, but the curve jitter is aggravated. Then reduce it with a step size of 1. Value, fine-tuning the curve, and finally found that this system =18, it has good response characteristics.

[0033] Start modulation For temperature control curves, especially high-precision temperature control curves, the integral term has a very large impact, so Be very careful when adding the term from 0. According to experimental analysis, it is safer to start modulation with a step size of 0.0002. Due to heat accumulation and thermal effect, the cooling process should use a relatively larger value than the heating process. Value, during the cooling process of this system =0.0006, during the heating process =0.0004 can alleviate the error caused by overshoot.

[0034] Similarly for the temperature control curve, The effect is relatively small. Many temperature control systems also use PID control solutions, but for high-precision temperature control solutions, jitter and steady-state errors can be eliminated. However, because the temperature resolution is very high, The increase step size should be lower. =0.0000024.

[0035] In view of the different characteristics of the thermal offset effect during the heating process and the cooling process, there are thermal effects of the laser and the semiconductor refrigeration film during the heating process, so when setting the dead zone parameter, when the absolute value of the error is greater than or equal to the preset temperature accuracy (this system is set to 0.001℃, which needs to be adjusted according to actual conditions); during the cooling process, there is a certain amount of heat accumulation while there is a thermal effect, so the best balance state should be that the semiconductor refrigeration film should always maintain heat balance in a critical cooling state to achieve high-precision temperature control. Therefore, the dead zone parameter is not set in the cooling function of this system (specific analysis for specific situations).

[0036] The system architecture of the present invention is as follows Figure 1 As shown in the figure, the temperature acquisition module collects the temperature of the negative temperature coefficient thermistor, inputs it to the ADC analog-to-digital conversion module, and then enters the dynamic Kalman filter. The filter output is sent to the GD32F103C8T6 microcontroller, one way is input to the improved PID algorithm, the other way is input to the pulse width modulation PWM, and the result of the improved PID algorithm is also input to the pulse width modulation PWM, and finally the TEC is controlled by the TEC drive module. The dynamic Kalman filter process is as follows Figure 2 As shown in the figure, firstly, the temperature state prediction and error covariance prediction are performed, then the dynamic Kalman gain is calculated, the temperature state is updated and the error covariance and covariance matrix are updated, and finally the PID control algorithm is input. The improved PID algorithm process is as follows Figure 3As shown in the figure, if the difference between the instantaneous temperature variable and the set target temperature is positive, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to cool down; if the difference between the instantaneous temperature variable and the set target temperature is negative, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to heat up, and continue to judge. If the difference between the temperature variable and the set target temperature is positive, the temperature is cooled down, and if the difference between the temperature variable and the set target temperature is negative, the temperature is heated up. The setting efficiency time is as follows Figure 4 As shown in Figure 2, the temperature control curve without the combination of dynamic Kalman filtering and improved PID algorithm is as follows: Figure 5 As shown in Figure 2, the temperature control curve when combining dynamic Kalman filtering and improved PID algorithm is as follows: Figure 6 shown.

[0037] In the present invention, the temperature acquisition circuit acquires the instantaneous resistance of a 10kΩ negative temperature coefficient NTC thermistor at a standard temperature (25°C) integrated in the tunable semiconductor laser. The temperature change of the thermistor caused by the ambient temperature and the thermal effect and heat conduction generated when the tunable laser is working causes the thermistor resistance to change. The temperature acquisition circuit and the instrument amplifier TPA1286 convert the resistance change with temperature into an analog voltage signal that can be received by a 24-bit high-resolution and accurate ADC module. The ADC module converts the received analog voltage signal into a digital signal. The signal is input to the single-chip microcomputer, which analyzes the digital signal through the temperature acquisition circuit and other preceding circuits and thermistor parameters, and converts it into the instantaneous temperature at this time after dynamic Kalman filtering. As the instantaneous temperature variable of the semiconductor laser, in order to achieve constant temperature control, the TEC drive module is introduced. This module enables us to combine dynamic Kalman filtering with the improved PID algorithm, and the PWM signal generated by the single-chip microcomputer and the changes in positive and negative currents to achieve a bidirectional cooling and heating temperature control effect on the semiconductor refrigerator integrated inside the tunable laser package, thereby achieving high-precision constant temperature control of the tunable laser.

[0038] The basic principle of dynamic Kalman filtering is similar to that of conventional Kalman filtering, but it is more flexible in adapting to changes in system models and noise characteristics. Dynamic Kalman filtering is a recursive estimation method that is more suitable for tunable laser systems. Because for tunable lasers, according to their working principles and characteristics, when a tunable laser starts working, there is not only an external ambient temperature that remains unchanged for a certain duration, but also a temperature change caused by the Joule heating effect caused by the current injection of the multi-channel constant current source of the light source and the heat conduction between the tuning nodes when the tunable laser starts working. Such a temperature variable is a variable that starts to grow based on the working time. At the same time, after such a temperature variable is reflected in the negative temperature coefficient thermistor and converted into an analog voltage signal by the temperature acquisition circuit, it is a nonlinear time-varying system.

[0039] PID algorithm is a classic closed-loop feedback control algorithm. In process control, it is a control algorithm that controls according to the proportion (P), integral (I) and differential (D) of the deviation. It is a control method that corrects according to the output feedback of the control object. When the actual deviation is measured from the plan, it is corrected according to the quota or standard. The ideal PID control law in the continuous system is: ; ; In the formula, Is the set value and process variable (actual value) The difference between is used to adjust the controlled object. It's time. is the control parameter.

[0040] Discrete digital PID algorithms usually consist of two types: positional and incremental. For high-precision temperature control systems of semiconductor refrigerators for tunable lasers, since the working principle of semiconductor refrigerators is to achieve heating and cooling by changing the direction of current, their output is usually an increment of current or voltage. Incremental PID adjusts the system output by calculating the difference (increment) between the current control quantity and the control quantity at the previous moment, thereby achieving precise control of variables such as temperature. In contrast, the positional PID controller directly calculates the PID output based on the current error, which may result in insensitive control response or over-regulation in some scenarios. The incremental PID controller can better cope with the nonlinearity and time-varying nature of the system, and improve the stability and response speed of the control system.

[0041] In connection with the working characteristics of the tunable laser, the tunable laser itself is a nonlinear time-varying heating system after it starts working. At the same time, it has been found through practice that when using the ordinary PID algorithm, it is found that during the stabilization time of high-precision temperature control setting, that is, during the setting process, the maximum temperature offset below the target setting temperature is about 0.3℃, and the temperature offset above the target setting temperature reaches about 3-4℃, resulting in a large high temperature error during the setting process.

[0042] After the temperature is set, there is always a temperature error oscillation range. The instantaneous temperature of the laser oscillates in a smaller set temperature range, which is the steady-state time in the PID algorithm setting process. However, there is also a steady-state error. When the set temperature is 25.00℃, in the steady-state error range after setting, the low-temperature error offset is about 0.002℃, and the high-temperature error offset is about 0.008-0.012 degrees Celsius. There is also a situation where the high-temperature error is larger or even much larger than the low-temperature error.

[0043] In connection with the working characteristics of the tunable laser, it is found that on the one hand, it is due to the heating effect of the optical fiber demodulation system such as the tunable laser after operation. However, in connection with the working principle and characteristics of the semiconductor refrigerator, when the semiconductor refrigerator is working, when the positive and negative poles are positively connected to the positive and negative poles of the power supply, the front side cools and the back side heats; in the reverse connection, the front side dissipates heat and the back side cools. The general rule is that when one side is cooling, the other side must dissipate heat. This is determined by the principle of the semiconductor refrigerator. Therefore, if the heat dissipation surface cannot be efficiently dissipated, the heat on the back side will also quickly pass through the thin semiconductor refrigerator, offsetting the cooling effect brought by the cooling surface. At the same time, when the power supply of the semiconductor refrigerator is cut off, the heat on the back side will also be quickly transferred to the cooling surface. This is also one of the core factors for the large high temperature error.

[0044] Therefore, for the ordinary incremental PID control algorithm, during the heating process, there is not only the heating heat generated by the control semiconductor refrigeration chip, but also the heat generated by the self-heating and heat offset phenomena mentioned above, resulting in the high temperature error offset and high temperature error offset being much larger than the low temperature error offset and low temperature offset, respectively, regardless of whether it is during the tuning process or the steady-state process.

[0045] According to the previous practical analysis, the conventional PID control algorithm and other PID temperature control algorithms cannot achieve good high-precision temperature control effects for tunable laser systems and cannot meet the working requirements of normal output wavelengths. In response to the above-mentioned heat offset phenomenon, two sets of improvement measures are made for the PID temperature control algorithm.

[0046] The PWM waveform calculated by the PID control algorithm is no longer set to a low level as the reverse voltage, but to stop driving at 0 voltage; that is, when the cooling temperature is lower than the target temperature, there is no need to start the reverse power supply immediately to heat the semiconductor cooling plate of the laser immediately, but the output can be stopped directly, so that the working thermal effect of the tunable laser itself and the heat brought by the semiconductor heat dissipation surface will naturally heat up (this heating process is extremely fast). In addition, using different sets of PID control algorithms in the cooling process and the heating process can also effectively improve the thermal offset phenomenon.

[0047] When the temperature is set, in case of large high temperature deviation within the steady-state error time, the error between the actual input temperature value and the target temperature preset value during the PID heating process should be appropriately increased according to the actual situation, that is, the dead zone value of the PID algorithm. Two different sets of PID dead zone parameters should also be used according to the system to compensate for the high temperature error offset caused by the heat generation and heat conduction of the laser itself and the excess heat on the heat dissipation surface of the semiconductor refrigeration plate with a stronger cooling effect.

[0048] The comparison of PID algorithm before and after improvement is shown in Table 1.

[0049] Table 1 Comparison of PID algorithm before and after improvement ; In this tunable laser temperature control system, combined with the dynamic Kalman filter algorithm, the above-mentioned improvement measures and process settings are used to adjust the temperature variables in the process, which can not only reduce energy consumption, but also achieve the set temperature value that can meet the normal output wavelength of the tunable laser, and also improve the setting efficiency.

[0050] For the application scenarios of conventional temperature control, most of them are linear time-invariant systems. Ordinary Kalman filtering is suitable for linear fixed models and static systems, but the real-time performance is not high. The combination of dynamic Kalman filtering is more suitable for nonlinear time-varying systems, adapting to dynamically changing systems, and can update parameters in real time. In the field of high-precision temperature control, the temperature acquisition accuracy is higher, and it is more suitable for nonlinear time-varying systems such as tunable lasers and optical fiber sensors. At the same time, for the thermal effects generated when the tunable laser is working, the heat conduction between the tuning nodes, and the thermal offset phenomenon of the semiconductor refrigeration plate, for such special application scenarios, the incremental PID algorithm for the unique application scenario of the adjustable laser semiconductor refrigeration plate is improved. By combining the dynamic Kalman filter with the improved incremental PID algorithm, the tunable laser has a better performance in the high-precision temperature range, effectively reducing the high-temperature error offset, making the control curve more effective, accurate and smooth, and improving the setting efficiency.

[0051] 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, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features may be replaced by equivalents, and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. Laser temperature control system based on dynamic Kalman and PID control, characterized in that: It includes a negative temperature coefficient thermistor, a temperature acquisition module, an analog-to-digital converter, a dynamic Kalman filter module, a single-chip microcomputer, a PID algorithm module, a pulse width modulation module, a semiconductor cooling chip drive module and a semiconductor cooling chip; The temperature acquisition module collects the temperature of the negative temperature coefficient thermistor and inputs it into the analog-to-digital converter. The output result of the analog-to-digital converter is imported into the dynamic Kalman filter module for temperature prediction, and the temperature prediction result is imported into the single-chip microcomputer for judgment: If the difference between the instantaneous temperature variable and the set target temperature is positive, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to cool down; If the difference between the instantaneous temperature variable and the set target temperature is negative, the semiconductor refrigeration chip drive module is controlled by the PID algorithm module to increase the temperature. Continue to judge. If the difference between the temperature variable and the set target temperature is positive, the temperature is lowered. If the difference between the temperature variable and the set target temperature is negative, the temperature is increased. After the single chip microcomputer makes a control decision through judgment, it outputs a pulse width modulation signal to the semiconductor refrigeration chip driving module, and the semiconductor refrigeration chip driving module controls the semiconductor refrigeration chip to perform temperature increase or temperature decrease.

2. The laser temperature control system based on dynamic Kalman and PID control according to claim 1, characterized in that: Dynamic Kalman filtering includes the state transition model: ; In the formula, yes The state vector at the moment, yes The state vector at the moment, yes Input vector at all times, the input vector is the control information of the heating and cooling power of the semiconductor refrigeration chip, yes The time process noise, The covariance of , is the state transition function; The observation model is: ; In the formula, yes The moment observation vector, yes Observe the noise at all times. The covariance of , is the observation function.

3. The laser temperature control system based on dynamic Kalman and PID control according to claim 2, characterized in that: Dynamic Kalman filtering includes the temperature prediction model: ; In the formula, Is Always The predicted temperature value at time yes The state transfer matrix at time, yes The estimated temperature at time, yes Input matrix at any time. The input matrix is The coefficient of influence on temperature change; The error covariance prediction model is: ; In the formula, Is Always The error covariance prediction value at time , yes Time error covariance.

4. The laser temperature control system based on dynamic Kalman and PID control according to claim 3, characterized in that: Dynamic Kalman filtering includes, the dynamic Kalman gain is calculated as: ; In the formula, yes The Kalman gain at the moment, the Kalman gain weighs the credibility of the predicted value and the observed value, and determines how to adjust the temperature prediction value when updating. yes The Jacobian matrix of the observation matrix at time instant; Based on the dynamic Kalman gain, the state is updated: ; In the formula, It is based on the dynamic Kalman gain The estimate of the state vector at the moment, It is based on the dynamic Kalman gain The state vector at that moment.

5. The laser temperature control system based on dynamic Kalman and PID control according to claim 4, characterized in that: The dynamic Kalman filter includes, based on the dynamic Kalman gain, the temperature estimation model is: ; In the formula, It is based on the dynamic Kalman gain Estimated temperature at the time, yes The temperature measurement value at the moment, the temperature measurement value is the instantaneous temperature measurement value collected by the temperature acquisition module; Based on the dynamic Kalman gain, the error covariance estimation model is: ; In the formula, It is based on the dynamic Kalman gain The estimated value of the moment error covariance, is the identity matrix.

6. The laser temperature control system based on dynamic Kalman and PID control according to claim 5, characterized in that: The calculation of the instantaneous temperature measurement value collected by the temperature acquisition module includes the conversion formula of the temperature acquisition module: ; In the formula, Indicates temperature Thermistor resistance value when Indicates temperature Thermistor resistance value when Indicates the thermal sensitivity coefficient of the thermistor, is the Kelvin temperature, is the Kelvin temperature at standard temperature; The instantaneous analog voltage value collected by the temperature acquisition circuit for: ; Instantaneous temperature measurement for: 。 7. The laser temperature control system based on dynamic Kalman and PID control according to claim 1, characterized in that: The PID algorithm includes: ; In the formula, yes PID control increment at the moment, is the proportional gain, yes Time error, yes Time error, is the integral gain, is the differential gain.

8. The laser temperature control system based on dynamic Kalman and PID control according to claim 7, characterized in that: The control process of the PID algorithm includes: Will Set to 1, , All are set to 0, and the response curves of time and temperature are plotted; modulation When , with a step size of 5. When the steady-state value meets the steady-state error, it will be called back with a step size of 1. , find the optimal response curve; modulation When , with a step size of 0.0002, find the optimal response curve, the cooling process Greater than the heating process ; modulation When , with a step size of 0.0000004, find the optimal response curve.

9. The laser temperature control system based on dynamic Kalman and PID control according to claim 8, characterized in that: When heating up, set the dead zone parameter to 0.001℃.

10. The laser temperature control system based on dynamic Kalman and PID control according to claim 9, characterized in that: When cooling, do not set the dead zone parameter.

Citation Information

Patent Citations

  • Temperature control equipment and temperature control method thereof

    CN101587355A

  • Circuit and method for realizing over-temperature protection

    CN102759414A

  • Control method and control device for DOC downstream temperature

    CN108762334A

  • Self-adaptive constant temperature control system and method

    CN113961024A

  • Method and device for automatically controlling temperature in fermentation tank

    CN116463210A

Cited By

  • Temperature control method and system for narrow linewidth laser

    CN119070131A

  • Laser engraving machine temperature compensation control system based on multi-source temperature data fusion

    CN119200503A

  • A temperature compensation control system for laser engraving machine based on multi-source temperature data fusion

    CN119200503B

  • Linear temperature control system

    CN119311055A

  • Control method and system for cold source module in heat exchange test system and storage medium

    CN122018602A