A Fault Early Warning System for CNC Machine Tools

By collecting and analyzing the current data of CNC machine tool drive motors in real time, identifying inrush current events and calculating fault risks, it solves the problem of faults that are difficult to give early warning in the existing technology, and achieves timely early warning of CNC machine tool faults and guarantees equipment stability.

CN118363347BActive Publication Date: 2024-09-06GUANGZHOU HEXING ELECTROMECHANICAL TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410796666.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-06
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

It is difficult for existing CNC machine tool control systems to provide real-time feedback and correction of fine changes in the machining cycle, resulting in reduced positioning accuracy and failure to provide effective early warning of potential risks of mechanical failure, which in turn affects production continuity and equipment stability.

Method used

By collecting the current data of each axis drive motor of CNC machine tools in real time, instantaneous impact current events are identified and counted, the impact assessment coefficient is calculated, the risk of failure is assessed, and an alarm is issued in a timely manner through the early warning module to prevent potential failures.

Benefits of technology

It achieves forward-looking early warning of the risk of CNC machine tool failure, reduces production interruptions, ensures high-precision operation of equipment and production continuity, and avoids cost increases caused by equipment failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118363347B
    Figure CN118363347B
Patent Text Reader

Abstract

The invention discloses a fault warning system for a numerically controlled machine tool, relates to the field of early warning for numerically controlled machine tools, and solves the technical problem that the impact current on the driving motor and the overall stability of the numerically controlled machine tool during operation is affected, but the impact current cannot be evaluated to determine the degree of impact and to issue an alarm; the invention continuously collects the real-time operating current data of the driving motors of each axis of the numerically controlled machine tool, and particularly focuses on the detection of transient impact current; by processing the current signal, the captured impact current event is timestamped and the amplitude feature is extracted, so as to realize the refined statistical analysis of its frequency, intensity and duration; based on the analysis result, the fault risk performance of the numerically controlled machine tool is evaluated, and a risk warning program is used for self-checking, and the state of the numerically controlled machine tool is judged through a fault judgment program to solve the above-mentioned problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of processing early warning, relates to a CNC machine tool early warning technology, and specifically is a CNC machine tool fault early warning system. Background Art

[0002] During the manufacturing operation of CNC machine tools, factors such as power supply network fluctuations, unreasonable processing instruction settings or abnormal operation of mechanical components can trigger instantaneous overcurrent phenomena in dynamic operations of various motion axes. Although such currents avoid triggering the immediate alarm system due to their short duration, their potential impact effects are easily underestimated. Although individual events do not reach the alarm threshold of the motor protection device, the frequent and accumulated impact currents will cause significant damage to the performance and durability of the drive motor, leading to problems such as attenuation of machine tool positioning accuracy, accelerated loss of mechanical components and loose structural connections.

[0003] The control system architecture of existing CNC machine tools mostly adopts an open-loop or semi-closed-loop feedback design. The limitation of this design is that it is difficult to achieve fine feedback correction during the processing cycle, which affects the processing accuracy and limits the system's ability to self-diagnose abnormal conditions.

[0004] In addition, existing technologies still have defects in quantifying and evaluating the cumulative effects of such transient overcurrent events, and have failed to build an effective mechanism to proactively identify and warn of potential operational risks. This shortcoming has become a potential cause of production interruptions and failures. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a fault warning system for a CNC machine tool, which is used to solve the technical problem that the impact current on the driving motor and the overall stability of the CNC machine tool during operation is affected by the impact current, but the impact current cannot be evaluated to determine the degree of impact and make an alarm. The present invention continuously collects the real-time operating current data of the driving motor of each axis of the CNC machine tool, and particularly focuses on the detection of transient impact current; by processing the current signal, the captured impact current event is timestamped and the amplitude feature is extracted to achieve refined statistical analysis of its frequency, intensity and duration; based on the analysis result, the performance of the CNC machine tool is evaluated, and the program self-check is performed to determine the status of the CNC machine tool to solve the above-mentioned problem.

