DEVICE FOR DETECTING ABNORMALITY IN ATTACHMENT OF TOOL
20200147737 ยท 2020-05-14
Inventors
Cpc classification
B23Q17/12
PERFORMING OPERATIONS; TRANSPORTING
G05B23/0227
PHYSICS
B23Q3/155
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A tool attachment abnormality detection device acquires data associated with a machining center, performs pre-processing to create data regarding at least chronological data of a vibration or sound that has been generated in a tool change when a tool has been attached to a tool magazine, where the data is created based on the data that has been acquired, and detects an abnormality in attachment of the tool to the tool magazine based on the data created in the pre-processing stage.
Claims
1. A device for detecting an abnormality in attachment of a tool to a tool magazine in a tool changer provided in a machining center, the device comprising: a data acquisitor for acquiring data regarding the machining center; a pre-processor for creating data regarding at least chronological data of vibration or sound generated in the tool changer when the tool is attached to the tool magazine, the data regarding the at least chronological data being created based on the data acquired by the data acquisitor; and a tool attachment abnormality detector for detecting an abnormality in attachment of the tool to the tool magazine based on the data created by the pre-processor.
2. The device according to claim 1, wherein the device is connected via a network to a plurality of machining centers, and based on data acquired from the plurality of machining centers, the abnormality in attachment of the tool to the tool magazine in the tool changer each provided in corresponding one of the plurality of machining centers is detected.
3. A device for detecting an abnormality in attachment of a tool to a tool magazine in a tool changer provided in a machining center, the device comprising: a data acquisitor for acquiring data regarding the machining center; a pre-processor for creating state data that includes at least tool attachment vibration data regarding chronological data of a vibration or sound generated in the tool changer when the tool is attached to the tool magazine, the state data being created as learning data based on the data acquired by the data acquisitor; and a tool attachment abnormality detector configured for detection of an abnormality in attachment of the tool to the tool magazine based on the data created by the pre-processor, the tool attachment abnormality detector including a learner for performing machine learning using learning data created by the pre-processor and further creating a learning model for detection of an abnormality in attachment of the tool to the tool magazine.
4. The device according to claim 3, wherein the learning model is generated by unsupervised learning.
5. The device according to claim 3, wherein the learning model is generated by supervised learning.
6. The device according to claim 3, wherein the device is connected via a network to a plurality of machining centers, and based on data acquired from the plurality of machining centers, a learning model is generated which is configured for detection of the abnormality in attachment of the tool to the tool magazine in the tool changer each provided in corresponding one of the plurality of machining centers.
7. A device for detecting an abnormality in attachment of a tool to a tool magazine in a tool changer provided in a machining center, the device comprising: a data acquisitor for acquiring data regarding the machining center; a pre-processor for creating state data that includes at least tool attachment vibration data regarding chronological data of a vibration or sound generated in the tool changer when the tool is attached to the tool magazine, the state data being created based on the data acquired by the data acquisitor; and a tool attachment abnormality detector for detecting an abnormality in attachment of the tool to the tool magazine based on the data created by the pre-processor, the tool attachment abnormality detector including: a learning model storage configured to store a learning model for learning an attachment state of the tool attached to the tool magazine with respect to chronological data of a vibration or sound generated in the tool changer when the tool is attached to the tool magazine; and an estimator configured to estimate the attachment state of the tool attached to the tool magazine by using the learning model stored in the learning model storage, the attachment state being estimated based on the state data created by the pre-processor.
8. The device according to claim 7, wherein the learning model is generated by unsupervised learning.
9. The device according to claim 7, wherein the learning model is generated by supervised learning.
10. The device according to claim 7, wherein the device is connected via a network to a plurality of machining centers, and based on data acquired from the plurality of machining centers, the abnormality in attachment of the tool to the tool magazine of the tool changer each provided in corresponding one of the plurality of machining centers are detected.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above-described and other objects and features will be apparent upon reading of the following description of embodiments with reference to the accompanying drawings, in which:
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] Some embodiments of the present invention will be described hereinbelow with reference to the drawings.
[0027]
[0028] Referring to
[0029] The central processing unit (CPU) 11, which is included in the device 1 according to this embodiment, is a processor that is responsible for overall control of the device 1. The CPU 11 reads system programs stored in the read only memory (ROM) 12 via a bus 20 and controls the entire device 1 in accordance with the system programs. The random access memory (RAM) 13 may temporarily store temporary calculation data and other various data input by an operator via an input 71.
[0030] The non-volatile memory 14 is configured by a memory backed up by a not-shown battery, a solid state drive (SSD) or the like and retains its state of storage even when the device 1 is turned off. The non-volatile memory 14 includes a setting area in which setting information regarding the operation of the device 1 is provided, and stores data input from the input 71, various data acquired from the machining center 2 (operation state regarding tool change, unit types of the machining center and so on), chronological data of various physical quantities acquired from the sensor 3 (vibrations, sounds and so on generated in a tool changer provided in the machining center 2), data read via a network and/or from a not-shown external storage. The programs and the various data stored in the non-volatile memory 14 may be stored in the RAM 13 when they are run or used. Also, system programs including a known analysis program for analyzing various data are stored in advance in the ROM 12.
[0031] The machining center 2 is a machine tool equipped with an automatic tool changer. The machining center 2 is capable of performing multiple types of machining processes such as milling, boring and drilling while changing various rotating tools with one another by the automatic tool changer. A plurality of tools each loaded in a tool holder are attached to the tool magazine by the operator. A tool grasped at a predetermined position of the tool magazine and attached thereto is attached to a main spindle of the machine tool to be used in an intended machining process in accordance with a tool change command by a machining program or the like. The controller of the machining center 2 outputs information regarding the state of the machining center (such as unit types of the machining center, an operation state of the machine tool, an open/close operation state of the cover and an operation state of the tool changer) to the device 1 via the interface 16.
[0032] The sensor 3 is configured to acquire chronological data of a vibration or sound generated in the tool changer provided in the machining center 2 (in particular, the tool magazine). For example, an acceleration sensor, an acoustic emission (AE) sensor, a sound collector, an optical interferometer and the like can be used as the sensor 3. At least one sensor 3 can sufficiently detect the vibration or sound generated in the tool changer. When a plurality of sensors 3 are installed on or near the tool changer, it is made possible to detect vibration or sound generated in the tool changer in a more multifaceted fashion, and precision of the machine learning which will be described later can be further improved. Alternatively, when the sensors 3 are installed at appropriate positions taking into account the structure of the tool magazine, it is also possible to sufficiently detect the vibration and sound generated in the tool changer by a single or a small number of sensor(s) 3.
[0033] Data read into the memory, data obtained as a result of execution of a program or the like, data output from the machine learning device 100, which will be described later, and any other relevant data may be output via the interface 17 to a display 70 and displayed on the display 70. Also, the input 71, which is configured with a keyboard, a pointing device and the like, transmits a command, data and so on based on the operation by the operator via the interface 18 to the CPU 11.
[0034]
[0035] The device 1 according to this embodiment includes a data acquisitor 30, a pre-processor 34, and a tool attachment abnormality detector 36. The tool attachment abnormality detector 36 includes an estimator 120. Also, an acquired data storage 50 in which data acquired by the data acquisitor 30 is stored and a normal vibration data storage 140 are provided in the non-volatile memory 14.
[0036] The data acquisitor 30 is a functional unit that acquires various data input from the machining center 2, the sensor 3, the input 71 and the like. The data acquisitor 30 acquires various data such as the operation state regarding tool change, the unit types of the machining center 2, chronological data of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator, information regarding attachment of the tool input by the operator, and stores these pieces of information in the acquired data storage 50. The data acquisitor 30 may also be configured to acquire data from a not-shown external storage or from other devices via a wired or wireless network.
[0037] When the data acquisitor 30 acquires the chronological data of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator, the data acquisitor 30 identifies vibration or sound data indicative of vibration or sound generated in the tool changer acquired from the sensor 3 on the basis of the operation state of the machine tool acquired from the machining center 2, the open/close operation state of the cover, the operation state of the tool changer and the like. The data acquisitor 30 further identifies the vibration or sound data indicative of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator. In general, when an operator performs various operations such as the task of attaching a tool to a tool magazine, he/she operates a control panel or the like, stops the machining by the machine tool, opens the cover, positions a certain gripper of the tool magazine at the tool attachment position to attach the tool thereto, closes the cover and thus completes the tool change. The data acquisitor 30 may detect such typical tool attachment operation to identify the vibration sound detected by the sensor 3 during such an operation as the vibration or sound data indicative of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator. Also, if the pressure or the like associated with the tool magazine can be detected, then pressing of the tool by the operator against the tool magazine (tool attachment) can be detected on the basis of the state of the pressure. Thus, the pressure and/or the detected pressing of the tool by the operator may be used to identify the vibration or sound data indicative of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator. It should be noted that examples of case where the pressure or the like of the tool magazine can be detected may include, amongst others, a case where a pressure sensor is independently installed and a case where the current of a motor for rotating the tool magazine can be detected. Also, if any other means are available for detecting the time point at which the operator attaches the tool to the tool magazine, the detected time point may also be relied upon in the identification.
[0038] The pre-processor 34 creates data used in a process for detecting an abnormality in attachment of a tool by the attachment abnormality detector 36 on the basis of the data acquired by the data acquisitor 30 (and the data stored in the acquired data storage 50). The pre-processor 34 creates data obtained by subjecting the data acquired by the data acquisitor 30 to conversion (quantification, normalization, sampling, etc.) into a unified format to be handled by the tool attachment abnormality detector 36. The pre-processor 34 may be configured to use data obtained by representing the chronological data of the vibration or sound generated in the tool changer at the time of attachment of the tool detected by the sensor 3 as affiliated data that has been subjected to re-sampling at a predetermined cycle. The pre-processor 34 may also be configured to use data indicative of the properties of the chronological data (for example, known Mel-frequency cepstrum coefficient).
[0039] The tool attachment abnormality detector 36 is a functional unit for detecting an abnormality in attachment of a tool on the basis of the data created by the pre-processor 34.
[0040] The estimator 120 provided in the tool attachment abnormality detector 36 is a functional unit that refers to normal vibration data stored in a normal vibration data storage 140 and estimates an abnormality in attachment of a tool to the tool magazine by an operator on the basis of the data created by the pre-processor 34. In the normal vibration data storage 140, chronological data of the vibration or sound detected by the sensor 3 when the operator correctly attached the tool to the tool magazine provided in the machining center 2 in advance is set as the normal vibration data.
[0041] The estimator 120 computes a degree of agreement between the chronological data of the vibration or sound generated in the tool changer acquired by data acquisitor 30 and the normal vibration data stored in the normal vibration data storage 140 by using a known waveform pattern matching scheme such as dynamic programming matching (DP matching) and hidden Markov model (HMM). If the degree of agreement that has been computed exceeds a predefined threshold, then the estimator 120 estimates that the attachment of the tool to the tool magazine has been correctly performed. Otherwise, the estimator 120 estimates otherwise that the attachment of the tool to the tool magazine is in an abnormal state. The estimator 120 may also be configured to compute a degree of abnormality in accordance with how far the degree of agreement between the chronological data of the vibration or sound generated in the tool changer acquired by data acquisitor 30 and the normal vibration data stored in the normal vibration data storage 140 is away from the predefined threshold.
[0042] In addition, when the estimator 120 has estimated that the attachment of the tool to the tool magazine is in an abnormal state, the tool attachment abnormality detector 36 may display the result of the estimation by the estimator 120 (normality/abnormality in attachment of the tool and, if occurrence of abnormality has been estimated, the degree of abnormality) on the display 70 and output the result of the estimation to transmit the result to a host computer, a cloud computer or the like via a not-shown wired or wireless network. The device 1 may also be configured to change the display state of the display 70 according to the magnitude of the degree of abnormality.
[0043] The normal vibration data storage 140 may store a plurality of pieces of normal vibration data acquired from the same machining center 2. In this case, the estimator 120 may carry out the estimation process to estimate the attachment state of the tool relative to the tool magazine using each of the multiple pieces of normal vibration data. Then, the estimator 102 may estimate that the attachment state of the tool relative to the tool magazine is normal if it has been estimated that the attachment state is normal based on any of the multiple pieces of the normal vibration data or if it has been estimated that the attachment state is normal with respect to a predetermined number, which is defined in advance, of the pieces of normal vibration data.
[0044] Also, normal vibration data acquired from unit types of the machining center 2 may be stored in the normal vibration data storage 140 along with and in association with the unit types of the machining center 2. In this case, the estimator 120 should carry out the estimation process to estimate the attachment state of the tool relative to the tool magazine between the chronological data of the vibration or sound generated in the tool changer acquired by data acquisitor 30 and the normal vibration data which is associated with the unit types of the machining center 2 from which the chronological data of the vibration or sound has been acquired.
[0045] In the device 1 having the above-described configuration, detection of an abnormality in attachment of a tool is carried out using the data created by the pre-processor 34 on the basis of the data that has been acquired from the machining center 2 and the sensor 3. The device 1 according to this embodiment carries out the estimation of the attachment state of the tool attached by the operator on the basis of not external appearance but the vibration or sound generated at the time of attachment of the tool. By virtue of this, even when a tool is seemingly appropriately attached but actually it is inappropriately attached due to subtle misalignment or the like, the device 1 is allowed to detect the abnormality of the tool with high precision.
[0046]
[0047] According to this embodiment, the CPU 11 provided in the tool attachment abnormality detection device 1 is a processor that is responsible for overall control of the device 1. The CPU 11 reads system programs stored in the ROM 12 via the bus 20 to control the entire device 1 in accordance with the system programs. The RAM 13 temporarily may store temporary calculation data, various data input by an operator via the input 71 and so on.
[0048] The non-volatile memory 14 may be configured by a memory backed up by a not-shown battery, a solid state drive (SSD) or the like and retains its state of storage even when the device 1 is turned off. The non-volatile memory 14 includes a setting area in which setting information regarding the operation of the device 1 is provided, and stores data input from the input 71, various data acquired from the machining center 2 (operation state regarding tool change, unit types of the machining center or the like), chronological data of various physical quantities acquired from the sensor 3 (vibrations, sound and so on generated in the tool changer provided in the machining center 2). Further, the non-volatile memory 14 may store data read from a not-shown external storage and/or via a network. The programs and the various data stored in the non-volatile memory 14 may be deployed onto the RAM 13 when they are run or used. Also, system programs including a known analysis program for analyzing various data and a program for controlling communications with the machine learning device 100, which will be described later, may be previously written in the ROM 12.
[0049] The device 1 according to this embodiment further includes an interface 21, which is an interface for interconnection between the tool attachment abnormality detection device 1 and the machine learning device 100 therein. The machine learning device 100 includes a processor 101 responsible for overall control of the machine learning device 100, the ROM 102 that stores the system programs and the like, the RAM 103 for temporary storage for individual processes associated with the machine learning and the non-volatile memory 104 used to store a learning model and the like. The machine learning device 100 is capable of observing and monitoring, via the interface 21, various pieces of information that can be acquired by the device 1. Here, the information that can be acquired by the device 1 may include, and is not limited to, the operation state regarding tool change, the unit types of the machining center 2 and chronological data of the vibration or sound generated in the tool changer provided in the machining center 2. Also, the device 1 may acquire the result of processing output from the machine learning device 100 via the interface 21, store and display the acquired result and transmit the result to another device via a not-shown network.
[0050]
[0051] The device 1 according to this embodiment includes a data acquisitor 30, a pre-processor 34, and a tool attachment abnormality detector 36. The machine learning device 100, which constitutes the tool attachment abnormality detector 36, includes a learner 110. Also, an acquired data storage 50 is provided in the non-volatile memory 14. The acquired data storage 50 stores the data acquired by the data acquisitor 30. The non-volatile memory 104 in the machine learning device 100 constituting the tool attachment abnormality detector 36 includes a learning model storage 130. The learning model storage 130 stores the learning model constructed by machine learning by the learner 110.
[0052] The data acquisitor 30 is a functional unit for acquiring various data input from the machining center 2, the sensor 3, the input 71, and the like. The data acquisitor 30 acquires various data such as the operation state regarding tool change, the unit types of the machining center 2, the chronological data of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator, and information regarding attachment of the tool input by the operator to store these pieces of information in the acquired data storage 50. The data acquisitor 30 may also be configured to acquire the data from a not-shown external storage or from other devices via a wired or wireless network.
[0053] The pre-processor 34 creates learning data for use in learning by the machine learning device 100 on the basis of the data acquired by the data acquisitor 30 (and data stored in the acquired data storage 50). The pre-processor 34 creates state data obtained by subjecting the data acquired by the data acquisitor 30 to conversion (for instance, quantification, normalization and sampling) into a unified format to be handled by the machine learning device 100. For example, if the machine learning device 100 carries out unsupervised learning, the pre-processor 34 creates, as the learning data, state data S having a predetermined format according to the unsupervised learning. If the machine learning device 100 carries out supervised learning, the pre-processor 34 creates, as the learning data, a set of state data S and label data L having a predetermined format according to the supervised learning.
[0054] The state data S created by the pre-processor 34 includes at least tool attachment vibration data S1. The tool attachment vibration data S1 is chronological data of the vibration or sound generated in the tool changer detected by the sensor 3 when the tool is attached to the tool magazine by the operator. As the tool attachment vibration data S1, it is possible to use data obtained by representing the chronological data of the vibration or sound generated in the tool changer at the time of attachment of the tool detected by the sensor 3 as affiliated data that has been subjected to re-sampling at a predetermined cycle. Also, it is possible to use data indicative of the characteristic of the chronological data (such as known Mel-frequency cepstrum coefficient).
[0055] Also, when the label data L is included in the learning data created by the pre-processor 34, the label data L includes at least tool attachment state data L1. The tool attachment state data L1 indicates the information regarding normality/abnormality of attachment of tool at the time of attachment of the tool by the operator. For example, an input value that is input from the input 71 and indicative of the result of manual confirmation of the attachment state of the tool by the operator after the operator attached the tool can be used as the tool attachment state data L1.
[0056] The learner 110 carries out machine learning using the learning data created by the pre-processor 34. The learner 110 carries out machine learning using the data acquired from the machining center 2 in accordance with a known scheme of machine learning such as unsupervised learning and supervised learning to generate a learning model, and stores the created learning model in the learning model storage 130. As schemes of unsupervised learning carried out by the learner 110, for example, autoencoder and k-means may be mentioned. As schemes of supervised learning, for example, multilayer perceptron, recurrent neural network, long short-term memory and convolutional neural network may be mentioned.
[0057] As an example of machine learning by the learner 110, unsupervised learning based on the state data S created by the pre-processor 34 may be carried out on the basis of data that has been acquired when the tool was correctly attached to the tool changer provided in the machining center 2. In this way, the distribution (cluster) of the learning data acquired in a state where the attachment of the tool to the tool magazine was correctly carried out can be generated as a learning model.
[0058]
[0059] Also, the learner 110 can also carry out the machine learning on the basis of the data 204 acquired when the tool is correctly attached to the tool changer provided in the machining center 2 and the data 206 acquired when the tool is not correctly attached to the tool changer provided in the machining center 2. For example, the learner 110 carries out supervised learning using the learning data (teaching data) created by the pre-processor 34 adding a label indicative of normality to the data 204 and adding a label indicative of abnormality to the data 206, and can generate, as the learning model, the discrimination boundary 208 between normal data and abnormal data.
[0060]
[0061] In the device 1 having the above-described configuration, the learner 110 carries out machine learning using the learning data created by the pre-processor 34 on the basis of the data acquired from the machining center 2 and the sensor 3. The learning model 208 that has been created in this manner can be used in estimation based on data regarding the vibration or sound generated in the tool changer acquired from the sensor 3 when the tool is attached to the tool magazine by the operator.
[0062]
[0063] The device 1 according to this embodiment includes the data acquisitor 30 and the pre-processor 34, as with the first embodiment. The machine learning device 100 which constitutes the tool attachment abnormality detector 36 includes the estimator 120. Also, the non-volatile memory 14 includes an acquired data storage 50. The acquired data storage 50 stores the learning data used in the estimation of the state by the machine learning device 100. The learning model storage 130 is provided on the non-volatile memory 104 of the machine learning device 100 constituting the tool attachment abnormality detector 36. The learning model storage 130 stores the learning model constructed by the machine learning by the learner 110.
[0064] The data acquisitor 30 according to this embodiment is a functional unit for acquiring various data input from the machining center 2, the sensor 3, the input 71 and the like. The data acquisitor 30 acquires various data and has the acquired data stored in the acquired data storage 50. Here, the various data that can be acquired by the data acquisitor 30 may include, and is not limited to, the operation state regarding tool change, the unit types of the machining center 2, the chronological data of the vibration or sound generated in the tool changer when the tool is attached to the tool magazine by the operator, and the information regarding attachment of the tool input by the operator. The data acquisitor 30 may also be configured to acquire the data from a not-shown external storage or from other devices via a wired or wireless network.
[0065] The pre-processor 34 according to this embodiment creates state data S for use in estimating by the machine learning device 100 on the basis of the data stored in the acquired data storage 50. The pre-processor 34 creates the state data obtained by subjecting the acquired data to conversion (such as quantification, normalization and sampling) into a unified format to be handled by the machine learning device 100. The state data S created by the pre-processor 34 includes at least tool attachment vibration data S1. The tool attachment vibration data S1 is chronological data of the vibration or sound generated in the tool changer detected by the sensor 3 when the tool is attached to the tool magazine by the operator.
[0066] The estimator 120 carries out estimation of the state of the machining center using the learning model stored in the learning model storage 130 on the basis of the state data S created by the pre-processor 34. In the estimator 120 of this embodiment, the state data S that has been input from the pre-processor 34 is input to the learning model generated by (parameters of which are determined by) the learner 110 so as to estimate whether or not the tool has been correctly attached to the tool magazine.
[0067]
[0068]
[0069] The result of the estimation by the estimator 120 (for example, normality/abnormality in attachment of a tool, the degree of abnormality if occurrence thereof has been estimated) may be displayed and output on the display 70 and may be transmitted and output via a not-shown wired or wireless network to host computer, a cloud computer or the like to be used thereby. The device 1 may also be configured to change the display state of the display 70 according to the magnitude of the degree of abnormality.
[0070] In the device 1 having the above-described configuration, estimation of normality/abnormality in attachment of a tool is carried out using the state data created by the pre-processor 34 on the basis of the data acquired from the machining center 2 and the sensor 3. The device 1 according to this embodiment carries out the estimation of the attachment state of the tool attached by the operator on the basis of not external appearance but the vibration or sound generated at the time of attachment of the tool. By virtue of this, even when a tool is seemingly appropriately attached but actually it is inappropriately attached due to subtle misalignment or the like, it is made possible to detect the abnormality of the tool with high precision.
[0071] Whilst the embodiments of the present invention have been described in the foregoing, the present invention is not limited to the above-described embodiments and can be implemented in various modes with various modifications made thereto as appropriate.
[0072] For example, although the above-mentioned second and third embodiments have been described on the assumption that the tool attachment abnormality detection device 1 and the machine learning device 100 are devices each having a central processing unit or processor different than that of each other, the machine learning device 100 may also be effectuated by the CPU 11 provided in the tool attachment abnormality detection device 1 and the system programs stored in the ROM 12.
[0073] Also, while the above-described second and third embodiments have been described on the assumption that the configuration for learning constitute one embodiment and the configuration for estimation constitutes another embodiment different than the former, it is also possible to configure a tool attachment abnormality detection device 1 incorporating both of these configurations. In this case, the device 1 will operate so as to update (learn) the learning model as required while carrying out the estimation of the attachment state of the tool.
[0074] Furthermore, for example, the tool attachment abnormality detection device 1 may be mounted on a host computer, a cloud server and so on. As illustrated in