Abnormality determination device, abnormality determination system, and abnormality determination method

JPWO2024218878A5Active Publication Date: 2025-03-26MITSUBISHI ELECTRIC CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023552359
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2025-03-26
Estimated Expiration
2043-04-18

AI Technical Summary

Technical Problem

Existing machine tool systems predict and automatically correct inappropriate correction values using approximate formulas, leading to a high likelihood of improper machining.

Method used

An abnormality determination device compares current correction values with past values using a learned model to determine if the difference exceeds a threshold, displaying alarms or appropriate correction candidates when necessary.

Benefits of technology

Reduces the likelihood of using inappropriate correction values during machining by detecting abnormalities in real-time, preventing defects and improving machining accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000014_0000
    Figure 00000014_0000
  • Figure 00000014_0001
    Figure 00000014_0001
  • Figure 00000014_0002
    Figure 00000014_0002
Patent Text Reader

Abstract

The abnormality determination device includes an operator input unit (11) that receives from an operator a correction value that is to be set for the operation of a tool defined in a machining program used by the machine tool as a current correction value, a setting information comparison unit (33) that compares the current correction value set in the machine tool with a past correction value that was set for the operation of the tool when machining was performed appropriately in the past, an abnormality detection unit (34) that detects an abnormality in the current correction value based on a correction value difference that is the difference between the current correction value and the past correction value, and a display control unit (22) that, when the abnormality detection unit (34) detects an abnormality, causes a display device (23) to display information indicating that the current correction value is inappropriate.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an abnormality determination device, an abnormality determination system, and an abnormality determination method that perform abnormality determination for a correction value set in a machine tool. [Background technology]

[0002] A machine tool processes a workpiece while correcting the position of the tool, etc. The machine tool performs processing while correcting the position of the tool based on the amount of correction of the tool position input by an operator. For this reason, it is desirable that the amount of correction input by the operator is an appropriate amount of correction.

[0003] The machine tool control device described in Patent Document 1 corrects the amount of tool movement according to a correction amount input by an operator, and stores the input correction amount, correction timing, and operator ID as history data. When a stored operator ID is selected, the machine tool control device automatically corrects the amount of tool movement according to the correction amount and correction timing corresponding to this operator ID, and executes machining. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-163541 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the technology of Patent Document 1, an approximation formula is used to predict and automatically correct the correction value, so there is a high possibility that an inappropriate correction value predicted by the approximation formula will be adopted and processing will be performed with the automatic correction using the inappropriate correction value.

[0006] The present disclosure has been made in consideration of the above, and aims to provide an abnormality determination device that can perform processing while reducing the possibility of correction with an inappropriate correction value. [Means for solving the problem]

[0007] In order to solve the above-mentioned problems and achieve the object, the abnormality determination device disclosed herein includes an operator input unit that receives, from an operator, a correction value set for the operation of a tool defined in a machining program used by a machine tool as a current correction value, and a processing unit that compares the current correction value set in the machine tool with a past correction value that was set for the operation of the tool when machining was performed appropriately in the past. Calculate the correction value difference, which is the difference between the current correction value and the past correction value. The abnormality determination device of the present disclosure further includes a setting information comparison unit for comparing the setting information with the setting information of the abnormality determination unit. If the correction value difference is equal to or greater than the difference threshold, which is a threshold for the correction value difference, it is determined that the current correction value is inappropriate, and if the correction value difference is smaller than the difference threshold, it is determined that the current correction value is appropriate. The device includes an abnormality detection unit that detects an abnormality in the current correction value, and a display control unit that, when the abnormality detection unit detects an abnormality, causes a display device to display information indicating that the current correction value is inappropriate. Effect of the Invention

[0008] The abnormality determination device according to the present disclosure has the effect of being able to perform machining while reducing the possibility of correction with an inappropriate correction value. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram showing a configuration of an abnormality determination system according to an embodiment. [Diagram 2] 1 is a flowchart showing a procedure of a process executed by an abnormality determination system according to an embodiment; [Diagram 3] FIG. 1 is a diagram showing an example of a hardware configuration for implementing a machine tool according to an embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] An abnormality determination device, an abnormality determination system, and an abnormality determination method according to embodiments of the present disclosure will be described in detail below with reference to the drawings.

[0011] Embodiment 1 is a diagram showing a configuration of an abnormality determination system according to an embodiment. Abnormality determination system 1 includes a machine tool 10 and a server 30. Abnormality determination system 1 is a system (fault detection system) that determines a correction value set for a tool or the like before machine tool 10 starts machining, and notifies an operator of at least one of an appropriate correction value candidate (resetting candidate value) and an alarm if a setting error occurs.

[0012] The machine tool 10 has an operator input unit 11, a machining program operation unit 12, a machining inference unit 13, a setting information storage unit 14, a learned model storage unit 21, a display control unit 22, and a display device 23.

[0013] The server 30 includes a setting information acquisition unit 31, a setting information storage unit 32, a setting information comparison unit 33, an anomaly detection unit 34, a data acquisition unit 41, and a model generation unit 42. Of the server 30, the data acquisition unit 41 and the model generation unit 42 are learning devices.

[0014] Among the components included in the abnormality determination system 1, at least one of the trained model storage unit 21 and the display control unit 22 may be disposed outside the machine tool 10. At least one of the trained model storage unit 21 and the display control unit 22 may be disposed in the server 30, for example.

[0015] Among the components included in the abnormality determination system 1, at least one of the data acquisition unit 41 and the model generation unit 42 may be disposed outside the server 30. At least one of the data acquisition unit 41 and the model generation unit 42 may be disposed within the machine tool 10, for example.

[0016] The operator input unit 11 accepts data input by an operator. The operator input unit 11 accepts, for example, setting information for machining processing, a difference threshold value, and the like input by the operator. The setting information for machining processing input by the operator includes information on a machining program, correction information, and a tool number (tool identification information).

[0017] The information on the machining program is, for example, a program number (program identification information). The program number is information for identifying the machining program. FIG. 1 shows a case where the operator input unit 11 receives a program number as the information on the machining program. Note that the program number may be any information as long as it is information for identifying a machining program for machining a workpiece.

[0018] The correction information is information in which a correction number (correction identification information) is associated with a correction value. The correction value is, for example, a value for correcting the operation of a tool, which is set for the operation of a tool defined in a machining program. The correction number is information for identifying a correction item corresponding to the correction value. The correction number may be any information that identifies a correction item corresponding to a correction value. For example, when the correction item is the movement amount of a tool, "001" or the like is set as the correction number. In this case, in the correction information, "001" is associated with the correction value of the movement amount of the tool defined in the machining program. The tool number is information for identifying a tool. The tool number may be any information that identifies a tool.

[0019] The difference threshold is a threshold for the difference between an appropriate correction value used in the past (hereinafter, may be referred to as a past correction value) and a correction value currently being set (hereinafter, may be referred to as a current correction value).

[0020] The setting information may include information other than the program number as information on the machining program. The machining program information may include, for example, a timestamp, shape information, machining command information (e.g., M code, G code), etc. The timestamp is information indicating the date and time when the machining program was created, and the shape information is information indicating the shape of a product to be produced by the machining program. The information included in the machining program information is not limited to the information described above. The machining program information may include at least one of the program number, the timestamp, and the shape information.

[0021] In this way, the setting information includes information on the compensation value and the machining program. The setting information may also include at least one of a compensation number and a tool number. The machine tool 10 uses various machining programs and various setting information to machine various workpieces. In this embodiment, a case will be described in which the setting information input by the operator is a program number, compensation information, and a tool number.

[0022] The operator input unit 11 sends the program number, the compensation information, and the tool number to the machining program operation unit 12. That is, the operator input unit 11 sends the setting information of the machining process to the machining program operation unit 12.

[0023] Furthermore, the operator input unit 11 stores the difference threshold in the setting information storage unit 14. Furthermore, the operator input unit 11 sends the difference threshold to the anomaly detection unit 34 of the server 30. Note that in FIG. 1, the connection line connecting the operator input unit 11 and the anomaly detection unit 34 is omitted from the illustration.

[0024] The machining program operation unit 12 receives setting information including a program number, compensation information, and a tool number from the operator input unit 11. The machining program operation unit 12 sends setting information associating the program number, compensation information, and tool number to the machining inference unit 13. The machining program operation unit 12 also sends setting information associating the program number, compensation information, and tool number to the setting information comparison unit 33 of the server 30. The setting information sent by the machining program operation unit 12 to the machining inference unit 13 and the setting information comparison unit 33 is the setting information currently set in the machine tool 10 (hereinafter may be referred to as current setting information).

[0025] The trained model storage unit 21 stores the trained model generated by the model generation unit 42 of the server 30. The trained model is a function for inferring whether or not a processing process executed using a current correction value (hereinafter, may be referred to as a current processing process) is the same as a normal processing process executed using a past correction value (hereinafter, may be referred to as a past processing process). The trained model is used to determine whether or not the current processing process and the past processing process are the same processing process.

[0026] The same machining process is a process that is performed using the same machining program and the same tool both in the past and present, and the difference between the past correction value used in a normal machining process performed in the past and the current correction value is less than or equal to the difference threshold value.

[0027] The processing inference unit 13 receives current setting information from the processing program operation unit 12, and reads out the learned model from the learned model storage unit 21. The processing inference unit 13 inputs the current setting information into the learned model, thereby inferring whether a current processing process to be executed and a past processing process are the same processing process or not.

[0028] When the processing inference unit 13 determines that the current processing and the past processing are not the same processing, it sends this determination result to the display control unit 22. When the processing inference unit 13 determines that the current processing and the past processing are the same processing, it stores the current setting information in the setting information storage unit 14. That is, the processing inference unit 13 stores the program number, the correction information, and the tool number in the setting information storage unit 14.

[0029] The setting information storage unit 14 stores the machining success / failure information, the current setting information sent from the machining inference unit 13, and the difference threshold value sent from the operator input unit 11. The machining success / failure information is information indicating whether the currently executed machining process was normal or abnormal. The machining success / failure information is determined based on the shape of the finished product produced in the current machining process, etc.

[0030] When information indicating that the current processing and the past processing are not the same processing is sent from the processing inference unit 13, the display control unit 22 causes the display device 23 to display information indicating that the current processing and the past processing cannot be compared.

[0031] Furthermore, when the display control unit 22 receives information from the server 30 indicating that the setting information (correction value) is inappropriate, the display control unit 22 causes the display device 23 to display an alarm indicating that the correction value is inappropriate. Furthermore, when the display control unit 22 receives a candidate for the correction value (reset candidate value) included in the setting information from the server 30, the display control unit 22 causes the display device 23 to display the reset candidate value. Furthermore, when the display control unit 22 receives information from the server 30 indicating that the correction value is appropriate, the display control unit 22 causes the display device 23 to display information indicating that the correction value is appropriate.

[0032] When the current processing is performed, the setting information acquisition unit 31 reads the current setting information and the difference threshold from the setting information storage unit 14 and stores them in the setting information accumulation unit 32. When the setting information storage unit 14 stores the processing success / failure information, the setting information acquisition unit 31 reads the processing success / failure information from the setting information storage unit 14. That is, after the current processing is completed, the setting information acquisition unit 31 reads the processing success / failure information from the setting information storage unit 14. The setting information acquisition unit 31 stores the read processing success / failure information in the setting information accumulation unit 32 in association with the current setting information and the difference threshold already stored in the setting information storage unit 14. The setting information storage unit 14 may transmit the processing success / failure information, the current setting information, and the difference threshold to the setting information acquisition unit 31.

[0033] The setting information accumulation unit 32 has a collection database for storing collected data, and stores processing success / failure information, setting information, and a difference threshold in association with each other in this collection database. The setting information stored by the setting information accumulation unit 32 is past setting information. In this way, the setting information is current setting information before the completion of processing, and becomes past setting information when it is associated with processing success / failure information after the completion of processing. Note that the past setting information does not need to include the difference threshold.

[0034] The setting information comparison unit 33 receives current setting information in which a program number, compensation information, and a tool number are associated with each other from the machining program operation unit 12. The setting information comparison unit 33 may read out the current setting information from the setting information storage unit 14, or may receive the current setting information from the setting information storage unit 14.

[0035] Furthermore, the setting information comparison unit 33 reads out past setting information having the same program number and tool number as the program number and tool number included in the current setting information from the setting information accumulation unit 32. Note that the setting information comparison unit 33 may read out multiple pieces of past setting information from the setting information accumulation unit 32.

[0036] The setting information comparison unit 33 compares the current setting information with the past setting information. Specifically, the setting information comparison unit 33 compares the correction value of the correction information included in the current setting information with the correction value of the correction information included in the past setting information. When multiple past correction values ​​are read out, the setting information comparison unit 33 compares the average value of the multiple past correction values ​​with the current correction value. The setting information comparison unit 33 may also compare the most frequent value or the median value of the multiple past correction values ​​with the current correction value.

[0037] The setting information comparison unit 33 calculates the difference (hereinafter sometimes referred to as the correction value difference) between the correction value of the correction information included in the current setting information and the correction value of the correction information included in the past setting information, and sends the correction value difference to the abnormality detection unit 34.

[0038] The abnormality detection unit 34 judges whether or not the current setting information (correction value) is an appropriate value, based on the correction value difference sent from the setting information comparison unit 33 and the difference threshold value sent from the operator input unit 11. If the correction value difference is equal to or greater than the difference threshold value, the abnormality detection unit 34 judges that the current correction value is inappropriate, and if the correction value difference is smaller than the difference threshold value, the abnormality detection unit 34 judges that the current correction value is appropriate.

[0039] When the abnormality detection unit 34 determines that the current correction value is appropriate, it sends information indicating that the current correction value is appropriate to the display control unit 22. When the abnormality detection unit 34 determines that the current correction value is inappropriate, it sends information (alarm) indicating that the current correction value is inappropriate to the display control unit 22.

[0040] Furthermore, when the abnormality detection unit 34 determines that the current correction value is inappropriate, it acquires from the setting information comparison unit 33 the past correction value used in the comparison by the setting information comparison unit 33. That is, the abnormality detection unit 34 acquires from the setting information comparison unit 33 the past correction value that has been compared with the current correction value that has been determined to be inappropriate among the past correction values. The abnormality detection unit 34 determines a reset candidate value that is a candidate for an appropriate correction value based on the acquired past correction value. For example, the abnormality detection unit 34 determines the average value of the acquired past correction values ​​as the reset candidate value. That is, the abnormality detection unit 34 determines the average value of the past correction values ​​that have been compared with the current correction value that has been determined to be inappropriate among the past correction values ​​as the reset candidate value. The abnormality detection unit 34 sends the determined reset candidate value to the display control unit 22.

[0041] The data acquisition unit 41 acquires setting information including information on the machining program, the tool, and the compensation value when machining is performed normally as learning data. The learning data is data in which the program number, the tool number, and the compensation information when machining is performed normally are associated with each other. The data acquisition unit 41 acquires the learning data from, for example, the setting information storage unit 32.

[0042] The data acquiring unit 41 acquires learning data for cases where machining is normally performed, based on the machining success / failure information registered in the setting information storage unit 32. The data acquiring unit 41 may acquire the learning data from the machine tool 10. The data acquiring unit 41 sends the learning data including the setting information to the model generating unit 42.

[0043] The model generation unit 42 uses the learning data to generate a trained model for inferring whether or not the current processing is the same as a processing that was performed successfully in the past. The trained model is used to determine whether or not the current processing and the past processing are the same processing. The model generation unit 42 stores the generated trained model in the trained model storage unit 21.

[0044] The abnormality determination system 1 may be composed of one device, or may be composed of three or more devices. For example, the abnormality determination system 1 may be an abnormality determination device including components of the machine tool 10 and components of the server 30. When the abnormality determination system 1 is an abnormality determination device including components of the machine tool 10 and components of the server 30, the abnormality determination device includes, for example, an operator input unit 11, a machining inference unit 13, a setting information storage unit 32, a setting information comparison unit 33, an abnormality detection unit 34, and a display control unit 22. The abnormality determination device may also include a machining program operation unit 12.

[0045] Fig. 2 is a flowchart showing the procedure of processing executed by the abnormality determination system according to the embodiment. The input / output device shown in Fig. 2 is a device that receives information input by an operator or a device that provides information to the operator. The input / output device here is operator input unit 11 and display device 23 of machine tool 10.

[0046] The setting information acquiring unit 31 of the server 30 acquires the setting information, the difference threshold, and the processing success / failure information from the setting information storage unit 14. The setting information accumulation unit 32 stores the processing success / failure information, the difference threshold, and the setting information in association with each other.

[0047] The data acquisition unit 41 acquires the setting information when the processing is normally performed as learning data (step S101). That is, the data acquisition unit 41 acquires the setting information, of which the processing success / failure information indicates that the processing was normal, as learning data. The data acquisition unit 41 acquires the learning data, for example, from the setting information storage unit 32, and sends it to the model generation unit 42.

[0048] The setting information of the learning data includes, for example, a program number, a tool number, and compensation information (compensation number and compensation value). Note that the information included in the setting information of the learning data is not limited to the above-mentioned information.

[0049] The model generation unit 42 generates a trained model using the learning data (step S102) and sends it to the machine tool 10. Specifically, the model generation unit 42 learns whether the current machining process is the same as the past machining process based on the learning data created based on a combination of the program number, tool number, and correction information when machining is performed normally. That is, the model generation unit 42 generates a trained model that infers whether the current machining process is the same as the past machining process based on the setting information when machining is performed normally by the machine tool 10.

[0050] The model generating unit 42 may learn whether the current machining process is the same as the past machining process according to the learning data created for the multiple machine tools 10. The model generating unit 42 may acquire learning data from multiple machine tools 10 used in the same area, or may acquire learning data collected from multiple machine tools 10 operating independently in different areas. Even when acquiring learning data from multiple machine tools 10, the model generating unit 42 learns whether the current machining process is the same as the past machining process by the same process as when acquiring learning data from one machine tool 10.

[0051] Also, the machine tool 10 from which the learning data is collected may be added to or removed from the collection targets midway. Furthermore, a learning device (data acquisition unit 41 and model generation unit 42) that has learned whether or not a current machining process is the same as a past machining process for a certain machine tool 10 may be applied to another machine tool 10, and the learned model may be updated by re-learning whether or not a current machining process is the same as a past machining process for the other machine tool 10. The machine tool 10 stores the learned model in the learned model storage unit 21 (step S103).

