Diagnostic device and diagnostic method

The diagnostic device identifies tool switching times in machine tools with automatic changers by measuring vibration/sound and using learning models to diagnose tool conditions, overcoming the limitations of existing detection methods.

JP2024117106AInactive Publication Date: 2024-08-29MURATA MASCH LTD

Patent Information

Application Number
JP2023023004
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2024-08-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing abnormality sign detection devices for machine tools with automatic tool changers fail to accurately detect the timing of tool switching, preventing individual diagnosis of multiple tools.

Method used

A diagnostic device that measures vibration or sound during machining, identifies tool switching timing based on increased measurement data, and constructs a learning model to diagnose tool conditions using feature extraction and machine learning.

Benefits of technology

Enables accurate identification of tool switching times and individual diagnosis of multiple tools, even without control signals from the processing machine, allowing for effective tool condition assessment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024117106000001_ABST
    Figure 2024117106000001_ABST
Patent Text Reader

Abstract

To provide a diagnostic device or a diagnostic method which diagnoses the states of each tool, for a work machine performing machine work while switching the tools.SOLUTION: A diagnostic device 20 diagnoses the state of a tool 14 for a machining center 10. The diagnostic device 20 includes a vibration sensor 29, a specification part 22, and a diagnostic part 25. The vibration sensor 29 measures at least one of vibration and sound when the machining center 10 processes workpiece 100. The specification part 22 specifies switching timing when the tool 14 is switched in the machining center 10, on the basis of the magnitude of a rise degree of measurement data measured by the vibration sensor 29. The diagnostic part 25 individually diagnoses the states of the plurality of tools 14, on the basis of the measurement data of a time zone cut out using the switching timing specified by the specification part 22.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a diagnostic device and a diagnostic method for diagnosing the condition of a tool used by a processing machine. [Background technology]

[0002] Patent Document 1 discloses an abnormality sign detection device that detects signs of abnormality in a tool used in machining. The abnormality sign detection device includes a data collection unit, a model construction unit, and a sign detection unit. The data collection unit collects vibration data of the tool during machining. The model construction unit learns the vibration data collected during a predetermined period at the start of machining and constructs a judgment model. The sign detection unit judges whether the vibration data is within a normal range based on the vibration data of the tool to be inspected and the judgment model. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 7000560 Summary of the Invention [Problem to be solved by the invention]

[0004] The machine tool in Patent Document 1 is equipped with an automatic tool changer, and can automatically switch tools depending on the machining content. However, the abnormality sign detection device in Patent Document 1 cannot detect the timing when the machine tool's tools are automatically switched. Therefore, the abnormality sign detection device in Patent Document 1 cannot detect abnormalities in multiple tools individually.

[0005] The present invention has been made in view of the above circumstances, and a main object of the present invention is to provide a diagnostic device or a diagnostic method for diagnosing the condition of each tool in a work machine that performs machining while switching between a plurality of tools.

[0006] The problem to be solved by the present invention has been described above. Next, the means for solving this problem and the effects thereof will be described.

[0007] According to a first aspect of the present invention, there is provided a diagnostic device having the following configuration. That is, the diagnostic device diagnoses the condition of a tool used by a processing machine that processes a workpiece while switching the tool. The diagnostic device includes a measurement unit, an identification unit, and a diagnosis unit. The measurement unit measures at least one of vibration and sound generated when the processing machine processes a workpiece. The identification unit identifies the switching timing at which the tool was switched in the processing machine based on the degree of increase in the measurement data measured by the measurement unit. The diagnosis unit individually diagnoses the conditions of the multiple tools based on the measurement data for a time period extracted using the switching timing identified by the identification unit.

[0008] Since the degree of increase in the measurement data becomes large at the timing of tool switching, the switching timing can be identified based on the measurement data. As a result, even in a case where information indicating the switching timing cannot be obtained from the processing machine, the conditions of multiple tools can be individually diagnosed.

[0009] In the diagnostic device, it is preferable that the identification unit identifies the switching timing as the timing at which the measurement data exceeds a threshold value that is greater than the upper limit of the specified range after the measurement data has remained within the specified range for a specified period of time.

[0010] This makes it possible to more accurately identify the timing at which the tool is switched.

[0011] The above-mentioned diagnostic device is preferably configured as follows. That is, the diagnostic device includes a feature extraction unit and a learning control unit. The feature extraction unit extracts learning features included in learning partial data, which is data from the measurement data obtained after a predetermined time has elapsed since the switching timing of the target tool. The learning control unit forms a learning model for diagnosing the condition of the target tool by using a learning data set, which is a collection of the learning features extracted by the feature extraction unit for the target tool.

