[go: up one dir, main page]

CN115390453B - A method for linear control of laser controller - Google Patents

A method for linear control of laser controller Download PDF

Info

Publication number
CN115390453B
CN115390453B CN202211073225.0A CN202211073225A CN115390453B CN 115390453 B CN115390453 B CN 115390453B CN 202211073225 A CN202211073225 A CN 202211073225A CN 115390453 B CN115390453 B CN 115390453B
Authority
CN
China
Prior art keywords
output
input
laser
data table
ideal
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
CN202211073225.0A
Other languages
Chinese (zh)
Other versions
CN115390453A (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.)
Hefei Zhongqun Photoelectric Technology Co ltd
Original Assignee
Hefei Zhongqun Photoelectric Technology 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 Hefei Zhongqun Photoelectric Technology Co ltd filed Critical Hefei Zhongqun Photoelectric Technology Co ltd
Priority to CN202211073225.0A priority Critical patent/CN115390453B/en
Publication of CN115390453A publication Critical patent/CN115390453A/en
Application granted granted Critical
Publication of CN115390453B publication Critical patent/CN115390453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
    • G05B13/042Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Lasers (AREA)

Abstract

本发明公开了一种激光控制器线性控制的方法,属于激光控制技术领域,将激光器的全部通道开启,获取激光器的有效输入范围,根据获得的有效输入范围测量激光器在有效输入范围内的数据输出,将输入数据和输出数据整合记录为数据表T1;在激光器一组或多组通道开启的前提下,测量激光器在有效输入范围内的数据输出,输出数据范围与数据表T1以及最终期望控制的线性输出区间有交集,记录输入输出数据表T2以及对应的通道信息Ch;将数据表T1和数据表T2导入到激光器控制器中,并在驱动内部根据导入的数据表T1以及数据表T2分别通过线性拟合计算激光器控制的线性参数L1及L2

The invention discloses a method for linear control of a laser controller, belonging to the technical field of laser control. All channels of a laser are turned on, an effective input range of the laser is obtained, data output of the laser within the effective input range is measured according to the obtained effective input range, and the input data and output data are integrated and recorded as a data table T1 ; under the premise that one or more groups of channels of the laser are turned on, the data output of the laser within the effective input range is measured, the output data range has an intersection with the data table T1 and the linear output interval of the final desired control, and the input and output data table T2 and corresponding channel information Ch are recorded; the data table T1 and the data table T2 are imported into the laser controller, and the linear parameters L1 and L2 of the laser control are calculated by linear fitting in the driver according to the imported data table T1 and the data table T2 .

Description

Linear control method of laser controller
Technical Field
The invention belongs to the technical field of laser control, and particularly relates to a method for linearly controlling a laser controller.
Background
The laser controller generally adopts current or voltage to drive the light source module, because various reasons such as light source characteristics, optical fiber assembly and the like can cause that the light source is not excited when the current or voltage input value of the controller is smaller than a certain threshold value, and after the current or voltage is excited, the input value and the emergent light power of the optical fiber outlet do not start from an output 0 value and do not show a linear relation. In the actual working process, a user can adjust the expected output of the laser at any time according to the process, in a laser controller which does not realize linear control, the specific output cannot be predicted, and the input value cannot be simply quantized according to the process requirement, in addition, in some special processes, the user can expect the same linear expression with the linear output interval in a low output range, so the invention provides a method for linear control of the laser controller for solving the problem.
Disclosure of Invention
In order to solve the problems of the scheme, the invention provides a method for linearly controlling a laser controller.
The aim of the invention can be achieved by the following technical scheme:
A method for linear control of a laser controller specifically comprises the following steps:
Opening all channels of a laser, acquiring an effective input range of the laser, measuring data output of the laser in the effective input range according to the acquired effective input range, and integrating and recording input data and output data into a data table T 1;
Step two, under the premise that one or more groups of channels of the laser are opened, measuring data output of the laser in an effective input range, intersecting the output data range with a data table T 1 and a linear output interval which is finally expected to be controlled, and recording input/output data table T 2 and corresponding channel information Ch;
Step three, importing a data table T 1 and a data table T 2 into a laser controller, respectively calculating linear parameters L 1 and L 2 controlled by a laser in a driving mode according to the imported data table T 1 and the imported data table T 2 through linear fitting, and recording an input and output extremum of the data table T 1 and an input and output extremum of the data table T 2;
Step four, when the laser is turned on, calculating the expected output value of the user according to the input value I ideal of the user and the linear parameter L 1
Step five, according to the expected output value O ideal calculated in the step four, searching an output interval [ O n,On+1 ] where O ideal is located and a corresponding input interval [ I n,In+1 ] in a data table T 1, and calculating a current ideal laser driving input value I ideal;
step five, when the input value searching is successful, the input value I ideal is appointed to control the laser driver and the opening of all channels of the laser, and the whole working flow is finished;
Step seven, if the expected output value O ideal is smaller than the minimum output value Min output in the data table T 1, searching the output interval [ O 'n,O'n+1 ] where the expected output value O ideal is located and the corresponding input interval [ I' n,I'n+1 ] in the imported data table T 2, calculating the current ideal laser driving input value I 'ideal, controlling the laser driver according to the specified input value I' ideal parameters after searching successfully, and controlling the laser controller to turn on the laser according to the channel information Ch recorded in the data table T 2, so as to complete the linear correction of the laser controller.
Further, the method ,T1=[I0,O0][I1,O1]…[Ik,Ok][Ik+1,Ok+1].
Further, the method ,T2=[I'0,O'0][I'1,O'1]…[I'k,O'k][I'k+1,O'k+1].
Further, the input/output extremum of the data table T 1 is Min input、Maxinput、Minoutput、Maxoutput;
The input/output extremum of the data table T 2 is Min' input、Max'input、Min'output、Max'output.
Further, the method comprises the steps of,
Further, the method comprises the steps of,
Further, at least one global set of input/output data tables needs to be imported when importing input/output data.
Further, in making the linearity correction, the global input-output data table parameters are preferentially used.
Compared with the prior art, the method has the advantages that data test is simple and convenient to import, the control precision of the data step length according to the imported data table is high, part of the channel data table can be adjusted at any time to use each channel in a rotating mode, the problem that the channel light source is attenuated to prolong the service life of the light source due to the fact that one or more channels are used for a long time in low output time is avoided, and the method is controllable in low output range and has linear performance.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is a table of full channel I/O data for a laser according to the present invention;
FIG. 3 is a table of partial channel I/O data for a laser according to the present invention.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1 to 3, a method for linear control of a laser controller specifically includes:
Opening all channels of a laser, acquiring an effective input range of the laser, measuring data output of the laser in the effective input range according to the acquired effective input range, and integrating and recording input data and output data into a data table T 1;
Wherein T1=[I0,O0][I1,O1]…[Ik,Ok][Ik+1,Ok+1],I is the input control current value, possibly voltage or other quantifiable control signal, O is the actual measured power output, possibly illuminance or other quantifiable measured value;
Step two, under the premise that one or more groups of channels of the laser are opened, measuring data output of the laser in an effective input range, intersecting the output data range with a data table T 1 and a linear output interval which is finally expected to be controlled, and recording input/output data table T 2 and corresponding channel information Ch;
Wherein the method comprises the steps of ,T2=[I'0,O'0][I'1,O'1]…[I'k,O'k][I'k+1,O'k+1];
Step three, importing a data table T 1 and a data table T 2 into a laser controller, respectively calculating linear parameters L 1 and L 2 controlled by a laser in a driving mode according to the imported data table T 1 and the imported data table T 2 through linear fitting, and recording an input and output extremum of the data table T 1 and an input and output extremum of the data table T 2;
the input/output extremum of the data table T 1 is Min input、Maxinput、Minoutput、Maxoutput;
The input/output extremum of the data table T 2 is Min' input、Max'input、Min'output、Max'output.
The linear parameters L 1 and L 2 controlled by the laser are calculated in the driving by linear fitting according to the imported data table T 1 and the imported data table T 2 respectively, and the corresponding linear parameters L 1 and L 2 can be fitted according to the data table T 1 and the data table T 2 by the existing linear fitting method, and the corresponding straight lines can be fitted according to the corresponding point position distribution according to the existing mathematical method, so that the specific fitting process is not described in detail.
Step four, when the laser is turned on, calculating the expected output value of the user according to the input value I ideal of the user and the linear parameter L 1
Because the linear parameter L 1 is fitted, a corresponding fitting straight line y=ax+b can be obtained according to the linear parameter L 1, and the input value I ideal of the user is taken into the fitting straight line as x, so as to obtain a corresponding y value, namely, a desired output value of the user.
Step five, according to the expected output value O ideal calculated in the step four, searching an output interval [ O n,On+1 ] where O ideal is located and a corresponding input interval [ I n,In+1 ] in a data table T 1, and calculating a current ideal laser driving input value I ideal;
step five, when the input value searching is successful, the input value I ideal is appointed to control the laser driver and the opening of all channels of the laser, and the whole working flow is finished;
Step seven, if the expected output value O ideal is smaller than the minimum output value Min output in the data table T 1, searching the output interval [ O 'n,O'n+1 ] where the expected output value O ideal is located and the corresponding input interval [ I' n,I'n+1 ] in the imported data table T 2, calculating the current ideal laser driving input value I 'ideal, controlling the laser driver according to the specified input value I' ideal parameters after searching successfully, and controlling the laser controller to turn on the laser according to the channel information Ch recorded in the data table T 2.
The laser controller is thus linearly calibrated.
At least one global set of I/O data tables need to be imported when I/O data is imported.
In the linear correction, the global input/output data table parameters are preferably used.
The above formulas are all formulas with dimensions removed and numerical values calculated, the formulas are formulas which are obtained by acquiring a large amount of data and performing software simulation to obtain the closest actual situation, and preset parameters and preset thresholds in the formulas are set by a person skilled in the art according to the actual situation or are obtained by simulating a large amount of data.
The working principle of the invention is as follows: s1, under the premise that all channels of the laser are enabled to be opened, measuring the output in the effective input range of the laser, and recording an input/output data table; s2, under the premise that partial channels (one or more groups) of the laser are enabled to be opened, measuring output in an effective input range of the laser, wherein the output data range needs to intersect with the output range of the data table recorded in the S1 and a linear output interval which is finally expected to be controlled, and recording a current input/output data table; s3, importing the S1 data table and the S2 data table into a laser controller, the linear parameters controlled by the laser are calculated in the controller through linear fitting according to the imported S1 data table and S2 data table respectively; s4, when the laser is turned on, calculating the expected output value of the user according to the input value of the user and the linear parameter of the S1 data table; s5, according to the expected output value calculated in the S4, preferentially searching an input value which is required to be used by the laser controller when the expected output value is searched in the S1 data table, and calculating in a linear interpolation mode in a section; s6, in the step S5, if the input value searching is successful, controlling a laser driver and controlling the opening of the full channel of the laser according to the specified input value parameter, and ending the whole working flow; s7, if the expected output value of S4 is smaller than the minimum value in the S1 data table, the input value which should be used by the laser controller when the expected output value is searched in the imported S2 data table, the interval is calculated in a linear interpolation mode, after the search is successful, the laser driver is controlled according to the designated input value parameter, and the laser channel is opened according to the channel information recorded in the S2 data table, so that the linear correction of the laser controller is completed.
The above embodiments are only for illustrating the technical method of the present invention and not for limiting the same, and it should be understood by those skilled in the art that the technical method of the present invention may be modified or substituted without departing from the spirit and scope of the technical method of the present invention.

Claims (6)

1. A method for linear control of a laser controller is characterized in that the method comprises the following steps:
Opening all channels of a laser, acquiring an effective input range of the laser, measuring data output of the laser in the effective input range according to the acquired effective input range, and integrating and recording input data and output data into a data table T 1;
Step two, under the premise that one or more groups of channels of the laser are opened, measuring data output of the laser in an effective input range, intersecting the output data range with a data table T 1 and a linear output interval which is finally expected to be controlled, and recording input/output data table T 2 and corresponding channel information Ch;
Step three, importing a data table T 1 and an input/output data table T 2 into a laser controller, respectively calculating linear parameters L 1 and L 2 controlled by a laser in a driving mode according to the imported data table T 1 and the imported/output data table T 2 through linear fitting, and recording an input/output extremum of the data table T 1 and an input/output extremum of the input/output data table T 2;
Step four, when the laser is turned on, calculating the expected output value of the user according to the input value I ideal of the user and the linear parameter L 1
Step five, according to the expected output value O ideal calculated in the step four, searching an output interval [ O n,On+1 ] where O ideal is located and a corresponding input interval [ I n,In+1 ] in a data table T 1, and calculating a current ideal laser driving input value I ideal;
step five, when the input value searching is successful, the input value I ideal is appointed to control the laser driver and the opening of all channels of the laser, and the whole working flow is finished;
Step seven, if the expected output value O ideal in the step four is smaller than the minimum value output value Min output in the data table T 1, searching an output interval [ O 'n,O'n+1 ] where the expected output value O ideal is located and a corresponding input interval [ I' n,I'n+1) in the imported input-output data table T 2, calculating a current ideal laser driving input value I 'ideal, controlling a laser driver according to the specified input value I' ideal parameter after searching is successful, and controlling a laser controller to open the laser according to channel information Ch recorded in the input-output data table T 2, so as to complete the linear correction of the laser controller;
2. A method of linear control of a laser controller as claimed in claim 1, wherein ,T1=[I0,O0][I1,O1]…[Ik,Ok][Ik+1,Ok+1].
3. A method of linear control of a laser controller as claimed in claim 1, wherein ,T2=[I'0,O'0][I'1,O'1]…[I'k,O'k]['k+1,O'k+1].
4. The method of claim 1, wherein the input/output extremum of the data table T 1 is Min input、Maxinput、Minoutput、Maxoutput;
The input/output extremum of the over-input/output data table T 2 is Min' input、Max'input、Min'output、Max'output.
5. A method of linear control of a laser controller according to claim 1, characterized in that at least one global input output data table T 2 is required to be imported when importing input output data.
6. A method of linear control of a laser controller according to claim 1, wherein global input output data table parameters are preferentially used in making the linear correction.
CN202211073225.0A 2022-09-02 2022-09-02 A method for linear control of laser controller Active CN115390453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211073225.0A CN115390453B (en) 2022-09-02 2022-09-02 A method for linear control of laser controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211073225.0A CN115390453B (en) 2022-09-02 2022-09-02 A method for linear control of laser controller

Publications (2)

Publication Number Publication Date
CN115390453A CN115390453A (en) 2022-11-25
CN115390453B true CN115390453B (en) 2025-01-24

Family

ID=84124255

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211073225.0A Active CN115390453B (en) 2022-09-02 2022-09-02 A method for linear control of laser controller

Country Status (1)

Country Link
CN (1) CN115390453B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449946A (en) * 2019-08-05 2022-05-06 捷锐士阿希迈公司(以奥林巴斯美国外科技术名义) Laser control using spectrometer

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH079710B2 (en) * 1985-11-30 1995-02-01 シャープ株式会社 Light control device for semiconductor laser
US6850806B2 (en) * 1999-04-16 2005-02-01 Siemens Energy & Automation, Inc. Method and apparatus for determining calibration options in a motion control system
US7433375B2 (en) * 2003-10-09 2008-10-07 National Semiconductor Corporation Laser trim and compensation methodology for passively aligning optical transmitter
GB2506375B (en) * 2012-09-27 2017-10-18 Epistem Ltd Data processing and analysis systems
WO2014094827A1 (en) * 2012-12-18 2014-06-26 Lemoptix Sa A laser driver and method of operating a laser
EP2908391A1 (en) * 2014-02-17 2015-08-19 Alcatel Lucent Method for controlling the wavelength of a laser source
CN114174918B (en) * 2019-05-31 2024-03-22 巴科股份有限公司 Color point calibration method and system for light source projector
CN112600069B (en) * 2021-03-03 2021-11-23 中科慧远视觉技术(北京)有限公司 Constant-current driving circuit of multi-step laser and control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449946A (en) * 2019-08-05 2022-05-06 捷锐士阿希迈公司(以奥林巴斯美国外科技术名义) Laser control using spectrometer

Also Published As

Publication number Publication date
CN115390453A (en) 2022-11-25

Similar Documents

Publication Publication Date Title
CN104850570B (en) A2L files automatic generation method and system
WO2020207268A1 (en) Database performance adjustment method and apparatus, device, system, and storage medium
CN103296940B (en) Self-adaptive PI (proportional-integral) control method and self-adaptive PI control system
CN103235553A (en) Method for automatically compensating numerical control machining size error based on fractional order
CN115390453B (en) A method for linear control of laser controller
CN106332400A (en) LED light editing system
CN105865621A (en) Laser power calibration method and device
CN112328971B (en) Random number-based bimodal three-parameter Weibull distribution fitting method
CN112949203B (en) A method for judging the quality of plate laser cutting based on electrical parameters and XGBOOST-NN algorithm
CN104731019A (en) Numerical control cam grinding contour error compensation control method based on Cycle to Cycle feedback control
CN114781093B (en) Welding bead shape control method and device for arc additive manufacturing
CN109634606A (en) A kind of method and device of defined function menu
CN114254247A (en) Waveform editing control system with laser power correction function
CN112821755B (en) A power management chip adaptive load power regulation method and system
CN114741958A (en) A prediction method of engine remaining life based on multi-period regular cascade memory network
CN104505701A (en) Calibration method of set power of high-power laser
Fu et al. Research on fast and intelligent calibration method based on automatic test system
CN110006096A (en) Choosing method, device and the electronic equipment of heating machine set
CN117302261B (en) Vehicle self-adaptive driving control method and system based on artificial intelligence learning
CN113500760B (en) Extrusion molding speed compensation method, system, computer equipment and storage medium
JP2738334B2 (en) Production plan leveling system
CN111352617B (en) Magnetic method data auxiliary arrangement method based on Fortran language
CN114911792B (en) A method and system for checking parameters of power grid model
CN115508055B (en) Adaptive stepping iteration optical module extinction ratio debugging method and device
CN111144136B (en) Data conversion method, system, computer device and readable storage medium

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
GR01 Patent grant
GR01 Patent grant