[0052] When machining is started in machine tool 10, operator input unit 11 accepts the current setting information and difference threshold input by the operator (step S104). The timing at which the operator inputs the current setting information and difference threshold to operator input unit 11 may be, for example, the timing at which the machining program is set (before the cycle starts), but is not limited to this timing. The difference threshold may be, for example, an allowable value for the difference when comparing a past correction value with a current correction value, but is not limited to this allowable value.

[0053] The operator input unit 11 sends the received current setting information and difference threshold to the server 30 (step S105). Specifically, the operator input unit 11 sends the current setting information to the setting information comparison unit 33 via the machining program operation unit 12, and sends the difference threshold corresponding to the current setting information to the abnormality detection unit 34. As a result, the server 30 acquires the current setting information and difference threshold (step S106).

[0054] Moreover, the operator input unit 11 sends the setting information to the machining inference unit 13 via the machining program operation unit 12. The machining inference unit 13 accepts the current setting information from the machining program operation unit 12, and reads out the learned model from the learned model storage unit 21. By inputting the current setting information into the learned model, the machining inference unit 13 determines whether the current machining process (contents currently set in the machine tool 10) and the past machining process (contents previously set in the machine tool 10) are the same machining process (step S107).

[0055] The processing inference unit 13 uses the learned model stored in the learned model storage unit 21 to infer the identity of the processing by unsupervised learning. That is, the processing inference unit 13 inputs the setting information input by the operator to the learned model, and infers to which cluster the setting information belongs. In other words, the processing inference unit 13 infers whether the current processing corresponding to the setting information input by the operator corresponds to which past processing.

[0056] In this embodiment, the processing inference unit 13 infers whether a processing process is the same as a past processing process by using a trained model learned by the model generation unit 42 of the server 30. However, the processing inference unit 13 may acquire a trained model from an external source, such as another machine tool 10, and infer whether a processing process is the same as a past processing process based on this trained model.

[0057] In addition, in this embodiment, a case has been described in which the processing inference unit 13, which is an inference device, is arranged in the machine tool 10, but the inference device may also be a device separate from the machine tool 10, for example, connected to the machine tool 10 via a network.

[0058] In addition, in the present embodiment, the case has been described in which the data acquisition unit 41 and the model generation unit 42, which are learning devices, are arranged in the server 30, but the learning device may be built into the machine tool 10. Also, the learning device may be, for example, a device separate from the server 30 and connected to the server 30 via a network. Furthermore, both the learning device and the inference device may exist on the server 30.

[0059] When the machining inference unit 13 determines that the current machining process and the past machining process are not the same machining process (step S107, No), it sends this determination result to the display control unit 22. The display control unit 22 causes the display device 23 to display information indicating that the current setting information and the past setting information cannot be compared (information indicating that comparison is not possible) (step S108). This enables the machine tool 10 to notify the operator that the current correction value cannot be compared with the past correction value.

[0060] On the other hand, when the processing inference unit 13 determines that the current processing and the past processing are the same processing (step S107, Yes), the processing inference unit 13 stores the current setting information in the setting information storage unit 14. In addition, the setting information acquisition unit 31 reads out the current setting information from the setting information storage unit 14 and stores it in the setting information accumulation unit 32.

[0061] The setting information comparison unit 33 receives current setting information in which a program number, compensation information, and a tool number are associated with each other from the machining program operation unit 12. The setting information comparison unit 33 also reads out from the setting information storage unit 32 past compensation information having the same program number and tool number as the program number and tool number included in the current setting information.

[0062] The setting information comparison unit 33 compares the current setting information with the setting information accumulated in the past (step S109). Specifically, the setting information comparison unit 33 compares the correction value of the correction information included in the current setting information with the correction value of the correction information included in the past setting information.

[0063] The setting information comparison unit 33 may compare setting information not only between the same machine tool 10 but also between different machine tools 10. In other words, the setting information comparison unit 33 may compare the current setting information with setting information previously set in a machine tool 10 different from the machine tool 10 in which the current setting information is set.

[0064] The setting information comparison unit 33 calculates a correction value difference, which is the difference between the correction value of the correction information included in the current setting information and the correction value of the correction information included in the past setting information, and sends the correction value difference to the abnormality detection unit .

[0065] The abnormality detection unit 34 determines whether the current setting information (correction value) is an abnormal value based on the correction value difference sent from the setting information comparison unit 33 and the difference threshold value sent from the operator input unit 11 (step S110).

[0066] For example, if the correction value difference is equal to or greater than the difference threshold, the abnormality detection unit 34 determines that the current correction value is an abnormal setting, and if the correction value difference is smaller than the difference threshold, the abnormality detection unit 34 determines that the current correction value is a normal setting. Also, for example, the abnormality detection unit 34 can determine that the correction value difference is normal if it is less than a specific percentage (e.g., half) of the difference threshold, determine that there is a possibility of an abnormality if it is equal to or greater than half the difference threshold and smaller than the difference threshold, and determine that it is abnormal if it is equal to or greater than the difference threshold.

[0067] When abnormality detection unit 34 determines that the current correction value is appropriate (step S110, no problem), it sends information indicating that the current correction value is appropriate to display control unit 22. As a result, display control unit 22 causes information indicating that the correction value is appropriate to be displayed on display device 23. Then, machine tool 10 becomes in a state where it can accept an instruction to start machining, that is, a state where it can accept a cycle start instruction.

[0068] On the other hand, when the abnormality detection unit 34 determines that the current correction value is inappropriate (step S110, there is a problem), it sends to the display control unit 22 an alarm indicating that the current correction value is inappropriate.

[0069] Furthermore, when the abnormality detection unit 34 determines that the current correction value is inappropriate, it acquires the past correction value (the correction value accumulated in the past) used for comparison by the setting information comparison unit 33 from the setting information comparison unit 33. The abnormality detection unit 34 calculates a reset candidate value based on the acquired correction value accumulated in the past (step S111).

[0070] In addition, the previously accumulated correction values ​​used by the abnormality detection unit 34 are not limited to correction values ​​used in the same machine tool 10, but may be correction values ​​used in another machine tool 10 different from the machine tool 10 in which the current correction value is set.

[0071] The anomaly detection unit 34 sends the determined resetting candidate value to the display control unit 22. For example, the anomaly detection unit 34 sends the average value of the correction values ​​accumulated in the past to the display control unit 22 as the resetting candidate value. The anomaly detection unit 34 may also send a range of normal correction values ​​accumulated in the past to the display control unit 22 as the resetting candidate value. The anomaly detection unit 34 may also send the resetting candidate value represented by a histogram taking into account the frequency of use as a normal correction value to the display control unit 22. That is, the anomaly detection unit 34 may send a histogram including information on the frequency of use of past correction values ​​used as normal correction values ​​to the display control unit 22 as the resetting candidate value.

[0072] Display control section 22 of machine tool 10 outputs an alarm indicating that the correction value is inappropriate and the reset candidate value to display device 23 (step S112). This causes display device 23 to display the alarm and the reset candidate value on display device 23. Display device 23 may display the reset candidate values ​​in a list, may display them in a histogram, or may display the reset candidate value that has been used most frequently (the most frequent value). After the reset candidate value is displayed, machine tool 10 is ready to receive a correction value from the operator.

[0073] The operator input unit 11 receives the correction value input by the operator (step S113). That is, the operator input unit 11 receives the problem solution (revised correction value) input by the operator based on the alarm displayed on the machine tool 10 and the reset candidate value.

[0074] Note that even if abnormality detection unit 34 determines that the current correction value is inappropriate, machine tool 10 may use the current correction value. That is, machine tool 10 may use a corrected correction value input by an operator, or may use the original correction value as is. When machine tool 10 receives the correction value, it becomes in a state in which it can receive a machining start instruction, that is, a cycle start instruction.

[0075] When the cycle start instruction is input by the operator, the operator input unit 11 accepts the cycle start instruction (step S114). For example, the operator input unit 11 accepts the cycle start instruction by pressing a cycle start button for instructing the start of machining. As a result, the machine tool 10 starts machining (cycle start) using the input correction value (step S115).

[0076] When machine tool 10 completes machining, the shape of the finished product, etc. is measured, and a determination is made as to whether the product was completed successfully. Machine tool 10 accepts machining success / failure information, which is the result of the success / failure determination, and stores it in setting information storage unit 14. Machine tool 10 associates the setting information with the machining success / failure information and stores them in setting information storage unit 14. As a result, the setting information stored in setting information storage unit 14 becomes past setting information.

[0077] The setting information acquiring unit 31 reads out past setting information, difference threshold, and processing success / failure information from the setting information storage unit 14. The setting information acquiring unit 31 stores the past setting information, difference threshold, and processing success / failure information in the setting information accumulation unit 32. As a result, the past setting information, difference threshold, and processing success / failure information are accumulated in the setting information accumulation unit 32.

[0078] The setting information acquisition unit 31 may store the current setting information in the setting information accumulation unit 32 when the current processing is executed, and may store the processing success / failure information in the setting information accumulation unit 32 after the current processing is completed. In this case, too, the setting information acquisition unit 31 associates the setting information, the difference threshold, and the processing success / failure information and stores them in the setting information storage unit 14. The setting information, the difference threshold, and the processing success / failure information may be stored in the setting information storage unit 14 periodically at a specific cycle.

[0079] Here, a description will be given of the hardware configurations of the machine tool 10 and the server 30. Note that since the machine tool 10 and the server 30 have similar hardware configurations, the hardware configuration of the machine tool 10 will be described here.

