Machine tool lifting tool control method and system based on intelligent power-off protection

CN120949699BActive Publication Date: 2026-09-11KEJIE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511116207.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-11
Publication Date
2026-09-11
Estimated Expiration
2045-08-11

AI Technical Summary

Technical Problem

其中,机械弹簧储能式通过预压弹簧在断电时释放能量实现提刀,虽然结构简单,但存在储能时间有限、弹簧疲劳导致性能衰减的问题,且提刀过程速度不可控,容易产生机械冲击,长期使用会影响设备精度

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120949699B_ABST
    Figure CN120949699B_ABST
Patent Text Reader

Abstract

The present application relates to a machine tool lifting tool control method and system based on intelligent power-off protection, which comprises a state monitoring module, an emergency power module and a direct drive actuator, the state monitoring module is provided with a power-off detection signal input port to monitor the power-off signal in real time and serve as the basis for triggering the protection function; the emergency power module uses the remaining power before power-off as the energy source for the direct drive actuator to perform the power-off lifting tool action; the direct drive actuator controls the machining shaft to retreat along the path trajectory through the numerical control system to perform the power-off lifting tool operation. The present application can realize completely autonomous power-off protection, effectively shorten the lifting tool response time, and has a lower use cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a machine tool tool lifting control method and system based on intelligent power failure protection, belonging to the field of machine tool processing. Background Technology

[0002] Currently, mainstream machine tool power-off protection technologies mainly employ two methods: mechanical spring energy storage and hydraulic / pneumatic energy storage. Mechanical spring energy storage uses a pre-compressed spring to release energy upon power failure to lift the tool. While simple in structure, it suffers from limited energy storage time, spring fatigue leading to performance degradation, and uncontrollable lifting speed, which can easily cause mechanical impact and affect equipment accuracy over long-term use. Hydraulic / pneumatic energy storage, while providing relatively stable driving force, is susceptible to media leakage, requires frequent maintenance, and is affected by pipeline pressure fluctuations, with response delays typically between 200-500 milliseconds, making it difficult to meet the demands of high-precision machining. More importantly, both traditional solutions lack intelligent judgment capabilities, failing to respond accurately to actual machining conditions and posing a risk of false triggering. Furthermore, the lack of a real-time position feedback mechanism prevents precise control of the lifting process, potentially causing tool or workpiece damage under complex machining conditions. In addition, most existing intelligent power outage protection systems require an additional backup power supply as a temporary power supply component during power outages. This not only increases the price of the equipment but also makes it more difficult to upgrade and modify the equipment, or forces customers to purchase equipment with built-in power outage protection functions.

[0003] As CNC machine tools develop towards higher precision and intelligence, especially with the increasing application of cemented carbide in high-end manufacturing fields such as aerospace and precision molds, the need for power-off tool lifting protection functions of equipment is growing. However, existing power-off tool lifting protection technologies carry a high risk of scrapping high-value cemented carbide machining tools and products, and require additional production costs. They are gradually becoming unable to meet the modern manufacturing industry's demand for higher processing reliability and safety while also requiring lower production costs. Summary of the Invention

[0004] This invention provides a machine tool tool lifting control method and system based on intelligent power-off protection, aiming to solve at least one of the technical problems existing in the prior art. To this end, the machine tool tool lifting control method and system based on intelligent power-off protection proposed in this invention can achieve fully autonomous power-off protection, effectively shortening the tool lifting response time.

[0005] The technical solution of this invention relates to a machine tool tool lifting control system based on intelligent power failure protection, comprising: a status monitoring module, an emergency power supply module, and a direct drive actuator; the status monitoring module is equipped with a power failure detection signal input port to monitor the power failure signal in real time and use it as the basis for triggering the protection function; the emergency power supply module uses the remaining electrical energy of the servo driver before the power failure as the energy source for the direct drive actuator to perform the power failure tool lifting action; the direct drive actuator controls the machining axis retraction path trajectory through a CNC system to perform the power failure tool lifting operation.

[0006] Furthermore, the emergency power supply module includes a first power supply provided by a switching power supply accessory to power the external remote input / output port module, and a second power supply provided by a system servo power supply module to power only the internal local input / output ports of the system.

