Device diagnosis system, learning apparatus, learned model, and method for generating learned model
By generating a learned model and utilizing data sets of similar devices, the problem in the existing technology that device anomaly detection requires deliberately causing anomalies in the device is solved, the accuracy of anomaly detection is improved, and the device's mobility is achieved without reducing the mobility rate. , accurately diagnose the device status.
Patent Information
- Application Number
- CN202380020059.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-09
- Filing Date
- 2023-01-24
- Publication Date
- 2024-09-24
AI Technical Summary
In the existing technology, during equipment anomaly detection, the equipment needs to be intentionally abnormal to obtain actual measured values, and the accuracy of the threshold set by user experience is low, resulting in reduced anomaly detection accuracy.
Use a device diagnosis system to generate a learned model by storing data sets of normal and abnormal states, use data from similar devices for diagnosis, avoid deliberately causing abnormalities in the diagnosis target equipment, and select feature quantities with variances within the specified range as learning data , generate a model for diagnosis.
It achieves accurate diagnosis of equipment status without intentionally causing equipment abnormality, improves the accuracy of abnormality detection, and avoids the decrease in accuracy caused by inaccurate threshold setting.
Smart Images

Figure CN118696282A
Abstract
Description
Technical Field
[0001] The invention relates to an equipment diagnosis system, a learning device, a learned model and a method for generating the learned model. Background Art
[0002] In the past, in order to diagnose whether an abnormality has occurred in a device, an abnormality detection device using the detection value of a sensor installed in the device is known. For example, the abnormality detection device described in Japanese Patent Publication No. 2020-104257 (Patent Document 1) uses the detection result of a current sensor installed in a processing machine as an abnormality detection object to detect abnormality of the processing machine.
[0003] More specifically, the abnormality detection device described in Japanese Patent Publication No. 2020-104257 (Patent Document 1) determines that an abnormality has occurred in the processing machine when the measured value of the current sensor exceeds a preset threshold value. As a method for setting the threshold, Patent Document 1 describes a method for determining the threshold based on the actual measured value of the current sensor when the processing machine actually has an abnormality, and a method for determining the threshold based on the experience of the user who uses the processing machine.
[0004] Prior art literature
[0005] Patent Literature
[0006] Patent Document 1: Japanese Patent Application Publication No. 2020-104257 Summary of the invention
[0007] Problems to be solved by the invention
[0008] However, in order to obtain the actual measured value of the current sensor when the processing machine actually has an abnormality, it is necessary to intentionally cause the processing machine to have an abnormality. In addition, when setting a threshold value based on user experience, the accuracy of the set threshold value is sometimes low, and the accuracy of abnormality detection may be reduced.
[0009] The present invention has been made to solve such a problem, and an object of the present invention is to provide a device diagnosis system that can appropriately diagnose the state of a device without intentionally causing an abnormality in the device to be diagnosed.
[0010] Means for solving problems
[0011] The equipment diagnostic system in the present invention is an equipment diagnostic system that takes the first equipment as the diagnostic object. The equipment diagnostic system has a storage device and a diagnostic device. The storage device stores a first data set, a second data set, and a third data set. The first data set includes a first data representing the state of the first equipment when the first equipment is operating normally. The second data set includes a second data representing the state of the second equipment when a second equipment similar to the first equipment is operating normally. The third data set includes a third data representing the state of the second equipment when the second equipment is not operating normally. The diagnostic device diagnoses the state of the first equipment based on the first data set, the second data set, and the third data set. The first data, the second data, and the third data each include at least a common first type of feature quantity. The variance of the first type of feature quantity in the first data set and the second data set is within a specified range. The diagnostic device compares the first data set with the second data set, selects the first type from the types of feature quantities contained in the first data and the second data, uses the feature quantities of the first type in the second data and the feature quantities of the first type in the third data as learning data, generates a learned model for diagnosing the state of the second device, inputs the feature quantities of the first type in the first data into the generated learned model, and diagnoses the state of the first device.
[0012] Effects of the Invention
[0013] According to the present invention, the state of a device can be appropriately diagnosed without intentionally causing abnormality in the device to be diagnosed. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 This is a diagram showing the configuration of the device diagnostic system in the first embodiment.
[0015] Figure 2 This is a schematic diagram for explaining the device diagnosis flow in the device diagnosis system in the first embodiment.
[0016] Figure 3 This is a diagram showing an example of vibration data of one cycle in a machine tool that is a diagnosis target in a normal state.
[0017] Figure 4 This is a diagram showing an example of vibration data of one cycle in a test machine tool in a normal state.
[0018] Figure 5 This is a flowchart for generating a learned model of the equipment diagnosis system in the first embodiment.
[0019] Figure 6 This is a scatter diagram of the maximum value of vibration acceleration in the vibration data of 200 cycles of each machine tool.
[0020] Figure 7This is a scatter diagram of values obtained by dividing the maximum value of vibration acceleration in 200-cycle vibration data of each machine tool by the standard deviation.
[0021] Figure 8 This is a diagram showing an example of learning data.
[0022] Fig. 9 This is a diagram for explaining the generation of a learned model using the k-nearest neighbor method.
[0023] Fig.10 This is a diagram showing a machine tool to be diagnosed in the second embodiment.
[0024] Fig.11 This is a diagram showing the configuration of a device diagnostic system in the second embodiment.
[0025] Fig.12 This is a schematic diagram for explaining the device diagnosis process in the device diagnosis system in the second embodiment. DETAILED DESCRIPTION
[0026] Hereinafter, the implementation of the technical concept of the present invention will be described with reference to the accompanying drawings. In the following description, the same components are marked with the same reference numerals. The names and functions of these components are also the same. Therefore, the detailed description of these components will not be repeated.
[0027] Implementation method 1.
[0028] <Structure of Equipment Diagnosis System>
[0029] Figure 1 1 is a diagram showing the structure of the equipment diagnosis system 100 in the first embodiment. The equipment diagnosis system 100 in the first embodiment includes a machine tool 10 and a test machine tool 20 as the diagnosis object. The machine tools 10 and 20 in the first embodiment are, for example, machining centers. In addition, the machine tools 10 and 20 are not limited to machining centers, but may be other types of machines. For example, the machine tools 10 and 20 may also be a press machine, a lathe, etc.
[0030] like Figure 1 As shown, the machine tool 10 as the diagnostic target of the equipment diagnostic system 100 in Embodiment 1 is assembled in the production line. The products processed and formed by the machine tool 10 are sent to the subsequent process of the production line. On the other hand, the test machine tool 20 is not assembled in the production line, and even if the machine tool 20 stops, the production efficiency of the production line is not affected.
[0031] The machine tool 20 does not need to be a machining center of the same model as the machine tool 10. For example, the machine tool 20 may have a function that the machine tool 10, which is used only for testing and is actually assembled in a production line, does not have.
[0032] In this way, the machine tool 20 is not limited to the same model as the machine tool 10, as long as the machine characteristics are similar to those of the machine tool 10. That is, the purpose of the machine tool 10 and the purpose of the machine tool 20 can be the same. In the case where the machine tool 10 is a machining center, the machine tool 20 can be a machining center, and in the case where the machine tool 10 is a punching machine, the machine tool 20 can be a punching machine. The machine tool 10 corresponds to the "first device" in the present invention. The machine tool 20 corresponds to the "second device" in the present invention.
[0033] like Figure 1 As shown, the equipment diagnosis system 100 includes sensors 11 , 21 , signal processing devices 12 , 22 , a storage device 13 , a diagnosis device 14 , a control device 15 , and a status display 16 in addition to the machine tools 10 , 20 .
[0034] Sensors 11 and 21 are sensors that detect information indicating the states of machine tools 10 and 20, respectively. Sensors 11 and 21 in Embodiment 1 are vibration sensors that detect vibrations generated in bearings when machine tools 10 and 20 are in operation. The operation of machine tools 10 and 20 includes processing such as machining and molding of products.
[0035] In addition, the sensors 11 and 21 are not limited to vibration sensors, but may be other types of sensors. For example, the sensors 11 and 21 may be microphones for detecting the vibration sound of bearings, current sensors for detecting the current value flowing in the drive motors included in the machine tools 10 and 20, load sensors for detecting the load generated by the fixtures, image sensors for photographing the state of the processed product, temperature sensors, and speed sensors for the drive motors.
[0036] The sensor 11 in the machine tool 10 is installed at the same position as the installation position of the sensor 21 in the machine tool 20. In other words, the sensor 11 and the sensor 21 are installed on the components and parts commonly provided in the machine tools 10 and 20. More specifically, in the first embodiment, the sensor 11 as a vibration sensor is installed on the outer wall of the machine tool 10. Similarly, the sensor 21 as a vibration sensor is installed on the outer wall of the machine tool 20. In addition, when the sensors 11 and 21 are vibration sensors, the sensors 11 and 21 are preferably arranged near the workpiece as the cutting object.
[0037] Assuming that the sensor 11 is a current sensor and is attached to the power line of the main spindle rotation axis of the machine tool 10 , the sensor 21 is a current sensor and is attached to the power line of the main spindle rotation axis of the machine tool 20 similarly to the sensor 11 .
[0038] The signal processing devices 12 and 22 process the signals received from the sensors 11 and 21, respectively. That is, the signal processing devices 12 and 22 convert the information detected by the sensors 11 and 21 into digital form. The signal processing devices 12 and 22 include, for example, amplifiers, filters, A / D converters, etc. The storage device 13 stores the information converted by the signal processing devices 12 and 22, respectively.
[0039] The diagnostic device 14 includes a data acquisition unit 14A and a model generation unit 14B. The data acquisition unit 14A acquires data stored in the storage device 13. The model generation unit 14B generates a learned model. The diagnostic device 14 generates a learned model for diagnosing the state of the machine tool 10 based on the information stored in the storage device 13 through the data acquisition unit 14A and the model generation unit 14B. The diagnostic device 14 that generates the learned model is an example of the "learning device" in the present invention. When an abnormality is detected in the machine tool 10, the diagnostic device 14 sends information indicating that the abnormality has occurred in the machine tool 10 to the control device 15 and the status display 16.
[0040] The control device 15 controls the processing by the machine tool 10. When the control device 15 receives information indicating that an abnormality has occurred in the machine tool 10 from the diagnostic device 14, it stops the machine tool 10. In addition, the control device 15 may not completely stop the machine tool 10, but may limit only a part of the function of the machine tool 10 according to the degree of the abnormality occurring in the machine tool 10.
[0041] The status display 16 is, for example, an operation screen of the machine tool 10. The status display 16 notifies the user of the abnormality by displaying information indicating the abnormality on the screen. In addition, the status display 16 may also include a lamp, a speaker, etc. When an abnormality occurs, the status display 16 turns on the lamp and generates a warning sound from the speaker. In addition, the status display 16 may also have a function of sending an email indicating the abnormality to the user.
[0042] In addition, Figure 1 In the above description, the device diagnosis system 100 is described as having one storage device 13, but the number of storage devices provided in the device diagnosis system 100 is not limited to one. For example, in the device diagnosis system 100, a storage device for storing information processed by the signal processing device 12 and a storage device for storing information processed by the signal processing device 22 may be separately provided.
[0043] <Flow of equipment diagnosis>
[0044] Figure 2 Schematic diagram for explaining the device diagnosis process in the device diagnosis system 100 in Embodiment 1. Figure 2As shown, in step S1, the diagnostic device 14 acquires data on the normal state of the machine tool 10 assembled in the production line. The normal state refers to a state in which the operation of processing and molding a product can be performed without any problem.
[0045] When the machine tool 10 in a normal state performs processing and molding of a product, the sensor 11 detects the vibration occurring in the machine tool 10. The vibration information detected by the sensor 11 is converted into vibration data in digital form by the signal processing device 12 and sent to the storage device 13. The storage device 13 stores the vibration data generated by the bearing in the machine tool 10 in a normal state. In embodiment 1, in the storage device 13, vibration data is stored according to each processing cycle executed in the machine tool 10. A processing cycle refers to one unit of processing executed by the machine tool 10. For example, one action such as grinding or drilling is referred to as "one cycle".
[0046] Figure 3 FIG. 1 is a diagram showing an example of vibration data of one cycle in the machine tool 10 to be diagnosed in a normal state. Figure 3 The vibration acceleration (m / s) when one cycle of drilling is performed is shown in 2 ) as vibration data, the storage device 13 stores Figure 3 Vibration data shown. Figure 3 The maximum value of the vibration acceleration in the vibration data example is 0.17m / s 2 .
[0047] return Figure 2 In the equipment diagnostic system 100 in the first embodiment, in step S1, 200 cycles of vibration data are obtained. That is, the equipment diagnostic system 100 causes the machine tool 10 in a normal state to perform 200 cycles of processing. The sensor 11 detects the vibration information of 200 cycles. In addition, the number of cycles is not limited to 200 cycles, and may be, for example, several tens to several million cycles.
[0048] Next, in step S2 , the diagnostic device 14 acquires vibration data of the testing machine tool 20 in a normal state. Figure 4 2 is a diagram showing an example of vibration data of one cycle in the test machine tool 20 in a normal state. Figure 4 In, with Figure 3 Similarly, the vibration acceleration (m / s) when one cycle of drilling processing is performed is shown. 2 ) as vibration data. Figure 4 In the example of vibration data shown, the maximum value of vibration acceleration is 0.10m / s 2 In step S2 , equipment diagnosis system 100 also causes machine tool 20 to perform 200 cycles of processing, and causes sensor 21 to detect vibration information in each processing cycle.
[0049] return Figure 2 In step S3, the equipment diagnosis system 100 obtains data on the abnormal state of the test machine tool 20. That is, in step S3, the user intentionally causes an abnormality in the test machine tool 20. For example, the user replaces a component included in the test machine tool 20 with a damaged component.
[0050] Thus, the equipment diagnosis system 100 obtains vibration data of the machine tool 20 in the abnormal state that is different from the vibration data in the normal state obtained in step S2. For example, in the vibration data in the abnormal state, the maximum value of the vibration acceleration may be larger or smaller than the vibration data in the normal state. In step S3, the equipment diagnosis system 100 also causes the machine tool 20 in the abnormal state to perform 200 cycles of processing, and causes the sensor 21 to detect vibration information in each processing cycle.
[0051] Thus, the storage device 13 stores 200 cycles of vibration data in the normal state of the machine tool 10, 200 cycles of vibration data in the normal state of the machine tool 20, and 200 cycles of vibration data in the abnormal state of the machine tool 20. Hereinafter, for example, 200 cycles of vibration data are referred to as a "data set". In addition, as described above, the number of vibration data in the data set is not limited to 200, and may be data of several tens to several million.
[0052] The data set of the machine tool 10 in a normal state corresponds to the "first data set" in the present invention. The data set of the machine tool 20 in a normal state corresponds to the "second data set" in the present invention. The data set of the machine tool 20 in an abnormal state corresponds to the "third data set" in the present invention.
[0053] In addition, the order of steps S1 to S3 is not limited to Figure 2 For example, the equipment diagnosis system 100 may first obtain a data set of the machine tool 20 in an abnormal state, then obtain a data set of the machine tool 20 in a normal state, and finally obtain a data set of the machine tool 10 in a normal state.
[0054] Then, if Figure 2 As shown, in step S4, the equipment diagnosis system 100 generates a learned model. Figure 5 Finally, in step S5 , the equipment diagnosis system 100 uses the learned model generated in step S4 to diagnose the state of the machine tool 10 to be diagnosed.
[0055] <Generation process of learned model>
[0056] Figure 5 1 is a flowchart for generating a learned model of the equipment diagnosis system 100 in Embodiment 1. Figure 5, the processing of steps S100 to S105 executed by the diagnostic device 14 is shown.
[0057] The data acquisition unit 14A of the diagnostic device 14 acquires the data set of the machine tool 10 in the normal state stored in the storage device 13 (step S100). That is, the diagnostic device 14 acquires a plurality of vibration data of the machine tool 10 in the normal state from the storage device 13. Next, the data acquisition unit 14A of the diagnostic device 14 acquires the data set of the machine tool 20 in the normal state stored in the storage device 13 (step S101). That is, the diagnostic device 14 acquires a plurality of vibration data of the machine tool 20 in the normal state from the storage device 13.
[0058] The diagnostic device 14 compares the data set of the machine tool 10 in a normal state with the data set of the machine tool 20 in a normal state (step S102). In other words, the diagnostic device 14 compares the data set obtained in step S100 with the data set obtained in step S101. The comparison processing in step S102 is performed to select the type of feature quantity with a smaller difference described later from the types of feature quantities common between the data sets of the machine tool 10 and the data sets of the machine tool 20.
[0059] Figure 3 and Figure 4 The vibration data shown includes various feature quantities. Figure 3 , Figure 4 The vibration data includes, for example, the maximum value, average value or standard deviation of the vibration acceleration in one cycle, or the vibration time of one cycle as feature quantities, and also includes various parameters representing the characteristics of the vibration data, such as a combination of these feature quantities.
[0060] For example, the diagnostic device 14 generates new feature quantities by performing Fourier transform, wavelet transform, or other transform processing on the waveforms detected by the sensors 11 and 21. Alternatively, the diagnostic device 14 may generate new feature quantities using a dimensionality reduction algorithm such as principal component analysis.
[0061] The diagnostic device 14 selects the type with the smallest difference in the change of the feature quantity between the data set of the machine tool 10 in the normal state and the data set of the machine tool 20 in the normal state. Figure 6 , 7 , explaining the method of selecting types of feature quantities with smaller differences.
[0062] exist Figure 6 In FIG. 2 , the difference in a characteristic quantity, namely “the maximum value of vibration acceleration”, between machine tool 10 and machine tool 20 is described. Figure 6 This is a scatter diagram of the maximum value of the vibration acceleration in the vibration data of 200 cycles of each machine tool 10 and 20. Figure 6In FIG. 1 , the circular icon indicates the maximum value of the vibration acceleration in each vibration data of 200 cycles of the machine tool 10 in a normal state. Figure 6 In FIG. 1 , the triangle icon represents the maximum value of the vibration acceleration in each vibration data of the machine tool 20 in the normal state for 200 cycles. Figure 6 As shown, the average of the maximum values of the vibration acceleration in each vibration data represented by a circular icon is about 0.14 m / s 2 .
[0063] on the other hand, Figure 6 The average of the maximum values of the vibration acceleration in each vibration data indicated by a triangle icon is about 0.09 m / s 2 That is, the difference between the average of the maximum values of the vibration acceleration in the machine tool 10 and the average of the maximum values of the vibration acceleration in the machine tool 20 is 0.05 m / s. 2 .
[0064] Then, in Figure 7 In the following, a difference in a feature quantity, namely, a value obtained by dividing the maximum value of vibration acceleration by the standard deviation, between machine tool 10 and machine tool 20 is described. Figure 7 This is a scatter diagram of values obtained by dividing the maximum value of vibration acceleration in 200-cycle vibration data of each of the machine tools 10 and 20 by the standard deviation.
[0065] exist Figure 7 In FIG. 1 , the circular icons indicate values obtained by dividing the maximum value of the vibration acceleration in each vibration data of 200 cycles of the machine tool 10 in a normal state by the standard deviation. Figure 7 The standard deviation in the circular icon refers to the standard deviation of the maximum value of the vibration acceleration of 200 cycles in the machine tool 10 in the normal state.
[0066] exist Figure 7 In FIG. 1 , the triangular icon indicates a value obtained by dividing the maximum value of the vibration acceleration in each vibration data of 200 cycles of machine tool 20 in a normal state by the standard deviation. Figure 7 The standard deviation in the triangular icon refers to the standard deviation of the maximum value of the vibration acceleration of 200 cycles in the machine tool 20 in the normal state.
[0067] like Figure 7 As shown in the circular icon, in the machine tool 10, the average of the values obtained by dividing the maximum value of the vibration acceleration of the vibration data of one cycle by the standard deviation is about 1.45 m / s 2 In addition, if Figure 7 As shown in the triangle icon, in the machine tool 20, the average of the values obtained by dividing the maximum value of the vibration acceleration of the vibration data of one cycle by the standard deviation is about 1.44 m / s2 That is, the difference between the average of the values obtained by dividing the maximum value of the vibration acceleration in the machine tool 10 by the standard deviation and the average of the values obtained by dividing the maximum value of the vibration acceleration in the machine tool 20 by the standard deviation is 0.01 m / s 2 .
[0068] so, Figure 7 The characteristic quantity "the value obtained by dividing the maximum value of the vibration acceleration by the standard deviation" shown in Figure 6 Compared with the characteristic quantity of “maximum value of vibration acceleration” shown, the difference between machine tool 10 and machine tool 20 is small.
[0069] That is, the diagnostic device 14 obtains the Figure 6 The maximum value of the "maximum value of vibration acceleration" is close to 0.14m / s 2 The value is still close to 0.9m / s 2 , it is easy to predict whether the vibration data belongs to the machine tool 10 or the machine tool 20. On the other hand, even if the diagnostic device 14 obtains a value from a certain vibration data Figure 7 The “value obtained by dividing the maximum value of vibration acceleration by the standard deviation” shown also has a small difference between machine tool 10 and machine tool 20 , so it is not easy to predict whether the vibration data belongs to machine tool 10 or machine tool 20 .
[0070] The following, such as Figure 6 The feature quantity that differs greatly between machine tool 10 and machine tool 20, such as the "maximum value of vibration acceleration" shown in FIG. 1 , is referred to as a "device-dependent feature quantity". Figure 7 A feature quantity with a small difference between machine tool 10 and machine tool 20 , such as the “value obtained by dividing the maximum value of vibration acceleration by the standard deviation” shown in FIG. 1 , is referred to as a “feature quantity not dependent on equipment.”
[0071] A plurality of feature quantities may be used as a feature quantity that is independent of the device. Specifically, a feature quantity that is independent of the device may also be the result of dividing feature quantities with each other. In addition, a feature quantity that is independent of the device may also be a dimensionless feature quantity. In addition, the diagnostic device 14 may also connect an amplifier to the sensor to amplify the electrical signal output from the sensor, thereby reducing the difference in the sensor output signal between the machine tool 10 and the machine tool 20. Specifically, the diagnostic device 14 uses an amplifier to amplify the sensor output signal with a smaller output among the sensor output signals of the machine tool 10 and the machine tool 20. As a result, the difference in the sensor output signal between the machine tool 10 and the machine tool 20 is reduced, and the difference in the feature quantity is also reduced.
[0072] return Figure 5, the diagnostic device 14 selects the type of feature quantity with smaller difference (step S103). Specifically, the diagnostic device 14 obtains the type of common feature quantity from the data sets of both the machine tools 10 and 20 in normal state, and calculates the variance of the data sets of both the machine tools 10 and 20 as a population. If the value of the calculated variance is smaller than the predetermined specified range, the diagnostic device 14 selects the type of feature quantity as the feature quantity with smaller difference. In short, the diagnostic device 14 regards the data set of the machine tool 10 in normal state and the data set of the machine tool 20 in normal state as a population, and calculates the variance of the feature quantity in the population.
[0073] In step S103 of embodiment 1, Figure 7 The "value obtained by dividing the maximum value of vibration acceleration by the standard deviation" shown is within the specified range relative to the variance of the population. Therefore, the diagnostic device 14 selects the feature quantity "the value obtained by dividing the maximum value of vibration acceleration by the standard deviation" as the feature quantity with a smaller difference. On the other hand, Figure 6 The "maximum value of vibration acceleration" shown is not within the specified range relative to the variance of the population. Therefore, the diagnostic device 14 does not select a feature quantity such as the "maximum value of vibration acceleration" as a feature quantity with a small difference. In this way, the diagnostic device 14 uses the variance to select a feature quantity with a small difference. In step S103, the diagnostic device 14 may also select multiple feature quantities with small differences.
[0074] In the first embodiment, in addition to the feature quantity "the value obtained by dividing the maximum value of the vibration acceleration by the standard deviation", "the vibration time of one cycle" is selected as the feature quantity with a smaller difference. That is, the diagnostic device 14 in the first embodiment selects the two feature quantities "the value obtained by dividing the maximum value of the vibration acceleration by the standard deviation" and "the vibration time of one cycle" as the feature quantities with a smaller difference. In addition, the diagnostic device 14 may select three or more feature quantities as the feature quantities with a smaller difference. In addition, the type of feature quantity selected as the feature quantity with a smaller difference corresponds to the "first type" in the present invention.
[0075] Next, data acquisition unit 14A of diagnostic device 14 acquires the data set of abnormal machine tool 20 stored in storage device 13 (step S104 ). That is, diagnostic device 14 acquires a plurality of vibration data of abnormal machine tool 20 from storage device 13 .
[0076] Diagnostic device 14 generates a learned model using the feature quantity selected in step S103 in the data sets of machine tool 20 in the normal state and the abnormal state as learning data (step S105 ), and ends the process. Figure 8 is a diagram showing an example of learning data. Figure 8 , a column "Max / σ", a column "T", and a column "state label" are shown.
[0077] The column "Feature Quantity Max / σ" indicates the feature quantity selected in step S103, namely, "the value obtained by dividing the maximum value of the vibration acceleration by the standard deviation". The column "Feature Quantity T" indicates the feature quantity selected in step S103, namely, "the vibration time of one cycle". The column "State Label" is a state variable indicating whether the machine tool 20 is in an abnormal state or a normal state. The state variable is associated with each vibration data.
[0078] like Figure 8 As shown in FIG. 1 , in the learning data, in order to uniquely identify each vibration data, the 1st to 400th cycle numbers are used. Hereinafter, the variable used to uniquely identify each vibration data is referred to as an "independent variable". Figure 8 The cycle number shown may also be, for example, the time at which processing starts. Figure 8 In order to simplify the description, specific numerical values of the column “feature amount Max / σ” and the column “feature amount T” in each vibration data are not shown.
[0079] The rows of the 1st to 200th cycles show the vibration data of the data set in the normal state of the machine tool 20. The rows of the 201st to 400th cycles show the vibration data of the data set in the abnormal state of the machine tool 20.
[0080] return Figure 5 In step S105, the model generation unit 14B of the diagnostic device 14 generates a model consisting of feature quantities with small differences. Figure 8 The learning data is used as supervisory data to generate a learned model. Thus, in equipment diagnosis system 100, a learned model is generated for inferring the state of machine tool 10 based on the feature quantity representing the state of machine tool 10. The learned model is generated using, for example, the k-nearest neighbor method (k-NN). Fig. 9 This is a diagram for explaining the generation of a learned model using the k-nearest neighbor method.
[0081] exist Fig. 9 , a graph is shown with "feature quantity Max / σ" as the vertical axis and "feature quantity T" as the horizontal axis. Figure 8 A portion of each vibration data in the learning data. Fig. 9 In the figure, the circular icons represent vibration data whose state variables are in the "normal state". The group of circular icons is called "cluster A". That is, the data belonging to cluster A is Figure 8 Any of the data shown in the rows of the 1st to 200th cycles in . Fig. 9 In FIG. 1 , the quadrilateral icon represents the vibration data whose state variable is in an "abnormal state". The group of quadrilateral icons is called "cluster B". That is, the data belonging to cluster B is Figure 8Any one of the data shown in the rows of the 201st to 400th cycles in .
[0082] In the diagnosis process for diagnosing the state of machine tool 10, diagnosis device 14 newly acquires vibration data from machine tool 10. Diagnosis device 14 determines whether the newly acquired vibration data of machine tool 10 is included in cluster A or cluster B.
[0083] The diagnostic device 14 obtains the new vibration data from the diagnostic target machine tool 10. Figure 5 The feature quantities with smaller differences selected in step S103 are "the value obtained by dividing the maximum value of the vibration acceleration by the standard deviation" and "the vibration time of one cycle". Fig. 9 As shown, the diagnostic device 14 plots new vibration data q as a diagnostic target. The new vibration data q is shown as a star icon.
[0084] The diagnostic device 14 extracts k vibration data in the vicinity of the vibration data q shown in a star shape. Fig. 9 In the example, k is 5, and the 6 data including the vibration data q are surrounded by the dotted line. Fig. 9 As shown, the number of quadrilateral icons in the five data surrounded by the dotted line is greater than the number of circular icons. Specifically, the number of quadrilateral icons is three, while the number of circular icons is two.
[0085] The diagnostic device 14 determines that the cluster B to which the largest number of quadrilateral icons belongs among the k icons near the vibration data q is the cluster to which the vibration data q belongs. Thus, the diagnostic device 14 can classify the state of the newly acquired vibration data according to the learned model generated based on the data set. The number k is preferably an odd number.
[0086] In addition, the diagnostic device 14 may use a method other than the k-nearest neighbor method (k-NN) as a method for generating a learned model for determining the cluster to which the vibration data q belongs. For example, the diagnostic device 14 may only use the cluster to which the vibration data having the value closest to the vibration data q belongs as the cluster to which the vibration data q belongs. In addition, the diagnostic device 14 may also classify the vibration data q using a method such as a decision tree or a support vector machine.
[0087] In addition, in addition to the "normal state" and "abnormal state", other states may also be included in the state variable. For example, the "abnormal state" may be further subdivided into "bad processing state" and "tool defect state". The "bad processing state" is a state in which the product processed by the machine tool 20 is bad. The "tool defect state" is a state in which the tool included in the machine tool 20 is abnormal.
[0088] These subdivisions can be performed manually by the user, or the diagnostic device 14 can perform subdivision of the "abnormal state" based on the characteristic quantity of the vibration data. That is, the diagnostic device 14 extracts the characteristic quantity of each vibration data in the "abnormal state" and further classifies each vibration data using the k-means method or the like. Similarly, the diagnostic device 14 can also extract the characteristic quantity of each vibration data in the "normal state" and subdivide the "normal state". In this way, the diagnostic device 14 further classifies the state of the machine tool 20 based on the data set of the machine tool 20 in the normal state and the data set of the machine tool 20 in the abnormal state.
[0089] Thus, in the equipment diagnosis system 100 of the first embodiment, the state of the machine tool 10 can be diagnosed by using the vibration data detected from the machine tool 20 similar to the machine tool 10 as the learning data without stopping the machine tool 10 assembled in the production line. Thus, the equipment diagnosis system 100 can appropriately diagnose the state of the machine tool 10 without intentionally causing an abnormality in the machine tool 10 to be diagnosed. That is, in the equipment diagnosis system 100, since the machine tool 10 is not stopped, the decrease in the availability of the machine tool 10 is suppressed, and further, using the learned model, accurate abnormality detection can be performed compared with the case where the threshold for detecting abnormality is set based on the user's experience, so the decrease in the accuracy of abnormality detection can be suppressed.
[0090] <Variation of Implementation Example 1>
[0091] The machine tool 20 may be a simulated machine tool instead of an actual machine tool. The simulated machine tool 20 adjusts the parameters on the simulation so that the specifications, model, and mechanical structure are consistent with the actual machine tool 10 assembled in the production line.
[0092] Implementation method 2.
[0093] In the device diagnosis system 100 of the first embodiment, an example in which the machine tool 10 and the machine tool 20 are separate machine tools is described. In the second embodiment, a configuration for diagnosing the status of a single machine tool on which a plurality of tools are mounted is described. In addition, in the device diagnosis system 200 of the second embodiment, configurations that overlap with those of the device diagnosis system 100 of the first embodiment are not described repeatedly.
[0094] Fig.10 FIG. 2 is a diagram showing a machine tool 30 to be diagnosed in Embodiment 2. The machine tool 30 includes tools 38A to 38F stored in a support 37. Fig.10 As shown, the machine tool 30 mounts one of the tools 38A to 38F on the mounting portion 39 to process the workpiece 36. Fig.10In the example shown, the tool 38A is mounted on the mounting portion 39. The machine tool 30 uses the tool separately from the support 37 according to the machining program to machine the workpiece 36. The machine tool 30 can correspond to the "machining equipment" in the present invention.
[0095] The diagnostic device 14 in the second embodiment uses the state of the machine tool 30 using the tool 38A as the diagnostic object, and obtains the learning data from the machine tool 30 using the tool 38B. The tool 38A and the tool 38B are tools of the same type of cutting method. For example, the tools 38A and 38B in the second embodiment are both drills. That is, the tool 38A and the tool 38B are similar tools. In addition, the tools 38A and 38B may also be end mills, reamer, turning inserts, and other various tools, but the tools 38A and 38B are preferably the same type of tools.
[0096] For example, when tool 38A is an end mill, tool 38B is also preferably an end mill. Tools 38A and 38B have different cutting conditions such as tool diameter, tool length, tool material type, rotation speed, and feed speed. Tool 38A corresponds to the "first tool" in the present invention, and tools 38B to 38F correspond to the "second tool" in the present invention.
[0097] <Structure of Equipment Diagnosis System>
[0098] Fig.11 FIG. 2 is a diagram showing the structure of the device diagnosis system 200 in Embodiment 2. Fig.11 As shown, in Embodiment 2, the equipment diagnostic system 200 has a sensor 31 and a signal processing device 32. The sensor 31 in Embodiment 2 is, for example, a current sensor. The sensor 31 as a current sensor is preferably installed on the wire from the power supply of the spindle motor that rotates any one of the tools 38A to 38F of the machine tool 30 to the inverter or the wire from the inverter to the motor. The sensor 31, the signal processing device 32, the storage device 13, the diagnostic device 14, the control device 15 and the status display 16 can be respectively arranged inside the machine tool 30, or can be set separately from the machine tool 30. In the case where the sensor 31 is a current sensor or a vibration sensor, the sampling period is preferably the same in both the measurement of the tool 38A and the measurement of the tool 38B.
[0099] <Device Diagnosis Process in Implementation Method 2>
[0100] Fig.12 This is a schematic diagram for explaining the equipment diagnosis process in the equipment diagnosis system 200 in Embodiment 2. The equipment diagnosis system 200 obtains data of the normal state of the machine tool 30 using the tool 38A (step S21). Next, in the equipment diagnosis system 200, the tool used by the machine tool 30 is changed from the tool 38A to the tool 38B.
[0101] Equipment diagnostic system 200 obtains data of normal state of machine tool 30 using tool 38B (step S22). Then, similarly to the first embodiment, tool 38B is intentionally made abnormal, and equipment diagnostic system 200 obtains data of abnormal state of machine tool 30 using tool 38B (step S23).
[0102] The equipment diagnosis system 100 generates a learned model based on the data obtained in steps S21 to 23 (step S24). Specifically, the equipment diagnosis system 200 selects a feature quantity with a small difference from a plurality of data of the machine tool 30 in a normal state using the tool 38A and a plurality of data of the machine tool 30 in a normal state using the tool 38B. It is preferable to select a dimensionless feature quantity as the feature quantity. The equipment diagnosis system 200 generates a learned model using a feature quantity with a small difference among a plurality of data of the machine tool 30 using the tool 38B in a normal state and an abnormal state.
[0103] Then, in the equipment diagnosis system 200, the state of the machine tool 30 using the tool 38A is diagnosed using the generated learned model (step S25). In this way, in the equipment diagnosis system 200 of the second embodiment, it is possible to diagnose whether the tool 38A is abnormal or not using only the data when the tool 38B is abnormal. In addition, in the equipment diagnosis system 200, the generated learned model can also be used to diagnose the state of the machine tool 30 using not only the tool 38A but also other tools similar to the tool 38B.
[0104] That is, in the equipment diagnosis system 200, in order to generate the learned model for diagnosing the states of the machine tool 30 when the tools 38A to 38F are used, it is not necessary to intentionally cause an abnormality in the tool 38A similar to the tool 38B. Thus, in the equipment diagnosis system 200 of the second embodiment, by only acquiring data of the abnormal state and the normal state when one tool 38B is used, it is possible to generate the learned model without acquiring data of the abnormal state when other tools are used.
[0105] Furthermore, in the equipment diagnosis system 200 of the second embodiment, it is possible to appropriately diagnose the state of the machine tool 30 using the tool 38A, without intentionally causing an abnormality in the machine tool 30 using the tool 38A to be diagnosed. That is, in the equipment diagnosis system 200, since the machine tool 30 is not stopped to install each tool of the machine tool 30 and become in an abnormal state, the availability of the machine tool 30 is suppressed from decreasing, and further, using the learned model, accurate abnormality detection can be performed compared to the case where the threshold for detecting abnormality is set based on the user's experience, so that the accuracy of abnormality detection can be suppressed from decreasing.
[0106] <How to obtain abnormal data>
[0107] In the equipment diagnosis system 200, a data set of normal state and abnormal state of the machine tool 30 when the tool 38B is used may be obtained during the durability test. The durability test is a test to test the durability of the tool 38B and the machine tool 30 by operating the machine tool 30 until the tool 38B or the machine tool 30 deteriorates. In the durability test, the machine tool and the tool are continuously operated under strict conditions in order to cause an abnormality in a short time.
[0108] At the beginning of the endurance test, the tool 38B and the machine tool 30 are in a normal state, and as the endurance test progresses, the tool 38B and the machine tool 30 deteriorate and abnormalities occur. In this way, by acquiring data sets of normal and abnormal states together with the endurance test, the user can confirm how the feature quantity changes with degradation.
[0109] The following is an example of obtaining a data set of normal state and abnormal state together with the endurance test. In the equipment diagnosis system 200, the machine tool 30 using the tool 38B is operated for 1000 hours under the conditions of a tool rotation speed of 3000 rpm and a feed speed of 600 mm / min. At this time, the sensor 31 as a current sensor measures the current value flowing in the machine tool 30.
[0110] In the equipment diagnosis system 200, the tool rotation speed is further changed from 3000 rpm to 6000 rpm as an accelerated endurance test. In the equipment diagnosis system 200, the accelerated endurance test is continued until a processing defect occurs in the product to be processed or an abnormality occurs in the machine tool 30 or the tool 38B itself. When an abnormality occurs, in the equipment diagnosis system 100, even if the tool rotation speed is returned from 6000 rpm to 3000 rpm, it is determined whether an abnormality has occurred.
[0111] When the tool rotation speed is returned to 3000 rpm and no abnormality occurs, the equipment diagnostic system 200 performs the accelerated endurance test again. When an abnormality occurs even when the tool rotation speed is returned to 3000 rpm, it is determined that the tool has been sufficiently degraded, and the acquisition process of the abnormal state data set is started. In this way, in the second embodiment, the acquisition of the abnormal state data set can also be performed together with the endurance test.
[0112] (Summarize)
[0113] Hereinafter, the present embodiments 1 and 2 will be summarized.
[0114] like Figures 1 to 9As shown, the equipment diagnostic system 100 in the present invention is an equipment diagnostic system that takes the machine tool 10 as the diagnostic object. The equipment diagnostic system 100 has a storage device 13 and a diagnostic device 14. The storage device 13 stores a first data set, a second data set, and a third data set. The first data set includes a first data representing the state of the machine tool 10 when the machine tool 10 is operating normally. The second data set includes a second data representing the state of the machine tool 20 when a machine tool 20 similar to the machine tool 10 is operating normally. The third data set includes a third data representing the state of the machine tool 20 when the machine tool 20 is not operating normally. The diagnostic device 14 diagnoses the state of the machine tool 10 based on the first data set, the second data set, and the third data set. The machine tool 20 is a device similar to the machine tool 10. The first data, the second data, and the third data each include at least a common first type of feature quantity. The variance of the first type of feature quantity in the first data set and the second data set is within a specified range. The diagnostic device 14 compares the first data set with the second data set, selects the first type from the types of feature quantities contained in the first data and the second data, uses the feature quantities of the first type in the second data and the feature quantities of the first type in the third data as learning data, generates a learned model for diagnosing the state of the machine tool 20, inputs the feature quantities of the first type in the first data into the generated learned model, and diagnoses the state of the machine tool 10.
[0115] Thus, equipment diagnostic system 100 provides an equipment diagnostic system that appropriately diagnoses the state of machine tool 10 without intentionally causing abnormality in machine tool 10 to be diagnosed.
[0116] Preferably, the purpose of machine tool 10 is the same as the purpose of machine tool 20 .
[0117] Prioritizingly, the diagnostic device 14 generates a learned model using the information indicating the state when the device is operating normally and associated with the second data and the information indicating the state when the device is not operating normally and associated with the third data as supervisory data.
[0118] Prioritizeably, diagnostic device 14 classifies the state of machine tool 20 based on the second data set and the third data set.
[0119] Preferably, the state when the machine tool 20 is not operating normally is a state in which a machining defect occurs in the machine tool 20 .
[0120] like Figure 10 to Figure 12As shown, the equipment diagnosis system 200 is an equipment diagnosis system that uses the machine tool 30 for processing using the tool 38A or the tool 38B as the diagnosis object. It has: a storage device 13, which stores a first data set including a first data indicating the state of the machine tool 30 when the tool 38A is used and the machine tool 30 is operating normally, a second data set including a second data indicating the state of the machine tool 30 when the tool 38B is used and the machine tool 30 is operating normally, and a third data set including a third data indicating the state of the machine tool when the tool 38B is used and the machine tool 30 is not operating normally; and a diagnosis device, which diagnoses the state of the machine tool 30 based on the first data set, the second data set, and the third data set. The first data, the second data, and the third data each include at least a common first type of feature quantity. The variance of the first type of feature quantity in the first data set and the second data set is within a specified range. The diagnostic device 14 compares the first data set with the second data set, selects the first type from the types of feature quantities included in the first data and the second data, uses the feature quantities of the first type in the second data and the feature quantities of the first type in the third data as learning data, generates a learned model for diagnosing the state of the machine tool 30 that is using the tool 30B, inputs the feature quantities of the first type in the first data into the generated learned model, and diagnoses the state of the machine tool 30 that is using the tool 30A.
[0121] The embodiments disclosed this time should be considered in all respects as illustrative rather than restrictive. The scope of the present invention is indicated by the claims rather than the above description, and is intended to include all modifications within the meaning and scope equivalent to the claims.
[0122] Description of symbols
[0123] 10, 20, 30: machine tool; 11, 21, 31: sensor; 12, 22, 32: signal processing device; 13: storage device; 14: diagnostic device; 14A: data acquisition unit; 14B: model generation unit; 15: control device; 16: status display; 36: workpiece; 37: bracket; 38A~38F: tool; 100, 200: equipment diagnostic system.
Claims
1. A device diagnostic system, which takes a first device as a diagnostic object, wherein: The equipment diagnostic system has: a storage device storing a first data set including first data indicating a state of the first device when the first device operates normally, a second data set including second data indicating a state of the second device when a second device similar to the first device operates normally, and a third data set including third data indicating a state of the second device when the second device does not operate normally; and a diagnostic device for diagnosing the state of the first device based on the first data set, the second data set, and the third data set, The first data, the second data, and the third data each include at least a common feature quantity of a first type, the variance of the first type of feature quantity in the first data set and the second data set is within a predetermined range, The diagnostic device compares the first data set and the second data set, and selects the first type from types of feature quantities included in the first data and the second data. The diagnostic device generates a learned model for diagnosing the state of the second device by using the feature quantity of the first type in the second data and the feature quantity of the first type in the third data as learning data, The diagnostic device inputs the first type of feature quantity in the first data into the generated learned model to diagnose the state of the first device.
2. The equipment diagnostic system according to claim 1, wherein: The purpose of the first device is the same as that of the second device.
3. The equipment diagnostic system according to claim 1 or 2, wherein: The diagnostic device generates the learned model using, as supervisory data, information indicating a state during normal operation associated with the second data and information indicating a state during abnormal operation associated with the third data.
4. The equipment diagnostic system according to claim 1 or 2, wherein: The diagnostic device classifies the state of the second device based on the second data set and the third data set.
5. The equipment diagnostic system according to any one of claims 1 to 4, wherein: The state of not operating normally is a state in which a processing defect occurs in the second device.
6. A machine diagnostic system, which uses a processing machine that uses a first tool or a second tool for processing as a diagnostic object, wherein: The equipment diagnostic system has: a storage device storing a first data set including first data indicating a state of the processing equipment when the first tool is used and the processing equipment operates normally, a second data set including second data indicating a state of the processing equipment when the second tool is used and the processing equipment operates normally, and a third data set including third data indicating a state of the processing equipment when the second tool is used and the processing equipment does not operate normally; and a diagnostic device for diagnosing the state of the processing equipment based on the first data set, the second data set and the third data set, The first data, the second data, and the third data each include at least a common feature quantity of a first type, The variance of the feature quantity of the first type in the first data set and the second data set is within a predetermined range, The diagnostic device compares the first data set and the second data set, and selects the first type from types of feature quantities included in the first data and the second data. The diagnostic device uses the first type of feature quantity in the second data and the first type of feature quantity in the third data as learning data to generate a learned model for diagnosing the state of the processing equipment using the second tool. The diagnostic device inputs the first type of feature quantity in the first data into the generated learned model to diagnose the state of the processing equipment using the first tool.
7. A learning device that generates a learned model for diagnosing a state of a first device, wherein: The learning device has: a data acquisition unit that acquires a first data set including first data indicating a state of the first device when the first device operates normally, a second data set including second data indicating a state of the second device when a second device similar to the first device operates normally, and a third data set including third data indicating a state of the second device when the second device does not operate normally; as well as A model generation unit generates a learned model for inferring the state of the first device from a feature quantity representing the state of the first device, using the first data set, the second data set, and the third data set.
8. A learned model for diagnosing a state of a first device, wherein: The learned model is subjected to the following learning processing: a second data set including second data representing the state of the second device when the second device similar to the first device is operating normally, and a third data set including third data representing the state of the second device when the second device is not operating normally are used as learning data, so that when a feature value representing the state of the first device is input, the state of the first device is output.
9. A method for generating a learned model, the learned model being used to diagnose a state of a first device, wherein: The method for generating the learned model includes the following steps: obtaining a first data set including first data indicating a state of the first device when the first device operates normally, a second data set including second data indicating a state of the second device when a second device similar to the first device operates normally, and a third data set including third data indicating a state of the second device when the second device does not operate normally; and A learned model for inferring the state of the first device from a feature quantity representing the state of the first device is generated using the first data set, the second data set, and the third data set.
