CN115981242A - Method, device, processor and computer readable storage medium for realizing automatic probe detection processing - Google Patents
Method, device, processor and computer readable storage medium for realizing automatic probe detection processing Download PDFInfo
- Publication number
- CN115981242A CN115981242A CN202211654262.0A CN202211654262A CN115981242A CN 115981242 A CN115981242 A CN 115981242A CN 202211654262 A CN202211654262 A CN 202211654262A CN 115981242 A CN115981242 A CN 115981242A
- Authority
- CN
- China
- Prior art keywords
- detection
- probe
- processing
- automatic
- numerical control
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 179
- 239000000523 sample Substances 0.000 title claims abstract description 84
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000003860 storage Methods 0.000 title claims abstract description 13
- 230000008569 process Effects 0.000 claims description 18
- 238000005520 cutting process Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 5
- 238000005259 measurement Methods 0.000 abstract description 7
- 238000005286 illumination Methods 0.000 abstract description 3
- 239000000919 ceramic Substances 0.000 description 40
- 230000006870 function Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000003754 machining Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 238000005245 sintering Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 239000003292 glue Substances 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 239000013049 sediment Substances 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- A Measuring Device Byusing Mechanical Method (AREA)
Abstract
Description
技术领域technical field
本发明涉及自动化控制技术领域,尤其涉及机床的自动化测量技术领域,具体是指一种实现探针自动探测加工处理的方法、装置、处理器及其计算机可读存储介质。The present invention relates to the technical field of automatic control, in particular to the technical field of automatic measurement of machine tools, and specifically refers to a method, device, processor and computer-readable storage medium for realizing automatic detection and processing of probes.
背景技术Background technique
家装行业中有一种无缝盆产品,无缝盆由上台面(一般是岩板或天然石材)与下台盆(陶瓷盆)拼接而成,台面与陶瓷盆切面均是45°的坡面,拼接后结构稳定,中间使用胶水固定,没有缝隙,所以称为无缝盆。陶瓷盆在烧结过程中会产生不同程度的变形,难以制造出标准尺寸的陶瓷盆。高压水射流加工对靶距有较高要求,靶距即水刀头与加工表面的距离,靶距不合适时,切割实际得到的尺寸与理论尺寸不一致。无缝盆对台面与陶瓷盆的尺寸有严格的要求,所以需要准确的得到陶瓷盆的轮廓信息,切割出的陶瓷盆与台面尺寸完全一致,且要保证切割时靶距是适合的,才能达到更好的拼接效果。There is a seamless basin product in the home improvement industry. The seamless basin is made of the upper countertop (usually rock slab or natural stone) and the lower basin (ceramic basin). The rear structure is stable, and the middle is fixed with glue without gaps, so it is called a seamless basin. Ceramic pots will be deformed to varying degrees during the sintering process, and it is difficult to manufacture standard-sized ceramic pots. High-pressure water jet processing has high requirements on the target distance, which is the distance between the waterjet head and the processing surface. When the target distance is not suitable, the actual size obtained by cutting is inconsistent with the theoretical size. The seamless basin has strict requirements on the size of the countertop and the ceramic basin, so it is necessary to obtain the outline information of the ceramic basin accurately. Better stitching effect.
陶瓷盆不同部位坡度、弧度、反光程度不一,有多种不同的形状尺寸规格,陶瓷盆难以保证摆放平整,且陶瓷盆一般使用高压水射流切割,生产环境中有很多的水和泥沙,视觉识别陶瓷盆内轮廓难以在恶劣多变的环境下保证效果的稳定;而探针探测轮廓可以适应以上环境,在已知的环境下均可稳定的得到陶瓷盆的内轮廓,因此,亟需一种能够通过探针即可准确获取陶瓷盆内轮廓的技术方案,来解决当前现有技术存在的技术缺陷。Different parts of ceramic basins have different slopes, radians, and reflective degrees, and there are many different shapes and sizes. It is difficult to ensure that ceramic basins are placed flat, and ceramic basins are generally cut by high-pressure water jets. There is a lot of water and sediment in the production environment. , the visual recognition of the inner contour of the ceramic basin is difficult to ensure the stability of the effect in the harsh and changeable environment; the probe detection contour can adapt to the above environment, and the inner contour of the ceramic basin can be stably obtained in the known environment. Therefore, it is urgent A technical solution that can accurately obtain the inner contour of the ceramic basin through a probe is needed to solve the technical defects existing in the current prior art.
发明内容Contents of the invention
本发明的目的是克服了上述现有技术的缺点,提供了一种效率高、精度高、稳定性高、适应性强的实现探针自动探测加工处理的方法、装置、处理器及其计算机可读存储介质。The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art, and provide a method, device, processor and computer-based automatic detection and processing of probes with high efficiency, high precision, high stability and strong adaptability. Read storage media.
为了实现上述目的,本发明的实现探针自动探测加工处理的方法、装置、处理器及其计算机可读存储介质如下:In order to achieve the above object, the method, device, processor and computer-readable storage medium for realizing automatic probe detection and processing of the present invention are as follows:
该实现探针自动探测加工处理的方法,其主要特点是,所述的方法包括以下步骤:The main feature of the method for realizing the automatic detection and processing of probes is that the method includes the following steps:
(1)将探针安装在数控系统Z轴支架上,并通过气缸控制所述的探针的弹出与收回;(1) Install the probe on the Z-axis support of the numerical control system, and control the ejection and retraction of the probe through the cylinder;
(2)根据探测点生成策略,沿加工方向生成探测路径;(2) According to the detection point generation strategy, the detection path is generated along the processing direction;
(3)根据生成的探测路径,执行自动探测处理,并获取目标对象边缘的坐标;(3) Perform automatic detection processing according to the generated detection path, and obtain the coordinates of the edge of the target object;
(4)将自动探测识别到的目标对象轮廓,经过轮廓自动拟合算法,结合数控系统中预设的加工策略,自动生成直接用于数控系统加工用的文件。(4) The contour of the target object recognized by automatic detection is automatically generated through the contour automatic fitting algorithm, combined with the preset processing strategy in the numerical control system, to automatically generate a file directly used for machining by the numerical control system.
较佳地,所述的步骤(1)具体为:Preferably, the step (1) is specifically:
将探针安装在数控系统Z轴支架上,所述的数控系统能够控制探测装置进行移动,所述的探测装置上设置有气缸,所述的气缸用于控制所述的探针的弹出与收回,且所述的探针在收回状态下高于切割头,在弹出状态下低于切割头。Install the probe on the Z-axis support of the numerical control system, the numerical control system can control the movement of the detection device, the detection device is provided with a cylinder, and the cylinder is used to control the ejection and retraction of the probe , and the probe is higher than the cutting head in retracted state, and lower than the cutting head in ejected state.
较佳地,所述的步骤(2)具体包括以下步骤:Preferably, said step (2) specifically includes the following steps:
(2.1)以标准图纸尺寸为依据,根据探测点生成策略,沿加工方向,在标准图形上按一定间隔,生成探测终点;(2.1) Based on the standard drawing size, according to the detection point generation strategy, along the processing direction, generate detection end points on the standard graphics at a certain interval;
(2.2)根据所述的探测终点,计算法向方向安全距离内对应的探测起点;(2.2) According to the detection end point, calculate the corresponding detection starting point within the safety distance in the normal direction;
(2.3)连接所述的探测起点与探测终点,得到探测方向;(2.3) connecting the detection starting point and the detection end point to obtain the detection direction;
(2.4)利用CAM软件,载入标准目标对象图纸,选中目标对象图形,点击生成探测数控,从而生成对应的探测路径。(2.4) Use the CAM software to load the standard target object drawing, select the target object graphic, and click Generate Probing NC to generate the corresponding probing path.
较佳地,所述的步骤(3)具体包括以下步骤:Preferably, said step (3) specifically includes the following steps:
(3.1)弹出探头,所述的探测装置在预设位置设置探测起始高度;(3.1) The probe is ejected, and the detection device is set at a preset position to detect a starting height;
(3.2)执行自动分中处理,以获取目标对象的中心位置;(3.2) performing automatic centering processing to obtain the center position of the target object;
(3.3)根据生成的探测路径,执行自动探测;(3.3) Perform automatic detection according to the generated detection path;
(3.4)运动到所述的探测起点,沿所述的探测方向执行探测;(3.4) moving to the detection starting point, and performing detection along the detection direction;
(3.5)所述的探测装置将获取到的探测信号使用编码器锁存,从而高精度的记录探测位置;(3.5) The detection device described in uses the encoder to latch the obtained detection signal, thereby recording the detection position with high precision;
(3.6)沿探测相反方向回退一定距离,并重复执行所述的步骤(3.2)至(3.5),直到所有探测点全部完成探测。(3.6) Back off for a certain distance along the opposite direction of detection, and repeat the steps (3.2) to (3.5) until all detection points are completely detected.
较佳地,所述的自动分中具体包括以下处理过程:Preferably, the automatic classification specifically includes the following processing procedures:
(a)运动到大致接近所述的目标对象的中心位置;(a) moving to a position substantially close to the center of said target object;
(b)所述的探头向左运动,直到获取到探测信号,并记录下左边缘位置;(b) The probe moves to the left until the detection signal is obtained, and the position of the left edge is recorded;
(c)所述的数控系统的X轴回退到探测起点;(c) the X-axis of the numerical control system returns to the detection starting point;
(d)所述的探头向右运动,直到获取到探测信号,并记录下右边缘位置;(d) the probe moves to the right until the detection signal is obtained, and the position of the right edge is recorded;
(e)根据所述的左边缘位置与右边缘位置,计算中心坐标X;(e) Calculate the center coordinate X according to the left edge position and the right edge position;
(f)所述的X轴运动到中心坐标X处,并向上运动,直到获取到探测信号,并记录下上边缘位置;(f) The X-axis moves to the central coordinate X, and moves upward until the detection signal is obtained, and the position of the upper edge is recorded;
(g)所述的数控系统的Y轴回退到探测起点;(g) the Y-axis of the numerical control system returns to the detection starting point;
(h)所述的探头向下运动,直到获取到探测信号,并记录下下边缘位置;(h) The probe moves downward until a detection signal is obtained, and the position of the lower edge is recorded;
(i)根据所述的上边缘位置与下边缘位置,计算中心坐标Y;(i) Calculate the center coordinate Y according to the position of the upper edge and the position of the lower edge;
(j)所述的数控系统的X轴和Y轴运动到中心坐标(X,Y)处,完成自动分中处理。(j) The X-axis and Y-axis of the numerical control system move to the center coordinates (X, Y) to complete the automatic centering process.
该实现探针自动探测加工处理的装置,其主要特点是,所述的装置包括:The main feature of the device for realizing the automatic detection and processing of probes is that the device includes:
处理器,被配置成执行计算机可执行指令;a processor configured to execute computer-executable instructions;
存储器,存储一个或多个计算机可执行指令,所述计算机可执行指令被所述处理器执行时,实现上述所述的实现探针自动探测加工处理的方法的各个步骤。The memory stores one or more computer-executable instructions, and when the computer-executable instructions are executed by the processor, each step of the above-mentioned method for realizing the automatic detection and processing of the probe is realized.
该实现探针自动探测加工处理的处理器,其主要特点是,所述的处理器被配置成执行计算机可执行指令,所述的计算机可执行指令被所述的处理器执行时,实现上述所述的实现探针自动探测加工处理的方法的各个步骤。The main feature of the processor for automatic detection and processing of probes is that the processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the above-mentioned Each step of the method for realizing the automatic detection and processing of the probe described above.
该计算机可读存储介质,其主要特点是,其上存储有计算机程序,所述的计算机程序可被处理器执行以实现上述所述的实现探针自动探测加工处理的方法的各个步骤。The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to realize each step of the above-mentioned method for realizing automatic probe detection and processing.
采用了本发明的该实现探针自动探测加工处理的方法、装置、处理器及其计算机可读存储介质,与视觉方案相比,对光照、测量环境无要求,任何环境下均可稳定得到轮廓;同时,精度高,使用编码器锁存技术,高灵敏度探针,获取到的轮廓精度远远高于视觉能达到的精度,可以达到0.01mm,而视觉在陶瓷盆需要的大视野下(800mm*600mm),是远达不到探针测量的精度的;除此之外,还可以测量任意形状的异型,可以自动生成任意形状的探测路径,适应于任何形状的陶瓷盆,均可稳定的探测得到陶瓷盆的内轮廓。并且高度变化对轮廓识别影响较小,陶瓷盆放的不平,高度有变化,使用探针探测轮廓仍可稳定得到陶瓷盆的内轮廓,具有较好的适用性。Compared with the vision scheme, the method, device, processor and computer-readable storage medium for realizing the automatic detection and processing of probes of the present invention have no requirement for illumination and measurement environment, and the contour can be obtained stably in any environment ; At the same time, the precision is high, using the encoder latch technology and the high-sensitivity probe, the contour accuracy obtained is much higher than the accuracy that can be achieved by vision, which can reach 0.01mm, and the vision can reach 0.01mm under the large field of view (800mm) required by the ceramic basin. *600mm), which is far below the accuracy of probe measurement; in addition, it can also measure irregular shapes of arbitrary shapes, and can automatically generate detection paths of arbitrary shapes, which are suitable for ceramic basins of any shape and can be stably The inner contour of the ceramic basin is detected. Moreover, the height change has little influence on the contour recognition. If the ceramic basin is placed unevenly and the height changes, the inner contour of the ceramic basin can still be stably obtained by using the probe to detect the contour, which has good applicability.
附图说明Description of drawings
图1为本发明进行探测轮廓生成的示意图。Fig. 1 is a schematic diagram of detection contour generation in the present invention.
图2为本发明进行轮廓探测的操作界面示意图。Fig. 2 is a schematic diagram of the operation interface for contour detection in the present invention.
图3为本发明进行自动分中处理的流程图。Fig. 3 is a flow chart of the automatic centering process of the present invention.
图4为本发明进行自动探测处理的流程图。Fig. 4 is a flowchart of automatic detection processing in the present invention.
具体实施方式Detailed ways
为了能够更清楚地描述本发明的技术内容,下面结合具体实施例来进行进一步的描述。In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.
在详细说明根据本发明的实施例前,应该注意到的是,在下文中,术语“包括”、“包含”或任何其他变体旨在涵盖非排他性的包含,由此使得包括一系列要素的过程、方法、物品或者设备不仅包含这些要素,而且还包含没有明确列出的其他要素,或者为这种过程、方法、物品或者设备所固有的要素。Before describing in detail embodiments according to the present invention, it should be noted that, hereinafter, the terms "comprises", "comprises" or any other variant thereof are intended to cover a non-exclusive inclusion, thereby enabling the process of including a series of elements A method, article, or device includes not only these elements, but also other elements not expressly listed, or inherent to such a process, method, article, or apparatus.
该实现探针自动探测加工处理的方法,其中,所述的方法包括以下步骤:The method for realizing automatic detection and processing of probes, wherein the method includes the following steps:
(1)将探针安装在数控系统Z轴支架上,并通过气缸控制所述的探针的弹出与收回;(1) Install the probe on the Z-axis support of the numerical control system, and control the ejection and retraction of the probe through the cylinder;
(2)根据探测点生成策略,沿加工方向生成探测路径;(2) According to the detection point generation strategy, the detection path is generated along the processing direction;
(3)根据生成的探测路径,执行自动探测处理,并获取目标对象边缘的坐标;(3) Perform automatic detection processing according to the generated detection path, and obtain the coordinates of the edge of the target object;
(4)将自动探测识别到的目标对象轮廓,经过轮廓自动拟合算法,结合数控系统中预设的加工策略,自动生成直接用于数控系统加工用的文件。(4) The contour of the target object recognized by automatic detection is automatically generated through the contour automatic fitting algorithm, combined with the preset processing strategy in the numerical control system, to automatically generate a file directly used for machining by the numerical control system.
作为本发明的优选实施方式,所述的步骤(1)具体为:As a preferred embodiment of the present invention, described step (1) is specifically:
将探针安装在数控系统Z轴支架上,所述的数控系统能够控制探测装置进行移动,所述的探测装置上设置有气缸,所述的气缸用于控制所述的探针的弹出与收回,且所述的探针在收回状态下高于切割头,在弹出状态下低于切割头。Install the probe on the Z-axis support of the numerical control system, the numerical control system can control the movement of the detection device, the detection device is provided with a cylinder, and the cylinder is used to control the ejection and retraction of the probe , and the probe is higher than the cutting head in retracted state, and lower than the cutting head in ejected state.
请参阅图1所示,作为本发明的优选实施方式,所述的步骤(2)具体包括以下步骤:Please refer to shown in Figure 1, as a preferred embodiment of the present invention, described step (2) specifically includes the following steps:
(2.1)以标准图纸尺寸为依据,根据探测点生成策略,沿加工方向,在标准图形上按一定间隔,生成探测终点;(2.1) Based on the standard drawing size, according to the detection point generation strategy, along the processing direction, generate detection end points on the standard graphics at a certain interval;
(2.2)根据所述的探测终点,计算法向方向安全距离内对应的探测起点;(2.2) According to the detection end point, calculate the corresponding detection starting point within the safety distance in the normal direction;
(2.3)连接所述的探测起点与探测终点,得到探测方向;(2.3) connecting the detection starting point and the detection end point to obtain the detection direction;
(2.4)利用CAM软件,载入标准目标对象图纸,选中目标对象图形,点击生成探测数控,从而生成对应的探测路径。(2.4) Use the CAM software to load the standard target object drawing, select the target object graphic, and click Generate Probing NC to generate the corresponding probing path.
请参阅图4所示,作为本发明的优选实施方式,所述的步骤(3)具体包括以下步骤:Please refer to shown in Figure 4, as a preferred embodiment of the present invention, described step (3) specifically includes the following steps:
(3.1)弹出探头,所述的探测装置在预设位置设置探测起始高度;(3.1) The probe is ejected, and the detection device is set at a preset position to detect a starting height;
(3.2)执行自动分中处理,以获取目标对象的中心位置;(3.2) performing automatic centering processing to obtain the center position of the target object;
(3.3)根据生成的探测路径,执行自动探测;(3.3) Perform automatic detection according to the generated detection path;
(3.4)运动到所述的探测起点,沿所述的探测方向执行探测;(3.4) moving to the detection starting point, and performing detection along the detection direction;
(3.5)所述的探测装置将获取到的探测信号使用编码器进行锁存,从而高精度的记录探测位置;(3.5) The detection device uses an encoder to latch the obtained detection signal, thereby recording the detection position with high precision;
(3.6)沿探测相反方向回退一定距离,并重复执行所述的步骤(3.2)至(3.5),直到所有探测点全部完成探测。(3.6) Back off for a certain distance along the opposite direction of detection, and repeat the steps (3.2) to (3.5) until all detection points are completely detected.
请参阅图3所示,作为本发明的优选实施方式,所述的自动分中具体包括以下处理过程:Please refer to shown in Figure 3, as a preferred embodiment of the present invention, described automatic classification specifically includes the following process:
(a)运动到大致接近所述的目标对象的中心位置;(a) moving to a position substantially close to the center of said target object;
(b)所述的探头向左运动,直到获取到探测信号,并记录下左边缘位置;(b) The probe moves to the left until the detection signal is obtained, and the position of the left edge is recorded;
(c)所述的数控系统的X轴回退到探测起点;(c) the X-axis of the numerical control system returns to the detection starting point;
(d)所述的探头向右运动,直到获取到探测信号,并记录下右边缘位置;(d) the probe moves to the right until the detection signal is obtained, and the position of the right edge is recorded;
(e)根据所述的左边缘位置与右边缘位置,计算中心坐标X;(e) Calculate the center coordinate X according to the left edge position and the right edge position;
(f)所述的X轴运动到中心坐标X处,并向上运动,直到获取到探测信号,并记录下上边缘位置;(f) The X-axis moves to the central coordinate X, and moves upward until the detection signal is obtained, and the position of the upper edge is recorded;
(g)所述的数控系统的Y轴回退到探测起点;(g) the Y-axis of the numerical control system returns to the detection starting point;
(h)所述的探头向下运动,直到获取到探测信号,并记录下下边缘位置;(h) The probe moves downward until a detection signal is obtained, and the position of the lower edge is recorded;
(i)根据所述的上边缘位置与下边缘位置,计算中心坐标Y;(i) Calculate the center coordinate Y according to the position of the upper edge and the position of the lower edge;
(j)所述的数控系统的X轴和Y轴运动到中心坐标(X,Y)处,完成自动分中处理。(j) The X-axis and Y-axis of the numerical control system move to the center coordinates (X, Y) to complete the automatic centering process.
在实际应用当中,本发明使用到的装置(探针与探针气缸在Z轴上,气缸控制探针弹出,Z轴控制探针运动),符合自动化控制的要求,可以实现多工位、多规格陶瓷盆内轮廓的探测以及切割陶瓷盆和面板的自动化流程。In the actual application, the device used in the present invention (the probe and the probe cylinder are on the Z axis, the cylinder controls the probe ejection, and the Z axis controls the probe movement), which meets the requirements of automatic control and can realize multi-station, multi- Probing of inside contours of ceramic pots to size and automated process for cutting pots and panels.
本发明使用到的探测路径生成方法,可以实现多规格陶瓷盆内轮廓的测量,其中,所述的目标对象并不局限于陶瓷盆,其他类似具有外形轮廓的物体同样能够适用于本发明所述的探测方法。The detection path generation method used in the present invention can realize the measurement of the inner contour of multi-standard ceramic pots, wherein the target object is not limited to ceramic pots, and other similar objects with contours can also be applied to the present invention. detection method.
本发明使用到的探测方法,可以高精度的得到陶瓷盆的内轮廓。The detection method used in the present invention can obtain the inner contour of the ceramic basin with high precision.
本发明中对探测识别出的连续且闭合的轮廓线采用特定的轮廓自动拟合算法,结合数控系统中预设的加工策略(起点倾斜抬刀冲孔、坡口、引刀线等),自动生成可直接用于数控系统加工用的文件。In the present invention, a specific contour automatic fitting algorithm is adopted for the continuous and closed contour lines identified by detection, combined with the preset processing strategies in the numerical control system (starting point inclined lifting knife punching, groove, leading knife line, etc.), automatic Generate files that can be directly used for CNC system processing.
本发明通过数控机床控制气缸及探针运动,使用“探测轮廓生成”生成探测路径,数控系统控制探针根据探测路径执行探测,得到陶瓷盆内壁轮廓,并结合特定的自动拟合算法,可以实现多工位、多规格陶瓷盆内轮廓的探测以及切割陶瓷盆和面板的自动化流程。The invention controls the movement of the cylinder and the probe through the numerical control machine tool, uses "detection contour generation" to generate the detection path, the numerical control system controls the probe to perform detection according to the detection path, and obtains the inner wall contour of the ceramic basin, combined with a specific automatic fitting algorithm, can realize Multi-station, multi-specification ceramic pot inner contour detection and automatic process for cutting ceramic pots and panels.
在实际应用当中,探针安装在数控系统Z轴支架上,数控系统可以控制探测装置移动,探测装置上有气缸,通过气缸控制探针的弹出与收回,收回状态下探针高于切割头,弹出状态下探针低于切割头,防止加工中,探测装置影响加工,探测时,切割头影响探测。In practical applications, the probe is installed on the Z-axis support of the CNC system, and the CNC system can control the movement of the detection device. There is a cylinder on the detection device, and the ejection and retraction of the probe are controlled by the cylinder. In the retracted state, the probe is higher than the cutting head. In the pop-up state, the probe is lower than the cutting head, preventing the detection device from affecting the processing during processing, and the cutting head from affecting the detection during detection.
陶瓷盆在烧结过程中会产生不同程度的变形,难以制造出标准尺寸的陶瓷盆,在生成路径时,可以参考陶瓷盆标准尺寸生成探测路径。为了支持不同形状尺寸陶瓷盆的轮廓,提供了一种探测路径生成方法。该探测路径生成方法包括以下几个步骤:The ceramic basin will be deformed to varying degrees during the sintering process, and it is difficult to manufacture a ceramic basin of a standard size. When generating a path, you can refer to the standard size of the ceramic basin to generate a detection path. In order to support the contours of ceramic pots of different shapes and sizes, a detection path generation method is provided. The detection path generation method includes the following steps:
以标准图纸尺寸为依据,根据探测点生成策略,沿加工方向,在标准图形上按一定间隔,生成探测终点。Based on the standard drawing size, according to the detection point generation strategy, along the processing direction, the detection end point is generated on the standard drawing at a certain interval.
根据探测终点,计算法向方向安全距离对应的探测起点。Calculate the detection start point corresponding to the safety distance in the normal direction according to the detection end point.
连接探测起点与探测终点,得到探测方向。Connect the detection start point and the detection end point to obtain the detection direction.
请参阅图1所示,生成探测路径时使用NCEditor,NCEditor是本公司研发的CAM软件,支持导入G、NC、DXF、ENG、PLT等格式的刀路文件,也可以在NCEditor中手动绘制刀路文件。载入标准陶瓷盆图纸,选中陶瓷盆图形,点击生成探测数据生成探测路径,探测路径会显示在NCEditor,供用户预览探测路径的效果。点击导出探测数据,将探测路径数据保存到文件中,供CNC中探针探测功能使用。Please refer to Figure 1. NCEditor is used when generating the detection path. NCEditor is a CAM software developed by our company, which supports the import of toolpath files in G, NC, DXF, ENG, PLT and other formats. You can also manually draw the toolpath in NCEditor document. Load the standard ceramic basin drawing, select the ceramic basin graphic, click Generate Detection Data to generate the detection path, and the detection path will be displayed in NCEditor for users to preview the effect of the detection path. Click Export Probing Data to save the probing path data to a file for use by the probe probing function in the CNC.
策略参数说明:Policy parameter description:
接近拐点的位置间隔距离设置的较低,可更好的保证拐角处细节的完好,而段中间变化幅度很平稳,加大间隔距离,提高探测效率。直线、圆弧、小段,有不同的生成策略,保证在所有情况下都能调整出想要的效果。The distance between positions close to the inflection point is set to be relatively low, which can better ensure the integrity of the details at the corner, while the range of change in the middle of the segment is very stable, increasing the distance to improve detection efficiency. There are different generation strategies for straight lines, arcs, and small segments, ensuring that the desired effect can be adjusted in all cases.
根据生成的探测路径,执行自动探测,获取陶瓷盆边缘的坐标。Based on the generated probing path, automatic probing is performed to obtain the coordinates of the edge of the ceramic basin.
请参阅图2所示,自动探测的方法包括以下几个步骤:Please refer to Figure 2, the automatic detection method includes the following steps:
1、弹出探头。1. Pop out the probe.
2、在合适的位置设置探测起始高度,一般以探针头部离盆最高位置下探3mm为最佳。2. Set the detection starting height at a suitable position. Generally, it is best to lower the probe head 3mm from the highest position of the basin.
3、执行自动分中,获取陶瓷盆的中心位置。3. Perform automatic centering to obtain the center position of the ceramic basin.
4、根据生成的探测路径,执行自动探测。4. Perform automatic detection according to the generated detection path.
5、运动到探测起始点,沿探测方向执行探测,使用编码器锁存,高精度的记录探测位置。5. Move to the detection starting point, perform detection along the detection direction, use the encoder to latch, and record the detection position with high precision.
6、沿探测相反方向回退一定距离。6. Back off for a certain distance along the opposite direction of detection.
7、重复执行步骤3-6,直到所有点全部探测完成。7. Repeat steps 3-6 until all points are detected.
将自动探测识别到的轮廓,经过轮廓自动拟合算法,结合数控系统中预设的加工策略(起点倾斜抬刀冲孔、坡口、引刀线等),自动生成可直接用于数控系统加工用的文件。The contour detected by automatic detection is automatically generated through the automatic contour fitting algorithm, combined with the preset machining strategy in the CNC system (starting point tilted knife lifting punching, beveling, leading line, etc.), which can be directly used in CNC system processing used files.
在实际应用当中,本发明中所涉及到的数控系统软件包括但不限于如下功能:In practical application, the numerical control system software involved in the present invention includes but not limited to the following functions:
控制探测气缸弹出和收回,控制探针运动;Control the ejection and retraction of the detection cylinder, and control the movement of the probe;
支持自动生成探测路径;Support automatic generation of detection path;
支持自动分中;Support automatic centering;
支持自动探测陶瓷盆内壁轮廓;Support automatic detection of the inner wall contour of the ceramic basin;
支持轮廓线自动拟合生成可用于直接加工的文件的功能;Support the function of automatically fitting contour lines to generate files that can be used for direct processing;
支持双工位探测切割陶瓷盆;Support dual-station detection and cutting of ceramic pots;
支持陶瓷盆和台面一体化自动切割功能。It supports the integrated automatic cutting function of ceramic pots and countertops.
在本发明的一具体实施方式中,本技术方案可进行以下处理:In a specific embodiment of the present invention, this technical solution can carry out the following processing:
1、探针安装在数控机床Z轴支架上,随数控机床运动,气缸可控制探针弹出和收回,整体随数控机床运动;1. The probe is installed on the Z-axis support of the CNC machine tool and moves with the CNC machine tool. The cylinder can control the ejection and retraction of the probe, and the whole moves with the CNC machine tool;
2、根据标准图纸自动生成探测路径;2. Automatically generate detection paths according to standard drawings;
3、根据探测路径执行自动探测;3. Perform automatic detection according to the detection path;
4、根据自动探测结果执行拟合,得到可加工的刀路;4. Perform fitting according to the automatic detection results to obtain a machinable tool path;
5、加工陶瓷盆和台面。5. Process ceramic basins and countertops.
该实现探针自动探测加工处理的装置,其中,所述的装置包括:The device for realizing automatic detection and processing of probes, wherein the device includes:
处理器,被配置成执行计算机可执行指令;a processor configured to execute computer-executable instructions;
存储器,存储一个或多个计算机可执行指令,所述计算机可执行指令被所述处理器执行时,实现上述所述的实现探针自动探测加工处理的方法的各个步骤。The memory stores one or more computer-executable instructions, and when the computer-executable instructions are executed by the processor, each step of the above-mentioned method for realizing the automatic detection and processing of the probe is realized.
该实现探针自动探测加工处理的处理器,其中,所述的处理器被配置成执行计算机可执行指令,所述的计算机可执行指令被所述的处理器执行时,实现上述所述的实现探针自动探测加工处理的方法的各个步骤。The processor for realizing automatic probe detection processing, wherein the processor is configured to execute computer-executable instructions, and when the computer-executable instructions are executed by the processor, the above-mentioned implementations are realized The probes automatically probe various steps of the method of processing.
该计算机可读存储介质,其中,其上存储有计算机程序,所述的计算机程序可被处理器执行以实现上述所述的实现探针自动探测加工处理的方法的各个步骤。In the computer-readable storage medium, a computer program is stored thereon, and the computer program can be executed by a processor to implement each step of the above-mentioned method for realizing automatic probe detection and processing.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments or portions of code comprising one or more executable instructions for implementing specific logical functions or steps of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It is understood by those skilled in the art to which the embodiments of the present invention pertain.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行装置执行的软件或固件来实现。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the above-described embodiments, various steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成的,程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed , including one or a combination of the steps of the method embodiment.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like.
在本说明书的描述中,参考术语“一实施例”、“一些实施例”、“示例”、“具体示例”、或“实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions referring to the terms "an embodiment", "some embodiments", "example", "specific example", or "embodiment" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.
采用了本发明的该实现探针自动探测加工处理的方法、装置、处理器及其计算机可读存储介质,与视觉方案相比,对光照、测量环境无要求,任何环境下均可稳定得到轮廓;同时,精度高,使用编码器锁存技术,高灵敏度探针,获取到的轮廓精度远远高于视觉能达到的精度,可以达到0.01mm,而视觉在陶瓷盆需要的大视野下(800mm*600mm),是远达不到探针测量的精度的;除此之外,还可以测量任意形状的异型,可以自动生成任意形状的探测路径,适应于任何形状的陶瓷盆,均可稳定的探测得到陶瓷盆的内轮廓。并且高度变化对轮廓识别影响较小,陶瓷盆放的不平,高度有变化,使用探针探测轮廓仍可稳定得到陶瓷盆的内轮廓,具有较好的适用性。Compared with the vision scheme, the method, device, processor and computer-readable storage medium for realizing the automatic detection and processing of probes of the present invention have no requirement for illumination and measurement environment, and the contour can be obtained stably in any environment ; At the same time, the precision is high, using the encoder latch technology and the high-sensitivity probe, the contour accuracy obtained is much higher than the accuracy that can be achieved by vision, which can reach 0.01mm, and the vision can reach 0.01mm under the large field of view (800mm) required by the ceramic basin. *600mm), which is far below the accuracy of probe measurement; in addition, it can also measure irregular shapes of arbitrary shapes, and can automatically generate detection paths of arbitrary shapes, which are suitable for ceramic basins of any shape and can be stably The inner contour of the ceramic basin is detected. Moreover, the height change has little influence on the contour recognition. If the ceramic basin is placed unevenly and the height changes, the inner contour of the ceramic basin can still be stably obtained by using the probe to detect the contour, which has good applicability.
在此说明书中,本发明已参照其特定的实施例作了描述。但是,很显然仍可以作出各种修改和变换而不背离本发明的精神和范围。因此,说明书和附图应被认为是说明性的而非限制性的。In this specification, the invention has been described with reference to specific embodiments thereof. However, it is obvious that various modifications and changes can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are to be regarded as illustrative rather than restrictive.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211654262.0A CN115981242A (en) | 2022-12-22 | 2022-12-22 | Method, device, processor and computer readable storage medium for realizing automatic probe detection processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211654262.0A CN115981242A (en) | 2022-12-22 | 2022-12-22 | Method, device, processor and computer readable storage medium for realizing automatic probe detection processing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115981242A true CN115981242A (en) | 2023-04-18 |
Family
ID=85971708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211654262.0A Pending CN115981242A (en) | 2022-12-22 | 2022-12-22 | Method, device, processor and computer readable storage medium for realizing automatic probe detection processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115981242A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN120029171A (en) * | 2025-01-07 | 2025-05-23 | 北京造物时代科技有限公司 | Engraving machine control method, engraving machine, computer device, storage medium and program product |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5471406A (en) * | 1992-04-14 | 1995-11-28 | Carl Zeiss-Stiftung | Method of measuring elemental shapes of a workpiece on a coordinate measuring machine |
CN1748187A (en) * | 2003-02-13 | 2006-03-15 | 瑞尼斯豪公司 | Method for producing a measurement probe path on a numerically controlled coordinate measuring machine |
CN103962889A (en) * | 2013-02-04 | 2014-08-06 | 鸿富锦精密工业(深圳)有限公司 | Machining machine probe measuring system and method |
WO2016188842A2 (en) * | 2015-05-22 | 2016-12-01 | Blum-Novotest Gmbh | Method and system for determining a workpiece contour and for correcting a target path for machining a workpiece in a machine tool |
CN107942948A (en) * | 2017-12-21 | 2018-04-20 | 苏州谷夫道自动化科技有限公司 | The detection of probe system and the graphical edit methods of processing program |
CN109507950A (en) * | 2018-11-09 | 2019-03-22 | 上海维宏电子科技股份有限公司 | Device, method and its system of plane positioning machining control are realized based on probe |
-
2022
- 2022-12-22 CN CN202211654262.0A patent/CN115981242A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5471406A (en) * | 1992-04-14 | 1995-11-28 | Carl Zeiss-Stiftung | Method of measuring elemental shapes of a workpiece on a coordinate measuring machine |
CN1748187A (en) * | 2003-02-13 | 2006-03-15 | 瑞尼斯豪公司 | Method for producing a measurement probe path on a numerically controlled coordinate measuring machine |
CN102637016A (en) * | 2003-02-13 | 2012-08-15 | 瑞尼斯豪公司 | A machine tool control process and apparatus therefor |
CN103962889A (en) * | 2013-02-04 | 2014-08-06 | 鸿富锦精密工业(深圳)有限公司 | Machining machine probe measuring system and method |
WO2016188842A2 (en) * | 2015-05-22 | 2016-12-01 | Blum-Novotest Gmbh | Method and system for determining a workpiece contour and for correcting a target path for machining a workpiece in a machine tool |
CN107942948A (en) * | 2017-12-21 | 2018-04-20 | 苏州谷夫道自动化科技有限公司 | The detection of probe system and the graphical edit methods of processing program |
CN109507950A (en) * | 2018-11-09 | 2019-03-22 | 上海维宏电子科技股份有限公司 | Device, method and its system of plane positioning machining control are realized based on probe |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN120029171A (en) * | 2025-01-07 | 2025-05-23 | 北京造物时代科技有限公司 | Engraving machine control method, engraving machine, computer device, storage medium and program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102423831B (en) | Mould cavity curved surface texture etching method and device | |
US9646425B2 (en) | Inspection program editing environment with editing environment automatically globally responsive to editing operations in any of its portions | |
CN115981242A (en) | Method, device, processor and computer readable storage medium for realizing automatic probe detection processing | |
US9952586B2 (en) | Inspection program editing environment with simulation status and control continually responsive to selection operations | |
US9639083B2 (en) | System and method for programming workpiece feature inspection operations for a coordinate measuring machine | |
CN110968039B (en) | Graph cutting and sorting processing method applied to laser cutting numerical control machining | |
EP2343500A1 (en) | Method of generating an inspection program and method of generating a visual display | |
CN104674210A (en) | Workpiece laser automatic repair method | |
US9933256B2 (en) | Inspection program editing environment including real-time feedback related to throughput | |
US20110189924A1 (en) | Method of machining between contoured surfaces with cup shaped tool | |
CN116851930B (en) | Three-dimensional five-axis curved surface laser cutting track generation method and device | |
CN108287522B (en) | Multi-platform-based automatic on-line detection method | |
CN106054814B (en) | Computer aided building method based on image grayscale | |
CN1796046B (en) | Automatic Collision Detection System of CNC Machine Tool | |
Liu et al. | Isoplanar-based adaptive sampling for model-unknown sculptured surface coordinate metrology using non-contact probe | |
US20100157317A1 (en) | System and method for measuring dimensions of a cutting tool | |
US11980986B1 (en) | Material hardness compensation in an automated milling system | |
CN107088704A (en) | The laser cutting method and device of a kind of rectangle pipe material | |
CN208067513U (en) | Process the EDM shaping machine intelligent depth control system of PCD composite sheets | |
EP3593942B1 (en) | Machining control device | |
CN207431535U (en) | Numerical control laser cutter | |
JP5302165B2 (en) | Numerical control device for controlling a machine tool equipped with a measuring device | |
CN212444353U (en) | An automatic point-finding device for a numerically controlled machine tool | |
CN115255467A (en) | Depth control machining system and method | |
CN210211850U (en) | Automatic leveling numerical control engraving machine |
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 |