[0007] Furthermore, the emergency power module is provided with a first interface for forming an independent local control power circuit, a second interface for forming a power supply circuit for peripheral devices, and a third interface for connecting the system and the sub-panel.

[0008] Furthermore, the emergency power supply module is equipped with an isolation relay for electrical isolation of electrical control signals, and all terminals of the emergency power supply module are connected in a star configuration.

[0009] Furthermore, the system control's three-axis input / output signal lines are connected to the system's local input and output ports.

[0010] Furthermore, the status detection module is also equipped with a circuit drop detection circuit for real-time monitoring of the grid voltage and a spindle load change detection unit for determining the power outage state by analyzing the characteristics of the drive current ripple.

[0011] Furthermore, the direct drive actuator uses a linear motor and a ball screw to drive the machining axis to move.

[0012] The technical solution of this invention relates, on one hand, to a machine tool tool lifting control method based on intelligent power failure protection, and on the other hand, to a machine tool tool lifting control system based on intelligent power failure protection applied in embodiments of this invention. The method according to this invention includes the following steps:

[0013] S100. The status detection module acquires and monitors the grid voltage fluctuation and spindle load characteristic parameters in real time, so as to monitor the power failure signal in real time and use it as the basis for determining the triggering of the protection function.

[0014] S200. When the system detects an abnormal signal that meets the characteristics of a power outage, it quickly activates the emergency power supply module within a set time and simultaneously calls up the parameters of the current processing state.

[0015] S300 interrupts the normal axis movement of the CNC channel, triggers an independent machining axis to move upward, and executes a graded tool lifting protection strategy through the direct drive actuator.

[0016] Furthermore, the graded knife lifting protection strategy in step S300 includes:

[0017] The first stage involves rapidly increasing the stroke by 3mm at a speed of 0.5m / s to achieve initial separation;

[0018] The second stage is at -2m / s 2 The acceleration is buffered and decelerated to ensure smooth motion;

[0019] The third stage ultimately positions the target height at the preset safety level.

[0020] Furthermore, in step S200, the shutdown and power-off status of the detection equipment is determined by combining the emergency stop signal with the PLC ready status.

[0021] The present invention also relates to a computer-readable storage medium having program instructions stored thereon, which, when executed by a processor, implement the above-described method.

[0022] The technical solution of the present invention also relates to a machine tool tool lifting control system based on intelligent power failure protection, the system including a computer device, the computer device including the aforementioned computer-readable storage medium.

[0023] The beneficial effects of this invention are as follows.

[0024] The machine tool tool lifting control method and system based on intelligent power failure protection of the present invention can immediately pause the executing program and automatically raise the Z-axis height when the machine tool experiences a sudden power failure, thereby effectively avoiding damage to high-value machining tools and workpieces such as carbide. Furthermore, the addition of this power failure tool lifting protection function only requires modifications to the system PLC program and circuit wiring; it does not require a dedicated backup power supply or supercapacitor, and does not add any additional accessories. Attached Figure Description

[0025] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0026] Figure 1 This is a basic flowchart of the method according to the present invention.

[0027] Figure 2 This is a schematic diagram of the system voltage module and servo driver according to an embodiment of the present invention.

[0028] Figure 3This is a circuit diagram showing the emergency power supply module providing power to the servo module according to an embodiment of the present invention.

[0029] Figure 4 This is a circuit diagram showing the emergency power supply module providing power to the servo module according to an embodiment of the present invention.

[0030] Figure 5 This is a power-off detection circuit diagram according to an embodiment of the present invention. Detailed Implementation

[0031] The following will provide a clear and complete description of the concept, specific structure, and technical effects of the present invention in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, solution, and effects of the present invention. It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other.

[0032] It should be noted that, unless otherwise specified, when a feature is referred to as "fixed" or "connected" to another feature, it can be directly fixed or connected to the other feature, or indirectly fixed or connected to the other feature. Furthermore, the descriptions of "upper," "lower," "left," "right," "top," and "bottom" used in this invention are only relative to the relative positional relationships of the various components of the invention in the accompanying drawings.

[0033] Furthermore, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this specification is for the purpose of describing particular embodiments only and not for limiting the invention. The term "and / or" as used herein includes any combination of one or more of the associated listed items.

[0034] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish elements of the same type from one another. For example, without departing from the scope of this disclosure, a first element may also be referred to as a second element, and similarly, a second element may also be referred to as a first element.

[0035] See Figures 1 to 5 The machine tool tool lifting control system based on intelligent power failure protection of the present invention includes a status monitoring module, an emergency power supply module, and a direct drive actuator. The status monitoring module is equipped with a power failure detection signal input port to monitor the power failure signal in real time and use it as the basis for triggering the protection function. The emergency power supply module uses the remaining electrical energy of the servo driver before the power failure as the energy source for the direct drive actuator to perform the power failure tool lifting action. The direct drive actuator controls the machining axis retraction path trajectory through the CNC system to perform the power failure tool lifting operation.

[0036] See Figures 1 to 5The machine tool tool lifting control method based on intelligent power failure protection of the present invention is applied to the machine tool tool lifting control system based on intelligent power failure protection in the embodiments of the present invention. The method includes at least the following steps:

[0037] S100. The status detection module acquires and monitors the grid voltage fluctuation and spindle load characteristic parameters in real time, so as to monitor the power failure signal in real time and use it as the basis for determining the triggering of the protection function.

[0038] S200. When the system detects an abnormal signal that meets the characteristics of a power outage, it quickly activates the emergency power supply module within a set time and simultaneously calls up the parameters of the current processing state.

[0039] S300 interrupts the normal axis movement of the CNC channel, triggers an independent machining axis to move upward, and executes a graded tool lifting protection strategy through the direct drive actuator.

[0040] In the event of a sudden power outage while using a machine tool, this invention can immediately pause the executing program and automatically raise the Z-axis height, effectively preventing damage to high-value machining tools and workpieces, such as those for carbide machining. Furthermore, this invention adds this power-off tool-lifting protection function only by modifying the system PLC program and circuit wiring, without adding any additional accessories or finished products.

[0041] It should be noted that in existing technologies, a sudden power outage of a customer's machine tool can cause several problems, such as damage to the machined workpiece, with severe damage leading to scrapping, and even minor damage requiring reprocessing; tool damage, which incurs significant production costs for carbide machining; and damage to the spindle and its accessories. By applying the power-off tool retraction protection function of this invention to existing systems, these problems can be effectively avoided, and customers can resume production simply by restarting the equipment. Furthermore, this function can be added to existing systems without requiring additional spare parts; only the system PLC program and circuit wiring need to be modified. No additional dedicated power supplies or supercapacitors are needed, effectively ensuring that customer-processed workpieces are not damaged during power outages without increasing production costs.

[0042] In some embodiments, the emergency power module of the present invention utilizes a capacitor unit for energy storage and employs the remaining electrical energy of the servo driver before a power outage as the energy source for performing the power-off blade lifting action, thereby providing energy for the power-off blade lifting function through a low-cost capacitor energy storage unit. See also Figure 2 For the servo power module that comes with the system, its 24V output can continue to provide power output for about 3 seconds after the main power is disconnected. This invention utilizes the above-mentioned characteristics of the system power module and achieves effective power failure protection for tool lifting through circuit optimization and PLC program control.

[0043] In one application embodiment, the emergency power supply module of the present invention divides the 24V power supply provided by the machine tool of the system into two parts. One part is a first power supply provided by the switching power supply accessories, which is a 24V power supply and supplies the external remote input / output port module for circuit board control of machine tool signals and auxiliary accessory control power, such as: tri-color lights, lubricating oil pump, tool magazine, limit switches, etc. The other part is a second power supply provided by the system servo power supply module, which is a 24V power supply and supplies only the system's internal local input / output port, that is, it is a power supply used solely for three-axis servo drive and Z-axis motor brake control. Thus, by using the independent servo module power supply, the program operation can be paused within 3 seconds after a power failure, and the Z-axis can be quickly raised, thereby protecting the workpiece from damage.

[0044] Specifically, see Figure 3 and Figure 4 The emergency power supply module of the present invention is equipped with two independent power supplies. One of them supplies power to the external remote I / O module through the QV terminal (i.e. the second interface) to drive peripheral devices such as tri-color lights and lubricating oil pumps. The other one supplies power to the internal local I / O module through the QV2-QD-X4 terminal (i.e. the first interface) to provide control power for the three-axis servo drive and Z-axis motor brake.

[0045] Furthermore, the system uses three-phase AC power inputs (L1, L2, L3), controls the on / off state of the main power supply via the KMS1 main contactor, and outputs +24V DC power after conversion by the servo power module.

[0046] Furthermore, the system connects to key control signals such as ERROR RESET and PWM ENABLE through interfaces such as X3 and X4, and communicates with the PLC through the output of Y2. SW2-QD-X4 serves as a backup control interface.

[0047] The electrical control signal (L0-4) driven by this invention is electrically isolated through the isolation relay KA4. All grounding terminals (PE) are connected in a star configuration to ensure consistent potential. This physical isolation between the external device power supply (i.e., the first power supply) and the core control power supply (i.e., the second power supply) allows the three-axis preparation input and enable output signals to be centralized at the system's local I / O port while maintaining the original system functions. This provides a reliable hardware foundation for the power failure protection function. At the same time, the reset signal (L0-1) of the X4 interface enables rapid recovery from abnormal states, which helps ensure that the servo system can use the remaining power to maintain Z-axis braking control during power failure. This, combined with the PLC program, enables a power failure protection tool lifting action within 3 seconds.

[0048] In some embodiments, the present invention provides a power-off knife lifting protection function by modifying the circuit and writing a corresponding PLC program.

[0049] See Figure 3 and Figure 4 For circuit optimization and modification, it is only necessary to change the three-axis preparation input and enable output signals of the system control to the local input and output ports of the system accordingly. This allows the power module to provide power for about 3 seconds after a power failure. This invention modifies the circuit of the input and output signals of the three-axis drive section to provide power to the three-axis servo drive module for 3 seconds after a power failure. Combined with the system PLC program, the power failure tool lifting protection function is realized.

[0050] Referring to Table 1, the present invention modifies the connection of the three-axis input / output signal lines of the system control to the local input and output ports of the system as follows.

[0051] Table 1. Comparison of Line Modification Before and After

[0052]

[0053] Specifically, see Figure 3 and Figure 4 This invention employs a modular power supply design. The first interface (+24V2-QD-X4 and 0V2-QD-X4 interfaces) forms an independent local control power supply loop, dedicated to the preparation input and enable output signal control of the three-axis servo system. The second interface (+24V2-QD-X6 and 0V2-QD-X6 interfaces) forms a power supply loop for peripheral devices. The emergency power module achieves electrical connection between the main control system and the sub-panel through the third interface (X4 interface). The PE protective grounding terminal uses a multi-point grounding method to ensure system safety. It should be noted that this invention centralizes the originally dispersed three-axis control signals to the system's local input / output ports, achieving efficient signal transmission through the A22 interface. This dual-loop power supply architecture ensures the power supply stability of the core control circuit and optimizes the control signal path, providing a reliable hardware foundation for power failure protection. Furthermore, the redundant design of the sub-panel enhances the system's maintainability. All terminals are numbered in a standardized manner (e.g., 1, 2, 3, etc.) to ensure assembly consistency, which significantly improves the response speed and reliability of control signals while maintaining the original functions of the system.

[0054] In some application embodiments, the status monitoring module of the present invention adds a "power off detection" input signal to the original machine tool circuit wiring, see [link to relevant documentation]. Figure 5The system of this invention is equipped with an input port for power-off detection signal, a circuit drop detection circuit, and a spindle load surge detection unit. The threshold for voltage drop detection can be set to 220V±5%, and the spindle load surge monitoring is based on current ripple analysis. Specifically, the system receives the power-off detection signal through the L1-6 local input port. This signal is controlled by the contacts of the intermediate relay KA0, whose coil power supply is the +24V2-QD-X6 dedicated interface of the servo power module.

[0055] In one application embodiment, the power-off detection of the present invention includes a dual detection mechanism: on the one hand, a voltage drop detection circuit connected to the AC220L and AC220N input terminals monitors the mains voltage in real time, triggering a primary power-off judgment when the voltage deviates from the set threshold of 220V±5%; on the other hand, combined with the spindle load mutation monitoring unit, the authenticity of the power-off state is verified by analyzing the characteristics of the drive current ripple. Thus, the composite detection method, through the coordinated work of the hardware circuit and the signal processing unit, combines mechanical contact signals with electrical characteristic analysis, effectively avoiding false triggering that may occur with a single detection method. The voltage detection circuit directly monitors the main power supply quality, while the spindle current analysis unit cross-verifies the power-off state from the load side. The output signals of both are logically processed and act together on the KA0 relay, ultimately providing a highly reliable power-off state signal to the PLC control system through the L1-6 input port, providing an accurate triggering basis for subsequent tool lifting protection actions.

[0056] In some embodiments, when the equipment suddenly loses power, the system's local input port does not receive a signal, and the CNC channel temporarily interrupts the axis movement. Then, it triggers the independently moving machining axis (Z-axis) to rapidly move upwards a set distance at a set feed rate, thereby achieving the effect of rapid tool retraction in the event of a power outage. Specifically, see the following PLC program for power-off protection in this application:

[0057] ---------------------PLC Input Signals----------------------------

[0058] Local input port — LI

[0059] DEF I_POWEROFF LI6; Power off detection

[0060] ;--------------------------Power-off tool lifting control---------------------------

[0061] PE 4; a periodic module that executes every 4 milliseconds.

[0062] NOT M200 AND NOT I_POWEROFF=SET M555

[0063] DFU I_POWEROFF=RES M555

[0064] DFU M555 = MOVEADD(Z, 100000, 100000000, NULL); F10000 feeds the Z-axis upward by 10.

[0065] END

[0066] PRG

[0067] REA

[0068] I_EMERG AND PLCREADY=_EMERGEN=_XFERINH=M100

[0069] I_EMERG AND PLCREADY AND I_POWEROFF=_FEEDHOL=M200

[0070] In terms of signal detection, this invention monitors power-off signals (such as I_POWEROFF) in real time through the local input port LI6, using this as the basis for triggering the protection function. Regarding execution control, the system adopts a periodic execution mode (e.g., once every 4 milliseconds). When a power-off signal is detected (e.g., NOT I_POWEROFF), a flag bit (e.g., M555) is immediately set, and a rapid Z-axis upward movement command is executed via differential rising edge triggering (i.e., DFU), moving the Z-axis upward a set distance (e.g., 10 units) at a set feed rate (e.g., F10000). To ensure system reliability, the program incorporates multiple protection logics, including a combined judgment of the emergency stop signal (I_EMERG) and the PLC readiness status (PLCREADY), and control of the feed hold (_FEEDHOL) function via the flag bit M200. The PLC program for power-off tool lifting of this invention can immediately interrupt the conventional axis movement of the CNC channel when a power failure signal is detected, and instead trigger an independent Z-axis rapid upward movement, effectively overcoming the problem of the Z-axis sliding down due to gravity after power failure in traditional systems. By controlling the power-off tool lifting method through the PLC program of this invention, the system can respond quickly at the moment of power failure, completing the protective tool lifting action within the 3 seconds that the remaining power of the servo system sustains, thereby effectively avoiding damage to valuable tools such as carbide tools and workpieces. It is understood that existing systems, lacking this power-off tool lifting protection function, will lose power to all three axes when the machine tool experiences a sudden power failure, and the Z-axis will descend due to gravity, easily causing tool damage.

