CN110364922B - Laser control method and related equipment thereof - Google Patents
Laser control method and related equipment thereof Download PDFInfo
- Publication number
- CN110364922B CN110364922B CN201910694769.0A CN201910694769A CN110364922B CN 110364922 B CN110364922 B CN 110364922B CN 201910694769 A CN201910694769 A CN 201910694769A CN 110364922 B CN110364922 B CN 110364922B
- Authority
- CN
- China
- Prior art keywords
- laser
- output
- time
- energy
- timing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000012544 monitoring process Methods 0.000 claims abstract description 12
- 238000012806 monitoring device Methods 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000003287 optical effect Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000005070 sampling Methods 0.000 description 7
- 239000000835 fiber Substances 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01S—DEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
- H01S3/00—Lasers, i.e. devices using stimulated emission of electromagnetic radiation in the infrared, visible or ultraviolet wave range
- H01S3/10—Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01S—DEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
- H01S5/00—Semiconductor lasers
- H01S5/06—Arrangements for controlling the laser output parameters, e.g. by operating on the active medium
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Optics & Photonics (AREA)
- Engineering & Computer Science (AREA)
- Plasma & Fusion (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- General Physics & Mathematics (AREA)
- Lasers (AREA)
Abstract
The invention discloses a laser control method and related equipment thereof, wherein the method comprises the following steps: acquiring the maximum laser energy allowed to be output uninterruptedly by the laser within a preset time length; monitoring a control signal output by a control laser in real time to determine the real-time laser output power of the laser; acquiring the output duration of the laser output by the laser in real time; calculating the accumulated laser energy output by the laser according to the laser output power and the output duration; calculating the residual output time of the laser for continuously outputting laser according to the maximum laser output energy, the accumulated laser energy and the laser output power; and when the laser continues to output laser light, or the laser is closed within a preset time before the laser reaches the residual output time. The scheme provided by the embodiment of the invention controls the laser in a timing control mode, and can reduce the occupation of CPU computing resources while ensuring the control precision.
Description
Technical Field
The embodiment of the invention belongs to the technical field of lasers, and particularly relates to a laser control method, a laser control electronic device and a storage medium.
Background
In the use of the laser, the analog quantity signal output by the external laser control board card is often used as a control signal to control the laser output power of the laser.
In order to realize self-protection of a laser, the size of laser energy output by the laser needs to be limited, for example, for a pulse laser, the laser energy output by the pulse laser cannot exceed a certain set value N joules within a certain time, and the inventor finds, in the process of studying the present invention, that in the prior art, an analog quantity signal output by an external laser control board card is collected through a certain sampling period, for example, a once analog quantity signal is collected in 1 millisecond, as shown in a sampling schematic diagram shown in fig. 1, each longitudinal line in the diagram represents one sampling, the analog quantity size of the analog quantity signal in 1 millisecond is obtained, the laser output power of the laser in 1 millisecond is further obtained through calculation, the laser energy output in 1 millisecond is finally obtained, then all the collected laser energy is accumulated, when the accumulated laser energy reaches the set value N joules, the laser is turned off, the processing mode needs to be accumulated continuously, the processing process is long and complicated, the control precision depends on the sampling period, the control precision is lower when the sampling period is longer, and if the sampling period is reduced, although the control precision can be improved, the sampling frequency and the accumulation frequency of the laser energy are increased, and the calculation resource of a CPU is consumed seriously.
Disclosure of Invention
In view of this, embodiments of the present invention provide a laser control method, a laser control electronic device, and a storage medium, so as to solve the problems that the existing control method has a long and complicated processing procedure, and cannot avoid consuming the computing resources of the CPU seriously while ensuring the control accuracy.
Specifically, the present invention adopts the following technical solutions.
In a first aspect, an embodiment of the present invention provides a laser control method, including:
acquiring the maximum laser energy allowed to be output uninterruptedly by the laser within a preset time length;
monitoring a control signal for controlling the output of the laser in real time from any time node of the laser to determine the real-time laser output power of the laser according to the control signal;
acquiring the output duration of the laser from the arbitrary time node to continuously output the laser in real time;
calculating the accumulated laser energy output by the laser according to the laser output power and the output duration;
calculating the residual output time of the laser for continuously outputting laser according to the maximum laser output energy, the accumulated laser energy and the laser output power;
and when the laser continues to output laser light, or the laser is closed within a preset time before the laser reaches the residual output time.
As an implementation of the present invention, the calculating the remaining output time of the laser continuously outputting laser light according to the maximum laser output energy, the accumulated laser energy, and the laser output power specifically includes:
judging whether the real-time laser output power of the laser changes;
when the laser output power is not changed, maintaining the residual output time unchanged;
and when the laser output power changes, updating the residual output time according to the maximum laser output energy, the accumulated laser energy before the change and the laser output power after the change.
As an implementation scheme of the present invention, the updating the accumulated laser energy of the remaining output time according to the maximum laser output energy, the accumulated laser energy before the change, and the laser output power after the change specifically includes:
calculating accumulated laser energy before change according to the laser output power before change and the output time before change, calculating residual laser energy which can be uninterruptedly output by the laser within the preset time according to the maximum laser output energy and the accumulated laser energy before change, and calculating and updating the residual output time according to the residual laser energy and the laser output power after change.
As an implementable aspect of the present invention, the residual laser energy is calculated according to the following formula:
N2=Nmax-N1,
N1=P1×t1,
wherein N is2For the residual laser energy, NmaxIs the maximum laser energy, N1For the accumulated laser energy before said change, P1For the laser output power before said change, t1Is the output duration before the change.
As an implementable aspect of the present invention, the post-update remaining output time is calculated according to the following formula:
wherein, T2For updated remaining output time, N2For said residual laser energy, P2The changed laser output power is obtained.
As an implementable aspect of the present invention, the method further comprises:
dynamically adding at least one timing starting time from the any time node, and starting to time the time of the laser for outputting energy by taking each timing starting time as a starting point;
when the timing duration corresponding to the most front timing starting moment reaches the preset duration and the laser energy accumulated and output in the preset duration does not reach the maximum laser energy allowing the laser to output uninterruptedly, ending the timing corresponding to the most front timing moment, continuously adding a new timing moment, timing the time of the laser output energy again, and otherwise stopping all timing existing at present.
As an implementable aspect of the present invention, the method further comprises:
and when the calculation of the residual output time of the laser for continuously outputting the laser is finished, synchronously restarting timing, continuously and repeatedly judging whether the residual output time is reached, and finishing timing when the residual output time is reached or within a preset time before the residual output time is reached.
In a second aspect, an embodiment of the present invention provides a laser, which is used to implement the above laser control method, and includes:
the device comprises a storage device, a monitoring device, an optical path structure and a drive control circuit, wherein the storage device, the monitoring device and the optical path structure are respectively connected with the drive control circuit in a circuit form;
the laser device comprises a storage device, a light path structure, a monitoring device and a driving control circuit, wherein the storage device is used for storing the maximum laser energy allowed to be output uninterruptedly within a preset time length by the laser device, the light path structure is used for generating and outputting laser, the monitoring device is used for monitoring and controlling a control signal output by the laser device in real time from any time node of the laser device, so as to determine the real-time laser output power of the laser device according to the control signal and obtain the output time length of the laser device, and the monitoring device feeds back the obtained laser output power and the obtained output time length to the driving control circuit so as to control the laser device.
In a third aspect, there is provided laser control electronics comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, which when executed by the at least one processor, cause the at least one processor to perform the steps of the laser control method described above.
In a fourth aspect, a non-transitory computer-readable storage medium is provided having stored therein computer instructions which, when executed by at least one processor, implement the above-described laser control method.
According to the laser control method, the laser and the storage medium provided by the embodiment of the invention, a self-subtraction algorithm is provided, the laser energy which can be output by the laser at the current surplus can be calculated in real time in a mode of subtracting the current accumulated laser energy from the maximum laser energy allowed to be output, the laser energy which can be output by the laser at the current surplus can be quickly calculated by combining the current laser output power, the duration of the laser continuous output can be maintained, namely the surplus output time, and the laser can be controlled to be turned off to carry out self protection when the surplus output time is reached.
Drawings
While the drawings needed to describe the invention or prior art arrangements in a more complete description of the embodiments or prior art are briefly described below, it should be apparent that the drawings described below are illustrative of some embodiments of the invention and that other drawings may be derived therefrom by those skilled in the art without the benefit of the inventive faculty.
FIG. 1 is a schematic diagram of power acquisition of a conventional laser control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a laser control method according to an embodiment of the present invention;
FIG. 3(a) is a first schematic diagram of monitoring control signal variation in a laser control method according to an embodiment of the present invention;
FIG. 3(b) is a second schematic diagram of monitoring the control signal variation in the laser control method according to the embodiment of the present invention;
FIG. 4 is a flow chart of a method for determining remaining output time in a laser control method according to an embodiment of the present invention;
fig. 5 is a flowchart of a timing determination process based on a preset duration according to an embodiment of the present invention;
FIGS. 6(a) - (c) are schematic diagrams illustrating the relationship between a plurality of timing periods provided by the embodiment of the present invention;
FIGS. 7(a) - (b) are schematic diagrams illustrating timing determination of different timing periods according to an embodiment of the present invention;
FIG. 8 is a block diagram of a laser according to an embodiment of the present invention;
FIG. 9 shows laser control electronics according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The appearances of the phrase "an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Referring to fig. 2, an embodiment of the present invention discloses a laser control method for controlling laser output of a laser, where the laser may be a fiber laser, a gas laser, or another type of laser, such as a pulse laser in the case of a fiber laser. Specifically, the laser control method includes:
s10, acquiring the maximum laser energy allowed to be output uninterruptedly by the laser within a preset time length;
s20, monitoring and controlling a control signal output by the laser in real time from any working time node of the laser, and determining the real-time laser output power of the laser according to the control signal;
s30, acquiring the output duration of the laser from the arbitrary time node to output the laser uninterruptedly in real time;
s40, calculating the accumulated laser energy output by the laser according to the laser output power and the output duration;
s50, calculating the residual output time of the laser for continuously outputting laser according to the maximum laser output energy, the accumulated laser energy and the laser output power;
and S60, turning off the laser when the laser continues to output laser light for the time period reaching the residual output time or within a preset time before the residual output time is reached.
During the laser output process of the laser, the total energy input by the laser (for example, the total amount of power supplied to the laser under the commercial power) is not completely converted into the laser energy of effective output, a part of the total energy is converted into heat to be dissipated, the part of the heat can cause the laser to heat up, if the part of the heat is too high, the laser temperature can be too high and damage is caused, which is to be avoided during the laser operation process, however, the part of the heat is difficult to measure during the laser operation process, and therefore, it is impossible to determine how much the part of the heat reaches, and therefore, in this scheme, the limitation on the part of the heat is converted into the limitation on the laser energy allowed to be output by the laser within the preset time period, that is, the maximum laser energy stated in step S10 is preset, so that the laser energy output by the laser within the preset time period reaches the maximum laser energy stated will be turned off, therefore, the laser protection is realized, steps S10 to S60 are processes of realizing the laser protection by controlling the laser, step S10 may also be inserted before any step before step S50, and since the laser energy is a product of the laser output power and time, the laser output power and the output duration of the laser may be obtained in real time through steps S20 and S30, and then the laser energy currently accumulated and output by the laser, that is, the accumulated laser energy, is obtained through step S40, where any time node of the laser operation in step S20 may be a time node at which the laser finishes starting and starts to output laser, or may be a certain time node after the laser is output for a period of time.
For the process of calculating the remaining output time in step S50, under the condition that the laser output power of the laser remains unchanged, directly subtracting the accumulated laser energy from the maximum laser energy to obtain the currently remaining outputtable laser energy of the laser, and taking the remaining laser energy as an intermediate output result, in combination with the current laser output power, to quickly calculate the duration that the currently remaining outputtable laser energy of the laser can maintain the laser continuous output, that is, the remaining output time in step S50. Specifically, after the laser is turned on, the control signal output by the laser is monitored in real time, and the voltage of the input analog quantity is monitored for the first time, so that the laser output power P corresponding to the control signal can be obtained for the first time1And the maximum laser energy N allowed to be uninterruptedly output by the laser within the preset time length can be obtained simultaneouslymaxI.e. NmaxAt the limit point of laser energy accumulated from a certain time, obtaining laser output power P1Referring now to fig. 3(a), the control signal variation is monitored from node a, and the control signal remains constant, meaning that the laser output power of the laser remains constant, in combination with the maximum laser energy NmaxThe current laser output power P can be calculated by the following formula1How long the lower laser can also be turned on:
T1the residual output time when the laser output power of the laser is kept unchanged is the time when the output time reaches T when the laser is continuously started1Then, the laser energy output by the laser is accumulated to the maximum laser energy N which allows the laser to continuously output within the preset time lengthmaxAnd at the moment, the laser is turned off, and a self-protection link is entered.
However, the laser does not always keep the laser output power unchanged in the actual working process, for example, in fig. 3(B), monitoring the change of the control signal, wherein the control signal changes at the time node B, and the laser output power changes at this time, and the remaining output time will also change accordingly, therefore, in some embodiments of the present invention, as shown in fig. 4, the calculating the remaining output time for the laser to continuously output laser light according to the maximum laser output energy, the accumulated laser energy, and the laser output power specifically includes:
s51, judging whether the real-time laser output power of the laser changes; when the laser output power is not changed, performing step S52, and when the laser output power is changed, performing step S53;
s52, keeping the residual output time unchanged;
and S53, updating the residual output time according to the maximum laser output energy, the accumulated laser energy before change and the laser output power after change.
For step 53, the updating the accumulated laser energy of the remaining output time according to the maximum laser output energy, the accumulated laser energy before the change, and the laser output power after the change specifically includes: calculating accumulated laser energy before change according to the laser output power before change and the output time before change, calculating residual laser energy which can be uninterruptedly output by the laser within the preset time according to the maximum laser output energy and the accumulated laser energy before change, and calculating and updating the residual output time according to the residual laser energy and the laser output power after change.
As can be seen from the above description, the monitoring of the laser energy output by the laser is changed into the timing of the output laser, which reduces the amount of calculation of the system and improves the accuracy of the calculation. However, whether the timing duration (i.e., the remaining output time) needs to be adjusted depends on whether the laser output power of the laser changes in the subsequent working process, and the change of the laser output power is caused by the change of the control signal, so that the control signal for controlling the output of the laser needs to be monitored in the subsequent working process of the laser, specifically, the analog quantity of the control signal is collected at a certain time interval, a change point of the analog quantity is searched, when the analog quantity is always unchanged, the laser output power is kept unchanged, the remaining output time is kept unchanged, and the original timing state is maintained. Referring back to the monitoring of the change of the control signal shown in fig. 3(B), once the change of the control signal is monitored, it means that the laser output power changes, and the remaining output time needs to be adjusted, for example, in fig. 3(B), the monitoring is started from the time node a, the change of the control signal is monitored at the time node B (the time node a and the time node B correspond to a specific time respectively), and the laser output power P of the corresponding laser from the time node a starts from the time node a1(laser output power before change) is changed to laser output power P from time node B2The output duration of the laser from time node A to time node B is t1(output duration before change) when laser power output by the laser is accumulated to N1(accumulated laser energy before change), when:
N1=P1×t1,
the output duration T obtained in the above embodiment is changed due to the change in the laser output power1Can not be used as the timing standard of the time length of the laser for continuously outputting the laser, and the residual output time T needs to be updated at the moment1For the remaining output time T2(updated remaining output time), and outputting the remaining output time T2As a new timing criterion, now at N1Less than NmaxIn the case of (2), the remaining output time T2Satisfies the following conditions:
N2=Nmax-N1;
n in the above formula2The remaining output time is updated and the laser energy limit point of the laser is updated, and thereafter, the timing is timed to be the remaining output time T2For the timing standard, under the condition that the laser output power of the subsequent laser is not changed, the timing reaches T2Then the laser energy output by the laser is accumulated to N2And at the moment, the laser is turned off, and a self-protection link is entered. Of course, if the laser output power of the laser changes for multiple times, the remaining output time can be updated by referring to the above method for each change.
In the embodiment of the invention, the change of the control signal for controlling the laser output can be continuously monitored to determine whether the laser output power of the laser changes, and if so, the steps of updating the residual output time and the laser energy limit point are repeated. Thus, in some embodiments of the invention, the method comprises: and repeatedly judging whether the control signal representation monitored in real time changes to determine whether the residual output time and the laser energy limit point need to be updated or not, and repeatedly circulating until the timing reaches the residual output time or the laser energy limit point is reduced to 0.
In some embodiments of the present invention, the method specifically includes, for whether the remaining output time is reached: and when the calculation of the residual output time of the laser for continuously outputting the laser is finished, synchronously restarting timing, continuously and repeatedly judging whether the residual output time is reached, and finishing timing when the residual output time is reached or within a preset time before the residual output time is reached.
For step S60, the determination condition of whether to turn off the laser actually includes two types, the first type is that the total energy output by the laser can reach the maximum laser energy within a single preset time, at this time, the determination is directly made based on whether the remaining output time is reached in a single preset time, the second type is that the total energy output by the laser cannot reach the maximum laser energy within the preset time due to the change of the laser output power, at this time, in order to ensure the working safety of the laser, the detection needs to be started within a plurality of preset times, at this time, the dynamic determination is made by combining a plurality of preset times and the remaining output time within each preset time.
While the above description is primarily directed to the first category, for the second category, in other embodiments of the present invention, as shown in fig. 5, the method further includes:
s71, dynamically adding at least one timing starting time from the arbitrary time node, and starting to time the time of the laser output energy by taking each timing starting time as a starting point; it should be noted that any two adjacent timing start time intervals may be a fixed or random time interval.
S72, when the timing duration corresponding to the most forward timing starting time reaches the preset duration and the laser energy accumulated and output in the preset duration does not reach the maximum laser energy allowing the laser to output uninterruptedly, ending the timing corresponding to the most forward timing duration, and simultaneously continuing to increase a new timing duration to count the time of the laser output energy again, otherwise, stopping all timing existing at present.
Specifically, for the implementation of steps S71 and S72, the timing based on each timing start time is based on the premise that the timing duration reaches the preset duration, so for each timing start time in step S71, the timing periods corresponding to the timing durations may overlap in sequence, may only partially overlap, or may not overlap each other in the timing sequence, where the overlap refers to the timing end time of the preceding timing period being earlier than or equal to the timing start time of the succeeding timing period, see fig. 6(a) to 6(c), where fig. 6(a) shows the case where the timing periods overlap in sequence, timing period 1 corresponds to the time period between timing start time Q1 and timing end time J1 (the time period is the timing duration, and is equal to the preset duration, and is the same later), and timing period 2 corresponds to the time period between timing start time Q2 and timing end time J2, the timing period 3 corresponds to a time period between the timing start time Q3 and the timing end time J3, and so on, each timing period may overlap with one or more timing periods before it or after it; FIG. 6(b) illustrates a partially overlapping situation where there is at least one set of adjacent timing periods that do not overlap; fig. 6(c) shows a mutually non-overlapping case where any adjacent timing periods do not overlap.
For each timing starting moment, recalculating the accumulated output energy of the laser from the timing starting moment, and performing timing judgment in the corresponding timing period, wherein the timing judgment process in the timing period corresponding to each timing starting moment is the same. The above steps S71 and S72 are explained below with reference to FIGS. 7(a) and 7(b)If two timing start times are currently provided, i.e. Q1 and Q2, as shown in fig. 7(a), the timing start time Q1 coincides with the time node a of fig. 3(B) where the control signal starts to monitor, and the time node a (timing start time Q1) is also the starting point for calculating the accumulated laser energy, after the timing reaches J1, the time duration between Q1 and J1 is equal to the preset time duration, and after the remaining output time duration is calculated, the remaining output time lasts from the time node B to the time node C, and the output time duration t corresponding to the current accumulated laser energy is known from the figure2And the sum of the calculated remaining output durations is greater than the preset duration, which means that even if the timing duration corresponding to the timing start time Q1 reaches the preset duration, the total laser energy output by the laser within the preset duration cannot reach the maximum laser energy, indicating that the laser does not need to be turned off for self-protection, at this time, the remaining output duration does not need to be reached by timing, the timing from the timing start time Q1 does not need to reach the preset duration, accordingly, the timing from the timing start time Q1 is stopped, and a new timing start time, such as the timing start time Q3 in fig. 6(a), is dynamically added to re-time the time at which the laser outputs energy,
since the timing corresponding to the timing start time Q1 is turned off, at this time, steps S10-S60 may be executed again (if the value corresponding to the maximum laser energy obtained in S10 is cached, step S10 may also be executed only once, and the cache is called later), so as to perform the timing judgment operation again, specifically, the timing period corresponding to the next start timing time Q2 is further judged, as shown in fig. 7(B), after the timing reaches J2, the time duration between Q2 and J2 is equal to the preset time duration, after the remaining output time duration is calculated, the remaining output time lasts from the time node B to the time node C, and it can be known from the graph that the output time duration t corresponding to the current accumulated laser energy is output time duration t corresponding to the current accumulated laser energy3And the sum of the calculated remaining output time length is less than the preset time length, which means that the total laser energy output by the laser reaches the maximum laser energy after the remaining output time length is reached in the preset time length in the self-timing of the time node B, the laser is turned off for self-protection, and the current time is stoppedAll timings that exist, for example, the start timing Q2 and the timing corresponding to the timing start timing Q3 that is newly added earlier.
The laser control method provided by the embodiment of the invention provides a self-subtraction algorithm, which can calculate the current residual outputtable laser energy of the laser in real time by subtracting the current accumulated laser energy from the maximum allowable output laser energy, can quickly calculate the duration of the laser continuous output, namely the residual output time, of the current residual outputtable laser energy of the laser by combining the current laser output power, and can control the laser to be turned off to carry out self protection when the residual output time is reached.
In an embodiment of the present invention, there is also provided a laser, and referring to fig. 8, the laser 100 includes: the device comprises a storage device 101, a monitoring device 102, an optical path structure 103 and a drive control circuit 104, wherein the storage device 101, the monitoring device 102 and the optical path structure 103 are respectively connected with the drive control circuit 104 in a circuit form; the storage device 101 is configured to store maximum laser energy allowed to be output by the laser 100 uninterruptedly within a preset time period, the optical path structure 103 is configured to generate and output laser, the monitoring device 102 is configured to monitor a control signal output by the laser 100 in real time from any time node when the laser 100 works, to determine real-time laser output power of the laser 100 according to the control signal, and obtain an output time period of the laser 100, and the monitoring device 102 feeds back the obtained laser output power and the obtained output time period to the drive control circuit 104, so as to control the laser 100.
The laser 100 is configured to implement the above-mentioned laser 100 control method, specifically, firstly, the maximum laser energy allowed to be uninterruptedly output by the laser 100 within a preset time period is read from the storage device 101 through the driving control circuit 104, secondly, a control signal output by the laser 100 is monitored and controlled in real time from an arbitrary time node where the laser 100 operates through the monitoring device 102, so as to determine a real-time laser output power of the laser 100 according to the control signal, and the monitoring device 102 obtains an output time period for the laser 100 to uninterruptedly output laser from the arbitrary time node in real time, thirdly, the monitoring device 102 transmits the laser output power and the output time period to the driving control circuit 104, and the driving control circuit 104 calculates an accumulated laser energy output by the laser 100 according to the laser output power and the output time period, calculating the remaining output time of the laser 100 continuously outputting laser according to the maximum laser output energy, the accumulated laser energy and the laser output power; finally, the driving control circuit 104 controls the light path structure 103 to stop laser output when the duration of the laser 100 continuing to output laser reaches the remaining output time or within a preset time before the remaining output time, and turns off the laser 100. Of course, the driving control circuit 104 may also read the maximum laser energy that the laser 100 is allowed to continuously output within a preset time period from the storage device 101 after obtaining the accumulated laser energy.
In some embodiments of the present invention, when the driving control circuit 104 calculates the remaining output time of the laser 100 continuously outputting laser light according to the maximum laser output energy, the accumulated laser energy, and the laser output power, it is specifically configured to:
judging whether the real-time laser output power of the laser 100 changes; when the laser output power is not changed, maintaining the residual output time unchanged; and when the laser output power changes, updating the residual output time according to the maximum laser output energy, the accumulated laser energy before the change and the laser output power after the change.
In some embodiments of the present invention, when the drive control circuit 104 updates the accumulated laser energy of the remaining output time according to the maximum laser output energy, the accumulated laser energy before change, and the laser output power after change, the drive control circuit is specifically configured to:
calculating the accumulated laser energy before the change according to the laser output power before the change and the output time before the change, calculating the residual laser energy which can be uninterruptedly output by the laser 100 within the preset time according to the maximum laser output energy and the accumulated laser energy before the change, and calculating and updating the residual output time according to the residual laser energy and the laser output power after the change.
Wherein the residual laser energy may be calculated according to the following formula:
N2=Nmax-N1,
N1=P1×t1,
wherein N is2For the residual laser energy, NmaxIs the maximum laser energy, N1For the accumulated laser energy before said change, P1For the laser output power before said change, t1Is the output duration before the change.
Further, the output time remaining after the update is calculated according to the following formula:
wherein, T2For updated remaining output time, N2For said residual laser energy, P2The changed laser output power is obtained.
In an embodiment of the present invention, the driving control circuit 104104 includes a clock circuit for timing the time when the laser 100 outputs energy.
Specifically, in some embodiments, the clock circuit is configured to synchronously restart timing when the calculation of the remaining output time of the laser 100 continuously outputting laser light is completed, continuously and repeatedly determine whether the remaining output time is reached, and end timing when the remaining output time is reached or within a preset time before the remaining output time is reached.
In other embodiments, the clock circuit is configured to dynamically add at least one timing start time from the arbitrary time node, and start to time the time when the laser 100 outputs energy with each timing start time as a start point; when the timing duration corresponding to the most advanced timing starting moment reaches the preset duration and the laser energy accumulated and output in the preset duration does not reach the maximum laser energy allowing the laser 100 to output uninterruptedly, ending the timing corresponding to the most advanced timing moment, continuously adding a new timing moment, timing the energy output time of the laser 100 again, and otherwise stopping all timing existing at present.
The laser 100 provided by the embodiment of the present invention can be referred to the related art in the above method embodiments, and will not be expanded herein.
The laser 100 of the embodiment of the present invention can implement a "self-subtraction" algorithm by implementing the above-mentioned laser control method, and calculate the laser energy that can be output by the laser currently in real time by subtracting the current accumulated laser energy from the maximum laser energy that is allowed to be output, and in combination with the current laser output power, can quickly calculate the duration that the laser energy that can be output by the laser currently in the remaining state can maintain the laser continuous output, i.e. the remaining output time, and can control the laser to be turned off for self-protection when the remaining output time is reached.
One or more embodiments of the present invention also disclose a non-transitory computer-readable storage medium having stored therein computer instructions adapted to be loaded by a processor to implement any one of the above method embodiments.
Referring to fig. 9, an embodiment of the present invention discloses an electronic device for controlling a laser, including: at least one processor 201, at least one memory 202, at least one input device 203, and at least one output device 204. The processor 201, the memory 202, the input device 203 and the output device 204 are connected by a bus. The electronic device is used for realizing any one of the laser control methods.
When the techniques in the various embodiments described above are implemented using software, the computer instructions and/or data to implement the various embodiments described above may be stored on a computer-readable medium or transmitted as one or more instructions or code on a readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that a computer can store. Taking this as an example but not limiting: computer-readable media can include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Further, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium.
It is to be understood that the above-described embodiments are merely illustrative of some, but not restrictive, of the broad invention, and that the appended drawings illustrate preferred embodiments of the invention without limiting its scope. This invention may be embodied in many different forms and, on the contrary, these embodiments are provided so that this disclosure will be thorough and complete. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes in the embodiments and modifications can be made, and equivalents may be substituted for elements thereof. All equivalent structures made by using the contents of the specification and the attached drawings of the invention can be directly or indirectly applied to other related technical fields, and are also within the protection scope of the patent of the invention.
Claims (9)
1. A laser control method, comprising:
acquiring the maximum laser energy allowed to be output uninterruptedly by the laser within a preset time length;
monitoring a control signal for controlling the output of the laser in real time from any time node of the laser to determine the real-time laser output power of the laser according to the control signal;
acquiring the output duration of the laser from the arbitrary time node to continuously output the laser in real time;
calculating the accumulated laser energy output by the laser according to the laser output power and the output duration;
calculating the residual output time of the laser for continuously outputting laser according to the maximum laser output energy, the accumulated laser energy and the laser output power;
when the laser continues to output laser light, or the laser is closed within a preset time before the laser reaches the residual output time;
dynamically adding at least one timing starting time from the any time node, and starting to time the time of the laser for outputting energy by taking each timing starting time as a starting point;
when the timing duration corresponding to the most front timing starting moment reaches the preset duration and the laser energy accumulated and output in the preset duration does not reach the maximum laser energy allowed to be output by the laser uninterruptedly, ending the timing corresponding to the most front timing moment, continuously increasing a new timing moment, timing the energy output time of the laser again, and otherwise stopping all timing existing currently;
for each timing starting moment, recalculating the accumulated output energy of the laser from the timing starting moment, and performing timing judgment in a corresponding timing period.
2. The method according to claim 1, wherein the calculating the remaining output time for the laser to continuously output laser light according to the maximum laser output energy, the accumulated laser energy, and the laser output power specifically comprises:
judging whether the real-time laser output power of the laser changes;
when the laser output power is not changed, maintaining the residual output time unchanged;
and when the laser output power changes, updating the residual output time according to the maximum laser output energy, the accumulated laser energy before the change and the laser output power after the change.
3. The laser control method according to claim 2, wherein the updating the accumulated laser energy for the remaining output time according to the maximum laser output energy, the accumulated laser energy before change, and the laser output power after change specifically comprises:
calculating the accumulated laser energy before change according to the laser output power before change and the output time before change, calculating the residual laser energy which can be continuously output by the laser within the preset time according to the maximum laser output energy and the accumulated laser energy before change, and calculating and updating the residual output time according to the residual laser energy and the laser output power after change.
4. The laser control method of claim 3, wherein the residual laser energy is calculated according to the following formula:
N2=Nmax-N1,
N1=P1×t1,
wherein N is2For the residual laser energy, NmaxIs the maximum laser energy, N1For the accumulated laser energy before said change, P1For the laser output power before said change, t1Is the output duration before the change.
6. The laser control method according to any one of claims 1 to 5, characterized in that the method further comprises:
and when the calculation of the residual output time of the laser for continuously outputting the laser is finished, synchronously restarting timing, continuously and repeatedly judging whether the residual output time is reached, and finishing timing when the residual output time is reached or within a preset time before the residual output time is reached.
7. A laser for implementing the laser control method of any one of claims 1 to 6, comprising: the device comprises a storage device, a monitoring device, an optical path structure and a drive control circuit, wherein the storage device, the monitoring device and the optical path structure are respectively connected with the drive control circuit in a circuit form;
the laser device comprises a storage device, a light path structure, a monitoring device and a driving control circuit, wherein the storage device is used for storing the maximum laser energy allowed to be output uninterruptedly within a preset time length by the laser device, the light path structure is used for generating and outputting laser, the monitoring device is used for monitoring and controlling a control signal output by the laser device in real time from any time node of the laser device, so as to determine the real-time laser output power of the laser device according to the control signal and obtain the output time length of the laser device, and the monitoring device feeds back the obtained laser output power and the obtained output time length to the driving control circuit so as to control the laser device.
8. Laser control electronics, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, which when executed by the at least one processor, cause the at least one processor to perform the steps of the laser control method of any one of claims 1 to 6.
9. A non-transitory computer readable storage medium having stored therein computer instructions which, when executed by at least one processor, implement the laser control method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910694769.0A CN110364922B (en) | 2019-07-30 | 2019-07-30 | Laser control method and related equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910694769.0A CN110364922B (en) | 2019-07-30 | 2019-07-30 | Laser control method and related equipment thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110364922A CN110364922A (en) | 2019-10-22 |
CN110364922B true CN110364922B (en) | 2021-07-20 |
Family
ID=68222595
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910694769.0A Active CN110364922B (en) | 2019-07-30 | 2019-07-30 | Laser control method and related equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110364922B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111628400B (en) * | 2020-05-27 | 2022-03-15 | 深圳市杰普特光电股份有限公司 | Laser power control method and device, storage medium and laser |
CN114552359B (en) * | 2022-04-26 | 2022-07-05 | 南京漫鱼医疗技术有限公司 | Method and device for controlling femtosecond laser with multiple wavelengths |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1371096A (en) * | 2001-02-16 | 2002-09-25 | 三星电子株式会社 | Automatic laser diode output controlling method and controller |
CN108448373A (en) * | 2018-05-09 | 2018-08-24 | 深圳市创鑫激光股份有限公司 | Laser pulse power control method, pulse optical fiber and laser cutting system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4635265A (en) * | 1984-06-13 | 1987-01-06 | Edward Weck & Company, Inc. | Power switching circuit for a pulsed laser |
IL195050A (en) * | 2008-11-02 | 2015-03-31 | Elbit Sys Electro Optics Elop | Modulation of fiber laser pumped difference frequency generator |
CN104101486B (en) * | 2014-07-16 | 2016-07-13 | 中国科学院上海光学精密机械研究所 | Dual-beam postpones damage from laser test system |
CN205231706U (en) * | 2015-11-26 | 2016-05-11 | 光越科技(深圳)有限公司 | High power laser system protection circuit |
CN107978959B (en) * | 2017-12-18 | 2019-09-20 | 深圳市创鑫激光股份有限公司 | Laser and its control method and storage medium |
-
2019
- 2019-07-30 CN CN201910694769.0A patent/CN110364922B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1371096A (en) * | 2001-02-16 | 2002-09-25 | 三星电子株式会社 | Automatic laser diode output controlling method and controller |
CN108448373A (en) * | 2018-05-09 | 2018-08-24 | 深圳市创鑫激光股份有限公司 | Laser pulse power control method, pulse optical fiber and laser cutting system |
Non-Patent Citations (2)
Title |
---|
Dynamic control of laser beam shape for heat treatment;Paula Sancho等;《Journal of Laser Applications》;20180626;第30卷(第3(2018)期);第032407-1至6页 * |
全固态亚纳秒激光器的研究;任俊杰;《中国优秀硕士学位论文全文数据库 基础科学辑》;20190515(第05(2019)期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN110364922A (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110364922B (en) | Laser control method and related equipment thereof | |
US11934871B1 (en) | Task scheduling method and apparatus, electronic device, and readable storage medium | |
WO2022041812A1 (en) | Data processing method, related device and computer-readable storage medium | |
US11200136B2 (en) | Data monitoring methods, apparatuses, electronic devices, and computer readable storage media | |
US20180260298A1 (en) | Method and Device for Reporting Mobile Terminal Behaviors | |
WO2019120001A1 (en) | Laser and control method therefor, and computer readable storage medium | |
CN108595213A (en) | Method and device for adjusting threshold value of distance sensor and electronic equipment | |
CN113010535B (en) | Cache data updating method, device, equipment and storage medium | |
CN110913423A (en) | Terminal reachability identification method, data transmission method, device and storage medium | |
US11307634B1 (en) | Maintaining historical power level metadata for dynamic voltage and frequency scaling of processor instructions | |
CN112383498B (en) | Low-frequency clock compensation method and device, storage medium and terminal | |
CN117472967A (en) | Data life cycle management method and system based on data use heat | |
CN111736680B (en) | Control method, control device, control equipment and storage medium for power supply slow start | |
CN112883041A (en) | Data updating method and device, electronic equipment and storage medium | |
US10599195B2 (en) | Method and apparatus for controlling hot plug operation of CPU in mobile terminal | |
CN108073072B (en) | Parameter self-tuning method of SISO (Single input Single output) compact-format model-free controller based on partial derivative information | |
CN115408858A (en) | Pulse spectrum parameter partitioning method and device, electronic equipment and storage medium | |
CN114580722A (en) | Method, system, equipment and storage medium for predicting cold load demand of building | |
CN117056379B (en) | Metadata caching method and device, electronic equipment and readable storage medium | |
CN115563015B (en) | Code heat statistics method, device, equipment and storage medium | |
KR20200068076A (en) | Method and apparatus for reinforcement learning based on state correction | |
CN116431545B (en) | Communication rate self-adaptive adjusting method, device, computer equipment and storage medium | |
CN115037813B (en) | Block chain data analysis method and device and electronic equipment | |
CN112838861B (en) | Clock locking method, device, equipment and storage medium | |
CN115150301B (en) | Method, system, equipment and medium for acquiring monitoring data by using interface |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231212 Address after: 518000, 3rd Floor, Building A1, Baihui Factory, No.1 Saierkang Avenue, Xiangshan Community, Xinqiao Street, Bao'an District, Shenzhen City, Guangdong Province Patentee after: Shenzhen Baochenxin Laser Technology Co.,Ltd. Address before: 215000 No.6 Workshop, 2555 Taidong Road, Huangduo Town, Xiangcheng District, Suzhou City, Jiangsu Province Patentee before: SUZHOU MAXPHOTONICS Co.,Ltd. Patentee before: MAXPHOTONICS Co.,Ltd. |