CN100589057C - Control device of temperature of tube core of laser based on SCM and its control flow - Google Patents

Control device of temperature of tube core of laser based on SCM and its control flow Download PDF

Info

Publication number
CN100589057C
CN100589057C CN200610125208A CN200610125208A CN100589057C CN 100589057 C CN100589057 C CN 100589057C CN 200610125208 A CN200610125208 A CN 200610125208A CN 200610125208 A CN200610125208 A CN 200610125208A CN 100589057 C CN100589057 C CN 100589057C
Authority
CN
China
Prior art keywords
analog
temperature
digital
refrigerator
driver
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.)
Active
Application number
CN200610125208A
Other languages
Chinese (zh)
Other versions
CN1971468A (en
Inventor
陈龙
高繁荣
王飚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Telecommunication Devices Co Ltd
Original Assignee
Wuhan Telecommunication Devices Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Telecommunication Devices Co Ltd filed Critical Wuhan Telecommunication Devices Co Ltd
Priority to CN200610125208A priority Critical patent/CN100589057C/en
Publication of CN1971468A publication Critical patent/CN1971468A/en
Application granted granted Critical
Publication of CN100589057C publication Critical patent/CN100589057C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a laser tube core temperature controller and control flow path based on the single chip machine, it relates to a laser tube core temperature controller and programming with singlechip. The invention comprises singlechip (1), analogue/digital converter (2), digital/analogue converter (3), driver (4), laser (5), temperature sensor (6), refrigerator (7); or the temperature sensor (6) and refrigerator (7) are located near the laser (5), or the temperature sensor (6) and refrigerator (7) are integrated in the laser (5); the temperature sensor (6), the analogue/digital converter (2), the singlechip (1), the digital/analogue converter (3), the driver (4) and the refrigerator (7) are connected in turn; the driver (4) is connected with the analogue/digital converter (2). Theinvention adopts the single chip machine to intelligent control, the digit PID algorithm is also adopted, the control accuracy is high; it adopts the integrated chip, so the design is simple; the cost is low.

Description

SCM Based control device of temperature of tube core of laser and control flow thereof
Technical field
This explanation relates to a kind of control device of temperature of tube core of laser and Single Chip Microcomputer (SCM) program design, relates in particular to a kind of SCM Based control device of temperature of tube core of laser and control flow thereof.
Background technology
In the Optical Fiber Transmission dwdm system, for the optical wavelength that guarantees the laser instrument emission is stablized, need the laser tube core temperature to remain unchanged in the course of the work, so a lot of laser instruments are inner integrated refrigerator and temperature sensor, adopt outside Tec Driver output refrigerator drive current, reach the purpose of the cooling that heats up.Usually way was to adopt complicated control circuit according to temperature control refrigeration electric current in the past, this way circuit complexity, and control accuracy is not high, and operating temperature range is also limited.
In engineering reality, the regulator control law that is most widely used is ratio, integration, differential control, is called for short PID control, claims PID to regulate again.The PID controller existing so far nearly 70 years history of coming out, it is simple in structure with it, good stability, reliable operation, easy to adjust and become one of major technique of Industry Control.When the structure and parameter of controlled device can not be on top of, or when can not get precise math model, when other technology of control theory was difficult to adopt, the structure and parameter of system controller must rely on experience and field adjustable to determine, at this moment the thereof using PID control technology is the most convenient.
Summary of the invention
This illustrative purposes just is to overcome the shortcoming and defect that prior art exists, and a kind of SCM Based control device of temperature of tube core of laser and control flow thereof are provided, and realizes that circuit is succinct, control effectively, and the degree of accuracy height is used and made things convenient for.
This illustrative purposes is achieved in that
One, hardware configuration:
As Fig. 1, this explanation is made up of single-chip microcomputer 1, analog to digital converter (ADC) 2, digital to analog converter (DAC) 3, driver (Tec Driver) 4, laser instrument 5, temperature sensor 6, refrigerator 7;
Or near laser instrument 5, be provided with temperature sensor 6 and refrigerator 7, or at laser instrument 5 inner integrated temperature sensor 6 and refrigerators 7;
Temperature sensor 6, analog to digital converter 2, single-chip microcomputer 1, digital to analog converter 3, driver 4, refrigerator 7 connect successively;
Driver 4 is connected with analog to digital converter 2.
Two, principle of work
Temperature sensor 6 is that voltage signal is delivered to analog to digital converter 2 with temperature inversion, and analog to digital converter 2 is converted into digital quantity with voltage, and single-chip microcomputer 1 reads the digital quantity that analog to digital converter 2 transforms, through calculating the die temperature that can obtain laser instrument 1; Go out the controlled quentity controlled variable of corresponding driving device 4 then by the digital PID algorithm computation; Single-chip microcomputer 1 linking number weighted-voltage D/A converter 3 makes it export the corresponding refrigeration electric current of these controlled quentity controlled variable Control Driver 4 outputs and gives refrigerator 7, thereby reaches the constant effect of die temperature that keeps laser instrument 5; Driver 4 reports single-chip microcomputer 1 with refrigeration size of current at this moment by analog to digital converter 2, and single-chip microcomputer 1 can know that the refrigeration size of current of this moment is excessive to prevent the refrigeration electric current, guarantees laser instrument 1 trouble free service.
Three, digital PID algorithm
In the simulation system, the pid algorithm expression formula is:
Pt = Kp · [ e ( t ) + 1 Ti ∫ e ( dt ) + Td · de ( t ) d ( t ) ]
Because Single-chip Controlling is a kind of controlling of sampling, it can only come the calculation control amount according to the deviate of sampling instant, therefore at first will carry out discretize and handle, and obtains formula and is:
Figure C20061012520800052
(T is the sampling period)
If Ki=Kp*T/Ti, Kd=Kp*Td/T.
Proportional: Pp (k)=Pp (k)=KpE (k)
Integral:
Figure C20061012520800053
Differential term: Pd (k)=Kd[E (k)-E (k-1)]
Be the algorithm of digital PID, Kp wherein, Ki, Kd are crucial 3 parameters.
Apply to native system, then P (k) is the refrigeration current value that at every turn needs setting, E (k)=M (k)-R, and E (k) is for measuring the difference of temperature and design temperature, and M (k) measures temperature value for this, and R is for presetting the temperature value that need reach.(Kp Ki.Kd), only need configure the stable control that temperature value when stablizing can be realized temperature must to reach the parameter value of desirable state of a control by experiment.
Four, control flow
As Fig. 2, control flow divides three parts: master routine part, PID control section and timer break in service part.
1, master routine
As Fig. 2 .1, master routine is followed successively by: beginning A, and initial configuration B, ADC sign zero clearing and timer interrupt C, ADC flag set D measures temperature voltage by ADC, and calculates temperature value E, and PID controls F, DAC G is set, measures refrigeration current feedback value H, clear ADC sign I by ADC;
In detail, beginning A carries out initial configuration B to single-chip microcomputer, comprises clock, port, timer etc., and to some variable assignments, as the Several Parameters of PID control, integral initial value etc.; Remove the ADC zone bit then, and allow timer to interrupt C; Enter main loop body, check that whether ADC indicates set D, if set, then measure temperature voltage value this moment by ADC, and calculate current temperature value E according to the corresponding relation of temperature and voltage, adopt pid control algorithm F then, needing to obtain the DAC magnitude of voltage of setting, be set to the output G of DAC; After setting is finished, measure the value of feedback H of the electric current that freezes this moment by ADC, the electric current that prevents to freeze surpasses safe range; Remove ADC sign I at last, once the sampling circulation is finished.
2, PID control
As Fig. 2 .2, the PID control program be input as temperature value, be output as the DAC controlled quentity controlled variable;
PID control is followed successively by: calculation deviation F1, calculate controlled quentity controlled variable F2 according to the PID formula, and controlled quentity controlled variable surpasses maximal value F3, and controlled quentity controlled variable is made as maximal value F4, and controlled quentity controlled variable is less than minimum value F5, and controlled quentity controlled variable is made as minimum value F6, exports controlled quentity controlled variable F7 at last.
In detail, at first the temperature value of input is obtained departure F1 with temperature value last time, obtain the controlled quentity controlled variable F2 of this moment then according to the PID formula; Relatively whether controlled quentity controlled variable surpasses maximal value F3, if surpass maximal value, then controlled quentity controlled variable is made as maximal value F4; Then relatively controlled quentity controlled variable whether less than minimum value F5, if less than minimum value then be made as minimum value F6.Export controlled quentity controlled variable F7 at last.
3, timer interrupts
As Fig. 2 .3, timer interrupts being followed successively by: clear interrupt identification S1, ADC flag set S2, the timer S3 that resets, finish S4.
In detail, the set to the ADC sign is finished in the timer break in service, and the expression employing cycle has arrived, and can sample next time.Interrupt routine is interrupting according to predefined timing cycle generation interrupt request, making CPU enter interrupt service routine under the situation about allowing.After entering interrupt service routine, at first remove interrupt identification S1,, and, withdraw from interrupt service routine S4 then the counter reset S3 of timer then with ADC flag set S2.
In the time of utilization the method, in order to reach reasonable control effect, key is the setting of the controlled variable of PID, can be according to test, constantly change the sampling period (being timer cycle), scale-up factor (Pk), integral coefficient (Pi) and differential coefficient (Pd) obtain more satisfactory control effect.
This explanation has following advantage and good effect:
1,, adopts the digital PID algorithm, the control accuracy height by the single-chip microcomputer Based Intelligent Control.
2, adopt integrated chip, simplicity of design, circuit is succinct.
3, with low cost.
Description of drawings
Fig. 1-this control device structured flowchart;
The main flow chart of this control program of Fig. 2 .1-;
The PID control flow chart of this control program of Fig. 2 .2-;
The timer of this control program of Fig. 2 .3-interrupts process flow diagram.
Wherein:
The 1-single-chip microcomputer;
2-analog to digital converter (ADC);
3-digital to analog converter (DAC);
4-driver (Tec Driver);
The 5-laser instrument;
The 6-temperature sensor;
The 7-refrigerator.
Embodiment
One, each parts
1, single-chip microcomputer 1
Single-chip microcomputer 1 is selected the C8051F330 of Silabs for use.
2, analog to digital converter 2
Analog to digital converter 2 is selected 10 inner integrated Precision A C of C8051F330 for use.
3, digital to analog converter 3
Digital to analog converter 3 is selected 10 inner integrated precision current-output type DAC of C8051F330 for use.
4, the refrigerator driver 4
Refrigerator driver 4 is selected the MAX8521 of Maxim for use.
5, laser instrument 5
Laser instrument 5 is selected the TLA10X of Apogee for use.
6, temperature sensor 5
The inner integrated NTC type thermistor of TLA10X is as temperature sensor.
Two, integrated
Because at present a lot of all integrated ADC in single-chip microcomputer inside and DAC, so above-mentioned several functional modules are can simple several chips integrated, make circuit more succinct, improved reliability.

Claims (2)

1, a kind of SCM Based control device of temperature of tube core of laser is characterized in that:
Form by single-chip microcomputer (1), analog to digital converter (2), digital to analog converter (3), driver (4), laser instrument (5), temperature sensor (6), refrigerator (7);
Or near laser instrument (5), be provided with temperature sensor (6) and refrigerator (7), or laser instrument (5) inner integrated temperature sensor (6) and refrigerator (7);
Temperature sensor (6), analog to digital converter (2), single-chip microcomputer (1), digital to analog converter (3), driver (4), refrigerator (7) connect successively;
Driver (4) is connected with analog to digital converter (2);
Temperature sensor (6) is that voltage signal is delivered to analog to digital converter (2) with temperature inversion, analog to digital converter (2) is converted into digital quantity with voltage, single-chip microcomputer (1) reads the digital quantity that analog to digital converter (2) transforms, through calculating the die temperature that can obtain laser instrument (1); Go out the controlled quentity controlled variable of corresponding driving device (4) then by the digital PID algorithm computation; Single-chip microcomputer (1) linking number weighted-voltage D/A converter (3) makes it export the corresponding refrigeration electric current of this controlled quentity controlled variable Control Driver (4) output and gives refrigerator (7), thereby reaches the constant effect of die temperature that keeps laser instrument (5); Driver (4) reports single-chip microcomputer (1) with refrigeration size of current at this moment by analog to digital converter (2), and single-chip microcomputer (1) can know that the refrigeration size of current of this moment is excessive to prevent the refrigeration electric current, guarantees laser instrument (1) trouble free service;
Described single-chip microcomputer 1 is selected the C8051F330 of Silabs for use;
Described analog to digital converter 2 is selected 10 inner integrated Precision A C of C8051F330 for use;
Described digital to analog converter 3 is selected 10 inner integrated precision current-output type DAC of C8051F330 for use;
Described refrigerator driver 4 is selected the MAX8521 of Maxim for use;
Described laser instrument 5 is selected the TLA10X of Apogee for use;
Described TLA10X is inner integrated NTC type thermistor is as temperature sensor.
2, a kind of control flow of SCM Based control device of temperature of tube core of laser is characterized in that:
1. master routine is followed successively by: beginning (A), initial configuration (B), ADC sign zero clearing and timer interrupt (C), ADC flag set (D), measure temperature voltage and calculate temperature value (E) by ADC, PID controls (F), and DAC (G) is set, measure refrigeration current feedback value (H), clear ADC sign (I) by ADC;
2. the RID control program be input as temperature value, be output as the DAC controlled quentity controlled variable;
PID control is followed successively by: calculation deviation (F1), calculate controlled quentity controlled variable (F2) according to the PID formula, and controlled quentity controlled variable surpasses maximal value (F3), controlled quentity controlled variable is made as maximal value (F4), controlled quentity controlled variable is less than minimum value (F5), and controlled quentity controlled variable is made as minimum value (F6), exports controlled quentity controlled variable (F7) at last;
3. timer interrupts being followed successively by: clear interrupt identification (S1), and ADC flag set (S2), timer resets (S3), finishes (S4).
CN200610125208A 2006-11-30 2006-11-30 Control device of temperature of tube core of laser based on SCM and its control flow Active CN100589057C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610125208A CN100589057C (en) 2006-11-30 2006-11-30 Control device of temperature of tube core of laser based on SCM and its control flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610125208A CN100589057C (en) 2006-11-30 2006-11-30 Control device of temperature of tube core of laser based on SCM and its control flow

Publications (2)

Publication Number Publication Date
CN1971468A CN1971468A (en) 2007-05-30
CN100589057C true CN100589057C (en) 2010-02-10

Family

ID=38112320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610125208A Active CN100589057C (en) 2006-11-30 2006-11-30 Control device of temperature of tube core of laser based on SCM and its control flow

Country Status (1)

Country Link
CN (1) CN100589057C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101975669A (en) * 2010-09-10 2011-02-16 长春轨道客车股份有限公司 Method for detecting heating function of sanding device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100527036C (en) * 2007-09-07 2009-08-12 中国科学院上海光学精密机械研究所 Temperature control system of semiconductor laser
CN101954191B (en) * 2010-08-25 2013-05-01 颜小洋 Intelligent entertainment mobile robot
CN103337786B (en) * 2013-05-29 2015-12-23 中国科学院半导体研究所 Tunable laser module
CN103488214B (en) * 2013-09-05 2015-10-07 多禾试验设备(上海)有限公司 A kind of fast temperature change test unit
CN104181955A (en) * 2014-08-29 2014-12-03 四川华拓光通信股份有限公司 Method for achieving semiconductor cooler control loop based on software
CN110262591B (en) * 2019-06-17 2021-06-04 青岛海信宽带多媒体技术有限公司 Temperature adjusting method of optical module and optical module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101975669A (en) * 2010-09-10 2011-02-16 长春轨道客车股份有限公司 Method for detecting heating function of sanding device
CN101975669B (en) * 2010-09-10 2012-06-27 长春轨道客车股份有限公司 Method for detecting heating function of sanding device

Also Published As

Publication number Publication date
CN1971468A (en) 2007-05-30

Similar Documents

Publication Publication Date Title
CN100589057C (en) Control device of temperature of tube core of laser based on SCM and its control flow
CN103309371B (en) Intermittent reactor control system based on control variable parameterization method
CN101175352B (en) Numerical control driving method and device of super-radiance light emitting diode
WO2014185141A1 (en) Simulation method, recording medium wherein simulation program is stored, simulation device, and system
CN103809244A (en) System and method for controlling heating of optical fiber hot stripping device
CN103279155B (en) Temperature control system
CN102939518A (en) Flow rate measuring device
CN101637711A (en) Method and device for efficiently controlling temperature of reaction kettle
CN106773652A (en) A kind of PID systems and its parameter automatic adjusting method
Zhang et al. Design of PID temperature control system based on STM32
CN106706708A (en) Control method of rapid high-precision cold mirror type dew-point instrument
CN105353811B (en) A kind of intelligent temperature control system and its control method for liquid nitrogen cryogenics device
CN100445918C (en) Intelligent temperature control equipment
CN108700850A (en) A kind of PID adjusts algorithm, PID regulator and PID regulating systems
CN103604826B (en) A kind of vapor-liquid equilibrium phasor of binary liquid solution is experiment and analytical equipment automatically
CN106020321A (en) Bias voltage fully-automatic temperature compensation method for APD array chip
Sekhar et al. Implementation of low-cost MEMS based temperature measurement and control system using Lab VIEW and microcontroller
CN102955482A (en) Intelligent linear temperature rise control device
CN102129263A (en) Method for heating measured material for moisture instrument
CN204256387U (en) A kind of TEC four-wire measurement mode digital processing system
CN111077923A (en) Air supply system of airborne blasting device and control method thereof
Li et al. High power laser constant temperature control system
Lin A kind of intelligent temperature controller use PID algorithm to realize
US20080215188A1 (en) Temperature Control Method and Temperature Controller
CN204925831U (en) Semiconductor laser temperature control device based on fuzzy control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant