CN110442167A - A kind of temperature control system and its control method in pulse laser seeds source - Google Patents
A kind of temperature control system and its control method in pulse laser seeds source Download PDFInfo
- Publication number
- CN110442167A CN110442167A CN201910546926.3A CN201910546926A CN110442167A CN 110442167 A CN110442167 A CN 110442167A CN 201910546926 A CN201910546926 A CN 201910546926A CN 110442167 A CN110442167 A CN 110442167A
- Authority
- CN
- China
- Prior art keywords
- temperature
- fuzzy
- control
- pid controller
- temperature control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 16
- 230000008859 change Effects 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 7
- 238000012937 correction Methods 0.000 claims description 12
- 238000013178 mathematical model Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000012795 verification Methods 0.000 claims description 4
- XAGFODPZIPBFFR-UHFFFAOYSA-N aluminium Chemical compound [Al] XAGFODPZIPBFFR-UHFFFAOYSA-N 0.000 claims description 3
- 229910052782 aluminium Inorganic materials 0.000 claims description 3
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 claims description 2
- 229910052802 copper Inorganic materials 0.000 claims description 2
- 239000010949 copper Substances 0.000 claims description 2
- 239000007943 implant Substances 0.000 claims 1
- 230000006870 function Effects 0.000 abstract description 5
- 238000004891 communication Methods 0.000 abstract description 3
- 238000005259 measurement Methods 0.000 abstract description 2
- 239000004065 semiconductor Substances 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000009529 body temperature measurement Methods 0.000 description 3
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N Silicium dioxide Chemical compound O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 239000003153 chemical reaction reagent Substances 0.000 description 2
- 150000001875 compounds Chemical class 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 239000000741 silica gel Substances 0.000 description 2
- 229910002027 silica gel Inorganic materials 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 229920001296 polysiloxane Polymers 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D23/00—Control of temperature
- G05D23/19—Control of temperature characterised by the use of electric means
- G05D23/20—Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Semiconductor Lasers (AREA)
Abstract
本发明公开了一种脉冲激光种子源的温控系统及其控制方法,包括为整个装置提供电源的供电模块、模糊PID控制器和激光二极管;所述模糊PID控制器包括模糊控制器和PID控制器;本发明通过采用模糊算法与PID控制相结合的温控系统实现了一种经济、有效而且稳定的脉冲激光种子源温控方法,因此能够在较低的功耗下实现脉冲激光种子源的温度变化控制,从而确保脉冲激光种子源功率稳定输出,本发明温度控制精度高,而且效率大大提高,并且控制系统能够实现数据通信、数据处理及系统控制等处理功能,具有自动化程度高,速度快、测量效率高,误差小,操作方便等优点。
The invention discloses a temperature control system of a pulsed laser seed source and a control method thereof, comprising a power supply module for providing power to the entire device, a fuzzy PID controller and a laser diode; the fuzzy PID controller includes a fuzzy controller and a PID control device; the present invention realizes an economical, effective and stable pulse laser seed source temperature control method by adopting a temperature control system combining fuzzy algorithm and PID control, so the pulse laser seed source can be realized at lower power consumption Temperature change control, so as to ensure the stable output of pulsed laser seed source power, the present invention has high temperature control precision and greatly improved efficiency, and the control system can realize data communication, data processing and system control and other processing functions, with high degree of automation and fast speed , High measurement efficiency, small error, convenient operation and so on.
Description
技术领域technical field
本发明涉及温度控制技术领域,尤其涉及一种脉冲激光种子源的温控系统及其控制方法。The invention relates to the technical field of temperature control, in particular to a temperature control system of a pulsed laser seed source and a control method thereof.
背景技术Background technique
随着信息技术的迅速发展,半导体激光器已经广泛地应用于光纤通信、光纤传感和激光雷达等领域,具有广阔的应用前景;而,温度是影响激光器性能指标的主要因素之一,当激光器的温度升高,其输出波长逐渐向长波长方向漂移,同时,温度控制的精度也影响着激光器的线宽和功率,因此,必需对半导体激光器采用合适的温度控制技术,从而保证半导体激光器或系统能够正常工作。With the rapid development of information technology, semiconductor lasers have been widely used in the fields of optical fiber communication, optical fiber sensing and laser radar, etc., and have broad application prospects; however, temperature is one of the main factors affecting the performance of lasers. As the temperature rises, its output wavelength gradually shifts to the long wavelength direction. At the same time, the accuracy of temperature control also affects the line width and power of the laser. Therefore, it is necessary to adopt a suitable temperature control technology for the semiconductor laser to ensure that the semiconductor laser or system can normal work.
申请号为200710045711.0的发明专利,利用电桥驱动芯片设计了热电制冷器的驱动电路,实现了半导体激光器的温度控制;申请号为201410480407.9的专利申请,采用惠斯通电桥和运算放大器设计的温度检测放大电路,实现半导体激光器温度的控制,但是,这些发明的温度采集电路采用的是模拟电路,因此温度采集电路相对比较复杂,主要是由于温度采集电路利用的是电桥电路造成的,同时没有高精度的算法进行控制,使得在控温过程中会出现温度波动现象,造成激光器温度变化,导致激光器输出的波长、线宽和功率都将出现波动现象,为其后续的系统造成一定的影响。The invention patent with the application number 200710045711.0 uses the bridge driver chip to design the drive circuit of the thermoelectric cooler, which realizes the temperature control of the semiconductor laser; the patent application with the application number 201410480407.9 uses the temperature detection designed by the Wheatstone bridge and the operational amplifier The amplifying circuit realizes the temperature control of the semiconductor laser, but the temperature acquisition circuit of these inventions uses an analog circuit, so the temperature acquisition circuit is relatively complicated, mainly because the temperature acquisition circuit uses a bridge circuit, and there is no high The precision algorithm is controlled, so that temperature fluctuations will occur during the temperature control process, resulting in changes in the temperature of the laser, resulting in fluctuations in the output wavelength, line width and power of the laser, which will have a certain impact on its subsequent systems.
PID控制是最早发展起来的应用经典控制理论的温度控制策略之一,由于其算法简单、鲁棒性好和可靠性高,被广泛应用于工业过程控制;然而PID控制往往需要在了解受控系统的函数特性才能得到有效的控制,对于那些很复杂,非线性的系统它需要花太多时间进行拟合。PID control is one of the earliest temperature control strategies developed using classical control theory. Because of its simple algorithm, good robustness and high reliability, it is widely used in industrial process control; however, PID control often needs to understand the controlled system The function characteristics of the system can be effectively controlled, and it takes too much time to fit those very complex and nonlinear systems.
而近年来日益流行的模糊控制,其作为其中一种最广泛应用的智能温度控制技术,具有鲁棒性好,不需要知道控制目标和对象的精确数学模型,适于具有大滞后和非线性时变系统等优点,但容易因控制规则的粗糙而引起稳态误差;所以,对于半导体脉冲激光种子源温度采用单纯的模糊控制方法也很难达到满意的结果。Fuzzy control, which has become increasingly popular in recent years, is one of the most widely used intelligent temperature control technologies. It has good robustness and does not need to know the precise mathematical model of the control target and object. However, it is easy to cause steady-state errors due to rough control rules; therefore, it is difficult to achieve satisfactory results by using a simple fuzzy control method for the temperature of the semiconductor pulsed laser seed source.
发明内容Contents of the invention
本发明的目的在于针对现有技术中存在的不足,提供一种脉冲激光种子源的温控系统及其控制方法,通过采用模糊运算与PID控制相结合的温控系统实现了一种经济、有效而且稳定的脉冲激光种子源温控方案,能够在较低的功耗下实现快速的温度变化控制;采用温度传感器反馈温度信号,利用模糊运算来实现在线推理,实现对脉冲激光种子源温度的快速、精确控制,温控系统的响应速度快,提高了温控系统的稳定性。The purpose of the present invention is to address the deficiencies in the prior art, to provide a pulse laser seed source temperature control system and its control method, through the combination of fuzzy operation and PID control temperature control system to achieve an economical and effective Moreover, the stable pulse laser seed source temperature control scheme can realize rapid temperature change control with low power consumption; the temperature sensor is used to feed back the temperature signal, and the fuzzy operation is used to realize online reasoning, so as to realize the rapid temperature control of the pulse laser seed source. , Precise control, fast response speed of the temperature control system, which improves the stability of the temperature control system.
为实现上述目的,本发明所采用的技术方案是:To achieve the above object, the technical solution adopted in the present invention is:
一种脉冲激光种子源的温控系统,包括为整个装置提供电源的供电模块、模糊PID控制器和激光二极管;所述模糊PID控制器包括模糊控制器和PID控制器,所述模糊PID控制器上连接有键盘、显示模块和温度传感器,所述模糊PID控制器与TEC驱动电路一端连接,TEC驱动电路另一端连接TEC温度控制芯片,TEC温度控制芯片利用硅胶粘贴在导热板的一面,导热板的另一面用硅胶粘贴激光二极管,温度传感器系统中的传感器紧密连接导热板。A temperature control system for a pulsed laser seed source, comprising a power supply module, a fuzzy PID controller and a laser diode for providing power to the entire device; the fuzzy PID controller includes a fuzzy controller and a PID controller, and the fuzzy PID controller A keyboard, a display module and a temperature sensor are connected to it, the fuzzy PID controller is connected to one end of the TEC drive circuit, the other end of the TEC drive circuit is connected to a TEC temperature control chip, and the TEC temperature control chip is pasted on one side of the heat conduction plate with silica gel, and the heat conduction plate The other side of the laser diode is pasted with silicone, and the sensor in the temperature sensor system is tightly connected to the heat conduction plate.
优选的,所述模糊控制器包括模糊化接口、规则库、数据库、推理机和解模糊接口。Preferably, the fuzzy controller includes a fuzzification interface, a rule base, a database, an inference engine and a defuzzification interface.
优选的,所述模糊PID控制器根据温度传感器测得的激光二极管的温度信息参数与相应的预设参数比较计算得出偏差e和偏差变化率ec,并由模糊控制器进行模糊化、建立数据库和规则库、模糊推理和去模糊化处理,得到PID控制参数的修正值,再由PID控制器控制各执行设备。Preferably, the fuzzy PID controller calculates the deviation e and the deviation change rate ec according to the temperature information parameters of the laser diode measured by the temperature sensor and the corresponding preset parameters, and the fuzzy controller performs fuzzification and establishes a database And the rule base, fuzzy reasoning and defuzzification processing, get the correction value of the PID control parameters, and then control each execution device by the PID controller.
优选的,所述模糊PID控制器还与报警系统连接。Preferably, the fuzzy PID controller is also connected to an alarm system.
优选的,所述导热板为铝板或紫铜。Preferably, the heat conduction plate is aluminum plate or red copper.
优选的,所述TEC驱动电路包括驱动芯片L298N、电源和若干二极管,所述驱动芯片的第1、8和15引脚接地,第4和9引脚连接电源,第5和7引脚连接模糊PID控制器,第2引脚通过二极管D1连接电源模块,同时第2引脚通过二极管D2接地,第3引脚通过二极管D4连接电源模块,同时第3引脚通过二极管D3接地,第2和3引脚分别连接到所述TEC温度控制芯片的正极和负极。Preferably, the TEC drive circuit includes a drive chip L298N, a power supply and several diodes, the 1st, 8th and 15th pins of the drive chip are grounded, the 4th and 9th pins are connected to the power supply, and the 5th and 7th pins are connected to the fuzzy PID controller, the 2nd pin is connected to the power module through the diode D1, while the 2nd pin is grounded through the diode D2, the 3rd pin is connected to the power module through the diode D4, and the 3rd pin is grounded through the diode D3, the 2nd and 3rd The pins are respectively connected to the positive pole and the negative pole of the TEC temperature control chip.
本发明还提供一种脉冲激光种子源的温控系统的控制方法,包括确定并预设脉冲激光种子源参数、获取并比较计算和参数修正并输出控制,具体步骤如下:The present invention also provides a control method for a temperature control system of a pulsed laser seed source, including determining and preset pulsed laser seed source parameters, obtaining and comparing calculations, parameter correction and output control, and the specific steps are as follows:
S1、确定并预设脉冲激光种子源参数:通过键盘将确定的待控温度参数预设在模糊PID控制器中;S1. Determine and preset pulse laser seed source parameters: preset the determined temperature parameters to be controlled in the fuzzy PID controller through the keyboard;
S2、获取并比较计算:通过温度传感器测得激光二极管的温度信息参数,然后与相应的预设待控温度参数比较计算得出偏差e和偏差变化率ec;S2. Obtain and compare and calculate: the temperature information parameter of the laser diode is measured by the temperature sensor, and then compared with the corresponding preset temperature parameter to be controlled to obtain the deviation e and the deviation change rate ec;
S3、参数修正并输出控制:将偏差e和偏差变化率ec作为模糊控制器的输入进行模糊化,并基于大量经验数据建立规则库和数据库,然后经过模糊推理和去模糊化获得PID温控参数的修正值,并输入到PID控制器中,再由PID控制器控制各执行设备的工作;所述执行设备包括TEC驱动电路、TEC温度控制芯片。S3. Parameter correction and output control: Fuzzify the deviation e and deviation change rate ec as the input of the fuzzy controller, and establish a rule base and database based on a large amount of empirical data, and then obtain the PID temperature control parameters through fuzzy reasoning and defuzzification The correction value is input to the PID controller, and then the PID controller controls the work of each execution device; the execution device includes a TEC drive circuit and a TEC temperature control chip.
优选的,还包括校验步骤;温度传感器实时监测激光二极管的温度信息参数,当测得的激光二极管的温度信息参数不等于预设参数时,重复上述各步骤。Preferably, a verification step is also included; the temperature sensor monitors the temperature information parameters of the laser diode in real time, and when the measured temperature information parameters of the laser diode are not equal to the preset parameters, the above steps are repeated.
优选的,通过控制算法建立控制数学模型,并植入PID控制器;根据实验验证得到PID控制器各时段的控制数据调整控制数学模型;控制数学模型可根据预设温度参数为PID控制器匹配相应的各时段控制指令。Preferably, the control mathematical model is established through the control algorithm, and the PID controller is implanted; the control data of each period of the PID controller is obtained according to the experimental verification to adjust the control mathematical model; the control mathematical model can match the corresponding PID controller according to the preset temperature parameters. Control instructions for each period of time.
与现有技术相比,本发明的有益效果在于:Compared with prior art, the beneficial effect of the present invention is:
(1)本发明脉冲激光种子源采用模糊运算与PID控制相结合的温控系统实现了一种经济、有效而且稳定的温控方案,能够在较低的功耗下实现脉冲激光种子源的温度变化控制,从而确保脉冲激光种子源功率稳定输出,控制精度高,而且效率大大提高,并且控制系统能够实现数据通信、数据处理及系统控制等处理功能,自动化程度高,速度快测量效率高,误差小,操作方便。(1) The pulsed laser seed source of the present invention adopts a temperature control system combining fuzzy operation and PID control to realize an economical, effective and stable temperature control scheme, which can realize the temperature of the pulsed laser seed source under lower power consumption. Change control, so as to ensure the stable output of pulse laser seed source power, high control accuracy, and greatly improved efficiency, and the control system can realize data communication, data processing and system control processing functions, high degree of automation, fast speed, high measurement efficiency, and error Small and easy to operate.
(2)本发明通过数字电路实现脉冲激光种子源的温度控制功能,大大降低了温度控制装置的复杂性,由于脉冲激光种子源对温度变化非常敏感,因此,温度控制精度要求比较严格,传统的PID控制技术达不到高精度的控制要求,本发明通过采用模糊运算与PID控制相结合的温度控制方法,当温度误差较大时,采用模糊算法控制,以便快速实现温度的降低;当温度误差进入微调阶段,采用PID控制算法,以便降低系统的超调量和实现温控系统的稳定控制,本发明方法具有响应速度快、超调量较小、稳定性高的优点。(2) The present invention realizes the temperature control function of the pulsed laser seed source through a digital circuit, which greatly reduces the complexity of the temperature control device. Since the pulsed laser seed source is very sensitive to temperature changes, the temperature control accuracy is relatively strict. Traditional The PID control technology cannot meet the high-precision control requirements. The present invention adopts the temperature control method combining fuzzy operation and PID control. When the temperature error is large, the fuzzy algorithm control is used to quickly reduce the temperature; when the temperature error Entering the fine-tuning stage, the PID control algorithm is adopted to reduce the overshoot of the system and realize the stable control of the temperature control system. The method of the present invention has the advantages of fast response speed, small overshoot and high stability.
(3)采用温度传感器反馈温度信号,利用模糊运算来实现在线推理,实现对温控箱温度的快速、精确控制,温控系统的响应速度快,提高了温控系统的稳定性。(3) The temperature sensor is used to feed back the temperature signal, and the fuzzy operation is used to realize online reasoning, so as to realize the rapid and precise control of the temperature of the temperature control box. The response speed of the temperature control system is fast, and the stability of the temperature control system is improved.
附图说明Description of drawings
图1为本发明一种脉冲激光种子源的温控系统的系统连接框图;Fig. 1 is the system connection block diagram of the temperature control system of a kind of pulsed laser seed source of the present invention;
图2为本发明中TEC驱动电路示意图;Fig. 2 is a schematic diagram of a TEC driving circuit in the present invention;
图3为本发明中温度传感器系统示意图;Fig. 3 is the schematic diagram of temperature sensor system in the present invention;
图4为本发明模糊PID控制器的工作原理图;Fig. 4 is the working principle figure of fuzzy PID controller of the present invention;
图5为本发明模糊PID控制器的控制系统算法程序流程图;Fig. 5 is the control system algorithm program flowchart of fuzzy PID controller of the present invention;
图6为本发明实施例中的模糊控制规则表;Fig. 6 is the fuzzy control rule table in the embodiment of the present invention;
图7为实施例中模糊控制器的控制算法流程图;Fig. 7 is the control algorithm flowchart of fuzzy controller in the embodiment;
图8为实施例中PID控制器的控制算法流程图;Fig. 8 is the control algorithm flowchart of PID controller in the embodiment;
图9为本发明实施例获得的控温数据图。Fig. 9 is a graph of temperature control data obtained in the embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合实施例,对本发明进行进一步详细说明;应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明;除非特别说明,本发明采用的试剂、方法和设备为本技术领域常规试剂、方法和设备。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail in conjunction with the following examples; it should be understood that the specific examples described here are only used to explain the present invention and are not intended to limit the present invention ; Unless otherwise specified, the reagents, methods and equipment used in the present invention are conventional reagents, methods and equipment in this technical field.
下面通过具体的实施例子并结合附图对本发明做进一步的详细描述。The present invention will be described in further detail below through specific implementation examples and in conjunction with the accompanying drawings.
实施例1Example 1
如图1所示,一种脉冲激光种子源的温控系统,包括电源模块、模糊PID控制器、TEC驱动电路、TEC温度控制芯片、激光二极管、导热板、温度传感器、显示模块、键盘控制和报警模块,所述模糊PID控制器包括模糊控制器和PID控制器,所述模糊PID控制器上连接有TEC驱动电路、温度传感器系统、显示模块、键盘控制和报警模块,TEC驱动电路一端连接模糊PID控制器,另一端连接TEC温度控制芯片,TEC温度控制芯片利用硅胶粘贴在导热板的一面,导热板的另一面用硅胶粘贴激光二极管,温度传感器中的传感器紧密连接导热板,温度传感器另一端连接模糊PID控制器,电源模块为整个系统供电。As shown in Figure 1, a temperature control system for a pulsed laser seed source includes a power module, a fuzzy PID controller, a TEC drive circuit, a TEC temperature control chip, a laser diode, a heat conduction plate, a temperature sensor, a display module, a keyboard control and An alarm module, the fuzzy PID controller includes a fuzzy controller and a PID controller, the fuzzy PID controller is connected with a TEC drive circuit, a temperature sensor system, a display module, a keyboard control and an alarm module, and one end of the TEC drive circuit is connected with a fuzzy The other end of the PID controller is connected to the TEC temperature control chip. The TEC temperature control chip is pasted on one side of the heat conduction plate with silica gel, and the laser diode is pasted on the other side of the heat conduction plate. The sensor in the temperature sensor is closely connected with the heat conduction plate. The other end of the temperature sensor Connect the fuzzy PID controller, and the power module supplies power for the whole system.
具体的,所述模糊控制器包括模糊化接口、规则库、数据库、推理机和解模糊接口。Specifically, the fuzzy controller includes a fuzzy interface, a rule base, a database, an inference engine and a defuzzification interface.
在脉冲激光种子源温控过程中,所述模糊PID控制器根据温度传感器测得的激光二极管的温度信息参数与相应的预设参数比较计算得出偏差e和偏差变化率ec,并由模糊控制器进行模糊化、建立数据库和规则库、模糊推理和去模糊化处理,得到PID控制参数的修正值,再由PID控制器控制各执行设备;所述执行设备包括TEC驱动电路、TEC温度控制芯片。During the temperature control process of the pulsed laser seed source, the fuzzy PID controller calculates the deviation e and the deviation change rate ec according to the temperature information parameters of the laser diode measured by the temperature sensor and the corresponding preset parameters, and the fuzzy control Fuzzification, establishment of database and rule base, fuzzy reasoning and defuzzification processing, to obtain the correction value of PID control parameters, and then the PID controller controls each execution device; the execution device includes TEC drive circuit, TEC temperature control chip .
其中,电源模块选用的是绿扬YB1732A直流稳压电源,TEC温度控制芯片选用的是半导体制冷片TEC1-12706,导热板选用的是铝板。Among them, the power module uses Lvyang YB1732A DC regulated power supply, the TEC temperature control chip uses semiconductor cooling chip TEC1-12706, and the heat conduction plate uses aluminum plate.
具体的,如图2所示,TEC驱动电路包括驱动芯片L298N和4个二极管,L298N是SGS(通标标准技术服务有限公司)公司的产品,是15脚Multiwatt封装,其内部包含4通道逻辑驱动电路,内含二个H桥的高电压、大电流双全桥驱动器,接收标准TTL逻辑电平信号,可驱动46V、2A以下的电机,驱动芯片L298N的第1、8和15引脚接地,第4和9引脚连接电源,第5和7引脚连接模糊PID控制器,第2引脚通过二极管D1连接电源,同时第2引脚通过二极管D2接地,第3引脚通过二极管D4连接电源,同时第3引脚通过二极管D3接地,第2和3引脚分别连接到所述TEC温度控制芯片的正极和负极。Specifically, as shown in Figure 2, the TEC drive circuit includes a drive chip L298N and 4 diodes. L298N is a product of SGS (SGS Standard Technology Service Co., Ltd.), a 15-pin Multiwatt package, which contains 4-channel logic drive The circuit contains two H-bridge high-voltage, high-current dual full-bridge drivers, which receive standard TTL logic level signals and can drive motors below 46V and 2A. The pins 1, 8 and 15 of the driver chip L298N are grounded, and the Pins 4 and 9 are connected to the power supply, pins 5 and 7 are connected to the fuzzy PID controller, pin 2 is connected to the power supply through diode D1, and pin 2 is grounded through diode D2, and pin 3 is connected to the power supply through diode D4. At the same time, the third pin is grounded through the diode D3, and the second and third pins are respectively connected to the anode and cathode of the TEC temperature control chip.
如图3所示,温度传感器包括温度传感器DS18B20、电源和电阻R1(10K欧姆),DS18B20数字温度传感器提供9-12位摄氏温度测量而且有一个由高低电平触发的可编程的不因电源消失而改变的报警功能,它的测温范围为-55~+125℃,温度传感器DS18B20的第1引脚接地,第2引脚连接模糊PID控制器,第3引脚连接电源,第2引脚通过电阻R1连接第3引脚。As shown in Figure 3, the temperature sensor includes a temperature sensor DS18B20, a power supply and a resistor R1 (10K ohms). The DS18B20 digital temperature sensor provides 9-12 digits of Celsius temperature measurement and has a programmable high and low level trigger that does not disappear due to power supply And change the alarm function, its temperature measurement range is -55 ~ +125 ℃, the first pin of the temperature sensor DS18B20 is grounded, the second pin is connected to the fuzzy PID controller, the third pin is connected to the power supply, the second pin Connect to pin 3 through resistor R1.
基于上述一种脉冲激光种子源的温控系统的控制方法,包括确定并预设脉冲激光种子源参数、获取并比较计算和参数修正并输出控制,具体步骤如下:A control method based on the above-mentioned temperature control system of a pulsed laser seed source, including determining and preset parameters of the pulsed laser seed source, obtaining and comparing calculations, parameter correction and output control, the specific steps are as follows:
S1、确定并预设脉冲激光种子源参数:通过键盘将确定的待控温度参数预设在模糊PID控制器中;S1. Determine and preset pulse laser seed source parameters: preset the determined temperature parameters to be controlled in the fuzzy PID controller through the keyboard;
S2、获取并比较计算:通过温度传感器测得激光二极管的温度信息参数,然后与相应的预设待控温度参数比较计算得出偏差e和偏差变化率ec;S2. Obtain and compare and calculate: the temperature information parameter of the laser diode is measured by the temperature sensor, and then compared with the corresponding preset temperature parameter to be controlled to obtain the deviation e and the deviation change rate ec;
S3、参数修正并输出控制:将偏差e和偏差变化率ec作为模糊控制器的输入进行模糊化,并基于大量经验数据建立规则库和数据库,然后经过模糊推理和去模糊化获得PID温控参数的修正值,并输入到PID控制器中,再由PID控制器控制各执行设备的工作;所述执行设备包括TEC驱动电路、TEC温度控制芯片。S3. Parameter correction and output control: Fuzzify the deviation e and deviation change rate ec as the input of the fuzzy controller, and establish a rule base and database based on a large amount of empirical data, and then obtain the PID temperature control parameters through fuzzy reasoning and defuzzification The correction value is input to the PID controller, and then the PID controller controls the work of each execution device; the execution device includes a TEC drive circuit and a TEC temperature control chip.
S4、校验步骤;温度传感器实时监测激光二极管的温度信息参数,当测得的激光二极管的温度信息参数不等于预设脉冲激光种子源温度参数时,重复上述各步骤。S4. Calibration step: the temperature sensor monitors the temperature information parameters of the laser diode in real time, and when the measured temperature information parameters of the laser diode are not equal to the preset pulse laser seed source temperature parameters, repeat the above steps.
在上述基础上,所述脉冲激光种子源的温控系统的控制方法,还包括通过控制算法建立控制数学模型,并植入PID控制器;根据实验验证得到PID控制器各时段的控制数据调整控制数学模型;控制数学模型可根据预设温度参数为PID控制器匹配相应的各时段控制指令。On the basis of the above, the control method of the temperature control system of the pulsed laser seed source also includes establishing a control mathematical model through a control algorithm, and implanting a PID controller; obtaining the control data adjustment control of each period of the PID controller according to experimental verification Mathematical model; the control mathematical model can match the corresponding control instructions for each period of time for the PID controller according to the preset temperature parameters.
如图4所示为模糊PID控制器的工作原理图,它通过切换开关把单一的模糊控制器和单一的PID控制器构成复合模糊PID控制器,图中系统的给定参数是温度设定值r,系统的被控参数是温度测量值y(t),模糊PID控制器是根据误差e(t)来决定采用哪种控制算法进行控制:当误差在大范围内时(如为10~100%最大温差值),采用模糊控制器来提高系统的响应速度;当误差在小范围内时(对应为0~10%最大温差值),则采用PID控制器来消除系统的稳态误差。两者的切换量起一开关作用,由软件来实现,称为“切换开关e0”,在启动阶段,即e(t)>e0,转换开关使系统在模糊控制器的作用下快速启动;进入微调阶段,即e(t)< e0,转换开关使系统在PID控制器的作用下消除误差,这样就可以把单一的模糊控制器和单一的PID控制器构成复合模糊PID控制器,本实施例中取e0为最大温差值的10%,即20×10%=2。Figure 4 shows the working principle diagram of the fuzzy PID controller. It forms a compound fuzzy PID controller by switching a single fuzzy controller and a single PID controller. The given parameter of the system in the figure is the temperature setting value r, the controlled parameter of the system is the temperature measurement value y(t), and the fuzzy PID controller decides which control algorithm to use according to the error e(t): when the error is in a large range (such as 10~100 % maximum temperature difference), use a fuzzy controller to improve the response speed of the system; when the error is within a small range (corresponding to 0~10% maximum temperature difference), use a PID controller to eliminate the steady-state error of the system. The switching value of the two acts as a switch, which is realized by software and is called "switching switch e 0 ". In the start-up phase, that is, e(t)>e 0 , the switching value makes the system start quickly under the action of the fuzzy controller ; Enter the fine-tuning stage, that is, e(t) < e 0 , the transfer switch enables the system to eliminate errors under the action of the PID controller, so that a single fuzzy controller and a single PID controller can form a compound fuzzy PID controller, In this embodiment, e 0 is taken as 10% of the maximum temperature difference, that is, 20×10%=2.
模糊PID控制器的控制系统算法程序是系统对定时器T0的中断响应程序,主要任务是根据计算处理得到的温差值e(k)的大小对模糊控制算法和PID控制算法进行选择,流程图如图5所示,其中定时器T0决定温度采样频率,e0是模糊控制和PID控制的切换阀值,本实施例中取e0=2。The control system algorithm program of the fuzzy PID controller is the interrupt response program of the system to the timer T 0 , the main task is to select the fuzzy control algorithm and the PID control algorithm according to the temperature difference value e(k) obtained by the calculation process, the flow chart As shown in FIG. 5 , the timer T 0 determines the temperature sampling frequency, and e 0 is the switching threshold between fuzzy control and PID control. In this embodiment, e 0 =2.
本发明中模糊控制器以Freescal公司的16位的MC9S12DG128单片机为核心,该MC9S12DG128单片机内部集成有8路的16位A/D转换器和8路独立的PWM控制器,可以有效地简化系统的硬件结构并且易于扩展,并支持模糊指令,可以方便地实现模糊运算程序,模糊控制器由两个输入和一个输出变量组成,输入变量分别是温度的偏差e和偏差变化率ec,偏差e取值为NB、NS、O、PS、PB,偏差变化率ec取值为NB、NS、O、PS、PB,输出变量为PID控制器的输出权重U,它的取值为O、PS、PM、PB,PID输出权重U的模糊规则表见图6。In the present invention, the fuzzy controller takes 16 MC9S12DG128 single-chip microcomputers of Freescal Company as the core, and the MC9S12DG128 single-chip microcomputers are internally integrated with 8-way 16-bit A/D converters and 8-way independent PWM controllers, which can effectively simplify the hardware of the system The structure is easy to expand, and it supports fuzzy instructions, which can easily implement fuzzy operation programs. The fuzzy controller is composed of two inputs and one output variable. The input variables are the temperature deviation e and the deviation change rate ec respectively, and the value of the deviation e is NB, NS, O, PS, PB, the value of the deviation change rate ec is NB, NS, O, PS, PB, the output variable is the output weight U of the PID controller, and its value is O, PS, PM, PB , the fuzzy rule table of PID output weight U is shown in Figure 6.
如图7所示,模糊控制器中的控制算法由程序实现,它包括两部分:一是离线计算模糊控制查询表,将模糊控制表存于模糊控制器单片机的程序存储器中;二是在实时控制过程中,模糊控制器根据某一时刻温度设定值与温度测量值的偏差值e(k)和温差变化率ec(k)的大小,经模糊化推理后直接与存储在模糊控制器单片机表中的数据比较查出输出量,精确化后再用于脉冲激光种子源温度的调节。As shown in Figure 7, the control algorithm in the fuzzy controller is implemented by a program, which includes two parts: one is to calculate the fuzzy control look-up table offline, and store the fuzzy control table in the program memory of the fuzzy controller microcontroller; During the control process, the fuzzy controller directly communicates with the value stored in the fuzzy controller microcontroller according to the deviation value e(k) and the temperature difference change rate ec(k) at a certain moment after fuzzy reasoning. The data in the table is compared to find out the output, and then it is used to adjust the temperature of the pulse laser seed source after being refined.
PID控制器子程序流程图如图8所示,当温度偏差e(k)值小于2℃时,系统从模糊控制算法切换到PID控制算法以消除静态误差,其中A、B、C分别为PID控制器的三个控制参数,通过SIMULINK仿真得到其大小,并存放在PID控制器单片机的片内ROM中;P1.1控制TEC驱动电路的驱动方向,△u(k)表示第k次温度采样时刻计算出的TEC驱动电路的温度变化量。The flow chart of the PID controller subroutine is shown in Figure 8. When the temperature deviation e(k) is less than 2°C, the system switches from the fuzzy control algorithm to the PID control algorithm to eliminate the static error, where A, B, and C are PID The three control parameters of the controller are obtained through SIMULINK simulation and stored in the on-chip ROM of the PID controller microcontroller; P1.1 controls the driving direction of the TEC drive circuit, and △u(k) represents the kth temperature sampling The temperature variation of the TEC drive circuit calculated at any time.
如图9所示,当开始时脉冲激光种子源温度为27℃,设定的温度为14℃时,利用本发明的温度控制系统对脉冲激光种子源进行温度控制,脉冲激光种子源的温度与时间的关系如图9所示,从图9可以看出,控制脉冲激光种子源温度的调节时间约为30s,系统无超调量;系统的误差为± 0.05℃。As shown in Figure 9, when the temperature of the pulsed laser seed source was 27°C at the beginning, and the set temperature was 14°C, the temperature control system of the present invention was used to control the temperature of the pulsed laser seed source, and the temperature of the pulsed laser seed source was the same as The time relationship is shown in Figure 9. It can be seen from Figure 9 that the adjustment time for controlling the temperature of the pulsed laser seed source is about 30s, and the system has no overshoot; the error of the system is ± 0.05°C.
以上所述,仅为本发明的说明实施例,并非对本发明任何形式上和实质上的限制,应当指出,对于本技术领域的普通技术人员,在不脱离本发明方法的前提下,做出的若干改进和补充也应视为本发明的保护范围;凡熟悉本专业的技术人员,在不脱离本发明精神和范围的情况下,利用以上所揭示的技术内容做出的些许更改、修饰与演变的等同变化,均为本发明的等效实施例;同时,凡依据本发明的实质技术对上述实施例所做的任何等同变化的更改、修饰与演变,均仍属于本发明的保护范围。The above is only an illustrative embodiment of the present invention, and is not intended to limit the present invention in any form and in essence. Several improvements and supplements should also be regarded as the scope of protection of the present invention; those who are familiar with this profession can use the technical content disclosed above to make some changes, modifications and evolutions without departing from the spirit and scope of the present invention. The equivalent changes are all equivalent embodiments of the present invention; at the same time, all changes, modifications and evolutions of any equivalent changes made to the above-mentioned embodiments according to the substantive technology of the present invention still belong to the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910546926.3A CN110442167A (en) | 2019-09-03 | 2019-09-03 | A kind of temperature control system and its control method in pulse laser seeds source |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910546926.3A CN110442167A (en) | 2019-09-03 | 2019-09-03 | A kind of temperature control system and its control method in pulse laser seeds source |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110442167A true CN110442167A (en) | 2019-11-12 |
Family
ID=68428959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910546926.3A Pending CN110442167A (en) | 2019-09-03 | 2019-09-03 | A kind of temperature control system and its control method in pulse laser seeds source |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110442167A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112394638A (en) * | 2020-11-16 | 2021-02-23 | 上海冷森光电科技有限公司 | PID fuzzy control adaptive laser power stabilizing technology |
WO2024179443A1 (en) * | 2023-02-28 | 2024-09-06 | 四川思创激光科技有限公司 | Laser welding machine temperature control method, system and apparatus based on fuzzy control |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105223977A (en) * | 2015-09-15 | 2016-01-06 | 盐城工学院 | A kind of semiconductor laser temperature control device based on fuzzy control and control method |
-
2019
- 2019-09-03 CN CN201910546926.3A patent/CN110442167A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105223977A (en) * | 2015-09-15 | 2016-01-06 | 盐城工学院 | A kind of semiconductor laser temperature control device based on fuzzy control and control method |
Non-Patent Citations (1)
Title |
---|
嘉红霞等: "《港口智能控制》", 30 April 2017 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112394638A (en) * | 2020-11-16 | 2021-02-23 | 上海冷森光电科技有限公司 | PID fuzzy control adaptive laser power stabilizing technology |
WO2024179443A1 (en) * | 2023-02-28 | 2024-09-06 | 四川思创激光科技有限公司 | Laser welding machine temperature control method, system and apparatus based on fuzzy control |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105223977B (en) | A kind of control method of the semiconductor laser temperature control device based on fuzzy control | |
CN110442167A (en) | A kind of temperature control system and its control method in pulse laser seeds source | |
WO2020107392A1 (en) | Fan control method and apparatus, and electronic device | |
WO2023221574A1 (en) | Temperature control method and apparatus for semiconductor light source in fiber optic current transformer, and device, storage medium and computer program product | |
CN102412498A (en) | A temperature control system suitable for pump laser | |
CN113315164B (en) | Reactive voltage control method and device, medium and computing device | |
CN113687684B (en) | Photovoltaic MPPT control method, system, medium and equipment introducing improved step size factor | |
WO2024109587A1 (en) | Dynamic control method for fuel cell system, electronic device and storage medium | |
CN118625878A (en) | Laser temperature control system based on dynamic Kalman and PID control | |
CN114967790A (en) | Laser temperature control system and method based on machine learning | |
CN114825935A (en) | Double-time-scale optimization control method of four-switch buck-boost converter | |
CN105116958A (en) | Perturbation and observation method MPPT control method and system with photovoltaic array self-adaptive step size | |
CN112548298B (en) | Self-tuning method of PID parameters of micro-resistance spot welding power source based on pattern recognition | |
CN106356893A (en) | Bi-fuzzy control method for maximum power point tracking in photovoltaic grid-connected system | |
CN118466633B (en) | Constant-temperature heating control method and related device of heating equipment | |
CN110233574A (en) | A kind of transient power adjustment control method of LCC controlled resonant converter | |
CN107461977B (en) | A kind of intelligent temperature control method of semiconductor refrigeration temperature control box | |
CN105517278A (en) | Control method and apparatus of filament currents | |
CN118398849A (en) | Temperature control method, device, medium and product of fuel cell thermal management system | |
CN203733010U (en) | DSP microprocessor-based electric resistance furnace temperature automatic control device | |
CN112256079A (en) | A kind of MPPT tracking method for inverter, storage medium and computing device | |
CN118137603A (en) | Charging and discharging balance control method for lithium ion battery pack | |
CN117175751A (en) | Charging current control method and system based on highest temperature of battery | |
CN110147137B (en) | A Variable Step MPPT Method Based on Power Limit Partition Control | |
CN112051883B (en) | Chip control method for realizing quick current response |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191112 |