Protection method during tool collision of machine tool
By monitoring and comparing the load value of the spindle motor in real time and controlling the reverse movement of the three axes, it solves the problem in the existing technology that the machine tool collision protection cannot be realized only through the program, and achieves effective protection without adding additional hardware equipment, improving to protect accuracy.
Patent Information
- Application Number
- CN202410781861.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing technology, when a tool collision occurs, the machine tool cannot be effectively protected through the program alone. It is usually necessary to add hardware equipment to prevent further damage to the tool and the machine tool.
By starting the spindle load monitoring, the spindle motor load value is read in real time and compared with the preset value. When the load value exceeds the preset value, the three axes are controlled to move in the opposite direction of the current machining direction to protect the spindle and record the time of abnormality. , activate the red alarm to lock the three axes to prevent further damage. The setting of the preset value is based on the maximum load value during normal trial machining and changes dynamically to reduce false alarms, combined with the tool life management function.
It realizes the tool collision protection through the program without adding additional hardware equipment, improves the protection accuracy and avoids further damage to the tool and machine tool.
Smart Images

Figure CN118809293A_ABST
Abstract
Description
Technical Field
[0001] The invention mainly relates to the technical field of numerical control, and in particular to a method for protecting a machine tool when a tool collision occurs. Background Art
[0002] When tool collision, tool breakage or other abnormal factors occur during machine tool processing, continued operation of the machine tool or operator's misoperation may cause further damage to the tool or even the machine tool.
[0003] In order to avoid the above situation, most of the existing technologies are implemented by adding hardware mechanisms. For example, a machine tool protection device that prevents the tool from bending when colliding with a tool is disclosed in the patent with application publication number CN 112757013 A. During the processing, two push blocks can trigger the pushing mechanism to achieve the purpose of limiting the movement of the clamping base, thereby preventing the tool and the workpiece from being further damaged during the hand-cranking process. The abutment mechanism can achieve effective clamping of the workpiece, thereby achieving the purpose of protecting people. At the same time, the abutment plate can achieve the purpose of pushing the workpiece after cutting is completed and facilitating the removal. Others are implemented by combining hardware and programs. For example, a patent with authorization announcement number CN 110682145 B discloses an anti-collision tool system for a chain tool magazine of a machining center. By installing a sensor on the outer surface of the tool sleeve, the shape of the tool sleeve can be accurately judged, and the spatial posture of the tool handle clamped on the tool sleeve can be inferred, thereby controlling the spindle to stop or continue working, avoiding the occurrence of tool collision and reducing tool collision losses.
[0004] Therefore, the existing machine tool tool collision protection methods all more or less require the addition of hardware equipment to achieve the tool collision protection effect, and cannot be achieved only through programming. Summary of the invention
[0005] The technical solution of the present invention aims at the technical problem that the existing technical solutions are too single, and provides a solution that is significantly different from the existing technology. It mainly provides a protection method for a machine tool when a tool collision occurs, so as to solve the technical problem raised in the above background technology that the tool collision protection effect cannot be achieved only through the program.
[0006] The technical solution adopted by the present invention to solve the above technical problems is: A method for protecting a machine tool when a tool collision occurs, comprising the following steps: S1, start spindle load monitoring; S2, PMC reads the spindle motor load value in real time; S3, PMC compares the read spindle motor load value with a preset value, and when the spindle motor load value exceeds the preset value, proceeds to step S4; S4, control the three axes to move in the opposite direction of the current processing direction to protect the spindle; In step S3, the method for setting the preset value is: first obtain the maximum spindle load value in the normal trial processing process, then set the calculation result after adding 10 to 20 to the maximum spindle load upper limit value in the normal trial processing process as the minimum value of the spindle load upper limit value, and set the calculation result after adding 10 to 20 to the minimum value of the set spindle load upper limit value as the maximum value of the spindle load upper limit value; finally, set the dynamic change of the spindle load preset value, and the preset value gradually increases from the minimum value of the spindle load upper limit value to the maximum value.
[0007] Preferably, in the preset value setting method, the calculation result after adding 20 to the maximum spindle load value in the normal trial processing is set as the minimum value of the spindle load upper limit value, and the calculation result after adding 20 to the minimum value of the set spindle load upper limit value is set as the maximum value of the spindle load upper limit value.
[0008] Furthermore, in the preset value setting method, the dynamic change of the spindle load preset value is coordinated with the tool life management function of the machine tool system. When the tool is in good condition, the minimum value of the spindle load upper limit corresponds to the preset value of the tool. After each time the tool is used a set number of times, the preset value will increase by 1 until it reaches the maximum value of the spindle load upper limit.
[0009] Furthermore, in step S3, when the read spindle motor load value exceeds the preset value, a delay process is performed to eliminate false alarms caused by instantaneous fluctuations in the load value due to spindle acceleration and deceleration; after the delay, the current spindle motor load value is compared with the preset value again. If the spindle load value still exceeds the preset value, step S4 is performed.
[0010] Preferably, the delay time of the delay processing is 0.1 to 0.3 seconds.
[0011] Preferably, in step S4, the distance that the three axes move in the direction opposite to the current processing direction is 0.01-0.02 mm.
[0012] Furthermore, in step S4, after the three axes have finished moving in the opposite direction, a red alarm is activated to lock the three axes, so as to prevent the operator or the machine tool from further moving and damaging the spindle.
[0013] Furthermore, in step S4, while the three axes are moving in the opposite direction of the current processing direction, the current time is transmitted to the D address through PMC processing to record the time when the abnormality occurs.
[0014] Compared with the prior art, the present invention has the following beneficial effects: The present invention takes into account that a large load torque is generated on the spindle servo motor during abnormal processing such as tool collision, and uses the load status of the FANUC related axis to judge the state of the machine tool during processing, and compares the spindle motor load value with the preset value in real time. When the spindle motor load value exceeds the preset value, the three axes are controlled to move in the opposite direction of the current processing direction to protect the spindle and avoid further damage to related hardware. Therefore, the present invention does not need to add hardware equipment, and the tool collision protection effect can be achieved only through program settings. The present invention takes into account that the maximum spindle load value in the normal trial machining process must be smaller than the load value during overload, so the preset value of the spindle load value is set based on the maximum spindle load value in the normal trial machining process plus a certain range of values to set the preset value; and taking into account that when the tool is slightly worn during the machining process, the spindle load will increase accordingly, and a false alarm may occur when the preset value is exceeded, so a dynamic change of the preset value of the spindle load is set, and the preset value gradually increases from the minimum value in the upper limit value of the spindle load to the maximum value, which can effectively eliminate errors caused by slight wear of the tool, thereby improving the accuracy of tool collision protection implemented through the program. The present invention will be explained in detail below with reference to the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a flow chart of the present invention; Figure 2 and Figure 3 This is a ladder diagram for reading load and processing load results in the first embodiment of the present invention, wherein: Figure 3 Head connection Figure 2 Tail. DETAILED DESCRIPTION
[0016] To facilitate understanding of the present invention, the present invention will be described more comprehensively below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings, but the present invention can be implemented in different forms and is not limited to the embodiments described in the text. On the contrary, these embodiments are provided to make the content disclosed in the present invention more thorough and comprehensive.
[0017] Embodiment 1: A method for protecting a machine tool when a tool collision occurs, comprising: 1. Set the upper limit of the spindle load. During the first trial machining, the operator opens the subroutine for automatically setting the maximum load value in the PMC (production process monitoring and control system). The PMC reads the tool number in the D address, and reads the spindle load value of the current tool during machining in real time. The PMC processes and outputs the maximum spindle load value during normal trial machining to the storage address of the spindle load upper limit of the tool number. Considering that the maximum spindle load value during normal trial machining must be less than the load value during overload, the upper limit of the spindle load must be set to be greater than the maximum spindle load value during normal trial machining. The operator sets the result of the calculation after adding 20 (the specific value can be determined based on the actual situation) to the maximum value of the spindle load upper limit during normal trial machining, and sets the result of the calculation after adding 20 (the specific value can be determined based on the actual situation) to the minimum value of the spindle load upper limit, and sets the result of the calculation after adding 20 (the specific value can be determined based on the actual situation) to the minimum value of the spindle load upper limit.
[0018] 2. Set the dynamic change of the preset value of the spindle load. Considering that when the tool is slightly worn during the processing, the spindle load will increase accordingly, and there may be a false alarm exceeding the preset value. Therefore, in the monitoring process, it is necessary to add the dynamic change of the preset value. The principle of dynamic change of the preset value: when the tool is intact, the minimum value of the spindle load upper limit corresponds to the preset value of the tool. As the tool is used, the preset value increases from the minimum value of the spindle load upper limit to the maximum value; in conjunction with the tool life management function of the machine tool system, after each certain number of times the tool is used (the number needs to be set according to the hardness of the material of the workpiece, the higher the hardness of the workpiece, the faster the tool wears during processing, and the fewer the number of times set), the preset value will increase by 1 accordingly; when it increases to the maximum value of the set spindle load upper limit, it will no longer increase to avoid the spindle load being less than the preset value after the tool hits the tool.
[0019] 3. Set up specific protection measures. Figure 1-Figure 3As shown in the figure, after the spindle load monitoring is started in the machine tool PMC, the spindle motor load value is read in real time through the PMC, and the data is processed and compared (compared with the preset value) through the PMC. When the spindle load value exceeds the preset value, a 0.2 second delay is performed to eliminate false alarms caused by instantaneous fluctuations in the load value caused by spindle acceleration and deceleration. After a 0.2 second delay, the data is compared again (the current spindle motor load value is read again and compared with the preset value). If the spindle load value still exceeds the preset value, a pulse signal is transmitted to the machine tool through the PMC to move the three axes in the opposite direction of the current processing direction by 0.01mm (the direction of the collision is the current processing direction. Controlling the three axes to move in the opposite direction can prevent the three axes from continuing to move in the processing direction and damaging the parts. The moving distance can be set. It is recommended to set it to 0.01~0.02mm. This distance meets the protection requirements and the completion time of moving this distance is short) to protect the spindle. At the same time, the current time is transmitted to the D address through PMC processing to record the time when the abnormality occurred; and after the three-axis reverse movement is completed, a red alarm is activated to lock the three axes to prevent the operator or the machine tool from further action to damage the spindle. The alarm will not reset automatically and needs to be unlocked to reset, allowing the machine tool to continue to be used.
[0020] Embodiment 2: This embodiment differs from Embodiment 1 in that: In step 1, the operator sets the calculation result of adding 10 to the maximum spindle load value in the normal trial processing as the minimum value of the spindle load upper limit, and sets the calculation result of adding 10 to the minimum value of the set spindle load upper limit as the maximum value of the spindle load upper limit.
[0021] In step three, when the spindle load value exceeds the preset value, a 0.3 second delay is performed to eliminate false alarms caused by instantaneous fluctuations in the load value due to spindle acceleration and deceleration. After a 0.3 second delay, the data is compared again. If the spindle load value still exceeds the preset value, a pulse signal is transmitted to the machine tool through the PMC to move the three axes in the opposite direction of the current processing direction by 0.02 mm (the direction of the tool collision is the current processing direction. Controlling the three axes to move in the opposite direction can prevent the three axes from continuing to move in the processing direction and damaging the parts. The moving distance can be set. The distance needs to meet the protection requirements and the completion time of moving the distance is short).
[0022] The rest is the same as the first embodiment.
[0023] Embodiment 3: This embodiment differs from Embodiment 1 in that: In step 1, the operator sets the calculation result of adding 10 to the maximum spindle load value in the normal trial machining process as the minimum value of the spindle load upper limit, and sets the calculation result of adding 20 to the minimum value of the set spindle load upper limit as the maximum value of the spindle load upper limit.
[0024] The rest is the same as the first embodiment.
[0025] The above is an exemplary description of the present invention in combination with the accompanying drawings. It is obvious that the specific implementation of the present invention is not limited to the above-mentioned method. As long as such non-substantial improvements are made by adopting the method concept and technical solution of the present invention, or the concept and technical solution of the present invention are directly applied to other occasions without improvement, they are all within the protection scope of the present invention.
Claims
1. A method for protecting a machine tool when a tool collision occurs, characterized in that: The steps include: S1, start spindle load monitoring; S2, PMC reads the spindle motor load value in real time; S3, PMC compares the read spindle motor load value with a preset value, and when the spindle motor load value exceeds the preset value, proceeds to step S4; S4, control the three axes to move in the opposite direction of the current processing direction to protect the spindle; In step S3, the method for setting the preset value is: first obtain the maximum spindle load value in the normal trial processing process, then set the calculation result after adding 10 to 20 to the maximum spindle load upper limit value in the normal trial processing process as the minimum value of the spindle load upper limit value, and set the calculation result after adding 10 to 20 to the minimum value of the set spindle load upper limit value as the maximum value of the spindle load upper limit value; finally, set the dynamic change of the spindle load preset value, and the preset value gradually increases from the minimum value of the spindle load upper limit value to the maximum value.
2. The method for protecting a machine tool from a tool collision according to claim 1, characterized in that: In the preset value setting method, the maximum spindle load value during normal trial machining plus 20 is calculated as the minimum value of the spindle load upper limit, and the minimum value of the set spindle load upper limit plus 20 is calculated as the maximum value of the spindle load upper limit.
3. The method for protecting a machine tool from a tool collision according to claim 1, characterized in that: In the preset value setting method, the dynamic change of the spindle load preset value is coordinated with the tool life management function of the machine tool system. When the tool is in good condition, the minimum value of the spindle load upper limit corresponds to the preset value of the tool. After each time the tool is used a set number of times, the preset value will increase by 1 until it reaches the maximum value of the spindle load upper limit.
4. The method for protecting a machine tool from a tool collision according to claim 1, characterized in that: In step S3, when the read spindle motor load value exceeds the preset value, a delay process is performed to eliminate false alarms caused by instantaneous fluctuations in the load value due to spindle acceleration and deceleration; after the delay, the current spindle motor load value is compared with the preset value again. If the spindle load value still exceeds the preset value, step S4 is performed.
5. The method for protecting a machine tool from a tool collision according to claim 4, characterized in that: The delay time of the delay processing is 0.1 to 0.3 seconds.
6. The method for protecting a machine tool from a tool collision according to claim 1, characterized in that: In step S4, the distance that the three axes move in the direction opposite to the current processing direction is 0.01-0.02 mm.
7. The method for protecting a machine tool from a tool collision according to claim 1, characterized in that: In step S4, after the three axes have finished moving in the opposite direction, a red alarm is activated to lock the three axes to prevent the operator or the machine tool from further moving and damaging the spindle.
8. The method for protecting a machine tool from a tool collision according to claim 1, characterized in that: In step S4, while the three axes are moving in the opposite direction of the current processing direction, the current time is transmitted to the D address through PMC processing to record the time when the abnormality occurred.
Citation Information
Patent Citations
Main spindle load monitoring device for machine tool
CN106312687A
Protection for preventing spindle motor overload caused by excessive spindle cutting output of FANUC system
CN113927359A
Tool length correcting method for numerical controller, work center position detecting method, and tool wear degree estimating method and numerical controller
JP1998020911A
Cutting feed speed control method and device of numerical control machine tool
JP2004195613A
Machine Tool And Method Of Operating A Machine Tool
US20210154798A1
