ANOMALY DETECTION SYSTEM, ANOMALY DETECTION DEVICE, ANOMALY DETECTION METHOD, AND COMPUTER PROGRAM
20250355750 ยท 2025-11-20
Assignee
Inventors
Cpc classification
G05B19/408
PHYSICS
G06F11/0736
PHYSICS
International classification
Abstract
An anomaly detection system includes: a sensor provided to a tool, the sensor being configured to measure a physical quantity, of the tool, that varies while a machine tool is machining a machining target object by means of the tool; and an anomaly detection device configured to detect an anomaly in the tool, based on measurement data obtained by the sensor. The anomaly detection device includes: a synchronization unit configured to achieve synchronization between target data being measurement data in time series obtained by the sensor, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a distance calculation unit configured to calculate a distance between the reference data and the target data; and an anomaly detection unit configured to detect an anomaly in the tool by comparing the distance with a threshold.
Claims
1. An anomaly detection system configured to detect an anomaly in a tool of a machine tool, the anomaly detection system comprising: a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; and an anomaly detection device configured to detect an anomaly in the tool, based on measurement data obtained by the sensor, the anomaly detection device including a synchronization unit configured to achieve synchronization between target data being measurement data in time series obtained by the sensor, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state, a distance calculation unit configured to calculate a distance between the reference data and the target data between which synchronization has been achieved by the synchronization unit, and an anomaly detection unit configured to detect an anomaly in the tool by comparing the distance calculated by the distance calculation unit with a threshold.
2. The anomaly detection system according to claim 1, wherein the anomaly detection device further includes a period setting unit configured to set a target period in a machining step, that is identical, in the reference data and the target data, and the distance calculation unit calculates a distance between the reference data and the target data in the target period set by the period setting unit.
3. The anomaly detection system according to claim 2, wherein the machining step is an intermittent cutting step in which cutting and non-cutting of the machining target object are repeated.
4. The anomaly detection system according to claim 1, wherein the sensor is a strain sensor configured to measure a strain in the tool as the physical quantity.
5. The anomaly detection system according to claim 1, wherein the sensor is an acceleration sensor configured to measure an acceleration of the tool as the physical quantity.
6. The anomaly detection system according to claim 1, wherein the anomaly detection device further includes a correction unit configured to correct a baseline of the target data, and the distance calculation unit calculates a distance between the reference data and the target data of which the baseline has been corrected by the correction unit.
7. The anomaly detection system according to claim 1, wherein the distance between the reference data and the target data is a distance between a time-series waveform of the reference data and a time-series waveform of the target data, or a difference between a distribution of the reference data and a distribution of the target data.
8. The anomaly detection system according to claim 1, wherein the anomaly detection system further comprises a display device configured to display a time-series graph of the distance, between the reference data and the target data, calculated by the distance calculation unit.
9. An anomaly detection device configured to detect an anomaly in a tool of a machine tool, the anomaly detection device comprising: an acquisition unit configured to acquire measurement data in time series outputted from a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; a synchronization unit configured to achieve synchronization between target data being the measurement data in time series acquired by the acquisition unit, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a distance calculation unit configured to calculate a distance between the reference data and the target data between which synchronization has been achieved by the synchronization unit; and an anomaly detection unit configured to detect an anomaly in the tool by comparing the distance calculated by the distance calculation unit with a threshold.
10. An anomaly detection method executed by an anomaly detection device configured to detect an anomaly in a tool of a machine tool, the anomaly detection method comprising: a step of acquiring measurement data in time series outputted from a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; a step of achieving synchronization between target data being the acquired measurement data in time series, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a step of calculating a distance between the reference data and the target data between which synchronization has been achieved; and a step of detecting an anomaly in the tool by comparing the calculated distance with a threshold.
11. A computer-readable non-transitory storage medium having stored therein a computer program for detecting an anomaly in a tool of a machine tool, the computer program causing a computer to execute: a step of acquiring measurement data in time series outputted from a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; a step of achieving synchronization between target data being the acquired measurement data in time series, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a step of calculating a distance between the reference data and the target data between which synchronization has been achieved; and a step of detecting an anomaly in the tool by comparing the calculated distance with a threshold.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0006]
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
DETAILED DESCRIPTION
Problems to be Solved by the Present Disclosure
[0029] The anomaly detection device disclosed in PATENT LITERATURE 1 requires a large number of sensors such as a vibration sensor for measuring vibration of the tool, a tool dynamometer for measuring the cutting force of the tool, and a sound sensor for measuring the sound of the tool. Further, for machine learning, a large amount of measurement data needs to be acquired, and even when the measurement data for machine learning has been able to be acquired, the acquired measurement data needs to be inputted. Thus, machine learning requires a lot of work.
Effects of the Present Disclosure
[0030] According to the present disclosure, an anomaly in a tool of a machine tool can be detected without requiring a large number of sensors and a large amount of data.
Outline of Embodiment of the Present Disclosure
[0031] Hereinafter, outlines of an embodiment of the present disclosure will be listed and described.
[0032] (1) An anomaly detection system according to the present embodiment is configured to detect an anomaly in a tool of a machine tool. The anomaly detection system includes: a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; and an anomaly detection device configured to detect an anomaly in the tool, based on measurement data obtained by the sensor. The anomaly detection device includes: a synchronization unit configured to achieve synchronization between target data being measurement data in time series obtained by the sensor, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a distance calculation unit configured to calculate a distance between the reference data and the target data between which synchronization has been achieved by the synchronization unit; and an anomaly detection unit configured to detect an anomaly in the tool by comparing the distance calculated by the distance calculation unit with a threshold. Accordingly, unlike anomaly determination that uses machine learning, a large number of sensors are not required, and a large amount of measurement data for the machine leaming is not required. Since synchronization between the reference data and the target data is achieved, the difference between the current (at the time of anomaly detection) state and a normal state of the tool can be accurately calculated as a distance, and an anomaly can be accurately detected.
[0033] (2) In (1) above, the anomaly detection device may further include a period setting unit configured to set a target period in a machining step, that is identical, in the reference data and the target data, and the distance calculation unit may calculate a distance between the reference data and the target data in the target period set by the period setting unit. Accordingly, the reference data and the target data in an identical machining step can be compared with each other, and the distance accurately representing the difference between the current state and a normal state of the tool can be calculated.
[0034] (3) In (2) above, the machining step may be an intermittent cutting step in which cutting and non-cutting of the machining target object are repeated. In an intermittent cutting step, the state of the tool is more easily expressed in the physical quantity than in a continuous machining step in which cutting of the machining target object is continuously performed. Therefore, the distance accurately representing the difference between the current state and a normal state of the tool can be calculated.
[0035] (4) In any one of (1) to (3) above, the sensor may be a strain sensor configured to measure a strain in the tool as the physical quantity. The measurement value obtained by the strain sensor shows a high value while the tool is in contact with (is cutting the machining target object) the machining target object, and shows a low value while the tool is not in contact with (is not cutting the machining target object) the machining target object. When such measurement data obtained by the strain sensor is used, an anomaly in the tool can be accurately detected.
[0036] (5) In any one of (1) to (3) above, the sensor may be an acceleration sensor configured to measure an acceleration of the tool as the physical quantity. The measurement value obtained by the acceleration sensor repeatedly shows a high value and a low value while the tool is vibrating, and shows a low value while the tool is not vibrating. When such measurement data obtained by an acceleration sensor is used, an anomaly in the tool can be accurately detected.
[0037] (6) In any one of (1) to (5) above, the anomaly detection device may further include a correction unit configured to correct a baseline of the target data, and the distance calculation unit may calculate a distance between the reference data and the target data of which the baseline has been corrected by the correction unit. Accordingly, even when the baseline is different for each piece of the target data, an anomaly in the tool can be stably detected.
[0038] (7) In any one of (1) to (6) above, the distance between the reference data and the target data may be a distance between a time-series waveform of the reference data and a time-series waveform of the target data, or a difference between a distribution of the reference data and a distribution of the target data. Accordingly, in accordance with the measurement data, a distance suitable for the anomaly detection can be calculated.
[0039] (8) In any one of (1) to (7) above, the anomaly detection system may further include a display device configured to display a time-series graph of the distance, between the reference data and the target data, calculated by the distance calculation unit. Accordingly, the user can visually confirm temporal change in the state of the tool.
[0040] (9) An anomaly detection device according to the present embodiment is configured to detect an anomaly in a tool of a machine tool. The anomaly detection device includes: an acquisition unit configured to acquire measurement data in time series outputted from a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; a synchronization unit configured to achieve synchronization between target data being the measurement data in time series acquired by the acquisition unit, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a distance calculation unit configured to calculate a distance between the reference data and the target data between which synchronization has been achieved by the synchronization unit; and an anomaly detection unit configured to detect an anomaly in the tool by comparing the distance calculated by the distance calculation unit with a threshold. Accordingly, unlike anomaly determination that uses machine learning, a large number of sensors are not required, and a large amount of measurement data for the machine learning is not required. Since synchronization between the reference data and the target data is achieved, the difference between the current (at the time of anomaly detection) state and a normal state of the tool can be accurately calculated as a distance, and an anomaly can be accurately detected.
[0041] (10) An anomaly detection method according to the present embodiment is executed by an anomaly detection device configured to detect an anomaly in a tool of a machine tool. The anomaly detection method includes: a step of acquiring measurement data in time series outputted from a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; a step of achieving synchronization between target data being the acquired measurement data in time series, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a step of calculating a distance between the reference data and the target data between which synchronization has been achieved; and a step of detecting an anomaly in the tool by comparing the calculated distance with a threshold. Accordingly, unlike anomaly determination that uses machine learning, a large number of sensors are not required, and a large amount of measurement data for the machine learning is not required. Since synchronization between the reference data and the target data is achieved, the difference between the current (at the time of anomaly detection) state and a normal state of the tool can be accurately calculated as a distance, and an anomaly can be accurately detected.
[0042] (11) A computer program according to the present embodiment is for detecting an anomaly in a tool of a machine tool. The computer program causes a computer to execute: a step of acquiring measurement data in time series outputted from a sensor provided to the tool, the sensor being configured to measure a physical quantity, of the tool, that varies while the machine tool is machining a machining target object by means of the tool; a step of achieving synchronization between target data being the acquired measurement data in time series, and reference data being a measurement result in time series of the physical quantity when the tool is in a normal state; a step of calculating a distance between the reference data and the target data between which synchronization has been achieved; and a step of detecting an anomaly in the tool by comparing the calculated distance with a threshold. Accordingly, unlike anomaly determination that uses machine learning, a large number of sensors are not required, and a large amount of measurement data for the machine learning is not required. Since synchronization between the reference data and the target data is achieved, the difference between the current (at the time of anomaly detection) state and a normal state of the tool can be accurately calculated as a distance, and an anomaly can be accurately detected.
Details of Embodiment of the Present Disclosure
[0043] Hereinafter, details of an embodiment of the present invention will be described with reference to the drawings. At least parts of the embodiment described below may be combined as desired.
1. Abnormality Detection System
[0044]
[0045] The anomaly detection system 10 includes the cutting tool 30, a wireless device 200, and an anomaly detection device 300. The wireless device 200 is connected to the anomaly detection device 300 in a wired manner, for example. The wireless device 200 is an access point, for example.
[0046] The cutting tool 30 includes a sensor module 100. As described later, the sensor module 100 includes a sensor.
[0047] The configuration of the anomaly detection system 10 is not limited to a configuration of including a single cutting tool 30, and the anomaly detection system 10 may include a plurality of the cutting tools 30.
[0048] The cutting tool 30 transmits a measurement result obtained by the sensor in the sensor module 100 to the anomaly detection device 300 in time series.
[0049] More specifically, the cutting tool 30 wirelessly transmits a radio signal including a packet storing a measurement value, to the wireless device 200.
[0050] The wireless device 200 acquires the packet included in the radio signal received from the cutting tool 30, and relays the packet to the anomaly detection device 300.
[0051] Upon receiving the sensor packet from the cutting tool 30 via the wireless device 200, the anomaly detection device 300 acquires measurement information from the received sensor packet, and processes the acquired measurement information.
[0052] The cutting tool 30 and the wireless device 200 perform wireless communication using a communication protocol such as ZigBee according to IEEE 802.15.4, Bluetooth (registered trademark) according to IEEE 802.15.1, or UWB (Ultra Wide Band) according to IEEE802.15.3a, for example. Between the cutting tool 30 and the wireless device 200, a communication protocol other than the above may be used.
2. Specific Example of Cutting Tool
[0053]
[0054] A turning tool 30A, which is an example of the cutting tool 30, is a tool for turning machining to be used in machining of a machining target object that is rotating, and is mounted to a machine tool such as a lathe. The turning tool 30A includes a cutting part 31A and the sensor module 100 provided to the cutting part 31A.
[0055] For example, the cutting part 31A can have mounted thereto a cutting insert 32 having a cutting blade. Specifically, the cutting part 31A is a shank that holds the cutting insert 32. That is, the turning tool 30A is a so-called throw-away cutting tool.
[0056] More specifically, the cutting part 31A includes fixing members 33A, 33B. The fixing members 33A, 33B hold the cutting insert 32.
[0057] In a top view, the cutting insert 32 has a polygonal shape such as a triangle, a square, a rhombus, or a pentagon, for example. For example, the cutting insert 32 has a through-hole formed at the center of the top face of the cutting insert 32, and is fixed to the cutting part 31A by the fixing members 33A, 33B.
[0058]
[0059] A turning tool 30B, which is an example of the cutting tool 30, is a tool for turning machining, and is mounted to a machine tool such as a lathe. The turning tool 30B includes a cutting part 31B and the sensor module 100 provided to the cutting part 31B.
[0060] For example, the cutting part 31B has a cutting blade 34. That is, the turning tool 30B is a solid cutting tool or a brazed cutting tool.
[0061]
[0062] A rotating tool 30C, which is an example of the cutting tool 30, is a tool for rotating machining to be used in machining of a machining target object that is fixed, and is mounted to a machine tool such as a milling machine. The rotating tool 30C includes a cutting part 31C and the sensor module 100 provided to the cutting part 31C.
[0063] For example, the cutting part 31C can have mounted thereto the cutting insert 32 having a cutting blade. Specifically, the cutting part 31C is a holder that holds the cutting insert 32. That is, the rotating tool 30C is a so-called milling cutter.
[0064] More specifically, the cutting part 31C includes a plurality of fixing members 33C. Each fixing member 33C holds the cutting insert 32.
[0065] The cutting inserts 32 are fixed to the cutting part 31C by the fixing members 33C.
[0066]
[0067] A rotating tool 30D, which is an example of the cutting tool 30, is a tool for rotating machining, and is mounted to a machine tool such as a milling machine. The rotating tool 30D includes a cutting part 31D, and the sensor module 100 provided to the cutting part 31D.
[0068] For example, the cutting part 31D has a cutting blade 35. That is, the rotating tool 30D is an end mill.
3. Sensor Module
[0069]
[0070] The sensor module 100 includes a processor 101, a nonvolatile memory 102, a volatile memory 103, a communication interface (I/F) 104, and strain sensors 110A, 110B.
[0071] The volatile memory 103 is a volatile memory such as an SRAM (Static Random Access Memory) or a DRAM (Dynamic Random Access Memory), for example. The nonvolatile memory 102 is a nonvolatile memory such as a flash memory or a ROM (Read Only Memory), for example. For example, the nonvolatile memory 102 has stored therein a computer program (not shown) and data to be used in execution of the computer program. The computer program is a program for transmitting, in time series, the measurement values obtained by the strain sensors 110A, 110B.
[0072] The processor 101 is a CPU (Central Processing Unit), for example. However, the processor 101 is not limited to a CPU. The processor 101 may be a GPU (Graphics Processing Unit). In a specific example, the processor 101 is a multicore GPU. For example, the processor 101 may be an ASIC (Application Specific Integrated Circuit), or may be a programmable logic device such as a gate array or an FPGA (Field Programmable Gate Array).
[0073] The communication I/F 104 is a communication interface for a communication protocol such as ZigBee according to IEEE 802.15.4, Bluetooth according to IEEE 802.15.1, or UWB according to IEEE802.15.3a, for example. The communication I/F 104 is realized by a communication circuit such as a communication IC (Integrated Circuit), for example.
[0074] The sensor module 100 includes a battery 105. The battery 105 supplies electric power to the processor 101, the nonvolatile memory 102, the volatile memory 103, the communication I/F 104, and the strain sensors 110A, 110B.
[0075] The strain sensors 110A, 110B are provided in the vicinity of the cutting blade in the cutting tool 30, for example. The strain sensors 110A and 110B are mounted to the cutting tool 30 so as to measure strains in directions different from each other. For example, the strain sensor 110A measures a strain in the longitudinal direction of the cutting tool 30, and the strain sensor 110B measures a strain in the width direction of the cutting tool 30. In the following, the strain sensors 110A, 110B will also be collectively referred to as a strain sensor 110. The strain sensor 110 is an example of a sensor. The sensor is driven with electric power supplied from the battery 105.
[0076] The configuration of the sensor module 100 is not limited to the configuration of including two strain sensors 110, and the sensor module 100 may include one or three or more strain sensors 110. Instead of the strain sensor 110 or in addition to the strain sensor 110, the sensor module 100 may include other sensors such as an acceleration sensor, a pressure sensor, a sound sensor, and a temperature sensor.
4. Hardware Configuration of Anomaly Detection Device
[0077]
[0078] The anomaly detection device 300 includes a processor 301, a nonvolatile memory 302, a volatile memory 303, an input/output interface (I/O) 304, a graphic controller 305, and a display device 306.
[0079] The volatile memory 303 is a volatile memory such as an SRAM or a DRAM, for example. The nonvolatile memory 302 is a nonvolatile memory such as a flash memory, a hard disk, or a ROM, for example. The nonvolatile memory 302 has stored therein an anomaly detection program 307, which is a computer program, and data to be used in execution of the anomaly detection program 307. Each function of the anomaly detection device 300 is realized by the anomaly detection program 307 being executed by the processor 301. The anomaly detection program 307 can be stored in a storage medium such as a flash memory, a ROM, or a CD-ROM.
[0080] The nonvolatile memory 302 has stored therein reference data 308. The reference data 308 is data to be used by the anomaly detection program 307, and is the measurement result in time series of the strain when the cutting tool 30 is in a normal state.
[0081] The nonvolatile memory 302 is provided with a measurement result database (DB) 309. The measurement result DB 309 stores measurement results obtained by the strain sensor 110. More specifically, in the measurement result DB 309, measurement values of the strain outputted from the strain sensor 110 are accumulated in time series in each constant sampling cycle. The reference data 308 is data created from past measurement results stored in the measurement result DB 309, for example.
[0082] The processor 301 is a CPU, for example. The processor 301 may be one or a plurality of CPUs. However, the processor 301 is not limited to a CPU. The processor 301 may be a GPU. In a specific example, the processor 301 is a multicore GPU. For example, the processor 301 may be an ASIC, or may be a programmable logic device such as a gate array or an FPGA. In this case, the ASIC or the programmable logic device is configured to be able to execute the same processes as the anomaly detection program 307.
[0083] The I/O 304 is connected to the wireless device 200. For example, the I/O 304 is a communication I/F, and can perform communication according to a specific communication protocol. The I/O 304 includes an Ethernet interface (Ethernet is a registered trademark), for example. The I/O 304 can receive a measurement result obtained by the strain sensor 110 from the cutting tool 30 via the wireless device 200.
[0084] The graphic controller 305 is connected to the display device 306, and controls display in the display device 306. For example, the graphic controller 305 includes a GPU and a VRAM (Video RAM), holds, in the VRAM, data to be displayed in the display device 306, periodically reads out video data corresponding to one frame from the VRAM, and generates a video signal. The generated video signal is outputted to the display device 306, and the video is displayed in the display device 306. The function of the graphic controller 305 may be included in the processor 301. A partial region of the volatile memory 303 may be used as the VRAM.
[0085] The display device 306 includes a liquid crystal panel or an OEL (organic electroluminescence) panel, for example. The display device 306 can display information of characters or figures.
5. Function of Anomaly Detection Device
[0086]
[0087] The acquisition unit 311 acquires measurement data of the strain in the cutting tool 30 during the time when the machine tool 20 is machining the machining target object by means of the cutting tool 30. The measurement data is time-series data of the measurement values obtained by the strain sensor 110. The strain in the cutting tool 30 is an example of the physical quantity that varies while the machine tool 20 is machining the machining target object by means of the cutting tool 30.
[0088]
[0089] With reference back to
[0090]
[0091]
[0092] The synchronization unit 312 determines a cut-out period including one step in the target data 400, and extracts (cuts out) the time-series waveform pattern of the determined cut-out period from the target data 400. The cut-out period is a period corresponding to a period showing a waveform pattern in the reference data 308. In the example in
[0093] Determination of the cut-out period by the synchronization unit 312 will be described. In order to determine the cut-out period, the synchronization unit 312 calculates a first moving average and a second moving average of the target data 400.
[0094]
[0095] In a specific example, the synchronization unit 312 calculates the absolute value (hereinafter referred to as difference between moving averages) of the difference between the first moving average and the second moving average. In the period P_S in
[0096] The synchronization unit 312 determines a provisional period starting from the specified time point ts0. The provisional period is determined by using a registered period, which has been registered in advance based on the reference data 308. For example, a user registers, as the registered period, a period of one specific step included in the reference data 308. Information on the registered period is stored in the nonvolatile memory 302, for example. Using the time point ts0 as the starting point, the synchronization unit 312 determines a period having the same length as the registered period, as the provisional period.
[0097] From a time te01, which is the end point of the provisional period, the synchronization unit 312 compares the difference between moving averages with the first threshold in reverse time order, and specifies a time point te02 when the difference between moving averages has exceeded the first threshold for the first time. The synchronization unit 312 determines the period from the time point ts0 to the time point te02, as a step period.
[0098] The synchronization unit 312 determines a cut-out period, based on the step period. The cut-out period is a period for cutting out waveform data from the target data 400.
[0099] The cut-out period as described above is set in a period in which a specific step is being performed by using the cutting tool 30. In a specific example, the cut-out period is set in an intermittent cutting step in which cutting and non-cutting of the machining target object are repeated. In a continuous machining step in which cutting of the machining target object continues, even when an anomaly has occurred in the cutting tool 30, a constant strain is stably caused in the cutting tool 30. In contrast, in the intermittent cutting step, no strain is caused in the cutting tool 30 during non-cutting, and a strain is caused in the cutting tool 30 during cutting. That is, a state where a strain is caused in the cutting tool 30 and a state where no strain is caused in the cutting tool 30 are repeated. Therefore, an anomaly having been caused in the cutting tool 30 appears as a variation in the strain in the cutting tool 30, for example. Therefore, if the measurement result of the strain in the intermittent cutting step is used, an anomaly in the cutting tool 30 can be accurately detected.
[0100] With reference back to
[0101] The period setting unit 313 sets a target period (hereinafter referred to as window) in a machining step, that is identical, in the reference data 308 and the cut-out data. With reference to
[0102] With reference back to
[0103] In the example in
[0104]
[0105] In a specific example, the correction unit 314 calculates the average value of the strain measurement values of the cut-out data 410 in the window W, and subtracts the average value from each measurement value of the cut-out data 410 in the window W, to correct the baseline of the cut-out data 410. As shown in
[0106] With reference back to
[0107] An example of the distance between the reference data 308 and the cut-out data 410A is the distance between the time-series waveform of the reference data 308 and the time-series waveform of the cut-out data 410A. In a more specific example, the distance between the reference data 308 and the cut-out data 410A is DTW (dynamic time warping) between the reference data 308 and the cut-out data 410A.
[0108]
[0109] With reference back to
[0110] When comparison between the anomaly degree and the second threshold has been performed with respect to one window W, the period setting unit 313 sets a period slightly shifted from the original window W, as a new window W. In the new window W, the cut-out data 410 is cut out from the target data 400, the correction unit 314 corrects the baseline of the cut-out data 410, the distance calculation unit 315 calculates the distance between the reference data 308 and the cut-out data 410A, and the anomaly detection unit 316 performs comparison between the anomaly degree and the second threshold. For example, in the target data 400, a period (hereinafter, detection target period) in which anomaly detection is performed is set in advance, and the period setting unit 313 can sequentially set the window W by shifting a predetermined time, from the starting point to the end point of the detection target period. Accordingly, in the entirety of the detection target period, the anomaly degree is sequentially calculated, whereby the anomaly detection for the cutting tool 30 is performed. The detection target period is set as a partial or the entire period of the cut-out period, for example.
[0111] The display control unit 317 outputs a video signal to the display device 306 and controls display of the display device 306. When the anomaly detection unit 316 has detected an anomaly in the cutting tool 30, the display control unit 317 causes the display device 306 to display the detection of the anomaly. Accordingly, the user is notified of the detection of the anomaly.
[0112] The display control unit 317 can cause the display device 306 to display a time-series graph (hereinafter, referred to as anomaly degree graph) of the anomaly degree calculated by the distance calculation unit 315.
6. Operation of Anomaly Detection Device
[0113] The processor 301 of the anomaly detection device 300 executes the anomaly detection program 307, whereby the processor 301 executes an anomaly detection process described below.
[0114] While the cutting tool 30 is used and the machining target object is being subjected to cutting machining with the machine tool 20, the strain sensor 110 measures the strain in the cutting tool 30. The sensor module 100 wirelessly transmits a measurement result obtained by the strain sensor 110 to the anomaly detection device 300. The anomaly detection device 300 receives the measurement result of the strain, and stores the measurement result into the measurement result DB 309. In this manner, measurement data in time series is accumulated in the measurement result DB 309.
[0115] The processor 301 acquires the target data 400, which is the measurement data to serve as the target of the anomaly detection, from the measurement result DB (step S101).
[0116] The processor 301 executes a synchronization process of achieving synchronization between the acquired target data 400 and the reference data 308 (step S102).
[0117]
[0118] In the synchronization process, the processor 301 calculates the first moving average and the second moving average of the target data 400, and calculates the difference between moving averages (step S201). Next, the processor 301 compares the difference between moving averages with the first threshold, and specifies the time point ts0 when the difference between moving averages has exceeded the first threshold (step S202).
[0119] Using the registered period, the processor 301 determines a provisional period with the specified time point ts0 used as the starting point (step S203). The processor 301 compares the difference between moving averages with the first threshold in reverse time order from the time te01, which is the end point of the provisional period, and specifies the time point te02 when the difference between moving averages has exceeded the first threshold for the first time. The processor 301 determines the period from the time point ts0 to the time point te02, as the step period (step S204).
[0120] The processor 301 adds a margin before and after the step period, and determines a cut-out period (step S205). The processor 301 cuts out the waveform data (cut-out data) in the cut-out period from the target data 400 (step S206). Then, the synchronization process ends.
[0121] With reference back to
[0122] The processor 301 calculates the average value of the measurement values of the cut-out data 410 in the window W, and subtracts the average value from each measurement value. Accordingly, the baseline of the cut-out data 410 is corrected (step S104).
[0123] The processor 301 calculates the distance between the reference data 308 and the cut-out data 410A after correction, as the anomaly degree (step S105).
[0124] The processor 301 compares the anomaly degree with the second threshold (step S106). When the anomaly degree is equal to or less than the second threshold (NO in step S106), the processor 301 proceeds to step S109.
[0125] When the anomaly degree exceeds the second threshold (YES in step S106), the processor 301 determines that an anomaly has occurred in the cutting tool 30. That is, the processor 301 detects an anomaly in the cutting tool 30 (step S107).
[0126] The processor 301 causes the display device 306 to display the detection of the anomaly in the cutting tool 30 (step S108). Accordingly, the user is notified of the detection of the anomaly.
[0127] The processor 301 determines whether or not the window W has reached the end-edge of the detection target period (step S109). When the window W has not reached the end-edge of the detection target period (NO in step S109), the processor 301 returns to step $103 and sets a period after a predetermined time from the window W, as a new window W. The processor 301 executes step S104 and thereafter. With the window W being sequentially updated, the anomaly degree is calculated in the entirety of the detection target period, and whether or not the cutting tool 30 is in an abnormal state is determined.
[0128] When the window W has reached the end-edge of the detection target period (YES in step S109), the processor 301 creates an anomaly degree graph of the detection target period and causes the display device 306 to display the anomaly degree graph (step S110). Then, the anomaly detection process ends.
7. Modification
[0129] In the embodiment described above, the cut-out period is set in an intermittent cutting step, and an anomaly in the cutting tool in the intermittent cutting step is detected. However, the present disclosure is not limited thereto. The cut-out period may be set in a continuous machining step, and an anomaly in the cutting tool in the continuous machining step may be detected. Further, a period that includes one or a plurality of intermittent cutting steps and one or a plurality of continuous machining steps may be set as the cut-out period, and an anomaly in the cutting tool in the cut-out period may be detected.
[0130] In the embodiment described above, as the anomaly degree, the distance between the time-series waveform of the reference data and the time-series waveform of the cut-out data (target data) is calculated. However, the present disclosure is not limited thereto. As the anomaly degree, the difference between the distribution of the reference data and the distribution of the cut-out data (target data) may be calculated. The distance between the time-series waveform of the reference data and the time-series waveform of the cut-out data is not limited to the DTW, and may be the Euclidean distance, for example. When the Euclidean distance is used as the anomaly degree, the phase with the time-series waveform of the cut-out data may be matched with the phase of the time-series waveform of the reference data. As the difference between the distribution of the reference data and the distribution of the cut-out data, the cross entropy may be calculated, or the density ratio may be estimated.
[0131] In the embodiment described above, an anomaly in the cutting tool 30 is detected by using the measurement data, of the strain in the cutting tool 30, obtained by the strain sensor 110. However, the present disclosure is not limited thereto. An anomaly in the cutting tool 30 may be detected by providing an acceleration sensor to the cutting tool 30 and using the acceleration in time series measured by the acceleration sensor. When an acceleration sensor is used, the difference between the distribution of the reference data of acceleration and the distribution of the target data of acceleration can be calculated as the anomaly degree.
8. Supplementary Note
[0132] The above embodiment is merely illustrative in all aspects and is not restrictive. The scope of the present disclosure is defined by the scope of the claims rather than the embodiment described above, and is intended to include meaning equivalent to the scope of the claims and all modifications within the scope.
REFERENCE SIGNS LIST
[0133] 10 anomaly detection system [0134] 20 machine tool [0135] 30, 30A, 30B, 30C, 30D rotating tool [0136] 31A, 31B, 31C, 31D cutting part [0137] 32 cutting insert [0138] 33A, 33B, 33C fixing member [0139] 34, 35 cutting blade [0140] 100 sensor module [0141] 101 processor [0142] 102 nonvolatile memory [0143] 103 volatile memory [0144] 104 communication interface (communication I/F) [0145] 105 battery [0146] 110, 110A, 110B strain sensor [0147] 200 wireless device [0148] 300 anomaly detection device [0149] 301 processor [0150] 302 nonvolatile memory [0151] 303 volatile memory [0152] 304 input/output interface (I/O) [0153] 305 graphic controller [0154] 306 display device [0155] 307 anomaly detection program [0156] 308 reference data [0157] 309 measurement result DB [0158] 311 acquisition unit [0159] 312 synchronization unit [0160] 313 period setting unit [0161] 314 correction unit [0162] 315 distance calculation unit [0163] 316 anomaly detection unit [0164] 317 display control unit [0165] 400 target data [0166] 410, 410A cut-out data [0167] A, B, C, D, E, F, A1, A2, A3 step [0168] P1, P2, P3, P4, P5, P6, P_S, P_C period [0169] P_A1, P_A2, P_A3 cut-out period [0170] ts0, ts1, te01, te02, te1 time point [0171] W window