Nothing Special   »   [go: up one dir, main page]

CN118513907B - Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool - Google Patents

Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool Download PDF

Info

Publication number
CN118513907B
CN118513907B CN202411002804.5A CN202411002804A CN118513907B CN 118513907 B CN118513907 B CN 118513907B CN 202411002804 A CN202411002804 A CN 202411002804A CN 118513907 B CN118513907 B CN 118513907B
Authority
CN
China
Prior art keywords
tool
value
monitoring
self
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202411002804.5A
Other languages
Chinese (zh)
Other versions
CN118513907A (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.)
HANGZHOU DATIAN CNC MACHINE TOOL CO Ltd
Original Assignee
HANGZHOU DATIAN CNC MACHINE TOOL 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 HANGZHOU DATIAN CNC MACHINE TOOL CO Ltd filed Critical HANGZHOU DATIAN CNC MACHINE TOOL CO Ltd
Priority to CN202411002804.5A priority Critical patent/CN118513907B/en
Publication of CN118513907A publication Critical patent/CN118513907A/en
Application granted granted Critical
Publication of CN118513907B publication Critical patent/CN118513907B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • B23Q11/00Accessories fitted to machine tools for keeping tools or parts of the machine in good working condition or for cooling work; Safety devices specially combined with or arranged in, or specially adapted for use in connection with, machine tools
    • B23Q11/0078Safety devices protecting the operator, e.g. against accident or noise
    • B23Q11/0089Safety devices protecting the operator, e.g. against accident or noise actuating operator protecting means, e.g. closing a cover element, producing an alarm signal
    • 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/09Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool
    • B23Q17/0952Arrangements for observing, indicating or measuring on machine tools for indicating or measuring cutting pressure or for determining cutting-tool condition, e.g. cutting ability, load on tool during machining
    • B23Q17/0957Detection of tool breakage

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)

Abstract

本发明涉及一种机床钻孔刀具自学习自退刀的监测保护方法,所属加工中心机床技术领域,包括如下操作步骤:第一步:通过人机界面设置相关数据;第二步:通过首次自学习过程的相关逻辑运算获取刀具监测警告主轴负载率阀值变量H、刀具监测预警主轴负载率阀值变量K;第三步:通过设置程序M代码作为刀具保护监测功能的开启和关闭指令,实现对刀具保护的预警提醒、警告提示、安全退刀全程实时监测;第四步:系统给出预警提醒或做刀具保护安全退刀动作。防止发生刀具的烧刀或粘刀问题,防止刀具和工件的烧焊结问题,实现对钻孔过程的刀具保护,具有运行稳定性好、刀具使用寿命长和加工效率高的特点。The present invention relates to a monitoring and protection method for self-learning and self-retracting of a machine tool drilling tool, which belongs to the technical field of machining center machine tools, and includes the following operation steps: the first step: setting relevant data through a human-machine interface; the second step: obtaining a tool monitoring warning spindle load rate threshold variable H and a tool monitoring warning spindle load rate threshold variable K through relevant logical operations of the first self-learning process; the third step: by setting a program M code as the opening and closing instructions of the tool protection monitoring function, the early warning reminder, warning prompt, and safe retracting of the tool protection are realized in real time; the fourth step: the system gives an early warning reminder or performs a tool protection safe retracting action. Prevent the occurrence of tool burning or sticking problems, prevent the burning and welding problems of the tool and the workpiece, and realize tool protection in the drilling process, with the characteristics of good operation stability, long tool life and high processing efficiency.

Description

机床钻孔刀具自学习自退刀的监测保护方法Monitoring and protection method for self-learning and self-retracting of drilling tools in machine tools

技术领域Technical Field

本发明涉及加工中心机床技术领域,具体涉及一种机床钻孔刀具自学习自退刀的监测保护方法。The invention relates to the technical field of machining center machine tools, and in particular to a monitoring and protection method for self-learning and self-retracting of a drilling tool of a machine tool.

背景技术Background Art

数控机床在进行钻孔类金属加工切削过程中,特别是针对U钻刀具加工,经常遇到刀片崩刃破损的问题。当发生刀片崩刃的情况后,如果未被及时的发现并中止加工,会引发刀具和工件因高速摩擦产生高温而导致的烧刀或粘刀问题。发生刀具烧刀或粘刀问题后,刀具将很难或无法从工件中取出,严重的会导致工件和刀具的报废问题,给用户带来较为严重的经济损失。CNC machine tools often encounter blade chipping and breakage problems during drilling metal machining, especially for U-drill tool machining. When blade chipping occurs, if it is not discovered and machining is not stopped in time, it will cause the tool and workpiece to generate high temperatures due to high-speed friction, resulting in tool burning or tool sticking. When tool burning or tool sticking occurs, it will be difficult or impossible to remove the tool from the workpiece, and in severe cases, the workpiece and tool will be scrapped, causing serious economic losses to the user.

发明内容Summary of the invention

本发明主要解决机床钻孔过程监测到刀具发生崩刃的异常状态后,防止发生刀具的烧刀或粘刀问题,防止刀具和工件的烧焊结问题,实现对钻孔过程的刀具保护,其具有运行稳定性好、刀具使用寿命长和加工效率高的特点。The present invention mainly solves the problem of tool burning or sticking after the abnormal state of tool chipping is detected during the drilling process of the machine tool, and prevents the problem of tool burning or welding between the tool and the workpiece, thereby realizing tool protection in the drilling process. It has the characteristics of good operating stability, long tool life and high processing efficiency.

本发明提供一种机床钻孔刀具自学习自退刀的监测保护方法,通过相关数据算法和机床控制,实现对数控机床钻孔刀具保护监测,当切削过程监测到刀具崩刃等异常状态时,实现及时的预警提醒和警告提示,并控制机床使刀具能反向自动抬刀至机床安全位置,并执行其他刀具保护动作后停机后停机,避免刀具和工件进一步受损,降低用户的经济损失。The present invention provides a monitoring and protection method for the self-learning and self-retracting drilling tools of machine tools. Through relevant data algorithms and machine tool control, the protection monitoring of the drilling tools of CNC machine tools is realized. When abnormal conditions such as tool chipping are detected during the cutting process, timely early warning reminders and warning prompts are realized, and the machine tool is controlled so that the tool can automatically lift the tool in the reverse direction to a safe position of the machine tool, and the machine tool is shut down after executing other tool protection actions, so as to avoid further damage to the tool and the workpiece, and reduce the economic loss of the user.

本发明的上述技术问题主要是通过下述技术方案得以解决的:The above technical problems of the present invention are mainly solved by the following technical solutions:

一种机床钻孔刀具自学习自退刀的监测保护方法,包括如下操作步骤:A monitoring and protection method for self-learning and self-retracting of a machine tool drilling tool comprises the following steps:

第一步:通过人机界面设置刀具监测当前有效组号变量值A、刀具异常监测灵敏度变量值B、刀具监测警告Z轴负载率阀值C、刀具监测Z轴有效行程值D、自学习数据采集次数值E、刀具监测预警功能开启G、刀具保护Z轴抬刀位移模式L、刀具保护Z轴抬刀增量位移距离值M、刀具保护Z轴抬刀位移速度值N。Step 1: Set the tool monitoring current valid group number variable value A, tool abnormality monitoring sensitivity variable value B, tool monitoring warning Z-axis load rate threshold C, tool monitoring Z-axis effective stroke value D, self-learning data collection times value E, tool monitoring early warning function enable G, tool protection Z-axis tool lift displacement mode L, tool protection Z-axis tool lift incremental displacement distance value M, and tool protection Z-axis tool lift displacement speed value N through the human-machine interface.

第二步:通过首次自学习过程的相关逻辑运算获取刀具监测警告主轴负载率阀值变量H、刀具监测预警主轴负载率阀值变量K。Step 2: Obtain the tool monitoring warning spindle load rate threshold variable H and the tool monitoring warning spindle load rate threshold variable K through the relevant logical operations of the first self-learning process.

第三步:通过设置程序M代码作为刀具保护监测功能的开启和关闭指令,实现对刀具保护的预警提醒、警告提示、安全退刀全程实时监测。Step 3: By setting the program M code as the opening and closing instructions of the tool protection monitoring function, early warning reminders, warning prompts, and safe tool retraction can be monitored in real time throughout the tool protection process.

第四步:当主轴电机负载率大于刀具监测预警主轴负载率阀值变量K时,系统给出预警提醒,机床继续加工使用;当主轴电机负载率大于刀具监测警告主轴负载率阀值变量H时,系统给出警告提示并控制机床Z轴做刀具保护安全退刀动作;当Z轴电机负载率大于刀具监测警告Z轴负载率阀值C时,系统给出警告提示并控制机床Z轴做刀具保护安全退刀动作。Step 4: When the spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable K, the system gives a warning reminder and the machine tool continues to use for processing; when the spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable H, the system gives a warning prompt and controls the machine tool Z axis to perform a tool protection safety retract action; when the Z-axis motor load rate is greater than the tool monitoring warning Z-axis load rate threshold C, the system gives a warning prompt and controls the machine tool Z axis to perform a tool protection safety retract action.

数控系统配置主轴电机负载率计算器,PMC可编程序控制器和相关参数数据设置的人机界面,通过PMC程序实时感知检测主轴电机和Z轴电机的输出负载率数据及其变化幅度。The CNC system is equipped with a spindle motor load rate calculator, a PMC programmable controller and a human-machine interface for setting relevant parameter data. The output load rate data and the variation range of the spindle motor and Z-axis motor are sensed and detected in real time through the PMC program.

作为优选,刀具保护监测功能开启的程序指令为M200,关闭指令为M201;机床Z轴按照刀具保护Z轴抬刀位移速度值N的设定速度,反向移动抬刀至安全位置后停机处理,同时关闭主轴旋转动作,关闭机床冷却水泵动作,触发LED报警灯和警报器进行声光警示提醒;Z轴反向退刀至安全位置提供两种控制模式选择,依据人机界面的刀具保护Z轴抬刀位移模式L设置确定,当设置为增量模式时,Z轴反向抬刀至刀具保护Z轴抬刀增量位移距离值M位置处,当设置为绝对模式时,Z轴反向抬刀至机床Z轴机械零点位置处。Preferably, the program instruction for turning on the tool protection monitoring function is M200, and the instruction for turning it off is M201; the machine tool Z axis moves in the opposite direction to a safe position at the set speed of the tool protection Z axis tool lifting displacement speed value N, and then stops for processing. At the same time, the spindle rotation action is turned off, the machine tool cooling water pump action is turned off, and the LED alarm light and the alarm are triggered for sound and light warning reminders; two control modes are provided for the Z axis to retract the tool in the opposite direction to a safe position, which are determined by the tool protection Z axis tool lifting displacement mode L setting of the human-machine interface. When set to incremental mode, the Z axis lifts the tool in the opposite direction to the tool protection Z axis tool lifting incremental displacement distance value M. When set to absolute mode, the Z axis lifts the tool in the opposite direction to the mechanical zero position of the machine tool Z axis.

作为优选,刀具监测当前有效组号变量值A,设置范围:1~9,现可提供9组组号设置,根据用户需求增加组号设计,且每组组号对应一个不同的刀具监测警告主轴电机负载率阀值寄存器,寄存器内的数据值可手动设置和通过自学习自动设置。当开启刀具保护监测时,会自动读取刀具监测当前有效组号变量值A设定值对应寄存器的数据,等于赋值给刀具监测警告主轴负载率阀值变量H;刀具监测当前有效组号变量值A提供手动和自动设置两种模式,其中自动设置时与主轴刀具刀号相关联,刀具号T01时设置A为1、T02设置A为2,以此类推T09设置A为9。As a preferred option, the tool monitoring current effective group number variable value A has a setting range of 1 to 9. Currently, 9 groups of group number settings can be provided. Group number design is increased according to user needs, and each group number corresponds to a different tool monitoring warning spindle motor load rate threshold register. The data value in the register can be set manually and automatically through self-learning. When the tool protection monitoring is turned on, the data of the register corresponding to the setting value of the tool monitoring current effective group number variable value A will be automatically read, which is equal to the value assigned to the tool monitoring warning spindle load rate threshold variable H; the tool monitoring current effective group number variable value A provides two modes of manual and automatic setting. The automatic setting is associated with the spindle tool number. When the tool number is T01, A is set to 1, T02 is set to 2, and so on, T09 is set to 9.

作为优选,刀具异常监测灵敏度变量值B,设置范围10~30;B值参与刀具监测警告延迟时间值T1的运算,T1的单位为秒,T1 =刀具异常监测灵敏度变量值B × 0.1。若当前主轴电机负载率大于刀具监测警告主轴负载率阀值变量H时,且该状态保持T1时间后仍然有效的,立即触发系统警告提醒并控制机床Z轴做刀具保护安全退刀动作;B值越小,刀具监测灵敏度越高,在异常触发警告响应越快,B值越大,刀具监测灵敏度越低,对异常触发警告响应越迟缓;刀具异常监测灵敏度变量值B的需根据不同规格刀具进行设置。As a preferred option, the tool abnormality monitoring sensitivity variable value B has a setting range of 10 to 30; the B value participates in the calculation of the tool monitoring warning delay time value T1, and the unit of T1 is seconds, T1 = tool abnormality monitoring sensitivity variable value B × 0.1. If the current spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable H, and this state remains valid after T1 time, the system warning reminder is immediately triggered and the machine tool Z axis is controlled to perform tool protection safety retraction action; the smaller the B value, the higher the tool monitoring sensitivity, and the faster the response to the abnormal trigger warning; the larger the B value, the lower the tool monitoring sensitivity, and the slower the response to the abnormal trigger warning; the tool abnormality monitoring sensitivity variable value B needs to be set according to different specifications of tools.

作为优选,刀具监测警告Z轴负载率阀值C,设置范围0~100;若当前Z轴电机负载率大于C时,且该状态保持T1时间后仍然有效的,立即触发系统警告提醒并控制机床Z轴做刀具保护安全退刀动作。C设置等于0时,关闭刀具保护监测与Z轴电机负载率的关联,C设置大于0时,开启刀具保护监测与Z轴电机负载率的关联,刀具监测警告Z轴负载率阀值C根据不同规格刀具进行设置。As a preferred option, the tool monitoring warning Z-axis load rate threshold C is set in the range of 0 to 100; if the current Z-axis motor load rate is greater than C, and this state remains valid after T1 time, the system warning reminder is immediately triggered and the machine tool Z-axis is controlled to perform tool protection safety retract action. When C is set to 0, the association between tool protection monitoring and Z-axis motor load rate is turned off. When C is set to greater than 0, the association between tool protection monitoring and Z-axis motor load rate is turned on. The tool monitoring warning Z-axis load rate threshold C is set according to different specifications of tools.

作为优选,刀具监测Z轴有效行程值D,单位:毫米,设置范围-300~0;D设置等于0时,关闭刀具保护监测与D的关联,D设置大于0时,当开启刀具保护监测功能后,钻孔加工Z轴进给到刀具监测Z轴有效行程值D时,自动关闭刀具保护监测功能,D值的设置根据用户现场加工需求开启或关闭。Preferably, the tool monitors the effective stroke value D of the Z axis, unit: mm, setting range -300 to 0; when D is set equal to 0, the association between tool protection monitoring and D is turned off, and when D is set greater than 0, when the tool protection monitoring function is turned on, when the drilling processing Z axis feeds to the tool monitoring Z axis effective stroke value D, the tool protection monitoring function is automatically turned off. The setting of D value is turned on or off according to the user's on-site processing requirements.

作为优选,自学习数据采集次数值E,设置范围10~100;自学习数据采集的过程如下:启动机床加工程序进行工件钻孔切削,通过人机界面开启自学习数据采集有效,读取一次当前主轴电机负载率值并等于赋值给运算寄存器Ⅰ,执行运算寄存器Ⅰ内数值加5-固定裕度值,将寄存器Ⅰ的数值等于赋值给刀具监测当前有效组号变量值A对应的寄存器,同时自学习采集计数累加值F加1,间隔等待3秒时间后,再次读取一次当前主轴电机负载率值,执行运算寄存器Ⅰ内数值加5,判断寄存器Ⅰ值与刀具监测当前有效组号变量值A对应的寄存器值的大小比较,若寄存器Ⅰ值大于刀具监测当前有效组号变量值A对应的寄存器值时,将寄存器Ⅰ的数值等于赋值给刀具监测当前有效组号变量值A对应的寄存器,同时自学习采集计数累加值F加1,反复执行上述动作,直至F值等于自学习数据采集次数值E,关闭自学习数据采集,通过数据自学习获得钻孔过程主轴电机的最大负载率值加5-固定裕度值,最终将结果等于赋值给刀具监测警告主轴负载率阀值变量H。自学习过程一般在首次加工时开启使用即可,如果更换刀具规格类型或改变钻孔加工工艺时,都需要重新执行一次自学习数据采集。As a preferred embodiment, the self-learning data collection times value E is set in the range of 10 to 100; the process of self-learning data collection is as follows: start the machine tool processing program to perform workpiece drilling and cutting, turn on the self-learning data collection through the human-machine interface, read the current spindle motor load rate value once and assign it to the operation register I, execute the operation register I plus 5-fixed margin value, and assign the value of register I to the register corresponding to the current effective group number variable value A of the tool monitoring, and at the same time, the self-learning collection count cumulative value F is increased by 1, and after an interval of 3 seconds, the current spindle motor load rate value is read again, and the value in the operation register I is increased by 5 , judge the size of register I value and the register value corresponding to the current effective group number variable value A of tool monitoring. If the register I value is greater than the register value corresponding to the current effective group number variable value A of tool monitoring, the value of register I is equal to the register corresponding to the current effective group number variable value A of tool monitoring, and the self-learning acquisition count accumulative value F is added by 1. Repeat the above actions until the F value is equal to the self-learning data acquisition times E, turn off the self-learning data acquisition, obtain the maximum load rate value of the spindle motor in the drilling process plus 5-fixed margin value through data self-learning, and finally assign the result to the tool monitoring warning spindle load rate threshold variable H. The self-learning process is generally turned on and used during the first processing. If the tool specification type is changed or the drilling processing process is changed, self-learning data acquisition needs to be performed again.

作为优选,刀具监测预警功能开启G,设置范围0~1,G值为1时开启刀具监测预警功能,为0时关闭刀具监测预警功能;当G值为1时,刀具监测预警主轴负载率阀值变量K内数据生效,当钻孔过程主轴电机负载率大于K值时,触发系统预警提醒信息,但机床可继续加工执行,目的用于向用户提前给出刀具监测异常的预警提示,以便用户可及时停机检查刀具破损情况。刀具监测预警主轴负载率阀值变量K的数据通过自学习数据采集运算获得,采集运算过程如下:刀具监测预警功能开启G设置为1,启动机床加工程序进行工件钻孔切削,开启刀具保护监测功能有效,读取一次当前主轴电机负载率值并等于赋值给运算寄存器2,同时自学习采集计数累加值F加1,间隔等待3秒时间后,再次读取一次当前主轴电机负载率值,与原寄存器Ⅱ内的值进行加法运算求和,计算数据结果写入寄存器Ⅱ内,自学习采集计数累加值F加1,反复执行上述动作,直至F值等于自学习数据采集次数值E,将寄存器Ⅱ内的值除以E值,得出钻孔切削过程主轴电机负载率的平均值,将结算的平均值加3(固定裕度值)后,将结果等于赋值给刀具监测预警主轴负载率阀值变量K。As a preference, the tool monitoring and early warning function is turned on G, with a setting range of 0 to 1. When the G value is 1, the tool monitoring and early warning function is turned on, and when it is 0, the tool monitoring and early warning function is turned off; when the G value is 1, the data in the tool monitoring and early warning spindle load rate threshold variable K takes effect. When the spindle motor load rate during the drilling process is greater than the K value, the system early warning reminder message is triggered, but the machine tool can continue processing. The purpose is to give the user an early warning prompt of tool monitoring abnormalities in advance, so that the user can stop the machine in time to check the tool damage. The data of the tool monitoring and early warning spindle load rate threshold variable K is obtained through self-learning data acquisition and operation. The acquisition and operation process is as follows: the tool monitoring and early warning function is turned on and G is set to 1, the machine tool processing program is started to drill and cut the workpiece, the tool protection monitoring function is turned on and effective, the current spindle motor load rate value is read once and equal to the value assigned to the operation register 2, and the self-learning acquisition count accumulated value F is increased by 1. After waiting for an interval of 3 seconds, the current spindle motor load rate value is read again, and the value in the original register II is added and summed, and the calculated data result is written into register II, and the self-learning acquisition count accumulated value F is increased by 1. The above actions are repeated until the F value is equal to the self-learning data collection times value E, and the value in register II is divided by the E value to obtain the average value of the spindle motor load rate during the drilling and cutting process. After adding 3 (fixed margin value) to the average value, the result is equal to the value assigned to the tool monitoring and early warning spindle load rate threshold variable K.

作为优选,刀具保护Z轴抬刀位移模式L,设置范围0~1。L值为0时,Z轴抬刀位移为增量模式,当刀具异常监测警告触发后,控制机床Z轴反向抬刀至刀具保护Z轴抬刀增量位移距离值M处;L值为1时,Z轴抬刀位移为绝对模式,当刀具异常监测警告触发后,控制机床Z轴反向抬刀至机械零点位置处。As a preference, the tool protection Z-axis tool lift displacement mode L has a setting range of 0 to 1. When the L value is 0, the Z-axis tool lift displacement is in incremental mode. When the tool abnormality monitoring warning is triggered, the machine tool Z-axis is controlled to lift the tool in the reverse direction to the tool protection Z-axis tool lift incremental displacement distance value M; when the L value is 1, the Z-axis tool lift displacement is in absolute mode. When the tool abnormality monitoring warning is triggered, the machine tool Z-axis is controlled to lift the tool in the reverse direction to the mechanical zero position.

作为优选,刀具保护Z轴抬刀增量位移距离值M,单位为毫米,当刀具保护Z轴抬刀位移模式L设置为0时,选择增量模式控制时生效。As a preference, the tool protection Z-axis tool lift incremental displacement distance value M is in millimeters. When the tool protection Z-axis tool lift displacement mode L is set to 0, it takes effect when the incremental mode control is selected.

作为优选,刀具保护Z轴抬刀位移速度值N,单位为毫米/分,当刀具异常监测警告触发后,以N值进给位移速度控制机床Z轴反向抬刀至安全位置处。Preferably, the tool protection Z-axis tool lifting displacement speed value N is in millimeters/minute. When the tool abnormality monitoring warning is triggered, the machine tool Z-axis is controlled to lift the tool in the reverse direction to a safe position with the feed displacement speed of N value.

本发明能够达到如下效果:The present invention can achieve the following effects:

本发明提供了一种机床钻孔刀具自学习自退刀的监测保护方法,与现有技术相比较,通过主轴电机负载率计算器,PMC可编程序控制器和相关参数数据设置的人机界面,实现对机床钻孔过程刀具保护的全程实时监测,解决了刀具发生崩刃的异常状态后,防止发生刀具的烧刀或粘刀问题,防止刀具和工件的烧焊结问题。通过相关数据算法和机床控制,实现对数控机床钻孔刀具保护监测,可以实现及时有效的报警提醒,并控制机床使刀具能反向自动抬刀至机床安全位置后,并执行其他刀具保护动作后停机,避免刀具和工件进一步受损,降低用户的经济损失。The present invention provides a monitoring and protection method for self-learning and self-retracting drilling tools of machine tools. Compared with the prior art, the present invention realizes the whole-process real-time monitoring of tool protection during the drilling process of machine tools through the spindle motor load rate calculator, PMC programmable controller and the human-machine interface set with relevant parameter data, and solves the problem of tool burning or sticking after the abnormal state of tool chipping occurs, and prevents the problem of tool burning and welding between tools and workpieces. Through the relevant data algorithm and machine tool control, the protection monitoring of drilling tools of CNC machine tools can be realized, and timely and effective alarm reminders can be realized, and the machine tool can be controlled so that the tool can automatically lift the tool in the reverse direction to the safe position of the machine tool, and the machine stops after executing other tool protection actions, so as to avoid further damage to the tool and workpiece, and reduce the economic loss of users.

具体实施方式DETAILED DESCRIPTION

下面通过实施例,对发明的技术方案作进一步具体的说明。The technical solution of the invention is further specifically described below through embodiments.

实施例:一种机床钻孔刀具自学习自退刀的监测保护方法,包括数控系统配置主轴电机负载率计算器,PMC可编程序控制器和相关参数数据设置的人机界面,通过PMC程序实时感知检测主轴电机和Z轴电机的输出负载率数据及其变化幅度,通过人机界面设置刀具监测当前有效组号变量值A、刀具异常监测灵敏度变量值B、刀具监测警告Z轴负载率阀值C、刀具监测Z轴有效行程值D、自学习数据采集次数值E、刀具监测预警功能开启G、刀具保护Z轴抬刀位移模式L、刀具保护Z轴抬刀增量位移距离值M、刀具保护Z轴抬刀位移速度值N。执行首次自学习数据采集操作,启动机床加工程序进行工件钻孔切削,启动自学习数据采集有效,读取一次当前主轴电机负载率值并等于赋值给运算寄存器Ⅰ,执行运算寄存器Ⅰ内数值加5(固定裕度值),将寄存器Ⅰ的数值等于赋值给刀具监测当前有效组号变量值A对应的寄存器,同时自学习采集计数累加值F加1,间隔等待3秒时间后,再次读取一次当前主轴电机负载率值,执行运算寄存器Ⅰ内数值加5,判断寄存器1值与刀具监测当前有效组号变量值A对应的寄存器值的大小比较,若寄存器Ⅰ值大于刀具监测当前有效组号变量值A对应的寄存器值时,将寄存器1的数值等于赋值给刀具监测当前有效组号变量值A对应的寄存器,同时自学习采集计数累加值F加1,反复执行上述动作,直至F值等于自学习数据采集次数值E,关闭自学习数据采集,将刀具监测当前有效组号变量值A对应的寄存器运算结果等于赋值给刀具监测警告主轴负载率阀值变量H。启动机床加工程序进行工件钻孔切削,执行M200开启刀具保护监测功能有效,当主轴电机负载率大于刀具监测警告主轴负载率阀值变量H时,且该状态保持刀具监测警告延迟时间值T1(单位:秒)时间后仍然有效的(运算公式为:T1 =刀具异常监测灵敏度变量值B × 0.1),系统给出警告提示“R44.15刀具监测状态异常,刀具磨损或切削受阻警告”,并控制机床Z轴做刀具保护安全退刀动作。刀具保护动作包含有:机床Z轴按照刀具保护Z轴抬刀位移速度值N的设定速度,反向移动抬刀至安全位置后停机处理,同时关闭主轴旋转动作,关闭机床冷却水泵动作,触发LED报警灯和警报器进行声光警示提醒。Z轴反向退刀至安全位置可提供两种控制模式选择,若刀具保护Z轴抬刀位移模式L设置0为增量模式时,Z轴反向抬刀至刀具保护Z轴抬刀增量位移距离值M位置处,若L值设置1为绝对模式时,Z轴反向抬刀至机床Z轴机械零点位置处。若机床钻孔过程没有监测到异常情况时,当执行到程序指令M201时,关闭刀具保护监测功能。Embodiment: A monitoring and protection method for self-learning and self-retracting of a machine tool drilling tool, comprising a spindle motor load rate calculator configured in a numerical control system, a PMC programmable controller and a human-machine interface for setting relevant parameter data, and real-time sensing and detection of the output load rate data of the spindle motor and the Z-axis motor and their change amplitude through the PMC program, and setting the current effective group number variable value A for tool monitoring, the tool abnormality monitoring sensitivity variable value B, the tool monitoring warning Z-axis load rate threshold value C, the tool monitoring Z-axis effective stroke value D, the self-learning data collection times value E, the tool monitoring early warning function activation G, the tool protection Z-axis tool lifting displacement mode L, the tool protection Z-axis tool lifting incremental displacement distance value M, and the tool protection Z-axis tool lifting displacement speed value N through the human-machine interface. Execute the first self-learning data acquisition operation, start the machine tool processing program to drill and cut the workpiece, start the self-learning data acquisition, read the current spindle motor load rate value once and assign it to the operation register I, execute the operation register I plus 5 (fixed margin value), and assign the value of register I to the register corresponding to the current effective group number variable value A of the tool monitoring. At the same time, the self-learning acquisition count accumulated value F is increased by 1. After waiting for 3 seconds, read the current spindle motor load rate value again, execute the operation register I plus 5, judge the size of the register 1 value and the register value corresponding to the current effective group number variable value A of the tool monitoring. If the register I value is greater than the register value corresponding to the current effective group number variable value A of the tool monitoring, the value of register 1 is equal to the register corresponding to the current effective group number variable value A of the tool monitoring, and the self-learning acquisition count accumulated value F is increased by 1. Repeat the above actions until the F value is equal to the self-learning data acquisition times E, turn off the self-learning data acquisition, and assign the register operation result corresponding to the current effective group number variable value A of the tool monitoring to the tool monitoring warning spindle load rate threshold variable H. Start the machine tool processing program to drill and cut the workpiece. Execute M200 to open the tool protection monitoring function. When the spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable H, and the state remains valid after the tool monitoring warning delay time value T1 (unit: second) (the calculation formula is: T1 = tool abnormal monitoring sensitivity variable value B × 0.1), the system will give a warning prompt "R44.15 tool monitoring state abnormality, tool wear or cutting obstruction warning", and control the machine tool Z axis to perform tool protection safety retract action. The tool protection action includes: the machine tool Z axis moves in the reverse direction to the safe position and stops processing according to the set speed of the tool protection Z axis tool lifting displacement speed value N, and at the same time turns off the spindle rotation action, turns off the machine tool cooling water pump action, and triggers the LED alarm light and alarm for sound and light warning reminders. There are two control modes for Z-axis reverse retraction to a safe position. If the tool protection Z-axis tool lift displacement mode L is set to 0 for incremental mode, the Z-axis reversely lifts the tool to the position of the tool protection Z-axis tool lift incremental displacement distance value M. If the L value is set to 1 for absolute mode, the Z-axis reversely lifts the tool to the machine tool Z-axis mechanical zero position. If the machine tool drilling process does not detect any abnormal situation, when the program instruction M201 is executed, the tool protection monitoring function is turned off.

当刀具监测警告Z轴负载率阀值C非0的值时,举例C值设置为60,启动机床加工程序进行工件钻孔切削,执行M200开启刀具保护监测功能有效,当机床Z轴电机负载率大于刀具监测警告Z轴负载率阀值时,且该状态保持刀具监测警告延迟时间值T1(单位:秒)时间后仍然有效的(运算公式为:T1 =刀具异常监测灵敏度变量值B × 0.1),系统给出警告提示“R44.15刀具监测状态异常,刀具磨损或切削受阻警告”,并控制机床Z轴做刀具保护安全退刀动作,Z轴反向移动抬刀至安全位置后停机处理,同时关闭主轴旋转动作,关闭机床冷却水泵动作,触发LED报警灯和警报器进行声光警示提醒。若机床钻孔过程没有监测到异常情况时,当执行到程序指令M201时,关闭刀具保护监测功能。When the tool monitoring warning Z-axis load rate threshold C is not 0, for example, C value is set to 60, the machine tool processing program is started to drill and cut the workpiece, and M200 is executed to open the tool protection monitoring function. When the machine tool Z-axis motor load rate is greater than the tool monitoring warning Z-axis load rate threshold, and this state remains valid after the tool monitoring warning delay time value T1 (unit: second) (the calculation formula is: T1 = tool abnormal monitoring sensitivity variable value B × 0.1), the system gives a warning prompt "R44.15 tool monitoring state abnormality, tool wear or cutting obstruction warning", and controls the machine tool Z axis to perform tool protection safety retract action, the Z axis moves in the opposite direction to lift the tool to a safe position and then stops processing, and at the same time turns off the spindle rotation action, turns off the machine tool cooling water pump action, and triggers the LED alarm light and alarm for sound and light warning reminders. If no abnormal situation is detected during the machine tool drilling process, when the program instruction M201 is executed, the tool protection monitoring function is turned off.

当刀具监测Z轴有效行程值D设置非0的值时,举例D值设置为-200,启动机床加工程序进行工件钻孔切削,执行M200开启刀具保护监测功能有效,若在机床Z轴移动位置坐标值大于-200时(在刀具监测有效行程范围内),当主轴电机负载率大于刀具监测警告主轴负载率阀值变量H时,该状态保持刀具监测警告延迟时间值T1(单位:秒)时间后仍然有效的(运算公式为:T1 =刀具异常监测灵敏度变量值B × 0.1),系统给出警告提示“R44.15刀具监测状态异常,刀具磨损或切削受阻警告”,并控制机床Z轴按照刀具保护Z轴抬刀位移速度值N的设定速度,反向移动抬刀至安全位置后停机处理,同时关闭主轴旋转动作,关闭机床冷却水泵动作,触发LED报警灯和警报器进行声光警示提醒。若机床Z轴移动位置坐标值小于-200(超出刀具监测有效行程范围内)钻孔过程没有监测到异常情况时,自动关闭刀具保护监测功能。此控制方法目的是向用户提供多种刀具监测形式,刀具保护监测只是在Z轴特定一段有效行程内生效,超出范围后可自动关闭监测功能,钻孔加工程式中不用再指定M201指令。When the tool monitoring Z-axis effective stroke value D is set to a non-zero value, for example, D value is set to -200, the machine tool processing program is started to drill and cut the workpiece, and M200 is executed to turn on the tool protection monitoring function. If the machine tool Z-axis moving position coordinate value is greater than -200 (within the tool monitoring effective stroke range), when the spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable H, this state remains valid after the tool monitoring warning delay time value T1 (unit: second) (the calculation formula is: T1 = tool abnormality monitoring sensitivity variable value B × 0.1), the system gives a warning prompt "R44.15 tool monitoring status abnormality, tool wear or cutting obstruction warning", and controls the machine tool Z-axis to move the tool in the opposite direction according to the set speed of the tool protection Z-axis tool lifting displacement speed value N to a safe position and then stop processing, and at the same time turn off the spindle rotation action, turn off the machine tool cooling water pump action, and trigger the LED alarm light and alarm for sound and light warning reminders. If the coordinate value of the machine tool Z-axis moving position is less than -200 (outside the effective travel range of tool monitoring) and no abnormal situation is detected during the drilling process, the tool protection monitoring function will be automatically turned off. The purpose of this control method is to provide users with a variety of tool monitoring forms. Tool protection monitoring is only effective within a specific effective travel range of the Z-axis. The monitoring function can be automatically turned off after exceeding the range, and the M201 command does not need to be specified in the drilling process.

当刀具监测预警功能开启G设置为1时,启动机床加工程序进行工件钻孔切削,执行M200开启刀具保护监测功能有效,刀具监测预警主轴负载率阀值变量K清零,读取一次当前主轴电机负载率值并等于赋值给运算寄存器Ⅱ,同时自学习采集计数累加值F加1,间隔等待3秒时间后,再次读取一次当前主轴电机负载率值,与原寄存器Ⅱ内的值进行加法运算求和,计算数据结果写入寄存器Ⅱ内,自学习采集计数累加值F加1,反复执行上述动作,直至F值等于自学习数据采集次数值E,将寄存器2内的值除以E值,得出钻孔切削过程主轴电机负载率的平均值,将结算的平均值加3(固定裕度值)后,将结果等于赋值给刀具监测预警主轴负载率阀值变量K,此时刀具监测预警功能生效,当钻孔过程主轴电机负载率大于K值时,触发系统预警提醒信息“R590.15预测刀具监测状态异常警告”,但机床可继续加工执行,目的用于向用户提前给出刀具监测异常的预警提示,以便用户可及时停机检查刀具破损情况。When the tool monitoring and early warning function is turned on and G is set to 1, the machine tool processing program is started to drill and cut the workpiece. Execute M200 to turn on the tool protection monitoring function. The tool monitoring and early warning spindle load rate threshold variable K is cleared, and the current spindle motor load rate value is read once and assigned to the operation register II. At the same time, the self-learning acquisition count accumulative value F is increased by 1. After waiting for 3 seconds, the current spindle motor load rate value is read again, and the addition operation is performed with the original value in register II. The calculation data result is written into register II, and the self-learning acquisition count accumulative value F is increased by 1. Repeat the above actions until the F value is equal. For the self-learning data collection times E, divide the value in register 2 by the E value to obtain the average value of the spindle motor load rate during the drilling and cutting process. After adding 3 (fixed margin value) to the average value, the result is equal to the tool monitoring and warning spindle load rate threshold variable K. At this time, the tool monitoring and warning function takes effect. When the spindle motor load rate during the drilling process is greater than the K value, the system warning reminder message "R590.15 Predicted tool monitoring status abnormal warning" is triggered, but the machine tool can continue processing. The purpose is to give the user an early warning of tool monitoring abnormalities so that the user can stop the machine in time to check the tool damage.

