ABNORMALITY DETECTION APPARATUS AND MACHINE LEARNING APPARATUS
20180264613 ยท 2018-09-20
Inventors
Cpc classification
G05B19/404
PHYSICS
B23Q17/007
PERFORMING OPERATIONS; TRANSPORTING
G05B2219/49307
PHYSICS
B23Q2717/00
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
An abnormality detection apparatus includes a machine learning apparatus for learning waveform data concerning a physical quantity detected when a machine tool is normally operating. The machine learning apparatus observes the waveform data concerning the physical quantity detected when the machine tool is normally operating, as a state variable indicating a current environmental state, and learns a feature of the waveform data concerning the physical quantity detected when the machine tool is normally operating, using the observed state variable.
Claims
1. An abnormality detection apparatus for detecting an abnormality of a machine tool configured to machine a workpiece, the abnormality detection apparatus comprising: a machine learning apparatus for learning waveform data concerning a physical quantity detected when the machine tool is normally operating, wherein the machine learning apparatus includes a state observation section for observing the waveform data concerning the physical quantity detected when the machine tool is normally operating, as a state variable indicating a current environmental state, and a learning section for learning a feature of the waveform data concerning the physical quantity detected when the machine tool is normally operating, using the state variable.
2. The abnormality detection apparatus according to claim 1, wherein the learning section includes a cluster construction section for constructing a cluster of the waveform data concerning the physical quantity detected when the machine tool is normally operating.
3. An abnormality detection apparatus for detecting an abnormality of a machine tool configured to machine a workpiece, the abnormality detection apparatus comprising: a machine learning apparatus for learning waveform data concerning a physical quantity detected when the machine tool is normally operating, wherein the machine learning apparatus includes a state observation section for observing waveform data concerning the physical quantity detected when the machine tool is operating, as a state variable indicating a current environmental state, a determination data acquisition section for acquiring determination data indicating normality of operation of the machine tool, and a learning section for performing learning by associating the waveform data concerning the physical quantity detected when the machine tool is operating with the normality of the operation of the machine tool, using the state variable and the determination data.
4. The abnormality detection apparatus according to claim 3, wherein the learning section includes an error calculation section for calculating an error between a correlation model for deriving the normality of the operation of the machine tool from the waveform data concerning the physical quantity detected when the machine tool is operating and a correlation feature recognized from teacher data prepared in advance, based on the state variable and the determination data, and model update section for updating the correlation model to reduce the error.
5. The abnormality detection apparatus according to claim 1, wherein the learning section has a multi-layer structure to calculate the state variable.
6. The abnormality detection apparatus according to claim 1, further comprising: an output utilization section for outputting an operation state of the machine tool based on a learning result by the learning section and the state variable obtained when the machine tool is operating.
7. The abnormality detection apparatus according to claim 1, wherein the learning section learns waveform data concerning a physical quantity which is detected when operation is being normally performed and which is common to a plurality of machine tools, using the state variable obtained for each of the plurality of machine tools.
8. A machine learning apparatus for learning waveform data concerning a physical quantity detected when a machine tool configured to machine a workpiece is normally operating, the machine learning apparatus comprising: a state observation section for observing waveform data concerning a physical quantity detected when the machine tool is normally operating, as a state variable indicating a current environmental state; and a learning section for learning a feature of the waveform data concerning the physical quantity detected when the machine tool is normally operating, using the state variable.
9. A machine learning apparatus for learning waveform data concerning a physical quantity detected when a machine tool configured to machine a workpiece is normally operating, the machine learning apparatus comprising: a state observation section for observing waveform data concerning a physical quantity detected when the machine tool is operating, as a state variable indicating a current environmental state; a determination data acquisition section for acquiring determination data indicating normality of operation of the machine tool; and a learning section for performing learning by associating the waveform data concerning the physical quantity detected when the machine tool is operating with the normality of the operation of the machine tool, using the state variable and the determination data.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027]
[0028] As indicated by functional blocks in
[0029] The state observation section 22 can be configured as, for example, one function of a CPU of a computer. Alternatively, the state observation section 22 can be configured as, for example, software that causes a CPU of a computer to work. The waveform data S1 of the state variable S that is observed by the state observation section 22 can be acquired by, for example, a plurality of measurement apparatuses (not shown) attached to a machine tool. The waveform data S1 include a current value of a spindle motor, a speed value of the spindle motor, a current value of a servo motor, a speed value of the servo motor, a vibration value detected from a machine tool, audible sound, and the like as illustrated in, for example,
[0030] A current value and a speed value of a motor as waveform data S1 can be acquired as feedback values from a pulsecoder and the like attached to an amplifier and a motor. A vibration value as waveform data S1 can be acquired by a measurement apparatus such as an acceleration sensor, an AE sensor, a speed sensor, or an eddy-current sensor. Audible sound as waveform data S1 can be acquired using a measurement apparatus such as a microphone.
[0031] The state observation section 22 can acquire observed values as chronologically successive discrete values obtained by sampling the observed values with a predetermined sampling period t, and use the values as waveform data S1 as illustrated in, for example,
[0032] As described above, during a period in which the machine learning apparatus 20 of the abnormality detection apparatus 10 is learning, a plurality of measurement apparatuses detect current values and speed values of motors, vibration value, audible sound, and the like in machining by a machine tool normally operating in the environment.
[0033] The learning section 26 can be configured as, for example, one function of a CPU of a computer. Alternatively, the learning section 26 can be configured as, for example, software that causes a CPU of a computer to work. The learning section 26 learns waveform data indicating values detected in machining by a machine tool normally operating in accordance with a desired learning algorithm generically called machine learning. The learning section 26 can repeatedly execute learning based on a data collection including the aforementioned state variable S with respect to machining by a machine tool normally operating.
[0034] By repeating such a learning cycle, the learning section 26 can configure implicit features of a data collection of waveform data for one cycle or a desired period concerning values detected from a machine tool normally operating in machining as clusters. When the learning algorithm is started, the clusters of the waveform data S1 is substantially unknown. The learning section 26 gradually recognizes features and configures clusters as the learning section 26 is learning. When the clusters of the waveform data S1 are interpreted to some reliable level, learning results repeatedly outputted by the learning section 26 can be used to determine whether the current state is a state in which machining is performed by a machine tool normally operating.
[0035] As described above, the machine learning apparatus 20 of the abnormality detection apparatus 10 is configured such that the learning section 26 learns waveform data concerning values detected from a machine tool normally operating in accordance with a machine learning algorithm using the state variable S observed by the state observation section 22. The waveform data S1 concerning values detected from a machine tool normally operating include temporal change in values detected from the machine tool normally operating, and also include relationships between values, such as speed values and current values of motors and a vibration value, detected at the same time. Accordingly, with the machine learning apparatus 20 of the abnormality detection apparatus 10, the fact that machining operation by a machine tool is within the range of normal operations can be automatically and correctly determined using learning results of the learning section 26, not by calculation or estimate.
[0036] If the fact that machining operation by a machine tool is within the range of normal operations can be automatically determined not by calculation or estimate, whether the current machining operation of a machine tool is normal or not can be rapidly determined by only acquiring waveform data (waveform data S1) concerning values acquired from the current machine tool.
[0037] In one modified example of the machine learning apparatus 20 of the abnormality detection apparatus 10, using a state variable S obtained for each of a plurality of machine tools having the same machine configuration, the learning section 26 can learn waveform data concerning values detected when each machine tool is normally operating. With this configuration, the quantity of a data collection including the state variable S which is obtained during a predetermined period can be increased. Accordingly, using a more diverse data collection as an input, the speed and reliability of the learning of waveform data concerning values detected from machine tools normally operating can be improved.
[0038] In the machine learning apparatus 20 having the above-described configuration, the learning algorithm executed by the learning section 26 is not particularly limited. For example, learning algorithms publicly known as machine learning such as unsupervised learning and neural networks can be employed.
[0039]
[0040] Unsupervised learning is a method in which with a huge amount of inputted data sets given in advance, learning is performed by performing the classification or the like of each data set based on an attribute of each piece of data contained in the data set and extracting a feature of the data set. A feature of a data set here is a distribution state of each piece of data in the space of the data set with respect to a correlative pattern of time-series variation of a data item value of each piece of data included in the data set. A feature of each piece of data can be interpreted based on the feature of the data set.
[0041] In the machine learning apparatus 20 of the abnormality detection apparatus 10 shown in
[0042] When the aforementioned unsupervised learning is performed, a neural network can be used.
[0043] The neuron shown in
y=.sub.k(.sub.i=1.sup.nx.sub.iw.sub.i) (1)
[0044] The three-layer neural network shown in
[0045] In
[0046] In
[0047]
[0048] In the machine learning apparatus 20 of the abnormality detection apparatus 10, using the state variable S as the input x, by the learning section 26 performing multi-layer structure calculation in accordance with the above-described neural network, a cluster to which waveform data S1 concerning values detected from the machine tool normally operating belong and the distance (result y) from the center of the cluster can be outputted. It should be noted that operation modes of the neural network include a learning mode and a value prediction mode. For example, weights w are learned using a learning data set in the learning mode, and the value of an action can be determined using the learned weights w in the value prediction mode. It should be noted that, in the value prediction mode, detection, classification, reasoning, and the like can also be performed.
[0049] The above-described configuration of the abnormality detection apparatus 10 can be described as a machine learning method (or software) that a CPU of a computer executes. This machine learning method is a machine learning method for learning waveform data S1 concerning values detected when the machine tool is normally operating, and includes a step of observing waveform data S1 concerning values detected when the machine tool is normally operating as a state variable S indicating the current environmental state in which machining by the machine tool is performed, by a CPU of a computer, and a step of constructing a cluster of waveform data S1 concerning values detected when the machine tool is normally operating to learn the waveform data S1.
[0050]
[0051] The machine learning apparatus 50 of the abnormality detection apparatus 40 includes software (arithmetic algorithm or the like) and hardware (a CPU of a computer or the like) for outputting a determination as to whether the current operation of the machine tool is normal operation to an operator based on the learned waveform data concerning values detected when the machine tool is normally operating, in addition to software (learning algorithm or the like) and hardware (a CPU of a computer or the like) for learning waveform data S1 concerning values detected when the machine tool is normally operating by machine learning by itself. The machine learning apparatus 50 of the abnormality detection apparatus 40 can be configured such that one common CPU executes entire software including a learning algorithm, an arithmetic algorithm, and the like.
[0052] An output utilization section 52 can be configured as, for example, one function of a CPU of a computer. Alternatively, the output utilization section 52 can be configured as, for example, software that causes a CPU of a computer to work. The output utilization section 52 outputs an alarm value A indicating whether the current operation of the machine tool is normal operation or not to an operator through screen display with a display (not shown) of the abnormality detection apparatus 40, a lamp (not shown), audio output from a speaker (not shown), or the like, based on waveform data concerning values detected when the machine tool is normally operating, the waveform data learned by the learning section 26. The output utilization section 52 displays the operation state of the machine tool, and the operator can determine whether or not a workpiece has been machined by normal operation based on the displayed operation state.
[0053] The machine learning apparatus 50 of the abnormality detection apparatus 40 having the above-described configuration has effects equivalent to those of the aforementioned machine learning apparatus 20.
[0054]
[0055] In the machining system 70 having the above-described configuration, the machine tool 60 including the abnormality detection apparatus 40, which is one of the machine tools 60 and 60, can automatically and correctly determine whether the machine tools 60 and 60 are normally operating with respect to waveform data concerning values detected from the machine tools 60 and 60 using learning results of the learning section 26, not by calculation or estimate. Further, the abnormality detection apparatus 40 of at least one machine tool 60 can be configured to learn waveform data concerning values detected from machine tools normally operating, the waveform data being common to all of the machine tools 60 and 60, based on a state variable S obtained for each of other machine tools 60 and 60 so that learning results may be shared by all of the machine tools 60 and 60. Accordingly, with the machining system 70, using a more diverse data collection (including a state variable S) as inputs, the speed and reliability of the learning of waveform data concerning values detected from machine tools normally operating can be improved.
[0056]
[0057] In the machining system 70 having the above-described configuration, the machine learning apparatus 50 (or 20) learns waveform data concerning values detected from machine tools normally operating, the waveform data being common to all of the machine tools 60, based on a state variable S obtained for each of the machine tools 60, and can automatically and correctly determine whether or not the machine tool 60 is normally operating with respect to waveform data concerning values detected from the machine tools 60 using the learning results, not by calculation or estimate.
[0058] The machining system 70 can have a configuration in which the machine learning apparatus 50 (or 20) exists on a cloud server prepared on the network 72. This configuration allows a necessary number of machine tools 60 to be connected to the machine learning apparatus 50 (or 20) when necessary, irrespective of the respective locations of the machine tools 60 or timing.
[0059] Operators working with the machining systems 70 and 70 can determine whether the achievement of the learning of waveform data concerning values detected from machine tools normally operating by the machine learning apparatus 50 (or 20) (that is, the reliability of determination on operation normality based on waveform data concerning values detected from machine tools) has reached a required level or not, at an appropriate time after the machine learning apparatus 50 (or 20) has started learning.
[0060] While embodiments of the present invention have been described above, the present invention is not limited to the above-described exemplary embodiments, and can be carried out in various aspects by making appropriate modifications thereto.
[0061] For example, learning algorithms executed by the machine learning apparatuses 20 and 50, an arithmetic algorithm executed by the machine learning apparatus 50, control algorithms executed by the abnormality detection apparatuses 10 and 40, and the like are not limited to the above-described ones, and various algorithms can be employed.
[0062] As learning algorithms executed by the machine learning apparatuses 20 and 50, supervised learning can also be used.
[0063]
[0064] In the machine learning apparatus 20 of the abnormality detection apparatus 10 shown in
[0065] An initial value of the correlation model M is expressed with the correlation with respect to the state variable S and determination data D simplified, for example, by a linear function, and is given to the learning section 26 before the start of supervised learning. The teacher data T can be configured using, for example, empirical values accumulated by recording determinations as to the normality of operation of the machine tool made in past machining by the machine tool by an expert operator, and are given to the learning section 26 before the start of supervised learning. The error calculation section 32 recognizes a correlation feature implying the correlation between waveform data concerning values detected from a machine tool performing machining operation and a determination as to the normality of operation of the machine tool based on a huge amount of teacher data T given to the learning section 26, and finds an error E between the correlation feature and a correlation model M corresponding to the state variable S in the current state and determination data D. The model update section 34 updates the correlation model M so that the error E may be reduced, in accordance with, for example, predetermined update rules.
[0066] In the next learning cycle, using the state variable S and determination data D changed by testing machining operation by the machine tool in accordance with the updated correlation model M, the error calculation section 32 finds an error E with respect to the correlation model M corresponding to the changed state variable S and determination data D, and the model update section 34 updates the correlation model M again. This gradually reveals the correlation between the current environmental state (waveform data concerning values detected from a machine tool that is performing machining operation) that has been unknown and a determination on the current environmental state (determination on operation normality of the machine tool).
[0067]