[0080] Fig. 3 is a diagram showing an example of a hardware configuration for realizing a machine tool according to an embodiment. Machine tool 10 can be realized by an input device 300, a processor 100, a memory 200, an output device 400, and a display device 23. An example of processor 100 is a CPU (also called a Central Processing Unit, a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration). An example of memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).

[0081] Machine tool 10 is realized by processor 100 reading and executing a computer-executable processing program for executing the operation of machine tool 10 stored in memory 200. The processing program for executing the operation of machine tool 10 can also be said to cause a computer to execute the procedure or method of machine tool 10.

[0082] The processing program executed by the machine tool 10 has a modular configuration including a machining program operation unit 12, a machining inference unit 13, and a display control unit 22, which are loaded onto the main memory device and generated on the main memory device.

[0083] The processing programs executed by the machine tool 10 include a program that associates program numbers, correction information, and tool numbers, a program that infers whether the current machining process and a past machining process are the same machining process, and a program that displays various information on the display device 23.

[0084] The input device 300 receives setting information and the like from an operator and sends it to the processor 100. The processing executed by the input device 300 corresponds to the processing executed by the operator input unit 11.

[0085] The memory 200 stores setting information, difference threshold, processing success / failure information, processing programs, etc. The setting information, difference threshold, processing success / failure information, and processing programs are read from the memory 200 by the processor 100. The memory 200 is also used as a temporary memory when the processor 100 executes various processes.

[0086] The processing executed by the output device 400 corresponds to processing in which the machine tool 10 transmits information to the server 30. The output device 400 transmits various information such as setting information to the server 30.

[0087] The processing program may be provided as a computer program product in the form of an installable or executable file stored on a computer-readable storage medium. The processing program may also be provided to the machine tool 10 via a network such as the Internet. Note that some of the functions of the machine tool 10 may be realized by dedicated hardware such as a dedicated circuit, and some may be realized by software or firmware.

[0088] In this way, machine tool 10 of the present embodiment judges whether the current machining is the same as the past machining, and if they are the same, server 30 judges whether the current correction value is abnormal, and if they are abnormal, displays a reset candidate value and an alarm. This allows abnormality judgment system 1 to notify the operator of an abnormality in the correction value before machining begins, and prevents the occurrence of a machining defect from being overlooked.

[0089] Furthermore, since the abnormality determination system 1 uses a learned model to determine whether or not the current machining is identical to the past machining, it can perform a more accurate determination of identity by utilizing not only the correction value of one machine tool 10 but also the correction values ​​of other machine tools 10. Furthermore, since the abnormality determination system 1 calculates resetting candidate values ​​using the correction values ​​of other machine tools 10, it can provide the operator with more accurate resetting candidate values.

[0090] Furthermore, the abnormality determination system 1 determines that there is a possibility of an abnormality when the correction value difference is equal to or more than half the difference threshold and is smaller than the difference threshold, for example, and notifies the operator. This allows the abnormality determination system 1 to alert the operator even when it is difficult to automatically determine whether or not a processing defect will occur, which can lead to the suppression of processing defects.

[0091] Furthermore, the abnormality determination system 1 displays, for example, a list of reset candidate values, which allows the operator to easily understand the multiple reset candidate values ​​and easily select an appropriate reset candidate value from among the multiple reset candidate values.

[0092] Furthermore, the abnormality determination system 1 displays the reset candidate values ​​in the form of a histogram, for example. This allows the operator to easily grasp the tendency of the reset candidate values, and makes it possible to easily select an appropriate reset candidate value.

[0093] Furthermore, the abnormality determination system 1 displays, for example, the most frequent value of the resetting candidate values. This makes it possible to easily grasp the tendency of the resetting candidate values ​​and easily select an appropriate resetting candidate value.

[0094] By selecting an appropriate reset candidate value, the abnormality determination system 1 is able to cause the machine tool 10 to perform machining with an appropriate correction value that corresponds to the selected appropriate reset candidate value.

[0095] In the abnormality determination system 1 of the present embodiment, the processing inference unit 13 infers whether the current processing is the same as the past processing by using a learned model, but the processing inference unit 13 may make an inference based on a comparison result of a program name, a program number, a tool number, etc. In this case, it becomes possible to easily implement a device for making an inference.

[0096] In this manner, the abnormality determination system 1 of the embodiment detects an abnormality in the current correction value based on the difference between the current correction value set in the machine tool 10 and the past correction value that was set when machining was performed appropriately in the past. When an abnormality is detected, the abnormality determination system 1 causes the display device 23 to display information indicating that the current correction value is inappropriate. This allows the abnormality determination system 1 to perform machining while reducing the possibility of correction with an inappropriate correction value. In this manner, the abnormality determination system 1 can detect an error in the setting of the tool before machining begins, thereby preventing machining defects.