[0071] In some embodiments, the present invention employs a direct-drive actuator, using a scheme of linear motor and ball screw coordinated transmission, and precisely controls the retraction path trajectory through a CNC system. See also Figure 1 The present invention discloses a direct-drive actuator for implementing a machine tool tool lifting control method based on intelligent power failure protection, comprising the following steps: First, real-time monitoring of mains voltage fluctuations and spindle load characteristic parameters; when the system detects an abnormal signal that meets the characteristics of a power failure, the emergency power supply module is quickly activated within a set time (e.g., within 50 milliseconds), and key parameters of the current machining state (including tool space coordinates, feed rate, and other machining data) are simultaneously invoked; subsequently, a graded tool lifting protection strategy is implemented, the execution steps of which include: the first stage rapidly lifting the tool by 3mm at a speed of 0.5m / s to achieve initial disengagement; the second stage lifting the tool by -2m / s... 2 The acceleration is buffered and decelerated to ensure smooth movement. In the third stage, the device is precisely positioned to a preset safe height, with a position control accuracy of ±0.1mm. It is understood that the first, second, and third stages of the tiered tool-lifting protection strategy of this invention can be divided according to the tool-lifting height or the tool-lifting time. This multi-level linkage execution mechanism, through optimized power transmission paths and motion control algorithms, completes the entire process from anomaly detection to safety protection in a very short time, effectively ensuring the safety of valuable machining equipment, tools, and workpieces.

[0072] It is understandable that power-off protection is crucial for CNC machine tools performing large-scale precision mold machining, especially in the field of carbide machining where both cutting tools and finished products are expensive. Furthermore, the usage of certain brand systems among dispersed customer groups has significantly increased, and these customers often have more stringent requirements for machining accuracy than traditional machine tool users. In practical applications, due to the inconsistent power supply environments of these dispersed customers, power instability is frequent. When machining high-value carbide products, a sudden power outage can cause the Z-axis servo system to malfunction, and the spindle to rapidly slide down due to gravity. This can not only create irreparable groove defects on the surface of expensive carbide workpieces but also damage valuable carbide cutting tools. For large-scale precision mold machining, such machining accidents not only cause direct economic losses but also seriously affect the customer's production schedule and delivery cycle. To address this technical challenge, this invention optimizes the system circuitry and writes a dedicated PLC program, achieving a reliable power-off tool retraction protection function without increasing additional hardware costs. This technical solution maintains the system's cost advantage while effectively preventing damage to cemented carbide workpieces and cutting tools due to sudden power outages. It is particularly suitable for dispersed customer groups with high requirements for both processing safety and economy, and provides dual protection for high-value cemented carbide machining. Specifically, as shown in Table 2 below, the power outage protection function of this invention can effectively improve the overall performance of the equipment.

[0073] Table 2. Equipment Performance Comparison Table

[0074] Response time 200-500ms ≤50ms Energy storage retention period 15-20% 3-6 months 5 years or more Position control accuracy Open-loop control Closed-loop feedback False trigger rate 15-20% <0.5% Maintenance cycle Monthly check Annual maintenance ≤50ms Environmental adaptability Avoid dampness and vibration. IP54 protection rating

[0075] In some embodiments, applying the power-off protection of the present invention to carbide machining is beneficial for maximizing the protection of expensive cutting tools (especially diamond / PCD tools) and achieving high-quality workpiece surface finish, particularly in finishing and corner clearing stages. Specifically, because carbide is extremely hard and brittle, when the tool completes a cutting path (such as a cavity, a groove, or a boss sidewall), if the spindle is still rotating, the tool edge (even diamond) may experience minor scratches or collisions with the machined surface as the tool retracts from the workpiece along the Z-axis or rapidly moves to the next position. Furthermore, workpiece edges (especially irregular edges or thin walls) are very prone to chipping (edge ​​breakage) when the rotating tool retracts. Even very slight contact can lead to tool chipping or workpiece surface scratches, affecting dimensional accuracy and surface quality. However, with the machine tool lifting control based on intelligent power-off protection of the present invention, the spindle rotation is stopped (power off) before the tool completes the current cutting path and is ready to be lifted off the workpiece surface, and then the Z-axis lifting action is performed. This effectively ensures that the tool leaves the workpiece surface in a completely stationary state.

