Diagnostic system, diagnostic method, and diagnostic program

The diagnostic system addresses inaccuracies in machining diagnosis by isolating actual cutting load through section extraction and correction, ensuring precise tool wear and abnormality detection.

WO2026058429A1PCT designated stage Publication Date: 2026-03-19MITSUBISHI ELECTRIC CORP
View PDF 10 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2026-03-19

AI Technical Summary

Technical Problem

Existing machining diagnosis systems inaccurately diagnose machining states due to feature amounts in machining data being influenced by factors other than machining processes, such as temperature changes, leading to decreased accuracy in machining diagnosis.

Method used

A diagnostic system that extracts a cutting section and correction sections from machining data, calculates feature quantities for each section, and corrects the cutting section feature quantity by subtracting the correction section feature quantity to isolate actual cutting load, enabling accurate machining diagnosis.

Benefits of technology

The system achieves highly accurate machining diagnosis by isolating actual cutting load, allowing for precise detection of tool wear and machining abnormalities, even when feature amount changes are small.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024032939_19032026_PF_FP_ABST
    Figure JP2024032939_19032026_PF_FP_ABST
Patent Text Reader

Abstract

A diagnostic system (1) comprises: a machining data acquisition unit (10) that acquires machining data from the start to the end of machining by a machine tool (2); a section extraction unit (11) that extracts, from machining sections of the machining data, a first section that is a section of cutting and a second section that is a section other than the first section; a feature amount calculation unit (13) that calculates a first feature amount in the first section of the machining data and a second feature amount in the second section of the machining data; a corrected feature amount calculation unit (14) that calculates a third feature amount corresponding to an actual cutting load that is a load of cutting by subtracting the second feature amount from the first feature amount; and a machining diagnostic unit (17) that executes a machining diagnosis on the basis of the third feature amount.
Need to check novelty before this filing date? Find Prior Art

Description

Diagnostic System, Diagnostic Method, and Diagnostic Program

[0001] The present disclosure relates to a diagnostic system, a diagnostic method, and a diagnostic program for diagnosing machining by a machine tool.

[0002] When a machine tool processes a workpiece with a tool, the machining state of the workpiece by the tool changes due to factors such as the state of the tool and the state of the workpiece. If machining is performed in an abnormal machining state, a desired machined product cannot be obtained. Also, if tool replacement is performed in a normal machining state, the manufacturing cost of the machined product increases. Therefore, it is desired that machining diagnosis in a machine tool be accurately executed.

[0003] The machining diagnosis device described in Patent Document 1 extracts and cleans machining data in a cutting machining section from machining data such as current values, calculates a feature amount from the extracted and cleaned machining data, and executes machining diagnosis based on the calculated feature amount.

[0004] Japanese Patent No. 6949275

[0005] However, in the technology of Patent Document 1 described above, for example, for machining data, a feature amount is calculated while including both those caused by machining processes and those caused by external factors other than machining processes such as temperature changes in the machine tool. Therefore, when the change in the feature amount of the machining data calculated from the machining data in cutting machining is small, the accuracy of machining diagnosis decreases.

[0006] The present disclosure has been made in view of the above, and an object thereof is to obtain a diagnostic system that can realize highly accurate machining diagnosis even when the change in the feature amount of the machining data calculated from the machining data in cutting machining is small.

[0007] To solve the above-mentioned problems and achieve the objective, the diagnostic system of this disclosure includes a machining data acquisition unit that acquires machining data from the start to the end of machining by a machine tool, and a section extraction unit that extracts a first section, which is a cutting section, and a second section, which is a section other than the first section, from the machining section of the machining data. Furthermore, the diagnostic system of this disclosure includes a feature calculation unit that calculates a first feature quantity in the first section of the machining data and a second feature quantity in the second section of the machining data, a corrected feature calculation unit that calculates a third feature quantity corresponding to the actual cutting load, which is the load of cutting, by subtracting the second feature quantity from the first feature quantity, and a machining diagnostic unit that performs a machining diagnosis based on the third feature quantity.

[0008] The diagnostic system described herein has the effect of achieving highly accurate machining diagnosis even when the changes in the feature quantities of machining data calculated from machining data are small during cutting processes.

[0009] Figure showing the configuration of the diagnostic system according to the embodiment. Figure for explaining the waveform of machining data acquired by the diagnostic system according to the embodiment. Figure for explaining the cutting section and correction section extracted from the machining data by the diagnostic system according to the embodiment. Flowchart showing the processing procedure of the process executed by the diagnostic system according to the embodiment. Figure for explaining the process by which the diagnostic system according to the embodiment calculates actual feature quantities using the integral value of the machining data. Figure for explaining the process by which the diagnostic system according to the embodiment determines the machining state and tool wear state based on the feature quantities. Figure for explaining a first processing example in which the diagnostic system according to the embodiment determines the machining state based on the change trend of the actual feature quantities. Figure for explaining a second processing example in which the diagnostic system according to the embodiment determines the machining state based on the change trend of the actual feature quantities. Figure for explaining a third processing example in which the diagnostic system according to the embodiment determines the machining state based on the change trend of the actual feature quantities. A diagnostic system according to a diagrammatic embodiment for illustrating a processing example determines the machining state based on the trend of change of actual feature quantities A diagnostic system according to a diagrammatic embodiment for illustrating a fifth processing example determines the machining state based on the trend of change of actual feature quantities A diagnostic system according to a diagrammatic embodiment for illustrating a sixth processing example determines the machining state based on actual feature quantities A diagnostic system according to a diagrammatic embodiment for illustrating a first processing example determines the machining state based on actual feature quantities A diagnostic system according to a diagrammatic embodiment for illustrating a second processing example determines the machining state based on actual feature quantities A diagnostic system according to a diagrammatic embodiment for illustrating a third processing example determines the machining state based on actual feature quantities A diagnostic system according to a diagrammatic embodiment for illustrating an example of the transition of actual feature quantities calculated when a tool deteriorates A diagnostic system according to a diagrammatic embodiment for illustrating a process to determine the machining state in the second processing example with respect to the graph shown in Figure 16 A diagnostic system according to a diagrammatic embodiment for illustrating a first example of a process to determine the machining state in the third processing example with respect to the graph shown in Figure 16Figure 16 illustrates the second example of the process for determining the machining state in the third processing example with respect to the graph shown in Figure 16. Figure 16 illustrates the spindle load data used by the diagnostic system of the comparative example. Figure 16 illustrates the feature quantities used by the diagnostic system of the comparative example. Figure 26 illustrates the configuration of the processing circuit when the processing circuit of the diagnostic system of the comparative example is implemented with a processor and memory. Figure 36 illustrates the configuration of the processing circuit when the processing circuit of the diagnostic system of the comparative example is implemented with dedicated hardware.

[0010] The diagnostic system, diagnostic method, and diagnostic program according to embodiments of this disclosure will be described in detail below with reference to the drawings.

[0011] Embodiment. Figure 1 is a diagram showing the configuration of a diagnostic system according to an embodiment. The diagnostic system 1 is a system for diagnosing machining performed by a machine tool 2. The machining diagnosis performed by the diagnostic system 1 includes diagnosing the wear condition of the tool, diagnosing whether the machining condition is abnormal or not, and diagnosing signs of abnormality in the machine tool 2.

[0012] Machine tool 2 cuts the workpiece (not shown) using a tool. Machine tool 2 is a machine that performs processes such as cutting, slicing, and grinding on the workpiece, and is an example of a milling machine, turning machine, drilling machine, etc. Diagnostic system 1 diagnoses the cutting process performed by machine tool 2 and outputs the diagnosis results to machine tool 2.

[0013] The diagnostic system 1 comprises a processing data acquisition unit 10, an interval extraction unit 11, a feature calculation unit 13, a corrected feature calculation unit 14, a change trend calculation unit 15, a learning unit 16, a processing diagnostic unit 17, and a diagnostic result output unit 18. The diagnostic system 1 also comprises a trend data storage unit 22 and a diagnostic model storage unit 23. The interval extraction unit 11 includes a corrected interval extraction unit 12A and a cutting processing interval extraction unit 12B.

[0014] The machining data acquisition unit 10 acquires machining data, machining information used to identify the type of machining (machining conditions), and control information (including machining methods, etc.) from the machine tool 2 via CNC (Computer Numerical Control). Alternatively, the machining data acquisition unit 10 may acquire machining data and machining information directly from the machine tool 2.

[0015] The machining data for one machining process (the process of cutting out one product) includes machining data for the approach section where the tool approaches the workpiece, machining data for the cutting section where the tool cuts the workpiece (cutting section), and machining data for the retraction section where the tool moves away from the workpiece (tool retraction section). The cutting section is the first section, and the approach section or retraction section is the second section.

[0016] The machining data for the cutting section is the machining data to be diagnosed. The machining data for the approach section and the machining data for the retraction section are the machining data used to correct the machining data for the cutting section. Thus, the cutting section is the section to be diagnosed (diagnostic section), and the approach section and retraction section are the sections used to correct the machining data for the cutting section (correction sections). The correction section is the section other than the cutting section.

[0017] Here, we will explain the machining data, cutting section, and correction section. Figure 2 is a diagram illustrating the waveform of the machining data acquired by the diagnostic system according to the embodiment. Figure 3 is a diagram illustrating the cutting section and correction section extracted from the machining data by the diagnostic system according to the embodiment.