[0012] This allows a good learning model to be obtained.

[0013] The diagnostic device is preferably configured as follows: the feature extraction unit extracts diagnostic features included in diagnostic partial data, which is data obtained a predetermined time after the switching timing of the target tool, from the measurement data. The diagnostic unit calculates an evaluation value corresponding to the diagnostic features extracted by the feature extraction unit, based on the learning model that has been learned by the learning control unit.

[0014] This allows the evaluation value to be calculated using the learning model.

[0015] The diagnostic device is preferably configured as follows: the processing machine is provided with an automatic tool changer that changes tools, and the processing machine is a machining center that rotates the tool and brings the tool into contact with the workpiece to process the workpiece.

[0016] This makes it possible to diagnose the condition of each tool used in the machining center.

[0017] The above-mentioned diagnostic device is preferably configured as follows: the processing machine is provided with an automatic tool changer that changes tools, and the processing machine is a lathe that rotates the workpiece and brings the tool into contact with the workpiece to process the workpiece.

[0018] This makes it possible to diagnose the condition of each tool used in the lathe.

[0019] According to a second aspect of the present invention, the following diagnostic method is provided. That is, the diagnostic method diagnoses the state of a tool used by a processing machine that processes a workpiece while switching the tool. The diagnostic method includes a measurement step, a specification step, and a diagnosis step. In the measurement step, at least one of vibration and sound generated when the processing machine processes a workpiece is measured. In the specification step, the switching timing at which the tool was switched in the processing machine is specified based on the degree of increase in the measurement data measured in the measurement step. In the diagnosis step, the state of the tool is diagnosed based on the measurement data for a time period extracted using the switching timing specified in the specification step.

[0020] Since the degree of increase in the measurement data becomes large at the timing of tool switching, the switching timing can be identified based on the measurement data. As a result, even in a case where information indicating the switching timing cannot be obtained from the processing machine, the conditions of multiple tools can be individually diagnosed. [Brief description of the drawings]

[0021] [Figure 1] 1 is a schematic diagram of a machining center and a block diagram of a diagnostic device. [Diagram 2] FIG. 4 is an explanatory diagram showing a flow of processing of measurement data. [Diagram 3] Graph showing measurement data. [Figure 4] 1 is a flowchart showing a process of acquiring a learning dataset. [Diagram 5] 1 is a flowchart showing a process of performing machine learning. [Figure 6] 5 is a flowchart showing a process for determining a state of a tool. [Figure 7] 11 is a graph showing the change in evaluation value over time with the use of a tool. [Figure 8] 1 is a schematic diagram of a lathe and a block diagram of a diagnostic device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] Next, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a schematic diagram of a machining center (machine) 10 and a block diagram of a diagnosis device 20.

[0023] The machining center 10 machines a workpiece 100 while switching the tools to be used. As shown in Fig. 1, the machining center 10 includes a table 11, a movable part 12, a spindle part 13, a tool 14, an automatic tool changer 15, an operation panel 16, and a control device 17.

[0024] The table 11 is a member on which the workpiece 100 is placed. The movable part 12 is disposed at a position opposite the table 11. The movable part 12 is movable in three axial directions using a motor (not shown) as a power source. A spindle part 13 is attached to the movable part 12. The spindle part 13 is configured to allow a tool 14 to be attached and detached. The spindle part 13 rotates the tool 14 using power transmitted from the motor (not shown). In the machining center 10 of this embodiment, the axial direction of the spindle part 13 is parallel to the vertical direction. However, the axial direction of the spindle part 13 may be parallel to the horizontal direction.

[0025] The automatic tool changer 15 includes a magazine and a change arm. The magazine stores a plurality of types of tools 14. The automatic tool changer 15 drives the magazine to move a specified tool 14 to the vicinity of the spindle unit 13. The change arm performs the operations of removing the tool 14 attached to the spindle unit 13 and attaching the tool 14 to the spindle unit 13. In this way, the automatic tool changer 15 can switch the tool 14 attached to the spindle unit 13. Note that the automatic tool changer 15 is not limited to the magazine type, and may be a turret type.

[0026] The operation panel 16 includes keys and a display. An operator can start machining or perform settings related to machining by operating the keys. The display shows information instructed by the operator. The control device 17 includes a calculation device such as a CPU, and a storage device for storing data. A machining program is stored in the storage device. The calculation device executes the machining program, whereby the workpiece 100 is machined using the tools 14 according to the contents specified in the machining program. Particularly in this embodiment, the workpiece 100 is machined while switching the tools 14 using the automatic tool changer 15.

[0027] Moreover, in this embodiment, the state of the tool 14 is diagnosed based on vibrations generated while machining the workpiece 100. Specifically, a vibration sensor (measurement unit) 29 is attached to the spindle unit 13. The vibration sensor 29 is, for example, a piezoelectric type, but may be of a different type. Vibrations generated when the tool 14 comes into contact with the workpiece 100 to machine the workpiece 100 are transmitted to the spindle unit 13. Therefore, the vibration of interest can be acquired using the vibration sensor 29 attached to the spindle unit 13. Hereinafter, the data measured and acquired by the vibration sensor 29 and the data obtained by AD converting the data are referred to as measurement data.

[0028] Instead of vibration, the condition of the tool 14 may be diagnosed based on sound generated during machining of the workpiece 100. Since sound is generated due to vibration, there is a high correlation between vibration and sound. Therefore, the diagnosis method using vibration described below can be applied to sound as it is. In this case, an acoustic sensor is used instead of a vibration sensor. Also, the condition of the tool 14 may be determined based on both vibration and sound.

[0029] The measurement data measured and acquired by the vibration sensor 29 is output via a wired cable or wireless communication. The diagnostic device 20 also includes a computer equipped with an arithmetic device such as a CPU, a storage device such as a HDD, an SDD, or a flash memory, and a RAM. The arithmetic device reads out a program stored in the storage device into the RAM and executes it, whereby the diagnostic device 20 can execute various processes related to the diagnosis of the tool 14. The diagnostic device 20 in this embodiment is a single computer, but the diagnostic device 20 may be configured by a plurality of computers working together.

[0030] As shown in Fig. 1, the diagnostic device 20 includes, in addition to the above-mentioned vibration sensor 29, an AD conversion unit 21, an identification unit 22, a feature extraction unit 23, a learning control unit 24, and a diagnostic unit 25. As shown in Fig. 2, the AD conversion unit 21 converts analog-format measurement data acquired by the vibration sensor 29 into digital format. The identification unit 22, the feature extraction unit 23, the learning control unit 24, and the diagnostic unit 25 are named according to functions realized by the diagnostic device 20 executing a program.

[0031] The identification unit 22 generates partial learning data or partial diagnostic data by extracting data for a predetermined period from the digital measurement data. This will be described in detail below with reference to Fig. 3. Fig. 3 is a graph showing the measurement data.

[0032] The horizontal axis of the graph in Fig. 3 is time, and the vertical axis is vibration acceleration. In the following, when the vibration acceleration is said to be small or large, it means that the absolute value of the vibration acceleration is small or large. Time T1 is the start time of machining using tool A, time T2 is the start time of machining using tool B, and time T3 is the start time of machining using tool C.

[0033] In this embodiment, the diagnostic device 20 does not receive a control signal (specifically, a signal indicating the switching timing of the tool 14) from the machining center 10. Note that some machining centers 10 do not have a function of outputting a control signal to the outside, so it may be difficult to receive a control signal from the machining center 10. Even if the machining center 10 has a function of outputting a control signal to the outside, if the manufacturers of the machining center 10 and the diagnostic device 20 are different, the signal format cannot be identified and the control signal may not be properly processed. In this regard, the diagnostic device 20 of this embodiment identifies the switching timing of the tool 14 based on the measurement data without using a control signal. Therefore, the diagnostic device 20 can be easily applied to various types of machining centers 10. Furthermore, it is also easy to newly apply the diagnostic device 20 to a machining center 10 that has already been installed.

[0034] The inventors of the present application have found that the degree of increase in vibration acceleration increases when the tool 14 is switched by analyzing the measurement data. For example, in the graph of FIG. 3, the vibration acceleration increases sharply at time T1, time T2, and time T3. For example, when machining the workpiece 100 using the tool A, the tool A is first brought into contact with the workpiece 100. At this time, machining is performed on the surface of the unmachined workpiece 100, so the workpiece 100 is likely to vibrate significantly. In the second and subsequent machining operations using the tool A, additional machining is performed on the already machined surface, so the vibration of the workpiece 100 tends to be smaller than the first time. Then, the machining center 10 switches from the tool A to the tool B. During the time when the tool A is switched to the tool B, no machining is performed on the workpiece 100, so the vibration acceleration tends to be smaller. Then, the machining center 10 brings the tool B into contact with the workpiece 100. At this time, a new type of machining (different from the machining using the tool A) is performed on the workpiece 100, so the tool 14 is likely to vibrate significantly. In the second and subsequent machining operations using tool B, the same type of machining is performed on the already machined surface, so the vibration of tool 14 tends to be smaller than in the first machining operation.

[0035] That is, by utilizing the fact that the vibration acceleration when the tool 14 is replaced is small and the vibration acceleration when the tool 14 first comes into contact with the workpiece 100 after being replaced is large, in other words, based on the degree of increase in the measurement data, the identifying unit 22 of the diagnosis device 20 identifies the timing of switching the tool 14. Specifically, the identifying unit 22 determines that the tool 14 has been switched when the following Condition 1 and Condition 2 are satisfied. Condition 1: The vibration acceleration remains within a specified range for a specified period of time. Condition 2: After condition 1 is met, the vibration acceleration exceeds the threshold.

[0036] Here, the predetermined range is a range smaller than the vibration acceleration in the state where the tool 14 is in contact with the workpiece 100. The predetermined range is experimentally determined and stored in advance in the diagnosis device 20. The predetermined period is a minimum period required for replacing the tool 14. The predetermined period is experimentally determined and stored in advance in the diagnosis device 20. The threshold value is a value larger than the vibration acceleration in the state where the tool 14 is in contact with the workpiece 100 for the second or subsequent time, and smaller than the vibration acceleration in the state where the tool 14 is in contact with the workpiece 100 for the first time. Since the vibration acceleration can be positive or negative, a positive upper threshold value and a negative lower threshold value are actually set. Note that only one of the upper threshold value and the lower threshold value may be used.

[0037] In this embodiment, a common predetermined range, a predetermined period, and a threshold value are used for all the tools 14. Alternatively, for example, in a case where the magnitude of vibration acceleration generated by each tool 14 significantly differs, a different predetermined range, a different predetermined period, or a threshold value may be used for each tool 14.

[0038] Furthermore, if the timing for switching the tool 14 can be accurately identified, the above condition 1 may be omitted. Furthermore, instead of the value of the vibration acceleration, the amount of change per unit time of the vibration acceleration may be calculated, and the timing for switching the tool 14 may be identified based on whether or not the amount of change exceeds a threshold value.

[0039] The identifying unit 22 performs the above-mentioned process to identify the switching timing of the tool 14. After that, the identifying unit 22 cuts out the measurement data based on the switching timing. Specifically, the diagnostic device 20 stores, for the tool A, a time T1s from the time T1, which is the switching timing, to the start of cutting out the measurement data, and stores a time T1e from the time T1s to the end of cutting out the measurement data. The time T1s is information for defining the start point of cutting out the measurement data, and the time T1e is information for defining the time width of cutting out the measurement data. Therefore, the identifying unit 22 can cut out the measurement data for a predetermined cutting period for the tool A based on the identified time T1. The measurement data cut out in this manner is the learning partial data or the diagnosis partial data for the tool A.

[0040] The time T1s and the time T1e are specified so that an appropriate cut-out period can be set to diagnose the state of the tool A. For example, the time T1s and the time T1e are set so that the period during which the tool A and the workpiece 100 are in contact with each other becomes the cut-out period.

[0041] Similarly, the diagnosis device 20 stores the time T2s and the time T2e for the tool B. Therefore, based on the identified time T2, it is possible to extract measurement data for a predetermined extraction period for the tool B (the same applies to the tool C).

[0042] As a result, the identifying unit 22 can extract the measurement data for the extraction period for each tool 14 based on the measurement data.

[0043] Note that, instead of the method of storing the time T1s and the time T1e, another method may be used to specify the cut-out period. For example, typical measurement data (hereinafter, reference data) acquired during the machining period of the tool A is stored in advance in the diagnosis device 20. The cut-out period is set in the reference data. The specification unit 22 compares and matches the measurement data acquired by the vibration sensor 29 with the reference data, and aligns the time axes of the measurement data and the reference data. Thereafter, the time zone corresponding to the cut-out period of the reference data is set as the cut-out period of the measurement data. In this manner, the measurement data for the cut-out period can be cut out for each tool 14.

[0044] The feature extraction unit 23 acquires a frequency spectrum included in the learning partial data or diagnostic partial data cut out by the identification unit 22. Specifically, the feature extraction unit 23 executes a discrete Fourier transform process on the learning partial data or diagnostic partial data cut out by the identification unit 22. This results in a frequency spectrum that represents the learning partial data or diagnostic partial data as a relationship between the frequency and the intensity of a signal that oscillates at that frequency. In this embodiment, this frequency spectrum is used as a feature (learning feature or diagnostic feature). In detail, the feature is the signal intensity for each frequency component included in the frequency spectrum. Appropriate smoothing is performed on the frequency spectrum. There are various smoothing methods, but one example is a method of convolution integration of a Gaussian filter.

[0045] The learning control unit 24 forms a learning model by machine learning a large number of frequency spectra input from the feature extraction unit 23. In this embodiment, the learning model is a function that inputs a frequency spectrum and outputs an evaluation value. The machine learning performed by the learning control unit 24 will be described in detail later.

[0046] The diagnosis unit 25 uses the formed learning model to calculate an evaluation value from the diagnostic features input from the feature extraction unit 23. This evaluation value is based on machine learning and can be called a machine learning evaluation value. The evaluation value obtained from the learning model is used to diagnose the state of the tool 14. The diagnosis performed by the diagnosis unit 25 will be described in detail later.

[0047] The construction of the learning model will be described in detail below. Fig. 4 is a flowchart showing the process of acquiring a learning dataset. Fig. 5 is a flowchart showing the process of performing machine learning.

[0048] The learning model is constructed prior to the actual diagnosis of the tool 14. First, the diagnosis device 20 collects a learning data set for the learning control unit 24 to form the learning model by the process shown in FIG.

[0049] First, the vibration sensor 29 acquires measurement data when the tool is in a normal state (S101). The measurement data acquired here is data acquired during a series of machining operations performed on one workpiece 100 while switching the tool 14. In addition, the measurement data is converted from analog to digital format by the AD conversion unit 21 as described above.

[0050] Here, a learning model is formed for each of all tools 14 used in a series of machining operations. The learning control unit 24 determines the first tool 14 for which a learning model is to be formed (S102).

[0051] Next, the identification unit 22 performs the above-mentioned processing to extract partial learning data of the target tool 14 from the measurement data (S103). The feature extraction unit 23 extracts learning features (frequency spectrum) from the partial learning data extracted by the identification unit 22 (S104). The learning control unit 24 adds the learning features extracted by the feature extraction unit 23 to a learning dataset (S105). The learning dataset is a dataset composed of a plurality of learning features, and is stored in a storage device of the diagnostic device 20. However, the learning dataset may be stored in a storage device external to the diagnostic device 20.

[0052] Next, the learning control unit 24 determines whether or not the processing for all the tools 14 has been completed (S106). For example, if the addition of the learning feature for the tool A has been completed but the addition of the learning feature for the tool B has not been completed, the learning control unit 24 determines that the processing for all the tools 14 has not been completed. If the processing for all the tools 14 has not been completed, the learning control unit 24 switches the target tool 14 (S107) and performs the processing from step S103 to step S105 again for the tool 14 after the switch.

[0053] When the processing for all the tools 14 is completed, the learning control unit 24 judges whether or not a sufficient number of learning features have been collected (S108). The judgment of whether or not the number is sufficient can be made based on, for example, whether or not the number is greater than a threshold value. When the learning control unit 24 judges that a sufficient number of learning features have not been collected to form a learning model, the learning control unit 24 performs the same processing on the workpiece 100 again and performs the processing of steps S101 to S107 again. When the learning control unit 24 judges that a sufficient number of learning features have been collected to form a learning model, the work of collecting the learning dataset ends.

[0054] Next, the diagnostic device 20 uses the obtained learning data set to perform machine learning by the learning control unit 24 through the process shown in Fig. 5. The process in Fig. 5 corresponds to the training phase of machine learning.

[0055] First, the learning control unit 24 of the diagnosing device 20 appropriately initializes (S201) parameters of a discriminant for discriminating the state of the tool 14. In this embodiment, the discriminant is expressed as follows.

number

[0056] In the above formula, f(x) is the discriminant, which corresponds to the learning model of this embodiment. x, which is the input to the discriminant f, is an N-dimensional vector representing the input frequency spectrum. In this embodiment, N means the number of frequency components when the frequency spectrum is represented by the signal strength of each of a plurality of frequency components. The output of the discriminant f is a scalar value called an evaluation value, which will be described in detail later.

[0057] K(xi,x) is a known kernel function of one-class SVM. The kernel function is a mapping function to a high-dimensional space such that the closer the frequency spectrum is to the origin, the more outliers it becomes. In one-class SVM, a hyperplane that is the maximum distance from the origin is determined in the mapping to this high-dimensional space. This hyperplane is the criterion for determining outliers. In this embodiment, a Gaussian kernel is used as the kernel function, but the kernel function is not limited to this.

[0058] αi, xi, and ρ are parameters to be machine-learned. In this embodiment, forming a learning model corresponds to obtaining optimal values ​​of αi, xi, and ρ to determine a discriminant. In step S201, these parameters are initialized. The values ​​used for initialization (initial values ​​of parameters) can be, for example, random values. The parameters other than the above, σ, are called hyperparameters and are appropriately determined by the designer.

[0059] Next, the learning control unit 24 extracts one frequency spectrum included in the learning data set, and substitutes it into the discriminant f in the form of an N-dimensional vector x to obtain a value f(x) (S202). Then, αi, xi, and ρ are adjusted so that the obtained value f(x) approaches 0 (S203). The processes of steps S202 and S203 are repeated for all frequency spectra in the learning data set (S204). This completes one epoch of learning. An epoch refers to one time of learning the learning data included in the learning data set.

[0060] The processes in steps S202 to S204 are further repeated an appropriate number of times (S205). This realizes learning for a plurality of epochs. By repeating learning an appropriate number of times for one learning data set, a learning model with good performance can be obtained.

[0061] 5, the values ​​of the parameters αi, xi, and ρ are obtained, and the parameter values ​​are stored in the storage unit of the diagnostic device 20. The above-mentioned discriminant f into which the values ​​of the parameters αi, xi, and ρ are substituted represents a trained model. Therefore, the obtained values ​​of the parameters αi, xi, and ρ themselves can be considered to be essentially a trained model.

[0062] In outlier detection using one-class SVM, if the value of f(x) is 0 or positive, it means that x is not an outlier. If the value of f(x) is negative, it means that x is an outlier, and the smaller the value of f(x), the greater the degree of deviation of the value. The diagnosis unit 25 of this embodiment diagnoses whether the tool 14 is normal or abnormal by utilizing the fact that the frequency spectrum when an abnormality occurs in the tool 14 is an outlier relative to the frequency spectrum when it is normal.

[0063] When actually carrying out a diagnosis, the process shown in Figure 6 is carried out. The process in Figure 6 corresponds to the inference phase of machine learning.

[0064] First, the vibration sensor 29 acquires measurement data during machining of the workpiece 100 by the machining center 10 (S301). In this embodiment, after acquiring measurement data of a series of machining operations for one workpiece 100, diagnosis of the state of each tool 14 is performed. However, diagnosis of the state of each tool 14 may be performed in parallel with machining of the workpiece 100 by the machining center 10. In addition, the measurement data is converted from analog format to digital format by the AD conversion unit 21 as described above.

[0065] Next, the diagnosis unit 25 determines the first tool 14 to be determined as a target for state judgment (S302). After that, the identification unit 22 performs the above-mentioned processing to extract diagnostic partial data of the target tool 14 from the measurement data (S303). The feature extraction unit 23 extracts diagnostic features (frequency spectrum) from the diagnostic partial data extracted by the identification unit 22 (S304).

[0066] Next, the diagnosis unit 25 inputs the frequency spectrum obtained in step S304 into a discriminant to calculate an evaluation value (S305). At this time, the parameters αi, xi, and ρ of the discriminant are the parameters obtained by the process in Fig. 5. Therefore, the discriminant used in step S305 is synonymous with the learned learning model.

[0067] Next, the diagnosing unit 25 judges whether the calculated evaluation value is less than a threshold value v1 (S306). The threshold value v1 can be obtained by, for example, actually performing an operation test of the tool 14 after completing the training phase of FIG. 5 in the learning model (discriminant). FIG. 7 is a graph showing a change in the evaluation value over time with the use of the tool 14. As shown in FIG. 7, the evaluation value decreases with the use of the tool 14. The evaluation value at the boundary between a state in which the tool 14 is abnormal and a state in which the tool 14 is normal is the threshold value v1. The threshold value v1 is, for example, a value that is larger than the evaluation value when the tool 14 is broken by a margin. If the evaluation value is less than the threshold value v1, the diagnosing unit 25 determines that the state of the target tool 14 is abnormal (S307). If the evaluation value is equal to or greater than the threshold value v1, the diagnosing unit 25 determines that the state of the target tool 14 is normal (S308).

[0068] Next, the diagnosing unit 25 judges whether the processing for all the tools 14 has been completed (S309). All the tools 14 refer to all the tools 14 used in a series of machining processes. For example, in a situation where a series of machining processes are performed using the tools A and B, if the diagnosis of the state of the tool A has been completed and the diagnosis of the state of the tool B has not been completed, the diagnosing unit 25 judges that the processing for all the tools 14 has not been completed. If the processing for all the tools 14 has not been completed, the learning control unit 24 switches the target tool 14 (S310) and performs the processing from step S303 to step S308 again for the tool 14 after the switching. If the diagnosing unit 25 judges that the diagnosis of the state of all the tools 14 has been performed, the diagnosing unit 25 ends the diagnosis of the state of the tool 14.

[0069] The diagnostic device 20 may notify the result of the diagnosis for each tool 14. The notification target is, for example, an operator or manager of the machining center 10. The notification method may be to display the diagnosis result on a display of the diagnostic device 20, to display the diagnosis result on a terminal owned by the operator or manager, or to display the diagnosis result on a display of the machining center 10.

[0070] Next, a modification of the above embodiment will be described with reference to Fig. 8. Fig. 8 is a schematic diagram of a lathe 30 and a block diagram of the diagnosis device 20.

[0071] In this modification, the diagnosis target is different from that of the above embodiment. The lathe 30 processes the workpiece 100 by rotating the workpiece 100 and bringing the tool 14 into contact with the workpiece 100. The lathe 30 includes a support unit 31, a spindle unit 32, the tool 14, a tool stand 33, an automatic tool changer 34, and an operation panel 35.

[0072] The support section 31 rotatably supports the spindle section 32. The workpiece 100 can be attached and detached to the spindle section 32. The spindle section 32 rotates the workpiece 100 using power transmitted from a motor (not shown). The tool table 33 can advance and retreat relative to the spindle section 32. The tool table 33 has a tool 14, and machines the workpiece 100 by bringing the tool into contact with the workpiece 100. The automatic tool changer 34 has the same configuration as the automatic tool changer 15 described above. The operation panel 35 has the same configuration as the operation panel 16 described above.

[0073] In this modification, vibration sensor 29 is attached to support portion 31. This is because support portion 31 supports spindle portion 32 and can measure vibrations caused by contact between workpiece 100 and tool 14. Furthermore, support portion 31 does not rotate integrally with spindle portion 32 and therefore does not measure vibrations caused by rotation. Note that the attachment position of vibration sensor 29 is one example, and it may be attached to spindle portion 32 or tool stand 33.

[0074] In this modified example, the condition of each tool 14 can be diagnosed by performing the same processing as in the above embodiment.

[0075] As described above, the diagnostic device 20 diagnoses the state of the tool 14 for the machining center 10 (or the lathe 30). The diagnostic device 20 includes a vibration sensor 29, an identification unit 22, and a diagnostic unit 25. The vibration sensor 29 measures at least one of vibration and sound when the machining center 10 processes the workpiece 100. The identification unit 22 identifies the switching timing at which the tool 14 was switched in the machining center 10 based on the magnitude of the increase in the measurement data measured by the vibration sensor 29. The diagnostic unit 25 individually diagnoses the states of the multiple tools 14 based on the measurement data for the time period extracted using the switching timing identified by the identification unit 22. The above is feature 1.

[0076] As a result, the degree of increase in the measurement data increases at the switching timing when the tool 14 is switched, and the switching timing can be identified based on the measurement data. As a result, even in a situation where information indicating the switching timing cannot be obtained from the machining center 10, the states of the multiple tools 14 can be diagnosed individually.

[0077] In the diagnostic device 20 of this embodiment, the identifying unit 22 identifies the timing at which the measurement data exceeds a threshold value that is greater than the upper limit of the predetermined range after the measurement data has remained within the predetermined range for a predetermined period as the switching timing. This is characteristic 2.

[0078] This makes it possible to more accurately identify the timing at which the tool 14 is switched.

[0079] The diagnosis device 20 of this embodiment includes a feature extraction unit 23 and a learning control unit 24. The feature extraction unit 23 extracts learning features included in learning partial data, which is data from the measurement data obtained after a predetermined time has elapsed since the switching timing of the target tool 14. The learning control unit 24 forms a learning model for diagnosing the state of the tool 14 by using a learning data set, which is a collection of learning features extracted by the feature extraction unit 23 for the target tool 14. This is Feature 3.

[0080] This allows a good learning model to be obtained.

[0081] In the diagnosis device 20 of this embodiment, the feature extraction unit 23 extracts diagnostic features included in diagnostic partial data, which is data obtained a predetermined time after the switching timing of the target tool 14, from among the measurement data. The diagnosis unit 25 calculates an evaluation value corresponding to the diagnostic features extracted by the feature extraction unit 23, based on a learning model learned by the learning control unit 24. This is Feature 4.

[0082] This allows the evaluation value to be calculated using the learning model.

