CN118245014B - Laser energy data acquisition and restoration method and device, laser equipment and storage medium - Google Patents
Laser energy data acquisition and restoration method and device, laser equipment and storage medium Download PDFInfo
- Publication number
- CN118245014B CN118245014B CN202410634845.XA CN202410634845A CN118245014B CN 118245014 B CN118245014 B CN 118245014B CN 202410634845 A CN202410634845 A CN 202410634845A CN 118245014 B CN118245014 B CN 118245014B
- Authority
- CN
- China
- Prior art keywords
- acquisition
- laser energy
- energy data
- target
- step length
- 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 25
- 238000004590 computer program Methods 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000013480 data collection Methods 0.000 claims description 5
- 238000013507 mapping Methods 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 10
- 238000005070 sampling Methods 0.000 description 8
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000000737 periodic effect Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/06—Arrangements for sorting, selecting, merging, or comparing data on individual record carriers
- G06F7/08—Sorting, i.e. grouping record carriers in numerical or other ordered sequence according to the classification of at least some of the information they carry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2123/00—Data types
- G06F2123/02—Data types in the time domain, e.g. time-series data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及激光设备技术领域,特别涉及一种激光能量数据采集还原方法、装置、激光设备及存储介质。The present invention relates to the technical field of laser equipment, and in particular to a laser energy data acquisition and restoration method, device, laser equipment and storage medium.
背景技术Background Art
在激光设备中,激光的能量稳定至关重要,准确的激光能量数据对于设备调试及产品不良时异常定位非常重要。相关技术虽然可以程序对激光能量数据进行采集,但受限于采集的硬件,程序对激光能量数据的采集频率精度有限,容易遗失关键点数据。In laser equipment, the energy stability of the laser is crucial, and accurate laser energy data is very important for equipment debugging and abnormal location when the product is defective. Although the relevant technology can collect laser energy data through programs, it is limited by the hardware for collection, and the program has limited frequency accuracy for collecting laser energy data, which is easy to lose key point data.
发明内容Summary of the invention
本发明旨在至少解决现有技术中存在的技术问题之一。为此,本发明提出一种激光能量数据采集还原方法、装置、激光设备及存储介质,能够提高激光能量数据的采集精度。The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a laser energy data acquisition and restoration method, device, laser equipment and storage medium, which can improve the acquisition accuracy of laser energy data.
一方面,本发明实施例提供一种激光能量数据采集还原方法,包括:On the one hand, an embodiment of the present invention provides a laser energy data collection and restoration method, comprising:
确定目标采集步长,所述目标采集步长包括最小采集步长和期望采集步长,所述最小采集步长用于表征在最高采集精度下的最小采集时间间隔,所述期望采集步长用于表征在期望采集精度下的采集时间间隔;Determine a target acquisition step length, wherein the target acquisition step length includes a minimum acquisition step length and an expected acquisition step length, wherein the minimum acquisition step length is used to characterize a minimum acquisition time interval under the highest acquisition accuracy, and the expected acquisition step length is used to characterize an acquisition time interval under the expected acquisition accuracy;
基于所述目标采集步长,对多个周期的连续的目标激光能量进行采集,得到第一激光能量数据序列,所述目标激光能量采集的周期数量根据所述最高采集精度和所述期望采集精度进行确定,所述第一激光能量数据序列包括第一采集序号及对应的激光能量数据;Based on the target acquisition step length, a plurality of cycles of continuous target laser energy are acquired to obtain a first laser energy data sequence, wherein the number of cycles of the target laser energy acquisition is determined according to the maximum acquisition accuracy and the expected acquisition accuracy, and the first laser energy data sequence includes a first acquisition sequence number and corresponding laser energy data;
基于预设的序号映射模型,将所述第一采集序号转换为第二采集序号,得到第二激光能量数据序列,所述第二激光能量数据序列包括所述第二采集序号和所述激光能量数据;Based on a preset serial number mapping model, the first acquisition serial number is converted into a second acquisition serial number to obtain a second laser energy data sequence, wherein the second laser energy data sequence includes the second acquisition serial number and the laser energy data;
以所述第二采集序号为排序依据,对所述第二激光能量数据序列进行排序,得到单个周期的第三激光能量数据序列。The second laser energy data sequence is sorted based on the second acquisition sequence number to obtain a third laser energy data sequence of a single period.
根据本发明的一些实施例,所述确定目标采集步长,包括:According to some embodiments of the present invention, determining the target acquisition step size includes:
根据所述最小采集步长和所述期望采集步长之和,确定目标采集步长。The target acquisition step length is determined according to the sum of the minimum acquisition step length and the expected acquisition step length.
根据本发明的一些实施例,所述目标激光能量采集的周期数量根据所述最高采集精度和所述期望采集精度进行确定,包括:According to some embodiments of the present invention, the number of cycles of the target laser energy acquisition is determined according to the highest acquisition accuracy and the expected acquisition accuracy, including:
根据所述最高采集精度和所述期望采集精度,确定采集精度量级差;Determining a difference in acquisition accuracy level according to the highest acquisition accuracy and the expected acquisition accuracy;
根据所述采集精度量级差,确定所述目标激光能量采集的周期数量。The number of cycles for collecting the target laser energy is determined according to the acquisition accuracy level difference.
根据本发明的一些实施例,所述基于预设的序号映射模型,将所述第一采集序号转换为第二采集序号,得到第二激光能量数据序列,包括:According to some embodiments of the present invention, converting the first acquisition sequence number into a second acquisition sequence number based on a preset sequence number mapping model to obtain a second laser energy data sequence includes:
根据所述最高采集精度和所述期望采集精度,确定采集精度量级差;Determining a difference in acquisition accuracy level according to the highest acquisition accuracy and the expected acquisition accuracy;
根据所述目标采集步长和所述采集精度量级差,确定第一运算因子;Determining a first operation factor according to the target acquisition step length and the acquisition accuracy magnitude difference;
根据所述目标激光能量的周期和所述采集精度量级差,确定第二运算因子;Determining a second operation factor according to the period of the target laser energy and the acquisition accuracy magnitude difference;
基于所述第一运算因子和所述第二运算因子,将所述第一采集序号转换为第二采集序号,得到第二激光能量数据序列。Based on the first operation factor and the second operation factor, the first acquisition sequence number is converted into a second acquisition sequence number to obtain a second laser energy data sequence.
根据本发明的一些实施例,所述根据所述目标采集步长和所述采集精度量级差,确定第一运算因子,包括:According to some embodiments of the present invention, determining the first operation factor according to the target acquisition step size and the acquisition accuracy magnitude difference includes:
根据所述目标采集步长和所述采集精度量级差之积,确定第一运算因子。A first operation factor is determined according to the product of the target acquisition step length and the acquisition accuracy magnitude difference.
根据本发明的一些实施例,所述根据所述目标激光能量的周期长度和所述采集精度量级差,确定第二运算因子,包括:According to some embodiments of the present invention, determining the second operation factor according to the cycle length of the target laser energy and the acquisition accuracy magnitude difference includes:
根据所述目标激光能量的周期长度和所述采集精度量级差之积,确定第二运算因子。The second operation factor is determined according to the product of the cycle length of the target laser energy and the acquisition accuracy level difference.
根据本发明的一些实施例,所述基于所述第一运算因子和所述第二运算因子,将所述第一采集序号转换为第二采集序号,得到第二激光能量数据序列,包括:According to some embodiments of the present invention, converting the first acquisition sequence number into a second acquisition sequence number based on the first operation factor and the second operation factor to obtain a second laser energy data sequence includes:
根据所述第一采集序号和所述第一运算因子之积,对所述第二运算因子进行取余,确定第二采集序号,以得到第二激光能量数据序列。According to the product of the first acquisition sequence number and the first operation factor, the second operation factor is modulo, and a second acquisition sequence number is determined to obtain a second laser energy data sequence.
另一方面,本发明实施例提供一种激光能量数据采集还原装置,包括:On the other hand, an embodiment of the present invention provides a laser energy data acquisition and restoration device, comprising:
确定模块,用于确定目标采集步长,所述目标采集步长包括最小采集步长和期望采集步长,所述最小采集步长用于表征在最高采集精度下的最小采集时间间隔,所述期望采集步长用于表征在期望采集精度下的采集时间间隔;A determination module, used to determine a target acquisition step length, wherein the target acquisition step length includes a minimum acquisition step length and an expected acquisition step length, wherein the minimum acquisition step length is used to characterize a minimum acquisition time interval under the highest acquisition accuracy, and the expected acquisition step length is used to characterize an acquisition time interval under the expected acquisition accuracy;
采集模块,用于基于所述目标采集步长,对多个周期的连续的目标激光能量进行采集,得到第一激光能量数据序列,所述目标激光能量采集的周期数量根据所述最高采集精度和所述期望采集精度进行确定,所述第一激光能量数据序列包括第一采集序号及对应的激光能量数据;an acquisition module, configured to acquire a plurality of cycles of continuous target laser energy based on the target acquisition step length to obtain a first laser energy data sequence, wherein the number of cycles of the target laser energy acquisition is determined according to the maximum acquisition accuracy and the expected acquisition accuracy, and the first laser energy data sequence includes a first acquisition sequence number and corresponding laser energy data;
转换模块,用于基于预设的序号映射模型,将所述第一采集序号转换为第二采集序号,得到第二激光能量数据序列,所述第二激光能量数据序列包括所述第二采集序号和所述激光能量数据;a conversion module, configured to convert the first acquisition serial number into a second acquisition serial number based on a preset serial number mapping model, to obtain a second laser energy data sequence, wherein the second laser energy data sequence includes the second acquisition serial number and the laser energy data;
排序模块,用于以所述第二采集序号为排序依据,对所述第二激光能量数据序列进行排序,得到单个周期的第三激光能量数据序列。A sorting module is used to sort the second laser energy data sequence based on the second acquisition sequence number to obtain a third laser energy data sequence of a single cycle.
又一方面,本发明实施例提供一种激光设备,包括处理器及存储器,所述存储器中存储有计算机程序,所述处理器运行所述计算机程序时用于实现上述的激光能量数据采集还原方法。On the other hand, an embodiment of the present invention provides a laser device, including a processor and a memory, wherein the memory stores a computer program, and the processor is used to implement the above-mentioned laser energy data acquisition and restoration method when running the computer program.
再一方面,本发明实施例提供一种存储介质,所述存储介质中存储有计算机程序,当计算机程序被运行时实现上述的激光能量数据采集还原方法。On the other hand, an embodiment of the present invention provides a storage medium, wherein a computer program is stored in the storage medium, and when the computer program is executed, the above-mentioned laser energy data acquisition and restoration method is implemented.
本发明实施例至少具有如下有益效果:The embodiments of the present invention have at least the following beneficial effects:
通过对目标采集步长进行调整,以及基于目标采集步长对多个周期的目标激光能量进行采集,并基于序号映射模型对采集得到的数据进行序号转换,从而将采集精度较低的多个周期激光能量数据还原成采集精度更高的单周期激光能量数据,有利于提高激光能量数据的采集精度。By adjusting the target acquisition step size, acquiring multiple cycles of target laser energy based on the target acquisition step size, and performing serial number conversion on the acquired data based on a serial number mapping model, multiple cycle laser energy data with lower acquisition accuracy can be restored to single cycle laser energy data with higher acquisition accuracy, which is beneficial to improving the acquisition accuracy of laser energy data.
本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
本发明的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
图1为本发明实施例的激光能量数据采集还原方法的步骤流程图;FIG1 is a flow chart of the steps of a laser energy data acquisition and restoration method according to an embodiment of the present invention;
图2为本发明实施例的激光能量的波形示意图之一;FIG2 is a schematic diagram of a waveform of laser energy according to an embodiment of the present invention;
图3为本发明实施例的激光能量的波形示意图之二;FIG3 is a second waveform diagram of laser energy according to an embodiment of the present invention;
图4为本发明实施例的激光能量的波形示意图之三;FIG4 is a third waveform diagram of laser energy according to an embodiment of the present invention;
图5为本发明实施例的不同采集步长的部分数据示意图;FIG5 is a schematic diagram of some data with different acquisition step lengths according to an embodiment of the present invention;
图6为本发明实施例的激光能量的多个周期的波形示意图;FIG6 is a schematic diagram of waveforms of multiple cycles of laser energy according to an embodiment of the present invention;
图7为本发明实施例的激光能量经过还原得到的波形示意图;FIG7 is a schematic diagram of a waveform obtained by reducing laser energy according to an embodiment of the present invention;
图8为本发明实施例的第一激光能量数据序列的部分数据示意图;FIG8 is a partial data schematic diagram of a first laser energy data sequence according to an embodiment of the present invention;
图9为本发明实施例的第一采集序号及第二激光能量数据序列的部分数据示意图;FIG9 is a partial data diagram of a first acquisition sequence number and a second laser energy data sequence according to an embodiment of the present invention;
图10为本发明实施例的第一采集序号及第三激光能量数据序列的部分数据示意图;FIG10 is a partial data diagram of a first acquisition sequence number and a third laser energy data sequence according to an embodiment of the present invention;
图11为本发明实施例的激光能量数据采集还原装置的原理框图。FIG. 11 is a principle block diagram of a laser energy data acquisition and restoration device according to an embodiment of the present invention.
具体实施方式DETAILED DESCRIPTION
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
在本发明的描述中,“若干”的含义是一个或者多个,“多个”的含义是两个以上,大于、小于、超过等理解为不包括本数,“以上”、“以下”、“以内”等理解为包括本数。如果有描述到“第一”、“第二”等只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of the present invention, "several" means one or more, "multiple" means more than two, greater than, less than, and exceeding are understood as not including the number itself, and "above", "below", and "within" are understood as including the number itself. If there is a description of "first", "second", etc., it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
本发明的描述中,除非另有明确的限定,“设置”、“安装”、“连接”等词语应做广义理解,所属技术领域技术人员可以结合技术方案的具体内容合理确定上述词语在本发明中的具体含义。In the description of the present invention, unless otherwise clearly defined, words such as “setting”, “installation” and “connection” should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above words in the present invention based on the specific content of the technical solution.
为了对激光能量进行监控,相关技术通常利用示波器来监测激光能量的波形,但激光设备在实际运行过程中不会一直连接着示波器,也不可能安排专门的人员一直观测着示波器。因此,需要通过程序对激光能量进行数据采集,以便于后续对激光能量进行分析。然而,受限于采集的硬件,程序对激光能量数据的采集频率的精度有限,例如最高采集精度为1μs(微秒),即最小的采集时间间隔为1μs,应当知道的是,采集的时间间隔越小,采集频率越高,采集精度越高。由于激光能量数据的采集频率不够高,对于周期固定的激光能量而言,一个周期内能够采集的数据点是固定的,例如,对于周期长度为25μs的激光能量,若采集时间间隔为1μs,则一个周期的激光能量只能采集到25个数据点。由于采集精度不够高,利用25个数据点还原出来的激光能量的波形与实际的激光能量的波形差别较多,而且采样信号和激光能量均呈周期性变化,即使对连续的多个周期的激光能量进行采集,每个周期采集到的数据点在该周期内的相对时刻也是一致的,例如,从激光能量的周期起点开始,每隔1μs采集一个数据点,将第1个数据点的采集时刻记为1μs,则第2个数据点的采集时刻为2μs,第3个数据点的采集时刻为3μs,如此直到激光能量的周期终点。这就导致每个周期采集的数据都会遗失关键的数据点,还原得到的波形也会失真。因此,本实施例提供一种激光能量数据采集还原方法、装置、激光设备及存储介质,能够提高激光能量数据的采集精度。In order to monitor the laser energy, the relevant technology usually uses an oscilloscope to monitor the waveform of the laser energy, but the laser equipment will not be connected to the oscilloscope all the time during the actual operation, and it is impossible to arrange special personnel to observe the oscilloscope all the time. Therefore, it is necessary to collect data on the laser energy through a program to facilitate the subsequent analysis of the laser energy. However, due to the limitations of the acquisition hardware, the accuracy of the program's acquisition frequency of laser energy data is limited. For example, the highest acquisition accuracy is 1μs (microseconds), that is, the minimum acquisition time interval is 1μs. It should be known that the smaller the acquisition time interval, the higher the acquisition frequency and the higher the acquisition accuracy. Since the acquisition frequency of laser energy data is not high enough, for laser energy with a fixed period, the data points that can be collected within one period are fixed. For example, for laser energy with a period length of 25μs, if the acquisition time interval is 1μs, only 25 data points can be collected for one period of laser energy. Since the acquisition accuracy is not high enough, the waveform of the laser energy restored by using 25 data points is quite different from the actual waveform of the laser energy, and the sampling signal and the laser energy both show periodic changes. Even if the laser energy of multiple consecutive cycles is collected, the relative time of the data points collected in each cycle is consistent within the cycle. For example, starting from the starting point of the laser energy cycle, a data point is collected every 1μs, and the collection time of the first data point is recorded as 1μs, then the collection time of the second data point is 2μs, and the collection time of the third data point is 3μs, and so on until the end of the laser energy cycle. This results in the data collected in each cycle losing key data points, and the restored waveform will also be distorted. Therefore, this embodiment provides a laser energy data acquisition and restoration method, device, laser equipment and storage medium, which can improve the acquisition accuracy of laser energy data.
请参照图1,本实施例公开了一种激光能量数据采集还原方法,包括步骤S100~S400。需要说明的是,本实施例步骤进行标号仅是为了便于审查理解,而不是对步骤的执行顺序进行限定,在实际应用中可以根据步骤之间的逻辑关系而进行适应性调整。下面对各个步骤的内容进行详述:Please refer to Figure 1. This embodiment discloses a laser energy data collection and restoration method, including steps S100 to S400. It should be noted that the steps in this embodiment are numbered only for the convenience of review and understanding, rather than limiting the execution order of the steps. In actual applications, adaptive adjustments can be made according to the logical relationship between the steps. The contents of each step are described in detail below:
S100、确定目标采集步长,目标采集步长包括最小采集步长和期望采集步长,最小采集步长用于表征在最高采集精度下的最小采集时间间隔,期望采集步长用于表征在期望采集精度下的采集时间间隔;S100, determining a target acquisition step length, where the target acquisition step length includes a minimum acquisition step length and an expected acquisition step length, where the minimum acquisition step length is used to characterize a minimum acquisition time interval at the highest acquisition accuracy, and the expected acquisition step length is used to characterize an acquisition time interval at the expected acquisition accuracy;
示例性的,根据不同的应用需求,最高采集精度有所不同,例如,最高采集精度可以为10μs、5μs、1μs或0.1μs等,即设备最快也只能实现10μs、5μs、1μs或0.1μs采集一次数据,在最高采集精度下,用户可以根据实际应用需求设置采集时间间隔,例如,对于最高采集精度为1μs的设备而言,用户可以将采集时间间隔设置为1μs、1.5μs、2μs、2.55μs等,只要采集时间间隔不小于最高采集精度下的最小采集时间间隔,设备都可以在该采集时间间隔对应的采集频率下对激光能量进行数据采集。为了能够尽量还原实际的激光波形,相关技术通常会采用最高采集精度下的最小采集时间间隔(例如1μs)来进行数据采集,但仍然无法满足要求,例如无法达到0.1μs、0.01μs或0.001μs等更高精度级别的采集要求。本实施例在不改变设备的最高采集精度的情况下,通过对采集时间间隔(即目标采集步长)进行调整,使多个连续周期中每个周期采集到的数据点在周期内的相对时刻相互错开,以便于能够达到更高的数据精度。For example, the highest acquisition accuracy varies according to different application requirements. For example, the highest acquisition accuracy can be 10μs, 5μs, 1μs or 0.1μs, etc., that is, the device can only collect data once every 10μs, 5μs, 1μs or 0.1μs at the fastest. Under the highest acquisition accuracy, the user can set the acquisition time interval according to the actual application requirements. For example, for a device with a maximum acquisition accuracy of 1μs, the user can set the acquisition time interval to 1μs, 1.5μs, 2μs, 2.55μs, etc. As long as the acquisition time interval is not less than the minimum acquisition time interval under the highest acquisition accuracy, the device can collect data on the laser energy at the acquisition frequency corresponding to the acquisition time interval. In order to restore the actual laser waveform as much as possible, the relevant technology usually uses the minimum acquisition time interval (for example, 1μs) under the highest acquisition accuracy for data acquisition, but it still cannot meet the requirements, for example, it cannot meet the acquisition requirements of higher accuracy levels such as 0.1μs, 0.01μs or 0.001μs. In this embodiment, the acquisition time interval (i.e., the target acquisition step length) is adjusted without changing the highest acquisition accuracy of the device, so that the data points collected in each period of multiple consecutive periods are staggered at relative moments within the period, so as to achieve higher data accuracy.
例如,在最高采集精度下的最小采集时间间隔(即最小采集步长)为1μs,而期望达到的采集精度为0.01μs,则期望采集步长可以为0.01μs,那么目标采集步长为1.01μs;同理,若期望达到的采集精度为0.1μs或0.001μs,则目标采集步长可以确定为1.1μs或1.001μs。总之,目标采集步长可以根据最小采集步长和期望采集步长之和来确定,即步骤S100、确定目标采集步长,包括:S110、根据最小采集步长和期望采集步长之和,确定目标采集步长。需要说明的是,期望采集步长可以根据应用需求、设备算力以及程序算力等多个因素进行设置,从而确定合适的目标采集步长,即激光能量的采样周期。其中,为了达到理想的采集效果,期望采集步长应为期望采集精度下的最小采集时间间隔且末位数值应为奇数。For example, the minimum acquisition time interval (i.e., the minimum acquisition step length) at the highest acquisition accuracy is 1 μs, and the expected acquisition accuracy is 0.01 μs, then the expected acquisition step length can be 0.01 μs, and the target acquisition step length is 1.01 μs; similarly, if the expected acquisition accuracy is 0.1 μs or 0.001 μs, the target acquisition step length can be determined as 1.1 μs or 1.001 μs. In short, the target acquisition step length can be determined according to the sum of the minimum acquisition step length and the expected acquisition step length, that is, step S100, determining the target acquisition step length, including: S110, determining the target acquisition step length according to the sum of the minimum acquisition step length and the expected acquisition step length. It should be noted that the expected acquisition step length can be set according to multiple factors such as application requirements, device computing power, and program computing power, so as to determine the appropriate target acquisition step length, that is, the sampling period of the laser energy. Among them, in order to achieve the ideal acquisition effect, the expected acquisition step length should be the minimum acquisition time interval under the expected acquisition accuracy and the last digit value should be an odd number.
S200、基于目标采集步长,对多个周期的连续的目标激光能量进行采集,得到第一激光能量数据序列,目标激光能量采集的周期数量根据最高采集精度和期望采集精度进行确定,第一激光能量数据序列包括第一采集序号及对应的激光能量数据;S200, based on the target acquisition step length, a plurality of cycles of continuous target laser energy are acquired to obtain a first laser energy data sequence, wherein the number of cycles of target laser energy acquisition is determined according to a maximum acquisition accuracy and an expected acquisition accuracy, and the first laser energy data sequence includes a first acquisition sequence number and corresponding laser energy data;
示例性的,在实际使用过程中,激光能量是具有周期性的连续波形,为了便于分析,可以对其中部分激光能量(即目标激光能量)进行采样分析,实际应用时,可以对目标激光能量进行实时的数据采集,再取部分或全部进行还原。应当知道的是,激光能量的波形图具有两个维度的数据,第一个维度是时间维度,即波形图的横坐标,第二个维度是激光能量数据,即波形图的纵坐标,两个维度的数据成对组成数据点。For example, in actual use, laser energy is a periodic continuous waveform. For the convenience of analysis, part of the laser energy (i.e., target laser energy) can be sampled and analyzed. In actual application, real-time data collection of the target laser energy can be performed, and then part or all of it can be restored. It should be known that the laser energy waveform has two dimensions of data. The first dimension is the time dimension, i.e., the horizontal axis of the waveform, and the second dimension is the laser energy data, i.e., the vertical axis of the waveform. The two dimensions of data form data points in pairs.
请参照图2、图3和图4,为了便于理解,对于同一激光能量,在相同起始时刻开始采样,以t0来表示相关技术的采样时间变化序列,以t来表示本实施例的采样时间变化序列,相关技术中,激光能量数据的采集步长是1μs,由于激光能量是呈周期性变化的,对于周期长度为25μs的激光能量,一个周期能够采集的数据点是25个,由于周期长度是采集步长的整数倍,在时间维度上,每个周期的相对采样时刻与激光能量对应周期的周期起点之间的相对距离是相同的,那么每个周期采集到的数据点对应的激光能量数据(记为power)是相同的。而本实施例的目标采集步长根据最小采集步长和期望采集步长之和来确定,即1μs+0.01μs=1.01μs,请参照图4和图5,从t0和t之间的时间差值Δt可知,Δt随着时间的变化而逐步累加,在一定周期数量内,每个周期的相对采样时刻是错开的,与相关技术只能采集到量级在1μs(例如t0=1μs、2μs、3μs......)的激光能量数据,本实施例可以采集到量级在0.01μs(例如,t=1.01μs、2.02μs、3.03μs......)的激光能量数据。其中,量级通常指的是数量的尺度或大小的级别,每个级别之间保持固定的比例,这些比例通常是10的幂次方。例如,10、100、1000等都是10的幂次方,它们代表了不同的数量级。数量级的概念用于描述两个数之间的大小关系,比如一个数是另一个数的10倍,那么就可以认为这两个数相差一个数量级。Please refer to Figures 2, 3 and 4. For ease of understanding, for the same laser energy, sampling begins at the same starting time. t0 is used to represent the sampling time change sequence of the related technology, and t is used to represent the sampling time change sequence of this embodiment. In the related technology, the collection step of laser energy data is 1μs. Since the laser energy changes periodically, for laser energy with a cycle length of 25μs, 25 data points can be collected in one cycle. Since the cycle length is an integer multiple of the collection step, in the time dimension, the relative distance between the relative sampling moment of each cycle and the cycle starting point of the laser energy corresponding cycle is the same, then the laser energy data (denoted as power) corresponding to the data points collected in each cycle is the same. The target acquisition step size of this embodiment is determined by the sum of the minimum acquisition step size and the expected acquisition step size, that is, 1μs+0.01μs=1.01μs. Please refer to Figures 4 and 5. From the time difference Δt between t0 and t, it can be seen that Δt gradually accumulates with the change of time. Within a certain number of cycles, the relative sampling time of each cycle is staggered. The related technology can only collect laser energy data of the order of 1μs (for example, t0 = 1μs, 2μs, 3μs...), while this embodiment can collect laser energy data of the order of 0.01μs (for example, t=1.01μs, 2.02μs, 3.03μs...). Among them, the order of magnitude usually refers to the scale or level of the quantity, and a fixed ratio is maintained between each level, and these ratios are usually powers of 10. For example, 10, 100, 1000, etc. are all powers of 10, which represent different orders of magnitude. The concept of order of magnitude is used to describe the size relationship between two numbers. For example, if one number is 10 times another number, then it can be considered that the two numbers differ by one order of magnitude.
至此,与相关技术相比,本实施例虽然通过调整目标采集步长,实现激光能量数据在时间维度上的错位采集,但由于采集精度没有改变(仍为1μs),每个周期内采集到的数据点的数量没有增加,即单个周期的采集精度没有提高。然而,请参照图6,由于激光能量具有呈周期性变化的特性,即在不同周期中,与周期起点距离相同的时刻,激光能量数据(power)是相同的,也就是说如果将不同周期的激光能量的波形在时间维度上平移至同一周期起点,所有周期的激光能量的波形会重叠并呈现为一个周期的波形。如上文所述,激光能量数据在时间维度上实现了错位采集,采样时刻的量级为0.01μs,那么在一定周期数量内,如果将不同周期的激光能量数据在时间维度上进行平移,就可以得到单个周期的激光能量数据,而且相邻两个数据点之间的时间差为0.01μs,即采集时间间隔为0.01μs,也就是说,激光能量数据的数据精度可以提高为0.01μs。So far, compared with the related art, although the present embodiment realizes the staggered acquisition of laser energy data in the time dimension by adjusting the target acquisition step size, the number of data points collected in each cycle has not increased because the acquisition accuracy has not changed (still 1μs), that is, the acquisition accuracy of a single cycle has not been improved. However, please refer to Figure 6, because the laser energy has the characteristic of periodic change, that is, in different cycles, at the same time as the cycle starting point, the laser energy data (power) is the same, that is, if the waveforms of laser energy of different cycles are translated to the same cycle starting point in the time dimension, the waveforms of laser energy of all cycles will overlap and present as a waveform of one cycle. As described above, the laser energy data realizes staggered acquisition in the time dimension, and the order of magnitude of the sampling moment is 0.01μs. Then, within a certain number of cycles, if the laser energy data of different cycles are translated in the time dimension, the laser energy data of a single cycle can be obtained, and the time difference between two adjacent data points is 0.01μs, that is, the acquisition time interval is 0.01μs, that is, the data accuracy of the laser energy data can be improved to 0.01μs.
请参照图6和图7,为了实现多个周期的激光能量数据的叠合,可以将叠合后得到的单个周期的激光能量波形抽象为多个数据点,每个数据点的横坐标可以用序号index来表示,纵坐标用power来表示。同样的,在数据叠合之前,多个周期的激光能量数据在时间维度上依次排列,每个数据点的横坐标可以用序号index0来表示,由于激光能量数据在叠合前后都不会发生改变,纵坐标同样用power来表示,因此,第一激光能量数据序列可以用数组来表示:[index0,power]。Please refer to Figures 6 and 7. In order to achieve the superposition of laser energy data of multiple cycles, the laser energy waveform of a single cycle obtained after superposition can be abstracted into multiple data points. The horizontal coordinate of each data point can be represented by the serial number index, and the vertical coordinate can be represented by power. Similarly, before the data is superimposed, the laser energy data of multiple cycles are arranged in sequence in the time dimension, and the horizontal coordinate of each data point can be represented by the serial number index0. Since the laser energy data will not change before and after superposition, the vertical coordinate is also represented by power. Therefore, the first laser energy data sequence can be represented by an array: [index0, power].
在进行激光能量数据采集时,对于周期长度为25μs的激光能量,若最高采集精度为1μs,则每个周期最多只能采集25个数据点,而如果采集精度要达到0.01μs,那么一个周期的激光能量的数据点数量为2500个,即叠合后得到的单个周期的激光能量波形需要被抽象为2500个数据点,也就是需要对100个周期的连续激光能量进行数据采集。由此可知,目标激光能量采集的周期数量可以根据最高采集精度和期望采集精度进行确定。When collecting laser energy data, for laser energy with a cycle length of 25μs, if the highest collection accuracy is 1μs, then at most 25 data points can be collected per cycle. If the collection accuracy is to reach 0.01μs, then the number of data points for one cycle of laser energy is 2500, that is, the laser energy waveform of a single cycle obtained after superposition needs to be abstracted into 2500 data points, that is, data collection is required for 100 cycles of continuous laser energy. It can be seen that the number of cycles for target laser energy collection can be determined based on the highest collection accuracy and the expected collection accuracy.
具体的,目标激光能量采集的周期数量根据最高采集精度和期望采集精度进行确定,包括:Specifically, the number of cycles for target laser energy collection is determined based on the highest collection accuracy and the expected collection accuracy, including:
S210、根据最高采集精度和期望采集精度,确定采集精度量级差;S210, determining a magnitude difference of acquisition accuracy according to the highest acquisition accuracy and the expected acquisition accuracy;
S220、根据采集精度量级差,确定目标激光能量采集的周期数量。S220, determining the number of cycles for collecting target laser energy according to the difference in the level of collection accuracy.
在上述示例中,最高采集精度为1μs,即100μs,而期望采集精度为0.01μs,即10-2μs,两者之间的采集精度量级差为102,因此,可以将目标激光能量采集的周期数量确定为100。又例如,若最高采集精度为1μs,而期望采集精度为0.001μs,即10-3μs,那么可以将目标激光能量采集的周期数量确定为103,即1000。还例如,若最高采集精度为0.1μs,即10-1μs,而期望采集精度为0.001μs,即10-3μs,那么可以将目标激光能量采集的周期数量确定为102,即100。应当想到的是,在实际采集过程中目标激光能量的数据采集周期数量可以更多,但取合适周期数量的激光能量数据进行分析。In the above example, the highest acquisition accuracy is 1μs, i.e., 100μs , while the expected acquisition accuracy is 0.01μs, i.e., 10-2μs . The difference in the acquisition accuracy between the two is 102. Therefore, the number of cycles for target laser energy acquisition can be determined as 100. For another example, if the highest acquisition accuracy is 1μs, and the expected acquisition accuracy is 0.001μs, i.e., 10-3μs , then the number of cycles for target laser energy acquisition can be determined as 103 , i.e., 1000. For another example, if the highest acquisition accuracy is 0.1μs, i.e., 10-1μs , and the expected acquisition accuracy is 0.001μs, i.e., 10-3μs , then the number of cycles for target laser energy acquisition can be determined as 102 , i.e., 100. It should be conceived that in the actual acquisition process, the number of cycles for data acquisition of target laser energy can be more, but the laser energy data of a suitable number of cycles are taken for analysis.
S300、基于预设的序号映射模型,将第一采集序号转换为第二采集序号,得到第二激光能量数据序列,第二激光能量数据序列包括第二采集序号和激光能量数据;S300, based on a preset serial number mapping model, convert the first acquisition serial number into a second acquisition serial number to obtain a second laser energy data sequence, where the second laser energy data sequence includes the second acquisition serial number and laser energy data;
示例性的,以目标采集步长为1.01μs,采集周期数量为100作为示例,图8中示出了第一激光能量数据序列的部分数据,其中,power一列示出的数据仅作为示例,不具备实质含义。由于第一激光能量数据序列是按照时间顺序进行采集的,序号index0(即第一采集序号)顺序排列,即index0为1、2、3......时,依次表示第1、2、3......个数据点。为了还原单个周期的激光能量的波形,需要确定各个激光能量数据(power)对应的序号index,即将index0转换为index。本实施例基于序号映射模型,将第一采集序号转换为第二采集序号,得到第二激光能量数据序列,其中,图9中示出了第一采集序号及第二激光能量数据序列的部分数据,需要说明的是,在序号转换过程中激光能量数据(power)没有发生变化。Exemplarily, taking the target acquisition step length of 1.01μs and the number of acquisition cycles of 100 as an example, part of the data of the first laser energy data sequence is shown in FIG8, wherein the data shown in the power column is only an example and has no substantive meaning. Since the first laser energy data sequence is acquired in chronological order, the sequence number index0 (i.e., the first acquisition sequence number) is arranged in sequence, that is, when index0 is 1, 2, 3..., it represents the 1st, 2nd, 3... data points in turn. In order to restore the waveform of the laser energy of a single cycle, it is necessary to determine the sequence number index corresponding to each laser energy data (power), that is, to convert index0 into index. This embodiment is based on the sequence number mapping model, converts the first acquisition sequence number into the second acquisition sequence number, and obtains the second laser energy data sequence, wherein FIG9 shows part of the data of the first acquisition sequence number and the second laser energy data sequence. It should be noted that the laser energy data (power) does not change during the sequence number conversion process.
S400、以第二采集序号为排序依据,对第二激光能量数据序列进行排序,得到第三激光能量数据序列。S400, sorting the second laser energy data sequence based on the second acquisition sequence number to obtain a third laser energy data sequence.
示例性的,经过序号映射模型的转换,可以确定在进行周期叠合之后每个激光能量数据(power)在单个周期内的序号(即与周期起点之间的相对位置)。请参照图10,以第二采集序号(序号index)为排序依据,对第二激光能量数据序列(即数组[index,power])进行排序,使多个周期的激光能量数据(power)按照单个周期内的序号进行顺序排列,从而显示出激光能量的单个周期的波形(如图7所示)。在周期叠合前后,数据点的数量不变,但相邻数据点之间的时间间隔缩小到0.01μs(即期望采集精度下的最小时间间隔),达到激光能量数据从低采集精度向高采集精度转变的目的。Exemplarily, after the conversion of the serial number mapping model, the serial number of each laser energy data (power) in a single cycle (i.e., the relative position with respect to the starting point of the cycle) can be determined after the cycle overlap. Please refer to FIG10, and sort the second laser energy data sequence (i.e., array [index, power]) based on the second acquisition serial number (serial number index), so that the laser energy data (power) of multiple cycles are arranged in sequence according to the serial number in a single cycle, thereby displaying the waveform of a single cycle of laser energy (as shown in FIG7). Before and after the cycle overlap, the number of data points remains unchanged, but the time interval between adjacent data points is reduced to 0.01 μs (i.e., the minimum time interval under the desired acquisition accuracy), so as to achieve the purpose of transforming the laser energy data from low acquisition accuracy to high acquisition accuracy.
由此,通过对目标采集步长进行调整,以及基于目标采集步长对多个周期的目标激光能量进行采集,并基于序号映射模型对采集得到的数据进行序号转换,从而将采集精度较低的多个周期激光能量数据还原成采集精度更高的单周期激光能量数据,有利于提高激光能量数据的采集精度。Therefore, by adjusting the target acquisition step size, acquiring multiple cycles of target laser energy based on the target acquisition step size, and performing serial number conversion on the acquired data based on the serial number mapping model, multiple cycle laser energy data with lower acquisition accuracy can be restored to single cycle laser energy data with higher acquisition accuracy, which is beneficial to improving the acquisition accuracy of laser energy data.
步骤S300、基于预设的序号映射模型,将第一采集序号转换为第二采集序号,得到第二激光能量数据序列,包括:Step S300, based on a preset serial number mapping model, converting the first acquisition serial number into a second acquisition serial number to obtain a second laser energy data sequence, including:
S310、根据最高采集精度和期望采集精度,确定采集精度量级差;S310, determining a magnitude difference of acquisition accuracy according to the highest acquisition accuracy and the expected acquisition accuracy;
例如,最高采集精度为1μs,即100μs,期望采集精度为0.01μs,即10-2μs,则采集精度量级差为102;又例如,最高采集精度为1μs,即100μs,期望采集精度为0.001μs,即10-3μs,则采集精度量级差为103;又例如,最高采集精度为0.1μs,即10-1μs,期望采集精度为0.001μs,即10-3μs,则采集精度量级差为102。For example, the highest acquisition accuracy is 1μs, i.e. 100μs , and the expected acquisition accuracy is 0.01μs, i.e. 10-2μs , then the acquisition accuracy order difference is 102 ; for another example, the highest acquisition accuracy is 1μs, i.e. 100μs , and the expected acquisition accuracy is 0.001μs, i.e. 10-3μs , then the acquisition accuracy order difference is 103 ; for another example, the highest acquisition accuracy is 0.1μs, i.e. 10-1μs , and the expected acquisition accuracy is 0.001μs, i.e. 10-3μs , then the acquisition accuracy order difference is 102 .
S320、根据目标采集步长和采集精度量级差,确定第一运算因子;S320, determining a first operation factor according to the target acquisition step length and the acquisition accuracy magnitude difference;
示例性的,步骤S320包括:根据目标采集步长和采集精度量级差之积,确定第一运算因子。Exemplarily, step S320 includes: determining a first operation factor according to the product of the target acquisition step length and the acquisition accuracy magnitude difference.
例如,设目标采集步长为I,采集精度量级为10n(n为正整数),则第一运算因子K1=I×10n。For example, assuming that the target acquisition step is I and the acquisition accuracy level is 10 n (n is a positive integer), the first operation factor K 1 =I×10 n .
S330、根据目标激光能量的周期长度和采集精度量级差,确定第二运算因子;S330, determining a second operation factor according to the cycle length of the target laser energy and the magnitude difference of the acquisition accuracy;
示例性的,步骤S330包括:根据目标激光能量的周期长度和采集精度量级差之积,确定第二运算因子。Exemplarily, step S330 includes: determining a second operation factor according to the product of the cycle length of the target laser energy and the acquisition accuracy level difference.
例如,设目标激光能量的周期长度为T,采集精度量级为10n(n为正整数),则第二运算因子K2=T×10n。For example, assuming that the cycle length of the target laser energy is T and the acquisition accuracy level is 10 n (n is a positive integer), the second operation factor K 2 =T×10 n .
S340、基于第一运算因子和第二运算因子,将第一采集序号转换为第二采集序号,得到第二激光能量数据序列。S340: Based on the first operation factor and the second operation factor, convert the first acquisition sequence number into a second acquisition sequence number to obtain a second laser energy data sequence.
示例性的,步骤S340包括:根据第一采集序号和第一运算因子之积,对第二运算因子进行取余,确定第二采集序号,以得到第二激光能量数据序列。Exemplarily, step S340 includes: taking the modulus of a second operational factor according to the product of the first acquisition sequence number and the first operational factor, and determining a second acquisition sequence number to obtain a second laser energy data sequence.
例如,设第一采集序号为index0,第二采集序号为index,激光能量数据为power,则第一激光能量数据序列用数组表示为:[index0,power],第二激光能量数据序列用数组表示为:[index,power],第一采集序号和第二采集序号之间的映射关系可以表达为:index= index0×K1 % K2 = index0×(I×10n)%(T×10n),式中,%表示取余运算。在序号映射过程中,将多个周期的数据点序号转换为为一个周期的数据点的序号,而参数power没有参与运算,因此,在power序列的值及其相对位置没有发生变化。当以序号index为排序基准,对第二激光能量数据序列进行排序时,相当于将一个周期内分散的多个数据点按照序号进行排列,从而还原出一个周期的激光能量的波形,有利于提高数据精度。For example, let the first acquisition serial number be index0, the second acquisition serial number be index, and the laser energy data be power. Then the first laser energy data sequence is represented by an array as: [index0, power], and the second laser energy data sequence is represented by an array as: [index, power]. The mapping relationship between the first acquisition serial number and the second acquisition serial number can be expressed as: index = index0×K 1 % K 2 = index0×(I×10 n )%(T×10 n ), where % represents the remainder operation. In the serial number mapping process, the serial numbers of data points of multiple cycles are converted into the serial numbers of data points of one cycle, and the parameter power is not involved in the operation. Therefore, the value of the power sequence and its relative position do not change. When the second laser energy data sequence is sorted based on the serial number index, it is equivalent to arranging multiple data points scattered in one cycle according to the serial number, thereby restoring the waveform of the laser energy of one cycle, which is conducive to improving data accuracy.
请参照图11,本实施例还提供一种激光能量数据采集还原装置,包括确定模块100、采集模块200、转换模块300和排序模块400。Please refer to FIG. 11 , this embodiment further provides a laser energy data acquisition and restoration device, including a determination module 100 , an acquisition module 200 , a conversion module 300 and a sorting module 400 .
确定模块100用于确定目标采集步长,目标采集步长包括最小采集步长和期望采集步长,最小采集步长用于表征在最高采集精度下的最小采集时间间隔,期望采集步长用于表征在期望采集精度下的采集时间间隔;The determination module 100 is used to determine the target acquisition step length, which includes a minimum acquisition step length and an expected acquisition step length, wherein the minimum acquisition step length is used to characterize the minimum acquisition time interval under the highest acquisition accuracy, and the expected acquisition step length is used to characterize the acquisition time interval under the expected acquisition accuracy;
采集模块200用于基于目标采集步长,对多个周期的连续的目标激光能量进行采集,得到第一激光能量数据序列,目标激光能量采集的周期数量根据最高采集精度和期望采集精度进行确定,第一激光能量数据序列包括第一采集序号及对应的激光能量数据;The acquisition module 200 is used to acquire multiple cycles of continuous target laser energy based on the target acquisition step length to obtain a first laser energy data sequence. The number of cycles of target laser energy acquisition is determined according to the highest acquisition accuracy and the expected acquisition accuracy. The first laser energy data sequence includes a first acquisition sequence number and corresponding laser energy data.
转换模块300用于基于预设的序号映射模型,将第一采集序号转换为第二采集序号,得到第二激光能量数据序列,第二激光能量数据序列包括第二采集序号和激光能量数据;The conversion module 300 is used to convert the first acquisition serial number into a second acquisition serial number based on a preset serial number mapping model to obtain a second laser energy data sequence, wherein the second laser energy data sequence includes the second acquisition serial number and laser energy data;
排序模块400用于以第二采集序号为排序依据,对第二激光能量数据序列进行排序,得到第三激光能量数据序列。The sorting module 400 is used to sort the second laser energy data sequence based on the second acquisition sequence number to obtain a third laser energy data sequence.
通过对目标采集步长进行调整,以及基于目标采集步长对多个周期的目标激光能量进行采集,并基于序号映射模型对采集得到的数据进行序号转换,从而将采集精度较低的多个周期激光能量数据还原成采集精度更高的单周期激光能量数据,有利于提高激光能量数据的采集精度。希望理解的是,本激光能量数据采集还原装置实施例的发明构思与上文的激光能量数据采集还原方法实施例相同,为了避免赘述,本激光能量数据采集还原装置实施例中未涉及的内容可参照上文的激光能量数据采集还原方法实施例。By adjusting the target acquisition step length, acquiring multiple cycles of target laser energy based on the target acquisition step length, and converting the acquired data into serial numbers based on the serial number mapping model, multiple cycles of laser energy data with lower acquisition accuracy can be restored to single-cycle laser energy data with higher acquisition accuracy, which is beneficial to improving the acquisition accuracy of laser energy data. It is hoped that it is understood that the inventive concept of the embodiment of the laser energy data acquisition and restoration device is the same as the embodiment of the laser energy data acquisition and restoration method described above. In order to avoid redundancy, the contents not involved in the embodiment of the laser energy data acquisition and restoration device can refer to the embodiment of the laser energy data acquisition and restoration method described above.
本实施例还提供一种激光设备,包括处理器及存储器,存储器中存储有计算机程序,处理器运行计算机程序时用于实现上述的激光能量数据采集还原方法。This embodiment also provides a laser device, including a processor and a memory, wherein a computer program is stored in the memory, and when the processor runs the computer program, it is used to implement the above-mentioned laser energy data acquisition and restoration method.
通过对目标采集步长进行调整,以及基于目标采集步长对多个周期的目标激光能量进行采集,并基于序号映射模型对采集得到的数据进行序号转换,从而将采集精度较低的多个周期激光能量数据还原成采集精度更高的单周期激光能量数据,有利于提高激光能量数据的采集精度。希望理解的是,为了避免赘述,本激光设备实施例中未涉及的内容可参照上文的激光能量数据采集还原方法实施例。By adjusting the target acquisition step length, acquiring target laser energy of multiple cycles based on the target acquisition step length, and converting the acquired data into serial numbers based on the serial number mapping model, the multiple-cycle laser energy data with lower acquisition accuracy can be restored to single-cycle laser energy data with higher acquisition accuracy, which is beneficial to improving the acquisition accuracy of laser energy data. It is hoped that, in order to avoid redundancy, the contents not involved in the laser device embodiment can refer to the laser energy data acquisition and restoration method embodiment above.
本实施例还提供一种存储介质,存储介质中存储有计算机程序,当计算机程序被运行时实现上述的激光能量数据采集还原方法。This embodiment also provides a storage medium, in which a computer program is stored. When the computer program is executed, the above-mentioned laser energy data acquisition and restoration method is implemented.
通过对目标采集步长进行调整,以及基于目标采集步长对多个周期的目标激光能量进行采集,并基于序号映射模型对采集得到的数据进行序号转换,从而将采集精度较低的多个周期激光能量数据还原成采集精度更高的单周期激光能量数据,有利于提高激光能量数据的采集精度。希望理解的是,为了避免赘述,本存储介质实施例中未涉及的内容可参照上文的激光能量数据采集还原方法实施例。By adjusting the target acquisition step length, acquiring target laser energy of multiple cycles based on the target acquisition step length, and converting the acquired data into a serial number based on a serial number mapping model, multiple cycles of laser energy data with lower acquisition accuracy are restored to single-cycle laser energy data with higher acquisition accuracy, which is beneficial to improving the acquisition accuracy of laser energy data. It is hoped that, in order to avoid redundancy, the contents not involved in the storage medium embodiment can refer to the above laser energy data acquisition and restoration method embodiment.
上面结合附图对本发明实施例作了详细说明,但是本发明不限于上述实施例,在所属技术领域普通技术人员所具备的知识范围内,还可以在不脱离本发明宗旨的前提下作出各种变化。The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410634845.XA CN118245014B (en) | 2024-05-22 | 2024-05-22 | Laser energy data acquisition and restoration method and device, laser equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410634845.XA CN118245014B (en) | 2024-05-22 | 2024-05-22 | Laser energy data acquisition and restoration method and device, laser equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118245014A CN118245014A (en) | 2024-06-25 |
CN118245014B true CN118245014B (en) | 2024-09-10 |
Family
ID=91555148
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410634845.XA Active CN118245014B (en) | 2024-05-22 | 2024-05-22 | Laser energy data acquisition and restoration method and device, laser equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118245014B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115267329A (en) * | 2022-07-29 | 2022-11-01 | 西京学院 | A Harmonic Analysis Method Based on Multi-cycle Equivalent Sampling |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3339901B1 (en) * | 2016-12-21 | 2019-04-24 | Hexagon Technology Center GmbH | Laser distance measuring module with adc error compensation by varying sampling times |
CN117741226A (en) * | 2024-02-20 | 2024-03-22 | 成都能斯特新材料科技有限公司 | Method, system, equipment and medium for acquiring effective value of pulse signal |
-
2024
- 2024-05-22 CN CN202410634845.XA patent/CN118245014B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115267329A (en) * | 2022-07-29 | 2022-11-01 | 西京学院 | A Harmonic Analysis Method Based on Multi-cycle Equivalent Sampling |
Also Published As
Publication number | Publication date |
---|---|
CN118245014A (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1187620C (en) | Method for time-marking of waveshape edge of input signals | |
US7286947B1 (en) | Method and apparatus for determining jitter and pulse width from clock signal comparisons | |
CN101706299B (en) | A Coriolis Mass Flow Transmitter Based on DSP | |
CN102466747B (en) | A kind of measurement data compression display device and control method thereof | |
CN107300632B (en) | digital signal processing system of fluorescent oscilloscope | |
CN1292876A (en) | Simultaneous display of primary measurement values and derived parameters | |
US7930120B2 (en) | System and circuit for determining data signal jitter via asynchronous sampling | |
CN109901472A (en) | A Sequential Equivalent Sampling System Based on FPGA | |
CN1153066C (en) | Network analytical instrument, network analytical method and recording media | |
WO2024119746A1 (en) | Data storage method and apparatus, electronic device and storage medium | |
CN112782470A (en) | Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU | |
CN118245014B (en) | Laser energy data acquisition and restoration method and device, laser equipment and storage medium | |
CN115236392A (en) | Electric energy metering method, device, terminal and storage medium with multiple characteristic quantities | |
CN115963312B (en) | Method and device for measuring statistical parameters of periodic waveform | |
CN108982941A (en) | A kind of method for real-time measurement and device, oscillograph, storage medium of period frequency | |
CN1243250C (en) | Data failure storage compression of semiconductor testing system | |
CN101216344A (en) | Music beat detection device and method thereof | |
CN112016045B (en) | Nanosecond pulse power meter data processing method | |
Shize et al. | A novel equivalent sampling method using in the digital storage oscilloscopes | |
JPH07286893A (en) | Signal converter and data display system | |
JPH03210621A (en) | Tablet device for digitizer and position custody method | |
CN106802367A (en) | Based on the vibrating string type sensor signal period measuring method and device that overlap packet | |
CN114490480A (en) | A method, system and electronic device for encoding an internal signal of a chip | |
CN118604535A (en) | Ultra-high frequency partial discharge monitoring method, system and storage medium for hydro-generator | |
CN118641021A (en) | Method, device and electronic equipment for measuring vibration frequency of vibrating string sensor |
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 |