CN115933536A - Board information determination method, device, equipment and storage medium - Google Patents
Board information determination method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN115933536A CN115933536A CN202211473082.2A CN202211473082A CN115933536A CN 115933536 A CN115933536 A CN 115933536A CN 202211473082 A CN202211473082 A CN 202211473082A CN 115933536 A CN115933536 A CN 115933536A
- Authority
- CN
- China
- Prior art keywords
- information
- height
- board surface
- motion
- function
- 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.)
- Granted
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Numerical Control (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及金属激光加工领域,尤其涉及一种板面信息确定方法、装置、设备及存储介质。The present application relates to the field of metal laser processing, and in particular to a method, device, equipment and storage medium for determining plate surface information.
背景技术Background Art
带有切割头高度传感器的金属激光加工过程中,控制系统需要获取高度传感器的信号控制切割头的高度,高度传感器信息从高度调整盒(也称调高盒)中获取的,其中,高度调整盒用于高度信号的采集和处理。一般地,这种场景下的控制目标是尽可能使得高度传感器返回的高度值与用户设定的命令高度保持一致,这种控制方式称作随动控制或者调高控制,参与随动控制的轴称作随动轴。During metal laser processing with a cutting head height sensor, the control system needs to obtain the signal of the height sensor to control the height of the cutting head. The height sensor information is obtained from the height adjustment box (also called the height adjustment box), where the height adjustment box is used to collect and process the height signal. Generally, the control goal in this scenario is to make the height value returned by the height sensor consistent with the command height set by the user as much as possible. This control method is called follow-up control or height adjustment control, and the axis involved in the follow-up control is called the follow-up axis.
但是,高度调整盒在进行高度信号采集的过程中,其电容传感器具有容易产生大量的噪点的特点,因此现有的高度调整盒制造商会加入特定的滤波等手段处理,使得高度信号的噪声减小。然而,这种滤波处理手段会使传感器的信号在一定程度上的失真,该失真主要发生在切割头运动的过程。即当切割头进行加速或减速的时候,由于滤波作用导致系统获取的高度值与实际高度值有偏差。导致根据高度调整盒确定的板面(待激光加工的金属面)位置或速度信息准确率低,随动轴加工时容易产生抖动等问题,影响随动控制效果。However, during the process of height signal acquisition by the height adjustment box, its capacitive sensor has the characteristic of easily generating a large number of noise points. Therefore, existing height adjustment box manufacturers will add specific filtering and other processing methods to reduce the noise of the height signal. However, this filtering processing method will cause the sensor signal to be distorted to a certain extent, and the distortion mainly occurs during the movement of the cutting head. That is, when the cutting head accelerates or decelerates, the height value obtained by the system deviates from the actual height value due to the filtering effect. As a result, the accuracy of the position or speed information of the plate surface (metal surface to be laser processed) determined by the height adjustment box is low, and the follower axis is prone to jitter during processing, which affects the follow-up control effect.
发明内容Summary of the invention
有鉴于此,本申请实施例提供一种板面信息确定方法、装置、设备及存储介质,旨在解决现有的板面加工信息不准确,导致随动轴加工时容易产生抖动等问题,影响随动控制效果的技术问题。In view of this, the embodiments of the present application provide a method, device, equipment and storage medium for determining panel surface information, aiming to solve the technical problem that the existing panel surface processing information is inaccurate, resulting in jitter and other problems during follow-up axis processing, thus affecting the follow-up control effect.
本申请实施例提供了一种板面信息确定方法,所述方法包括:The present application provides a method for determining panel information, the method comprising:
获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;Acquire first height information between the laser cutting head and the plate surface to be processed, which is collected by the height adjustment box based on its response characteristics;
根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;Processing the height information of the encoder according to a preset compensation function to obtain second height information, wherein the compensation function is determined according to the response characteristics of the height adjustment box;
根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。The board surface information of the board surface to be processed is determined according to the first height information and the second height information, so that the laser cutting head can perform cutting based on the board surface information.
在本申请的一种可能的实施方式中,所述根据预设的补偿函数对所述编码器的高度信息进行处理之前,包括:In a possible implementation manner of the present application, before processing the height information of the encoder according to a preset compensation function, the method includes:
获取初始函数;Get the initial function;
根据所述调高盒的响应特性,采用离线辨识技术对所述初始函数进行辨识,得到补偿函数。According to the response characteristics of the height adjustment box, the initial function is identified by using an off-line identification technology to obtain a compensation function.
在本申请的一种可能的实施方式中,所述根据所述调高盒的响应特性,采用离线辨识技术对所述初始函数进行辨识,得到补偿函数,包括:In a possible implementation manner of the present application, the initial function is identified by using an offline identification technology according to the response characteristics of the height adjustment box to obtain a compensation function, including:
获取随动轴基于运动信号进行激励运动时的运动信息,所述运动信息包括所述编码器采集的第三高度信息集合以及所述调高盒采集的第四高度信息集合,其中,所述随动轴用于控制所述激光切割头运动;Acquire motion information of the follower shaft when it performs excitation motion based on the motion signal, wherein the motion information includes a third height information set collected by the encoder and a fourth height information set collected by the height adjustment box, wherein the follower shaft is used to control the motion of the laser cutting head;
基于所述运动信息,采用相位延迟方式计算出所述初始函数的响应系数初值集;Based on the motion information, an initial value set of response coefficients of the initial function is calculated by using a phase delay method;
利用最小二乘法,基于所述响应系数初值集以及预设的板面速度函数,求解得到所述初始函数的目标系数;Using the least square method, based on the initial value set of the response coefficient and the preset board surface velocity function, the target coefficient of the initial function is solved;
将所述目标系数输入至所述初始函数中,得到所述补偿函数。The target coefficient is input into the initial function to obtain the compensation function.
在本申请的一种可能的实施方式中,所述随动轴基于运动信号中的运动频率进行激励运动,所述获取随动轴基于运动信号进行激励运动时的运动信息,包括:In a possible implementation manner of the present application, the follower shaft performs an excitation motion based on a motion frequency in a motion signal, and the acquiring motion information of the follower shaft when performing the excitation motion based on the motion signal includes:
获取随动轴基于运动信号进行激励运动时的运动频率;Acquire the motion frequency of the follower axis when it performs excitation motion based on the motion signal;
基于所述运动频率和采集所述运动信息的采集周期,实时获取所述运动信息。The motion information is acquired in real time based on the motion frequency and a collection period for collecting the motion information.
在本申请的一种可能的实施方式中,所述随动轴基于运动信号中的运动频率进行激励运动,所述基于所述运动信息,采用相位延迟方式计算出所述初始函数的响应系数初值集,包括:In a possible implementation manner of the present application, the follower axis performs an excitation motion based on a motion frequency in a motion signal, and the initial value set of the response coefficient of the initial function is calculated based on the motion information by a phase delay method, including:
计算出所述第三高度信息集合与所述第四高度信息集合中高度信息之间的相位差;Calculating a phase difference between the height information in the third height information set and the height information in the fourth height information set;
基于所述运动频率与所述相位差,确定所述调高盒的延迟时间;Determining a delay time of the height adjustment box based on the movement frequency and the phase difference;
根据所述延迟时间以及采集所述运动信息的采集周期,确定所述调高盒延迟的周期数;Determine the number of delay cycles of the height adjustment box according to the delay time and the collection period of the motion information;
基于所述周期数,确定所述响应系数初值集。Based on the number of cycles, the initial value set of the response coefficients is determined.
在本申请的一种可能的实施方式中,所述利用最小二乘法,基于所述响应系数初值集以及预设板面速度函数,求解得到所述初始函数的目标系数集,包括:In a possible implementation manner of the present application, the least square method is used to solve the target coefficient set of the initial function based on the initial value set of the response coefficient and the preset board speed function, including:
基于所述初始函数构建板面速度函数;Constructing a board speed function based on the initial function;
基于所述响应系数初值集和所述最小二乘法,确定使得所述板面速度函数最小的目标系数集。Based on the initial value set of response coefficients and the least square method, a target coefficient set that minimizes the surface velocity function is determined.
在本申请的一种可能的实施方式中,所述板面信息包括目标高度信息与速度信息,所述根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,包括:In a possible implementation manner of the present application, the board surface information includes target height information and speed information, and determining the board surface information of the board surface to be processed according to the first height information and the second height information includes:
基于所述第一高度信息与所述第二高度信息,确定所述待加工板面的目标高度信息;Determining target height information of the panel surface to be processed based on the first height information and the second height information;
基于微分函数对所述目标高度信息进行微分处理,得到所述待加工板面的速度信息。The target height information is differentiated based on a differential function to obtain speed information of the to-be-processed panel surface.
本申请还提供一种板面信息确定装置,所述装置包括:The present application also provides a device for determining board surface information, the device comprising:
信息获取模块,用于获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;An information acquisition module, used to acquire first height information between the laser cutting head and the plate surface to be processed, which is collected by the height adjustment box based on its response characteristics;
精度补偿模块,用于根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;an accuracy compensation module, used for processing the height information of the encoder according to a preset compensation function to obtain second height information, wherein the compensation function is determined according to the response characteristics of the height adjustment box;
信息确定模块,用于根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。The information determination module is used to determine the board surface information of the board surface to be processed according to the first height information and the second height information, so that the laser cutting head can perform cutting based on the board surface information.
本申请还提供一种板面信息确定设备,所述板面信息确定设备为实体节点设备,所述板面信息确定设备包括:存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的所述板面信息确定方法的程序,所述板面信息确定方法的程序被处理器执行时可实现如上述所述板面信息确定方法的步骤。The present application also provides a panel information determination device, which is a physical node device. The panel information determination device includes: a memory, a processor, and a program of the panel information determination method stored in the memory and executable on the processor. When the program of the panel information determination method is executed by the processor, the steps of the panel information determination method as described above can be implemented.
为实现上述目的,还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有板面信息确定程序,所述板面信息确定程序被处理器执行时实现上述任一所述的板面信息确定方法的步骤。To achieve the above-mentioned purpose, a computer-readable storage medium is also provided, on which a board information determination program is stored. When the board information determination program is executed by a processor, the steps of any of the above-mentioned board information determination methods are implemented.
本申请提供一种板面信息确定方法、装置、设备及存储介质,获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。通过离线辨识的方法,得到编码器的补偿函数,使得编码器经过该补偿函数与调高盒的响应特性一致,达到在激光加工的动态过程中板面位置(目标高度信息)与板面速度更加精确,解决了现有的调高盒获取的高度偏差大引起的板面加工信息不准确的问题(调高盒在进行高度信号采集的过程中,其电容传感器具有容易产生大量的噪点的特点,因此现有的调高盒制造商会加入特定的滤波等手段处理,使得高度信号的噪声减小。然而,这种滤波处理手段会使传感器的信号在一定程度上的失真,导致系统获取的高度值与实际高度值有偏差,导致板面加工信息不准确)。也即,获取高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息,将辨识编码器与调高盒高度输出的响应特性利用在编码器上,获取根据预设的补偿函数对编码器的高度信息进行处理,得到第二高度信息,从而使得编码器经过此补偿函数后的响应特性与调高盒的响应特性一致,补偿了调高盒的精度。由此,根据第一高度信息与第二高度信息,确定待加工板面的目标高度信息与速度信息更为准确,使得随动的控制效果更好。The present application provides a method, device, equipment and storage medium for determining board surface information, which obtains first height information between a laser cutting head and a board surface to be processed, which is collected by a height adjustment box based on its response characteristics; processes the height information of the encoder according to a preset compensation function to obtain second height information, wherein the compensation function is determined according to the response characteristics of the height adjustment box; determines the board surface information of the board surface to be processed according to the first height information and the second height information, so that the laser cutting head can perform cutting based on the board surface information. Through the offline identification method, the compensation function of the encoder is obtained, so that the response characteristics of the encoder and the height adjustment box are consistent after the compensation function, so that the board position (target height information) and the board speed in the dynamic process of laser processing are more accurate, and the problem of inaccurate board processing information caused by the large height deviation obtained by the existing height adjustment box is solved (in the process of height signal acquisition, the capacitive sensor of the height adjustment box has the characteristic of easily generating a large number of noise points, so the existing height adjustment box manufacturers will add specific filtering and other means to reduce the noise of the height signal. However, this filtering processing method will distort the sensor signal to a certain extent, resulting in a deviation between the height value obtained by the system and the actual height value, resulting in inaccurate board processing information). That is, the first height information between the laser cutting head and the board to be processed collected by the height box based on its response characteristics is obtained, and the response characteristics of the height output of the encoder and the height adjustment box are used on the encoder, and the height information of the encoder is processed according to the preset compensation function to obtain the second height information, so that the response characteristics of the encoder after this compensation function are consistent with the response characteristics of the height adjustment box, and the accuracy of the height adjustment box is compensated. Therefore, according to the first height information and the second height information, the target height information and the speed information of the plate surface to be processed are determined more accurately, so that the follow-up control effect is better.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请板面信息确定方法的第一实施例的流程示意图;FIG1 is a schematic diagram of a flow chart of a first embodiment of a method for determining board information of the present application;
图2为本申请板面信息确定方法的第二实施例中开精度补偿的控制框图;FIG2 is a control block diagram of opening precision compensation in a second embodiment of the method for determining board surface information of the present application;
图3为本申请板面信息确定方法的第三实施例中精度补偿与未补偿的效果图;FIG3 is a diagram showing the effects of accuracy compensation and non-compensation in the third embodiment of the method for determining board surface information of the present application;
图4为本申请实施例方案涉及的硬件运行环境的设备结构示意图;FIG4 is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application;
图5为本申请板面信息确定装置较佳实施例的功能模块示意图。FIG. 5 is a schematic diagram of functional modules of a preferred embodiment of the device for determining board information of the present application.
具体实施方式DETAILED DESCRIPTION
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
本申请实施例提供一种板面信息确定方法,在本申请板面信息确定方法的一实施例中,应用于板面信息确定装置,参照图1,所述方法包括:The present application provides a method for determining board surface information. In one embodiment of the method for determining board surface information of the present application, the method is applied to a board surface information determining device. Referring to FIG. 1 , the method includes:
步骤S10,获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;Step S10, obtaining first height information between the laser cutting head and the board to be processed, which is collected by the height adjustment box based on its response characteristics;
步骤S20,根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;Step S20, processing the height information of the encoder according to a preset compensation function to obtain second height information, wherein the compensation function is determined according to the response characteristics of the height adjustment box;
步骤S30,根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。Step S30, determining the board surface information of the board surface to be processed according to the first height information and the second height information, so that the laser cutting head can perform cutting based on the board surface information.
本实施例旨在:通过辨识编码器与调高盒高度输出的响应特性,将响应特性利用在编码器上,从而补偿调高盒与编码器得到的板面信息的精度,得到准确的板面加工信息,提高激光加工过程中随动轴的随动控制效果。The purpose of this embodiment is to: identify the response characteristics of the encoder and the height output of the height adjustment box, utilize the response characteristics on the encoder, thereby compensating for the accuracy of the board surface information obtained by the height adjustment box and the encoder, obtain accurate board surface processing information, and improve the follow-up control effect of the follow-up axis during laser processing.
具体地,在本申请中,通过离线辨识的方法,得到编码器的补偿函数,使得编码器经过该补偿函数后的响应特性与调高盒的响应特性一致,达到在激光加工的动态过程中板面位置(目标高度信息)与板面速度更加精确,解决了现有的调高盒获取的高度偏差大引起的板面加工信息不准确的问题(调高盒在进行高度信号采集的过程中,其电容传感器具有容易产生大量的噪点的特点,因此现有的调高盒制造商会加入特定的滤波等手段处理,使得高度信号的噪声减小。然而,这种滤波处理手段会使传感器的信号在一定程度上的失真,导致系统获取的高度值与实际高度值有偏差,导致板面加工信息不准确)。在本申请中,获取调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息,获取根据预设的补偿函数对编码器的高度信息进行处理,得到第二高度信息,从而使得编码器经过此补偿函数后的响应特性与调高盒的响应特性一致,补偿了调高盒的精度。由此,根据第一高度信息与第二高度信息,确定待加工板面的目标高度信息与速度信息更为准确,使得随动的控制效果更好。Specifically, in the present application, the compensation function of the encoder is obtained by an offline identification method, so that the response characteristics of the encoder after the compensation function are consistent with the response characteristics of the height adjustment box, so that the board position (target height information) and the board speed in the dynamic process of laser processing are more accurate, and the problem of inaccurate board processing information caused by the large height deviation obtained by the existing height adjustment box is solved (in the process of height signal acquisition, the capacitive sensor of the height adjustment box has the characteristic of easily generating a large number of noise points, so the existing height adjustment box manufacturers will add specific filtering and other means to reduce the noise of the height signal. However, this filtering processing method will distort the sensor signal to a certain extent, resulting in a deviation between the height value obtained by the system and the actual height value, resulting in inaccurate board processing information). In the present application, the first height information between the laser cutting head and the board to be processed collected by the height adjustment box based on its response characteristics is obtained, and the height information of the encoder is processed according to the preset compensation function to obtain the second height information, so that the response characteristics of the encoder after this compensation function are consistent with the response characteristics of the height adjustment box, and the accuracy of the height adjustment box is compensated. Therefore, according to the first height information and the second height information, the target height information and the speed information of the plate surface to be processed are determined more accurately, so that the follow-up control effect is better.
在本实施例中,针对的具体应用场景是:In this embodiment, the specific application scenarios are:
带有切割头高度传感器的金属激光加工过程中,控制系统需要获取高度传感器的信号控制切割头的高度,高度传感器信息从高度调整盒(也称调高盒)中获取的。一般地,这种场景下的控制目标是尽可能使得高度传感器返回的高度值与用户设定的命令高度保持一致,这种控制方式称作随动控制或者调高控制,参与随动控制的轴称作随动轴。During metal laser processing with a cutting head height sensor, the control system needs to obtain the signal of the height sensor to control the height of the cutting head. The height sensor information is obtained from the height adjustment box (also called the height adjustment box). Generally, the control goal in this scenario is to make the height value returned by the height sensor consistent with the command height set by the user as much as possible. This control method is called follow-up control or height adjustment control, and the axis involved in follow-up control is called a follow-up axis.
但是,调高盒在进行高度信号采集的过程中,其电容传感器具有容易产生大量的噪点的特点,因此现有的调高盒制造商会加入特定的滤波等手段处理,使得高度信号的噪声减小。然而,这种滤波处理手段会使传感器的信号在一定程度上的失真,该失真主要发生在切割头运动的过程。即当切割头进行加速或减速的时候,由于滤波作用导致系统获取的高度值与实际高度值有偏差。导致根据调高盒确定的板面(待激光加工的金属面)位置或速度信息准确率低,随动轴加工时容易产生抖动等问题,影响随动控制效果。However, when the height adjustment box is collecting height signals, its capacitive sensor is prone to generate a large amount of noise. Therefore, existing height adjustment box manufacturers will add specific filtering and other processing methods to reduce the noise of the height signal. However, this filtering processing method will cause the sensor signal to be distorted to a certain extent. This distortion mainly occurs during the movement of the cutting head. That is, when the cutting head accelerates or decelerates, the height value obtained by the system deviates from the actual height value due to the filtering effect. As a result, the accuracy of the position or speed information of the plate surface (metal surface to be laser processed) determined by the height adjustment box is low, and the follower axis is prone to jitter during processing, which affects the follow-up control effect.
作为一种示例,板面信息确定方法可以应用于激光加工控制系统,所述激光加工控制系统应用于激光加工控制设备。As an example, the board surface information determination method may be applied to a laser processing control system, which is applied to a laser processing control device.
作为一种示例,激光加工控制系统包括激光切割头、调高盒以及编码器。As an example, a laser processing control system includes a laser cutting head, a height adjustment box, and an encoder.
作为一种示例,编码器安装于电机上,电机与随动轴联动,激光切割头安装于随动轴上,因此,电机驱动随动轴运动时,带动激光切割头移动,对代加工板面进行激光加工。As an example, the encoder is installed on the motor, the motor is linked to the follower shaft, and the laser cutting head is installed on the follower shaft. Therefore, when the motor drives the follower shaft to move, it drives the laser cutting head to move and perform laser processing on the processed board surface.
作为一种示例,调高盒用于激光加工过程中高度信号的采集盒处理,处理后的信号输送至高度传感器,以使激光加工控制系统获取高度传感器的信号进行控制,控制激光切割头对待加工板面进行激光加工。As an example, the height adjustment box is used to collect and process the height signal during laser processing. The processed signal is transmitted to the height sensor so that the laser processing control system can obtain the signal of the height sensor for control and control the laser cutting head to perform laser processing on the board to be processed.
作为一种示例,调高盒采集的高度信号是指激光切割头至待加工板面之间的高度信息或距离信息。As an example, the height signal collected by the height adjustment box refers to the height information or distance information between the laser cutting head and the board surface to be processed.
作为一种示例,待加工板面是指待加工的金属面。As an example, the plate surface to be processed refers to the metal surface to be processed.
作为一种示例,激光加工控制系统还会读取随动轴的编码器位置(电机端),用于确定随动轴的命令位置距离板面的高度,以及板面的趋势速度,用于增强随动的控制效果。其中,随动轴的命令位置是指调高盒的高度信号,即激光切割头至待加工板面之间的高度信息。随动轴的命令位置于用户设定的命令高度保持一致时,表示调高盒的精度高,调高盒获取到的高度值与实际高度偏极小,能够保持板面位置或速度信息准确率。As an example, the laser processing control system also reads the encoder position (motor end) of the follower axis to determine the height of the command position of the follower axis from the board surface, as well as the trend speed of the board surface, to enhance the control effect of the follower. Among them, the command position of the follower axis refers to the height signal of the height adjustment box, that is, the height information between the laser cutting head and the board surface to be processed. When the command position of the follower axis is consistent with the command height set by the user, it means that the accuracy of the height adjustment box is high, and the height value obtained by the height adjustment box is very small from the actual height, which can maintain the accuracy of the board surface position or speed information.
具体步骤如下:The specific steps are as follows:
步骤S10,获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;Step S10, obtaining first height information between the laser cutting head and the board to be processed, which is collected by the height adjustment box based on its response characteristics;
作为一种示例,调高盒中进行高度信号采集的部件是传感器,通常是电容传感器,由于电容传感器容易产生大量的噪声。因此,在制造时在调高盒中加入特定的滤波处理,该滤波处理会导致系统获取到的高度值与实际高度有偏差。也即,调高盒采集的高度信息(实际高度)会进入一个传递函数H(s)的响应,本质上H(s)的产生是因为调高盒内部的滤波等处理。As an example, the component that collects the height signal in the height adjustment box is a sensor, usually a capacitive sensor. Since the capacitive sensor is prone to generate a lot of noise, a specific filtering process is added to the height adjustment box during manufacturing. The filtering process will cause the height value obtained by the system to deviate from the actual height. In other words, the height information (actual height) collected by the height adjustment box will enter the response of a transfer function H(s). In essence, H(s) is generated because of the filtering and other processes inside the height adjustment box.
作为一种示例,获取调高盒中经过H(s)响应后输出的第一高度信息,该第一高度信息是指激光切割头与待加工板面之间的高度信息。As an example, the first height information outputted from the height adjustment box after the H(s) response is obtained, where the first height information refers to the height information between the laser cutting head and the board to be processed.
步骤S20,根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;Step S20, processing the height information of the encoder according to a preset compensation function to obtain second height information, wherein the compensation function is determined according to the response characteristics of the height adjustment box;
作为一种示例,待加工板面的理想位置=随动轴的编码器位置-实际高度。其中,编码器位置是指在激光加工的机械坐标系中编码器的坐标位置。实际高度是指激光切割头至待加工板面之间的高度信息。As an example, the ideal position of the plate to be processed = the encoder position of the follower axis - the actual height. The encoder position refers to the coordinate position of the encoder in the mechanical coordinate system of the laser processing. The actual height refers to the height information between the laser cutting head and the plate to be processed.
但实际上,实际高度是经过调高盒的传递函数H(s)的响应得到的,会使调高盒传感器的信号在一定程度上的失真。也即,调高盒采集的高度信息与实际高度有偏差。而编码器采集的随动轴编码位置没有失真,即为准确数值。因此,在确定待加工板面的板面信息时,形成了板面的位置与板面的速度的偏差。But in fact, the actual height is obtained through the response of the transfer function H(s) of the height adjustment box, which will distort the signal of the height adjustment box sensor to a certain extent. That is, the height information collected by the height adjustment box deviates from the actual height. However, the encoder position of the follower shaft collected by the encoder is not distorted, that is, it is an accurate value. Therefore, when determining the board surface information of the board to be processed, a deviation is formed between the position of the board surface and the speed of the board surface.
为了补偿这一偏差,给编码器的数据输出处理设定一个补偿函数,使得编码器中信息经过补偿函数响应后,达到编码器经过此补偿函数后的响应特性与调高盒的响应特性一致,从而减小编码器与调高盒之间信息的偏差。In order to compensate for this deviation, a compensation function is set for the encoder's data output processing so that after the information in the encoder responds to the compensation function, the response characteristics of the encoder after passing through this compensation function are consistent with the response characteristics of the height adjustment box, thereby reducing the deviation of information between the encoder and the height adjustment box.
作为一种示例,补偿函数是指根据调高盒的响应特性建立的作用于编码器上对信息进行响应输出的函数。补偿函数对编码器获取的信息进行响应时的特性与传递函数H(s)对调高盒获取的信息进行响应时的特性一致。As an example, the compensation function refers to a function established according to the response characteristics of the height adjustment box and acting on the encoder to respond to the information output. The characteristics of the compensation function in response to the information obtained by the encoder are consistent with the characteristics of the transfer function H(s) in response to the information obtained by the height adjustment box.
作为一种示例,根据预设的补偿函数对编码器的高度信息进行处理,获取编码器输出的编码器位置信息。由于在确定待加工板面的位置时,基于机械坐标系中纵向方向确定,因此,编码器位置信息也即第二高度信息。As an example, the height information of the encoder is processed according to a preset compensation function to obtain the encoder position information output by the encoder. Since the position of the board to be processed is determined based on the longitudinal direction in the mechanical coordinate system, the encoder position information is also the second height information.
步骤S30,根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。Step S30, determining the board surface information of the board surface to be processed according to the first height information and the second height information, so that the laser cutting head can perform cutting based on the board surface information.
作为一种示例,待加工板面的板面信息包括目标高度信息与速度信息,其中,目标高度是指待加工板面的位置信息,即板面在激光加工所处的机械坐标系中的位置。速度信息是指根据待加工板面的位置信息计算出的板面速度趋势,用于控制激光切割头与待加工板面的同步,避免激光切割头抖动而导致加工效果差的问题。As an example, the surface information of the board to be processed includes target height information and speed information, wherein the target height refers to the position information of the board to be processed, that is, the position of the board in the mechanical coordinate system where the laser processing is located. The speed information refers to the speed trend of the board calculated based on the position information of the board to be processed, which is used to control the synchronization between the laser cutting head and the board to be processed, and avoid the problem of poor processing effect caused by the shaking of the laser cutting head.
作为一种示例,该板面信息是经过调高盒的传递函数H(s)响应后的第一高度信息与经过编码器的补偿函数响应后的第二高度信息确定的,补偿调高盒的精度,提高编码器与调高盒处理的信息准确性。As an example, the panel information is determined by the first height information after the transfer function H(s) response of the height adjustment box and the second height information after the compensation function response of the encoder, compensating for the accuracy of the height adjustment box and improving the accuracy of the information processed by the encoder and the height adjustment box.
作为一种示例,根据第一高度信息与第二高度信息,确定待加工板面的板面信息。As an example, the board surface information of the board surface to be processed is determined according to the first height information and the second height information.
作为一种示例,所述板面信息包括目标高度信息与速度信息,所述根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,包括:As an example, the board surface information includes target height information and speed information, and determining the board surface information of the board surface to be processed according to the first height information and the second height information includes:
步骤S31,基于所述第一高度信息与所述第二高度信息,确定所述待加工板面的目标高度信息;Step S31, determining target height information of the to-be-processed panel surface based on the first height information and the second height information;
步骤S32,基于微分函数对所述目标高度信息进行微分处理,得到所述待加工板面的速度信息。Step S32, performing differentiation processing on the target height information based on a differential function to obtain speed information of the board surface to be processed.
作为一种示例,待加工板面的目标高度信息为编码器输出的第二高度信息与调高盒输出的第一高度信息之间的高度差值,即第二高度信息对应的数值减去第一高度信息对应的数值,得到高度差值,该高度差值即为待加工板面在机械坐标系中位置信息,也即目标高度信息。As an example, the target height information of the board to be processed is the height difference between the second height information output by the encoder and the first height information output by the height adjustment box, that is, the value corresponding to the second height information is subtracted from the value corresponding to the first height information to obtain the height difference. The height difference is the position information of the board to be processed in the mechanical coordinate system, that is, the target height information.
作为一种示例,微分是一个变量在某个变化过程中的改变量的线性主要部分,基于微分函数对待加工板面的位置信息进行微分处理后,得到待加工板面的速度信息。根据经过调高盒、编码器处理后的第一高度信息、第二高度信息得到的目标高度信息与速度信息更加精确,通过目标高度信息与速度信息,为后续随动控制跟随性、超调量等指标有一定的促进作用。As an example, the differential is the linear main part of the change of a variable in a certain change process. After the position information of the plate to be processed is differentiated based on the differential function, the speed information of the plate to be processed is obtained. The target height information and speed information obtained based on the first height information and the second height information processed by the height adjustment box and the encoder are more accurate. Through the target height information and speed information, the subsequent follow-up control tracking, overshoot and other indicators have a certain promoting effect.
本申请提供一种板面信息确定方法、装置、设备及存储介质,与目前板面加工信息不准确,导致随动轴加工时容易产生抖动等问题,影响随动控制效果相比,在本申请中,获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。在本申请中,通过离线辨识的方法,得到编码器的补偿函数,使得编码器经过该补偿函数与调高盒的响应特性一致,达到在激光加工的动态过程中板面位置(目标高度信息)与板面速度更加精确,解决了现有的调高盒获取的高度偏差大引起的板面加工信息不准确的问题(调高盒在进行高度信号采集的过程中,其电容传感器具有容易产生大量的噪点的特点,因此现有的调高盒制造商会加入特定的滤波等手段处理,使得高度信号的噪声减小。然而,这种滤波处理手段会使传感器的信号在一定程度上的失真,导致系统获取的高度值与实际高度值有偏差,导致板面加工信息不准确)。也即,获取高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息,将辨识编码器与调高盒高度输出的响应特性利用在编码器上,获取根据预设的补偿函数对编码器的高度信息进行处理,得到第二高度信息,从而使得编码器经过此补偿函数后的响应特性与调高盒的响应特性一致,补偿了调高盒的精度。由此,根据第一高度信息与第二高度信息,确定待加工板面的目标高度信息与速度信息更为准确,使得随动的控制效果更好。The present application provides a method, device, equipment and storage medium for determining board surface information. Compared with the current inaccurate board surface processing information, which leads to problems such as jitter during follow-up axis processing and affects the follow-up control effect, in the present application, the first height information between the laser cutting head and the board surface to be processed, which is collected by the height adjustment box based on its response characteristics, is obtained; the height information of the encoder is processed according to a preset compensation function to obtain the second height information, wherein the compensation function is determined according to the response characteristics of the height adjustment box; the board surface information of the board surface to be processed is determined according to the first height information and the second height information, so that the laser cutting head can cut based on the board surface information. In the present application, the compensation function of the encoder is obtained by an offline identification method, so that the encoder is consistent with the response characteristics of the height adjustment box after the compensation function, so that the board position (target height information) and the board speed in the dynamic process of laser processing are more accurate, and the problem of inaccurate board processing information caused by the large height deviation obtained by the existing height adjustment box is solved (in the process of height signal acquisition, the capacitive sensor of the height adjustment box has the characteristic of easily generating a large number of noise points, so the existing height adjustment box manufacturers will add specific filtering and other means to reduce the noise of the height signal. However, this filtering processing method will distort the sensor signal to a certain extent, resulting in a deviation between the height value obtained by the system and the actual height value, resulting in inaccurate board processing information). That is, the first height information between the laser cutting head and the board to be processed collected by the height box based on its response characteristics is obtained, and the response characteristics of the encoder and the height adjustment box height output are used on the encoder, and the height information of the encoder is processed according to the preset compensation function to obtain the second height information, so that the response characteristics of the encoder after this compensation function are consistent with the response characteristics of the height adjustment box, and the accuracy of the height adjustment box is compensated. Therefore, according to the first height information and the second height information, the target height information and the speed information of the plate surface to be processed are determined more accurately, so that the follow-up control effect is better.
基于上述一种板面信息确定方法的第一实施例,提出板面信息确定方法的第二实施例。Based on the first embodiment of the method for determining board surface information described above, a second embodiment of the method for determining board surface information is proposed.
参照图2,图2所示为开精度补偿的控制框图。为了补偿调高盒传递函数H(s)响应导致待加工板面的位置与板面的速度的偏差,在随动轴编码器位置上增加一个补偿函数G(s)的一个响应,当G(s)=H(s)时,即可使得编码器经过此补偿函数G(s)与调高盒的传递函数H(s)一致,以使待加工板面的位置与待加工板面的速度得到补偿。Refer to Figure 2, which is a control block diagram of the precision compensation. In order to compensate for the deviation between the position and speed of the plate surface to be processed caused by the response of the height adjustment box transfer function H(s), a response of a compensation function G(s) is added to the position of the follower shaft encoder. When G(s) = H(s), the encoder can be made consistent with the transfer function H(s) of the height adjustment box through this compensation function G(s), so that the position and speed of the plate surface to be processed are compensated.
作为一种示例,所述根据预设的补偿函数对所述编码器的高度信息进行处理之前,包括:As an example, before processing the height information of the encoder according to a preset compensation function, the method includes:
步骤S40,获取初始函数;Step S40, obtaining an initial function;
步骤S50,根据所述调高盒的响应特性,采用离线辨识技术对所述初始函数进行辨识,得到补偿函数。Step S50: According to the response characteristics of the height adjustment box, the initial function is identified by using an off-line identification technology to obtain a compensation function.
作为一种示例,在通过离线辨识技术对补偿函数辨识的过程中,用户需要保证整个过程待加工板面是没有发生运动的。As an example, during the process of identifying the compensation function through the offline identification technology, the user needs to ensure that the board surface to be processed does not move during the entire process.
作为一种示例,初始函数是指根据调高盒中用于减小高度信号噪声的滤波器属性设计的函数,以使通过初始函数得到的补偿函数与调高盒的滤波器响应特性一致,用于补偿调高盒的精度,提升待加工板面的板面信息准确性。As an example, the initial function refers to a function designed according to the filter properties in the height adjustment box for reducing height signal noise, so that the compensation function obtained by the initial function is consistent with the filter response characteristics of the height adjustment box, and is used to compensate for the accuracy of the height adjustment box and improve the accuracy of the board surface information of the board to be processed.
作为一种示例,设定初始函数为G(s)',G(s)'离散化之后得到G(Z-1),若假设结构是一个FIR的滤波器,则G(Z-1)的公式如下:As an example, the initial function is set to G(s)', and G(s)' is discretized to obtain G(Z -1 ). If it is assumed that the structure is a FIR filter, the formula of G(Z -1 ) is as follows:
其中,n指的是滤波的阶数,n为自定义变量,用户可根据实际需求指定。z为延长第i个周期后编码器位置信息(即激光切割头在机械坐标系中的位置)。因此,只要确定ai的范围就确定了G(Z-1)的表达。Among them, n refers to the order of the filter, and n is a custom variable that can be specified by the user according to actual needs. z is the encoder position information after extending the i-th cycle (i.e., the position of the laser cutting head in the mechanical coordinate system). Therefore, as long as the range of a i is determined, the expression of G(Z -1 ) is determined.
作为一种示例,利用离线辨识技术对初始函数G(s)'进行辨识,得到补偿函数。As an example, the initial function G(s)' is identified using an off-line identification technique to obtain a compensation function.
作为一种示例,所述根据所述调高盒的响应特性,采用离线辨识技术对所述初始函数进行辨识,得到补偿函数,包括:As an example, according to the response characteristics of the height adjustment box, the initial function is identified by using an offline identification technology to obtain a compensation function, including:
步骤S51,获取随动轴基于运动信号进行激励运动时的运动信息,所述运动信息包括所述编码器采集的第三高度信息集合以及所述调高盒采集的第四高度信息集合,其中,所述随动轴用于控制所述激光切割头运动;Step S51, obtaining motion information of the follower shaft when performing excitation motion based on the motion signal, wherein the motion information includes a third height information set collected by the encoder and a fourth height information set collected by the height adjustment box, wherein the follower shaft is used to control the motion of the laser cutting head;
步骤S52,基于所述运动信息,采用相位延迟方式计算出所述初始函数的响应系数初值集;Step S52, based on the motion information, using a phase delay method to calculate an initial value set of the response coefficient of the initial function;
步骤S53,利用最小二乘法,基于所述响应系数初值集以及预设的板面速度函数,求解得到所述初始函数的目标系数;Step S53, using the least square method, based on the initial value set of the response coefficient and the preset board speed function, solving to obtain the target coefficient of the initial function;
步骤S54,将所述目标系数输入至所述初始函数中,得到所述补偿函数。Step S54: input the target coefficient into the initial function to obtain the compensation function.
作为一种示例,运动信号是指用于控制随动轴进行激励运动的信号或指定。As an example, the motion signal refers to a signal or designation for controlling the follower axis to perform an excitation motion.
作为一种示例,激励是指特定的运动信号,激励运动是指随动轴进行正余弦运动,通过用户指定的运动频率能够确定随动轴的运动属性,也即确定随动轴的正弦运动或余弦运动。As an example, excitation refers to a specific motion signal, and the excitation motion refers to the sine and cosine motion of the follower axis. The motion properties of the follower axis can be determined by the motion frequency specified by the user, that is, the sine motion or cosine motion of the follower axis.
作为一种示例,往返运动具有范围。其范围最低点为预设数值,最高点为随动最大量程的一半。其中,预设数值根据激光加工的需求设定,可以是1mm。As an example, the reciprocating motion has a range. The lowest point of the range is a preset value, and the highest point is half of the maximum range of the follow-up. The preset value is set according to the requirements of the laser processing, and can be 1mm.
作为一种示例,获取随动轴基于运动信号进行激励运动时的运动信息,该运动信息用于对初始函数进行实例化,得到补偿函数。As an example, motion information of the follower axis when performing an excitation motion based on a motion signal is obtained, and the motion information is used to instantiate the initial function to obtain the compensation function.
作为一种示例,获取的运动信息是指按照控制器周期(一般1ms)存储的随动轴编码器位置(第三高度信息)以及调高盒反馈的高度(第四高度信息),存储的多个第三高度信息形成第三高度信息集合,多个第四高度信息形成第四高度信息集合。也即,运动信息包括编码器采集的第三高度信息集合以及调高盒采集的第四高度信息集合。其中,控制器周期是指激光加工控制系统中控制随动轴运动的控制的信号采集周期。As an example, the acquired motion information refers to the encoder position of the follower shaft (third height information) stored according to the controller cycle (generally 1ms) and the height (fourth height information) fed back by the height adjustment box. The stored multiple third height information form a third height information set, and the stored multiple fourth height information form a fourth height information set. That is, the motion information includes the third height information set collected by the encoder and the fourth height information set collected by the height adjustment box. Among them, the controller cycle refers to the signal acquisition cycle of the control of the follower shaft movement in the laser processing control system.
作为一种示例,所述随动轴基于运动信号中的运动频率进行激励运动,所述获取随动轴基于运动信号进行激励运动时的运动信息,包括:As an example, the follower shaft performs an excitation motion based on a motion frequency in a motion signal, and the acquiring motion information of the follower shaft when performing the excitation motion based on the motion signal includes:
步骤S511,获取随动轴基于运动信号进行激励运动时的运动频率;Step S511, obtaining the motion frequency of the follower axis when performing excitation motion based on the motion signal;
步骤S512,基于所述运动频率和采集所述运动信息的采集周期,实时获取所述运动信息。Step S512: acquiring the motion information in real time based on the motion frequency and a collection period for collecting the motion information.
作为一种示例,用户指定随动轴的运动频率,使得随动轴按照运动频率做往返运动。因此,获取随动轴基于运动信号进行激励运动时的运动频率,确定随动轴的正余弦运动。As an example, the user specifies the movement frequency of the follower axis so that the follower axis performs reciprocating motion according to the movement frequency. Therefore, the movement frequency of the follower axis when performing excitation motion based on the motion signal is obtained to determine the sine and cosine motion of the follower axis.
作为一种示例,控制器周期是指激光加工控制系统中控制随动轴运动的控制的信号采集周期。As an example, the controller cycle refers to a signal collection cycle for controlling the movement of a follower axis in a laser processing control system.
作为一种示例,激励运动的周期可以根据实际需求设定,若设定一个激励动作按照预设数量的运动频率周期进行运动。则完成一个完整激励运动,可获取n*f1/f2组运动信息,其中,n为预设数量,可以默认或自定义,例如n=5,指整个激励动作按照5个用户指定的运动频率周期f1进行运动,f2为控制器周期。As an example, the cycle of the excitation movement can be set according to actual needs. If an excitation action is set to move according to a preset number of movement frequency cycles, then a complete excitation movement can be completed, and n*f1/f2 groups of movement information can be obtained, where n is a preset number, which can be default or customized. For example, n=5 means that the entire excitation action moves according to 5 user-specified movement frequency cycles f1, and f2 is the controller cycle.
作为一种示例,基于运动信息,采用相位延迟方式计算出初始函数的响应系数数值集ai。As an example, based on the motion information, a phase delay method is used to calculate the response coefficient value set a i of the initial function.
作为一种示例,所述基于所述运动信息,采用相位延迟方式计算出所述初始函数的响应系数初值集,包括:As an example, the step of calculating the initial value set of the response coefficient of the initial function based on the motion information by adopting a phase delay method includes:
步骤S521,计算出所述第三高度信息集合与所述第四高度信息集合中高度信息之间的相位差;Step S521, calculating the phase difference between the height information in the third height information set and the height information in the fourth height information set;
步骤S522,基于所述运动频率与所述相位差,确定所述调高盒的延迟时间;Step S522, determining a delay time of the height adjustment box based on the movement frequency and the phase difference;
步骤S523,根据所述延迟时间以及采集所述运动信息的采集周期,确定所述调高盒延迟的周期数;Step S523, determining the number of delay cycles of the height adjustment box according to the delay time and the collection cycle of the motion information;
步骤S524,基于所述周期数,确定所述响应系数初值集。Step S524: determining the initial value set of the response coefficient based on the number of cycles.
作为一种示例,若用户指定的运动频率为f,则获取控制器端得到的编码器第三高度信息是actPos(t)和调高盒获取的第四高度信息是sysSensor(t),计算出actPos(t)与sysSensor(t)的相位差为 As an example, if the user specifies the motion frequency as f, the third height information of the encoder obtained by the controller is actPos(t) and the fourth height information obtained by the height adjustment box is sysSensor(t). The phase difference between actPos(t) and sysSensor(t) is calculated as
假设Assumptions
其中,N1(t)为编码器噪声,N2(t)为调高盒噪声,为调高盒幅度衰减,为编码器第三高度信息集合中第三高度信息actPos(t)的延迟,为调高盒获取的第四高度信息集合中第四高度信息sysSensor(t)的延迟。Where N 1 (t) is the encoder noise, N 2 (t) is the step-up box noise, To increase the box amplitude attenuation, is the delay of the third height information actPos(t) in the third height information set of the encoder, It is the delay of the fourth height information sysSensor(t) in the fourth height information set obtained by the height adjustment box.
利用DFT算法可得到actPos(t)在f频率下的相位:The phase of actPos(t) at frequency f can be obtained using the DFT algorithm:
sysSensor(t)在f频率下的相位的计算方式与actPos(t)在f频率下的相位计算方式基本相同,在此不再赘述,由此,得到sysSensor(t)在f频率下的相位phase(sysSensor(t))。The calculation method of the phase of sysSensor(t) at frequency f is basically the same as the calculation method of the phase of actPos(t) at frequency f, which will not be repeated here. Thus, the phase phase(sysSensor(t)) of sysSensor(t) at frequency f is obtained.
在t时刻下的第三高度信息集合中高度信息与对应的所述第四高度信息集合中高度信息之间的相位差为:The phase difference between the height information in the third height information set and the corresponding height information in the fourth height information set at time t is:
因此,通过与控制器的采集周期,能够得到调高盒延迟时间为 Therefore, through With the acquisition cycle of the controller, the delay time of the height adjustment box can be obtained as
将调高盒延迟除以控制器的采集周期取整后得到调高盒延迟的周期数k,那么ak=1,其他值均为0,这样的值作为ai的初值。也即,响应系数初值ai{a0、a1、a2……ai}的初值集为{0、0、0……1、0、0……0},第k个ai的初值为1。The delay of the height adjustment box is divided by the acquisition period of the controller and rounded to the integer to obtain the cycle number k of the height adjustment box delay, then a k = 1, and other values are all 0. This value is used as the initial value of a i . That is, the initial value set of the initial value of the response coefficient a i {a 0 , a 1 , a 2 …… a i } is {0, 0, 0……1, 0, 0……0}, and the initial value of the kth a i is 1.
作为一种示例,利用最小二乘法,基于响应系数初值集以及预设的板面速度函数,求解得到初始函数的目标系数,从而得到系数确定的初始函数,即为补偿函数。As an example, the least square method is used to solve the target coefficients of the initial function based on the initial value set of the response coefficients and the preset plate velocity function, thereby obtaining the initial function with determined coefficients, which is the compensation function.
作为一种示例,所述利用最小二乘法,基于所述响应系数初值集以及预设板面速度函数,求解得到所述初始函数的目标系数集,包括:As an example, the least square method is used to solve the target coefficient set of the initial function based on the initial value set of the response coefficient and the preset board speed function, including:
步骤S531,基于所述初始函数构建板面速度函数;Step S531, constructing a board speed function based on the initial function;
步骤S532,基于所述响应系数初值集和所述最小二乘法,确定使得所述板面速度函数最小的目标系数集。Step S532: Based on the initial value set of response coefficients and the least square method, determine the target coefficient set that minimizes the board surface velocity function.
步骤S54,将所述目标系数输入至所述初始函数中,得到所述补偿函数。Step S54: input the target coefficient into the initial function to obtain the compensation function.
作为一种示例,基于初始函数构建板面速度函数,板面速度函数是指编码器的第三高度信息集合经过设定的初始函数G(s)'之后、调高盒的第四高度信息集合经过H(s)之后的每个控制器的运动信息的采集周期板面速度的平方和。As an example, a board speed function is constructed based on the initial function, and the board speed function refers to the sum of the squares of the board speeds of the motion information of each controller during the acquisition period after the third height information set of the encoder passes through the set initial function G(s)' and the fourth height information set of the height adjustment box passes through H(s).
作为一种示例,板面速度函数F(ai)如下:As an example, the board velocity function F(a i ) is as follows:
其中,为编码器经过初始函数G(s)'的表达,得到的编码器位置(即第三高度信息)。sysSensor(nT)为调高盒的原始高度信号,也即第四高度信息。in, The encoder position (ie, the third height information) is obtained by expressing the encoder through the initial function G(s)'. sysSensor(nT) is the original height signal of the height adjustment box, that is, the fourth height information.
由于待加工板面保持不动的时候,板面速度为0。因此,若ai的值使得F(ai)为最小,则得到的ai为最优解。其中,板面速度函数F(ai)中T为控制器采集运动信息的采集周期时间,N为随动轴基于运动信号中的运动频率进行激励运动的过程中,采集到的完成一个完整激励运动的运动信息组数。When the plate to be processed remains stationary, the plate surface speed is 0. Therefore, if the value of ai makes F(ai) the minimum, then the obtained ai is the optimal solution. Among them, in the plate surface speed function F( ai ), T is the acquisition cycle time of the controller to collect motion information, and N is the number of motion information groups collected to complete a complete excitation motion during the excitation motion of the follower axis based on the motion frequency in the motion signal.
利用最小二乘原理得到方程组:Using the least squares principle, we get the system of equations:
对上述方程组求解即可得目标系数集ai的值。当目标系数集ai的数值确定后,基于初始函数G(s)',可完全确定补偿函数G(s)。在正常激光加工时,利用补偿函数G(s)对编码器获取的高度信息进行响应,得到与调高盒响应特性一致的第二高度信息,从而实现调高盒动态精度补偿。通过第一高度信息与所述第二高度信息,得到更为精确的板面信息,以供所述激光切割头基于板面信息进行切割。Solving the above equations can obtain the value of the target coefficient set ai . When the value of the target coefficient set ai is determined, the compensation function G(s) can be completely determined based on the initial function G(s)'. During normal laser processing, the compensation function G(s) is used to respond to the height information obtained by the encoder to obtain the second height information consistent with the response characteristics of the height adjustment box, thereby realizing the dynamic accuracy compensation of the height adjustment box. Through the first height information and the second height information, more accurate board surface information is obtained for the laser cutting head to cut based on the board surface information.
在本实施例中,通过利用编码器和高度传感器信息,通过离线辨识的方法,得到编码器的补偿函数,使得编码器经过此补偿函数后的响应特性与调高盒的响应特性一致,达到在动态过程中板面位置和板面速度更加精确。为后续随动控制跟随性,超调量等指标有一定的促进作用。In this embodiment, by using the encoder and height sensor information, the encoder compensation function is obtained through an offline identification method, so that the response characteristics of the encoder after the compensation function are consistent with the response characteristics of the height adjustment box, so that the board position and board speed are more accurate in the dynamic process. It has a certain promoting effect on the subsequent follow-up control followability, overshoot and other indicators.
作为一种示例,参照图3,图3为精度补偿与未补偿的效果图,纵坐标值表示待加工板面的板面速度。As an example, refer to FIG. 3 , which is a diagram showing the effects of accuracy compensation and non-compensation, and the vertical axis value represents the board speed of the board to be processed.
实测结果如下,选取运动频率f=15HZ的激励信号。经过离线辨识得到目标系数ai的值为[0,0,0,0,0.199,-0.019,1.346,-0.526]。结合图3可知,辨识的时候实际物理的板面速度为0,那么只要板面速度越小则补偿越接近于理论值。显然,补偿后的速度波动更小,效果更好。The measured results are as follows, the excitation signal with the motion frequency f = 15Hz is selected. After offline identification, the target coefficient ai is [0, 0, 0, 0, 0.199, -0.019, 1.346, -0.526]. Combined with Figure 3, it can be seen that the actual physical board speed is 0 during identification, so the smaller the board speed, the closer the compensation is to the theoretical value. Obviously, the speed fluctuation after compensation is smaller and the effect is better.
参照图4,图4是本申请实施例方案涉及的硬件运行环境的设备结构示意图。Refer to Figure 4, which is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.
如图4所示,该板面信息确定设备可以包括:处理器1001,存储器1005,通信总线1002。通信总线1002用于实现处理器1001和存储器1005之间的连接通信。As shown in FIG4 , the board information determination device may include: a
可选地,该板面信息确定设备还可以包括用户接口、网络接口、摄像头、RF(RadioFrequency,射频)电路,传感器、WiFi模块等等。用户接口可以包括显示屏(Display)、输入子模块比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the panel information determination device may further include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, a WiFi module, etc. The user interface may include a display screen (Display), an input submodule such as a keyboard (Keyboard), and the optional user interface may also include a standard wired interface and a wireless interface. The network interface may include a standard wired interface and a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图4中示出的板面信息确定设备结构并不构成对板面信息确定设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the board information determination device structure shown in FIG. 4 does not constitute a limitation on the board information determination device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
如图4所示,作为一种存储介质的存储器1005中可以包括操作系统、网络通信模块以及板面信息确定程序。操作系统是管理和控制板面信息确定设备硬件和软件资源的程序,支持板面信息确定程序以及其它软件和/或程序的运行。网络通信模块用于实现存储器1005内部各组件之间的通信,以及与板面信息确定系统中其它硬件和软件之间通信。As shown in Figure 4, the
在图4所示的板面信息确定设备中,处理器1001用于执行存储器1005中存储的板面信息确定程序,实现上述任一项所述的板面信息确定方法的步骤。In the board information determination device shown in FIG. 4 , the
本申请板面信息确定设备具体实施方式与上述板面信息确定方法各实施例基本相同,在此不再赘述。The specific implementation of the board surface information determination device of the present application is basically the same as the various embodiments of the board surface information determination method described above, and will not be repeated here.
本申请还提供一种板面信息确定装置,参照图5,所述装置包括:The present application also provides a device for determining board information, referring to FIG. 5 , the device comprises:
信息获取模块10,用于获取所述调高盒基于其响应特性采集的激光切割头与待加工板面之间的第一高度信息;An
精度补偿模块20,用于根据预设的补偿函数对所述编码器的高度信息进行处理,得到第二高度信息,其中,所述补偿函数根据所述调高盒的响应特性确定;The
信息确定模块30,用于根据所述第一高度信息与所述第二高度信息,确定所述待加工板面的板面信息,以供所述激光切割头基于所述板面信息进行切割。The
在本申请的一种可能的实施方式中,所述装置还包括:In a possible implementation manner of the present application, the device further includes:
函数获取模块,用于获取初始函数;Function acquisition module, used to obtain the initial function;
函数辨识模块,用于根据所述调高盒的响应特性,采用离线辨识技术对所述初始函数进行辨识,得到补偿函数。The function identification module is used to identify the initial function according to the response characteristics of the height adjustment box by using an off-line identification technology to obtain a compensation function.
和/或,所述函数辨识模块还包括:And/or, the function identification module further includes:
信息获取子模块,用于获取随动轴基于运动信号进行激励运动时的运动信息,所述运动信息包括所述编码器采集的第三高度信息集合以及所述调高盒采集的第四高度信息集合,其中,所述随动轴用于控制所述激光切割头运动;An information acquisition submodule, used for acquiring motion information of the follower shaft when performing an excitation motion based on a motion signal, wherein the motion information includes a third height information set collected by the encoder and a fourth height information set collected by the height adjustment box, wherein the follower shaft is used for controlling the motion of the laser cutting head;
信息计算子模块,用于基于所述运动信息,采用相位延迟方式计算出所述初始函数的响应系数初值集;An information calculation submodule, used to calculate the initial value set of the response coefficient of the initial function by using a phase delay method based on the motion information;
系数求解子模块,用于利用最小二乘法,基于所述响应系数初值集以及预设的板面速度函数,求解得到所述初始函数的目标系数;A coefficient solving submodule, for solving the target coefficient of the initial function by using the least square method based on the initial value set of the response coefficient and the preset board surface velocity function;
函数确定子模块,用于将所述目标系数输入至所述初始函数中,得到所述补偿函数。The function determination submodule is used to input the target coefficient into the initial function to obtain the compensation function.
和/或,所述信息获取子模块还包括:And/or, the information acquisition submodule further includes:
第一获取单元,用于获取随动轴基于运动信号进行激励运动时的运动频率;所述随动轴基于运动信号中的运动频率进行激励运动;A first acquisition unit is used to acquire a motion frequency when the follower shaft performs an excitation motion based on a motion signal; the follower shaft performs an excitation motion based on the motion frequency in the motion signal;
第二获取单元,用于基于所述运动频率和采集所述运动信息的采集周期,实时获取所述运动信息。The second acquisition unit is used to acquire the motion information in real time based on the motion frequency and a collection period for collecting the motion information.
和/或,所述信息计算子模块还包括:And/or, the information calculation submodule further includes:
计算单元,用于计算出所述第三高度信息集合与所述第四高度信息集合中高度信息之间的相位差;A calculation unit, used to calculate a phase difference between the height information in the third height information set and the height information in the fourth height information set;
第一确定单元,用于基于所述运动频率与所述相位差,确定所述调高盒的延迟时间;第二确定单元,用于根据所述延迟时间以及采集所述运动信息的采集周期,确定所述调高盒延迟的周期数;A first determining unit is used to determine the delay time of the height adjustment box based on the motion frequency and the phase difference; a second determining unit is used to determine the number of delay cycles of the height adjustment box according to the delay time and the collection period of the motion information;
第三确定单元,用于基于所述周期数,确定所述响应系数初值集。The third determining unit is used to determine the initial value set of the response coefficient based on the number of cycles.
和/或,所述系数求解子模块还包括:And/or, the coefficient solving submodule further includes:
函数构建单元,用于基于所述初始函数构建板面速度函数;A function construction unit, used for constructing a board surface speed function based on the initial function;
系数确定单元,用于基于所述响应系数初值集和所述最小二乘法,确定使得所述板面速度函数最小的目标系数集。The coefficient determination unit is used to determine the target coefficient set that minimizes the board surface velocity function based on the initial value set of the response coefficients and the least squares method.
和/或,所述信息确定模块还包括:And/or, the information determination module further includes:
高度信息确定子模块,用于基于所述第一高度信息与所述第二高度信息,确定所述待加工板面的目标高度信息;A height information determination submodule, used to determine target height information of the to-be-processed board surface based on the first height information and the second height information;
速度信息确定子模块,用于基于微分函数对所述目标高度信息进行微分处理,得到所述待加工板面的速度信息。The speed information determination submodule is used to perform differential processing on the target height information based on a differential function to obtain the speed information of the board surface to be processed.
本申请板面信息确定装置的具体实施方式与上述板面信息确定方法各实施例基本相同,在此不再赘述。The specific implementation of the board surface information determination device of the present application is basically the same as the various embodiments of the board surface information determination method described above, and will not be repeated here.
本申请实施例提供了一种计算机可读存储介质,且所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行以用于实现上述任一项所述的板面信息确定方法的步骤。An embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to implement the steps of any of the above-mentioned board information determination methods.
本申请存储介质具体实施方式与上述板面信息确定方法各实施例基本相同,在此不再赘述。The specific implementation of the storage medium of the present application is basically the same as the various embodiments of the above-mentioned board information determination method, and will not be repeated here.
本申请还提供一种计算机程序产品、包括计算机程序,该计算机程序被处理器执行时实现上述的板面信息确定方法的步骤。The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned board surface information determination method when executed by a processor.
本申请计算机程序产品的具体实施方式与上述板面信息确定方法各实施例基本相同,在此不再赘述。The specific implementation of the computer program product of the present application is basically the same as the various embodiments of the above-mentioned board information determination method, and will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加硬件平台的方式来实现,也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus hardware platform, or by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211473082.2A CN115933536B (en) | 2022-11-21 | 2022-11-21 | Method, device, equipment and storage medium for determining panel information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211473082.2A CN115933536B (en) | 2022-11-21 | 2022-11-21 | Method, device, equipment and storage medium for determining panel information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115933536A true CN115933536A (en) | 2023-04-07 |
CN115933536B CN115933536B (en) | 2025-05-13 |
Family
ID=86551399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211473082.2A Active CN115933536B (en) | 2022-11-21 | 2022-11-21 | Method, device, equipment and storage medium for determining panel information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115933536B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117102701A (en) * | 2023-10-24 | 2023-11-24 | 上海方菱计算机软件有限公司 | Compensation control method and device for groove cutting height, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109590619A (en) * | 2018-12-06 | 2019-04-09 | 大族激光科技产业集团股份有限公司 | A kind of cutting head height control method and laser cutting machine |
CN109967893A (en) * | 2017-12-27 | 2019-07-05 | 大族激光科技产业集团股份有限公司 | A kind of laser cutting compensation method and laser cutting system |
CN110142503A (en) * | 2019-05-17 | 2019-08-20 | 中国科学院西安光学精密机械研究所 | A laser cutting defocus compensation system and its compensation method |
CN112025117A (en) * | 2020-09-30 | 2020-12-04 | 上海维宏电子科技股份有限公司 | Method and system for realizing follow-up control of laser cutting head based on linear state error combination |
US20210197317A1 (en) * | 2019-08-29 | 2021-07-01 | Shandong University | Method for controlling overlapping of laser cladding, and method and system for dynamically adjusting height of laser head |
CN114296403A (en) * | 2021-12-09 | 2022-04-08 | 深圳市汇川技术股份有限公司 | Control method and device of laser cutting head, terminal equipment and storage medium |
CN114326587A (en) * | 2021-12-16 | 2022-04-12 | 深圳市汇川技术股份有限公司 | Contour error compensation method, apparatus and computer readable storage medium |
CN114859824A (en) * | 2022-05-12 | 2022-08-05 | 深圳市汇川技术股份有限公司 | Cutting follow-up control method, cutting device and computer readable storage medium |
-
2022
- 2022-11-21 CN CN202211473082.2A patent/CN115933536B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109967893A (en) * | 2017-12-27 | 2019-07-05 | 大族激光科技产业集团股份有限公司 | A kind of laser cutting compensation method and laser cutting system |
CN109590619A (en) * | 2018-12-06 | 2019-04-09 | 大族激光科技产业集团股份有限公司 | A kind of cutting head height control method and laser cutting machine |
CN110142503A (en) * | 2019-05-17 | 2019-08-20 | 中国科学院西安光学精密机械研究所 | A laser cutting defocus compensation system and its compensation method |
US20210197317A1 (en) * | 2019-08-29 | 2021-07-01 | Shandong University | Method for controlling overlapping of laser cladding, and method and system for dynamically adjusting height of laser head |
CN112025117A (en) * | 2020-09-30 | 2020-12-04 | 上海维宏电子科技股份有限公司 | Method and system for realizing follow-up control of laser cutting head based on linear state error combination |
CN114296403A (en) * | 2021-12-09 | 2022-04-08 | 深圳市汇川技术股份有限公司 | Control method and device of laser cutting head, terminal equipment and storage medium |
CN114326587A (en) * | 2021-12-16 | 2022-04-12 | 深圳市汇川技术股份有限公司 | Contour error compensation method, apparatus and computer readable storage medium |
CN114859824A (en) * | 2022-05-12 | 2022-08-05 | 深圳市汇川技术股份有限公司 | Cutting follow-up control method, cutting device and computer readable storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117102701A (en) * | 2023-10-24 | 2023-11-24 | 上海方菱计算机软件有限公司 | Compensation control method and device for groove cutting height, electronic equipment and storage medium |
CN117102701B (en) * | 2023-10-24 | 2024-03-26 | 上海方菱计算机软件有限公司 | Compensation control method and device for groove cutting height, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115933536B (en) | 2025-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106647258B (en) | Have the function of carrying out the Servocontrol device of the adjust automatically of learning controller | |
US8214063B2 (en) | Auto-tune of a control system based on frequency response | |
CN109048082B (en) | Distance control method based on Kalman filtering | |
US10606236B2 (en) | Control device, control method, and control program | |
CN115933536A (en) | Board information determination method, device, equipment and storage medium | |
CN108400743B (en) | Control device, control method, and computer storage medium | |
CN110968118B (en) | Control method for six-degree-of-freedom adjusting rotary table | |
CN109508510A (en) | A kind of rubidium atomic clock parameter estimation algorithm based on improved Kalman filtering | |
CN111123838A (en) | Servo motor control method and system | |
CN112202374B (en) | Voice coil motor micro-positioning platform, motion control method, device and system | |
CN111697901B (en) | Control method, control equipment and control system of servo motor | |
Oomen et al. | Inferential motion control: Identification and robust control with unmeasured performance variables | |
CN118295235B (en) | High-precision attitude sensor control method and system | |
CN112577407B (en) | Method and system for correcting parameter drift of capacitive sensor | |
CN109085799A (en) | A kind of digital control system interpolation generation movement instruction evaluation method towards dynamic accuracy | |
San-Millan et al. | A fast algebraic estimator for system parameter estimation and online controller tuning—a nanopositioning application | |
US6347255B1 (en) | Method of automatically adjusting the speed controller in elastomechanical systems | |
CN110554601A (en) | Design method and device of anti-interference PID controller | |
CN110989357B (en) | Identification and control method and system of a complex electromechanical system | |
US20170292980A1 (en) | Frequency characteristic measuring method at feed axis control unit | |
JP2017004033A (en) | Positioning control system and frequency characteristic identification method | |
Cheres et al. | Parameter estimation of a second order model in the frequency domain from closed loop data | |
CN110879532A (en) | A control system and design method | |
KR20210106505A (en) | Control unit and control program | |
CN118839479A (en) | Method and system for establishing motion model of voice coil motor |
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 |