[0097] The configurations shown in the above embodiments are merely examples, and may be combined with other known technologies. Parts of the configurations may be omitted or modified without departing from the spirit of the invention. [Explanation of symbols]

[0098] 1 Abnormality judgment system, 10 machine tool, 11 operator input unit, 12 machining program operation unit, 13 machining inference unit, 14 setting information storage unit, 21 learned model storage unit, 22 display control unit, 23 display device, 30 server, 31 setting information acquisition unit, 32 setting information accumulation unit, 33 setting information comparison unit, 34 abnormality detection unit, 41 data acquisition unit, 42 model generation unit, 100 processor, 200 memory, 300 input device, 400 output device.

Claims

1. an operator input unit that receives, from an operator, a correction value to be set for the operation of a tool defined in a machining program used by the machine tool as a current correction value; a setting information comparison unit that compares the current compensation value set in the machine tool with a past compensation value that was set for the operation of the tool when machining was performed appropriately in the past; an abnormality detection unit that detects an abnormality in the current correction value based on a correction value difference that is a difference between the current correction value and the past correction value; a display control unit that displays, on a display device, information indicating that the current correction value is inappropriate when the abnormality detection unit detects an abnormality; and An abnormality determination device comprising:

2. a machining inference unit that infers whether or not a current machining process executed by the machine tool using the current correction value is the same as a past machining process that was properly executed in the past; the setting information comparison unit compares the current correction value with the past correction value when the current processing and the past processing are the same processing, the display control unit causes a display device to display information indicating that the current correction value and the past correction value cannot be compared when the current processing process and the past processing process are not the same processing process.

2. The abnormality determination device according to claim 1 .

3. When the abnormality detection unit detects the abnormality, the abnormality detection unit determines a reset candidate value that is a candidate for an appropriate correction value based on the past correction value compared with the current correction value; The display control unit causes a display device to display the reset candidate value.

2. The abnormality determination device according to claim 1 .

4. a setting information storage unit that stores past setting information, which is setting information for the machine tool, including the past correction values ​​and information on the machining program to which the past correction values ​​have been applied; the setting information comparison unit compares the current compensation value with the past compensation value using current setting information, which is setting information for the machine tool including the current compensation value, information on the machining program to which the current compensation value has been applied, and information on the tool to which the current compensation value has been applied, and the past setting information; 2. The abnormality determination device according to claim 1 .

5. the operator input unit receives from an operator a difference threshold that is a threshold for the correction value difference; the abnormality detection unit detects the abnormality based on the correction value difference and the difference threshold value.

2. The abnormality determination device according to claim 1 .

6. The processing inference unit infers whether or not the current processing is the same as the past processing by using a trained model for inferring whether or not the processing performed using the current correction value is the same as a normal processing performed using the past correction value.

3. The abnormality determination device according to claim 2.

7. a data acquisition unit that acquires learning data including the past correction values; A model generation unit that generates the trained model for inferring whether the current processing is the same as the past processing by using the learning data; Further comprising:

7. The abnormality determination device according to claim 6.

8. the operator input unit, the processing inference unit, and the display control unit are arranged in the machine tool.

3. The abnormality determination device according to claim 2.

9. the setting information comparison unit and the abnormality detection unit are arranged in a server connected to the machine tool.

2. The abnormality determination device according to claim 1 .

10. The information of the machining program to which the past correction value has been applied includes at least one of program identification information for identifying the machining program, a time stamp which is information on the date and time when the machining program was created, and shape information which is information indicating the shape of a product produced by the machining program.

2. The abnormality determination device according to claim 1 .

11. The setting information includes at least one of tool identification information for identifying the tool and correction identification information for identifying a correction item corresponding to the past correction value.

5. The abnormality determination device according to claim 4.

12. The reset candidate value includes at least one of an average value of the past correction values, a range of the past correction values, and a histogram including information on the frequency of use of the past correction values.

4. The abnormality determination device according to claim 3.

13. An abnormality determination system comprising the abnormality determination device according to any one of claims 1 to 12.

14. an operator input step in which the abnormality determination device receives, from an operator, a correction value to be set for the operation of a tool defined in a machining program used by the machine tool as a current correction value; a setting information comparison step in which the abnormality determination device compares the current correction value set in the machine tool with a past correction value that was set for the operation of the tool when machining was performed appropriately in the past; an abnormality detection step in which the abnormality determination device detects an abnormality in the current correction value based on a correction value difference that is a difference between the current correction value and the past correction value; a display control step of causing a display device to display information indicating that the current correction value is inappropriate when the abnormality determination device detects an abnormality; An abnormality determination method comprising: