Starting method for optical module with TEC (thermoelectric cooler)

文档序号:813656 发布日期:2021-03-26 浏览:14次 中文

阅读说明:本技术 带tec光模块启动方法 (Starting method for optical module with TEC (thermoelectric cooler) ) 是由 熊伟霖 陈康 丁征 于 2020-12-01 设计创作,主要内容包括:本发明公开了一种带TEC光模块启动方法,包括:S1,在光模块启动时采用至少二级攀爬模式对TEC误差进行调节,以使其达到预定的目标值或将TEC误差控制在预定的误差范围内;S2,光模块对TEC锁定误差是否在下一级的误差范围内进行判断,如果不在,根据误差值进行步进式加减,直到TEC误差在TEC锁定允许误差范围内。本发明提供一种带TEC光模块启动方法,通过二级攀爬加后一级的步进模式攀爬,配合现有的PID算法,对带TEC光模块的上电电流进行抑制,通过计算每级攀爬需要达到的电流目标值,使得TEC缓慢达到正常工作模式中,满足协议指标,有效防止光模块在启动过程中出现的涌浪电流(Inrush Current),防止击伤光模块和设备,有效保证设备的使用寿命。(The invention discloses a starting method of an optical module with a TEC, which comprises the following steps: s1, adjusting the TEC error by adopting at least two-stage climbing mode when the optical module is started to enable the TEC error to reach a preset target value or control the TEC error within a preset error range; s2, the optical module judges whether the TEC locking error is in the next-stage error range, if not, the optical module performs stepping addition and subtraction according to the error value until the TEC error is in the TEC locking allowable error range. The invention provides a starting method of an optical module with a TEC (thermoelectric cooler), which is characterized in that the power-on Current of the optical module with the TEC is inhibited by climbing in a two-stage climbing and one-stage stepping mode, and the Current target value required to be reached by climbing in each stage is calculated, so that the TEC slowly reaches the normal working mode, the protocol index is met, the surge Current (Inrush Current) of the optical module in the starting process is effectively prevented, the optical module and equipment are prevented from being damaged, and the service life of the equipment is effectively ensured.)

1. A starting method for an optical module with a TEC is characterized by comprising the following steps:

s1, adjusting the TEC error by adopting at least two-stage climbing mode when the optical module is started to enable the TEC error to reach a preset target value or control the TEC error within a preset error range;

s2, the optical module judges whether the TEC locking error is in the next-stage error range, if not, the optical module performs stepping addition and subtraction according to the error value until the TEC error is in the TEC locking allowable error range;

and S3, further optimizing by adopting a PID algorithm, continuously locking the target value, and finishing starting the light module for setting light emission.

2. The method for starting up a light module with TEC according to claim 1, comprising in step one:

s11, after the optical module is inserted, the MCU on the optical module acquires the current flowing through the TEC, and the real-time TEC error is obtained based on a preset target value;

s12, judging whether the optical module is in a primary error range or not based on the error of the TEC, if not, performing primary climbing on the optical module through a climbing formula to obtain a current target value of the TEC which passes next time, and entering a secondary climbing mode when the output current of the TEC reaches the primary target value or the error of the TEC falls into the primary error range;

s13, the optical module judges whether the error of the TEC subjected to the primary climbing is within a secondary error range, if not, the optical module conducts secondary climbing on the TEC through a climbing formula to obtain a current target value of the TEC passing next time, and when the output current of the TEC reaches the secondary target value or the error of the TEC falls within the secondary error range, the optical module enters a lower-stage stepping climbing mode.

3. The method for booting a module with TEC as described in claim 2, wherein the climbing formula is configured to:

DAC _ current ═ ((target value weight) + initial value (100-weight))/100

The DAC _ current is a current target value of the next TEC, the target value is a current value finally flowing through the TEC, the initial value is a TEC error obtained in S11 or a previous DAC _ current value, and the weight is a middle value between the initial value and the target value.

Technical Field

The present invention relates to the field of optical communications. More particularly, the present invention relates to a light module with TEC to boot for use in optical communication scenarios.

Background

