[go: up one dir, main page]

CN115309107A - Automatic tool changing and compensation machining method, system, equipment and medium - Google Patents

Automatic tool changing and compensation machining method, system, equipment and medium Download PDF

Info

Publication number
CN115309107A
CN115309107A CN202211051075.3A CN202211051075A CN115309107A CN 115309107 A CN115309107 A CN 115309107A CN 202211051075 A CN202211051075 A CN 202211051075A CN 115309107 A CN115309107 A CN 115309107A
Authority
CN
China
Prior art keywords
tool
compensation
combination number
dynamic combination
service life
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
Application number
CN202211051075.3A
Other languages
Chinese (zh)
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.)
Shaanxi Fast Gear Co Ltd
Original Assignee
Shaanxi Fast Gear Co Ltd
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 Shaanxi Fast Gear Co Ltd filed Critical Shaanxi Fast Gear Co Ltd
Priority to CN202211051075.3A priority Critical patent/CN115309107A/en
Publication of CN115309107A publication Critical patent/CN115309107A/en
Pending legal-status Critical Current

Links

Images

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/406Numerical 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 monitoring or safety
    • G05B19/4065Monitoring tool breakage, life or condition
    • 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/36Nc in input of data, input key till input tape
    • G05B2219/36291Cutting, machining conditions by empirical equation, like tool life

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention provides an automatic tool changing and compensating processing method, system, equipment and medium, comprising the following steps: grouping and respectively numbering a plurality of cutters in the machine, recording the use times of the cutters, and forming a dynamic combination number; measuring the measured value of the size of the machined part through the measuring pin, if the measured value does not accord with the preset value, performing length compensation on the cutter, updating length compensation information into a corresponding cutter calibration system based on the dynamic combination number information, and machining the part again; if the size of the machined part meets the preset value, judging the service life of the corresponding cutter based on the combination number, if the service life exceeds a service life threshold value, replacing the cutter, and if not, continuously machining the next part by the cutter; according to the tool using method and device, the record of the use times and the compensation coefficient of the tool is continuously updated by establishing the dynamic combination number, the use condition of the specific tool can be accurately obtained in real time, the compensation can be accurately corresponding, high-precision machining of machined parts is achieved, and the production efficiency is improved.

Description

一种自动换刀和补偿加工方法、系统、设备及介质An automatic tool change and compensation processing method, system, equipment and medium

技术领域technical field

本发明属于车床加工技术领域,具体涉及一种自动换刀和补偿加工方法、系统、设备及介质。The invention belongs to the technical field of lathe processing, and in particular relates to an automatic tool changing and compensation processing method, system, equipment and medium.

背景技术Background technique

Fanuc系统TL寿命为系统自带的姊妹刀系统,可实现几个刀具归为一组,将刀塔上的刀具按照组进行寿命管理,车床测头是一种可记录各个运动轴当前位置的装置,以此来进行工件的尺寸测量并调整刀补,在实际的车床生产加工过程中,机组携带多种刀具,同时,多种刀具又设置有备用刀具,因而刀具数量较多,而在零件加工的过程中,由于在使用TL寿命时刀具位号和刀补位号一直在变,系统无法识别刀组中刀具的使用次数和磨损情况,进而加工出的零件精度不够,需要通过现场工作人员手动进行多次补偿和校准,无法对加工刀具的情况进行实时更新和校准。The TL life of the Fanuc system is the sister tool system that comes with the system, which can group several tools into one group, and manage the life of the tools on the turret according to the group. The lathe probe is a device that can record the current position of each axis of motion. , to measure the size of the workpiece and adjust the tool compensation. In the actual lathe production and processing process, the unit carries a variety of tools, and at the same time, a variety of tools are equipped with spare tools, so the number of tools is large. During the process, because the tool position number and tool compensation position number are constantly changing when using the TL life, the system cannot identify the number of times of use and wear of the tool in the tool group, and the precision of the processed parts is not enough, and the on-site staff needs to manually After multiple compensations and calibrations, it is impossible to update and calibrate the machining tool in real time.

发明内容Contents of the invention

针对现有技术中存在的问题,本发明提供一种自动换刀和补偿加工方法、系统、设备及介质,能够准确识别使用刀具的情况,提高生产效率。Aiming at the problems existing in the prior art, the present invention provides an automatic tool change and compensation processing method, system, equipment and medium, which can accurately identify the situation of using a tool and improve production efficiency.

本发明是通过以下技术方案来实现:The present invention is realized through the following technical solutions:

一种自动换刀和补偿加工方法,其特征在于,包括以下步骤:An automatic tool change and compensation processing method is characterized in that it comprises the following steps:

S1:对机内多个刀具分组并分别编号,记录刀具的使用次数,形成动态组合编号;S1: Group multiple tools in the machine and number them separately, record the number of times the tools are used, and form a dynamic combination number;

S2:通过测针测得加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;S2: The measured value of the processed part size is measured by the stylus. If it does not meet the preset value, the tool length compensation is performed, and the length compensation information is updated to the corresponding tool calibration system based on the dynamic combination number information, and the machining is performed again. Components;

S3:若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件。S3: If the size of the processed part meets the preset value, the service life of the corresponding tool is judged based on the combination number, and if it exceeds the service life threshold, it is replaced, otherwise the tool continues to process the next part.

进一步的,所述步骤S1中动态组合编号包括刀组号、刀具在刀组内的特定编号、以及累加或递减的使用次数编号。Further, the dynamic combination number in the step S1 includes the tool group number, the specific number of the tool in the tool group, and the accumulative or decremented number of usage times.

进一步的,所述步骤S1中优先采用使用次数较少的刀具。Further, in the step S1, the cutting tools with less usage times are preferentially used.

进一步的,所述步骤S1中基于待加工产品的加工量和材质,以及刀具磨损系数对所有刀具预设使用次数阈值。Further, in the step S1, based on the processing amount and material of the product to be processed, and the tool wear coefficient, a threshold value of the number of times of use is preset for all tools.

进一步的,所述步骤S2中基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统包括以下步骤:Further, updating the length compensation information to the corresponding tool calibration system based on the dynamic combination number information in the step S2 includes the following steps:

计算加工后零件尺寸的实测值与预设值的差值,根据动态组合编号信息中的使用次数得到补正系数;将差值和补正系数之积作为刀具的磨损补偿值。Calculate the difference between the measured value of the processed part size and the preset value, and obtain the correction coefficient according to the number of uses in the dynamic combination number information; use the product of the difference and the correction coefficient as the wear compensation value of the tool.

进一步的,所述步骤S2中不符合预设值包括两种情况,若加工后零件尺寸的实测值大于零件上差,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;Further, there are two situations in which the preset value is not met in the step S2. If the measured value of the part size after processing is greater than the upper difference of the part, the length compensation will be performed on the tool, and the length compensation information will be updated based on the dynamic combination number information to In the corresponding tool calibration system, the parts are processed again;

若加工后零件尺寸的实测值小于零件下差,则零件报废,并进行预警。If the measured value of the part size after processing is smaller than the part drop, the part will be scrapped and an early warning will be given.

进一步的,所述步骤S3中基于动态组合编号中使用次数判断是否超出使用寿命阈值,若无需更换新的刀具,则进行下一步骤,若需要更换新的刀具,且同组刀具内无备用刀具则发出预警。Further, in the step S3, it is judged whether the service life threshold is exceeded based on the number of times of use in the dynamic combination number. If there is no need to replace a new tool, proceed to the next step. If a new tool needs to be replaced, and there is no spare tool in the same group of tools A warning is issued.

一种自动换刀和补偿加工系统,包括:An automatic tool change and compensation machining system, including:

刀具编号模块:对机内多个刀具进行编号,记录刀具的使用次数,形成动态组合编号;Tool numbering module: number multiple tools in the machine, record the number of times the tool is used, and form a dynamic combination number;

刀具补偿模块:通过测针测加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;Tool compensation module: Measure the actual measured value of the processed part size by the stylus. If it does not meet the preset value, the tool length compensation will be performed, and the length compensation information will be updated to the corresponding tool calibration system based on the dynamic combination number information. processing parts;

刀具寿命判断模块:若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件。Tool life judgment module: If the size of the processed part meets the preset value, the service life of the corresponding tool is judged based on the combination number. If it exceeds the service life threshold, it is replaced, otherwise the tool continues to process the next part.

一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如一种自动换刀和补偿加工方法的步骤。A computer device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program, an automatic tool change and compensation machining method is realized A step of.

一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如一种自动换刀和补偿加工方法的步骤。A computer-readable storage medium, which stores a computer program, is characterized in that, when the computer program is executed by a processor, steps such as an automatic tool change and compensation processing method are realized.

与现有技术相比,本发明具有以下有益的技术效果:Compared with the prior art, the present invention has the following beneficial technical effects:

本发明提供一种自动换刀和补偿加工方法、系统、设备及介质,包括以下步骤:对机内多个刀具分组并分别编号,记录刀具的使用次数,形成动态组合编号;通过测针测得加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件;本申请通过建立动态组合编号对刀具的使用次数和补偿系数不断更新记录,能够实时准确的获取具体刀具的使用情况,进而能够准确地将补偿对应,实现对加工零件进行高精度加工,提高了生产效率。The invention provides an automatic tool change and compensation processing method, system, equipment and medium, comprising the following steps: grouping and numbering a plurality of tools in the machine, recording the number of times the tools are used, and forming a dynamic combination number; measuring with a stylus If the measured value of the part size after processing does not meet the preset value, the tool length compensation will be performed, and the length compensation information will be updated to the corresponding tool calibration system based on the dynamic combination number information, and the part will be processed again; if the part size after processing Conform to the preset value, judge the service life of the corresponding tool based on the combination number, if it exceeds the service life threshold, replace it, otherwise the tool will continue to process the next part; this application continuously adjusts the number of times of use and compensation coefficient of the tool by establishing a dynamic combination number By updating the records, the use of specific tools can be obtained accurately in real time, and then the compensation can be accurately matched to realize high-precision machining of the machined parts and improve production efficiency.

附图说明Description of drawings

图1为本发明一种自动换刀和补偿加工方法流程图;Fig. 1 is a kind of flow chart of automatic tool change and compensation processing method of the present invention;

图2为本发明刀具寿命判断流程图;Fig. 2 is a flow chart of tool life judgment in the present invention;

图3为本发明使用测针对加工后零件测量流程图。Fig. 3 is a flow chart of the invention using a stylus to measure a machined part.

具体实施方式Detailed ways

下面结合具体的实施例对本发明做进一步的详细说明,所述是对本发明的解释而不是限定。The present invention will be further described in detail below in conjunction with specific embodiments, which are explanations of the present invention rather than limitations.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

本发明提供一种自动换刀和补偿加工方法,如图1所示,包括以下步骤:The present invention provides an automatic tool change and compensation processing method, as shown in Figure 1, comprising the following steps:

S1:对机内多个刀具进行编号,记录刀具的使用次数,形成动态组合编号;具体的,机内的多个刀具包括不同种类的多个刀具,将相同种类的多个刀具设置为一个刀组;S1: Number multiple tools in the machine, record the number of times the tool is used, and form a dynamic combination number; specifically, the multiple tools in the machine include multiple tools of different types, and set multiple tools of the same type as one tool Group;

S2:通过测针测得加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;S2: The measured value of the processed part size is measured by the stylus. If it does not meet the preset value, the tool length compensation is performed, and the length compensation information is updated to the corresponding tool calibration system based on the dynamic combination number information, and the machining is performed again. Components;

S3:若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件。S3: If the size of the processed part meets the preset value, the service life of the corresponding tool is judged based on the combination number, and if it exceeds the service life threshold, it is replaced, otherwise the tool continues to process the next part.

优选的,本申请的刀具使用次数计算,基于TL寿命系统进行识别和计数,对加工后零件的检测基于侧头系统,本申请中基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中的程序编法为:Preferably, the calculation of tool usage times in this application is based on the TL life system for identification and counting, and the detection of processed parts is based on the side head system. In this application, the length compensation information is updated to the corresponding tool calibration system based on the dynamic combination number information The programming method in is:

#[2000+#4120/101]=#[2000+#4120/101]+#515*#800#[2000+#4120/101]=#[2000+#4120/101]+#515*#800

其中,#515为测量值与工件中差的差值,#800为补正系数;#4120为当前刀具的T代码信息,即动态组合编号,如果当前刀具为T0808则#4120输出值为808,从而#4120/101及为当前刀补的序号8,而系统中#2001到#2064分别代表1到64位到刀具X轴磨损补偿,故以上的刀具补正程序可以将需要加入到刀补值叠加到原刀具补正号上,以此为新的刀具磨耗补偿写入到系统中;由于在使用TL寿命时刀具位号和刀补位号一直在变,其可以保证不管TL寿命使用到哪个刀具都可以将刀补值补到正确到刀补号中。Among them, #515 is the difference between the measured value and the workpiece center difference, #800 is the correction coefficient; #4120 is the T code information of the current tool, that is, the dynamic combination number, if the current tool is T0808, the output value of #4120 is 808, so #4120/101 is the serial number 8 of the current tool compensation, and #2001 to #2064 in the system respectively represent 1 to 64 bits to the tool X-axis wear compensation, so the above tool compensation program can be added to the tool compensation value and superimposed on the Write the new tool wear compensation into the system on the original tool correction number; since the tool number and tool compensation number are always changing when the TL life is used, it can ensure that no matter which tool is used in the TL life Add the tool compensation value to the correct tool compensation number.

优选的,如图2所示,所述步骤S1中动态组合编号包括刀组号、刀具在刀组内的特定编号、以及累加或递减的使用次数编号;进一步的,所述步骤S1中优先采用使用次数较少的刀具;进一步的,所述步骤S1中基于待加工产品的加工量和材质,以及刀具磨损系数对所有刀具预设使用次数阈值,对于刀具的磨损系数本领域技术人员基于长期加工累计的经验可以得到;Preferably, as shown in Figure 2, the dynamic combination number in the step S1 includes the knife group number, the specific number of the tool in the knife group, and the number of accumulated or decremented use times; further, the step S1 is preferably used Tools with fewer usage times; further, in the step S1, based on the processing amount and material of the product to be processed, and the tool wear coefficient, the threshold value of the number of times of use is preset for all tools. For the wear coefficient of the tool, those skilled in the art based on long-term processing Accumulated experience can be obtained;

具体的,使用数控程序将刀信息录入系统中并定义刀具寿命,录入程序如下:Specifically, use the CNC program to input the tool information into the system and define the tool life. The input procedure is as follows:

O1002O1002

G10L03(开启可编程数据输入,输入数据到TL寿命,登陆时删除所有组)G10L03 (Enable programmable data input, input data to TL life, delete all groups when logging in)

P01L100(登陆到第一组,寿命为100,可以在TL寿命界面中选择加工次数或工时长来定义寿命阈值,本申请中为刀具加工次数)P01L100 (Log in to the first group, the life is 100, you can select the processing times or working hours in the TL life interface to define the life threshold, in this application, it is the tool processing times)

T0101T0101

T0202T0202

T0303T0303

G11(关闭可编程数据输入)G11 (close programmable data input)

M30M30

预设系统刀具为三个,其动态组合编号分别为T0101、T0202、T0303,利用此程序可将T0101、T0202、T0303录入到一个组中,且组内每个刀具的寿命预设为100;在实际加工时可以使用T0199来调用此组刀具,调用时会根据之前加工过的次数来调用刀具,优先使用T0101加工,如果加工循环次数大于100小于200时调用T0202,大于200小于300时调用T0303,如果大于300时则机床报警停止循环,此时工人将三个刀具换刀,并将TL寿命中的加工计数清零,之后便可继续启动,从而实现一个循环。There are three preset system tools, and their dynamic combination numbers are T0101, T0202, and T0303. Using this program, T0101, T0202, and T0303 can be entered into a group, and the life of each tool in the group is preset to 100; You can use T0199 to call this group of tools during actual processing. When calling, the tools will be called according to the number of times processed before. T0101 is used first for processing. If the number of processing cycles is greater than 100 but less than 200, call T0202, and when it is greater than 200 but less than 300, call T0303. If it is greater than 300, the machine tool will alarm and stop the cycle. At this time, the worker will change the three tools and clear the processing count in the TL life, and then continue to start, thus realizing a cycle.

优选的,如图3所示,所述步骤S2中基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统包括以下步骤:计算加工后零件尺寸的实测值与预设值的差值,根据动态组合编号信息中的使用次数得到补正系数;将差值和补正系数之积作为刀具的磨损补偿值。Preferably, as shown in FIG. 3 , updating the length compensation information to the corresponding tool calibration system based on the dynamic combination number information in the step S2 includes the following steps: calculating the difference between the measured value of the processed part size and the preset value, The correction coefficient is obtained according to the use times in the dynamic combination number information; the product of the difference value and the correction coefficient is used as the wear compensation value of the tool.

优选的,所述步骤S2中不符合预设值包括两种情况,若加工后零件尺寸的实测值大于零件上差,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;Preferably, the failure to meet the preset value in the step S2 includes two situations. If the measured value of the part size after processing is greater than the upper difference of the part, the length compensation is performed on the tool, and the length compensation information is updated based on the dynamic combination number information to In the corresponding tool calibration system, the parts are processed again;

若加工后零件尺寸的实测值小于零件下差,则零件报废,并进行预警。If the measured value of the part size after processing is smaller than the part drop, the part will be scrapped and an early warning will be given.

优选的,所述步骤S3中基于动态组合编号中使用次数判断是否超出使用寿命阈值,若无需更换新的刀具,则进行下一步骤,若需要更换新的刀具,且同组刀具内无备用刀具则发出预警。Preferably, in the step S3, it is judged whether the service life threshold is exceeded based on the number of times of use in the dynamic combination number. If there is no need to replace a new tool, proceed to the next step. If a new tool needs to be replaced, and there is no spare tool in the same group of tools A warning is issued.

一种自动换刀和补偿加工系统,包括:An automatic tool change and compensation machining system, including:

刀具编号模块:对机内多个刀具进行编号,记录刀具的使用次数,形成动态组合编号;Tool numbering module: number multiple tools in the machine, record the number of times the tool is used, and form a dynamic combination number;

刀具补偿模块:通过测针测加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;Tool compensation module: Measure the actual measured value of the processed part size by the stylus. If it does not meet the preset value, the tool length compensation will be performed, and the length compensation information will be updated to the corresponding tool calibration system based on the dynamic combination number information. processing parts;

刀具寿命判断模块:若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件。Tool life judgment module: If the size of the processed part meets the preset value, the service life of the corresponding tool is judged based on the combination number. If it exceeds the service life threshold, it is replaced, otherwise the tool continues to process the next part.

本发明再一个实施例中,提供了一种计算机设备,该计算机设备包括处理器以及存储器,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器用于执行所述计算机存储介质存储的程序指令。处理器可能是中央处理单元(CentralProcessing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital SignalProcessor、DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable GateArray,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等,其是终端的计算核心以及控制核心,其适于实现一条或一条以上指令,具体适于加载并执行计算机存储介质内一条或一条以上指令从而实现相应方法流程或相应功能;本发明实施例所述的处理器可以用于一种自动换刀和补偿加工方法的操作。In yet another embodiment of the present invention, a computer device is provided, the computer device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the computer The program instructions stored in the storage medium. The processor may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, specifically for Load and execute one or more instructions in the computer storage medium to realize the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of an automatic tool change and compensation processing method.

本发明再一个实施例中,本发明还提供了一种存储介质,具体为计算机可读存储介质(Memory),所述计算机可读存储介质是计算机设备中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机可读存储介质既可以包括计算机设备中的内置存储介质,当然也可以包括计算机设备所支持的扩展存储介质。计算机可读存储介质提供存储空间,该存储空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机可读存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。可由处理器加载并执行计算机可读存储介质中存放的一条或一条以上指令,以实现上述实施例中有关一种自动换刀和补偿加工方法的相应步骤。In yet another embodiment of the present invention, the present invention also provides a storage medium, specifically a computer-readable storage medium (Memory). The computer-readable storage medium is a memory device in a computer device for storing programs and data. . It can be understood that the computer-readable storage medium here may include a built-in storage medium in the computer device, and of course may also include an extended storage medium supported by the computer device. The computer-readable storage medium provides storage space, and the storage space stores the operating system of the terminal. Moreover, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. One or more instructions stored in the computer-readable storage medium can be loaded and executed by the processor, so as to realize the corresponding steps related to an automatic tool changing and compensation processing method in the above-mentioned embodiments.

本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it still The technical solutions described in the foregoing embodiments can be modified, or some or all of the technical features can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种自动换刀和补偿加工方法,其特征在于,包括以下步骤:1. An automatic tool change and compensation processing method, is characterized in that, comprises the following steps: S1:对机内多个刀具分组并分别编号,记录刀具的使用次数,形成动态组合编号;S1: Group multiple tools in the machine and number them separately, record the number of times the tools are used, and form a dynamic combination number; S2:通过测针测得加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;S2: The measured value of the processed part size is measured by the stylus. If it does not meet the preset value, the tool length compensation is performed, and the length compensation information is updated to the corresponding tool calibration system based on the dynamic combination number information, and the machining is performed again. Components; S3:若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件。S3: If the size of the processed part meets the preset value, the service life of the corresponding tool is judged based on the combination number, and if it exceeds the service life threshold, it is replaced, otherwise the tool continues to process the next part. 2.根据权利要求1所述一种自动换刀和补偿加工方法,其特征在于,所述步骤S1中动态组合编号包括刀组号、刀具在刀组内的特定编号、以及累加或递减的使用次数编号。2. An automatic tool change and compensation processing method according to claim 1, characterized in that the dynamic combination number in the step S1 includes the tool group number, the specific number of the tool in the tool group, and the use of accumulation or decrement Number of times. 3.根据权利要求1所述一种自动换刀和补偿加工方法,其特征在于,所述步骤S1中优先采用使用次数较少的刀具。3. An automatic tool change and compensation machining method according to claim 1, characterized in that, in the step S1, the tool with less usage times is preferentially used. 4.根据权利要求1所述一种自动换刀和补偿加工方法,其特征在于,所述步骤S1中基于待加工产品的加工量和材质,以及刀具磨损系数对所有刀具预设使用次数阈值。4. An automatic tool change and compensation processing method according to claim 1, characterized in that, in the step S1, a threshold value for the number of times of use of all tools is preset based on the processing amount and material of the product to be processed, and the tool wear coefficient. 5.根据权利要求1所述一种自动换刀和补偿加工方法,其特征在于,所述步骤S2中基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统包括以下步骤:5. An automatic tool change and compensation processing method according to claim 1, characterized in that, updating the length compensation information to the corresponding tool calibration system based on the dynamic combination number information in the step S2 comprises the following steps: 计算加工后零件尺寸的实测值与预设值的差值,根据动态组合编号信息中的使用次数得到补正系数;将差值和补正系数之积作为刀具的磨损补偿值。Calculate the difference between the measured value of the processed part size and the preset value, and obtain the correction coefficient according to the number of uses in the dynamic combination number information; use the product of the difference and the correction coefficient as the wear compensation value of the tool. 6.根据权利要求1所述一种自动换刀和补偿加工方法,其特征在于,所述步骤S2中不符合预设值包括两种情况,若加工后零件尺寸的实测值大于零件上差,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;6. An automatic tool change and compensation processing method according to claim 1, characterized in that, in the step S2, the failure to meet the preset value includes two situations, if the measured value of the part size after processing is greater than the upper difference of the part, Then perform length compensation on the tool, and update the length compensation information to the corresponding tool calibration system based on the dynamic combination number information, and process the part again; 若加工后零件尺寸的实测值小于零件下差,则零件报废,并进行预警。If the measured value of the part size after processing is smaller than the part drop, the part will be scrapped and an early warning will be given. 7.根据权利要求1所述一种自动换刀和补偿加工方法,其特征在于,所述步骤S3中基于动态组合编号中使用次数判断是否超出使用寿命阈值,若无需更换新的刀具,则进行下一步骤,若需要更换新的刀具,且同组刀具内无备用刀具则发出预警。7. An automatic tool change and compensation processing method according to claim 1, characterized in that, in the step S3, it is judged whether the service life threshold is exceeded based on the number of times used in the dynamic combination number, and if there is no need to replace a new tool, proceed In the next step, if a new tool needs to be replaced and there is no spare tool in the same group of tools, an early warning will be issued. 8.一种自动换刀和补偿加工系统,其特征在于,基于权利要求1-7所述任意项一种自动换刀和补偿加工方法,包括:8. An automatic tool change and compensation processing system, characterized in that, an automatic tool change and compensation processing method based on any of claims 1-7, comprising: 刀具编号模块:对机内多个刀具进行编号,记录刀具的使用次数,形成动态组合编号;Tool numbering module: number multiple tools in the machine, record the number of times the tool is used, and form a dynamic combination number; 刀具补偿模块:通过测针测加工后零件尺寸的实测值,若不符合预设值,则对刀具进行长度补偿,并基于动态组合编号信息将长度补偿信息更新到对应的刀具校准系统中,再次加工零件;Tool compensation module: Measure the actual measured value of the part size after processing by the stylus. If it does not meet the preset value, the tool length compensation will be performed, and the length compensation information will be updated to the corresponding tool calibration system based on the dynamic combination number information. processing parts; 刀具寿命判断模块:若加工后零件尺寸符合预设值,基于组合编号判断对应刀具使用寿命,若超出使用寿命阈值,则进行更换,否则该刀具继续加工下一零件。Tool life judgment module: If the size of the processed part meets the preset value, the service life of the corresponding tool is judged based on the combination number. If it exceeds the service life threshold, it is replaced, otherwise the tool continues to process the next part. 9.一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述一种自动换刀和补偿加工方法的步骤。9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the computer program, the computer program according to claim Steps in an automatic tool change and compensation processing method described in any one of 1 to 7. 10.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述一种自动换刀和补偿加工方法的步骤。10. A computer-readable storage medium, the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by a processor, the automatic Steps for tool change and offset machining methods.
CN202211051075.3A 2022-08-30 2022-08-30 Automatic tool changing and compensation machining method, system, equipment and medium Pending CN115309107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211051075.3A CN115309107A (en) 2022-08-30 2022-08-30 Automatic tool changing and compensation machining method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211051075.3A CN115309107A (en) 2022-08-30 2022-08-30 Automatic tool changing and compensation machining method, system, equipment and medium

Publications (1)

Publication Number Publication Date
CN115309107A true CN115309107A (en) 2022-11-08

Family

ID=83865086

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211051075.3A Pending CN115309107A (en) 2022-08-30 2022-08-30 Automatic tool changing and compensation machining method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN115309107A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115755766A (en) * 2022-11-16 2023-03-07 新代科技(苏州)有限公司 Group cutter function for machining center

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101670532A (en) * 2008-09-08 2010-03-17 鸿富锦精密工业(深圳)有限公司 Tool wear-compensating system and method
CN106111792A (en) * 2016-08-03 2016-11-16 江苏亚威机床股份有限公司 A kind of brick tower punch press bottom dead centre automatic compensating method
CN111113268A (en) * 2019-12-21 2020-05-08 福建省嘉泰智能装备有限公司 Cutter correction method and system for machine tool
CN112305992A (en) * 2020-10-24 2021-02-02 西安航天动力测控技术研究所 Unattended machining method of CNC machining equipment
CN113778017A (en) * 2021-09-17 2021-12-10 深圳模德宝科技有限公司 Tool life correction method, tool life correction device, computer device, and storage medium
CN114667202A (en) * 2019-10-24 2022-06-24 三菱电机株式会社 Numerical control device, machine learning device, and numerical control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101670532A (en) * 2008-09-08 2010-03-17 鸿富锦精密工业(深圳)有限公司 Tool wear-compensating system and method
CN106111792A (en) * 2016-08-03 2016-11-16 江苏亚威机床股份有限公司 A kind of brick tower punch press bottom dead centre automatic compensating method
CN114667202A (en) * 2019-10-24 2022-06-24 三菱电机株式会社 Numerical control device, machine learning device, and numerical control method
CN111113268A (en) * 2019-12-21 2020-05-08 福建省嘉泰智能装备有限公司 Cutter correction method and system for machine tool
CN112305992A (en) * 2020-10-24 2021-02-02 西安航天动力测控技术研究所 Unattended machining method of CNC machining equipment
CN113778017A (en) * 2021-09-17 2021-12-10 深圳模德宝科技有限公司 Tool life correction method, tool life correction device, computer device, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115755766A (en) * 2022-11-16 2023-03-07 新代科技(苏州)有限公司 Group cutter function for machining center

Similar Documents

Publication Publication Date Title
CN101670532B (en) Tool wear-compensating system and method
JP4441735B2 (en) Process monitoring method for cycle operation processing machine
US11774228B2 (en) Method and apparatus for testing workpieces
US11520307B2 (en) Tool management system of machine tool
US20200004221A1 (en) Method and system for tool life monitoring and management in a cnc environment
CN115309107A (en) Automatic tool changing and compensation machining method, system, equipment and medium
JP2018120347A (en) Data analysis apparatus and data analysis method
CN112824988A (en) Abnormality detection device, abnormality detection method, and program
CN114425643A (en) Method and device for automatically processing batch parts
KR20220066555A (en) Machine tool tool information management device and method
US20200117166A1 (en) Machining information recording device, machining information recording method and non-transitory computer readable medium recording program
US10862812B2 (en) Information processing apparatus, data management system, data management method, and non-transitory computer readable medium storing program
CN113778017A (en) Tool life correction method, tool life correction device, computer device, and storage medium
US6556879B1 (en) Numerical controlling unit using machining information
WO2017113318A1 (en) Automatic tool change method and numerically controlled machine tool
CN114995286A (en) Cutter load monitoring method and system and storage medium
CN111823056A (en) Workpiece on-line detection method and device and computer readable storage medium
EP3961322A1 (en) Cyber-physical system type machining system
CN111774929B (en) Tool wear compensation method, tool wear compensation device, computer device, and storage medium
JP6356787B2 (en) NC machine tool
JP2002307263A (en) Method for utilizing measuring result of processed work in nc machine tool
JP6901641B2 (en) Information processing equipment, information processing methods and programs, and machine tools
US8406911B2 (en) Implementing sequential segmented interleaving algorithm for enhanced process control
US11531320B2 (en) Numerical controller including reduced memory service life calculation unit, numerical control system, and non-transitory computer readable recording medium
JP2021103361A (en) Data collection device for manufacturing device

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