Information processing device, information processing method, and program

The information processing device accurately identifies machining cycles by counting tool switching points, enhancing abnormality detection and tool condition assessment in machine tools.

JP2024162158AInactive Publication Date: 2024-11-21MAZIN INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023077444
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-09
Publication Date
2024-11-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing methods struggle to accurately specify one cycle in time-series data from the start to the end of machining in machine tools, leading to inaccurate abnormality detection and identification of tools due to variations in cycle periods.

Method used

An information processing device that includes a reception unit to receive time-series data related to tool switching and spindle rotation, and a specifying unit to identify one cycle by counting tool changes and detecting switching points, ensuring accurate cycle identification.

Benefits of technology

Enables precise specification of machining cycles, allowing for more accurate abnormality detection and identification of tool wear or damage, thereby improving operational efficiency and preventing unexpected tool failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024162158000001_ABST
    Figure 2024162158000001_ABST
Patent Text Reader

Abstract

To provide an information processing device capable of specifying one cycle that allows accurate detection of an abnormality in time series data acquired from a machine tool.SOLUTION: An information processing device 2 includes a reception unit 21 that receives first time series data related to tool switching in a machine tool 1, and a determination unit 23 that detects a tool switching time point in the first time series data, uses the detection result to count the tool switching from the start of one cycle of machining repeated in the machine tool 1 and determine the end of one cycle, and thereby specifying the one cycle.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device or the like that processes time-series information acquired in a machine tool. [Background technology]

[0002] Conventionally, in machine tools that rotate a spindle to which either a workpiece or a tool is attached, and perform cutting processing on the workpiece using the tool, the current of the motor that drives the spindle, etc. is measured and used to detect abnormalities such as wear and breakage of the tool (see, for example, Patent Document 1).

[0003] For example, as a tool becomes worn, it becomes harder to cut compared to a normal tool that is not worn, so the machine tool controls the tool to cut with a greater force than a normal tool, and as a result, the current value of the spindle motor increases more than normal. Also, if the tool breaks, the tool will no longer contact the workpiece, so the current value of the spindle motor decreases more than normal. Therefore, by comparing the current value of the spindle motor with the normal current value, it is possible to detect abnormalities such as tool wear and tool breakage.

[0004] In mass production machine tools, the same machining is repeated while switching between multiple tools, so that tool abnormalities can be detected by obtaining data for one cycle from the start to the end of the repeated machining from the time series data of the current value of the motor that drives the spindle, dividing the data for one cycle for each tool, and comparing it with previous data. In addition, by identifying one cycle of data from the start to the end of the repeated machining, it becomes possible to output information that allows the operator of the machine tool to identify the tool in which the abnormality was detected. For example, by outputting a message indicating that an abnormality was detected in the tool in the third machining step in the identified one cycle, the operator of the machine tool can identify the machining step in which the abnormality was detected, and can also identify the tool used in that machining step, i.e., the tool in which the abnormality was detected. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Patent Publication No. 2022-093204 Summary of the Invention [Problem to be solved by the invention]

[0006] However, there is a problem that it is difficult to accurately identify data for one cycle from the start to the end of machining in time series data that is the motor current value. Fig. 3A is a waveform diagram showing time series data of current values ​​acquired by a current sensor of a machine tool. The first time series data is time series data of the current value of a motor that switches tools, and the second time series data is time series data of the current value of a motor that rotates a spindle. Fig. 3B is a waveform diagram in which the first and second time series data are displayed overlapping each other.

[0007] In FIG. 3B, the period P1 corresponds to one cycle from the start to the end of machining, but since machining is repeated, it is also possible to obtain, for example, the time series data of the period P2 as the time series data of one cycle. Here, the period P3 from the end of one cycle of machining to the start of the next cycle of machining is not constant in time and has a large time variance, so if the period spanning two cycles with the period P3 in between is considered as one cycle, there is a problem that accurate abnormality detection cannot be performed when detecting abnormalities by cutting out and comparing waveforms for each cycle. In addition, for example, when outputting to the operator of the machine tool which machining step in one cycle an abnormality was detected in, if the period spanning two cycles is specified as one cycle, the one cycle from the start to the end of machining that the operator recognizes will differ from the specified one cycle, and there is also a problem that the operator will not be able to accurately specify the tool in which the abnormality was detected.

[0008] The present invention has been made to solve the above-mentioned problems, and aims to provide an information processing device, etc. for accurately identifying one cycle from the start to the end of machining that is repeated in a machine tool. [Means for solving the problem]

[0009] In order to achieve the above-mentioned object, an information processing device according to one embodiment of the present invention includes a receiving unit that receives first time series data related to tool switching in a machine tool, and an identification unit that detects the time point of tool switching in the first time series data and identifies one cycle by using the detection result to count tool switching from the start of one cycle of machining repeated in the machine tool and identify the end of one cycle.

[0010] With this configuration, it becomes possible to accurately identify one cycle by counting the tool switching and identifying the end point of one cycle.

[0011] In addition, in an information processing device according to one aspect of the present invention, the identification unit may identify the end of one cycle in the first time series data, which is the point at which the count value of tool switching from the start of one cycle becomes equal to the number of tool switching in one cycle.

[0012] With this configuration, it is possible to accurately identify one cycle for a machine tool that switches tools for the first machining in the next cycle at the end of one cycle.

[0013] In addition, in an information processing device according to one aspect of the present invention, the receiving unit may also receive second time series data related to at least one of the rotation of a spindle and the rotation of a servo motor in a machine tool, and the identification unit may identify the end of one cycle, which is the last time at which the end of machining was detected in the second time series data, before the time at which the count value of tool switching from the start of one cycle in the first time series data becomes equal to the number of tool switching in one cycle.

[0014] With this configuration, it is possible to accurately identify one cycle even for a machine tool that switches tools before the start of one cycle.

[0015] In the information processing device according to an aspect of the present invention, the identification unit may detect only one switching time point in the first time-series data during a predetermined period from a start time point of tool switching.

[0016] With this configuration, even if a plurality of signals are consecutive in the period during which one tool switching is performed in the first time-series data, it is possible to detect an appropriate switching time point.

[0017] In the information processing device according to an aspect of the present invention, the identifying unit may identify the start time of one cycle by using a time interval of tool switching in one cycle in the first time-series data.

[0018] With this configuration, even if the start time of one cycle cannot be identified by the second time series data alone, for example, it is possible to realize accurate identification of the start time.

[0019] In addition, in an information processing device according to one embodiment of the present invention, the receiving unit may also receive third time series data indicating the start point of one cycle according to an NC program used to control the machine tool, and the identification unit may identify the start point of one cycle using the third time series data.

[0020] With this configuration, the start time of one cycle can be identified by the third time series data.

[0021] In addition, in an information processing device according to one aspect of the present invention, the receiving unit may also receive second time series data related to at least one of the rotation of a spindle in a machine tool and the rotation of a servo motor, and the identification unit may identify a plurality of one cycle candidates using a plurality of candidate start points, and identify, from among the plurality of identified one cycle candidates, a one cycle candidate for which a predetermined number or more of time series data similar to time series data corresponding to the one cycle candidate in at least one of the first and second time series data exists in at least one of the first and second time series data as one cycle.

[0022] With this configuration, even if the start point of one cycle cannot be uniquely identified, it is possible to accurately identify one cycle.

[0023] In addition, in an information processing device according to one embodiment of the present invention, the second time series data may be at least any of data on the current of a spindle motor that rotates a spindle in a machine tool, data on the torque of the spindle motor, data on the load applied to a non-rotating object abutting a rotating object rotated by the spindle measured by a cutting dynamometer when a workpiece is machined by the machine tool, data on acceleration measured by an acceleration sensor attached to a non-rotating part of the spindle motor, measurement data obtained by an AE sensor attached to the non-rotating object, acoustic data including the machining sound of the workpiece, data on the current of a servo motor in the machine tool, data on the torque of the servo motor, data on acceleration measured by an acceleration sensor attached to the non-rotating part of the servo motor, and acoustic data including sound generated in response to the rotation of the servo motor.

[0024] In addition, in an information processing device according to one embodiment of the present invention, the first time series data may be at least any of data on the current of a tool switching motor for switching tools in a machine tool, data on the torque of the tool switching motor, acceleration data measured by an acceleration sensor attached to a non-rotating part of the tool switching motor, acoustic data including sounds generated when switching tools, and data indicating the time point of tool switching according to an NC program used to control the machine tool.

[0025] In addition, in an information processing device according to one aspect of the present invention, the receiving unit may also receive second time series data related to at least one of the rotation of a spindle and the rotation of a servo motor in the machine tool, and may further include an acquisition unit that acquires time series data corresponding to one cycle in the second time series data using a result of the identification by the identification unit, and an abnormality detection unit that detects an abnormality for each cycle of the time series data acquired by the acquisition unit.

[0026] With this configuration, for example, it is possible to detect abnormalities such as wear and breakage of the tool. In addition, since one cycle that is more accurately specified is used, it is possible to detect abnormalities with higher accuracy.

[0027] Moreover, the information processing device according to an aspect of the present invention may further include a cycle time acquisition unit that acquires a cycle time indicating the length of one cycle, using a result of identification by the identification unit.

[0028] With this configuration, the length of one cycle can be known. Using this cycle time, it is possible to consider, for example, shortening the cycle time.

[0029] In addition, an information processing method according to one aspect of the present invention is an information processing method processed using a receiving unit and an identification unit, and includes a step in which the receiving unit receives first time series data related to tool switching in a machine tool, and a step in which the identification unit detects the time point of tool switching in the first time series data and identifies one cycle by using the detection result to count tool switching from the start of one cycle of machining repeated in the machine tool and identify the end of one cycle. Effect of the Invention

[0030] According to an information processing device and the like according to one aspect of the present invention, one cycle of machining repeated by a machine tool can be more accurately specified. [Brief description of the drawings]

[0031] [Figure 1] FIG. 1 is a block diagram showing a configuration of an information processing system according to an embodiment of the present invention. [Diagram 2] A flowchart showing the operation of the information processing device according to the embodiment. [Figure 3A] FIG. 13 is a diagram showing an example of first and second time-series data in the embodiment; [Figure 3B] FIG. 13 is a diagram showing an example of first and second time-series data in the embodiment; [Figure 4] FIG. 13 is a diagram showing an example of first and second time-series data in the embodiment; [Diagram 5] FIG. 13 is a diagram showing an example of first and second time-series data in the embodiment; [Figure 6] FIG. 13 is a diagram showing an example of first and second time-series data in the embodiment; [Figure 7] FIG. 13 is a diagram showing an example of first and second time-series data in the embodiment; [Figure 8] FIG. 13 is a diagram showing an example of first time-series data at the time of tool switching in the embodiment; [Figure 9] FIG. 2 shows an example of an NC program in the embodiment. [Figure 10] FIG. 11 is a diagram showing an example of first and third time series data in the embodiment; [Figure 11] FIG. 2 shows an example of the configuration of a computer system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] The information processing device and information processing method according to the present invention will be described below using embodiments. In the following embodiments, components and steps with the same reference numerals are the same or equivalent, and repeated description may be omitted. The information processing device according to the present embodiment specifies one cycle of machining repeated in a machine tool more accurately.

[0033] 1 is a block diagram showing the configuration of an information processing system 100 according to the present embodiment. The information processing system 100 according to the present embodiment includes a machine tool 1 and an information processing device 2. The machine tool 1 and the information processing device 2 may be connected to each other by wire or wirelessly.

[0034] The machine tool 1 repeatedly performs machining on a workpiece. The machine tool 1 may be, for example, an NC lathe or a machining center. In the NC lathe, a spindle on which a workpiece is attached is rotated, a tool is brought into contact with the rotating workpiece, and the workpiece and the tool are moved relatively to perform machining such as cutting. In the NC lathe, a tool is switched by, for example, rotating a turret. On the other hand, in the machine tool 1, which is a machining center, a spindle on which a tool is attached is rotated, a rotating tool is brought into contact with the workpiece, and the workpiece and the tool are moved relatively to perform machining such as cutting. In the machining center, a tool is switched by, for example, an auto tool changer (ATC).

[0035] As an example, as shown in FIG. 1, the machine tool 1 may have a first acquisition unit 11 for acquiring first time series data related to tool switching in the machine tool 1, and a second acquisition unit 12 for acquiring second time series data related to the rotation of a spindle in the machine tool 1. The first time series data related to tool switching may be, for example, first time series data related to the rotation of a tool switching motor. In this embodiment, the first time series data is time series data of a current of a tool switching motor for switching a tool in the machine tool 1 acquired by the first acquisition unit 11 which is an ammeter, and the second time series data is time series data of a current of a spindle motor for rotating a spindle in the machine tool 1 acquired by the second acquisition unit 12 which is an ammeter. However, as described later, the first and second time series data may be other time series data. It is preferable that the first and second time series data are synchronized.

[0036] The information processing device 2 includes a receiving unit 21, a storage unit 22, an identifying unit 23, an acquiring unit 24, an abnormality detecting unit 25, a cycle time acquiring unit 26, and an output unit 27. The information processing device 2 may be, for example, a general-purpose device such as a personal computer, or may be a dedicated device for performing processing such as identifying one cycle.

[0037] The reception unit 21 receives first time series data related to tool switching in the machine tool 1 and second time series data related to rotation of the spindle in the machine tool 1. The reception unit 21 may receive only the first time series data. In this case, the machine tool 1 may not have the second acquisition unit 12. The received first and second time series data may be stored in the storage unit 22. The reception unit 21 may receive the first and second time series data, for example, in real time, at regular or irregular time intervals, or all at once. When the first and second time series data are received in real time, for example, the first and second time series data may be configured in the storage unit 22 by receiving a signal at each time point from the machine tool 1 and storing it in the storage unit 22. Even in this case, the reception unit 21 repeatedly receives each signal constituting the first and second time series data, and as a result, the reception unit 21 receives the first and second time series data.

[0038] Receiving unit 21 may receive information transmitted via, for example, a wired or wireless communication line. In this embodiment, a case will be mainly described in which the first and second time-series data transmitted from machine tool 1 are received by receiving unit 21. Note that receiving unit 21 may or may not include a device for receiving the data (for example, a modem, a network card, etc.). Also, receiving unit 21 may be realized by hardware, or may be realized by software such as a driver that drives a predetermined device.

[0039] The first and second time series data are stored in the storage unit 22. Other information may be stored in the storage unit 22. For example, information indicating one identified cycle, time series data corresponding to one cycle acquired by the acquisition unit 24, and the like may be stored in the storage unit 22. The storage unit 22 is preferably realized by a non-volatile recording medium, but may also be realized by a volatile recording medium. The recording medium may be, for example, a semiconductor memory, a magnetic disk, or the like.

[0040] FIG. 3A is a waveform diagram showing the first time series data S1, which is the current of the tool switching motor, and the second time series data S2, which is the current of the spindle motor, separately, and FIG. 3B is a waveform diagram showing the first time series data S1 and the second time series data S2 superimposed. In FIG. 3A and FIG. 3B, the horizontal axis is time, and the vertical axis is current. The first time series data S1 includes a peak of the current value corresponding to the switching of the tool, and the second time series data S2 includes a peak of the current value corresponding to the acceleration or deceleration of the spindle. Since the first and second time series data S1 and S2 have different ranges, in FIG. 3B, the current of the first time series data S1 is shown on the vertical axis on the right, and the current of the second time series data S2 is shown on the vertical axis on the left. The same applies to the waveform diagrams of FIG. 4 and subsequent figures. Also, while Figures 3A and 3B show a case where the first and second time series data S1, S2 are time series data for two cycles, it goes without saying that the first and second time series data may be time series data for a longer period of time.

[0041] The identification unit 23 uses the first time series data to identify one cycle, which is a period from the start to the end of processing having a plurality of steps on the processing object. The identification unit 23 may also use, for example, the second time series data to identify one cycle. For example, the identification unit 23 may identify one cycle corresponding to period P1 in the waveform diagram shown in FIG. 3B. By identifying one cycle in this way, it is possible to avoid identifying one cycle corresponding to a period spanning two cycles (for example, period P2 in FIG. 3B) with period P3 having a large time variance therebetween, and for example, it becomes possible to perform more accurate abnormality detection.

[0042] The identification unit 23 detects the tool switching time in the first time series data, and identifies one cycle by counting the tool switching from the start of one cycle of machining repeated in the machine tool 1 using the detection result to identify the end of one cycle. For example, the identification unit 23 may identify the start of one cycle by identifying the time when the spindle motor starts rotating in the second time series data, that is, the time when the current value of the spindle motor changes significantly from 0 to a peak. Note that other methods of identifying the start of one cycle will be described later. The identification unit 23 may also detect the tool switching time by detecting, for example, the time when the tool switching motor rotates in the first time series data, that is, the peak of the current value. The peak of the current value may be detected, for example, when the current value becomes equal to or greater than a predetermined threshold value. Identifying one cycle may be, for example, identifying the start and end of one cycle in the time series data, extracting time series data corresponding to one cycle, or other processing that can identify one cycle in the time series data. It is preferable that the time series data corresponding to one cycle to be extracted is the second time series data, because the time series data used for anomaly detection is usually the second time series data.

[0043] The determination unit 23 may, for example, determine the end point of one cycle, which is the point in time when the count value of the tool switching from the start point of one cycle becomes equal to the number of tool switching in one cycle, in the first time-series data. In this case, it is assumed that the number of tool switching times N in one cycle is held in advance in the information processing device 2. N is usually an integer of 2 or more. The number of tool switching times in one cycle may be set, for example, manually, or may be set automatically by analyzing the NC program executed in the machine tool 1 and counting the number of tool switching codes in one cycle. The analysis of the NC program may be performed in the information processing device 2, for example. In addition, for example, when the number of steps from the start to the end of machining in one cycle is input by an operator of the machine tool 1, the number of steps may be used as the number of tool switching times in one cycle. The number of tool switching times N in one cycle may be set, for example, manually or automatically, and may be referred to as a set value N in the following description. The determination of the end point will be described with reference to FIG. 4. In the time-series data in FIG. 4, N=6. First, the determination unit 23 determines a start time Ts of one cycle in the first and second time series data, as shown in Fig. 4, and counts tool switching, i.e., peaks, in the first time series data along the time series from the start time Ts. If the count value is i, then each peak is counted along the time series as shown in Fig. 4. Then, the determination unit 23 determines the time when the count value i=6 is the end time Te of one cycle. In this way, the determination unit 23 can determine one cycle according to the period P4 from the start time Ts to the end time Te.

[0044] The acquiring unit 24 acquires time series data corresponding to one cycle in the second time series data using the identification result by the identifying unit 23. The acquiring unit 24 may, for example, identify a start time of one cycle in the second time series data, identify a time point when a time corresponding to the length of one cycle identified by the identifying unit 23 has elapsed from the start time as an end time, and extract time series data from the identified start time to the end time from the second time series data to acquire time series data corresponding to one cycle. The acquiring unit 24 may also identify time series data corresponding to one cycle in the second time series data by pattern matching using the time series data corresponding to one cycle identified by the identifying unit 23 as a pattern, and acquire the time series data corresponding to the identified one cycle. When an abnormality related to damage to the tool is detected, it is preferable that the acquiring unit 24 repeatedly acquires time series data corresponding to one cycle in the second time series data along the time series. That is, it is preferable that the acquiring unit 24 acquires time series data for every one cycle in the second time series data. On the other hand, when only an abnormality related to tool wear is detected, the acquisition unit 24 does not need to acquire time series data for every cycle in the second time series data. For example, the time series data may be acquired at intervals. Furthermore, the acquisition unit 24 may specify the tool switching time point for each acquired cycle of time series data by using the first time series data.

[0045] The abnormality detection unit 25 detects an abnormality for each of the time series data of one cycle acquired by the acquisition unit 24. This detection of abnormality is performed for each process of machining. That is, the abnormality detection unit 25 detects an abnormality related to the time series data for each section obtained by dividing one cycle into a plurality of sections for each tool switching timing. In this manner, an abnormality can be detected for each tool used in each process of machining. As the tool switching timing, for example, the tool switching time point detected by the identification unit 23 may be used, or the tool switching time point identified by the acquisition unit 24 using the first time series data for each of the time series data of one cycle may be used. In the former case, for example, the same switching timing may be used for all the time series data of one cycle that is the target of abnormality detection, and in the latter case, for example, the switching timing may be identified for each of the time series data of one cycle that is the target of abnormality detection. In addition, this detection of abnormality may be, for example, detection of an abnormality that is tool wear, or detection of an abnormality that is tool damage, or both.

[0046] When detecting tool wear, the abnormality detection unit 25 may compare the reference time series data of the first cycle in the second time series data with the time series data of each subsequent cycle for each machining step, and detect an abnormality when the difference between the two becomes greater than a threshold. In this case, the reference time series data of the first cycle in the second time series data, i.e., one piece of reference time series data, is used to detect tool wear. When this abnormality is detected for a certain machining step, it means that the tool used in that step is worn out.

[0047] When detecting damage to a tool, the abnormality detection unit 25 may compare the reference time series data for one cycle in the second time series data with the time series data for the next cycle for each machining step, and detect an abnormality when the difference between the two becomes greater than a threshold value. In this case, the reference time series data changes each time an abnormality is detected. In this way, it becomes possible to detect damage to a tool without being affected by tool wear. When this abnormality is detected for a certain machining step, it means that the tool used in that step is damaged.

[0048] The comparison of the two time series data may be performed, for example, by acquiring feature values ​​from each time series data and comparing the acquired feature values. The feature values ​​are not particularly limited, and may be, for example, representative values ​​such as average, median, minimum, and maximum values, statistics such as variance and standard deviation, information indicating the characteristics of the waveform shape of the time series data, or other feature values ​​indicating the characteristics of the time series data.

[0049] The cycle time acquiring unit 26 acquires a cycle time indicating the length of one cycle by using the identification result by the identifying unit 23. The cycle time acquiring unit 26 may acquire the cycle time, which is the temporal length of one cycle, by subtracting the start point of one cycle from the end point of the one cycle identified by the identifying unit 23, for example.

[0050] For example, the output unit 27 may output information indicating one cycle identified by the identification unit 23, for example, the start and end points of one cycle, or may output information regarding the detection of an abnormality when the abnormality detection unit 25 detects the abnormality, or may output the cycle time acquired by the cycle time acquisition unit 26. The output regarding the detection of an abnormality may be, for example, an output of information indicating that an abnormality has been detected, or may be an output of an instruction corresponding to control performed in response to the detection of an abnormality, for example, an instruction to stop the machine tool 1. When the abnormality detection unit 25 detects both an abnormality in tool wear and an abnormality in tool damage, for example, different outputs may be performed depending on the contents of the detected abnormality. For example, when an abnormality in tool wear is detected, information indicating that may be output, and when an abnormality in tool damage is detected, a signal to stop the machine tool 1 may be output to the machine tool 1. When information indicating that an abnormality has been detected is output, for example, information indicating the machining process in which the abnormality was detected, or information indicating the tool corresponding to that process may also be output together. The information indicating the machining process in which the abnormality was detected may be, for example, an ordinal number indicating the order of the machining process in one cycle in which the abnormality was detected.

[0051] Here, this output may be, for example, a display on a display device (e.g., a liquid crystal display or an organic EL display), a transmission to a predetermined device via a communication line, a printing by a printer, an audio output by a speaker, storage on a recording medium, or a transfer to another component. Note that output unit 27 may or may not include a device that performs output (e.g., a display device or a printer). Also, output unit 27 may be realized by hardware, or may be realized by software such as a driver that drives those devices.

[0052] Next, the operation of the information processing device 2 will be described with reference to the flowchart of FIG. (Step S101) The accepting unit 21 determines whether the first and second time series data have been accepted. If the first and second time series data have been accepted, the process proceeds to step S102. If not, the process proceeds to step S103.

[0053] (Step S102) The receiving unit 21 accumulates the received first and second time-series data in the storage unit 22. Then, the process returns to step S101.

[0054] (Step S103) The identification unit 23 judges whether or not to identify one cycle. If one cycle is to be identified, the process proceeds to step S104, and if not, the process proceeds to step S112. Note that the identification unit 23 may judge to identify one cycle after the first and second time series data for a predetermined time or more are accumulated in the storage unit 22. The predetermined time is preferably, for example, a time having a length of one cycle or more.

[0055] (Step S104) The identification unit 23 identifies the start time of one cycle in the first and second time series data. Note that this start time may be determined using only one of the first and second time series data. Also, as an example, this start time may be the start time closest to the start point of the time series data.

[0056] (Step S105) The specification unit 23 sets the count value i to 0.

[0057] (Step S106) The identification unit 23 judges whether or not the next tool switching time point after the i-th tool switching time point has been detected in the first time series data. If it has been detected, the process proceeds to step S107, and if not, the process continues to detect the next tool switching time point along the time series. Here, the 0th tool switching time point is assumed to be the start time of one cycle.

[0058] (Step S107) The specification unit 23 increments the count value i by one.

[0059] (Step S108) The determination unit 23 judges whether the count value i is equal to or greater than the set value N of the number of tool switching times in one cycle. If the count value i is equal to or greater than the set value N, the process proceeds to step S109; otherwise, the process returns to step S106.

[0060] (Step S109) The identification unit 23 identifies the i-th tool switching time as the end time of one cycle. This identification results in one cycle being identified.

[0061] (Step S110) The cycle time acquiring unit 26 acquires the time from the start point to the end point of one cycle identified by the identifying unit 23, that is, the cycle time.

[0062] (Step S111) The output unit 27 outputs the cycle time acquired by the cycle time acquisition unit 26. Then, the process returns to step S101.

[0063] (Step S112) The acquisition unit 24 determines whether or not to detect an abnormality. If an abnormality is to be detected, the process proceeds to step S113; if not, the process returns to step S101. The acquisition unit 24 may determine whether to detect an abnormality at each predetermined period, for example, after one cycle has been specified. The predetermined period may be, for example, the cycle of machining repeated in the machine tool 1. Also, in this embodiment, the case where the acquisition unit 24 determines the timing to detect an abnormality will be mainly described, but the timing to detect an abnormality may also be determined by the abnormality detection unit 25, for example.

[0064] (Step S113) The acquiring unit 24 acquires time series data corresponding to one cycle from the second time series data using the identification result by the identifying unit 23. The acquiring unit 24 may acquire time series data for all one cycle in the second time series data stored in the storage unit 22. That is, the acquiring unit 24 may acquire time series data for one cycle included in the second time series data accepted after the detection of the previous abnormality. The acquired time series data may be accumulated in the storage unit 22, for example. Note that in step S113, if time series data corresponding to one cycle in which no abnormality has yet been detected cannot be acquired from the second time series data, the process may return to step S101.

[0065] (Step S114) The abnormality detection unit 25 judges whether or not there is an abnormality in the acquired time series data for each machining process. If there is an abnormality, the process proceeds to step S115, and if not, the process returns to step S101. The detection of this abnormality may be, for example, detection of tool wear, detection of tool damage, or both. When detecting tool wear, the abnormality detection unit 25 may compare the reference time series data for the first cycle in the second time series data with the time series data for each subsequent cycle for each machining process, and detect an abnormality when the difference between the two becomes greater than a threshold value. When detecting tool damage, the abnormality detection unit 25 may compare the reference time series data for one cycle in the second time series data with the time series data for the next cycle for each machining process, and detect an abnormality when the difference between the two becomes greater than a threshold value.

[0066] (Step S115) Output unit 27 performs output related to the detection of abnormality. Then, the process returns to step S101. When abnormality in wear of the tool is detected, output unit 27 may output, for example, a message that the tool is worn. When breakage of the tool is detected, output unit 27 may output an instruction to machine tool 1 to stop machine tool 1.

[0067] When the information processing device 2 receives the first and second time-series data acquired by the machine tool 1 in real time, the processes of steps S101 and S102 may be performed in parallel with other processes. The order of the processes in the flowchart of Fig. 2 is an example, and the order of the steps may be changed as long as the same results can be obtained. In the flowchart of Fig. 2, the process ends when the power is turned off or an interrupt is issued to end the process.

[0068] Next, the operation of the information processing device 2 according to this embodiment will be described using a specific example. When machining is started in the machine tool 1, the first and second acquisition units 11, 12 acquire first and second time series data, respectively, and transmit both time series data in real time to the information processing device 2. The acceptance unit 21 of the information processing device 2 receives the first and second time series data and accumulates them in the storage unit 22 (steps S101, S102).

[0069] The identifying unit 23 of the information processing device 2 determines to identify one cycle when a predetermined time has elapsed since the start of accumulation of the first and second time-series data (step S103). Note that the predetermined time may be set to a length that is sufficiently longer than the length of one cycle, for example.

[0070] The identifying unit 23 identifies the start time of one cycle by using at least one of the first and second time series data (step S104).

[0071] Next, the determination unit 23 repeatedly performs a process of detecting tool switching time points in the first time series data along the time series from the start of one cycle until the Nth switching time point, which is a set value of the number of tool switching times in one cycle, is detected (steps S105 to S108). Then, when the Nth switching time point is detected, the determination unit 23 determines the Nth switching time point as the end time point of one cycle, and transfers the start time point and the end time point of one cycle to the cycle time acquisition unit 26 (step S109). When the first and second time series data shown in FIG. 4 are stored in the storage unit 22 and N=6, for example, the start time point Ts and the end time point Te of one cycle are determined as shown in FIG. 4.

[0072] When the cycle time acquisition unit 26 receives the start and end points of one cycle, it acquires the cycle time, which is the difference between the two points, and passes it to the acquisition unit 24 and the output unit 27 (step S110). When the cycle time is received, the output unit 27 outputs the cycle time as determined in advance (step S111). In this way, for example, the creator of the NC program executed by the machine tool 1 can know the time for one cycle of machining performed according to the NC program. Furthermore, the acquisition unit 24 stores the received cycle time in the memory unit 22 or another recording medium.

[0073] The acquisition unit 24 also identifies the start time of one cycle using at least one of the first and second time series data stored in the storage unit 22, and when a time corresponding to the cycle time has elapsed from the start time, determines to detect an abnormality, acquires time series data corresponding to one cycle from the second time series data, and identifies the tool switching timing in the acquired time series data using the first time series data, and passes the time series data corresponding to one cycle and the tool switching timing to the abnormality detection unit 25 (steps S112, S113). Note that when acquiring time series data for one cycle for the first time after the first and second time series data start to be accumulated in the storage unit 22, the acquisition unit 24 may acquire all time series data for each cycle stored in the storage unit 22 up to that point in time and pass it to the abnormality detection unit 25.

[0074] When the abnormality detection unit 25 receives one cycle of time series data from the acquisition unit 24, it detects an abnormality. When detecting an abnormality related to wear, the abnormality detection unit 25 compares the reference time series data, which is the time series data of the first one cycle in the second time series data, with the latest one cycle time series data from the second cycle onwards, for each processing step, and detects an abnormality when there is a processing step in which the difference between the two is greater than a threshold value, and does not have to detect an abnormality otherwise. When detecting an abnormality related to breakage, the abnormality detection unit 25 compares the reference time series data, which is the time series data of the Mth one cycle in the second time series data, with the time series data of the M+1th one cycle, for each processing step, and detects an abnormality when there is a processing step in which the difference between the two is greater than a threshold value, and does not have to detect an abnormality otherwise. M is an integer of 1 or more. In addition, the abnormality detection unit 25 may, for example, store in the memory unit 22 the first time series data as reference time series data to be used for detecting an abnormality related to wear, and may also store in the memory unit 22 the time series data of the (M+1)th cycle in which an abnormality related to breakage was determined as reference time series data to be used when detecting the next abnormality related to breakage.

[0075] When at least one of the abnormality of wear and breakage of the tool is detected, the abnormality detection unit 25 passes the information that there is an abnormality of wear or breakage to the output unit 27 (step S114). When the information that there is an abnormality is received, the output unit 27 performs output corresponding to the abnormality (step S115). For example, when the abnormality of wear is detected, the output unit 27 may output the information to the operator of the machine tool 1. The operator who knows about the wear of the tool may, for example, replace the tool of the machine tool 1. Also, for example, when the abnormality of breakage is detected, the output unit 27 may output an instruction to the machine tool 1 to stop the machine tool 1 and output the information that the abnormality of breakage has been detected to the operator of the machine tool 1. By stopping the machine tool 1 in response to the breakage of the tool, for example, it is possible to prevent an unexpected situation from occurring in response to the breakage of the tool. Also, the operator who knows about the breakage of the tool may, for example, replace the tool of the machine tool 1 and resume machining.

[0076] As described above, according to the information processing device 2 of the present embodiment, by counting the tool switching time from the start of one cycle, one cycle can be specified more accurately. In particular, it is possible to avoid specifying a period spanning two cycles with a period P3 having a large time variation therebetween as one cycle, as in the period P2 in FIG. 3B. Therefore, by acquiring time-series data for abnormality detection using the specified one cycle, abnormality detection can be performed with higher accuracy. Also, for example, even when outputting to an operator of a machine tool the number of machining steps in one cycle in which an abnormality was detected, the one cycle from the start to the end of machining recognized by the operator matches the specified one cycle, so that the operator can accurately specify the tool in which the abnormality was detected. Also, the acquired cycle time allows the operator to know the exact time of one cycle, and allows consideration of shortening the cycle time, etc.

[0077] Next, some other examples of the method for identifying the start time of one cycle will be described. First, a method for identifying the start time of one cycle by using the time interval of tool switching in one cycle will be described. In this method, it is assumed that the time interval of tool switching in one cycle, that is, the time of each process in one cycle, is known in advance. For example, as shown in FIG. 5, the times of the first process to the sixth process may be known in advance as 20 seconds, 50 seconds, 85 seconds, 35 seconds, 35 seconds, and 20 seconds. The time of each process may be obtained, for example, by analyzing the NC program, or may be obtained by manually measuring the time of each process when the machine tool 1 is machining the workpiece. In addition, the identification unit 23 detects the time point of tool switching in the first time series data, and identifies the interval between the switching times, that is, the time interval of tool switching. Then, the identification unit 23 identifies a point that matches the known time interval of tool switching in one cycle in the time interval of consecutive multiple tool switchings identified for the first time series data. 5, the first process is from the start of one cycle to the tool switching, and the end of the sixth process does not necessarily coincide with the timing of tool switching, so the time of the first process and the time of the sixth process do not have to be used as the time interval of tool switching. Therefore, the identification unit 23 may identify a time interval of consecutive tool switching identified in the first time series data that matches 50 seconds, 85 seconds, 35 seconds, and 35 seconds excluding the 20 seconds corresponding to the first process and the 20 seconds corresponding to the sixth process, and identify the start time Ts of one cycle that is 20 seconds before the first tool switching time of the identified time interval of consecutive tool switching.

[0078] Here, the case where the start time is specified using the time interval of tool switching corresponding to the processes other than the first process and the last process in one cycle has been described, but this is not necessarily the case. For example, if the time interval of tool switching in one cycle includes a time interval (e.g., a maximum time interval) that is clearly distinguishable from other time intervals, the start time of one cycle may be specified using the time interval and the time from the time interval to the start time. Specifically, in FIG. 5, since the time interval of 85 seconds is clearly distinguishable from other time intervals, the time interval of 85 seconds and a time point 70 seconds or earlier from the beginning of the time interval may be set in advance as the start time of one cycle. Then, the specification unit 23 may specify a time interval of tool switching that matches the time interval of 85 seconds in the first time series data, and specify a time point 70 seconds or earlier from the beginning of the specified time interval as the start time Ts. In this way, the specification of the start time of one cycle may be performed using one or more time intervals of tool switching and a temporal positional relationship between the time interval and the start time of one cycle. The temporal positional relationship may be, for example, a length of time.

[0079] In addition, it is possible that the start time of one cycle cannot be uniquely identified in the first and second time series data, and there are multiple candidates for the start time. As an example, in the case where the time when the spindle motor starts rotating is identified as the start time in the second time series data, when there is a time when the spindle motor stops in the middle of one cycle, that time is also identified as the start time. In this way, when there are multiple candidates for the start time, the identification unit 23 may, for example, identify multiple one-cycle candidates using the multiple candidates for the start time. The identification of the one-cycle candidates may be identified by counting tool switching from the candidate for the start time, as in the above description. In addition, the identification unit 23 may search for time series data that matches the time series data corresponding to the one-cycle candidate in at least one of the first and second time series data for each one-cycle candidate in at least one of the first and second time series data. This process may be performed, for example, by pattern matching using the time series data corresponding to the one-cycle candidate as a pattern. In this pattern matching, for example, time series data that matches the data shape and time length of the time series data that is the pattern may be acquired. In this way, it is preferable that the pattern matching is used to obtain time series data that matches the time series data of the pattern not only in terms of data shape but also in terms of time length. Note that the term "match" may mean, for example, an exact match or the same within a predetermined error range. The identification unit 23 may identify, as one cycle, one cycle candidate in which a predetermined number or more of time series data similar to the time series data corresponding to the one cycle candidate in at least one of the first and second time series data exists in at least one of the first and second time series data.

[0080] The predetermined number may be set to a larger value as the time series data of at least one of the first and second time series data used in the processing is longer. For example, when searching for time series data similar to the time series data corresponding to one cycle candidate in at least one of the first and second time series data including K cycles, the predetermined number may be set to a value close to K, such as K or K-1, which is equal to or smaller than K. K is an integer equal to or larger than 2, and is usually preferably an integer equal to or larger than 3. The processing of searching for time series data similar to the time series data corresponding to one cycle candidate may be performed, for example, in the first time series data, in the second time series data, or in time series data obtained by superimposing the first and second time series data.

[0081] For example, as shown in FIG. 6, when the candidates Ts1 and Ts2 for the start time are specified, a one-cycle candidate corresponding to the period P5 and a one-cycle candidate corresponding to the period P6 are specified according to the candidates. In this case, since the period P5 does not include the period P8 between cycles, there are a plurality of time series data similar to the one-cycle candidate corresponding to the period P5, as in the time series data corresponding to the period P7 in FIG. 6. On the other hand, the period P6 spans two cycles with the period P8 between the cycles in between, and since the period between the cycles varies greatly in time, there is almost no time series data similar to the one-cycle candidate corresponding to the period P6. Therefore, by appropriately setting the predetermined number, it becomes possible to adopt the candidate Ts1 for the start time as the final start time for the first and second time series data shown in FIG. 6.

[0082] In addition, in the present embodiment, the case where the tool is switched to the tool used in the first step of the next cycle at the end of one cycle, that is, the case where the tool is switched at the end of one cycle, has been mainly described, but such a tool switching may not be performed. For example, as shown in FIG. 7, instead of the tool switching at the end of one cycle shown by the dashed line, the tool may be switched at the start of one cycle. In this case, if the end point is set to the point in time when the count value i of the tool switching becomes the set value N, one cycle spanning two cycles with a period between the cycles in between will be identified, resulting in the identification of an inappropriate one cycle. Therefore, when there is a possibility that the tool is switched at the start of one cycle, the identification unit 23 may identify the point Te1 in the first time series data when the count value of the tool switching from the start of the one cycle becomes equal to the number of tool switching in one cycle, and may identify the end point of one cycle that is the last point Te2 at which the end of machining is detected in the second time series data before that point Te1. The last time when the end of machining is detected may be, for example, the last time when the stop of the spindle rotation is detected. FIG. 7 shows this case. The time when the stop of the spindle rotation is detected may be the time when the spindle goes from a rotating state to a stopped state, that is, the start point of the spindle stop period. In the example of FIG. 7, the time point Te2 is specified as the end time, and one cycle corresponding to the period P9 is specified. In this way, the specification unit 23 may specify, for example, the time when the machining immediately before the time when the count value i=N is completed as the end time of one cycle. Note that, as described later, the time when the machining is completed may be, for example, other than the time when the spindle rotation is stopped. Also, even if the tool is switched to the tool used in the first process of the next cycle at the end of one cycle, the specification unit 23 may specify, for example, in the first time series data, the time when the count value of the tool switching from the start of the cycle becomes equal to the number of tool switching in one cycle, and specify, before that time, the last time when the end of machining is detected in the second time series data as the end time of one cycle.

[0083] Also, as shown in FIG. 8, multiple peaks may exist in the first time series data S1 in response to one tool switching. It is assumed that the three peaks shown in FIG. 8 correspond to one tool switching. In this case, if the tool switching is counted for each peak, multiple tool switchings will be counted in response to one tool switching, resulting in inappropriate counting. Therefore, the identification unit 23 may detect only one switching time point in the first time series data during a predetermined period P10 from the start time point T1 of the tool switching. That is, inappropriate counting may be avoided by treating multiple peaks included in the period P10 as corresponding to one tool switching. As an example, the identification unit 23 may detect peaks along the time series in the first time series data, and when a peak at a certain time point T1 is detected, the identification unit 23 may count tool switchings in response to the detection of the peak, and may not detect a new peak during a predetermined period P10 from the time point T1 of the peak. The length of the predetermined period P10 is preferably set to be longer than the maximum value of the time interval between successive peaks during one tool switching and shorter than the minimum value of the time interval between two successive tool switchings. The period P10 may be set to a value between 1 second and 3 seconds, or may be set to 2 seconds, for example. In addition, in the first time series data, when there are multiple peaks corresponding to one tool switching, for example, any time between the time of the first peak and the time of the last peak in the multiple peaks may be set as the end time of one cycle. Specifically, the time of the first peak may be set as the end time, the time of the last peak may be set as the end time, or the time of the peak with the largest amplitude among the multiple peaks may be set as the end time. For example, the same may be done when the acquisition unit 24 identifies the time of tool switching in the first time series data.

[0084] In addition, in the present embodiment, the first and second time series data are mainly the current values ​​of the motors used in the machine tool 1, but this is not essential. The first time series data may be, for example, at least any of the following: current data of a tool switching motor for switching tools in the machine tool 1, torque data of the tool switching motor, acceleration data measured by an acceleration sensor attached to a non-rotating part of the tool switching motor, acoustic data including sounds generated when switching tools, and data indicating the time point of tool switching according to an NC program used to control the machine tool 1. The first time series data may also be other time series data related to tool switching in the machine tool 1, as long as it is possible to detect the time point of tool switching.

[0085] When the first time-series data includes data on the torque of the tool-switching motor, the first acquisition unit 11 may include a torque sensor provided on the rotating shaft of the tool-switching motor. Since the current value and torque of the motor are correlated, the tool switching can be detected using the torque as well as the current value. When the first time-series data includes data on acceleration, the first acquisition unit 11 may include an acceleration sensor attached to a non-rotating part of the tool-switching motor. Since the vibration generated according to the rotation of the tool-switching motor can be detected by the acceleration data, the tool switching can be detected using the acceleration. When the first time-series data includes sound data, the first acquisition unit 11 may include a microphone arranged at a position capable of acquiring the sound generated when the tool is switched. Since the sound generated according to the rotation of the tool-switching motor can be detected by the sound data, the tool switching can be detected using the sound data. Note that data indicating the time point of the tool switching according to the NC program used to control the machine tool 1 will be described later.

[0086] The second time-series data may be, for example, at least any one of data on the current of a spindle motor that rotates a spindle in the machine tool 1, data on the torque of the spindle motor, data on the load applied to a non-rotating object that contacts a rotating object rotated by the spindle measured by a cutting dynamometer when the machine tool 1 processes a workpiece, data on acceleration measured by an acceleration sensor attached to a non-rotating part of the spindle motor, measurement data acquired by an AE sensor (acoustic emission sensor) attached to the non-rotating object, and sound data including the machining sound of the workpiece. The second time-series data may be other time-series data related to the rotation of the spindle in the machine tool 1 as long as it can grasp the rotation status of the spindle.

[0087] When the second time series data includes data on the torque of the spindle motor, the second acquisition unit 12 may include, for example, a torque sensor provided on the rotating shaft of the spindle motor. Since there is a correlation between the current value and the torque of the motor, the rotation status of the spindle can be grasped using the torque as well as the current value. When the second time series data includes data on the load applied to the non-rotating object, the second acquisition unit 12 may include a cutting dynamometer to which a non-rotating object is fixed and which abuts against a rotating object rotated by the spindle. When the machine tool 1 is an NC lathe, for example, the rotating object may be a workpiece and the non-rotating object may be a tool. When the machine tool 1 is a machining center, for example, the rotating object may be a tool and the non-rotating object may be a workpiece. The rotation status of the spindle during machining can be grasped by the data on the load applied to the non-rotating object acquired by the cutting dynamometer. When the second time series data includes data on acceleration, the second acquisition unit 12 may include an acceleration sensor attached to a non-rotating part of the spindle motor. Since the vibration generated according to the rotation of the spindle motor can be detected by the acceleration data, the rotation status of the spindle can be grasped even by using the acceleration. Furthermore, when the second time series data includes measurement data acquired by an AE sensor, the second acquisition unit 12 may include an AE sensor attached to a non-rotating object. The rotation status of the spindle during processing can be grasped by the measurement data acquired by the AE sensor attached to the non-rotating object. Furthermore, when the second time series data includes acoustic data, the second acquisition unit 12 may include a microphone arranged at a position where the processing sound of the workpiece can be acquired. The rotation status of the spindle during processing can be grasped by the acoustic data including the processing sound of the workpiece. Since the rotation status of the spindle can be grasped by using such second time series data related to the rotation of the spindle, an abnormality can be detected by using such second time series data.

[0088] The second time series data used for detecting an abnormality may be, for example, data related to the rotation of a servo motor in the machine tool 1. Therefore, the second time series data used for detecting an abnormality may be, for example, data related to at least one of the rotation of the spindle and the rotation of the servo motor in the machine tool 1. The servo motor may be, for example, a servo motor for moving a workpiece or a tool. The data related to the rotation of the servo motor in the machine tool 1 may be, for example, at least one of data on the current of the servo motor, data on the torque of the servo motor, data on acceleration measured by an acceleration sensor attached to a non-rotating part of the servo motor, and sound data including a sound generated according to the rotation of the servo motor. For example, when the tool is worn, the force for moving the workpiece or the tool during processing becomes larger, and when the tool is broken, the workpiece and the tool do not come into contact with each other, and the force for moving the workpiece or the tool becomes larger. Therefore, an abnormality can also be detected by using the second time series data related to the rotation of the servo motor. Detection of the start point of one cycle and the end point of processing in one cycle using the second time series data related to the rotation of the servo motor in the machine tool 1 may be performed, for example, as follows. As described above, by using the time series data related to the rotation of the spindle in the machine tool 1, it is possible to detect the start point of one cycle and the end point of machining in one cycle. By using the detection time and the time series data related to the rotation of the servo motor in the machine tool 1, which is synchronized with the time series data related to the rotation of the spindle in the machine tool 1, it is possible to specify the start point of one cycle in the time series data related to the rotation of the servo motor and the end point of machining in one cycle. Therefore, by setting information indicating the start point of one cycle and the end point of machining in one cycle in the time series data related to the rotation of the servo motor in the specification unit 23, it becomes possible for the specification unit 23 to specify the start point of one cycle and the end point of machining in one cycle using the second time series data related to the rotation of the servo motor in the machine tool 1.The current data, torque data, acceleration data, and sound data related to the servo motor can be acquired in the same manner as the current data related to the spindle motor, etc. In addition, the second time-series data may be other time-series data as long as it can be used for detecting an abnormality, etc.

[0089] Next, a case will be described in which the first time series data is data indicating a time point of switching a tool according to an NC program used to control the machine tool 1, and the receiving unit 21 also receives third time series data indicating a start time point of one cycle according to the NC program. The NC program used to control the machine tool 1 is, for example, the one shown in FIG. 9, in which % to % correspond to one cycle. The NC program also includes a code "M06 T03" indicating switching to the third tool and a code "M06 T05" indicating switching to the fifth tool. In the NC program shown in FIG. 9, a code "CycleStartPoint" indicating a start time point of one cycle, which does not exist in a normal NC program, is inserted before the code for starting machining. This code indicating a start time point is used only to obtain the start time point of one cycle, and is not used for machining in the machine tool 1.

[0090] When the first and third time-series data are data indicating the time point of tool switching or the start of one cycle according to the NC program used to control the machine tool 1, it is assumed that the correspondence between the operation content of the machine tool 1 and the code included in the NC program corresponding to the operation content can be understood. For example, when the NC program is read and executed line by line in the machine tool 1, the code of the read line is executed, so the time when a certain code is read may be specified as the time when that code is executed. This case will be mainly described here.

[0091] For example, the first acquisition unit 11 may acquire first time series data having a peak at the time when a tool switching code is read in the machine tool 1. Specifically, the first acquisition unit 11 may acquire first time series data S1 shown in Fig. 10 having a peak at the time when the tool switching codes "M06 T03", "M06 T05", etc. of the NC program shown in Fig. 9 are read.

[0092] Furthermore, the third acquisition unit for acquiring the third time series data may acquire time series data having a peak at the time when a code indicating the start point of one cycle is read in the machine tool 1. Specifically, the third acquisition unit may acquire third time series data S3 shown in Fig. 10 having a peak at the time when a code "CycleStartPoint" indicating the start point of one cycle in the NC program shown in Fig. 9 is read. Note that the time when the tool is switched or the start point of one cycle may be indicated by something other than a signal peak, for example.

[0093] Such first and third time series data are passed from the machine tool 1 to the information processing device 2 and accepted by the accepting unit 21. That is, the accepting unit 21 may accept the first time series data including data indicating a time point at which a tool is switched in accordance with an NC program, and may accept the third time series data including data indicating a start time point of one cycle in accordance with an NC program used to control the machine tool 1. In this case, the first to third time series data may be accepted by the accepting unit 21. In addition, it is preferable that the third time series data is also synchronized with the first and second time series data.

[0094] The identifying unit 23 of the information processing device 2 can detect the start time of one cycle or the tool switching time by identifying the positions of peaks in the first and third time series data acquired based on the NC program. In this case, the identifying unit 23 identifies the start time of one cycle using the third time series data. Here, the case where both the first and third time series data indicating the tool switching time and the start time of one cycle, respectively, according to the NC program are received has been described, but this is not necessary. For example, the first time series data may be data indicating the tool switching time according to the NC program, and the third time series data may not be received. For example, the third time series data may be data indicating the start time of one cycle according to the NC program, and the first time series data may be data of the current of a tool switching motor, etc. As described above, the tool switching time may be indicated by something other than the peak of a signal. For example, the first time series data may be a modal signal that rises at the time of tool switching and falls at the end of the machining process using the tool. In this case, the identifying unit 23 may detect the tool switching time point by identifying the rising time point in the first time-series data, for example.

[0095] In the present embodiment, the case where the information processing device 2 acquires time series data for each cycle and detects an abnormality using the data has been described, but this is not necessarily the case. Time series data for each machining step included in one cycle may be acquired and used to detect an abnormality. In this case, the acquisition unit 24 may acquire time series data corresponding to each step included in one cycle in the second time series data. For example, the acquisition unit 24 may acquire time series data corresponding to one cycle from the second time series data, and divide the acquired time series data according to the time point of tool switching to acquire time series data for each machining step. The acquisition unit 24 may also acquire time series data corresponding to each machining step by pattern matching using the time series data of each machining step acquired from one cycle of the second time series data as a pattern. As an example, time series data that is a pattern corresponding to each machining step may be acquired using the time series data corresponding to the first cycle in the second time series data, and time series data corresponding to each subsequent machining step may be acquired by pattern matching using the pattern. In this case, for example, for the second or subsequent cycles, it is possible to detect an abnormality in the machining steps included in the cycle before acquiring the time series data of the cycle. Furthermore, the abnormality detection unit 25 may detect an abnormality for each of the time series data of the machining steps acquired by the acquisition unit 24. The abnormality detection process is as described above, and a detailed description thereof will be omitted.

[0096] In addition, in the present embodiment, a case has been described in which the information processing device 2 detects an abnormality and acquires a cycle time, but this is not necessarily the case. When an abnormality is not detected, the information processing device 2 may not include, for example, the acquisition unit 24 and the abnormality detection unit 25. When a cycle time is not acquired, the information processing device 2 may not include, for example, the cycle time acquisition unit 26. When an abnormality is not detected in the information processing device 2 and the second time series data is not used to identify one cycle, the acceptance unit 21 may not accept, for example, the second time series data.

[0097] In addition, in the above embodiments, each process or function may be realized by centralized processing in a single device or a single system, or may be realized by distributed processing in multiple devices or multiple systems.

[0098] In addition, in the above embodiments, the transfer of information between each component may be performed, for example, by one component outputting information and the other component receiving information if the two components transferring the information are physically different, or, if the two components transferring the information are physically the same, by shifting from a processing phase corresponding to one component to a processing phase corresponding to the other component.

[0099] In the above embodiment, information related to the processing performed by each component, such as information accepted, acquired, selected, generated, transmitted, or received by each component, and information such as thresholds, formulas, and addresses used by each component in processing, may be temporarily or long-term stored in a recording medium (not shown) even if not specified in the above description. Furthermore, each component or a storage unit (not shown) may store information in the recording medium (not shown). Furthermore, each component or a reading unit (not shown) may read information from the recording medium (not shown).

[0100] In the above embodiment, if the information used by each component, such as the thresholds, addresses, and various setting values ​​used by each component in processing, may be changed by the user, the user may be able to change the information as appropriate, even if not specified in the above description. If the information is changeable by the user, the change may be realized, for example, by a reception unit (not shown) that receives a change instruction from the user, and a change unit (not shown) that changes the information in response to the change instruction. The reception unit (not shown) may receive the change instruction from an input device, may receive information transmitted via a communication line, or may receive information read from a predetermined recording medium.

[0101] In addition, in the above embodiment, when two or more components included in the information processing device 2 have a communication device, an input device, etc., the two or more components may physically have a single device, or may have separate devices.

[0102] In the above embodiment, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component may be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. During execution, the program execution unit may execute the program while accessing the storage unit or the recording medium. The software for realizing the information processing device 2 in the above embodiment is a program as follows. That is, this program is a program for causing a computer to execute a step of receiving first time series data related to tool switching in a machine tool, and a step of detecting a time point of tool switching in the first time series data, and using the detection result, counting tool switching from the start point of one cycle of machining repeated in the machine tool to identify the end point of one cycle, thereby identifying one cycle.

[0103] In addition, in the program, the steps of receiving information and outputting information do not include processes that are performed only by hardware, such as processes performed by a modem or interface card in the step of receiving information.

[0104] This program may be executed by being downloaded from a server or the like, or may be executed by reading out a program recorded on a predetermined recording medium (for example, an optical disk such as a CD-ROM, a magnetic disk, a semiconductor memory, etc.). This program may be used as a program constituting a program product.

[0105] Furthermore, the program may be executed by a single computer or a plurality of computers. That is, the program may be executed by centralized processing or distributed processing.

[0106] Fig. 11 is a diagram showing the configuration of a computer system 900 that executes the above program to realize the information processing device 2 according to the above embodiment. In Fig. 11, the computer system 900 includes a computer 901, a keyboard 902, a mouse 903, and a monitor 904. The computer 901 includes a CD-ROM drive 905, an MPU (Micro Processing Unit) 911, a ROM 912 for storing programs such as a boot-up program, a RAM 913 connected to the MPU 911 and temporarily storing instructions of application programs and providing a temporary storage space, a hard disk 914 for storing application programs, system programs, and data, and a bus 915 for connecting the MPU 911, the ROM 912, and the like to each other. The computer 901 may include a network card (not shown) that provides a connection to a LAN, a WAN, or the like.

[0107] A program for causing the computer system 900 to execute the functions of the information processing device 2 according to the above embodiment may be stored on a CD-ROM 921, inserted into the CD-ROM drive 905, and transferred to the hard disk 914. Alternatively, the program may be transmitted to the computer 901 via a network (not shown) and stored on the hard disk 914. The program is loaded into the RAM 913 at the time of execution. The program may be loaded directly from the CD-ROM 921 or the network. The program may also be read into the computer system 900 via another recording medium (e.g., a DVD, etc.) instead of the CD-ROM 921.

[0108] The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 901 to execute the functions of the information processing device 2 according to the above embodiment. The program may include only an instruction portion that calls appropriate functions or modules in a controlled manner to obtain a desired result. How the computer system 900 operates is well known, and a detailed description will be omitted.

[0109] The above-mentioned embodiments are merely examples for specifically implementing the present invention, and are not intended to limit the technical scope of the present invention. The technical scope of the present invention is indicated by the claims, not by the description of the embodiments, and is intended to include modifications within the literal scope of the claims and the scope of equivalent meanings. [Explanation of symbols]

[0110] 1 Machine tools 2. Information processing equipment 21 Reception 22 Memory section 23 Specific section 24 Acquisition Department 25 Anomaly detection section 26 Cycle time acquisition unit 27 Output section

Claims

1. a reception unit that receives first time series data related to tool switching in a machine tool; an identification unit that detects a tool switching point in the first time series data, and uses the detection result to count tool switching from a start point of one cycle of machining repeated in the machine tool and identify an end point of one cycle, thereby identifying one cycle.

2. The information processing device according to claim 1 , wherein the identification unit identifies an end point of one cycle in the first time series data, which is a point at which a count value of tool switching from a start point of one cycle becomes equal to the number of tool switchings in one cycle.

3. The receiving unit also receives second time series data related to at least one of a rotation of a spindle and a rotation of a servo motor in the machine tool, 2. The information processing device according to claim 1, wherein the identification unit identifies an end point of one cycle, which is the last point at which the end of machining is detected in the second time series data, before a point at which a count value of tool switching from a start point of one cycle in the first time series data becomes equal to the number of tool switchings in one cycle.

4. An information processing method performed using a reception unit and an identification unit, The receiving unit receives first time-series data related to tool switching in a machine tool; the identification unit detects a tool switching point in the first time series data, and identifies one cycle by using the detection result to count tool switching from the start of one cycle of machining repeated in the machine tool and identify the end of one cycle.

5. On the computer, receiving first time series data relating to tool switching in a machine tool; a step of detecting a time point at which a tool is switched in the first time series data, and using the detection result to count tool switching from the start of one cycle of machining repeated in the machine tool and identify the end of the cycle, thereby identifying one cycle.

Citation Information

Patent Citations

  • Current measurement system of machine tool and method for the same

    JP2022093204A