[0083] In the diagnosis device 20 of this embodiment, the machining center 10 includes an automatic tool changer 15 that changes the tool 14. The machining center 10 rotates the tool 14 and brings the tool 14 into contact with the workpiece 100 to machine the workpiece 100. This is characteristic 5.

[0084] This allows the condition of each tool 14 used in the machining center 10 to be diagnosed.

[0085] In the diagnostic device 20 of this modified example, the lathe 30 includes an automatic tool changer 34 that performs an operation of changing the tool 14. The lathe 30 machines the workpiece 100 by bringing the tool 14 into contact with the workpiece 100 while rotating the workpiece 100. This is characteristic 6.

[0086] This allows the condition of each tool 14 used in the lathe 30 to be diagnosed.

[0087] The above-mentioned features 1 to 6 can be appropriately combined as long as no contradiction occurs. For example, feature N (N=1, 2, . . . , 6) can be appropriately combined with at least one of features 1 to N-1.

[0088] The preferred embodiment and modifications of the present invention have been described above, but the above configurations can be modified, for example, as follows.

[0089] In the above embodiment, the learning control unit 24 and the diagnosis unit 25 are provided in one diagnosis device 20, but they may be provided in different devices. For example, it is possible to take out only the learning control unit 24 in FIG. 3 and make it a device separate from the diagnosis device 20.

[0090] The flowcharts shown in the above embodiments are merely examples, and some processes may be omitted, the contents of some processes may be changed, or new processes may be added.

[0091] Although the machining center 10 and lathe 30 have been taken as examples of processing machines in the above description, the present invention can also be applied to other processing machines. [Explanation of symbols]

[0092] 10 Machining center (machining machine) 20 Diagnostic Equipment 21 AD conversion section 22 Specific section 23 Feature Extraction Unit 24 Learning control section 25 Diagnostic Department 29 Vibration sensor (measurement part) 30 Lathe (machine)

Claims

1. A diagnostic device for diagnosing a state of a tool in a processing machine that processes a workpiece while switching the tool to be used, A measurement unit that measures at least one of vibration and sound generated when the processing machine processes a workpiece; an identification unit that identifies a switching timing at which the tool was switched in the processing machine based on a degree of increase in the measurement data measured by the measurement unit; a diagnosis unit that individually diagnoses states of the plurality of tools based on the measurement data of a time period extracted using the switching timing identified by the identification unit; A diagnostic device comprising:

2. The diagnostic device according to claim 1, The diagnostic device is characterized in that the identification unit identifies the switching timing as the timing when the measurement data exceeds a threshold value that is greater than the upper limit of a specified range after the measurement data has remained within the specified range for a specified period of time.

3. The diagnostic device according to claim 1, a feature extraction unit that extracts learning features included in learning partial data, which is data obtained after a predetermined time has elapsed since the switching timing of the tool to be processed, from the measurement data; a learning control unit that forms a learning model for diagnosing a state of the target tool by using a learning data set that is a set of the learning features extracted by the feature extraction unit for the target tool; and A diagnostic device comprising:

4. The diagnostic device according to claim 3, the feature extraction unit extracts diagnostic features included in diagnostic partial data, which is data obtained after a predetermined time has elapsed since the switching timing of the tool to be processed, from the measurement data; The diagnostic unit calculates an evaluation value corresponding to the diagnostic feature extracted by the feature extraction unit based on the learning model trained by the learning control unit.

5. The diagnostic device according to claim 1, The processing machine includes an automatic tool changer that changes tools, The diagnostic device is characterized in that the processing machine is a machining center that rotates the tool and brings the tool into contact with the workpiece to process the workpiece.

6. The diagnostic device according to claim 1, The processing machine includes an automatic tool changer that changes tools, The diagnostic device is characterized in that the processing machine is a lathe that processes the workpiece by rotating the workpiece and bringing the tool into contact with the workpiece.

7. A diagnostic method for diagnosing a state of a tool in a processing machine that processes a workpiece while switching the tool to be used, comprising the steps of: a measuring step of measuring at least one of vibration and sound generated when the processing machine processes a workpiece; a determination step of determining a switching timing at which the tool was switched in the processing machine based on the degree of increase in the measurement data measured in the measurement step; a diagnosing step of diagnosing a state of the tool based on the measurement data for a time period extracted using the switching timing identified in the identifying step; A diagnostic method comprising the steps of:

Citation Information

Patent Citations

  • Anomaly detection device and machine tool

    JP7000560B2

Cited By

  • Data storage system and data storage method

    WO2026049042A1