[0018] In the graphs shown in Figures 2 and 3, the horizontal axis represents time, and the vertical axis represents the cutting load (spindle load in Figures 2 and 3). The spindle load corresponds to a physical quantity (such as the motor drive current value) included in the machining data. Figure 2 shows the waveform of the spindle speed Rm along with the waveform of the spindle load Wm. In Figure 3, the diagnostic system 1 extracts the waveform of the spindle load Wm from the machining data waveform shown in Figure 2, and shows the cutting section, correction section (approach section, retraction section), etc., within the waveform Wm.

[0019] When machining begins, the tool starts rotating, and the spindle speed increases to the target speed (actual machining speed). In other words, the tool's rotation accelerates, and the rotational speed increases to the target speed (actual machining speed). The section from when the tool starts rotating until the rotational speed reaches the target speed is the acceleration section IN1.

[0020] When the spindle starts rotating, acceleration torque is generated, and the spindle load corresponding to the motor drive current value increases. As the spindle rotation approaches the target rotational speed, the spindle load decreases and stabilizes. The spindle load at this stable state is the spindle load required to maintain rotation, and this section is the approach section. In other words, the section from when the spindle rotational speed reaches the rotational speed during actual machining until the tool contacts the workpiece is the approach section IN2.

[0021] Machine tool 2 brings the tool closer to the workpiece and begins actual machining when the tool makes contact with the workpiece. When the tool begins cutting the workpiece, cutting resistance is generated by the cutting of the workpiece, which generates a spindle load due to the actual cutting, and the motor drive current value corresponding to the spindle load increases. The loads on the other axes besides the spindle also increase in the same way as the spindle load when machining begins. The section in which the tool is in contact with the workpiece and cutting is being performed is the actual machining section IN3.

[0022] After the cutting of the workpiece is complete, the machine tool 2 moves the tool away from the workpiece. This reduces and stabilizes the spindle load. The period from the completion of workpiece cutting until the spindle load reduces and stabilizes is the retraction section IN4.

[0023] After this, the rotational speed of the tool decreases and the tool stops rotating. The period from when the rotational speed of the tool decreases until the tool stops rotating is the deceleration period IN5. The machining data acquisition unit 10 acquires machining data that includes the machining data of the actual machining section IN3 and the machining data of at least one of the approach section IN2 and the retraction section IN4.

[0024] In Figure 2, the spindle load in the approach section or tool retraction section is shown as the base load Lb. The base load Lb, which is the load in the approach section or tool retraction section, may fluctuate regardless of machining conditions. For example, if machine tool 2 is not warmed up and machining is started in a cold state, the machining data will increase overall. Specifically, in machining in a cold state, the base load Lb increases, and the spindle load during cutting also increases by the same amount as the increase in the base load Lb. In other words, when the machining data increases or decreases due to factors other than machining, these increases or decreases will be reflected in the spindle load. In this case, conventionally, a unique spindle load different from that during normal machining operation was calculated, and this unique spindle load was sometimes judged as abnormal.

[0025] Furthermore, while conventional methods could detect significant machining abnormalities such as tool breakage because the spindle load would change drastically, it was impossible to detect minute tool chipping or machining abnormalities that only caused slight changes.

[0026] The diagnostic system 1 of this embodiment calculates the spindle load during cutting by subtracting the base load Lb from the spindle load during cutting, thereby removing factors other than machining, such as cold working conditions. In Figure 2, the spindle load during cutting, with factors other than machining removed, is shown as the actual cutting load Lc. In this way, the diagnostic system 1 calculates the actual cutting load Lc by subtracting the base load Lb from the spindle load during cutting in order to remove fluctuations in the spindle load caused by factors other than machining. As a result, the diagnostic system 1 can perform highly accurate diagnoses by removing factors other than machining.

[0027] The machining data acquired by the machining data acquisition unit 10 includes physical quantities during machining that are used to calculate the machining state. The physical quantities included in the machining data are motor drive current value, motor drive voltage value, motor rotation speed, motor torque, cutting resistance value, acceleration (vibration), and strain amount, obtained from sensors placed on the machine tool 2. The strain amount is, for example, the strain of the tool, tool holder, workpiece, and workpiece chuck mechanism. The strain amount is acquired by a strain sensor.

[0028] The machining data acquisition unit 10 acquires, for example, the waveform of the motor drive current value (drive current waveform), the waveform of the motor drive voltage value (drive voltage waveform), the waveform of the motor acceleration, the waveform of the motor torque, the acceleration (vibration), and the waveform of the amount of strain as machining data. The physical quantities included in the machining data may be calculated from information detected by sensors. In addition, the machining data may include machining command values ​​such as the spindle speed command, the inspection results of the machining dimensions, the cutting fluid discharge pressure, and the cutting fluid temperature.

[0029] Machining information includes the machining program number, subprogram number, tool number, etc. Machining information may also include the machining program including numerical control commands, workpiece type number, number of tool uses, tool manufacturing information (such as manufacturing serial number), and machining conditions (feed rate, depth of cut, motion control method). Numerical control commands are control commands used when the machine tool 2 is numerically controlled, and include, for example, G0 (positioning command), G1 (linear interpolation), G2 (circular interpolation, clockwise), etc.

[0030] Furthermore, the machining data acquisition unit 10 identifies the machining type based on the machining information. For example, the machining data acquisition unit 10 uniquely identifies the machining type based on a combination of machining program and tool number in the machining information, or on a machining program line.

[0031] The machining data acquisition unit 10 associates the acquired machining data and machining type for a single machining process and transmits it to the correction section extraction unit 12A and the cutting section extraction unit 12B. The diagnostic system 1 may also have a machining data storage unit (not shown) that stores the machining data and machining type acquired by the machining data acquisition unit 10. In this case, the machining data storage unit stores the machining data and machining type in association with each other.

[0032] The diagnostic system 1 automatically identifies the approach section before cutting, the cutting section, and the retraction section after cutting by having the machine tool 2 perform both air cutting (an operation that does not cut the workpiece) and the actual cutting in advance using the machining program to be diagnosed, and stores each section in memory.

[0033] The diagnostic system 1 can determine the section in which actual cutting occurred if it can identify the spindle load (motor drive current value, etc.) immediately before and after the actual cutting. For example, if an air-cut operation is performed, machining data will be obtained in which no spindle load is generated due to actual cutting. The spindle load immediately before and after the spindle load generated by actual cutting can be considered a spindle load that does not depend on the actual cutting. Therefore, if an air-cut operation is performed in the same type of machining, spindle load (machining data) that does not include the spindle load caused by actual cutting will be obtained.

[0034] In this embodiment, the machine tool 2 is pre-configured to perform both air-cut machining and actual machining as identical processes. The correction section extraction unit 12A of the diagnostic system 1 then extracts the machining section, which is the section in which actual cutting was performed, based on the difference in spindle load between air-cut machining and actual machining. That is, the diagnostic system 1 extracts the machining section in which actual cutting was performed based on the difference between the spindle load when air-cut machining is performed and the spindle load when actual machining is performed. The correction section extraction unit 12A also identifies sections in the sections before and after the section in which actual cutting was performed where the spindle load is stable, and designates these as the approach section and the retraction section, respectively. The section between the approach section and the retraction section may also be designated as the machining section.

[0035] The correction interval extraction unit 12A may store the waveform (amount of change, rate of change, etc.) of the machining data at the start and end timings of each interval, or it may store the time from when the tool starts rotating until the start and end timings of each interval.

[0036] The correction section extraction unit 12A stores, for example, the approach waveform, which is the waveform of the machining data in the approach section, the retraction waveform, which is the waveform of the machining data in the retraction section, and the cutting waveform, which is the waveform of the machining data in the cutting section, for each type of machining. Alternatively, the correction section extraction unit 12A may automatically determine the approach waveform, retraction waveform, and cutting waveform in sections such as G0 and G1 of the machining program.

[0037] When diagnosing machining, the correction section extraction unit 12A extracts machining data for the correction section (at least one of the approach section and the retraction section) from the machining data acquired by the machining data acquisition unit 10. Specifically, based on the type of machining, the correction section extraction unit 12A extracts the waveform of the machining data (base load) for the correction section from the waveform of the machining data (physical quantity). That is, based on the approach waveform, the correction section extraction unit 12A extracts the waveform of the machining data for the approach section from the machining data, and based on the retraction waveform, it extracts the waveform of the machining data for the retraction section from the machining data.

[0038] The machining data for the correction section extracted by the correction section extraction unit 12A is data from when the tool is not in contact with the workpiece, and therefore is independent of machining dimensions and machining time. The correction section extraction unit 12A transmits the machining type and the extracted machining data for the approach section and retraction section to the feature calculation unit 13.

[0039] When diagnosing machining, the cutting section extraction unit 12B extracts machining data for the cutting section from the machining data acquired by the machining data acquisition unit 10. Specifically, the cutting section extraction unit 12B extracts the waveform of the machining data (actual cutting load) for the cutting section from the waveform of the machining data based on the type of machining. In other words, the cutting section extraction unit 12B extracts the waveform of the machining data for the cutting section from the machining data based on the cutting waveform.

[0040] The machining data for the machining section extracted by the machining section extraction unit 12B is data obtained when the tool is in contact with the workpiece, and therefore depends on the machining dimensions and machining time. The machining section extraction unit 12B transmits the machining type and the machining data for the extracted machining section to the feature calculation unit 13.

[0041] Note that the diagnostic system 1 may extract the processing data of the correction section and the cutting section by any method. For example, the diagnostic system 1 may extract the processing data of the correction section and the cutting section from the processing data based on the processing program including the NC control command. In this case, the correction section extraction unit 12A discriminates the approach section and the retraction section based on the processing program, and extracts the processing data of the approach section and the retraction section from the processing data. Further, the cutting section extraction unit 12B discriminates the cutting section based on the processing program, and extracts the processing data of the cutting section from the processing data.

[0042] For example, if the numerical control command is G0, it can be determined that it is a moving section where processing is not performed, and if it is G1 or G2, etc., it can be determined that it is a section including processing that operates at a constant speed. Therefore, the correction section extraction unit 12A may set the section of G0 as the correction section, and the cutting section extraction unit 12B may set the section of G1 or G2, etc. as the cutting section.

[0043] The feature amount calculation unit 13 calculates the feature amount of the correction section from the processing data of the correction section, and calculates the feature amount of the cutting section from the processing data of the cutting section. The feature amount calculation unit 13 calculates the feature amount of the correction section from the processing data of at least one of the approach section and the retraction section. The feature amount calculation unit 13 calculates, for example, the average value of the feature amount calculated from the processing data of the approach section and the feature amount calculated from the processing data of the retraction section as the feature amount of the correction section. The feature amount of the correction section is a feature amount for correcting the feature amount of the cutting section.

[0044] The feature amount is, for example, a statistical value in one processing. Examples of the feature amount are at least one of the average value, maximum value, minimum value, integral value, median value, range value (difference between the maximum value and the minimum value), and standard deviation of the processing data. The integral value is a value obtained by integrating the feature amount over time. Therefore, the feature amount of the cutting section is a value obtained by integrating the processing data over the time of the cutting section. Also, the feature amount of the approach section is a value obtained by integrating the processing data over the time of the approach section, and the feature amount of the retraction section is a value obtained by integrating the processing data over the time of the retraction section.

[0045] Incidentally, in the following, there may be cases where the correction section is an approach section or a retraction section, but the correction section is at least one of the approach section and the retraction section. The feature amount calculation unit 13 transmits the calculated feature amount to the corrected feature amount calculation unit 14 and the change trend calculation unit 15.

[0046] The corrected feature amount calculation unit 14 calculates a feature amount (actual feature amount) corresponding to actual cutting based on the feature amount of the cutting section and the feature amount of the correction section for the currently used tool. The feature amount of the cutting section is the first feature amount, the feature amount of the correction section is the second feature amount, and the actual feature amount is the third feature amount.

[0047] The corrected feature amount calculation unit 14 calculates an actual feature amount corresponding to actual cutting by performing various arithmetic processes on the feature amount of the correction section and the feature amount of the cutting section. The corrected feature amount calculation unit 14 calculates the actual feature amount, for example, by subtracting the feature amount of the correction section from the feature amount of the cutting section. That is, the corrected feature amount calculation unit 14 corrects the actual feature amount of the cutting section by subtracting a feature amount (feature amount of the approach section or the retraction section) that does not depend on the machining dimension (machining time) from the feature amount of the cutting section. Therefore, the actual feature amount calculated by the corrected feature amount calculation unit 14 is a feature amount obtained by correcting the feature amount of the cutting section using the feature amount of the correction section.

[0048] Incidentally, the corrected feature amount calculation unit 14 may calculate the actual feature amount by a process other than the subtraction process. Also, when the feature amount is an integral value, the corrected feature amount calculation unit 14 calculates the actual feature amount by a subtraction process according to the ratio of the time of the correction section to the time of the cutting section. The calculation process of the actual feature amount when the feature amount is an integral value will be described later.

[0049] When a diagnosis model for diagnosing the machining state, tool wear state, etc. is generated, the corrected feature amount calculation unit 14 transmits the machining type and the actual feature amount to the learning unit 16. Also, after the diagnosis model is generated, when the machining state, tool wear state, etc. are actually diagnosed, the corrected feature amount calculation unit 14 associates the machining type and the actual feature amount and transmits them to the trend data storage unit 22 and the machining diagnosis unit 17.

[0050] The change trend calculation unit 15 calculates the change trend (amount of change, rate of change, etc.) of feature quantities from the past to the present for each type of processing. Details of the change trend of feature quantities will be described later. The change trend calculation unit 15 calculates the change trend of feature quantities based on multiple processing data acquired over multiple processing intervals (for example, 10 processing intervals) in which processing was performed under the same processing conditions from past processing to present processing. Here, one processing interval corresponds to the processing of one workpiece (one processing). That is, one processing interval includes one cutting processing interval.

[0051] The machining section here may be the combined section of the correction section and the cutting section, or it may be the cutting section only. In other words, the machining section may be the section where the cutting section and the correction section can be distinguished, or it may be the section where they cannot be distinguished.

[0052] The following describes the case where the processing interval used by the change trend calculation unit 15 to calculate the change trend of the feature quantity is a cutting processing interval, but the processing interval may include a correction interval and a cutting processing interval. The change trend calculation unit 15 associates the processing type with the change trend of the feature quantity and stores it in the trend data storage unit 22.

[0053] The trend data storage unit 22 receives and stores the actual feature quantities for each processing type from the corrected feature quantity calculation unit 14. The trend data storage unit 22 stores the changes in the actual feature quantities for each processing type by receiving and storing the actual feature quantities for each processing step from the corrected feature quantity calculation unit 14. The trend data storage unit 22 stores the changes in the new actual feature quantities each time a tool is changed.

[0054] Furthermore, the trend data storage unit 22 receives and stores the change trends of feature quantities for each type of machining from the change trend calculation unit 15. The information stored in the trend data storage unit 22 is used by the machining diagnosis unit 17 when diagnosing the machining state and the wear state of the tools.

[0055] The learning unit 16 generates a diagnostic model for each type of machining based on past actual features. The diagnostic model is a model that diagnoses the machining state and tool wear state based on the actual features. The diagnostic model is, for example, a model that determines whether the actual features have exceeded a threshold (threshold determination model). In this case, the diagnostic model is provided with upper and lower thresholds for the actual features through learning. The upper threshold is the first threshold, and the lower threshold is the second threshold.

[0056] The upper threshold is a threshold value for real-world features, such as the motor drive current value, used to determine whether or not to replace the tool. The tool is replaced when the real-world features exceed the upper threshold due to wear. The lower threshold is a threshold value for real-world features used to determine whether or not the tool is in an abnormal state (e.g., broken). The tool is replaced when it enters an abnormal state and the real-world features fall below the lower threshold.

[0057] Note that the upper and lower thresholds of the diagnostic model are not necessarily generated through learning. The upper and lower thresholds of the diagnostic model can also be set by the user.

[0058] Furthermore, the diagnostic model may predict tool life based on the changes in actual features of the tool currently in use. That is, the diagnostic model may predict tool life as the wear state of the tool. In this case, the diagnostic model calculates a regression line based on the changes in actual features of multiple machining operations using the tool currently in use, and predicts tool life based on the calculated regression line and an upper threshold. Alternatively, the diagnostic model may predict tool life based on the changes in actual features (such as current value and rate of increase) and the upper threshold of the diagnostic model.

[0059] The learning unit 16 learns the upper and lower thresholds of the diagnostic model by learning the changes in past real features, and generates a diagnostic model. The learning unit 16 learns the upper and lower thresholds using methods such as multiple regression analysis, decision trees, and random forests.

[0060] The learning unit 16 excludes from learning real feature trends where the upward trend of the real feature differs from that of other real feature trends in the past. That is, the learning unit 16 learns upper and lower thresholds based on the trends of real feature trends where the upward trend of the real feature is normal (for example, real feature where the average value of the rate of increase is within the standard range) in the past. In addition, the learning unit 16 excludes from learning real feature trends where the real feature when a tool is replaced due to tool wear is below the standard value.

[0061] The learning unit 16 learns upper and lower thresholds based, for example, on the actual features when a tool is replaced with a new one and the actual features when a tool is replaced due to tool wear. The learning unit 16 sets the minimum value of the actual features when a tool is replaced with a new one as the lower threshold. The learning unit 16 also sets the maximum value of the actual features when a tool is replaced with a new one due to tool wear as the upper threshold. Note that the learning process by the learning unit 16 described here is just one example, and the learning unit 16 may learn the upper and lower thresholds by any method.

[0062] Furthermore, the learning unit 16 may learn the rate of increase or amount of increase per processing of the actual features. For example, the learning unit 16 sets the maximum rate of increase as the upper limit threshold for the rate of increase in a normal progression of the actual features where the upward trend of the actual features is normal, and sets the minimum rate of increase as the lower limit threshold for the rate of increase in a normal progression of the actual features.

[0063] Furthermore, the learning unit 16 sets the maximum increase in the actual feature quantity as the upper limit threshold when the upward trend of the actual feature quantity is normal, and sets the minimum increase in the actual feature quantity as the lower limit threshold when the upward trend of the actual feature quantity is normal.

[0064] The learning unit 16 sets upper and lower threshold values ​​for each type of machining in the diagnostic model, and stores the set diagnostic models in the diagnostic model storage unit 23. The learning unit 16 and the diagnostic model storage unit 23 may be implemented on an external device or CNC machine separate from the diagnostic system 1.

[0065] The learning unit 16 may learn the approach section before cutting, the cutting section, and the retraction section after cutting based on the waveforms of the actual features. In this case, the learning unit 16 sets the average value of the waveforms of multiple actual features as the reference waveform of the actual features, and sets the approach section before cutting, the cutting section, and the retraction section after cutting based on the reference waveform.

[0066] The processing diagnostic unit 17 reads a diagnostic model corresponding to the processing type from the diagnostic model storage unit 23. The processing diagnostic unit 17 also receives the processing type and actual features from the corrected feature calculation unit 14. The processing diagnostic unit 17 also reads the trend of the actual features corresponding to the processing type and the trend of changes in the features corresponding to the processing type from the trend data storage unit 22.

[0067] The machining diagnostic unit 17 diagnoses the machining state and tool wear state based on the diagnostic model and actual features, and diagnoses the machining state based on the trend of changes in the features.

[0068] The machining diagnosis unit 17 diagnoses tool life, machining conditions (e.g., machining abnormalities), etc., based on statistical quantities using the features stored in the trend data storage unit 22 as the population, and the actual features calculated by the corrected feature calculation unit 14.

[0069] The machining diagnostic unit 17 determines the tool wear status by, for example, applying the actual feature quantities received from the corrected feature quantity calculation unit 14 to the diagnostic model. The machining diagnostic unit 17 determines that the tool is worn and needs to be replaced if the current actual feature quantities exceed the upper threshold of the diagnostic model.

[0070] Furthermore, the machining diagnostic unit 17 determines that the tool is in an abnormal state (for example, tool breakage) and therefore needs to be replaced if the current actual feature quantity falls below the lower threshold of the diagnostic model. Thus, the upper threshold of the diagnostic model is used for diagnosing tool wear, and the lower threshold of the diagnostic model is used for diagnosing abnormal tool conditions. The upper threshold of the diagnostic model may also be used to detect a decrease in the amount of material removed when the workpiece coordinates or tool corrections are incorrect.

[0071] Furthermore, the machining diagnostic unit 17 may predict the lifespan of the tool currently in use by applying the trends of the actual features stored in the trend data storage unit 22 to the diagnostic model. In this case, the diagnostic model calculates a regression line or a curve-fit curve and predicts the lifespan of the tool currently in use based on the trend shown by the calculated regression line or curve-fit curve. As an indicator of the lifespan of the tool currently in use, the machining diagnostic unit 17 predicts, for example, how many more machining operations it will take for the actual features to exceed an upper threshold.

[0072] Alternatively, the machining diagnostic unit 17 may determine the machining state by applying the changes in the actual features stored in the trend data storage unit 22 to a diagnostic model. In this case, the diagnostic model determines that the machining state is abnormal when the amount of change, rate of change, etc., of the actual features change rapidly (exceeds a baseline value). For example, the diagnostic model determines that the machining state is abnormal when the amount of change in the actual features of the tool currently in use exceeds a threshold set for the amount of change of those actual features.

[0073] Furthermore, the processing diagnosis unit 17 diagnoses the processing state based on the trend of changes in the feature quantities stored in the trend data storage unit 22. The processing diagnosis unit 17 determines that the processing state is abnormal if, for example, the trend of changes in the feature quantities rises sharply or the variability increases. The processing diagnosis unit 17 determines whether the processing state is abnormal or not based on a regression line obtained from the trend of changes in the feature quantities received from the trend data storage unit 22.

[0074] The processing diagnostic unit 17 may estimate the cause of an abnormal processing state based on the trend of change (waveform) of the feature quantities received from the trend data storage unit 22. In this case, the processing diagnostic unit 17 stores the correspondence between the trend of change (waveform) of the feature quantities and the cause of the abnormality when this trend occurs. The processing diagnostic unit 17 identifies the cause of the abnormality based on this correspondence and the trend of change of the feature quantities.

[0075] The processing diagnostic unit 17 determines, for example, that the cause of the abnormality corresponding to the processing state with the largest correlation coefficient between the stored trend of change in feature quantities and the received trend of change in feature quantities is the cause of the current abnormality.

[0076] The machining diagnostic unit 17 transmits the diagnostic result to the diagnostic result output unit 18. If the diagnostic result indicates an abnormal machining condition or tool wear condition (replacement timing), the diagnostic result output unit 18 transmits the diagnostic result to an external device or machine tool 2. As a result, the machine tool 2 performs an action based on the diagnostic result. For example, if the diagnostic result output unit 18 transmits information identifying the tool and a diagnostic result indicating that the tool needs to be replaced to the machine tool 2, the machine tool 2 replaces the tool based on the information identifying the tool.

[0077] Furthermore, if the diagnostic results show a rapid change in the actual feature quantities or the trend of change in the feature quantities (for example, a rapid increase), the diagnostic result output unit 18 provides feedback control to the machine tool 2 by outputting an operation control command to mitigate the machining operation.

[0078] For example, if the actual feature quantity shows a higher value than usual, the diagnostic result output unit 18 provides feedback control to the machine tool 2 by outputting an operation control command to slow down the machining operation.

[0079] The diagnostic result output unit 18 may also transmit the diagnostic results to a display device (not shown) or the like, and have the diagnostic results displayed on the display device.

[0080] Next, the operation of each component in the diagnostic system 1 will be described. Figure 4 is a flowchart showing the processing procedure of the diagnostic system according to the embodiment. After air cutting and actual machining have been performed for each machining type in advance, the learning unit 16 of the diagnostic system 1 generates a diagnostic model for each machining type based on the actual feature quantities. Alternatively, the learning unit 16 of the diagnostic system 1 may generate a diagnostic model for each machining type based on the actual feature quantities after G0, G1, or G2, etc., of the control command for the machining to be diagnosed has been executed.

[0081] After this, when the machine tool 2 starts actual machining, the machining data acquisition unit 10 acquires machining data and machining information from the machine tool 2 (step S10). Based on the machining information, the machining data acquisition unit 10 identifies the type of machining (step S20).

[0082] The interval extraction unit 11 extracts intervals from the machining data (step S30). Specifically, the correction interval extraction unit 12A extracts correction intervals from the machining data for each machining type (for each diagnostic model). In addition, the cutting machining interval extraction unit 12B extracts cutting machining intervals from the machining data for each machining type.

[0083] The feature calculation unit 13 calculates the feature quantities of the correction section (step S40). For example, the feature calculation unit 13 calculates the feature quantities of the approach section or the tool retraction section as the feature quantities of the correction section.

[0084] Furthermore, the feature calculation unit 13 calculates the feature quantities of the cutting section (step S50). Note that the diagnostic system 1 may execute the processes of step S40 and step S50 in any order.

[0085] The corrected feature calculation unit 14 calculates actual feature quantities based on the feature quantities of the cutting section and the feature quantities of the correction section (step S60). If the feature quantities are the mean, maximum, minimum, median, or integral values ​​of the machining data, the corrected feature calculation unit 14 calculates actual feature quantities by subtracting the feature quantities of the correction section from the feature quantities of the cutting section. That is, the corrected feature calculation unit 14 calculates actual feature quantities with factors other than machining removed by subtracting the feature quantities of the approach section or retraction section (features that do not depend on machining dimensions, etc.) from the feature quantities of the cutting section.

[0086] Furthermore, if the feature is the integral value of the processed data, the corrected feature calculation unit 14 calculates the actual feature using the following formula (1).

[0087]

[0088] In other words, if the feature quantity is the integral value of the machining data, the corrected feature quantity calculation unit 14 calculates the integral value of the approach section by integrating the spindle load, such as the motor drive current value of the approach section, over the time of the approach section. The corrected feature quantity calculation unit 14 also calculates the integral value of the cutting section by integrating the spindle load, such as the motor drive current value of the cutting section, over the time of the cutting section. The corrected feature quantity calculation unit 14 multiplies or divides the integral value of the approach section by a value corresponding to the ratio of the length of the approach section to the length of the cutting section. The corrected feature quantity calculation unit 14 calculates the actual feature quantity by subtracting the result of the multiplication or division operation from the integral value of the cutting section, thereby removing factors other than cutting.

[0089] Thus, when the feature is the integral value of the machining data, the corrected feature calculation unit 14 performs a subtraction operation according to the ratio of the length of the approach section and the length of the cutting section. In the above-described equation (1), the integral value of the approach section is multiplied by the value obtained by dividing the length of the cutting section by the length of the approach section, but the integral value of the retraction section may be multiplied by the value obtained by dividing the length of the cutting section by the length of the retraction section. That is, the corrected feature calculation unit 14 may calculate the integral value of the retraction section by integrating the spindle load of the retraction section over the time of the retraction section.

[0090] Furthermore, if the feature quantities are the range values ​​or standard deviations of the machining data, they are not affected by fluctuations in the spindle load during the approach and tool retraction sections, so the corrected feature quantity calculation unit 14 uses the feature quantities in the cutting section as they are.

[0091] The machining diagnostic unit 17 determines the tool wear state based on the actual feature quantities for each machining type calculated by the corrected feature quantity calculation unit 14 (step S70). In other words, the machining diagnostic unit 17 performs tool wear diagnosis based on the actual feature quantities.

[0092] Furthermore, after the feature quantities for the cutting section or correction section have been calculated, the change trend calculation unit 15 calculates the change trend (change amount, etc.) of the feature quantities for each type of machining (step S65). The machining diagnosis unit 17 determines the machining state based on the change trend of the feature quantities for each type of machining calculated by the change trend calculation unit 15 (step S75).

[0093] In this manner, the machining diagnostic unit 17 performs tool wear diagnosis based on actual feature quantities and performs machining anomaly diagnosis based on the trend of change in feature quantities. The diagnostic system 1 may perform the series of processes in steps S65 and S75 before or after the series of processes in steps S60 and S70. The diagnostic system 1 may also perform the series of processes in steps S65 and S75 and the series of processes in steps S60 and S70 in parallel.

[0094] The machining diagnostic unit 17 transmits the diagnostic result to the diagnostic result output unit 18. The diagnostic result output unit 18 then outputs the diagnostic result to the machine tool 2 or an external device such as a display device (step S80). The diagnostic result output unit 18 outputs, for example, an alarm indicating that a tool needs to be changed. The diagnostic result output unit 18 also outputs, for example, an alarm indicating that the machining condition is abnormal.

[0095] The diagnostic result output unit 18, for example, if the actual feature quantity shows a higher value than usual, outputs an operation control command to the machine tool 2 to slow down the machining operation, thereby providing feedback control to the machine tool 2. For example, when the workpiece material is expensive, or when high-precision machining is required, it may be desirable to perform accurate machining even if it means increasing the machining time. In this case, when the feature quantity increases, the diagnostic system 1 reduces the load on the tool by lowering the tool feed rate and reducing the amount of material removed per unit time. As a result, the diagnostic system 1 can prevent the occurrence of machining defects and reduce losses due to defective products and the effort required for rework after defective products are produced.

[0096] Figure 5 is a diagram illustrating the process by which the diagnostic system according to the embodiment calculates actual feature quantities using the integrated values ​​of machining data. In the graph shown in Figure 5, the horizontal axis represents time, and the vertical axis represents the spindle load (motor drive current value, etc.). Figure 5 shows the spindle load waveform Wm shown in Figure 3, the length L2 of the approach section IN2, the length L3 of the actual machining section IN3, and the length L4 of the retraction section IN4.

[0097] A single machining process Px includes an approach section IN2, an actual machining section IN3, and a retraction section IN4. When the feature quantity is the integral value of the machining data, the feature quantity differs depending on the length of the section. Therefore, the corrected feature quantity calculation unit 14 performs a subtraction operation using equation (1) or the like, according to the ratio of the length L2 of the approach section IN2 and the length L3 of the actual machining section IN3. The corrected feature quantity calculation unit 14 may also use the length L4 of the retraction section IN4 instead of the length L2 of the approach section IN2.

[0098] Figure 6 is a diagram illustrating the process by which the diagnostic system according to the embodiment determines the machining state and tool wear state based on feature quantities. In the graph shown in Figure 6, the horizontal axis represents the number of machining operations, and the vertical axis represents the actual feature quantities.

[0099] In other words, in the graphs from Figure 6 onward, numerical values ​​such as actual features are plotted for each machining operation, including the cutting section, to generate the graph.

[0100] The diagnostic system 1 calculates actual feature quantities for each machining operation. As machining is repeated, the tool wears down, and the actual feature quantities increase. Figure 6 shows a graph plotting machining data for each operation, for example, the average value of the machining load for each operation.

[0101] The machining diagnostic unit 17 determines that the tool is worn and needs to be replaced when the actual feature quantity exceeds the upper threshold Uth. Figure 6 shows the case where, at time T1, the actual feature quantity X1 exceeds the upper threshold Uth, and at time T2, the actual feature quantity X2 exceeds the upper threshold Uth. If the machining diagnostic unit 17 determines that the tool needs to be replaced, the user replaces the tool with a new one. That is, after the actual feature quantities X1 and X2 exceed the upper threshold Uth, the tool is replaced with a new one. As a result, the average value of the cutting resistance becomes the value when the tool is new.

[0102] The machining diagnostic unit 17 may also determine that a tool change is imminent if the difference between the actual feature quantity and the upper threshold Uth falls below a reference value. In this case, the difference between the actual feature quantity and the upper threshold Uth is displayed on a display device or the like. Based on this, the user may either change the tool to a new one or continue machining. Figure 6 shows a case where a tool is changed even though it was determined that a tool change was imminent. Figure 6 shows a case where the tool has been changed twice before time T1.

[0103] Furthermore, the machining diagnostic unit 17 determines the machining state using the actual feature quantity and the lower threshold Lth. Specifically, the machining diagnostic unit 17 determines that the tool is in an abnormal state, such as broken, and therefore the tool needs to be replaced, when the actual feature quantity falls below the lower threshold Lth of the diagnostic model. Figure 6 shows the case where the actual feature quantity X3 falls below the lower threshold Lth at time T3.

[0104] Furthermore, the machining diagnostic unit 17 predicts the lifespan of the tool currently in use based on the changes in the actual feature quantity. For example, the machining diagnostic unit 17 predicts the lifespan of the tool (information indicating how many more machining operations it will take for the actual feature quantity to exceed the upper threshold Uth) based on the difference between the actual feature quantity and the upper threshold Uth, and the amount or rate of increase in the actual feature quantity per operation.

[0105] Furthermore, the processing diagnosis unit 17 diagnoses the processing state based on the trend of changes in the feature quantities stored in the trend data storage unit 22. An example of a method for determining the processing state will be described below.

[0106] Figure 7 is a diagram illustrating a first processing example in which the diagnostic system according to the embodiment determines the processing state based on the trend of change in the actual feature quantities. Figure 8 is a diagram illustrating a second processing example in which the diagnostic system according to the embodiment determines the processing state based on the trend of change in the actual feature quantities. Figure 9 is a diagram illustrating a third processing example in which the diagnostic system according to the embodiment determines the processing state based on the trend of change in the actual feature quantities. Figure 10 is a diagram illustrating a fourth processing example in which the diagnostic system according to the embodiment determines the processing state based on the trend of change in the actual feature quantities. Figure 11 is a diagram illustrating a fifth processing example in which the diagnostic system according to the embodiment determines the processing state based on the trend of change in the actual feature quantities. Figure 12 is a diagram illustrating a sixth processing example in which the diagnostic system according to the embodiment determines the processing state based on the trend of change in the actual feature quantities.

[0107] In the graphs shown in Figures 7 to 12, the horizontal axis represents the number of processing steps, and the vertical axis represents the actual feature quantities. The processing diagnostic unit 17 of the diagnostic system 1 calculates the trend of change in the actual feature quantities over multiple processing steps (for example, 10 processing intervals) from past processing steps to the current processing step, and determines the processing state based on the calculated trend of change in the actual feature quantities.

[0108] If there is no change in the processing state, the values ​​of the actual features will not change significantly in the preceding and succeeding processing cycles or multiple intervals, or the actual features will show a stable upward or downward trend. On the other hand, if there is a change in the processing state as shown below, the processing load changes, and a change appears in the trend of change of the actual features. This results in a unique point of change in the trend of change of the actual features.

[0109] For example, the machine tool 2 may experience changes in actual features related to the tool state, changes in actual features related to the workpiece state, changes in actual features related to the machining environment, and changes in actual features caused by the operation.

[0110] The graphs shown in Figures 7 to 10 show the changes in actual features related to the tool state, and the graph in Figure 11 shows the changes in actual features related to the workpiece state. Figure 7 shows the changes in actual features when the cutting volume decreases due to minute chipping of the tool tip at time T4.

[0111] Figure 8 shows the changes in real feature quantities when the tool is damaged and the cutting volume changes due to the formation or detachment of a built-up edge at time T5. A built-up edge is a portion of the cutting edge where molten material from the workpiece adheres to and solidifies. A built-up edge is formed on the tool when molten material from the workpiece adheres to the cutting edge, and the built-up edge detaches from the tool when this material separates from the tool.

[0112] When a built-up edge is formed and detaches, the cutting volume decreases after the detachment, and then the cutting volume rapidly increases due to tool damage, causing the actual feature quantity to change.

[0113] Figure 9 shows the changes in the actual characteristic quantity when the cutting resistance changes significantly with each machining operation due to tool degradation.

[0114] Figure 10 shows the change in real features when the change in cutting resistance increases significantly due to the peeling of the tool's coating. This illustrates that the cutting resistance increases sharply when the tool's coating peels off.

[0115] Figure 11 shows the changes in actual characteristic quantities when the cutting resistance changes due to a change in the material hardness or material shape of the workpiece in the preceding process or pre-processing at time T8.

[0116] Here, the pre-processing refers to the processes involved in forming the workpiece, such as casting or forging, while pre-machining refers to the processing performed before the workpiece is cut, such as rough machining. For example, if the material lot of the workpiece is changed, the material hardness or shape of the workpiece changes, and the cutting resistance changes suddenly, causing the actual characteristic quantities to change.

[0117] Figure 12 shows a graph of the case where the cutting resistance increases sharply at time T9 due to a change in the machining environment. For example, if the discharge pressure or discharge volume of the coolant decreases, if the discharge of the coolant stops, or if the direction of the coolant discharge changes, the cutting resistance increases sharply, causing the actual characteristic quantity to change.

[0118] Furthermore, changes caused by the work process can also alter the cutting volume or cutting resistance. For example, if tool compensation (coordinate correction based on the tool's length or diameter) is performed improperly, the cutting volume will increase sharply due to changes caused by the work process. In this case, the graph will be similar to that shown in Figure 12.

[0119] As shown in Figures 7 to 12, even when the machining condition is abnormal, the change in the machining condition is often not such that it significantly exceeds the upper threshold Uth. For example, as shown in Figure 7, when a minute tool defect occurs, the spindle load due to cutting decreases relatively because the actual feature quantity (cutting volume) decreases, but the change in the actual feature quantity is small. Therefore, in order to detect small changes in the actual feature quantity, the machining diagnostic unit 17 may calculate the standard deviation of the actual feature quantity in multiple machining sections in which machining was performed under the same machining conditions, and determine the machining condition based on the standard deviation of the change from the past.

[0120] Figure 13 is a diagram illustrating a first processing example in which the diagnostic system according to the embodiment determines the processing state based on actual feature quantities. In the first processing example, the diagnostic system 1 determines the processing state based on the amount of change (standard deviation) of the actual feature quantities.

[0121] The graph on the left in Figure 13, GR1, is the same graph as in Figure 7, showing the changes in actual features. The graph in the center of Figure 13, GR2, is a graph that shows multiple processing intervals (for example, 10 processing intervals) that are subject to abnormal processing status determination from graph GR1 as processing interval D1. The graph on the right in Figure 13, GR3, is a graph that shows the change in actual features (standard deviation) from graph GR2. In graph GR3 in Figure 13, the horizontal axis is the number of processing steps, and the vertical axis is the standard deviation. Graph GR3 shows the standard deviation for a certain number of processing steps, including past processing steps, for the entire processing interval.

[0122] The processing diagnostic unit 17 calculates the change in actual features for each of the multiple processing intervals, and in order to do so, it calculates the standard deviation of the actual features. This allows the trend of change in the standard deviation, as shown in graph GR3, to be calculated in relation to the change in features in graph GR2. The processing diagnostic unit 17 highlights small changes in actual features by calculating the standard deviation for a specific number of processing steps (for example, 10 processing steps) from past processing steps to the current processing step for each processing step. The processing diagnostic unit 17 determines the processing state based on the standard deviation of the actual features in the multiple processing intervals D1, thereby excluding sudden changes in actual features (such as false detections).

[0123] When the processing conditions are normal, the change in the actual feature is stable. In other words, when the processing conditions are normal, the difference (change) between the actual feature from the previous processing step and the actual feature from the current processing step does not fluctuate significantly and remains stable.

[0124] When the processing diagnostic unit 17 calculates the standard deviation for processing interval D1, for example, as shown in graph GR3, the standard deviation St for processing interval D1 stands out more than the standard deviations of other intervals. In other words, the change in the standard deviation is greater than the change in the actual feature quantities when the processing state is abnormal. For example, when processing interval D1 is defined as the Xth (X is a natural number)th processing, the processing diagnostic unit 17 calculates the standard deviation of the actual feature quantities from the most recent Xth processing to the (X-9th)th processing. When the (X+1)th processing is completed, the processing diagnostic unit 17 calculates the standard deviation of the actual feature quantities from the (X+1)th processing to the (X-8th)th processing.

[0125] The machining diagnostic unit 17 determines that the machining state of the machining section D1 from which the standard deviation was calculated is abnormal if the calculated standard deviation of the machining section D1 is greater than or equal to the standard deviation threshold Th. The machining diagnostic unit 17 sets the threshold Th based on, for example, the trend of change in the standard deviation, and detects the abnormal state based on the threshold Th. The threshold Th may be set by the user.

[0126] Thus, the machining diagnostic unit 17 determines the machining state based on the standard deviation of actual feature quantities in multiple machining sections where machining is performed under the same machining conditions. This allows it to determine the machining state based on more pronounced changes than when determining the machining state based on actual feature quantities as explained in Figure 7. Therefore, the machining diagnostic unit 17 can determine the machining state more easily and accurately by determining the machining state based on the standard deviation of actual feature quantities in multiple machining sections where machining is performed under the same machining conditions.

[0127] Next, a second processing example in which the diagnostic system 1 determines the processing state based on actual features will be described. In the second processing example, the diagnostic system 1 determines the processing state based on the variability of the actual features from the regression line.

[0128] The processing diagnostic unit 17 calculates a regression line (regression equation) of the actual features of multiple processing intervals (for example, 10 processing intervals) from past processing to the current processing, and calculates the variability (standard deviation) from the calculated regression line using the following equation (2).

[0129]

[0130] In equation (2), St is the variability (standard deviation) from the regression line, and n is the number of processing intervals used to calculate the regression line. Also, x i The features are the nth (n is a natural number) real features from the most recent to the nth (n is a natural number) in the machining section which is the diagnostic interval, X is the value of the corresponding point calculated from the regression equation (x = aN + b), and N is the number of times each tool was used from the most recent to the nth in the machining section. Note that a (regression coefficient) and b (intercept) in the regression equation are values ​​calculated in the diagnostic interval.

[0131] Figure 14 is a diagram illustrating a second processing example in which the diagnostic system according to the embodiment determines the processing state based on actual features. In the graph shown in Figure 14, the horizontal axis represents the number of processing cycles, and the vertical axis represents the actual features.

[0132] Figure 14 shows the trend of the actual features and the regression line Y1 of the actual features in processing interval D2, which is used to determine the processing state. When the actual features show a stable upward trend, the deviation from the regression line Y1 is small, but when the deviation from the regression line Y1 is large, the standard deviation from the regression line Y1 is large.

[0133] The machining diagnostic unit 17 calculates a regression line Y1 from the actual features of machining sections D2, going back n (where n is a natural number) from the most recent cutting section, and calculates the residuals of the actual features from the regression line Y1 for machining sections D2. Figure 14 shows the case where the residuals for each machining operation in machining section D2 are calculated. The machining diagnostic unit 17 determines whether the machining state is abnormal or normal based on whether the square root of the residuals from the regression line Y1 of the actual features is above a threshold. In this way, the machining diagnostic unit 17 can capture the trend of change in the actual features to a large extent by calculating the standard deviation from the regression line Y1.

[0134] Figure 15 is a diagram illustrating a third processing example in which the diagnostic system according to the embodiment determines the processing state based on actual features. In the third processing example, the diagnostic system 1 determines the processing state based on the regression line Y1 of the actual features. In the graph shown in Figure 15, the horizontal axis represents the number of processing cycles, and the vertical axis represents the actual features.

[0135] The processing diagnostic unit 17 calculates the regression line Y1 in the third processing example using the same method as in the second processing example. The processing diagnostic unit 17 determines the processing state based on at least one of the trend of change in the slope and the trend of change in the intercept of the calculated regression line Y1.

[0136] The machining diagnostic unit 17 determines, for example, that the machining condition is abnormal if the slope of the regression line Y1 exceeds the reference range. The machining diagnostic unit 17 also determines that the machining condition is abnormal if, for example, the intercept of the regression line Y1 exceeds the reference range.

[0137] The reference range for the slope may be set by the machining diagnostic unit 17 based on past slopes, or it may be set by the user. The machining diagnostic unit 17 sets the reference range for the slope based, for example, on the average value and standard deviation of past slopes.

[0138] Furthermore, the reference range for the intercept may be calculated by the processing diagnostic unit 17 based on past intercepts, or it may be set by the user. The processing diagnostic unit 17 sets the reference range for the intercept based, for example, on the mean value and standard deviation of past intercepts.

[0139] When a tool deteriorates rapidly, the condition of the tool's cutting edge changes significantly with each machining operation, causing large fluctuations in cutting resistance. Figure 16 is a diagram illustrating an example of the changes in actual feature quantities calculated by the diagnostic system according to the embodiment when a tool deteriorates. In the graph shown in Figure 16, the horizontal axis represents the number of machining operations, and the vertical axis represents the actual feature quantities.

[0140] Diagnostic System 1 shows that the cutting resistance fluctuates slightly with each machining operation, depending on the type of machining. In this case, if the tool deteriorates rapidly, the amount of fluctuation in cutting resistance will be larger than before the deterioration. Also, if the tool deteriorates rapidly, the cutting resistance may change from an upward trend to a downward trend. Figure 16 shows a case where, at time T10, the tool deteriorates rapidly, causing the actual feature quantity to change from an upward trend to a downward trend, and the actual feature quantity fluctuates greatly up and down with each machining operation.

[0141] Figure 17 is a diagram illustrating the process by which the diagnostic system according to the embodiment determines the processing status in a second processing example with respect to the graph shown in Figure 16. In the second processing example, the diagnostic system 1 determines the processing status based on the trend of change in the variability (standard deviation) from the regression line of the actual features. In the graph shown in Figure 17, the horizontal axis is the number of processing cycles, and the vertical axis is the standard deviation from the regression line of the actual features. Figure 17 shows the trend of change in the standard deviation from the regression line of the actual features.

[0142] The machining diagnostic unit 17 calculates a regression line for the actual features shown in Figure 16 and calculates the deviation (standard deviation) of the actual features from the regression line. The machining diagnostic unit 17 then determines whether the machining state is abnormal or normal based on whether the standard deviation of the actual features from the regression line is greater than or equal to a threshold Th. Figure 17 shows a case where the standard deviation of the actual features from the regression line has increased due to tool deterioration at time T10.

[0143] Figure 18 is a diagram illustrating a first example of the process by which the diagnostic system according to the embodiment determines the processing state in the third processing example with respect to the graph shown in Figure 16. In the first example of the third processing example, the diagnostic system 1 determines the processing state based on the trend of change in the slope of the regression line of the real features. In the graph shown in Figure 18, the horizontal axis is the number of processing cycles, and the vertical axis is the slope of the regression line. Figure 18 shows the trend of change in the slope of the regression line.

[0144] The machining diagnostic unit 17 calculates a regression line for the actual features shown in Figure 16 and calculates the slope of the calculated regression line. For example, if the slope of the regression line exceeds a reference range, the machining diagnostic unit 17 determines that the machining condition is abnormal. Figure 18 shows a case where the slope of the regression line decreases due to tool deterioration, and at time T10, the slope of the regression line falls below the lower limit threshold Th1.

[0145] Figure 19 is a diagram illustrating a second example of the process by which the diagnostic system according to the embodiment determines the processing state in the third processing example with respect to the graph shown in Figure 16. In the second example of the third processing example, the diagnostic system 1 determines the processing state based on the trend of change of the intercept of the regression line of the real features. In the graph shown in Figure 19, the horizontal axis is the number of processing cycles, and the vertical axis is the intercept of the regression line. Figure 19 shows the trend of change of the intercept of the regression line.

[0146] The machining diagnostic unit 17 calculates a regression line for the actual features shown in Figure 16 and calculates the intercept of the calculated regression line. For example, if the intercept of the regression line exceeds the reference range, the machining diagnostic unit 17 determines that the machining state is abnormal. Figure 19 shows a case where the intercept of the regression line rises due to tool deterioration and exceeds the upper threshold Th2 of the intercept of the regression line at time T10.

[0147] In the graph shown in Figure 16, it is difficult to detect anomalies in the trend of changes in the actual features. However, the diagnostic system 1 can easily determine the processing state and easily detect anomalies by using one of the methods described in Figures 17 to 19.

[0148] Figure 20 is a diagram illustrating the spindle load data used by the comparative example's diagnostic system. In the graph shown in Figure 20, the horizontal axis represents time, and the vertical axis represents the spindle load. The comparative example's diagnostic system calculates characteristic quantities based on the spindle load (such as the motor drive current value), which includes influences other than those caused by actual machining, and diagnoses the tool wear condition based on these characteristic quantities. In the case of the comparative example's diagnostic system, physical quantities such as the motor drive current value may change due to temperature changes, deterioration, etc., of the machine tool 2. The following three factors can be cited as causes of changes in physical quantities: (Factor F1) Increase or decrease in operating resistance (such as bearing friction resistance) or sliding resistance due to temperature changes of the machine tool 2 or the motor (Factor F2) Increase or decrease in operating resistance or sliding resistance due to maintenance or replacement of parts of the machine tool 2 (Factor F3) Increase or decrease in rotational resistance or rotational force due to the length of the bar material in the automatic lathe

[0149] Sliding resistance is the dynamic friction that occurs when a ball screw or LM (Linear Motion) guide rotates or moves back and forth. Bar material is a long, round bar-shaped workpiece where the machined portion is cut off after each machining pass, allowing for the next machining pass. In the case of bar material, as the machined portion is cut off, the length decreases with each machining pass, changing the rotational resistance or rotational force during machining.

[0150] Figure 20 shows the waveform W1 of the spindle load under normal conditions and the waveform W2 when the spindle load increases due to factors other than machining. For example, if the machine tool 2 is not warmed up and machining is started in a cold state, the machining data such as the spindle load may increase overall, resulting in waveform W2, as shown in Figure 20. In this case, the diagnostic system of the comparative example will calculate feature quantities based on the increased machining data. Therefore, the diagnostic system of the comparative example will calculate unique feature quantities that differ from those during normal continuous operation, and will determine the tool wear state, etc., based on these unique feature quantities.

[0151] Thus, in the comparative example, when the machining data is affected by factors other than machining, the diagnostic system determines the tool wear condition based on the feature quantities in which the increase or decrease is reflected. Therefore, it may not be able to accurately determine the tool wear condition.

[0152] Figure 21 is a diagram illustrating the features used by the diagnostic system of the comparative example. In the graph shown in Figure 21, the horizontal axis represents the number of machining operations, and the vertical axis represents the actual features. When tool breakage or a significant machining abnormality occurs, the features change significantly, and the features exceed the upper threshold Uth or lower threshold Lth, allowing the diagnostic system of the comparative example to detect the abnormality in the machining state. However, for minor tool defects or machining abnormalities where the machining state changes only slightly, as shown in data d1 to d3 in Figure 21, the features do not exceed the upper threshold Uth or lower threshold Lth, and the diagnostic system of the comparative example could not detect the abnormality in the machining state.

[0153] On the other hand, since the diagnostic system 1 determines the machining state based on the trend of changes in feature quantities, it can also detect machining abnormalities such as tool defects or slight changes in the machining state.

[0154] Figure 22 is a diagram illustrating the timing of tool replacement when the diagnostic system according to the embodiment determines the wear state of the tool. In Figure 22, the timing of tool replacement when the diagnostic system 1 determines the wear state of the tool is shown, and the timing of tool replacement when the diagnostic system of the comparative example determines the wear state of the tool. In Figure 22, the horizontal axis represents the number of machining operations, and the vertical axis represents the actual feature quantity.

[0155] The diagnostic system in the comparative example calculates feature quantities based on motor drive current values ​​and other factors that include variations unrelated to actual machining. As mentioned above, feature quantities may fluctuate due to factors unrelated to actual machining, such as sliding resistance. In this case, even under normal machining conditions, the diagnostic system in the comparative example may mistakenly diagnose a sudden increase or decrease in feature quantities as an abnormality.

[0156] The diagnostic system 1 of this embodiment automatically identifies the actual machining section IN3, extracts only the change in feature quantities due to the actual machining, and calculates the actual feature quantities by removing the change that is not related to machining. Therefore, the change in actual feature quantities calculated by the diagnostic system 1 of this embodiment can be said to be an accurate change due to the actual machining. As a result, even when the change in the actual feature quantities calculated in cutting is small, the diagnostic system 1 of this embodiment can capture minute changes due to the actual machining, and can easily detect abnormalities in the tool wear state and machining state.

[0157] The diagnostic system in the comparative example determines the timing of tool replacement based on, for example, the number of machining operations (50 in Figure 22). As a result, in reality, tools may be replaced even if they are not at the end of their lifespan, or tools may not be replaced even if they have exceeded their lifespan.

[0158] On the other hand, the diagnostic system 1 of the embodiment can accurately determine the tool wear state based on actual feature quantities. This allows the user to replace the tool at an appropriate time according to the tool wear state. For example, if the upward trend of the actual feature quantities due to tool wear is gradual, the diagnostic system 1 of the embodiment can perform more machining operations than the number of machining operations (50 operations) specified by the diagnostic system of the comparative example, thus reducing the cost associated with tool replacement. Figure 22 shows the case where the diagnostic system 1 of the embodiment replaces the tool after 70 machining operations when the progression of tool wear is gradual (C1).

[0159] Furthermore, in the comparative example's diagnostic system, if the tool deteriorated or wore out rapidly, the tool was not replaced, resulting in a machining defect. On the other hand, the diagnostic system 1 of the embodiment can replace the tool regardless of the number of machining operations if the tool deteriorates or wears out rapidly, thus preventing the occurrence of machining defects caused by deterioration or wear. In addition, the diagnostic system 1 of the embodiment can detect the occurrence of sudden machining defects, thus preventing defective products from being shipped out. Figure 22 shows the case where the diagnostic system 1 of the embodiment replaced the tool after 35 machining operations when the tool deteriorated or wore out rapidly (C2).

[0160] In this way, the diagnostic system 1 can reduce the likelihood of misdiagnosing and detecting machining while it is being overshadowed by other factors (such as sliding friction resistance) by removing elements unrelated to the actual cutting load from the machining data, and can also reduce misdiagnosis and misdetection caused by other factors.

[0161] As a result, the diagnostic system 1 can stabilize process quality through 100% workpiece diagnosis, preventing the occurrence of defective products and preventing defective products from being shipped. Therefore, the diagnostic system 1 can eliminate processes such as visual inspection, sampling inspection, and image inspection, thereby reducing man-hours.

[0162] The diagnostic system 1 may be implemented on a single computer, or on multiple network-connected computers or CNC machines. Here, we will describe the hardware configuration of the diagnostic system 1 when it is implemented on a single computer.

[0163] The diagnostic system 1 is implemented by a processing circuit. The processing circuit may be a processor and memory that execute a program stored in memory, or it may be dedicated hardware.

[0164] Figure 23 is a diagram showing an example of the configuration of a processing circuit when the processing circuit of the diagnostic system according to the embodiment is realized with a processor and memory. The processing circuit 90 shown in Figure 23 comprises a processor 91 and memory 92. When the processing circuit 90 is composed of a processor 91 and memory 92, each function of the processing circuit 90 is realized by software, firmware, or a combination of software and firmware. The software or firmware is written as a diagnostic program and stored in memory 92. In the processing circuit 90, each function is realized by the processor 91 reading and executing the diagnostic program stored in memory 92. In other words, the processing circuit 90 includes memory 92 for storing a diagnostic program that will ultimately be executed as a result of the processing of the diagnostic system 1. This diagnostic program can also be said to be a program that causes the diagnostic system 1 to execute each function realized by the processing circuit 90. This diagnostic program may be provided on a computer-readable recording medium on which the diagnostic program is recorded, or it may be provided by other means such as a communication medium.

[0165] The diagnostic program described above can also be described as a program that causes the diagnostic system 1 to execute the processes of steps S10 to S80 in Figure 4. Here, the processor 91 is, for example, a CPU (Central Processing Unit), processing unit, arithmetic unit, microprocessor, microcomputer, or DSP (Digital Signal Processor). The memory 92 is, for example, a non-volatile or volatile semiconductor memory such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable ROM), EEPROM (Registered Trademark) (Electrically EPROM), magnetic disk, flexible disk, optical disk, compact disk, minidisc, or DVD (Digital Versatile Disc).

[0166] Figure 24 is a diagram showing an example of the configuration of a processing circuit when the processing circuit of the diagnostic system according to the embodiment is configured with dedicated hardware. The processing circuit 93 shown in Figure 24 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination thereof. The processing circuit 93 may be partially implemented with dedicated hardware and partially implemented with software or firmware. In this way, the processing circuit 93 can realize each of the above functions with dedicated hardware, software, firmware, or a combination thereof.

[0167] As described above, the diagnostic system 1 of this embodiment calculates actual feature quantities corresponding to the actual cutting load, which is the load of the cutting process, by subtracting the feature quantities in the correction section from the feature quantities in the cutting section, and performs a machining diagnosis based on these actual feature quantities. As a result, the diagnostic system 1 can perform a machining diagnosis based on actual feature quantities corresponding to the actual cutting load during cutting, with factors other than machining, such as cold working conditions, removed. Therefore, the diagnostic system 1 can achieve a highly accurate machining diagnosis even when the change in the feature quantities of the machining data calculated from the machining data during cutting is small.

[0168] Furthermore, the diagnostic system 1 extracts the cutting section and correction section based on the processing data obtained when air cutting and actual processing have been performed in advance, so it can accurately extract the cutting section and correction section.

[0169] Furthermore, the diagnostic system 1 calculates the trend of changes in the feature quantities of machining data from the past to the present, and performs machining diagnosis based on the calculated trend of changes. As a result, the diagnostic system 1 can achieve highly accurate machining diagnosis even when the changes in the feature quantities of machining data calculated from the machining data are small in cutting processes.