[0076] In some application embodiments, the present invention can be applied to a variety of machining scenarios. For example, in finishing contours or cavities, power is cut off before tool retraction after the final milling of a cavity or contour. In corner clearing, when using small-diameter tools to clear corners, cutting off power before tool retraction after corner cutting effectively avoids corner chipping caused by stress concentration in the corner area, which makes the edges extremely fragile. In thin-walled / cantilever structure machining, using the method of the present invention to machine thin-walled or slender bosses of cemented carbide effectively avoids the problem of easily damaging the workpiece edges when the tool retracts. For high-precision, high-surface-quality requirements, the present invention is applicable to the machining of any cemented carbide parts with extremely high requirements for surface finish and edge integrity. Furthermore, when using expensive tools (diamond / PCD), the present invention effectively protects the cutting edge of valuable diamond tools from any unnecessary damage.

[0077] Specifically, employing the power-off tool retraction protection function of this invention, during machining, after the tool completes the current cutting path (such as machining the sidewall of a cavity, groove, or boss), the system first executes the M05 command to stop the spindle rotation, and ensures the spindle completely stops by programming the G04 P1.0 delay command. This waiting process is crucial to avoid contact between the tool and the workpiece. After the spindle completely stops, the system controls the Z-axis to vertically lift the tool to a safe height using the G00 or G01 command. This purely vertical motion path effectively prevents workpiece scraping that may occur due to XY plane movement. After rapidly moving to above the next machining starting point at the safe height, the tool first descends to a safe plane 1-2 mm from the workpiece surface, and then restarts the spindle using the M03 S [speed] command. After an appropriate delay, the spindle reaches a stable speed, and finally, a feed command is used to begin a new cutting path. It should be noted that ensuring the spindle reaches the set stable speed is equally important for improving machining quality.

[0078] This invention effectively protects the cutting edge of the tool, greatly reduces micro-chipping caused by tool retraction and scraping, and extends the life of diamond / PCD tools; it effectively prevents workpiece chipping, fundamentally avoiding damage to the workpiece edge when the rotating tool retracts, ensuring contour integrity and dimensional accuracy; it improves machining reliability, reducing the risk of downtime, rework, or even workpiece scrap due to tool or workpiece chipping; and it effectively reduces costs. Although it increases machining time (spindle start-stop), it can reduce overall costs in the long run by protecting expensive tools and improving yield.

[0079] Understandably, in carbide machining, especially in finishing, corner clearing, and machining vulnerable structures, the power-off tool retraction protection of this invention is crucial. By sacrificing some machining efficiency (spindle start-stop time), it completely eliminates the risk of damage (chipping, workpiece breakage, scratches) caused by the tool retracting from the workpiece while rotating. It plays an irreplaceable role in protecting expensive diamond / PCD tools and ensuring high precision and high surface quality (especially edge integrity) of carbide workpieces. Although it increases programming complexity and cycle time, the resulting improvement in yield, extended tool life, and enhanced machining reliability makes it a worthwhile key technology to invest in for demanding carbide machining. During programming and implementation, it is essential to strictly ensure that the tool is retracted only after the spindle has completely stopped, and that cutting only begins after the spindle has reached a stable speed.

[0080] It should be understood that the method steps in the embodiments of the present invention can be implemented or carried out by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable storage medium. The method can use standard programming techniques. Each program can be implemented in a high-level procedural or object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly or machine language. In any case, the language can be a compiled or interpreted language. Furthermore, for this purpose, the program can run on a programmed application-specific integrated circuit (ASIC).

[0081] Furthermore, the procedures described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by the context. The procedures described herein (or variations and / or combinations thereof) may be executed under the control of one or more computer systems configured with executable instructions, and may be implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that commonly executes on one or more processors. The computer program comprises a plurality of instructions executable by one or more processors.

[0082] Furthermore, the method can be implemented in any suitable type of computing platform, including but not limited to personal computers, minicomputers, mainframes, workstations, networked or distributed computing environments, standalone or integrated computer platforms, or in communication with charged particle tools or other imaging devices, etc. Aspects of the invention can be implemented as machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, optical read and / or write storage medium, RSM, ROM, etc., such that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the processes described herein. Furthermore, the machine-readable code, or portions thereof, can be transmitted via wired or wireless networks. The invention described herein includes these and other different types of non-transitory computer-readable storage media when such media comprises instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor. When programmed according to the methods and techniques described in the invention, the invention may also include the computer itself.

[0083] A computer program can be applied to input data to perform the functions described herein, thereby transforming the input data to generate output data stored in non-volatile memory. The output information can also be applied to one or more output devices, such as a display. In a preferred embodiment of the invention, the transformed data represents physical and tangible objects, including specific visual depictions of physical and tangible objects generated on the display.

[0084] The above description is merely a preferred embodiment of the present invention. The present invention is not limited to the above-described embodiments. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention, as long as they achieve the technical effects of the present invention by the same means, should be included within the scope of protection of the present invention. Within the scope of protection of the present invention, the technical solutions and / or implementation methods can have various modifications and variations.

Claims

1. A machine tool lift control system based on intelligent power-off protection, comprising: Status detection module, emergency power supply module, and direct drive actuator; The status detection module is equipped with a power-off detection signal input port to monitor the power-off signal in real time and use it as the basis for determining the triggering of the protection function; wherein, the power-off detection signal input port is connected to the local input port of the system through the contacts of an intermediate relay; The emergency power supply module divides the 24V power supplied by the machine tool into two parts. One part is a first power supply provided by the switching power supply accessories, which supplies the external remote input / output port module for circuit board control of machine tool signals and auxiliary accessory control power. The other part is a second power supply provided by the system servo power supply module, which only supplies the internal local input / output port of the system and is used solely for three-axis servo drive and Z-axis motor brake control. The system servo power supply module continues to output power after the power is disconnected, and this power supply provides energy for the direct drive actuator to perform the power-off tool lifting action. The system periodically executes the PLC program, monitors the power-off signal in real time, and executes the tool lifting command through the differential rising edge when the power-off set flag is detected. The direct drive actuator controls the machining axis retraction path trajectory through the CNC system to perform power-off tool lifting operation.

2. The machine tool tool lifting control system based on intelligent power failure protection according to claim 1, characterized in that, The emergency power supply module is equipped with an isolation relay for electrical isolation of electrical control signals, and all terminals of the emergency power supply module are connected in a star configuration.

3. The machine tool tool lifting control system based on intelligent power failure protection according to claim 1, characterized in that, The system control's three-axis input / output signal lines are connected to the system's local input and output ports.

4. The machine tool tool lifting control system based on intelligent power failure protection according to claim 1, characterized in that, The status detection module is also equipped with a circuit drop detection circuit for real-time monitoring of grid voltage and a spindle load change detection unit for determining the power outage state by analyzing the characteristics of the drive current ripple.

5. The machine tool tool lifting control system based on intelligent power failure protection according to claim 1, characterized in that, The direct drive actuator uses a linear motor and a ball screw to drive the machining axis to move.

6. A machine tool tool lifting control method based on intelligent power failure protection, characterized in that, The method for a machine tool tool lifting control system based on intelligent power failure protection, as described in any one of claims 1 to 5, comprises the following steps: S100. The status detection module acquires and monitors the grid voltage fluctuation and spindle load characteristic parameters in real time, so as to monitor the power failure signal in real time and use it as the basis for determining the triggering of the protection function. S200. When the system detects an abnormal signal that meets the characteristics of a power outage, it quickly activates the emergency power supply module within a set time and simultaneously calls up the parameters of the current processing state. S300 interrupts the normal axis movement of the CNC channel, triggers an independent machining axis to move upward, and executes a graded tool lifting protection strategy through the direct drive actuator.

7. The machine tool tool lifting control method based on intelligent power failure protection according to claim 6, characterized in that, The graded knife lifting protection strategy in step S300 includes: The first stage involves rapidly increasing the stroke by 3mm at a speed of 0.5m / s to achieve initial separation; The second phase is buffered deceleration with an acceleration of -2 m / s 2 which ensures smooth movement. The third stage ultimately positions the target height at the preset safety level.

8. The machine tool tool lifting control method based on intelligent power failure protection according to claim 7, characterized in that, In step S200, the shutdown and power-off status of the detection equipment is determined by combining the emergency stop signal and the PLC ready status.

Citation Information

Patent Citations

  • Numerical controller for retraction control

    CN105629884A

  • Fault diagnosis method for DCS power system

    CN110632912A