The optical module with the TEC can ensure that the working wavelength of the module is in a stable range, particularly, the DWD (dense optical Multiplexing) optical module has shorter wavelength interval, higher temperature accuracy requirement and smaller size, a plurality of modules can be inserted in the working process, the power consumption requirement is higher, particularly, the requirement on the Inrush Current (Inrush Current) is higher in the power-on process of the optical module, but most of the modules have large Inrush Current in the starting process, and the optical module and the equipment have potential failure risk.

Disclosure of Invention

An object of the present invention is to solve at least the above problems and/or disadvantages and to provide at least the advantages described hereinafter.

To achieve these objects and other advantages in accordance with the purpose of the invention, there is provided a method for booting a light module with TEC, comprising:

s1, adjusting the TEC error by adopting at least two-stage climbing mode when the optical module is started to enable the TEC error to reach a preset target value or control the TEC error within a preset error range;

s2, the optical module judges whether the TEC locking error is in the next-stage error range, if not, the optical module performs stepping addition and subtraction according to the error value until the TEC error is in the TEC locking allowable error range;

and S3, further optimizing by adopting a PID algorithm, continuously locking the target value, and finishing starting the light module for setting light emission.

Preferably, in the step one, the method comprises the following steps:

s11, after the optical module is inserted, the MCU on the optical module acquires the current flowing through the TEC, and the real-time TEC error is obtained based on a preset target value;

s12, judging whether the optical module is in a primary error range or not based on the error of the TEC, if not, performing primary climbing on the optical module through a climbing formula to obtain a current target value of the TEC which passes next time, and entering a secondary climbing mode when the output current of the TEC reaches the primary target value or the error of the TEC falls into the primary error range;

s13, the optical module judges whether the error of the TEC subjected to the primary climbing is within a secondary error range, if not, the optical module conducts secondary climbing on the TEC through a climbing formula to obtain a current target value of the TEC passing next time, and when the output current of the TEC reaches the secondary target value or the error of the TEC falls within the secondary error range, the optical module enters a lower-stage stepping climbing mode.

Preferably, the climbing formula is configured to:

DAC _ current ═ ((target value weight) + initial value (100-weight))/100

The DAC _ current is a current target value of the next TEC, the target value is a current value finally flowing through the TEC, the initial value is a TEC error obtained in S11 or a previous DAC _ current value, and the weight is a middle value between the initial value and the target value.

The invention at least comprises the following beneficial effects: according to the invention, through two-stage climbing and one-stage stepping mode climbing, the electrification Current of the TEC optical module is inhibited by matching with the existing PID algorithm, the TEC slowly reaches the normal working mode by calculating the Current target value required to be reached by each stage of climbing, the protocol index is met, the surge Current (Inrush Current) of the optical module in the starting process is effectively prevented, the optical module and equipment are prevented from being damaged, and the service life of the equipment is effectively ensured.

Additional advantages, objects, and features of the invention will be set forth in part in the description which follows and in part will become apparent to those having ordinary skill in the art upon examination of the following or may be learned from practice of the invention.

Drawings

FIG. 1 is a schematic flow diagram of a three-level climbing mode in an embodiment of the present invention;

figure 2 is a schematic diagram of a three-level climbing mode in another embodiment of the present invention.

Detailed Description

The present invention is further described in detail below with reference to the attached drawings so that those skilled in the art can implement the invention by referring to the description text.

Fig. 1 shows an implementation form of a starting method for an optical module with a TEC according to the present invention, where the method includes:

s1, adjusting the TEC error by adopting at least two-stage climbing mode when the optical module is started to enable the TEC error to reach a preset target value or control the TEC error within a preset error range;

s2, the optical module judges whether the TEC locking error is in the next-stage error range, if not, the optical module performs stepping addition and subtraction according to the error value until the TEC error is in the TEC locking allowable error range;

s3, further optimizing by adopting a PID algorithm, continuously locking a target value, finishing starting the optical module for setting light emission, adopting the scheme, mainly solving the problem of surge Current (Inrush Current) of the optical module in the starting process, preventing the optical module and equipment from being damaged by impact, adopting a three-level climbing mode in the starting process of the scheme, forming the three-level climbing mode by a two-level large-span climbing mode and a one-level stepping small-amplitude adjustment type climbing mode, cooperating with the PID algorithm, restraining the electrifying Current of the TEC optical module, and enabling the TEC to slowly reach the normal working mode by calculating the Current target value required to be reached by each level of climbing, so as to meet the protocol index.

In another example, in step one, the method comprises:

s11, after the optical module is inserted, the MCU on the optical module acquires the current flowing through the TEC, and the real-time TEC error is obtained based on a preset target value;

s12, judging whether the optical module is in a primary error range or not based on the error of the TEC, if not, performing primary climbing on the optical module through a climbing formula to obtain a current target value of the TEC which passes next time, and entering a secondary climbing mode when the output current of the TEC reaches the primary target value or the error of the TEC falls into the primary error range;

s13, judging whether the error of the TEC after the primary climbing is within a secondary error range by the optical module, if not, performing secondary climbing on the TEC by a climbing formula to obtain a current target value of the TEC which passes next time, and entering a next step climbing mode when the output current of the TEC reaches the secondary target value or the error of the TEC falls within the secondary error range. In the whole electrifying process, the total current (as shown in fig. 2) exceeds the working current of the module, the climbing times can be increased according to the needs, or the second-stage climbing range is shortened to reach the target value, and in the specific operation, the working flow is as follows:

1. the module is inserted into a working environment, a system is initialized, whether the error of the TEC is within a primary error range is judged, if not, a primary climbing DAC target value is calculated according to a climbing formula, DAC _ current is ((target weight) + initial value (100-weight))/100, and when the output of the DAC reaches the primary target value or the error of the TEC reaches the primary error range, a secondary climbing mode is entered;

2. judging whether the TEC locking error is in a secondary error range, if not, calculating a secondary climbing DAC target value by a climbing formula, wherein DAC _ current is ((target weight) + initial value × (100-weight))/100, the difference between the DAC _ current and the first level difference and the second level difference is smaller, electrifying the DAC _ current is more slowly carried out until the second level target value is reached or the TEC error reaches the secondary error range, and entering a tertiary climbing mode;

3. judging whether the TEC locking error is in a three-level error range, if not, performing DAC _ current stepping addition and subtraction according to the error value until the TEC error is in the TEC locking allowable error range;

4. after the target value is reached, a PID algorithm is adopted, the DAC _ current is continuously locked, and the optical module is set to emit light;

5. and finishing power-on climbing.

In this process, DAC _ current in the climbing formula is a target value of current passing through the TEC next time, the target value is a current value finally flowing through the TEC, the initial value is a TEC error obtained at S11 or a DAC _ current value at the previous time, and the weight is an intermediate value between the initial value and the target value.

In the working process, the error of the TEC current value can be relatively reduced through two stages or even more climbing times, the TEC current value can approach to the target value of the TEC actual work more, meanwhile, the step-by-step descending fine adjustment is carried out on the range exceeding through the step-by-step climbing mode of the rear stage, the step-by-step ascending fine adjustment is carried out on the range not exceeding, and further the target value is closer to the target value, the step range can be adjusted in real time according to needs in the process, if the error difference is smaller, the step value is set to be 1 or 3 if the step range is small, if the error difference is larger, the step value is set to be 5 or 10 if the step range is small, and further the occurrence of large surge current in the second stage of a part of modules is. In the whole power-on process, the total Current is the working Current exceeding the module as shown in fig. 2, the power-on Current of the TEC optical module is restrained, and the DAC _ Current is calculated to slowly reach the normal working mode so as to meet the protocol index.

The above scheme is merely illustrative of a preferred example, and is not limiting. When the invention is implemented, appropriate replacement and/or modification can be carried out according to the requirements of users.

The number of apparatuses and the scale of the process described herein are intended to simplify the description of the present invention. Applications, modifications and variations of the present invention will be apparent to those skilled in the art.

While embodiments of the invention have been disclosed above, it is not intended to be limited to the uses set forth in the specification and examples. It can be applied to all kinds of fields suitable for the present invention. Additional modifications will readily occur to those skilled in the art. It is therefore intended that the invention not be limited to the exact details and illustrations described and illustrated herein, but fall within the scope of the appended claims and equivalents thereof.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种热调谐半导体芯片及其制备方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类