[0006] To achieve the above object, the first aspect of the present invention provides a CNC machine tool fault warning system, comprising:

[0007] Data acquisition module: used to collect basic parameters of each axis of the CNC machine tool; the basic parameters include drive data and operation data; the drive data includes the current, voltage and speed of the drive motor, and the operation data includes the running trajectory and positioning position of the axis;

[0008] Data processing module: used to analyze whether the collected current is an impact current; if it is, calculate the impact assessment coefficient based on the current parameters of the impact current, and judge whether the machine tool has a failure risk; wherein the current parameters include the current value, duration and trigger frequency of the impact current;

[0009] Early warning module: used to calculate the fault risk value of the machine tool when there is a risk of failure; execute the fault judgment program based on the fault risk value to complete the fault judgment of the machine tool; among which, the fault risk value is used to evaluate the possibility of failure of the machine tool, and the fault judgment program is used to test whether the machine tool has a fault.

[0010] First, the running current of the CNC machine tool motor is monitored in real time, especially the impact current that may cause potential damage to the motor. The collected current signal is optimized by using filtering and denoising technology to effectively eliminate environmental interference and ensure the accuracy and reliability of the data.

[0011] The optimized current data is analyzed in depth to identify the inrush current events and record their amplitude, duration and frequency. By counting these data, the data processing module can quantify the impact of the inrush current on the motor and establish a detailed usage profile for each motor, making it easier to track the health status of the motor and predict potential maintenance needs.

[0012] Based on the statistical impact current data, the data processing module further calculates the fault risk value, which is an indicator obtained by comprehensively considering factors such as current impact intensity and frequency, and can objectively reflect the failure risk faced by the motor due to impact current. This assessment is not limited to the motor itself, but can also assist in determining whether other mechanical failures may be caused by it, providing data support for maintenance decisions.

[0013] Through continuous monitoring and analysis, CNC machine tools can immediately issue early warnings when the possibility of failure first emerges, allowing the maintenance team to intervene before the failure occurs and take preventive measures to avoid production interruptions caused by sudden failures and ensure production continuity and efficiency.

[0014] Furthermore, current risk numerical calculation is performed based on the impact current to determine whether there is a fault risk, including:

[0015] When the cumulative impact assessment coefficient of a single processing cycle exceeds the first impact threshold or the cumulative impact assessment coefficient of all processing cycles exceeds the second impact threshold, it is determined that there is a fault risk.

[0016] The impact of the impact current on the drive motor cannot be reflected in a single trigger, but the greater the amplitude, the longer the duration and the higher the frequency of the impact current received by the drive motor, the more likely it is to cause failure.

[0017] Furthermore, when the impact assessment coefficient accumulated in a single processing cycle exceeds the first impact threshold or the impact assessment coefficient accumulated in all processing cycles exceeds the second impact threshold, it is determined that there is a fault risk, including:

[0018] The impact assessment coefficient CJPGn of the nth processing cycle is calculated by the formula CJPGn=[ζ1×T1n×EXP(1)+ζ2×T2n×EXP(2)+ζ3×T3n×EXP(3)] / CJTn, where ζ1, ζ2, and ζ3 are proportional coefficients and are positive numbers; T1n is the cumulative time when the impact current of the nth processing cycle exceeds 0-100% of the rated current, T2n is the cumulative time when the impact current of the nth processing cycle exceeds 100%-150% of the rated current, and T3n is the cumulative time when the impact current of the nth processing cycle exceeds 150% of the rated current. CJTn is the machine tool operation time, and n is the single processing cycle number and is a positive integer.

[0019] The cumulative impact assessment coefficient of all processing cycles is calculated as CJPGN using the formula CJPGN=(CJPG1+CJPG2+CJPG3+…+CJPGn).

[0020] Furthermore, calculating the failure risk value of the computer tool comprises the following steps:

[0021] Import the executing program into the time interrupt program;

[0022] The time interrupt program obtains the set value and feedback value of the drive motor by monitoring the program being executed, and calculates the fault risk value, wherein the fault risk value refers to the absolute value of the difference between the set value and feedback value of the drive motor.

[0023] By programming the time interrupt, a specific monitoring task can be automatically executed at a fixed interval. The advantage of this is that it can ensure the timing of the monitoring operation, which is not affected by the duration of other tasks executed by the main program, thereby improving the real-time and accuracy of the monitoring. When the time interrupt is triggered, the program will periodically read two key parameters: the motor set value (expected output) and the motor feedback value (actual output).

[0024] The fault risk value is acceptable within the normal range, reflecting the natural fluctuations or slight external disturbances in the system response process. However, when this difference exceeds the preset threshold, it is considered an abnormal situation, indicating that there may be increased external interference, motor failure, control algorithm problems, etc., which require further attention and resolution. Timely identification and processing of this fault risk value is crucial to ensure production safety, maintain product quality and improve equipment efficiency. It can help prevent motor overload and avoid equipment damage, while also ensuring the stability and accuracy of the control system.

[0025] Furthermore, before completing the fault judgment of the machine tool, judging whether to execute the fault judgment program based on the fault risk value includes:

[0026] Setting a third threshold;

[0027] Determine whether the fault risk value exceeds the third threshold value. If yes, determine that a fault judgment procedure is required; if no, continue to execute the procedure.

[0028] Furthermore, the process of the fault judgment program includes the following steps:

[0029] The shaft is positioned at an evaluation position, and a position deviation value between the actual position and the evaluation position is calculated. The evaluation position refers to a preset reference position, and the position deviation value includes a first position deviation value and a second position deviation value.

[0030] Determine whether the first position deviation value exceeds the first position threshold or whether the second position deviation value exceeds the second position threshold, if yes, trigger the CNC machine tool alarm program; if no, perform vibration detection;

[0031] Positioning the shaft at an evaluation speed, and measuring the swing amplitude of the shaft at a target position, wherein the evaluation speed is a preset reference speed;

[0032] Determine whether the actual swing amplitude exceeds the swing threshold. If yes, the CNC machine tool alarm program is triggered. If no, the current curve detection is performed. The swing threshold refers to the swing reference value generated by the CNC machine tool in a stable state.

[0033] Run the axis along the evaluation trajectory, record the actual current curve of the motor, compare the actual current curve with the evaluation current curve and calculate the current curve difference; the evaluation trajectory refers to a preset reference trajectory, and the evaluation current curve refers to a current curve generated when running on the evaluation trajectory at a specified speed.

[0034] It is determined whether the current curve difference exceeds the curve threshold. If yes, the CNC machine tool alarm is triggered. If no, the CNC machine tool maintains a normal working state.

[0035] Early warning is a proactive fault prevention measure that aims to detect potential equipment failures or performance degradation in advance, rather than responding passively after the failure occurs. This allows for timely maintenance intervention, reduces production interruptions caused by sudden equipment failures, and ensures production continuity and efficiency.

[0036] Traditional open-loop or semi-closed-loop control systems may not be able to accurately reflect the operating status of the equipment in real time, especially the slight changes in accuracy. However, closed-loop detection achieved through fault judgment means that the actual processing results or equipment status can be continuously compared with the expected target. Once the deviation is found to be beyond the allowable range, an early warning can be triggered immediately, so that corrective measures can be taken quickly to maintain the high-precision operation of the equipment.

[0037] Fault diagnosis avoids large-scale production delays or product scrapping due to equipment failures by discovering and solving potential problems in advance. This is especially important for CNC machine tools that produce high-precision, high-value-added products. It can effectively control costs and protect corporate interests.

[0038] Further, positioning the axis to the evaluation position and calculating the position deviation value between the actual position and the evaluation position include:

[0039] The motor performs N1 positioning according to the preset reference position, and records the actual position reached after each positioning, wherein the reference position has two reference points, the reference length is the distance between the two reference points, and N1 is a positive integer;

[0040] For each positioning, the deviation between the actual position and the nearest reference point is calculated to obtain N1 groups of first position difference values, and the deviation with the largest absolute value in the first position difference values ​​is screened out as the final first position deviation value.

[0041] Compare the total length of each positioning operation with the reference length, record the difference each time, obtain N1 groups of second position differences, and select the second position difference with the largest absolute value as the final second position deviation value.

[0042] By comparing the deviation between the positioning position of each axis and the reference position, and by comparing the deviation between the positioning length and the reference length, it is possible to determine whether the CNC machine tool has mechanical parts that are worn, loose, or program problems, which affect the positioning accuracy and cause excessive deviation.

[0043] Furthermore, the axis is positioned at the evaluation speed and the swing amplitude of the axis at the target position is measured, including:

[0044] The CNC machine tool axis performs N2 positioning according to a preset evaluation speed, where N2 is a positive integer greater than 1.

[0045] After each positioning instruction is completed, the data processing module calculates the swing amplitude of the axis in a stable state.

[0046] From the N2 positionings, find the one with the largest swing amplitude value and define it as the actual swing amplitude.

[0047] The actual swing amplitude is used to evaluate the dynamic performance and positioning stability of the axis at the evaluation speed. If the swing amplitude is too large, it may indicate mechanical looseness, improper control system adjustment or other potential problems.

[0048] Compared with the prior art, the beneficial effects of the present invention are: through this application, potential failures or performance degradation of equipment can be discovered in advance, rather than waiting until the failure occurs before responding passively. In this way, maintenance intervention can be carried out in a timely manner, reducing production interruptions caused by sudden equipment failures, and ensuring the continuity and efficiency of production. The closed-loop detection achieved through fault judgment means that the actual processing results or equipment status can be continuously compared with the expected goals. Once the deviation is found to exceed the allowable range, an early warning can be triggered immediately, so that measures can be taken quickly to correct it and maintain the high-precision operation of the equipment. By discovering and solving potential problems in advance, large-scale production delays or product scrapping caused by equipment failures are avoided, which is particularly important for CNC machine tools that produce high-precision, high-value-added products, and can effectively control costs and protect corporate interests. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 is a control flow chart of an embodiment of the present invention;

[0051] Figure 2 This is a risk warning flow chart of an embodiment of the present invention;

[0052] Figure 3 The figure is a flow chart of fault judgment according to an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] See also Figure 1 The first aspect of the present invention provides a control process of a fault warning system for a numerical control machine tool, including:

[0055] Step S10: Collect basic parameters of each axis of the CNC machine tool, optimize the collected current and determine whether the current is an impact current.

[0056] The step before step S10 is to establish a data sampling system.

[0057] For example, the data acquisition module is connected to the CNC machine tool drive motor controller through ETHERCAT, and the running current of the drive motor is obtained through communication.

[0058] Among them, the optimization processing includes filtering and denoising the collected current signal to ensure the accuracy of the data.

[0059] Step S20: Calculate the impact assessment coefficient based on the current parameter of the impact current, and determine whether the machine tool has a failure risk.

[0060] The current parameters include the current value, duration and trigger frequency of the impulse current.

[0061] Among them, in the impact effect assessment of CNC machine tools, the considerations are divided into two levels: immediate impact and long-term cumulative effect. First, focus on a single processing cycle, during which the impact currents frequently encountered by the machine tool have a high degree of immediate impact on the system due to the close time of occurrence. Through a detailed statistical analysis of these intensive impact currents, the "single cycle impact assessment coefficient" is calculated to quantify the intensity of the impact that the machine tool withstands in the short term.

[0062] Then, considering that even after a single cycle of operation is completed, the heat accumulation and structural stress of the motor induced by the impact current will not disappear immediately, but will undergo a gradual decay process. Based on this, the effect of the impact current in each processing cycle is accumulated to form the "cumulative processing cycle impact assessment coefficient". This indicator is designed to evaluate the progressive impact of repeated impacts on the overall performance of the machine tool under long-term operation, and capture potential damage that may be exacerbated by time accumulation.

[0063] In short, by distinguishing and comprehensively analyzing the instantaneous impact effect of a single processing and the cumulative damage across cycles, the assessment system aims to accurately identify the immediate and long-term risks faced by CNC machine tools due to impact current, ensure timely maintenance measures, and avoid failures.

[0064] When the impact assessment coefficient accumulated in a single processing cycle exceeds a first impact threshold or the impact assessment coefficient accumulated in all processing cycles exceeds a second impact threshold, it is determined that there is a fault risk.

[0065] The impact assessment coefficient CJPGn of the nth processing cycle is calculated by the formula CJPGn=[ζ1×T1n×EXP(1)+ζ2×T2n×EXP(2)+ζ3×T3n×EXP(3)] / CJTn, where ζ1, ζ2, and ζ3 are proportional coefficients and are positive numbers; T1n is the cumulative time when the impact current of the nth processing cycle exceeds 0-100% of the rated current, T2n is the cumulative time when the impact current of the nth processing cycle exceeds 100%-150% of the rated current, and T3n is the cumulative time when the impact current of the nth processing cycle exceeds 150% of the rated current. CJTn is the machine tool operation time, and n is the single processing cycle number and is a positive integer.

[0066] The cumulative impact assessment coefficient of all processing cycles is calculated as CJPGN using the formula CJPGN=(CJPG1+CJPG2+CJPG3+…+CJPGn).

[0067] For example, in the first processing cycle, n is 1, T1n is 10ms; T2n is 20ms; T3n is 30ms, and CJTn is 10000ms; based on experience, ζ1, ζ2, and ζ3 are all set to 1.

[0068] The cumulative impact evaluation coefficient of a single processing cycle is CJPG1 = [1×(1×10)×e+1×(2×10)×e 2 +1×(3×10)×e 3 ] / 1000=0.001e+0.002e 2 +0.003e 3

[0069] In another processing cycle, n is 1, T1n is 100ms; T2n is 200ms; T3n is 300ms, and CJTn is 10000ms; ζ1, ζ2, and ζ3 are all set to 1 based on experience.

[0070] The cumulative impact evaluation coefficient of a single processing cycle CJPGn2 = [1×(10×10)×e+1×(20×10)×e 2 +1×(30×10)×e 3 ] / 1000=0.01e+0.02e 2 +0.03e 3

[0071] According to experience, the first impact threshold is set to 0.5 and the second threshold is set to 1.

[0072] Since CJPGn1 is less than 0.5, it is not judged that there is a risk of failure;

[0073] Since CJPGn2 is greater than 0.5, it is judged that there is a risk of failure;

[0074] According to the formula: CJPGN = (CJPG1 + CJPG2) = 0.011e + 0.022e 2 +0.033e 3 ;

[0075] Since CJPGN is less than 1, the second threshold will not be triggered, so the impact evaluation coefficient CJPGN accumulated in all processing cycles will not determine that there is a risk of failure.

[0076] However, since CJPGn2 is greater than 0.5, it is still judged that there is a risk of failure and it is necessary to enter the risk warning program for detection.

[0077] Step S30: When the machine tool has a fault risk, the fault risk value of the machine tool is calculated to determine whether it is necessary to perform a fault determination of the machine tool.

[0078] The calculation of the fault risk value of the tool machine is completed through the risk warning process, that is, the time interrupt program monitors the set value and feedback value of the drive motor by scanning the program regularly, and calculates the deviation between the set value and the feedback value to evaluate the size of the fault risk value. By using the time terminal program, the interference caused by the main program scanning cycle can be avoided during the data collection process.

[0079] Step S40: Determine whether the machine tool has a fault.

[0080] See also Figure 2 , explain the risk warning process in detail:

[0081] Step S31: Import the program being executed into the time interruption program.

[0082] Among them, the interrupt program is a program that runs independently without referring to other program scans, which ensures the timeliness of data processing.

[0083] For example, if the interrupt duration is 1ms, the interrupt program will be executed every 1ms.

[0084] Step S32: the time interruption program obtains the set value and feedback value of the drive motor by monitoring the program being executed, and calculates the fault risk value, wherein the fault risk value refers to the absolute value of the difference between the set value and feedback value of the drive motor;

[0085] For example, in monitoring, it is found that the servo motor setting position is 100mm, but it actually only runs to 99mm. Then the deviation value is 100-99=1mm.

[0086] Or, the servo motor is set to run at 3000 rpm, but the actual running speed is 2900 rpm. Then the deviation is 3000-2900=100 rpm.

[0087] Step S33: Determine whether the fault risk value exceeds the third threshold value, if yes, execute step S35; if no, execute step S34.

[0088] For example, in the third threshold value, the position deviation value is 2 mm and the speed deviation value is 50 rpm;

[0089] The servo motor is set to a position of 100 mm, but actually only moves to 99 mm. The deviation value is 100-99=1 mm. Since 1 mm is less than the preset position deviation value of 2 mm, step S34 is executed.

[0090] Or, the servo motor is set to run at 3000 rpm, but the actual running speed is 2900 rpm. Then the deviation value is 3000-2900=100 rpm. Since 100 rpm is greater than the preset speed deviation value of 50 rpm, step S35 is executed.

[0091] Step S34: Continue processing.

[0092] Step S35: It is necessary to perform machine tool fault diagnosis.

[0093] Complete self-inspection of risk warning procedures.

[0094] See also Figure 3 , explain in detail the fault judgment process of whether the machine tool has a fault:

[0095] Step S41: positioning the shaft to an evaluation position, and calculating a position deviation value between the actual position and the evaluation position, wherein the evaluation position refers to a preset reference position, and the position deviation value includes a first position deviation value and a second position deviation value;

[0096] The first position deviation value is the point deviation value between the positioning point and the reference point, and the second position deviation value is the length deviation value between the positioning length and the reference length.

[0097] For example: the motor performs N1 positioning according to the preset reference position, and records the actual position reached after each positioning, wherein the reference position has two reference points, the reference length is the distance between the two reference points, and N1 is a positive integer; N1 positioning refers to the trajectory of N1 movements.

[0098] For each positioning, the deviation between the actual position and the nearest reference point is calculated to obtain N1 groups of first position difference values, and the deviation with the largest absolute value in the first position difference values ​​is screened out as the final first position deviation value.

[0099] Compare the total length of each positioning operation with the reference length, record the difference each time, obtain N1 groups of second position differences, and select the second position difference with the largest absolute value as the final second position deviation value.

[0100] Assuming that N1 is 4, the deviation values ​​between the actual position and the reference point are 0.01mm, 0.01mm, 0.011mm, 0.005mm, 0.1mm, 0.2mm, 0.03mm, and 0.02mm respectively, then 0.2mm is selected as the first position deviation value.

[0101] The total running lengths are 500.00mm, 500.06mm, 500.3mm, and 500.05mm respectively. The reference length is 500mm, and the length deviation values ​​are 0mm, 0.06mm, 0.3mm, and 0.05mm respectively. 0.3mm is selected as the length deviation value.

[0102] Step S42: Whether the first position deviation value exceeds the first position threshold value, if yes, proceed to step S49; if no, proceed to step S43.

[0103] If, during the initialization adjustment process, the test position deviation is normal at 0.1 mm and the length deviation is normal at 0.25 mm, the first position threshold is 0.1 mm and the second position threshold is 0.25 mm.

[0104] Step S43: Whether the second position deviation value exceeds the second position threshold value, if yes, proceed to step S49; if no, proceed to step S44.

[0105] Step S44: Position the shaft at the evaluation speed and measure the swing amplitude of the shaft at the target position.

[0106] The swing amplitude can be recorded and analyzed using a CDD industrial camera, and the steps include:

[0107] Mark the target location and the CDD camera respectively;

[0108] After completing the target position positioning, the target position mark is captured by CDD when the position swings;

[0109] The swing amplitude is obtained by analyzing the deviation value between the target position mark and the mark on the CDD camera through the photo.

[0110] Step S45: Whether the actual swing amplitude exceeds the swing threshold, if yes, proceed to step S49; if no, proceed to step S46.

[0111] Step S46: Run the shaft along the evaluation trajectory, record the actual current curve of the motor, compare the actual circuit curve with the preset circuit curve and calculate the curve difference.

[0112] Step S47: Whether the curve difference exceeds the curve threshold, if yes, proceed to step S49; if no, proceed to step S48.

[0113] Step S48: The CNC machine tool maintains a normal working state.

[0114] Step S49: triggering the CNC machine tool alarm.

[0115] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.

[0116] The working principle of the present invention is as follows: the present invention continuously collects the real-time operating current data of the drive motors of each axis of the CNC machine tool, and particularly focuses on the detection of transient impact current; by processing the current signal, the captured impact current event is timestamped and the amplitude feature is extracted to achieve refined statistical analysis of its frequency, intensity and duration; based on the analysis results, the fault risk performance of the CNC machine tool is evaluated, and a risk warning program is used for self-inspection, and the state of the CNC machine tool is judged through a fault judgment program to solve the above problems.

[0117] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A fault warning system for a numerically controlled machine tool, characterized in that: Data acquisition module: used to collect basic parameters of each axis of CNC machine tools; The basic parameters include drive data and operation data; the drive data includes the current, voltage and speed of the drive motor, and the operation data includes the running trajectory and positioning position of the shaft; Data processing module: used to analyze whether the collected current is an impact current; if it is, calculate the impact assessment coefficient based on the current parameters of the impact current, and judge whether the machine tool has a failure risk; wherein the current parameters include the current value, duration and trigger frequency of the impact current; Early warning module: used to calculate the fault risk value of the machine tool when there is a fault risk of the machine tool; execute the fault judgment program based on the fault risk value to complete the fault judgment of the machine tool; wherein the fault risk value is used to evaluate the possibility of the machine tool having a fault, and the fault judgment program is used to test whether the machine tool has a fault; The method of calculating the impact assessment coefficient based on the current parameter of the impact current and judging whether the machine tool has a failure risk includes: When the impact assessment coefficient accumulated in a single processing cycle exceeds the first impact threshold or the impact assessment coefficient accumulated in all processing cycles exceeds the second impact threshold, it is determined that there is a fault risk; When the impact assessment coefficient accumulated in a single processing cycle exceeds the first impact threshold or the impact assessment coefficient accumulated in all processing cycles exceeds the second impact threshold, it is judged that there is a fault risk, including: The impact assessment coefficient CJPGn of the nth processing cycle is calculated by the formula CJPGn=[ζ1×T1n×EXP(1)+ζ2×T2n×EXP(2)+ζ3×T3n×EXP(3)] / CJTn, where ζ1, ζ2, and ζ3 are proportional coefficients and are positive numbers; T1n is the cumulative time when the impact current of the nth processing cycle exceeds 0-100% of the rated current, T2n is the cumulative time when the impact current of the nth processing cycle exceeds 100%-150% of the rated current, and T3n is the cumulative time when the impact current of the nth processing cycle exceeds 150% of the rated current. CJTn is the machine tool operation time, and n is the single processing cycle number and is a positive integer; The cumulative impact assessment coefficient of all processing cycles is calculated as CJPGN using the formula CJPGN=(CJPG1+CJPG2+CJPG3+…+CJPGn).

2. A CNC machine tool fault warning system according to claim 1, characterized in that: The calculation of the failure risk value of the tool comprises the following steps: Import the executing program into the time interrupt program; The time interrupt program obtains the set value and feedback value of the drive motor by monitoring the program being executed, and calculates the fault risk value, wherein the fault risk value refers to the absolute value of the difference between the set value and feedback value of the drive motor.

3. A CNC machine tool fault warning system according to claim 1, characterized in that: Before the fault judgment of the machine tool is completed, judging whether to execute the fault judgment program based on the fault risk value includes: setting a third threshold; Determine whether the fault risk value exceeds the third threshold value. If yes, determine that a fault judgment procedure is required; if no, continue to execute the procedure.

4. A CNC machine tool fault warning system according to claim 1, characterized in that: The process of the fault judgment program includes the following steps: Positioning the shaft to an evaluation position, and calculating a position deviation value between the actual position and the evaluation position, wherein the evaluation position refers to a preset reference position, and the position deviation value includes a first position deviation value and a second position deviation value; Determine whether the first position deviation value exceeds the first position threshold or whether the second position deviation value exceeds the second position threshold, if yes, trigger the CNC machine tool alarm program; if no, perform vibration detection; Positioning the shaft at an evaluation speed, and measuring the swing amplitude of the shaft at a target position, wherein the evaluation speed is a preset reference speed; Determine whether the actual swing amplitude exceeds the swing threshold. If yes, the CNC machine tool alarm program is triggered. If no, the current curve detection is performed. The swing threshold refers to the swing reference value generated by the CNC machine tool in a stable state. Run the shaft along the evaluation trajectory, record the actual current curve of the motor, compare the actual current curve with the evaluation current curve and calculate the difference between the current curves; the evaluation trajectory refers to a preset reference trajectory, and the evaluation current curve refers to a current curve generated when running on the evaluation trajectory at a specified speed; It is determined whether the current curve difference exceeds the curve threshold. If yes, the CNC machine tool alarm is triggered. If no, the CNC machine tool maintains a normal working state.

5. A CNC machine tool fault warning system according to claim 4, characterized in that: Positioning the axis to the evaluation position and calculating the position deviation between the actual position and the evaluation position includes: The motor performs N1 positioning according to the preset reference position, and records the actual position reached after each positioning, wherein the reference position has two reference points, the reference length is the distance between the two reference points, and N1 is a positive integer; For each positioning, the deviation between the actual position and the nearest reference point is calculated to obtain N1 groups of first position difference values, and the deviation with the largest absolute value among the first position difference values ​​is selected as the final first position deviation value; Compare the total length of each positioning operation with the reference length, record the difference each time, obtain N1 groups of second position differences, and select the second position difference with the largest absolute value as the final second position deviation value.

6. A CNC machine tool fault warning system according to claim 5, characterized in that: The method of positioning the axis at the evaluation speed and measuring the swing amplitude of the axis at the target position includes: The CNC machine tool axis performs N2 positioning according to a preset evaluation speed, where N2 is a positive integer greater than 1; After each positioning instruction is completed, the data processing module calculates the swing amplitude of the axis in a stable state; From the N2 positionings, find the one with the largest swing amplitude value and define it as the actual swing amplitude.

Citation Information

Patent Citations

  • Real-time detecting method of tool breakage of numerically-controlled machine tool

    CN105619178A

  • Detection method and detection device for main shaft of machine tool and computer readable storage medium

    CN112238366A

  • Numerical control machine tool online fault monitoring method based on multi-axis current signals

    CN117961643A

  • Machine tool current measurement system and method

    JP6962632B1

  • Method of monitoring machine tool and method of determining a standard for evaluating abnormality of a machine tool

    US20240009790A1