综上所述,该一种机床钻孔刀具自学习自退刀的监测保护方法,具有运行稳定性好、刀具使用寿命长、加工效率高等特点。彻底解决了刀具崩刃引发的烧刀或粘刀问题,防止刀具和工件的烧焊结问题,实现对钻孔过程的刀具保护,实现刀具异常实时监测,且无需人工值守,预警提醒、警告提示、自动退刀安全保护。机床钻孔刀具自学习自退刀监测保护方法应用范围广,人机交互性好,用户可快速轻松上手使用。In summary, this monitoring and protection method for self-learning and self-retracting drilling tools of machine tools has the characteristics of good operating stability, long tool life, and high processing efficiency. It completely solves the problem of tool burning or sticking caused by tool chipping, prevents the problem of burning and welding of tools and workpieces, realizes tool protection during the drilling process, and realizes real-time monitoring of tool abnormalities without manual supervision, early warning reminders, warning prompts, and automatic retracting safety protection. The self-learning and self-retracting monitoring and protection method for machine tool drilling tools has a wide range of applications and good human-computer interaction, and users can quickly and easily get started.

以上所述仅为本发明的具体实施例,但本发明的结构特征并不局限于此,任何本领域的技术人员在本发明的领域内,所作的变化或修饰皆涵盖在本发明的专利范围之中。The above description is only a specific embodiment of the present invention, but the structural features of the present invention are not limited thereto. Any changes or modifications made by any technician in the field of the present invention are included in the patent scope of the present invention.

Claims (10)

1.一种机床钻孔刀具自学习自退刀的监测保护方法,其特征在于包括如下操作步骤:1. A monitoring and protection method for self-learning and self-retracting of a machine tool drilling tool, characterized by comprising the following operating steps: 第一步:通过人机界面设置刀具监测当前有效组号变量值A、刀具异常监测灵敏度变量值B、刀具监测警告Z轴负载率阀值C、刀具监测Z轴有效行程值D、自学习数据采集次数值E、刀具监测预警功能开启G、刀具保护Z轴抬刀位移模式L、刀具保护Z轴抬刀增量位移距离值M、刀具保护Z轴抬刀位移速度值N;Step 1: Set the current effective group number variable value A of tool monitoring, the sensitivity variable value B of tool abnormality monitoring, the Z-axis load rate threshold value C of tool monitoring warning, the effective stroke value D of tool monitoring Z-axis, the number of self-learning data collection times E, the tool monitoring early warning function G, the tool protection Z-axis tool lifting displacement mode L, the tool protection Z-axis tool lifting incremental displacement distance value M, and the tool protection Z-axis tool lifting displacement speed value N through the human-machine interface; 第二步:通过首次自学习过程的相关逻辑运算获取刀具监测警告主轴负载率阀值变量H、刀具监测预警主轴负载率阀值变量K;Step 2: Obtain tool monitoring warning spindle load rate threshold variable H and tool monitoring warning spindle load rate threshold variable K through relevant logic operations in the first self-learning process; 第三步:通过设置程序M代码作为刀具保护监测功能的开启和关闭指令,实现对刀具保护的预警提醒、警告提示、安全退刀全程实时监测;Step 3: By setting the program M code as the opening and closing instructions of the tool protection monitoring function, the early warning reminder, warning prompt and safe tool retraction of the tool protection can be realized in real time; 第四步:当主轴电机负载率大于刀具监测预警主轴负载率阀值变量K时,系统给出预警提醒,机床继续加工使用;当主轴电机负载率大于刀具监测警告主轴负载率阀值变量H时,系统给出警告提示并控制机床Z轴做刀具保护安全退刀动作;当Z轴电机负载率大于刀具监测警告Z轴负载率阀值C时,系统给出警告提示并控制机床Z轴做刀具保护安全退刀动作;Step 4: When the spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable K, the system gives a warning reminder and the machine tool continues to use for processing; when the spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable H, the system gives a warning prompt and controls the machine tool Z axis to perform a tool protection safety retract action; when the Z axis motor load rate is greater than the tool monitoring warning Z axis load rate threshold C, the system gives a warning prompt and controls the machine tool Z axis to perform a tool protection safety retract action; 自学习数据采集次数值E,设置范围10~100;自学习数据采集的过程如下:启动机床加工程序进行工件钻孔切削,通过人机界面开启自学习数据采集有效,读取一次当前主轴电机负载率值并等于赋值给运算寄存器Ⅰ,执行运算寄存器Ⅰ内数值加5-固定裕度值,将寄存器Ⅰ的数值等于赋值给刀具监测当前有效组号变量值A对应的寄存器,同时自学习采集计数累加值F加1,间隔等待3秒时间后,再次读取一次当前主轴电机负载率值,执行运算寄存器Ⅰ内数值加5,判断寄存器Ⅰ值与刀具监测当前有效组号变量值A对应的寄存器值的大小比较,若寄存器Ⅰ值大于刀具监测当前有效组号变量值A对应的寄存器值时,将寄存器Ⅰ的数值等于赋值给刀具监测当前有效组号变量值A对应的寄存器,同时自学习采集计数累加值F加1,反复执行上述动作,直至F值等于自学习数据采集次数值E,关闭自学习数据采集,通过数据自学习获得钻孔过程主轴电机的最大负载率值加5-固定裕度值,最终将结果等于赋值给刀具监测警告主轴负载率阀值变量H;自学习过程一般在首次加工时开启使用即可,如果更换刀具规格类型或改变钻孔加工工艺时,都需要重新执行一次自学习数据采集。The number of self-learning data collection times E is set in the range of 10 to 100; the process of self-learning data collection is as follows: start the machine tool processing program to drill and cut the workpiece, turn on the self-learning data collection through the human-machine interface, read the current spindle motor load rate value once and assign it to the operation register I, execute the operation register I plus 5-fixed margin value, and assign the value of register I to the register corresponding to the current effective group number variable value A of the tool monitoring. At the same time, the self-learning collection count accumulative value F is increased by 1. After waiting for 3 seconds, read the current spindle motor load rate value again, execute the operation register I plus 5, and judge the value of register I and the register value corresponding to the current effective group number variable value A of the tool monitoring. Small comparison, if the value of register I is greater than the register value corresponding to the current effective group number variable value A of the tool monitoring, the value of register I is assigned to the register corresponding to the current effective group number variable value A of the tool monitoring, and the self-learning acquisition count cumulative value F is increased by 1, and the above actions are repeated until the F value is equal to the self-learning data acquisition times value E, and the self-learning data acquisition is turned off. Through data self-learning, the maximum load rate value of the spindle motor in the drilling process is obtained plus 5-fixed margin value, and finally the result is assigned to the tool monitoring warning spindle load rate threshold variable H; the self-learning process is generally turned on and used during the first processing. If the tool specification type is changed or the drilling processing process is changed, self-learning data acquisition needs to be re-executed. 2.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具保护监测功能开启的程序指令为M200,关闭指令为M201;机床Z轴按照刀具保护Z轴抬刀位移速度值N的设定速度,反向移动抬刀至安全位置后停机处理,同时关闭主轴旋转动作,关闭机床冷却水泵动作,触发LED报警灯和警报器进行声光警示提醒;Z轴反向退刀至安全位置提供两种控制模式选择,依据人机界面的刀具保护Z轴抬刀位移模式L设置确定,当设置为增量模式时,Z轴反向抬刀至刀具保护Z轴抬刀增量位移距离值M位置处,当设置为绝对模式时,Z轴反向抬刀至机床Z轴机械零点位置处。2. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the program instruction for turning on the tool protection monitoring function is M200, and the closing instruction is M201; the machine tool Z axis moves in reverse to a safe position and then stops processing according to the set speed of the tool protection Z axis tool lifting displacement speed value N, and at the same time turns off the spindle rotation action, turns off the machine tool cooling water pump action, and triggers the LED alarm light and the alarm for sound and light warning reminders; two control mode options are provided for the Z axis to retract in the reverse direction to a safe position, which is determined according to the tool protection Z axis tool lifting displacement mode L setting of the human-machine interface. When set to incremental mode, the Z axis reversely lifts the tool to the tool protection Z axis tool lifting incremental displacement distance value M position; when set to absolute mode, the Z axis reversely lifts the tool to the machine tool Z axis mechanical zero position. 3.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具监测当前有效组号变量值A,设置范围:1~9,现可提供9组组号设置,根据用户需求增加组号设计,且每组组号对应一个不同的刀具监测警告主轴电机负载率阀值寄存器,寄存器内的数据值可手动设置和通过自学习自动设置;当开启刀具保护监测时,会自动读取刀具监测当前有效组号变量值A设定值对应寄存器的数据,等于赋值给刀具监测警告主轴负载率阀值变量H;刀具监测当前有效组号变量值A提供手动和自动设置两种模式,其中自动设置时与主轴刀具刀号相关联,刀具号T01时设置A为1、T02设置A为2,以此类推T09设置A为9。3. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool monitors the current effective group number variable value A, the setting range is: 1 to 9, and 9 groups of group number settings can be provided. The group number design is increased according to user needs, and each group number corresponds to a different tool monitoring warning spindle motor load rate threshold register, and the data value in the register can be set manually and automatically through self-learning; when the tool protection monitoring is turned on, the data of the register corresponding to the setting value of the tool monitoring current effective group number variable value A will be automatically read, which is equal to the value assigned to the tool monitoring warning spindle load rate threshold variable H; the tool monitoring current effective group number variable value A provides two modes of manual and automatic setting, among which the automatic setting is associated with the spindle tool number, and A is set to 1 for tool number T01, set A to 2 for T02, and so on, set A to 9 for T09. 4.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具异常监测灵敏度变量值B,设置范围10~30;B值参与刀具监测警告延迟时间值T1的运算,T1的单位为秒,T1 =刀具异常监测灵敏度变量值B × 0.1;若当前主轴电机负载率大于刀具监测警告主轴负载率阀值变量H时,且该状态保持T1时间后仍然有效的,立即触发系统警告提醒并控制机床Z轴做刀具保护安全退刀动作;B值越小,刀具监测灵敏度越高,在异常触发警告响应越快,B值越大,刀具监测灵敏度越低,对异常触发警告响应越迟缓;刀具异常监测灵敏度变量值B的需根据不同规格刀具进行设置。4. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool abnormality monitoring sensitivity variable value B is set in the range of 10 to 30; the B value participates in the calculation of the tool monitoring warning delay time value T1, the unit of T1 is seconds, T1 = tool abnormality monitoring sensitivity variable value B × 0.1; if the current spindle motor load rate is greater than the tool monitoring warning spindle load rate threshold variable H, and this state remains valid after T1 time, the system warning reminder is immediately triggered and the machine tool Z axis is controlled to perform a tool protection safety retract action; the smaller the B value, the higher the tool monitoring sensitivity, and the faster the abnormal trigger warning response, the larger the B value, the lower the tool monitoring sensitivity, and the slower the abnormal trigger warning response; the tool abnormality monitoring sensitivity variable value B needs to be set according to tools of different specifications. 5.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具监测警告Z轴负载率阀值C,设置范围0~100;若当前Z轴电机负载率大于C时,且该状态保持T1时间后仍然有效的,立即触发系统警告提醒并控制机床Z轴做刀具保护安全退刀动作;C设置等于0时,关闭刀具保护监测与Z轴电机负载率的关联,C设置大于0时,开启刀具保护监测与Z轴电机负载率的关联,刀具监测警告Z轴负载率阀值C根据不同规格刀具进行设置。5. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool monitoring warning Z-axis load rate threshold C is set in the range of 0 to 100; if the current Z-axis motor load rate is greater than C, and this state remains valid after T1 time, the system warning reminder is immediately triggered and the machine tool Z-axis is controlled to perform a tool protection safety retract action; when C is set to 0, the association between tool protection monitoring and Z-axis motor load rate is turned off, and when C is set to greater than 0, the association between tool protection monitoring and Z-axis motor load rate is turned on, and the tool monitoring warning Z-axis load rate threshold C is set according to tools of different specifications. 6.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具监测Z轴有效行程值D,单位:毫米,设置范围-300~0;D设置等于0时,关闭刀具保护监测与D的关联,D设置大于0时,当开启刀具保护监测功能后,钻孔加工Z轴进给到刀具监测Z轴有效行程值D时,自动关闭刀具保护监测功能,D值的设置根据用户现场加工需求开启或关闭。6. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool monitors the effective stroke value D of the Z axis, unit: millimeter, setting range -300 to 0; when D is set equal to 0, the association between tool protection monitoring and D is turned off, and when D is set greater than 0, after the tool protection monitoring function is turned on, when the drilling processing Z axis feeds to the tool monitoring Z axis effective stroke value D, the tool protection monitoring function is automatically turned off, and the setting of the D value is turned on or off according to the user's on-site processing requirements. 7.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具监测预警功能开启G,设置范围0~1,G值为1时开启刀具监测预警功能,为0时关闭刀具监测预警功能;当G值为1时,刀具监测预警主轴负载率阀值变量K内数据生效,当钻孔过程主轴电机负载率大于K值时,触发系统预警提醒信息,但机床可继续加工执行,目的用于向用户提前给出刀具监测异常的预警提示,以便用户可及时停机检查刀具破损情况;刀具监测预警主轴负载率阀值变量K的数据通过自学习数据采集运算获得,采集运算过程如下:刀具监测预警功能开启G设置为1,启动机床加工程序进行工件钻孔切削,开启刀具保护监测功能有效,读取一次当前主轴电机负载率值并等于赋值给运算寄存器Ⅱ,同时自学习采集计数累加值F加1,间隔等待3秒时间后,再次读取一次当前主轴电机负载率值,与原寄存器Ⅱ内的值进行加法运算求和,计算数据结果写入寄存器Ⅱ内,自学习采集计数累加值F加1,反复执行上述动作,直至F值等于自学习数据采集次数值E,将寄存器Ⅱ内的值除以E值,得出钻孔切削过程主轴电机负载率的平均值,将结算的平均值加3后,将结果等于赋值给刀具监测预警主轴负载率阀值变量K。7. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool monitoring and early warning function is turned on G, the setting range is 0~1, the tool monitoring and early warning function is turned on when the G value is 1, and the tool monitoring and early warning function is turned on when it is 0; when the G value is 1, the data in the tool monitoring and early warning spindle load rate threshold variable K takes effect, and when the spindle motor load rate during the drilling process is greater than the K value, the system early warning reminder information is triggered, but the machine tool can continue to process and execute, the purpose is to give the user an early warning prompt of tool monitoring abnormalities in advance, so that the user can stop the machine in time to check the tool damage; the data of the tool monitoring and early warning spindle load rate threshold variable K is obtained through self-learning data acquisition and calculation, and the acquisition and calculation process is as follows: the tool monitoring and early warning function is turned on Set G to 1, start the machine tool processing program to drill and cut the workpiece, turn on the tool protection monitoring function, read the current spindle motor load rate value once and assign it to the operation register II, and at the same time, add 1 to the self-learning acquisition count accumulative value F. After waiting for 3 seconds, read the current spindle motor load rate value again, add it to the original value in register II, write the calculated data result into register II, add 1 to the self-learning acquisition count accumulative value F, and repeat the above actions until the F value is equal to the self-learning data collection times E. Divide the value in register II by the E value to obtain the average value of the spindle motor load rate during the drilling and cutting process. After adding 3 to the average value, assign the result to the tool monitoring and warning spindle load rate threshold variable K. 8.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具保护Z轴抬刀位移模式L,设置范围0~1;L值为0时,Z轴抬刀位移为增量模式,当刀具异常监测警告触发后,控制机床Z轴反向抬刀至刀具保护Z轴抬刀增量位移距离值M处;L值为1时,Z轴抬刀位移为绝对模式,当刀具异常监测警告触发后,控制机床Z轴反向抬刀至机械零点位置处。8. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool protection Z-axis tool lifting displacement mode L has a setting range of 0 to 1; when the L value is 0, the Z-axis tool lifting displacement is in incremental mode, and when the tool abnormality monitoring warning is triggered, the machine tool Z-axis is controlled to lift the tool in the opposite direction to the tool protection Z-axis tool lifting incremental displacement distance value M; when the L value is 1, the Z-axis tool lifting displacement is in absolute mode, and when the tool abnormality monitoring warning is triggered, the machine tool Z-axis is controlled to lift the tool in the opposite direction to the mechanical zero position. 9.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具保护Z轴抬刀增量位移距离值M,单位为毫米,当刀具保护Z轴抬刀位移模式L设置为0时,选择增量模式控制时生效。9. The monitoring and protection method for self-learning and self-retraction of machine tool drilling tools according to claim 1 is characterized in that: the tool protection Z-axis tool lifting incremental displacement distance value M is in millimeters, and when the tool protection Z-axis tool lifting displacement mode L is set to 0, it takes effect when the incremental mode control is selected. 10.根据权利要求1所述的机床钻孔刀具自学习自退刀的监测保护方法,其特征在于:刀具保护Z轴抬刀位移速度值N,单位为毫米/分,当刀具异常监测警告触发后,以N值进给位移速度控制机床Z轴反向抬刀至安全位置处。10. The monitoring and protection method for self-learning and self-retracting of machine tool drilling tools according to claim 1 is characterized in that: the tool protection Z-axis tool lifting displacement speed value N is in millimeters/minute. When the tool abnormality monitoring warning is triggered, the machine tool Z-axis is controlled to lift the tool in the opposite direction to a safe position with the feed displacement speed of N value.
CN202411002804.5A 2024-07-25 2024-07-25 Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool Active CN118513907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411002804.5A CN118513907B (en) 2024-07-25 2024-07-25 Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411002804.5A CN118513907B (en) 2024-07-25 2024-07-25 Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool

Publications (2)

Publication Number Publication Date
CN118513907A CN118513907A (en) 2024-08-20
CN118513907B true CN118513907B (en) 2024-10-18

Family

ID=92274535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411002804.5A Active CN118513907B (en) 2024-07-25 2024-07-25 Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool

Country Status (1)

Country Link
CN (1) CN118513907B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113977348A (en) * 2021-12-28 2022-01-28 杭州骏宇科技有限公司 Machine tool whole-course self-sensing self-adaptive cutting method
CN117742245A (en) * 2023-12-25 2024-03-22 重庆长安汽车股份有限公司 Cutter state self-adaptive monitoring and predicting method, system, electronic equipment and medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2052757C3 (en) * 1970-10-28 1974-10-17 Siemens Ag, 1000 Berlin Und 8000 Muenchen Device for numerically controlling the movement of a machine tool
JPS5411021B2 (en) * 1973-04-28 1979-05-11
CN114905336B (en) * 2022-06-27 2023-07-25 西安交通大学 Variable working condition cutter wear monitoring method and system based on cutting force component decoupling

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113977348A (en) * 2021-12-28 2022-01-28 杭州骏宇科技有限公司 Machine tool whole-course self-sensing self-adaptive cutting method
CN117742245A (en) * 2023-12-25 2024-03-22 重庆长安汽车股份有限公司 Cutter state self-adaptive monitoring and predicting method, system, electronic equipment and medium

Also Published As

Publication number Publication date
CN118513907A (en) 2024-08-20

Similar Documents

Publication Publication Date Title
US8531149B2 (en) Control device for machine tool
CN104750027B (en) A kind of tool failure early warning system based on machine tool chief axis power signal
JPS6254649A (en) Method of operating numerical control machine tool
CN106560278B (en) Lathe
CN105785916B (en) The method and apparatus of lathe gravity axis tenesmus protection are provided
CN118513907B (en) Monitoring and protecting method for self-learning and self-retracting of drilling tool of machine tool
CN101281400A (en) Numerical control deep hole drilling machine dual-overload protection method
WO2009128156A1 (en) Collision detector and method for detecting collision in processing machine
KR930010589B1 (en) Cutting tool stop control apparatus
CN103406801A (en) Vibrating detection and protection device of milling machine
CN105364605A (en) Application of PLC and alternating current servo in numerical control drilling and milling machine
CN114952413A (en) Machine tool control method based on artificial intelligence, numerical control machine tool and protection device
CN104475891A (en) Intelligent controller for controlling short-cycle wire threading of quick wire threading electrical discharge machine tool
JP7306922B2 (en) Machine Tools
CN203418366U (en) Vibration detection and protection device of milling machine
CN212286882U (en) Numerical control vertical milling and turning machine spindle anticollision institution
CN211939117U (en) Novel radial drill based on singlechip
CN210348266U (en) Power-off protection system of CNC (computer numerical control) machine tool
CN115555916A (en) Machining center machine tool efficiency improvement detection system
CN202742210U (en) Double velocity measurement safety protection device of numerical control external cylindrical grinding machine
CN201368979Y (en) Real-time monitoring system for cutting main shaft of numerical-control gear milling machine tool
CN112947303A (en) Machine tool overload monitoring system and control method
CN111665781B (en) Self-checking type motion detection control device and method
CN115167345B (en) A method to improve the reliability of CNC precision hole processing
CN116000329B (en) Control method for numerical control finish turning anti-pricking knife

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhao Haijun

Inventor after: Xu Feng

Inventor after: Ru Yan

Inventor after: Tang Dongwei

Inventor after: Zhu Jiajie

Inventor after: Wang Wenyu

Inventor after: Wang Yuanqing

Inventor after: Lu Changyong

Inventor after: Tang Guohai

Inventor after: Huang Hebin

Inventor after: Yang Canzhong

Inventor after: Qiu Liufeng

Inventor after: Wang Xiaoyu

Inventor before: Zhao Haijun

Inventor before: Xu Feng

Inventor before: Ru Yan

Inventor before: Tang Dongwei

Inventor before: Zhu Jiajie

Inventor before: Wang Wenyu

Inventor before: Wang Yuanqing

Inventor before: Lu Changyong

Inventor before: Tang Guohai

Inventor before: Huang Hebin

Inventor before: Yang Canzhong

Inventor before: Qiu Liufeng

Inventor before: Wang Xiaoyu