CN107085409A - A dynamic error checking method and device for a numerically controlled machine tool - Google Patents

A dynamic error checking method and device for a numerically controlled machine tool Download PDF

Info

Publication number
CN107085409A
CN107085409A CN201710438895.0A CN201710438895A CN107085409A CN 107085409 A CN107085409 A CN 107085409A CN 201710438895 A CN201710438895 A CN 201710438895A CN 107085409 A CN107085409 A CN 107085409A
Authority
CN
China
Prior art keywords
data
machine tool
tool
probe
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.)
Granted
Application number
CN201710438895.0A
Other languages
Chinese (zh)
Other versions
CN107085409B (en
Inventor
陈吉红
周会成
李雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Publication of CN107085409A publication Critical patent/CN107085409A/en
Application granted granted Critical
Publication of CN107085409B publication Critical patent/CN107085409B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/404Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/007Arrangements for observing, indicating or measuring on machine tools for managing machine functions not concerning the tool
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35408Calculate new position data from actual data to compensate for contour error

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • Automatic Control Of Machine Tools (AREA)

Abstract

The invention discloses a kind of dynamic error method of inspection of Digit Control Machine Tool, including:Data collection steps, first data related to the physical location of the cutter location of the Digit Control Machine Tool and second data related with the offset of the probe of gauge head are obtained from Digit Control Machine Tool;Data processing step, first data and second data are handled, by first data with second data convert into the theoretical Path under workpiece coordinate system, and actual Path is obtained based on the theoretical Path and second data;Analytical procedure, by the relatively theoretical Path and the actual Path, obtains the error between the theoretical Path and the actual Path, obtains the dynamic error of the Digit Control Machine Tool.Digit Control Machine Tool, gauge head and the storage medium examined the invention also discloses a kind of dynamic error verifying attachment of Digit Control Machine Tool, for dynamic error.

Description

一种数控机床的动态误差检验方法及装置A dynamic error checking method and device for a numerically controlled machine tool

技术领域technical field

本发明属于数控机床技术领域,更具体地,涉及一种数控机床的动态误差检验方法及装置。The invention belongs to the technical field of numerical control machine tools, and more specifically relates to a method and device for checking dynamic errors of numerical control machine tools.

背景技术Background technique

随着制造业对数控机床加工效率和精度要求的提高,需要五轴机床具备各伺服轴系统联动配合的动态性能,而动态性能的优劣将对加工工件的质量和加工效率产生显著影响。With the improvement of manufacturing efficiency and precision requirements for CNC machine tools in the manufacturing industry, five-axis machine tools are required to have the dynamic performance of the linkage and cooperation of each servo axis system, and the quality of the dynamic performance will have a significant impact on the quality and processing efficiency of the processed workpiece.

为了验证五轴机床的动态性能是否满足要求,需要检验五轴机床的动态精度。对于五轴机床动态精度的检验,国内外学者做了大量研究,目前仍缺乏系统的机理分析和权威的评价标准。基于检验试件切削的样件法能部分地反映机床的动态精度。目前国际上比较有名的机床检验试件,如美国的NAS979检验试件、日本的四角锥台检验试件和德国的梅赛德斯检验试件等,仅能检验机床静止或低速状态下的各项精度,对于机床在高速工作状态下的检测无能为力。而且,通过上述试件检测的一些机床,在实际应用中仍然会出现精度达不到期望要求的现象。In order to verify whether the dynamic performance of the five-axis machine tool meets the requirements, it is necessary to test the dynamic accuracy of the five-axis machine tool. Scholars at home and abroad have done a lot of research on the inspection of the dynamic accuracy of five-axis machine tools, but there is still a lack of systematic mechanism analysis and authoritative evaluation standards. The sample method based on the cutting of the test piece can partly reflect the dynamic accuracy of the machine tool. At present, the internationally famous machine tool test pieces, such as the NAS979 test piece in the United States, the square pyramid test piece in Japan, and the Mercedes test piece in Germany, can only test the machine tools under static or low speed conditions. The accuracy of the item is powerless for the detection of machine tools under high-speed working conditions. Moreover, the accuracy of some machine tools tested by the above test pieces still cannot meet the expected requirements in practical applications.

专利CN200710048269.7公开了一种“综合检测数控铣床精度的“S”形检测试件及其检测方法”提出了一种对五坐标数控铣床五轴联动机床精度进行检测的试件,并且还涉及使用检测试件检测五坐标数控铣床多坐标轴联动精度的方法,如图1所示。该检测试件在试件型面中融入了航空薄壁的特征,不仅能够反映五轴机床的静态精度,而且重点关注了五轴机床的动态精度。试件型面曲率随表面形状变化而变化,在拐角处具有开闭角转换特征,通过切削“S”件可以在一定程度上反映出五轴机床的动态误差。Patent CN200710048269.7 discloses a "S"-shaped test piece and its test method for comprehensively testing the accuracy of CNC milling machines." The method of using the test piece to detect the multi-coordinate axis linkage accuracy of the five-axis CNC milling machine is shown in Figure 1. The test piece incorporates the characteristics of aviation thin-wall into the surface of the test piece, which can not only reflect the static accuracy of the five-axis machine tool, but also focus on the dynamic accuracy of the five-axis machine tool. The curvature of the specimen surface changes with the change of the surface shape, and there is an opening and closing angle conversion feature at the corner, and the dynamic error of the five-axis machine tool can be reflected to a certain extent by cutting the "S" piece.

依据专利CN200710048269.7公开的五轴机床动态精度的检验方法,如图1所示,每进行一次检验都需要五轴机床加工一次“S”件,包括从制备毛坯、粗加工以及精加工的整个过程;然后将加工好的“S”件用三坐标测量仪检测其轮廓误差;如果“S”件的轮廓误差不合格,需要找到造成五轴机床动态误差的机床因素,并调整机床相关参数;然后,再完整地加工一次“S”件,直到加工的“S”件满足精度要求为止。这样一台五轴机床动态精度的检验的时间大约为一到两天,有的时间会更长。这在很大程度上造成了时间和试件毛坯材料、电能等资源的浪费,而且这种方法不便于五轴机床动态精度的定期检验和动态性能的修正与调整。这种方法在验证加工的“S”件是否合格时,还需要用三坐标测量仪等仪器,变向地增加了五轴机床动态精度检验的成本。According to the inspection method of the dynamic accuracy of the five-axis machine tool disclosed in the patent CN200710048269.7, as shown in Figure 1, each inspection requires a five-axis machine tool to process an "S" piece, including the entire process from the preparation of blanks, rough machining and finishing. process; then use the three-coordinate measuring instrument to detect the contour error of the processed "S" piece; if the contour error of the "S" piece is unqualified, it is necessary to find the machine tool factors that cause the dynamic error of the five-axis machine tool and adjust the relevant parameters of the machine tool; Then, process the "S" piece completely again until the processed "S" piece meets the accuracy requirements. The inspection time of the dynamic accuracy of such a five-axis machine tool is about one to two days, and some times will be longer. This largely results in a waste of resources such as time, blank material of the test piece, and electric energy, and this method is not convenient for the regular inspection of the dynamic accuracy of the five-axis machine tool and the correction and adjustment of the dynamic performance. When this method verifies whether the processed "S" parts are qualified, it also needs to use three-coordinate measuring instruments and other instruments, which increases the cost of dynamic accuracy inspection of five-axis machine tools in a different direction.

发明内容Contents of the invention

针对现有技术的以上缺陷或改进需求,本发明提供了数控机床的动态误差检验方法及装置,通过测头沿着刀具轨迹贴合“S”件直纹加工面的扫描运动代替刀具的进给运动获得五轴机床的动态误差,来检验五轴机床的动态精度。In view of the above defects or improvement needs of the prior art, the present invention provides a dynamic error inspection method and device for CNC machine tools, which replaces the feed of the tool by the scanning motion of the probe along the tool track to fit the ruled processing surface of the "S" piece Motion obtains the dynamic error of the five-axis machine tool to test the dynamic accuracy of the five-axis machine tool.

为实现上述目的,按照本发明,提供了(1)一种数控机床的动态误差检验方法,包括:数据采集步骤,从数控机床获取与所述数控机床的刀位点的实际位置相关的第一数据和与测头的探针的偏移量相关的第二数据;数据处理步骤,对所述第一数据和所述第二数据进行处理,将所述第一数据和所述第二数据还原成工件坐标系下的理论刀位轨迹,并基于所述理论刀位轨迹和所述第二数据获得实际刀位轨迹;分析步骤,通过比较所述理论刀位轨迹和所述实际刀位轨迹,得到所述理论刀位轨迹和所述实际刀位轨迹之间的误差,获得所述数控机床的动态误差。采用上述技术方案,不需要实际加工工件,也就不需要用到三坐标测量仪等仪器,检验环节方便快捷,有效地节约了检验过程中的时间和资源成本。In order to achieve the above object, according to the present invention, there is provided (1) a dynamic error checking method of a CNC machine tool, comprising: a data acquisition step, obtaining from the CNC machine tool the first data relevant to the actual position of the tool position point of the CNC machine tool. data and second data related to the offset of the probe of the measuring head; a data processing step, processing the first data and the second data, and restoring the first data and the second data forming a theoretical tool position trajectory under the workpiece coordinate system, and obtaining an actual tool position trajectory based on the theoretical tool position trajectory and the second data; in the analysis step, by comparing the theoretical tool position trajectory and the actual tool position trajectory, The error between the theoretical tool position trajectory and the actual tool position trajectory is obtained, and the dynamic error of the numerically controlled machine tool is obtained. By adopting the above technical solution, there is no need to actually process workpieces, and there is no need to use instruments such as a three-coordinate measuring instrument. The inspection process is convenient and fast, and the time and resource costs in the inspection process are effectively saved.

(2)根据(1)所述的动态误差检验方法,所述第一数据通过沿已经数控加工好的工件的外轮廓进行扫描测量而获得。(2) According to the dynamic error inspection method described in (1), the first data is obtained by scanning and measuring along the outer contour of the workpiece that has been processed by numerical control.

(3)根据(2)所述的动态误差检验方法,以与数控加工所述工件时相同的进给速度和与加工时的刀具轨迹相同的运动轨迹对所述工件的外轮廓进行扫描测量。(3) According to the dynamic error checking method described in (2), the outer contour of the workpiece is scanned and measured with the same feed rate as that of the CNC machining the workpiece and the same motion trajectory as the tool trajectory during machining.

(4)根据(3)所述的动态误差检验方法,所述工件是“S”件,所述刀具轨迹是所述“S”件精加工中的一条与所述“S”件的基座底面平行的闭合的刀具轨迹。(4) According to the dynamic error inspection method described in (3), the workpiece is an "S" piece, and the tool path is one of the finishing processes of the "S" piece and the base of the "S" piece Closed toolpath with base parallel.

(5)根据(4)所述的动态误差检验方法,在对所述工件的外轮廓进行扫描测量时,当出现所述“S”件的直纹面上未扫描到的部位时,则用所述测头的探针对该部位进行局部扫描测量,或者用所述测头的探针触碰该部位进行一次检验测量。(5) According to the dynamic error inspection method described in (4), when the outer contour of the workpiece is scanned and measured, when there is an unscanned position on the ruled surface of the "S" piece, use The probe of the measuring head performs partial scanning measurement on the site, or touches the site with the probe of the measuring head to perform a test measurement.

(6)根据(5)所述的动态误差检验方法,当发现扫描测量过的部位已经不满足数控机床的动态精度的要求时,则终止对其它未扫描部位的进一步检验测量。(6) According to the dynamic error inspection method described in (5), when it is found that the scanned and measured parts do not meet the requirements of the dynamic accuracy of the CNC machine tool, further inspection and measurement of other unscanned parts is terminated.

(7)根据(1)~(6)任意一项所述的动态误差检验方法,所述实际刀位轨迹通过将所述理论刀位轨迹加上所述测头的探针的偏移量数据而获得。(7) According to the dynamic error inspection method described in any one of (1) to (6), the actual tool position trajectory is obtained by adding the theoretical tool position trajectory to the offset data of the probe of the measuring head And get.

(8)根据(1)~(6)任意一项所述的动态误差检验方法,所述第一数据为在所述数控机床坐标系下的与所述数控机床的刀位点的实际位置相关的数据;所述第二数据为在所述测头坐标系下的与所述探针的偏移量相关的数据。(8) According to the dynamic error checking method described in any one of (1) to (6), the first data is related to the actual position of the tool position point of the CNC machine tool under the coordinate system of the CNC machine tool the data; the second data is the data related to the offset of the probe in the probe coordinate system.

本发明的另一方面还提供了(9)一种数控机床的动态误差检验装置,包括:显示器;处理器,能够进行以下处理:从数控机床获取与所述数控机床的刀位点的实际位置相关的第一数据和与测头的探针的偏移量相关的第二数据;对所述第一数据和所述第二数据进行处理,将所述第一数据和所述第二数据还原成工件坐标系下的理论刀位轨迹,并基于所述理论刀位轨迹和所述第二数据获得实际刀位轨迹;通过比较所述理论刀位轨迹和所述实际刀位轨迹,得到所述理论刀位轨迹和所述实际刀位轨迹之间的误差,获得所述数控机床的动态误差。Another aspect of the present invention also provides (9) a dynamic error checking device of a numerically controlled machine tool, comprising: a display; a processor capable of performing the following processing: obtaining from the numerically controlled machine tool the actual position of the tool position point of the numerically controlled machine tool related first data and second data related to the offset of the probe of the measuring head; processing the first data and the second data to restore the first data and the second data Form the theoretical tool position trajectory under the workpiece coordinate system, and obtain the actual tool position trajectory based on the theoretical tool position trajectory and the second data; by comparing the theoretical tool position trajectory and the actual tool position trajectory, the described The error between the theoretical tool position trajectory and the actual tool position trajectory is used to obtain the dynamic error of the CNC machine tool.

(10)根据(9)所述的动态误差检验装置,所述第一数据通过沿已经数控加工好的工件的外轮廓进行扫描测量而获得。(10) According to the dynamic error checking device described in (9), the first data is obtained by scanning and measuring along the outer contour of the workpiece that has been processed by numerical control.

(11)根据(10)所述的动态误差检验装置,以与数控加工所述工件时相同的进给速度和与加工时的刀具轨迹相同的运动轨迹对所述工件的外轮廓进行扫描测量。(11) According to the dynamic error checking device described in (10), the outer contour of the workpiece is scanned and measured at the same feed rate as that used for CNC machining of the workpiece and the same motion trajectory as that of the tool during machining.

(12)根据(9)~(11)所述的动态误差检验装置,所述实际刀位轨迹通过将所述理论刀位轨迹加上所述测头的探针的偏移量数据而获得。(12) According to the dynamic error checking device described in (9) to (11), the actual tool position trajectory is obtained by adding the theoretical tool position trajectory to the offset data of the probe of the measuring head.

(13)根据(9)~(11)任意一项所述的动态误差检验方法,所述第一数据为在数控机床坐标系下的与所述数控机床的刀位点的实际位置相关的数据;所述第二数据为在测头坐标系下的与所述探针的偏移量相关的数据。(13) According to the dynamic error checking method described in any one of (9) to (11), the first data is data related to the actual position of the tool position point of the CNC machine tool under the coordinate system of the CNC machine tool ; The second data is data related to the offset of the probe in the probe coordinate system.

本发明还进一步提供了(14)一种能够用于动态误差检验的数控机床,包括:数控装置、伺服驱动装置、信号监控采集装置、测头以及主轴;所述数控装置,用于控制所述数控机床的相关部件的运行;所述信号监控采集装置,连接着传感设备,用于读写传感器传输的数字量和/或模拟量信号;所述伺服驱动装置用于接收所述信号监控采集装置的所述数字量信号,并输出所述模拟量信号来控制所述主轴的伺服电机的运动;所述测头被安装在所述主轴上,用于采集所述主轴的运行数据和所述测头自身运行数据,并将所采集的数据传送给所述信号监控采集装置。The present invention further provides (14) a numerically controlled machine tool that can be used for dynamic error inspection, including: a numerically controlled device, a servo drive device, a signal monitoring and collecting device, a probe, and a spindle; the numerically controlled device is used to control the The operation of the relevant parts of the CNC machine tool; the signal monitoring and acquisition device is connected to the sensing device, and is used to read and write the digital and/or analog signal transmitted by the sensor; the servo drive device is used to receive the signal monitoring and acquisition The digital signal of the device, and output the analog signal to control the movement of the servo motor of the main shaft; the probe is installed on the main shaft to collect the operating data of the main shaft and the The measuring head itself operates data, and transmits the collected data to the signal monitoring and collecting device.

(15)根据(14)所述的数控机床,还包括:UPS电源,用于给所述数控装置和所述述信号监控采集装置的输入输出模块供电。(15) The numerical control machine tool according to (14), further comprising: a UPS power supply for supplying power to the input and output modules of the numerical control device and the signal monitoring and acquisition device.

(16)根据(14)所述的数控机床,所述信号监控采集装置为基于STM32的模拟量高速数据采集I/O模块。(16) According to the numerical control machine tool described in (14), the signal monitoring and acquisition device is an analog high-speed data acquisition I/O module based on STM32.

(17)根据(14)所述的数控机床,所述测头为三维扫描式测头,所述测头的探针在空间三维方向上都有一定量程,所述探针每个方向的移动都会有正余弦模拟量信号的输出。(17) According to the numerical control machine tool described in (14), the probe is a three-dimensional scanning probe, the probe of the probe has a certain range in the three-dimensional direction of space, and the movement of the probe in each direction There will be output of sine and cosine analog signals.

(18)根据(14)所述的数控机床,其特征在于,所述信号监控采集装置通过AD/DA转换完成所述传感器和所述伺服驱装置及所述传感器和所述信号监控采集装置的输入输出模块之间的数据通讯传输。(18) According to the numerical control machine tool described in (14), it is characterized in that the signal monitoring and acquisition device completes the connection between the sensor and the servo drive device and the sensor and the signal monitoring and acquisition device through AD/DA conversion Data communication transmission between input and output modules.

(19)根据(14)~(18)任意一项所述的数控机床,所述数控装置配制了测头超过量程保护模块,当所述测头的量程达到超程临界条件时,所述数控装置发出超程控制信号,控制所述数控机床的相应部件的运行。(19) According to the numerically controlled machine tool described in any one of (14) to (18), the numerically controlled device is configured with a measuring head over-range protection module, and when the measuring range of the measuring head reaches the overtravel critical condition, the numerically controlled The device sends an overtravel control signal to control the operation of the corresponding components of the numerical control machine tool.

(20)根据(19)所述的数控机床,当所述测头的量程达到超程临界条件时,所述数控装置发出超程控制信号,控制所述数控机床锁死所述主轴的运行。(20) According to the numerical control machine tool described in (19), when the measuring range of the measuring head reaches the overtravel critical condition, the numerical control device sends an overtravel control signal to control the numerical control machine tool to lock the operation of the spindle.

(21)根据(14)~(18)任意一项所述的数控机床,所述测头具有超程保护单元,当所述测头的量程达到超程临界条件时,发出超程报警信号。在上述技术方案中,当所述测头的量程达到超程临界条件时,发出超程报警信号,以提醒用户测头将超程需要采取必要措施,防止所述测头的损坏或机器故障。(21) According to the numerical control machine tool described in any one of (14) to (18), the measuring head has an over-travel protection unit, and when the measuring range of the measuring head reaches the critical condition of over-travel, an over-travel alarm signal is issued. In the above technical solution, when the measuring range of the measuring head reaches the overtravel critical condition, an overtravel alarm signal is sent to remind the user that the measuring head will be overtraveled and necessary measures must be taken to prevent damage to the measuring head or machine failure.

本发明还进一步提供了(22)一种能够用于动态误差检验的测头,包括:测头本体和探针;所述测头本体具有超程保护单元,能在所述测头的位移超程时发出超程信号。在上述技术方案中,通过向数控装置发送超程信号,使得数控装置发出超程控制信号,以控制上述数控机床的伺服驱动装置、伺服电机或轴等相应部件的运行,能够自动且有效地防止上述测头损坏或者机器故障The present invention further provides (22) a measuring head that can be used for dynamic error inspection, including: a measuring head body and a probe; An overtravel signal is issued when overtravel. In the above technical solution, by sending an overtravel signal to the numerical control device, the numerical control device sends an overtravel control signal to control the operation of the corresponding components such as the servo drive device, servo motor or shaft of the above numerical control machine tool, which can automatically and effectively prevent The above-mentioned probe is damaged or the machine is malfunctioning

(23)根据(22)所述的测头,所述探针能够通过贴合工件的加工面,对所述工件的外轮廓进行扫描测量,采集数控机床的刀位点的实际位置所述探针自身的偏移量。(23) According to the measuring head described in (22), the probe can scan and measure the outer contour of the workpiece by attaching to the processed surface of the workpiece, and collect the actual position of the tool position point of the CNC machine tool. The offset of the needle itself.

(24)根据(22)所述的测头,所述超程保护单元在所述测头的量程达到超程临界条件时发出超程报警信号。在上述技术方案中,通过上述超程保护单元发出超程报警信号,可以提醒用户采取必要措施,防止上述测头损坏或者机器故障。(24) The probe according to (22), wherein the overtravel protection unit sends an overtravel alarm signal when the measuring range of the probe reaches a critical overtravel condition. In the above technical solution, the over-travel protection unit sends out an over-travel alarm signal, which can remind the user to take necessary measures to prevent the above-mentioned measuring head from being damaged or the machine from malfunctioning.

(25)根据(22)~(24)任意一项所述的测头,所述超程信号被发送至数控机床的数控装置,所述数控装置基于所述超程信号发出超程控制信号,控制所述数控机床的相应部件的运行。(25) According to the probe described in any one of (22) to (24), the overtravel signal is sent to a numerical control device of a numerically controlled machine tool, and the numerical control device sends an overtravel control signal based on the overtravel signal, Control the operation of the corresponding components of the CNC machine tool.

(26)根据(25)所述的测头,所述数控装置基于所述超程信号发出超程控制信号,控制所述数控机床锁死所述主轴的运行。(26) The probe according to (25), wherein the numerical control device sends an overtravel control signal based on the overtravel signal to control the numerical control machine tool to lock the operation of the spindle.

本发明还进一步提供(27)一种存储介质,存储使至少一个处理器能够执行以下操作的程序:从数控机床获取与所述数控机床的刀位点的实际位置相关的第一数据和与测头的探针的偏移量相关的第二数据;对所述第一数据和所述第二数据进行处理,将所述第一数据和所述第二数据还原成工件坐标系下的理论刀位轨迹,并基于所述理论刀位轨迹和所述第二数据获得实际刀位轨迹;通过比较所述理论刀位轨迹和所述实际刀位轨迹,得到所述理论刀位轨迹和所述实际刀位轨迹之间的误差,获得所述数控机床的动态误差。The present invention further provides (27) a storage medium storing a program enabling at least one processor to perform the following operations: acquiring from a numerically controlled machine tool the first data related to the actual position of the tool position point of the numerically controlled machine tool and the first data related to the measurement The second data related to the offset of the probe of the head; the first data and the second data are processed, and the first data and the second data are restored to the theoretical tool under the workpiece coordinate system position trajectory, and obtain the actual tool position trajectory based on the theoretical tool position trajectory and the second data; by comparing the theoretical tool position trajectory and the actual tool position trajectory, the theoretical tool position trajectory and the actual tool position trajectory are obtained The error between tool position trajectories is used to obtain the dynamic error of the CNC machine tool.

(28)根据(27)所述的存储介质,所述第一数据通过沿已经数控加工好的工件的外轮廓进行扫描测量而获得。(28) According to the storage medium described in (27), the first data is obtained by scanning and measuring along the outer contour of the workpiece that has been processed by numerical control.

(29)根据(27)所述的存储介质,以与数控加工所述工件时相同的进给速度和与加工时的刀具轨迹相同的运动轨迹对所述工件的外轮廓进行扫描测量。(29) According to the storage medium described in (27), the outer contour of the workpiece is scanned and measured at the same feed rate and the same motion trajectory as the tool trajectory during machining.

(30)根据(27)~(29)任意一项所述的存储介质,所述实际刀位轨迹通过将所述理论刀位轨迹加上所述测头的探针的偏移量数据而获得。(30) According to the storage medium described in any one of (27) to (29), the actual tool position trajectory is obtained by adding the theoretical tool position trajectory to the offset data of the probe of the measuring head .

(31)根据(27)~(29)任意一项所述的存储介质,所述第一数据为在数控机床坐标系下的与所述数控机床的刀位点的实际位置相关的数据;所述第二数据为在测头坐标系下的与所述探针的偏移量相关的数据。(31) According to the storage medium described in any one of (27) to (29), the first data is data related to the actual position of the tool position point of the CNC machine tool under the coordinate system of the CNC machine tool; The second data is data related to the offset of the probe in the probe coordinate system.

总体而言,通过本发明所构思的以上技术方案与现有技术相比,能够取得下列有益效果:Generally speaking, compared with the prior art, the above technical solutions conceived by the present invention can achieve the following beneficial effects:

1)本发明提出的方法不需要实际加工“S”件,也就不需要用到三坐标测量仪等仪器,检验环节方便快捷,有效地节约了检验过程中的时间和资源成本。1) The method proposed by the present invention does not need to actually process the "S" piece, and also does not need to use a three-coordinate measuring instrument and other instruments. The inspection process is convenient and quick, and effectively saves time and resource costs in the inspection process.

2)动态精度检验过程中测头的走刀轨迹是“S”件精加工中刀具的轨迹,测头探针与“S”件型面贴合,由于“S”件是已经数控加工好的检验试件,用测头替代刀具以与刀具精加工相同的进给速度沿着这种“S”件的直纹加工面进行贴合扫描测量所得到的误差值能够有效地反映五轴机床各坐标轴、伺服驱动控制系统以及各伺服电机的联动性能,把同步采集来的机床坐标系下的数据通过数据处理还原成工件坐标系下指令刀轨和加上测头偏移数据的实际刀轨,方便有效地分析五轴机床的动态误差,验证五轴机床的动态精度是否满足要求,为调节五轴机床联动性能提供依据。2) During the dynamic precision inspection process, the tool path of the probe is the track of the tool in the finishing process of the "S" piece, and the probe of the probe fits the surface of the "S" piece, because the "S" piece has been processed by CNC To test the test piece, use the probe instead of the tool to carry out the fitting scanning measurement along the ruled processing surface of this "S" piece at the same feed speed as the tool finishing. The error value obtained can effectively reflect the various aspects of the five-axis machine tool Coordinate axis, servo drive control system and the linkage performance of each servo motor, the synchronously collected data in the machine tool coordinate system is restored to the command tool path in the workpiece coordinate system and the actual tool path with probe offset data through data processing , conveniently and effectively analyze the dynamic error of the five-axis machine tool, verify whether the dynamic accuracy of the five-axis machine tool meets the requirements, and provide a basis for adjusting the linkage performance of the five-axis machine tool.

3)试验证明,通过用本发明所述的五轴机床动态精度的检验方法检验的五轴机床,在使用过程中其动态性能良好。3) The test proves that the dynamic performance of the five-axis machine tool tested by the five-axis machine tool dynamic accuracy test method according to the present invention is good during use.

附图说明Description of drawings

图1是检验五轴机床动态精度现有方法的流程图;Fig. 1 is a flowchart of an existing method for testing the dynamic accuracy of a five-axis machine tool;

图2为本发明一实施方式的数控机床的动态误差检验系统结构示意图;Fig. 2 is a schematic structural diagram of a dynamic error checking system of a numerically controlled machine tool according to an embodiment of the present invention;

图3为本发明一实施方式的数据处理装置的结构框图;3 is a structural block diagram of a data processing device according to an embodiment of the present invention;

图4为本发明一实施方式的测头的结构示意图;4 is a schematic structural view of a measuring head according to an embodiment of the present invention;

图5为本发明一实施方式的数控机床的动态误差检验流程图;Fig. 5 is the flow chart of the dynamic error inspection of the numerical control machine tool of an embodiment of the present invention;

图6为本发明一实施方式中使用的“S”形检验试件的结构示意图;Fig. 6 is a schematic structural view of an "S"-shaped test piece used in an embodiment of the present invention;

图7为本发明一实施方式中基于“S”形检验试件的机床动态精度检验示意图;Fig. 7 is a schematic diagram of a machine tool dynamic accuracy inspection based on an "S"-shaped inspection specimen in an embodiment of the present invention;

图8是本发明一实施方式中动态误差检验方法详细的主流程图;Fig. 8 is a detailed main flowchart of a dynamic error checking method in an embodiment of the present invention;

图9是本发明一实施方式中测头的示意图。Fig. 9 is a schematic diagram of a measuring head in an embodiment of the present invention.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

参照图1~图9,基于“S”形检验试件的五轴联动数控机床动态误差检验方法,本发明所使用的“S”形检验试件60是专利CN200710048269.7所加工形成的试件,所述“S”形检验试件60通过数控加工形成,其由一个呈“S”形状的直纹面等厚缘条61和一个矩形基座62组合而成,分别在两个不同平面内生成的两条“S”形曲线在基座平面的投影互相交叉,并具有在交汇处转换变化弯曲形成的开、闭角形态,所述直纹面与基座平面夹角角度沿其“S”线的运动轨迹呈非均匀变化走向,Referring to Figures 1 to 9, the five-axis linkage CNC machine tool dynamic error testing method based on the "S"-shaped test piece, the "S"-shaped test piece 60 used in the present invention is the test piece processed by the patent CN200710048269.7 , the "S"-shaped test piece 60 is formed by numerical control machining, and it is composed of an "S"-shaped ruled surface equal-thickness edge strip 61 and a rectangular base 62, respectively in two different planes The projections of the generated two "S"-shaped curves on the base plane intersect each other, and have open and closed angle forms formed by changing and bending at the intersection. The angle between the ruled surface and the base plane is along its "S" "The trajectory of the line shows a non-uniform change trend,

该动态误差检验方法包括以下步骤:The dynamic error checking method comprises the following steps:

1、将测头19安装在五轴联动数控机床的主轴上,并把已经所述数控加工完成,且满足设定精度要求的“S”件装夹在五轴联动数控机床的工作台上;1. Install the measuring head 19 on the main shaft of the five-axis linkage CNC machine tool, and clamp the "S" piece that has been finished with the CNC machining and meets the set accuracy requirements on the workbench of the five-axis linkage CNC machine tool;

本发明中的测头19为接触式三维扫描测头,优选采用Renishaw SP2-1接触式三维扫描测头,Renishaw SP2-1接触式三维扫描测头主要由四部分组成,包括运动子系统、测量子系统、超程保护单元以及探针192组成,测头19主体的示意图如图4所示。超程保护单元能在测头19的位移超过量程之后发出超程信号,防止测头19损坏或者机器故障。超程的临界条件如表1所示。The probe 19 in the present invention is a contact-type three-dimensional scanning probe, preferably using the Renishaw SP2-1 contact-type three-dimensional scanning probe. The Renishaw SP2-1 contact-type three-dimensional scanning probe is mainly composed of four parts, including a motion subsystem, a measurement The subsystem, the overtravel protection unit and the probe 192 are composed, and the schematic diagram of the main body of the measuring head 19 is shown in FIG. 4 . The over-travel protection unit can send an over-travel signal after the displacement of the probe 19 exceeds the range, so as to prevent damage to the probe 19 or machine failure. The critical conditions of overtravel are shown in Table 1.

表1 测头超程的临界值Table 1 Critical value of probe overtravel

坐标轴Axis 量程/mmRange/mm 受力/NForce/N X、YX, Y 18mm(具有100mm针尖)18mm (with 100mm tip) 20N~65N20N~65N ZZ 5mm最小值5mm min. 400N~600N400N~600N

对于重量为0-10g的探针192来说,测头19每个轴的量程都为定值,但是不同的安装方式量程又有所不同,如表2所示。For the probe 192 with a weight of 0-10g, the measurement range of each axis of the measuring head 19 is a fixed value, but the measurement range varies with different installation methods, as shown in Table 2.

表2 测头量程Table 2 Measuring head range

本实施例中待检测动态精度的五轴机床和数控系统为华中8型数控系统,该系统中根据测头19的量程制配了测头19超程保护软件模块和主轴锁死机制。In this embodiment, the five-axis machine tool and the numerical control system to be tested for dynamic accuracy are the Huazhong 8 CNC system. According to the measurement range of the probe 19, the overtravel protection software module of the probe 19 and the spindle locking mechanism are configured in this system.

测头19经数据连接线连接到基于STM32的模拟量高速数据采集I/O模块,该模块再和数控系统总线相连。因为测头19输出的信号是正余弦模拟信号,需要经过上述I/O模块进行模数转换,把模拟信号转换成数字信号由总线传送给数控系统。The measuring head 19 is connected to the STM32-based analog high-speed data acquisition I/O module through the data connection line, and the module is connected to the numerical control system bus. Because the signal output by the measuring head 19 is a sine-cosine analog signal, it needs to be converted from analog to digital through the above-mentioned I/O module, and the analog signal is converted into a digital signal and transmitted to the numerical control system through the bus.

2、测头19的探针192先贴合“S”件的直纹加工面,然后以与数控加工“S”件时相同的进给速度和与数据加工“S”件时其中一刀具轨迹相同的运动轨迹,沿“S”件的外轮廓扫描测量一周圈,与此同时,同步采集五轴联动数控机床的刀位点的实际位置以及测头19探针192的偏移量;2. The probe 192 of the measuring head 19 first fits the straight grain processing surface of the "S" piece, and then uses the same feed speed and one of the tool tracks as the data processing "S" piece when machining the "S" piece by CNC With the same motion track, scan and measure a circle along the outer contour of the "S" piece, and at the same time, simultaneously collect the actual position of the tool point of the five-axis linkage CNC machine tool and the offset of the probe 19 probe 192;

本发明中五轴机床运行的检验程序为加工“S”件的标准程序中精加工程序中的如图2所示的一条闭合的与“S”件基座底平面平行的轨迹程序,并修改了主轴转速等辅助代码,保证测头19扫描测量时的进给速度和加工该“S”件时刀具的进给速度一致。在数控系统开始运行检验程序的,使用采样分析软件同步采集五轴机床的刀位点的实际位置与测头19的偏移量。In the present invention, the inspection program of the five-axis machine tool operation is a closed track program parallel to the bottom plane of the "S" part base as shown in Figure 2 in the finishing program in the standard program of processing "S" parts, and modify Auxiliary codes such as spindle speed are added to ensure that the feed speed of the probe 19 during scanning measurement is consistent with the feed speed of the tool when processing the "S" piece. When the numerical control system starts to run the inspection program, use the sampling analysis software to synchronously collect the actual position of the tool position point of the five-axis machine tool and the offset of the probe 19 .

本发明中使用的采样分析软件具有数据采集、数据保存、数据处理、数据分析等功能。将采样分析软件安装在PC机上,数控系统与PC机用网线连通,并设置IP地址例如,通过通信协议设置界面等,建立数控系统与分析软件的正确连接。The sampling analysis software used in the present invention has functions such as data collection, data storage, data processing, and data analysis. Install the sampling analysis software on the PC, connect the CNC system and the PC with a network cable, and set the IP address, for example, through the communication protocol setting interface, etc., to establish the correct connection between the CNC system and the analysis software.

3、把同步采集来的数据通过数据处理还原成工件坐标系下的理论刀位轨迹63,并通过理论刀位轨迹63和测头19探针192偏移数据获得实际刀位轨迹63,从而获得理论刀位轨迹63和实际刀位轨迹63的误差,该误差即为五轴联动数控机床的动态误差。3. Restore the synchronously collected data to the theoretical tool position trajectory 63 under the workpiece coordinate system through data processing, and obtain the actual tool position trajectory 63 through the theoretical tool position trajectory 63 and the offset data of the probe 19 probe 192, thereby obtaining The error between the theoretical tool position trajectory 63 and the actual tool position trajectory 63 is the dynamic error of the five-axis linkage CNC machine tool.

本发明实时采集检验过程中的机床指令位置和测头19探针192偏移的数据,采集结束后将数据保存到本地。该软件可以将采集的机床坐标系下的机床指令位置数据和测头19坐标系下的探针192偏移数据还原成工件坐标系下的机床指令刀轨和加上测头19偏移数据的实际刀轨。通过机床指令刀轨和实际刀轨的对比,发现扫描测量“S”件时有一些地方测头19的探针192没有碰到“S”件,对于这样的地方就需要采用局部扫描测量或者触碰的方式再一次检验测量,如果发现已经扫描测量过的地方已经不满足动态精度的要求,就可以终止进一步的检验测量,直到把“S”件一条闭合的曲线轨迹上的误差都测量出来。整个检验过程只需要一到两个小时,大大缩短了检验时间,节约了资源成本。The present invention collects the machine tool instruction position and the data of the offset of the measuring head 19 and probe 192 in real time during the inspection process, and saves the data locally after the collection is completed. This software can restore the collected machine tool position data in the machine tool coordinate system and the probe 192 offset data in the probe 19 coordinate system to the machine tool command path in the workpiece coordinate system plus the probe 19 offset data. Actual toolpath. Through the comparison of the machine tool instruction tool path and the actual tool path, it is found that the probe 192 of the probe 19 does not touch the "S" part in some places when scanning and measuring the "S" part. For such places, it is necessary to use partial scanning measurement or touch Check the measurement again by touching. If it is found that the place that has been scanned and measured does not meet the requirements of dynamic accuracy, further inspection and measurement can be terminated until the error on a closed curve track of the "S" part is measured. The entire inspection process only takes one to two hours, which greatly shortens the inspection time and saves resource costs.

另外,为了使本发明的思想更加清楚,本发明还提供了一种动态误差检验系统,图2为本实施方式的数控机床的动态误差检验系统结构示意图。如图2所示,动态误差检验系统包括数据处理装置1和数控机床2,上述数据处理装置1与上述数控机床2通信连接。上述通信连接3可以包括但不限于是无线或有线网络连接、局域网连接、数据线连接、蓝牙等连接方式。例如,通过设置IP地址、通过通信协议设置界面等,建立上述数据处理装置1与上述数控机床2之间的正确连接。In addition, in order to make the idea of the present invention clearer, the present invention also provides a dynamic error checking system. FIG. 2 is a schematic structural diagram of the dynamic error checking system of the numerical control machine tool in this embodiment. As shown in FIG. 2 , the dynamic error checking system includes a data processing device 1 and a numerically controlled machine tool 2 , and the data processing device 1 is connected to the numerically controlled machine tool 2 by communication. The above communication connection 3 may include but not limited to wireless or wired network connection, local area network connection, data line connection, bluetooth and other connection methods. For example, by setting an IP address, setting an interface through a communication protocol, etc., a correct connection between the above-mentioned data processing device 1 and the above-mentioned numerically controlled machine tool 2 is established.

上述数据处理装置1可以是个人电脑(PC机),安装有采样分析软件,该采样分析软件具有数据采集、数据保存、数据处理、数据分析等功能。上述数据处理装置1从上述数控机床2获取数据,并用上述采样分析软件对所采集的数据进行数据处理和分析。The above-mentioned data processing device 1 can be a personal computer (PC), equipped with sampling analysis software, which has functions such as data collection, data storage, data processing, and data analysis. The above-mentioned data processing device 1 acquires data from the above-mentioned numerical control machine tool 2, and uses the above-mentioned sampling analysis software to perform data processing and analysis on the collected data.

上述数控机床2包括数控装置11、伺服驱动装置12、信号监控采集装置18、测头19以及主轴20等,上述数控机床2的数控装置11、伺服驱动装置12和信号监控采集装置18之间可以通过总线27和28进行相互通信连接。其中,上述数控装置11为数控机床的五轴联动数控系统,控制上述数控机床2的相关部件的运行;上述伺服驱动装置12用于接收上述信号监控采集装置18的数字量信号,以及接收外部编码器(未图示)的反馈信号,并输出模拟量信号来控制上述主轴20的伺服电机的运动;上述信号监控采集装置18连接着各种压力、位置、温度、电压等传感设备,主要用于读写传感器传输的数字量和/或模拟量信号,并通过AD/DA转换完成传感器和上述伺服驱装置12及传感器和上述信号监控采集装置18的输入输出模块之间的数据通讯传输;上述测头19被安装在上述主轴20上,用于采集上述主轴的运行数据和上述测头19自身运行数据,并将所采集的上述数据传送给上述信号监控采集装置18。Above-mentioned numerical control machine tool 2 comprises numerical control device 11, servo drive device 12, signal monitoring and acquisition device 18, measuring head 19 and main shaft 20 etc., can be Mutual communication connections are made via buses 27 and 28 . Wherein, the above-mentioned numerical control device 11 is a five-axis linkage numerical control system of a numerical control machine tool, which controls the operation of the relevant components of the above-mentioned numerical control machine tool 2; (not shown) feedback signal, and output analog signal to control the movement of the servo motor of the above-mentioned main shaft 20; the above-mentioned signal monitoring and acquisition device 18 is connected with various pressure, position, temperature, voltage and other sensing equipment, mainly used Read and write the digital and/or analog signal transmitted by the sensor, and complete the data communication transmission between the sensor and the above-mentioned servo drive device 12 and the input and output modules of the sensor and the above-mentioned signal monitoring and acquisition device 18 through AD/DA conversion; The measuring head 19 is installed on the above-mentioned main shaft 20 for collecting the running data of the above-mentioned main shaft and the running data of the above-mentioned measuring head 19 itself, and transmitting the collected above-mentioned data to the above-mentioned signal monitoring and collecting device 18 .

上述数控机床2还可以包括电源26,用于给上述数控装置11及上述信号监控采集装置18的输入输出模块供电。The numerical control machine tool 2 may further include a power supply 26 for supplying power to the input and output modules of the numerical control device 11 and the signal monitoring and acquisition device 18 .

在上述实施方式中,优选地,上述数控机床2为五轴联动数控机床,还可以包括伺服驱动装置13~17和轴(A、C、X、Y、Z)21~25。上述伺服驱动装置13~17用于接收上述信号监控采集装置18的数字量信号,以及接收外部编码器(未图示)的反馈信号,并输出模拟量信号来控制上述主轴21~25的伺服电机的运动;上述信号监控采集装置18通过AD/DA转换完成传感器和上述伺服驱装置13~17及传感器和上述信号监控采集装置18的输入输出模块之间的数据通讯传输。In the above embodiment, preferably, the above-mentioned CNC machine tool 2 is a five-axis linkage CNC machine tool, and may also include servo drive devices 13-17 and axes (A, C, X, Y, Z) 21-25. The above-mentioned servo drive devices 13-17 are used to receive the digital signal of the above-mentioned signal monitoring and acquisition device 18, and receive the feedback signal of an external encoder (not shown), and output an analog signal to control the servo motors of the above-mentioned main shafts 21-25 The above-mentioned signal monitoring and collecting device 18 completes the data communication transmission between the sensor and the above-mentioned servo drive devices 13-17 and the input and output modules of the sensor and the above-mentioned signal monitoring and collecting device 18 through AD/DA conversion.

在上述实施方式中,优选地,上述信号监控采集装置18为基于STM32的模拟量高速数据采集I/O模块,更优选地,为HIO-1000和/或HIO-1000PULSE信号监控采集模块。In the above embodiment, preferably, the signal monitoring and acquisition device 18 is an STM32-based analog high-speed data acquisition I/O module, more preferably, a HIO-1000 and/or HIO-1000PULSE signal monitoring and acquisition module.

在上述实施方式中,优选地,上述总线27和28为NCUC-BUS总线。NCUC-BUS总线是一种华中数控等数控厂家联合制定的标准化、开放式的数据总线,主要用于数控机床各串联设备间的数字通信NCUC-BUS总线将各模块串接起来实现各模块之间的信号传递。In the above embodiment, preferably, the above buses 27 and 28 are NCUC-BUS buses. The NCUC-BUS bus is a standardized and open data bus jointly developed by Huazhong CNC and other CNC manufacturers. It is mainly used for digital communication between the serial devices of the CNC machine tool. The NCUC-BUS bus connects the modules in series to achieve signal transmission.

在上述实施方式中,优选地,上述电源26为UPS电源模块,能够提供断电UPS功能,使断电保存、断电回退变得轻松。In the above embodiment, preferably, the power supply 26 is a UPS power supply module, which can provide a power-off UPS function and make power-off storage and power-off rollback easier.

在上述实施方式中,优选地,上述测头19为三维扫描式测头,更优选地,上述测头19为Renishaw SP2-1测头,该Renishaw SP2-1测头的探针在空间三维方向上都有一定量程,探针每个方向的移动都会有正余弦模拟量信号的输出。In the above embodiment, preferably, the above-mentioned probe 19 is a three-dimensional scanning probe, more preferably, the above-mentioned probe 19 is a Renishaw SP2-1 probe, and the probe of the Renishaw SP2-1 probe is in the three-dimensional direction of space There is a certain range on the probe, and the movement of the probe in each direction will have a sine and cosine analog signal output.

在上述实施方式中,优选地,在上述数控装置11中根据上述测头19的量程配制了上述测头19超过量程保护软件模块,当上述测头19的位移超过量程(超程)时发出控制信号,控制上述数控机床2的伺服驱动装置、伺服电机或轴等相应部件的运行,防止上述测头19损坏或者机器故障。更优选地,还在上述数控装置11中根据上述测头19的量程配制了主轴锁死机制,当上述测头19的位移超过量程(超程)时发出控制信号,控制上述数控机床2锁死上述主轴20的运行,防止上述测头19损坏或者机器故障。In the above-mentioned embodiment, preferably, in the above-mentioned numerical control device 11, according to the measuring range of the above-mentioned measuring head 19, the above-mentioned measuring head 19 exceeds the range protection software module, and when the displacement of the above-mentioned measuring head 19 exceeds the measuring range (overtravel), control is issued. signal to control the operation of corresponding components such as the servo drive device, servo motor or shaft of the above-mentioned CNC machine tool 2, and prevent the above-mentioned probe 19 from being damaged or machine failure. More preferably, a spindle locking mechanism is also prepared in the above-mentioned numerical control device 11 according to the measuring range of the above-mentioned measuring head 19, and when the displacement of the above-mentioned measuring head 19 exceeds the measuring range (overtravel), a control signal is sent to control the locking of the above-mentioned numerically controlled machine tool 2 The operation of the above-mentioned spindle 20 prevents the damage of the above-mentioned probe 19 or machine failure.

图3为本实施方式的数据处理装置的结构框图。如图3所示,数据处理装置1可以由个人电脑(PC)等构成,主要由包括CPU、ROM和RAM等组成数据处理控制器31、显示器32和键盘33。数据处理控制器31主要由CPU31a、ROM31b、RAM31c、硬盘31d、读取装置31e、输出输入接口31f、通信接口31g和数据输出接口31h构成。CPU31a、ROM31b、RAM31c、硬盘31d、读取装置31e、输出输入接口31f、通信接口31g和数据输出接口31h通过总线31i相互连接,可以互相收发控制信号和控制计算数据等。显示器32用于显示分析结果和/或相应工件的还原后的轨迹图等。FIG. 3 is a block diagram showing the configuration of the data processing device of the present embodiment. As shown in FIG. 3 , the data processing device 1 can be composed of a personal computer (PC), etc., and mainly consists of a data processing controller 31 , a display 32 and a keyboard 33 including a CPU, ROM and RAM. The data processing controller 31 is mainly composed of a CPU 31a, a ROM 31b, a RAM 31c, a hard disk 31d, a reading device 31e, an input/output interface 31f, a communication interface 31g, and a data output interface 31h. CPU31a, ROM31b, RAM31c, hard disk 31d, reading device 31e, I/O interface 31f, communication interface 31g and data output interface 31h are connected to each other through bus 31i, and can send and receive control signals and control calculation data etc. to each other. The display 32 is used to display the analysis results and/or the restored trajectory diagram of the corresponding workpiece, and the like.

CPU31a可以执行存储在ROM31b的计算机程序和读到RAM31c中的计算机程序。CPU31a can execute the computer program stored in ROM31b and the computer program read into RAM31c.

ROM31b由只读存储器、PROM、EPROM、EEPROM等构成,存储由CPU31a执行的计算机程序及其所用数据等。RAM31c由SRAM或DRAM等构成,用于读取存储在ROM301b和硬盘31d的计算机程序。RAM31c还可以作为CPU31a执行这些计算机程序时的工作空间。The ROM 31b is composed of a read-only memory, PROM, EPROM, EEPROM, etc., and stores computer programs executed by the CPU 31a, data used therein, and the like. RAM31c is comprised with SRAM, DRAM, etc., and reads the computer program stored in ROM301b and hard disk 31d. RAM31c can also be used as a work space when CPU31a executes these computer programs.

硬盘31d储存有操作系统和应用程序等供CPU31a执行用的各种计算机程序及其执行该计算机程序所用的数据。本实施方式中的采样分析软件7a也储存在此硬盘31d中。The hard disk 31d stores various computer programs for the CPU 31a to execute, such as an operating system and application programs, and data for executing the computer programs. The sampling analysis software 7a in this embodiment is also stored in this hard disk 31d.

读取装置31e由软驱、CD-ROM驱动器或DVD-ROM驱动器等构成,可读取存储于便携型存储介质7的计算机程序或数据。便携型存储介质7存储有采样分析软件7a,计算机(数据处理装置)1可从该便携型存储介质7读取采样分析软件7a,将其装入硬盘31d。The reading device 31e is constituted by a floppy drive, a CD-ROM drive, a DVD-ROM drive, etc., and can read computer programs and data stored in the portable storage medium 7 . The sampling analysis software 7a is stored in the portable storage medium 7, and the computer (data processing device) 1 can read the sampling analysis software 7a from the portable storage medium 7 and load it into the hard disk 31d.

上述采样分析软件7a不仅可由便携型存储介质7提供,也可以通过电子通信线路从该电子通信线路(不论有线、无线)连接的、可与计算机(数据处理装置)1通信的外部机器上下载。比如,上述采样分析软件7a存储于网络服务器的硬盘中,计算机(数据处理装置)1可访问此服务器,下载该采样分析软件7a,装入硬盘31d。The above-mentioned sampling analysis software 7a can not only be provided by the portable storage medium 7, but also can be downloaded from an external machine connected to the electronic communication line (whether wired or wireless) and capable of communicating with the computer (data processing device) 1 through the electronic communication line. For example, the sampling analysis software 7a is stored in the hard disk of the network server, and the computer (data processing device) 1 can access the server, download the sampling analysis software 7a, and load it into the hard disk 31d.

硬盘31d装有比如美国微软公司生产的Windows(注册商标)等提供图形用户界面的操作系统。在以下说明中,本实施方式的采样分析软件7a均在上述操作系统上执行。The hard disk 31d is equipped with an operating system providing a graphical user interface such as Windows (registered trademark) produced by Microsoft Corporation of the United States. In the following description, the sampling analysis software 7a of this embodiment is executed on the above-mentioned operating system.

输出输入接口31f由比如USB、IEEE1394、RS-232C等串行接口、SCSI、IDE、IEEE1284等并行接口和由D/A转换器和A/D转换器等组成的模拟信号接口构成。输出输入接口31f接键盘33,用户可以用键盘33直接向计算机(数据处理装置)1输入数据。The input/output interface 31f includes serial interfaces such as USB, IEEE1394, and RS-232C, parallel interfaces such as SCSI, IDE, and IEEE1284, and analog signal interfaces including D/A converters and A/D converters. The input/output interface 31f is connected to the keyboard 33, and the user can use the keyboard 33 to directly input data to the computer (data processing device) 1 .

通信接口31g可以是比如Ethernet(以太网,注册商标)接口。计算机(数据处理装置)1通过该通信接口31g可以使用一定的通信协议与上述数控机床2之间传送数据。The communication interface 31g may be, for example, an Ethernet (Ethernet, registered trademark) interface. The computer (data processing device) 1 can use a certain communication protocol to transmit data with the above-mentioned numerically controlled machine tool 2 through the communication interface 31g.

数据输出接口31h与由LCD或CRT等构成的显示器32连接,将与从CPU31a接收的相应工件还原后的轨迹数据输出到显示器32。因此,显示器32可以按照输入的相应工件的还原后的轨迹数据显示相应工件还原后的轨迹。The data output interface 31h is connected to a display 32 composed of an LCD or a CRT, and outputs to the display 32 trajectory data restored to a corresponding workpiece received from the CPU 31a. Therefore, the display 32 can display the restored trajectory of the corresponding workpiece according to the input restored trajectory data of the corresponding workpiece.

图4为本实施方式的测头的结构示意图。如图4所示,上述测头9包括测头本体191和探针192。上述测头本体191具有运动子系统、测量子系统、超程保护单元等部分(未图示)。其中,上述超程保护单元能在上述测头19的位移超过量程(超程)时发出超程信号,并将上述超程信号发送至上述数控装置11,由上述数控装置11基于所接收到的上述超程信号,发出超程控制信号,以控制上述数控机床2的伺服驱动装置、伺服电机或轴等相应部件的运行,防止上述测头19损坏或者机器故障。FIG. 4 is a schematic structural diagram of the measuring head in this embodiment. As shown in FIG. 4 , the above-mentioned probe 9 includes a probe body 191 and a probe 192 . The measuring head body 191 has parts (not shown) such as a motion subsystem, a measurement subsystem, and an overtravel protection unit. Wherein, the above-mentioned over-travel protection unit can send an over-travel signal when the displacement of the above-mentioned probe 19 exceeds the range (over-travel), and send the above-mentioned over-travel signal to the above-mentioned numerical control device 11, and the above-mentioned numerical control device 11 is based on the received The above-mentioned overtravel signal sends an overtravel control signal to control the operation of corresponding components such as the servo drive device, servo motor or shaft of the above-mentioned CNC machine tool 2, and prevent the above-mentioned measuring head 19 from being damaged or machine failure.

对于不同重量(例如0~10g)的探针192来说,上述测头19每个轴的量程都为定值。但是,不同的安装方式,量程又会有所不同。For probes 192 with different weights (for example, 0-10 g), the measuring range of each axis of the measuring head 19 is constant. However, different installation methods have different measuring ranges.

为了防止上述测头19损坏或者机器故障,可以设置超程的临界条件,当量程达到上述超程临界条件时,上述超程保护单元发出超程报警信号,以提醒用户采取必要措施,防止上述测头19损坏或者机器故障。In order to prevent damage to the above-mentioned measuring head 19 or machine failure, a critical condition for overtravel can be set. When the measuring range reaches the above-mentioned critical condition for overtravel, the above-mentioned overtravel protection unit will send an overtravel alarm signal to remind the user to take necessary measures to prevent the above-mentioned measurement. The head 19 is damaged or the machine malfunctions.

图5为本实施方式的数控机床的动态误差检验流程图。如图5所示,将上述测头19安装在上述数控机床2的主轴20上,并把工件60安装在上述数控机床2的工作台(未图示)上(步骤S1)。其中,上述工件60是已经经过上述数控机床2加工完成并满足设定精度要求。FIG. 5 is a flow chart of dynamic error checking of the numerically controlled machine tool in this embodiment. As shown in FIG. 5, the probe 19 is mounted on the spindle 20 of the CNC machine tool 2, and the workpiece 60 is mounted on a table (not shown) of the CNC machine tool 2 (step S1). Wherein, the above-mentioned workpiece 60 has been processed by the above-mentioned numerical control machine tool 2 and meets the set precision requirements.

在本发明中,可以使用的“S”形检验试件60(即“S”件)(参见图6)。上述“S”件60通过数控加工形成,其由一个呈“S”形状的直纹面等厚缘条61和一个矩形基座62组合而成,分别在两个不同平面内生成的两条“S”形曲线在基座平面的投影互相交叉,并具有在交汇处转换变化弯曲形成的开、闭角形态,所述直纹面与基座平面夹角角度沿其“S”线的运动轨迹呈非均匀变化走向。In the present invention, an "S"-shaped test piece 60 (ie, an "S" piece) may be used (see FIG. 6). The above-mentioned "S" piece 60 is formed by numerical control machining. It is composed of an "S"-shaped ruled surface equal-thickness edge strip 61 and a rectangular base 62. Two "S" pieces formed in two different planes respectively The projections of S"-shaped curves on the base plane intersect each other, and have open and closed angle forms formed by changing and bending at the intersection. The angle between the ruled surface and the base plane is along the trajectory of the "S" line It shows a non-uniform change trend.

返回图5,用上述测头19的探针192扫描测量上述工件60,并同步采集相关数据(步骤S2)。Returning to FIG. 5 , use the probe 192 of the measuring head 19 to scan and measure the workpiece 60 and collect relevant data synchronously (step S2 ).

具体地,上述数控装置11运行检验程序控制上述伺服驱动装置12驱动上述主轴20的伺服电机,将上述测头19的探针192先贴合上述工件的加工面,然后以与数控加工上述工件时相同的进给速度和与数据加工上述工件时其中一刀具轨迹相同的运动轨迹,沿上述工件的外轮廓扫描测量一周圈,与此同时,同步采集上述数控机床2的刀位点的实际位置以及上述测头19探针192的偏移量。优选地,上述检验程序为G代码。Specifically, the above-mentioned numerical control device 11 runs the inspection program to control the above-mentioned servo drive device 12 to drive the servo motor of the above-mentioned main shaft 20, and the probe 192 of the above-mentioned measuring head 19 is first attached to the processing surface of the above-mentioned workpiece, and then the same as when the numerical control is processing the above-mentioned workpiece. The same feed speed and the same motion track as one of the tool tracks when data processing the above-mentioned workpiece, scan and measure a circle along the outer contour of the above-mentioned workpiece, and at the same time, synchronously collect the actual position of the tool position point of the above-mentioned CNC machine tool 2 and The offset of the probe 19 probe 192 mentioned above. Preferably, the above inspection program is a G code.

在本发明中,使用“S”件60时,如图7所示,将上述测头19的探针192先贴合上述“S”件60的直纹加工面,然后以与数控加工上述“S”件60时相同的进给速度和与数据加工上述“S”件60时其中一刀具轨迹相同的运动轨迹63,沿上述“S”件60的外轮廓扫描测量一周圈,与此同时,同步采集上述数控机床2的刀位点的实际位置以及上述测头19探针192的偏移量。In the present invention, when using the "S" piece 60, as shown in FIG. The same feed rate during the S" piece 60 and the same motion trajectory 63 as one of the tool tracks during the data processing of the above-mentioned "S" piece 60, scan and measure a circle along the outer contour of the above-mentioned "S" piece 60, and at the same time, Synchronously collect the actual position of the tool point of the CNC machine tool 2 and the offset of the probe 192 of the measuring head 19 .

如图2所示,上述测头19经数据连接线连接到上述信号监控采集装置18,上述信号监控采集装置18再和上述数控装置11相连。上述测头19输出的信号是正余弦模拟信号,需要经过上述信号监控采集装置18进行模数转换,把模拟信号转换成数字信号由上述总线27传送给上述数控装置11。As shown in FIG. 2 , the above-mentioned measuring head 19 is connected to the above-mentioned signal monitoring and collecting device 18 through a data connection line, and the above-mentioned signal monitoring and collecting device 18 is connected to the above-mentioned numerical control device 11 . The signal output by the measuring head 19 is a sine-cosine analog signal, which needs to be converted from analog to digital by the signal monitoring and collecting device 18 , and the analog signal is converted into a digital signal and transmitted to the numerical control device 11 by the bus 27 .

在本发明中,优选地,上述数控机床2的数控装置11运行的检验程序为加工“S”件60的标准程序中的精加工程序中的如图7所示的一条闭合的与“S”件60的基座底平面平行的轨迹63的程序,并修改了上述主轴20转速等辅助代码,能够保证上述测头19扫描测量时的进给速度与加工该“S”件60时刀具的进给速度一致。在上述数控装置11开始运行检验程序时,使用上述采样分析软件同步采集上述数控机床2的刀位点的实际位置与上述测头19的偏移量。In the present invention, preferably, the inspection program operated by the numerical control device 11 of the above-mentioned numerical control machine tool 2 is a closed and "S" as shown in Figure 7 in the finishing program in the standard program for processing the "S" piece 60 The program of the trajectory 63 parallel to the bottom plane of the base of the part 60, and the auxiliary codes such as the rotation speed of the above-mentioned spindle 20, can ensure that the feed speed of the above-mentioned probe 19 during scanning measurement is the same as that of the cutting tool when the "S" part 60 is processed. Give speed consistent. When the above-mentioned numerical control device 11 starts to run the inspection program, the above-mentioned sampling analysis software is used to synchronously collect the offset between the actual position of the tool position point of the above-mentioned numerical control machine tool 2 and the above-mentioned probe 19 .

返回图5,上述数据处理装置1从上述数控机床2采集与上述数控机床2的刀位点的实际位置和上述测头19探针192的偏移量相关的数据,运行上述采样分析软件对上述数据进行处理,得到上述数控机床2的动态误差(步骤S3)。Returning to Fig. 5, the above-mentioned data processing device 1 collects from the above-mentioned CNC machine tool 2 data related to the actual position of the tool position point of the above-mentioned CNC machine tool 2 and the offset of the above-mentioned measuring head 19 probe 192, and runs the above-mentioned sampling analysis software to analyze the above-mentioned The data is processed to obtain the dynamic error of the CNC machine tool 2 (step S3).

具体地,上述数据处理装置1运行上述采样分析软件,从上述数控装置11实时采集检验过程中的与上述数控机床2的刀位点的实际位置和上述测头19探针192的偏移量相关的数据。在采集结束后,上述数据处理装置1将上述数据保存到本地。同时,上述数据处理装置1运行上述采样分析软件,把同步采集来的在机床坐标系下的与上述数控机床2的刀位点的实际位置相关的数据和在上述测头19坐标系下的与上述探针192的偏移量相关的数据通过数据处理还原成上述工件坐标系下的理论刀位轨迹,并基于上述理论刀位轨迹和上述测头19的探针192的偏移量数据获得实际刀位轨迹63,从而获得理论刀位轨迹和实际刀位轨迹的误差,该误差即为上述数控机床2的动态误差。Specifically, the above-mentioned data processing device 1 runs the above-mentioned sampling analysis software, and collects from the above-mentioned numerical control device 11 in real time during the inspection process related to the actual position of the tool position point of the above-mentioned numerical control machine tool 2 and the offset of the above-mentioned probe 19 probe 192 The data. After the collection is completed, the above-mentioned data processing device 1 saves the above-mentioned data locally. At the same time, the above-mentioned data processing device 1 operates the above-mentioned sampling analysis software, and combines the data related to the actual position of the tool position point of the above-mentioned numerically controlled machine tool 2 under the machine tool coordinate system that is collected synchronously with the data related to the actual position of the tool point point of the above-mentioned probe 19 under the above-mentioned probe 19 coordinate system. The data related to the offset of the probe 192 is restored to the theoretical tool position trajectory under the workpiece coordinate system through data processing, and based on the theoretical tool position trajectory and the offset data of the probe 192 of the probe 19, the actual Tool position trajectory 63, so as to obtain the error between the theoretical tool position trajectory and the actual tool position trajectory, which is the dynamic error of the above-mentioned CNC machine tool 2.

在上述实施方式中,优选地,通过将上述理论刀位轨迹加上上述测头19的探针192的偏移量数据以获得上述实际刀位轨迹63。In the above-mentioned embodiment, preferably, the above-mentioned actual tool-position trajectory 63 is obtained by adding the above-mentioned theoretical tool-position trajectory to the offset data of the probe 192 of the measuring head 19 .

在本发明中,通过理论刀位轨迹和实际刀位轨迹的对比,发现扫描测量上述工件时有一些地方上述测头19的探针192没有碰到上述工件,对于这样的地方就需要采用局部扫描测量或者触碰的方式再一次检验测量,如果发现已经扫描测量过的地方已经不满足动态精度的要求,就可以终止进一步的检验测量,直到把上述工件一条闭合的曲线轨迹上的误差都测量出来。整个检验过程只需要一到两个小时,大大缩短了检验时间,节约了资源成本。In the present invention, by comparing the theoretical tool position trajectory with the actual tool position trajectory, it is found that the probe 192 of the above-mentioned measuring head 19 does not touch the above-mentioned workpiece in some places when scanning and measuring the above-mentioned workpiece. For such places, local scanning is required. Check and measure again by measuring or touching. If it is found that the place that has been scanned and measured does not meet the requirements of dynamic accuracy, further inspection and measurement can be terminated until the error on a closed curved track of the above-mentioned workpiece is measured. . The entire inspection process only takes one to two hours, which greatly shortens the inspection time and saves resource costs.

本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, All should be included within the protection scope of the present invention.

Claims (31)

1.一种数控机床的动态误差检验方法,包括:1. A dynamic error checking method of a numerically controlled machine tool, comprising: 数据采集步骤,从数控机床获取与所述数控机床的刀位点的实际位置相关的第一数据和与测头的探针的偏移量相关的第二数据;The data acquisition step is to obtain from the CNC machine tool first data related to the actual position of the tool point of the CNC machine tool and second data related to the offset of the probe of the measuring head; 数据处理步骤,对所述第一数据和所述第二数据进行处理,将所述第一数据和所述第二数据还原成工件坐标系下的理论刀位轨迹,并基于所述理论刀位轨迹和所述第二数据获得实际刀位轨迹;A data processing step, processing the first data and the second data, restoring the first data and the second data to a theoretical tool position trajectory in the workpiece coordinate system, and based on the theoretical tool position track and the second data to obtain the actual tool position track; 分析步骤,通过比较所述理论刀位轨迹和所述实际刀位轨迹,得到所述理论刀位轨迹和所述实际刀位轨迹之间的误差,获得所述数控机床的动态误差。The analysis step is to obtain the error between the theoretical tool position trajectory and the actual tool position trajectory by comparing the theoretical tool position trajectory with the actual tool position trajectory, and obtain the dynamic error of the CNC machine tool. 2.根据权利要求1所述的动态误差检验方法,其特征在于,2. dynamic error checking method according to claim 1, is characterized in that, 所述第一数据通过沿已经数控加工好的工件的外轮廓进行扫描测量而获得。The first data is obtained by scanning and measuring along the outer contour of the CNC machined workpiece. 3.根据权利要求2所述的动态误差检验方法,其特征在于,3. dynamic error checking method according to claim 2, is characterized in that, 以与数控加工所述工件时相同的进给速度和与加工时的刀具轨迹相同的运动轨迹对所述工件的外轮廓进行扫描测量。The outer contour of the workpiece is scanned and measured at the same feed speed and the same motion trajectory as the tool trajectory during machining. 4.根据权利要求3所述的动态误差检验方法,其特征在于,4. dynamic error checking method according to claim 3, is characterized in that, 所述工件是“S”件,所述刀具轨迹是所述“S”件精加工中的一条与所述“S”件的基座底面平行的闭合的刀具轨迹。The workpiece is an "S" piece, and the tool path is a closed tool path parallel to the bottom surface of the base of the "S" piece during finishing of the "S" piece. 5.根据权利要求4所述的动态误差检验方法,其特征在于,在对所述工件的外轮廓进行扫描测量时,当出现所述“S”件的直纹面上未扫描到的部位时,则用所述测头的探针对该部位进行局部扫描测量,或者用所述测头的探针触碰该部位进行一次检验测量。5. The dynamic error inspection method according to claim 4, characterized in that, when the outer contour of the workpiece is scanned and measured, when there is an unscanned position on the ruled surface of the "S" piece , then use the probe of the measuring head to perform partial scanning measurement on the part, or touch the position with the probe of the measuring head to perform a test measurement. 6.根据权利要求5所述的动态误差检验方法,其特征在于,当发现扫描测量过的部位已经不满足数控机床的动态精度的要求时,则终止对其它未扫描部位的进一步检验测量。6. The dynamic error checking method according to claim 5, characterized in that, when it is found that the scanned and measured position does not meet the requirements of the dynamic accuracy of the numerical control machine tool, then the further checking and measuring of other unscanned positions is terminated. 7.根据权利要求1~6任意一项所述的动态误差检验方法,其特征在于,所述实际刀位轨迹通过将所述理论刀位轨迹加上所述测头的探针的偏移量数据而获得。7. The dynamic error checking method according to any one of claims 1 to 6, wherein the actual tool position trajectory is obtained by adding the theoretical tool position trajectory to the offset of the probe of the measuring head data obtained. 8.根据权利要求1~6任意一项所述的动态误差检验方法,其特征在于,所述第一数据为在所述数控机床坐标系下的与所述数控机床的刀位点的实际位置相关的数据;所述第二数据为在所述测头坐标系下的与所述探针的偏移量相关的数据。8. The dynamic error checking method according to any one of claims 1 to 6, wherein the first data is the actual position of the tool position point of the numerically controlled machine tool under the coordinate system of the numerically controlled machine tool Related data; the second data is data related to the offset of the probe in the probe coordinate system. 9.一种数控机床的动态误差检验装置,包括:9. A dynamic error checking device for a numerically controlled machine tool, comprising: 显示器;monitor; 处理器,能够进行以下处理:Processor capable of the following processing: 从数控机床获取与所述数控机床的刀位点的实际位置相关的第一数据和与测头的探针的偏移量相关的第二数据;Obtaining from the CNC machine tool first data related to the actual position of the tool point of the CNC machine tool and second data related to the offset of the probe of the measuring head; 对所述第一数据和所述第二数据进行处理,将所述第一数据和所述第二数据还原成工件坐标系下的理论刀位轨迹,并基于所述理论刀位轨迹和所述第二数据获得实际刀位轨迹;Processing the first data and the second data, restoring the first data and the second data to a theoretical tool position trajectory in the workpiece coordinate system, and based on the theoretical tool position trajectory and the The second data obtains the actual tool position trajectory; 通过比较所述理论刀位轨迹和所述实际刀位轨迹,得到所述理论刀位轨迹和所述实际刀位轨迹之间的误差,获得所述数控机床的动态误差。By comparing the theoretical tool position trajectory and the actual tool position trajectory, the error between the theoretical tool position trajectory and the actual tool position trajectory is obtained, and the dynamic error of the numerical control machine tool is obtained. 10.根据权利要求9所述的动态误差检验装置,其特征在于,10. The dynamic error checking device according to claim 9, characterized in that, 所述第一数据通过沿已经数控加工好的工件的外轮廓进行扫描测量而获得。The first data is obtained by scanning and measuring along the outer contour of the CNC machined workpiece. 11.根据权利要求10所述的动态误差检验装置,其特征在于,11. The dynamic error checking device according to claim 10, characterized in that, 以与数控加工所述工件时相同的进给速度和与加工时的刀具轨迹相同的运动轨迹对所述工件的外轮廓进行扫描测量。The outer contour of the workpiece is scanned and measured at the same feed speed and the same motion trajectory as the tool trajectory during machining. 12.根据权利要求9~11所述的动态误差检验装置,其特征在于,所述实际刀位轨迹通过将所述理论刀位轨迹加上所述测头的探针的偏移量数据而获得。12. The dynamic error inspection device according to claims 9-11, characterized in that the actual tool position trajectory is obtained by adding the theoretical tool position trajectory to the offset data of the probe of the measuring head . 13.根据权利要求9~11任意一项所述的动态误差检验方法,其特征在于,所述第一数据为在数控机床坐标系下的与所述数控机床的刀位点的实际位置相关的数据;所述第二数据为在测头坐标系下的与所述探针的偏移量相关的数据。13. The dynamic error checking method according to any one of claims 9 to 11, wherein the first data is related to the actual position of the tool position point of the numerically controlled machine tool under the coordinate system of the numerically controlled machine tool data; the second data is data related to the offset of the probe in the probe coordinate system. 14.一种能够用于动态误差检验的数控机床,包括:数控装置、伺服驱动装置、信号监控采集装置、测头以及主轴;14. A numerical control machine tool that can be used for dynamic error inspection, including: numerical control device, servo drive device, signal monitoring and acquisition device, probe and spindle; 所述数控装置,用于控制所述数控机床的相关部件的运行;The numerical control device is used to control the operation of related components of the numerical control machine tool; 所述信号监控采集装置,连接着传感设备,用于读写传感器传输的数字量和/或模拟量信号;The signal monitoring and acquisition device is connected to the sensing equipment, and is used for reading and writing digital and/or analog signals transmitted by the sensor; 所述伺服驱动装置用于接收所述信号监控采集装置的所述数字量信号,并输出所述模拟量信号来控制所述主轴的伺服电机的运动;The servo drive device is used to receive the digital signal from the signal monitoring and acquisition device, and output the analog signal to control the movement of the servo motor of the main shaft; 所述测头被安装在所述主轴上,用于采集所述主轴的运行数据和所述测头自身运行数据,并将所采集的数据传送给所述信号监控采集装置。The measuring head is installed on the main shaft to collect the running data of the main shaft and the running data of the measuring head itself, and transmit the collected data to the signal monitoring and collecting device. 15.根据权利要求14所述的数控机床,还包括:UPS电源,用于给所述数控装置和所述述信号监控采集装置的输入输出模块供电。15. The numerical control machine tool according to claim 14, further comprising: a UPS power supply for supplying power to the input and output modules of the numerical control device and the signal monitoring and acquisition device. 16.根据权利要求14所述的数控机床,其特征在于,所述信号监控采集装置为基于STM32的模拟量高速数据采集I/O模块。16. The numerical control machine tool according to claim 14, wherein the signal monitoring and acquisition device is an analog high-speed data acquisition I/O module based on STM32. 17.根据权利要求14所述的数控机床,其特征在于,所述测头为三维扫描式测头,所述测头的探针在空间三维方向上都有一定量程,所述探针每个方向的移动都会有正余弦模拟量信号的输出。17. The numerically controlled machine tool according to claim 14, wherein the probe is a three-dimensional scanning probe, the probes of the probe have a certain range in the three-dimensional direction of space, each of the probes The direction of movement will have the output of sine and cosine analog signals. 18.根据权利要求14所述的数控机床,其特征在于,所述信号监控采集装置通过AD/DA转换完成所述传感器和所述伺服驱装置及所述传感器和所述信号监控采集装置的输入输出模块之间的数据通讯传输。18. The numerical control machine tool according to claim 14, characterized in that, the signal monitoring and acquisition device completes the input of the sensor and the servo driver and the sensor and the signal monitoring and acquisition device through AD/DA conversion Data communication transmission between output modules. 19.根据权利要求14~18任意一项所述的数控机床,其特征在于,所述数控装置配制了测头超过量程保护模块,当所述测头的量程达到超程临界条件时,所述数控装置发出超程控制信号,控制所述数控机床的相应部件的运行。19. The numerical control machine tool according to any one of claims 14-18, characterized in that, the numerical control device is configured with a measuring head over-range protection module, and when the measuring range of the measuring head reaches the overtravel critical condition, the The numerical control device sends an overtravel control signal to control the operation of the corresponding components of the numerical control machine tool. 20.根据权利要求19所述的数控机床,其特征在于,当所述测头的量程达到超程临界条件时,所述数控装置发出超程控制信号,控制所述数控机床锁死所述主轴的运行。20. The numerical control machine tool according to claim 19, characterized in that, when the measuring range of the probe reaches the overtravel critical condition, the numerical control device sends an overtravel control signal to control the numerical control machine tool to lock the spindle running. 21.根据权利要求14~18任意一项所述的数控机床,其特征在于,所述测头具有超程保护单元,当所述测头的量程达到超程临界条件时,发出超程报警信号。21. The numerically controlled machine tool according to any one of claims 14-18, characterized in that the measuring head has an overtravel protection unit, and when the measuring range of the measuring head reaches the overtravel critical condition, an overtravel alarm signal is sent . 22.一种能够用于动态误差检验的测头,包括:测头本体和探针;所述测头本体具有超程保护单元,能在所述测头的位移超程时发出超程信号。22. A measuring head that can be used for dynamic error inspection, comprising: a measuring head body and a probe; the measuring head body has an overtravel protection unit that can send an overtravel signal when the displacement of the measuring head exceeds the travel distance. 23.根据权利要求22所述的测头,其特征在于,所述探针能够通过贴合工件的加工面,对所述工件的外轮廓进行扫描测量,采集数控机床的刀位点的实际位置所述探针自身的偏移量。23. The measuring head according to claim 22, characterized in that, the probe can scan and measure the outer contour of the workpiece by attaching to the processed surface of the workpiece, and collect the actual position of the tool position point of the CNC machine tool The offset of the probe itself. 24.根据权利要求22所述的测头,其特征在于,所述超程保护单元在所述测头的量程达到超程临界条件时,发出超程报警信号。24. The probe according to claim 22, wherein the overtravel protection unit sends an overtravel alarm signal when the measuring range of the probe reaches a critical overtravel condition. 25.根据权利要求22~24任意一项所述的测头,其特征在于,所述超程信号被发送至数控机床的数控装置,所述数控装置基于所述超程信号发出超程控制信号,控制所述数控机床的相应部件的运行。25. The measuring head according to any one of claims 22-24, characterized in that, the overtravel signal is sent to a numerical control device of a numerically controlled machine tool, and the numerical control device sends an overtravel control signal based on the overtravel signal , to control the operation of corresponding components of the numerical control machine tool. 26.根据权利要求25所述的测头,其特征在于,所述数控装置基于所述超程信号发出超程控制信号,控制所述数控机床锁死所述主轴的运行。26. The probe according to claim 25, wherein the numerical control device sends an overtravel control signal based on the overtravel signal to control the numerical control machine tool to lock the operation of the spindle. 27.一种存储介质,其特征在于,存储使至少一个处理器能够执行以下操作的程序:27. A storage medium, storing a program enabling at least one processor to: 从数控机床获取与所述数控机床的刀位点的实际位置相关的第一数据和与测头的探针的偏移量相关的第二数据;Obtaining from the CNC machine tool first data related to the actual position of the tool point of the CNC machine tool and second data related to the offset of the probe of the measuring head; 对所述第一数据和所述第二数据进行处理,将所述第一数据和所述第二数据还原成工件坐标系下的理论刀位轨迹,并基于所述理论刀位轨迹和所述第二数据获得实际刀位轨迹;Processing the first data and the second data, restoring the first data and the second data to a theoretical tool position trajectory in the workpiece coordinate system, and based on the theoretical tool position trajectory and the The second data obtains the actual tool position trajectory; 通过比较所述理论刀位轨迹和所述实际刀位轨迹,得到所述理论刀位轨迹和所述实际刀位轨迹之间的误差,获得所述数控机床的动态误差。By comparing the theoretical tool position trajectory and the actual tool position trajectory, the error between the theoretical tool position trajectory and the actual tool position trajectory is obtained, and the dynamic error of the numerical control machine tool is obtained. 28.根据权利要求27所述的存储介质,其特征在于,28. The storage medium according to claim 27, wherein: 所述第一数据通过沿已经数控加工好的工件的外轮廓进行扫描测量而获得。The first data is obtained by scanning and measuring along the outer contour of the CNC machined workpiece. 29.根据权利要求27所述的存储介质,其特征在于,29. The storage medium according to claim 27, wherein, 以与数控加工所述工件时相同的进给速度和与加工时的刀具轨迹相同的运动轨迹对所述工件的外轮廓进行扫描测量。The outer contour of the workpiece is scanned and measured at the same feed speed and the same motion trajectory as the tool trajectory during machining. 30.根据权利要求27~29任意一项所述的存储介质,其特征在于,所述实际刀位轨迹通过将所述理论刀位轨迹加上所述测头的探针的偏移量数据而获得。30. The storage medium according to any one of claims 27-29, characterized in that the actual tool position trajectory is obtained by adding the theoretical tool position trajectory to the offset data of the probe of the measuring head get. 31.根据权利要求27~29任意一项所述的存储介质,其特征在于,所述第一数据为在数控机床坐标系下的与所述数控机床的刀位点的实际位置相关的数据;所述第二数据为在测头坐标系下的与所述探针的偏移量相关的数据。31. The storage medium according to any one of claims 27-29, wherein the first data is data related to the actual position of the tool point of the CNC machine tool under the coordinate system of the CNC machine tool; The second data is data related to the offset of the probe in the probe coordinate system.
CN201710438895.0A 2016-06-12 2017-06-12 A kind of the dynamic error method of inspection and device of numerically-controlled machine tool Active CN107085409B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016104076598 2016-06-12
CN201610407659.8A CN105945649A (en) 2016-06-12 2016-06-12 Five-axis computer numerical control machine tool dynamic error detection method based on S-shaped detection test piece