[0170] Furthermore, since the diagnostic system 1 determines the machining state by the machine tool 2 based on the standard deviation of the change trend, it can achieve highly accurate machining diagnosis even when the changes in the feature quantities of the machining data are even smaller.

[0171] Furthermore, since the diagnostic system 1 determines the machining state by the machine tool 2 based on the regression line of the change trend, it can achieve highly accurate machining diagnosis even when the changes in the feature quantities of the machining data are even smaller.

[0172] The configurations shown in the above embodiments are merely examples, and can be combined with other known technologies. It is also possible to omit or modify parts of the configuration without departing from the gist of the invention.

[0173] 1 Diagnostic system, 2 Machine tool, 10 Machining data acquisition unit, 11 Interval extraction unit, 12A Correction interval extraction unit, 12B Cutting interval extraction unit, 13 Feature calculation unit, 14 Corrected feature calculation unit, 15 Change trend calculation unit, 16 Learning unit, 17 Machining diagnosis unit, 18 Diagnosis result output unit, 22 Trend data storage unit, 23 Diagnosis model storage unit, 90, 93 Processing circuit, 91 Processor, 92 Memory, d1-d3 Data, D1, D2 Machining interval, F1-F3 Factors, GR1-GR3 Graph, IN1 Acceleration interval, IN2 Approach interval, IN3 Actual machining interval, IN4 Retreat interval, IN5 Deceleration period, L2-L4 Length, Lb Base load, Lc Actual cutting load, Lth Lower limit threshold, Rm, W1, W2, Wm Waveform, St Standard deviation, T1, T2, T3, T4, T5, T8, T9, T10 time, Th threshold, Uth upper threshold, X1-X3 actual features, Y1 regression line.

Claims

1. A diagnostic system comprising: a machining data acquisition unit that acquires machining data from the start to the end of machining by a machine tool; a section extraction unit that extracts a first section, which is a cutting section, and a second section, which is a section other than the first section, from the machining section of the machining data; a feature calculation unit that calculates a first feature quantity in the first section of the machining data and a second feature quantity in the second section of the machining data; a corrected feature calculation unit that calculates a third feature quantity corresponding to the actual cutting load, which is the load of cutting, by subtracting the second feature quantity from the first feature quantity; and a machining diagnostic unit that performs a machining diagnosis based on the third feature quantity.

2. The diagnostic system according to claim 1, characterized in that the section extraction unit extracts the first section and the second section based on processing data obtained when air cutting processing and actual processing have been performed in advance.

3. The diagnostic system according to claim 2, further comprising a learning unit that learns the first section and the second section based on the processing data.

4. The diagnostic system according to claim 3, characterized in that the learning unit learns a first threshold for the third feature quantity for determining whether or not to replace the tool used by the machine tool, and a second threshold for the third feature quantity for determining whether or not the tool is in an abnormal state, based on past third feature quantities; the machining diagnostic unit determines whether or not to replace the tool based on the first threshold and the current third feature quantity, and determines whether or not the tool is in an abnormal state based on the second threshold and the current third feature quantity.

5. The diagnostic system according to claim 1, characterized in that the section extraction unit extracts the first section and the second section based on numerical control commands used when the machine tool is numerically controlled.

6. A diagnostic system comprising: a machining data acquisition unit that acquires multiple machining data from a machine tool between past machining operations and the current machining operation; a feature quantity calculation unit that calculates feature quantities from the machining data; a change trend calculation unit that calculates the change trend of the feature quantities; and a machining diagnostic unit that performs machining diagnostics based on the change trend.

7. The diagnostic system according to claim 6, characterized in that the machining diagnostic unit determines the machining state by the machine tool based on the change trend and the threshold of the change trend.

8. The diagnostic system according to claim 6, characterized in that the machining diagnostic unit determines the machining state by the machine tool based on the standard deviation of the change trend.

9. The diagnostic system according to claim 6, characterized in that the machining diagnostic unit determines the machining state by the machine tool based on the regression line of the change trend.

10. The diagnostic system according to any one of claims 1 to 9, further comprising a diagnostic result output unit that outputs the diagnostic results of the processing diagnosis to an external device or machine tool.

11. The diagnostic system according to claim 10, characterized in that the diagnostic result output unit provides feedback control to the machine tool by outputting an operation control command corresponding to the diagnostic result to the machine tool.

12. A diagnostic method comprising: a diagnostic system for diagnosing machining by a machine tool, comprising: a machining data acquisition step of acquiring machining data from the start to the end of machining by the machine tool; a section extraction step of the diagnostic system extracting a first section, which is a cutting section, and a second section, which is a section other than the first section, from the machining section of the machining data; a feature calculation step of the diagnostic system calculating a first feature quantity in the first section of the machining data and a second feature quantity in the second section of the machining data; a corrected feature calculation step of the diagnostic system calculating a third feature quantity corresponding to the actual cutting load, which is the load of cutting, by subtracting the second feature quantity from the first feature quantity; and a machining diagnosis step of the diagnostic system performing a machining diagnosis based on the third feature quantity.

13. A diagnostic method comprising: a diagnostic system for diagnosing machining by a machine tool, comprising: a machining data acquisition step of acquiring multiple machining data from the machine tool between past machining operations and the current machining operation; a feature calculation step of the diagnostic system calculating feature quantities from the machining data; a change trend calculation step of the diagnostic system calculating the change trend of the feature quantities; and a machining diagnosis step of the diagnostic system performing a machining diagnosis based on the change trend.

14. A diagnostic program characterized by causing a computer to perform the following steps: a machining data acquisition step of acquiring machining data from the start to the end of machining by a machine tool; a section extraction step of extracting a first section, which is a cutting section, and a second section, which is a section other than the first section, from the machining section of the machining data; a feature calculation step of calculating a first feature quantity in the first section of the machining data and a second feature quantity in the second section of the machining data; a corrected feature calculation step of calculating a third feature quantity corresponding to the actual cutting load, which is the load of cutting, by subtracting the second feature quantity from the first feature quantity; and a machining diagnosis step of performing a machining diagnosis based on the third feature quantity.

15. A diagnostic program characterized by causing a computer to perform the following steps: a machining data acquisition step of acquiring multiple machining data from a machine tool between past machining operations and the current machining operation; a feature calculation step of calculating feature quantities from the machining data; a change trend calculation step of calculating the change trend of the feature quantities; and a machining diagnostic step of performing a machining diagnosis based on the change trend.

Citation Information

Patent Citations

  • Device for detecting abnormality of perforating tool

    JP1986252053A

  • Cutting tool damage detecting device

    JP1990009554A

  • Automatic correction system for varying load

    JP1995129211A

  • Method and apparatus for monitoring cutting load condition in machine tool

    JP1997001444A

  • Tapping device

    JP2001287118A