Publications (2)

Publication Number Publication Date
CN107085409A true CN107085409A (en) 2017-08-22
CN107085409B CN107085409B (en) 2019-05-21

Family

ID=56908801

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610407659.8A Pending CN105945649A (en) 2016-06-12 2016-06-12 Five-axis computer numerical control machine tool dynamic error detection method based on S-shaped detection test piece
CN201710438895.0A Active CN107085409B (en) 2016-06-12 2017-06-12 A kind of the dynamic error method of inspection and device of numerically-controlled machine tool

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610407659.8A Pending CN105945649A (en) 2016-06-12 2016-06-12 Five-axis computer numerical control machine tool dynamic error detection method based on S-shaped detection test piece

Country Status (1)

Country Link
CN (2) CN105945649A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388201A (en) * 2018-04-17 2018-08-10 潍坊学院 A kind of numerically-controlled machine tool detects early warning system and its operation method automatically
CN108942408A (en) * 2018-09-27 2018-12-07 上海气焊机厂有限公司 Part cutting deviation analytical equipment
CN109283890A (en) * 2018-11-20 2019-01-29 陕西海力特精密机械有限公司 Numerically-controlled machine tool supporting plate Thermal Error autocompensation installation
CN110531709A (en) * 2019-08-15 2019-12-03 华中科技大学 A kind of method of analytic surface part's machining errors and feed rate relationship
CN111506015A (en) * 2018-12-27 2020-08-07 施瓦本机床有限公司 Method for determining the shape of a machine tool surface
CN111949506A (en) * 2019-05-14 2020-11-17 大族激光科技产业集团股份有限公司 Teaching track modification method and device based on three-dimensional program backspacing function
CN112050710A (en) * 2019-06-05 2020-12-08 株式会社三丰 Coordinate measuring machine and computer-readable storage medium
CN116088426A (en) * 2023-04-07 2023-05-09 山东硕德博数控机械有限公司 Machining center motion positioning protection system with vision device
TWI842166B (en) * 2022-03-25 2024-05-11 日商芝浦機械股份有限公司 Processing method of workpiece and processing system of workpiece
CN118204908A (en) * 2024-05-21 2024-06-18 西安汉沣精密机械有限公司 Method for processing full closed loop of workpiece

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109648399B (en) * 2019-02-25 2019-08-13 南京航空航天大学 Five-axis linkage machine tools dynamic error and quiescent error method for comprehensive detection
CN110362038B (en) * 2019-07-24 2021-10-29 河南机电职业学院 Test piece for identifying online detection capability of five-axis linkage numerical control machine tool and detection method
CN110806722A (en) * 2019-10-23 2020-02-18 成都飞机工业(集团)有限责任公司 On-machine detection method for machining part of numerical control machine tool
CN110793794B (en) * 2019-11-04 2021-01-26 电子科技大学 Ball arm instrument-based dynamic precision detection method for five-axis machine tool in complex motion state
CN112894485A (en) * 2021-03-16 2021-06-04 北京发那科机电有限公司 Detection piece and precision detection method
CN113587870A (en) * 2021-07-30 2021-11-02 哈尔滨理工大学 Five-axis machine tool rotating shaft geometric error on-machine detection device and error field prediction method
CN118076461A (en) * 2021-11-16 2024-05-24 爱佩仪测量设备有限公司 Mountable scanning milling integrated system and using method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03131452A (en) * 1989-10-13 1991-06-05 Nachi Fujikoshi Corp Dynamic error of nc machine tool and automatic correcting method for working error
EP0431572A2 (en) * 1989-12-05 1991-06-12 Mitsubishi Denki Kabushiki Kaisha Numerical control device for a machine tool
CN101000285A (en) * 2007-01-16 2007-07-18 成都飞机工业(集团)有限责任公司 S-shaped test piece for integrated detecting precision of numerical control milling machine and its detecting method
CN102001021A (en) * 2010-10-22 2011-04-06 西南交通大学 Method for measuring geometric error parameter value of rotary oscillation axis of five-axis linkage numerical control machine tool
CN102501136A (en) * 2011-10-10 2012-06-20 华中科技大学 On-machine detection measuring head and detection system for numerical control machine tool

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03131452A (en) * 1989-10-13 1991-06-05 Nachi Fujikoshi Corp Dynamic error of nc machine tool and automatic correcting method for working error
EP0431572A2 (en) * 1989-12-05 1991-06-12 Mitsubishi Denki Kabushiki Kaisha Numerical control device for a machine tool
CN101000285A (en) * 2007-01-16 2007-07-18 成都飞机工业(集团)有限责任公司 S-shaped test piece for integrated detecting precision of numerical control milling machine and its detecting method
CN102001021A (en) * 2010-10-22 2011-04-06 西南交通大学 Method for measuring geometric error parameter value of rotary oscillation axis of five-axis linkage numerical control machine tool
CN102501136A (en) * 2011-10-10 2012-06-20 华中科技大学 On-machine detection measuring head and detection system for numerical control machine tool

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
乔立红: "《计算机辅助设计与制造》", 31 October 2014, 机械工业出版社 *
杨建国,等: "《数控机床误差实时补偿技术》", 31 March 2013, 机械工业出版社 *
虞钢,虞和济: "《集成化激光智能加工工程》", 31 January 2002, 冶金工业出版社 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388201A (en) * 2018-04-17 2018-08-10 潍坊学院 A kind of numerically-controlled machine tool detects early warning system and its operation method automatically
CN108388201B (en) * 2018-04-17 2020-12-22 潍坊学院 A CNC machine tool automatic detection and early warning system and its operation method
CN108942408A (en) * 2018-09-27 2018-12-07 上海气焊机厂有限公司 Part cutting deviation analytical equipment
CN109283890B (en) * 2018-11-20 2023-11-03 东莞市义信精密模具科技有限公司 Automatic thermal error compensation device for numerical control machine tool supporting plate
CN109283890A (en) * 2018-11-20 2019-01-29 陕西海力特精密机械有限公司 Numerically-controlled machine tool supporting plate Thermal Error autocompensation installation
CN111506015A (en) * 2018-12-27 2020-08-07 施瓦本机床有限公司 Method for determining the shape of a machine tool surface
CN111949506B (en) * 2019-05-14 2024-02-13 大族激光科技产业集团股份有限公司 Teaching track modification method and device based on three-dimensional program rollback function
CN111949506A (en) * 2019-05-14 2020-11-17 大族激光科技产业集团股份有限公司 Teaching track modification method and device based on three-dimensional program backspacing function
CN112050710A (en) * 2019-06-05 2020-12-08 株式会社三丰 Coordinate measuring machine and computer-readable storage medium
CN110531709A (en) * 2019-08-15 2019-12-03 华中科技大学 A kind of method of analytic surface part's machining errors and feed rate relationship
TWI842166B (en) * 2022-03-25 2024-05-11 日商芝浦機械股份有限公司 Processing method of workpiece and processing system of workpiece
CN116088426A (en) * 2023-04-07 2023-05-09 山东硕德博数控机械有限公司 Machining center motion positioning protection system with vision device
CN118204908A (en) * 2024-05-21 2024-06-18 西安汉沣精密机械有限公司 Method for processing full closed loop of workpiece

Also Published As

Publication number Publication date
CN107085409B (en) 2019-05-21
CN105945649A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN107085409A (en) A dynamic error checking method and device for a numerically controlled machine tool
CN105269404B (en) Numerically-controlled machine tool point of a knife dynamic characteristic accuracy detecting device and its method
CN102927952B (en) Method for detecting diameter of outer wall of tapered case of aviation engine on line
Ibaraki et al. Error calibration for five-axis machine tools by on-the-machine measurement using a touch-trigger probe
WO2021189298A1 (en) Swing head position error detection and identification method for ca double-swing-head five-axis numerically controlled machine tool
CN105479268A (en) RTCP (real-time transport control protocol) based geometrical error identification methods for swing shafts of five-axis numerical control machine tool
CN111487923A (en) Swing position error detection and identification method for CA double-swing five-axis numerical control machine tool
CN109794805A (en) A kind of cone hole machine bus deviation automatic detection device and its detection method
CN110539020A (en) A precision self-diagnosis method for a dual-five-axis mirror milling machine tool
CN102430961A (en) Free-form surface part processing system based on multi-sensor integrated measurement technology
CN104166373A (en) Online detecting method and system for numerical control machine tool machining error
CN204711699U (en) Digit Control Machine Tool point of a knife dynamic characteristic accuracy detecting device
TW201800178A (en) Five-axis machine tool error detection method in which a probe assembly including a standard sphere is installed on the five-axis machine tool to be measured and a probe is moved to contact the standard sphere and feeds a signal back
Xing et al. Comparison of direct and indirect methods for five-axis machine tools geometric error measurement
CN117681053A (en) Method, system, equipment and medium for detecting dynamic motion error of numerical control machine tool
CN106796095B (en) Method for operating a coordinate measuring device, coordinate measuring device and computer program
CN109202539B (en) Online detection method for composite material weak-rigidity special-shaped structure
CN101135899A (en) An online inspection system for precision CNC machine tools
Wozniak et al. Wireless communication influence on CNC machine tool probe metrological parameters
CN117348546B (en) A method for evaluating process quality of flexible production line
CN202656009U (en) Part processing accuracy online detection system facing numerically controlled lathe
US20240093987A1 (en) Calibration of a coordinate-measuring device
CN103759606B (en) Large-scale workpiece porous position degree detection system and detection method
Muelaner et al. Rapid machine tool verification
JP6933603B2 (en) Machine tool measurement capability evaluation method and program

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