This application claims priority to Taiwan Application Serial No. 109136297, filed on Oct. 20, 2020. The entirety of the application is hereby incorporated by reference herein and made a part of this application.
The present disclosure relates to a tool status detection mechanism, and more particularly, to a tool status detection system and a method of tool status detection.
Along with the rapid development of machine tool automation, performing machining operations by inputting related parameters has become a mainstream. Therefore, computer numerical control (CNC) technology has been widely applied in machine tools for machining operations.
Further, along with the development of advanced manufacturing technologies, higher requirements are put forward for the stability and reliability of cutting machining operations. In practice, tools failure often adversely affect the efficiency, accuracy, quality, stability, and reliability of a cutting machining operation. Consequently, it is extremely important to select appropriate cutting parameters in a cutting machining process so as to improve the machining accuracy and quality.
In a conventional cutting machining operation, various cutting tools are usually used for manufacturing a product.
However, after cutting tools machine a large number of identical products on a production line, the cutting tools may get worn out or a mechanical abnormality may occur to the machine tool. On the other hand, since worn tools and the target workpieces are not changed, the worn tools cannot effectively perform a machining operation in practice. Therefore, defects occurring to later processed products cannot be found until the whole batch of products are machined. As such, the defective products have to be scrapped.
Therefore, there is a need to provide a method capable of instantly reflecting a tool status.
In view of the above-described drawbacks, the present disclosure provides a method for detecting tool status of a machine tool equipped with a controller and cutting tools. The method for detecting tool status is executed by a tool status detection system and comprises the steps of: receiving a plurality of manufacturing signals; processing data from the manufacturing signals to organized information; transforming the organized information into a plurality of target features; establishing a tool status classifier to obtain tool status levels given the target features; and adopting tool operating procedures corresponding to the tool status levels.
The present disclosure further provides a system for detecting tool status of a machine tool equipped with a controller and cutting tools. The system for detecting tool status comprises: an organizing portion for receiving a plurality of manufacturing signals and processing data from the plurality of manufacturing signals to organized information; a computing portion communicatively connected to the organizing portion for receiving the organized information, obtaining the target features by transforming the organized information and executing a sequential feature selection, and classifying tool status information given the target features, thereby obtaining tool status levels; and an output portion communicatively connected to the computing portion for receiving the tool status levels and outputting tool treatments corresponding to the tool status levels.
According to the system and the method for detecting tool status of the present disclosure, the target features are selected from the organized information and then used to classify tool status so as to obtain tool status levels for tool operating procedures. Compared with the prior art that needs separate tool operating procedures for different tools on a production line, the present disclosure allows the user to adopt tool treatments corresponding to the obtained tool status levels, thereby preventing defects from occurring to products (or workpieces), which could otherwise cause scrapping of the products.
The following illustrative embodiments are provided to illustrate the present disclosure, these and other advantages and effects can be apparent to those in the art after reading this specification.
It should be noted that all the drawings are not intended to limit the present disclosure. Various modifications and variations can be made without departing from the spirit of the present disclosure. Further, terms such as “first,” “second,” “on,” “a,” etc., are merely for illustrative purposes and should not be construed to limit the scope of the present disclosure.
In an embodiment, the tool status detection system 1 is applied in a CNC machine tool. The machine tool is equipped with an accelerometer (sensor), a programmable logic controller (PLC) and tools disposed on a working platform. The machine tool can further be externally connected to a data acquisition system (DAQ or DAS). The tool status detection system 1 is, for example, standard equipment of the machine tool or a separate computer (such as a remote computer, a personal computer, a tablet or a mobile phone) having functions of computing and displaying detection results.
Further, the tool status detection system 1 can be configured with a collecting portion 13 (or a database) communicatively connected to the organizing portion 10 for collecting external information containing a plurality of manufacturing signals and inputting the plurality of manufacturing signals to the organizing portion 10. For example, the collecting portion 13 can collect information through internal direct transmission, an application program interface (for example, for obtaining internal information of the numerical controller of the machine tool), a PLC for transmitting and temporarily storing internal and external signals of the numerical controller, direct transmission from an external device (for example, coordinate signals transmitted from an encoder, coordinate signals transmitted from an optical ruler, coordinates or NC codes transmitted from a data acquisition device), and so on.
The organizing portion 10 is used to receive a plurality of manufacturing signals and process data from the manufacturing signals (for example, segmenting the manufacturing signals, extracting signal features of the manufacturing signals) to organized information.
In an embodiment, the manufacturing signals are machining data from an operating machine tool, which contain machining information from the controller (the tool information, feeding information, spindle information, machining program information and so on), PLC status from the machine tool, and sensing data from the capturing devices (e.g., accelerometer and DAQ).
Further, the organizing portion 10 can perform an auto-organizing operation to obtain the organized information. The auto-organizing operation is shown in
At steps S20 to S21, the tool status detection system 1 is started and a triggering condition (or trigger) is set in the organizing portion 10.
In an embodiment, a correspondence table of a plurality of NC codes and PLC is added to a NC program of the organizing portion 10 to serve as the triggering condition for organizing the manufacturing signals, where the NC program is a sequential program of machine control instructions of the machine tool. For example, the collecting portion 13 of the tool status detection system 1 reads PLC point address through communication so as to define in the organizing portion 10 a single set of NC codes that control a switch (On/Off) of a single PLC point address, as shown in Table 1.
Therein, the NC codes of the first set are M300 and M301, which control the switch for the PLC point address of R430.0, and the NC codes of the second set are M302 and M303, which control the switch for the PLC point address of R430.1. Thereafter, the defined NC codes (for example, in first box A1 and second boxes A2 of
At step S22, the organizing portion 10 obtains manufacturing signals. In an embodiment, the collecting portion 13 receives a large number of manufacturing signals and input them into the organizing portion 10. The organizing portion 10 obtains manufacturing signals such as machining information from the controller, PLC status from the machine tool and sensing data from the capturing devices (for example, the accelerometer and DAQ).
At step S23, it is determined whether the triggering condition is matched. In an embodiment, the organizing portion 10 determines whether the received machining information and PLC status match the triggering condition. For example, when the current PLC status obtained by the organizing portion 10 contains the PLC point address of R430.0 or R430.1, it means that the current machining information obtained by the organizing portion 10 matches the triggering condition.
Therefore, if the organizing portion 10 determines that the triggering condition is not matched, the process goes back to step S22 for continuously collecting machining information from the controller, PLC status from the machine tool and sensing data from the capturing devices. Otherwise, if the organizing portion 10 determines that the triggering condition is matched, the process goes to step S24.
At step S24, label machining process and tool information. In an embodiment, according to each set of the triggering conditions, the machining information and sensing data are labelled with the machining process and tool information. For example, after the machining information that matches the triggering condition is compared with the corresponding sensing data, the machining information generates multiple segments of recording signals B1, B2 (as shown in
At step S25, the organized information is obtained. In an embodiment, according to the machining process and tool information of the sensing data, a signal feature extraction operation is performed to the high sampling rate sensing data (as shown in
At step S26, the organizing portion 10 can output the organized information.
Therefore, through the design and auto-organizing operation of the organizing portion 10, the machining process and tool information are labelled and segmented and signal features can be extracted so as to achieve the objective of a rapid auto-organizing process (i.e., quick information collection), thus avoiding time-consuming and labor-intensive manual organization of a lot of data.
The computing portion 11 is communicatively connected to the organizing portion 10 for receiving the organized information. Further, the computing portion 11 obtains the target features by transforming the organized information and executing a sequential feature selection so as to classify tool status information given the target features, thereby obtaining tool status levels.
In an embodiment, the computing portion 11 can obtain a plurality of tool status features characterizing less noise by centralizing the organized information, and obtain a plurality of tool status information by standardizing the organized information.
In an embodiment, the computing portion 11 can perform a sequential feature selection so as to obtain the target features. That is, the target features are obtained by transforming the organized information and executing the sequential feature selection for optimizing effectiveness and multicollinearity of the transformed organized information. For example, the computing portion 11 executes the sequential feature selection aiming to eliminate the tool status features characterizing low effectiveness and high multicollinearity from the tool status features characterizing less noise by considering the tool status information, thereby obtaining the target features characterizing less noise, high effectiveness, and low multicollinearity. The sequential feature selection is shown in
At steps S30 and S31, the computing portion 11 is started to obtain the organized information (that is, organized manufacturing signals) and compute tool status features with less noise by centralizing the organized information. In an embodiment, according to the machining process and tool information labels in the organized information, the computing portion 11 computes sensing data signal features in the organized information in segments (measures of central tendencies of the curve diagrams of
On the other hand, after the computing portion 11 is started and obtains the organized information (that is, organized manufacturing signals), it can also compute the tool status information by standardizing the organized information, as shown in step S32. In an embodiment, according to the machining process and tool information labels in the organized information, the computing portion 11 computes the tool status information of the tool information in the organized information in segments (as shown in
At step S33, a 1st time highly related feature selecting is performed. In an embodiment, the computing portion 11 refers to the tool status information as a segmenting basis so as to compute the measures of central tendencies of the less noise tool status features in each segment and further select the less noise tool status features having a monotonic increasing characteristic (monotonic increasing curves of 36 curve diagrams of
At step S34, a 2nd time highly related feature selecting is performed. In an embodiment, in the 1st time highly related tool status features, the tool status information is referred to as a segmenting basis. In each 1st time highly related tool status feature, a measure of central tendency ratio of extreme two segments of the less noise tool status feature is computed (for example,
At step S35, a low multicollinearity feature selecting is performed. In an embodiment, standardized tool status information is obtained (e.g., percentages on the bars of
At step S36, the computing portion 11 can output a plurality of target features characterizing less noise, high effectiveness and low multicollinearity characteristics.
Therefore, through the feature selection of the computing portion 11, according to the tool status information, effectiveness, multicollinearity and other characteristics, most of the organized information are eliminated and only a small number of the tool status features are kept to serve as target features, thereby greatly reducing the computing time (that is, the number of subsequent computing items is reduced, the computing speed is increased, and the loading of further computing operation is reduced). Therefore, in subsequent computing and processing of the target features, the present disclosure avoids the problem of large consumption of computing power and time due to a large amount of data, which could otherwise make it difficult to instantly obtain the tool status levels, and finally achieves the optimum target features.
Further, the computing portion 11 can use the target features to establish a tool status classifier for performing a tool status classifying operation, thereby obtaining tool status levels. For example, the computing portion 11 uses machine learning techniques to perform the tool status classifying operation so as to obtain the tool status levels. The tool status classifying operation performed by machining learning is shown in
At step S40, the computing portion 11 is started.
At step S41, the target features are served as inputs of a tool status classifier and the tool status classifier is used to infer an optimal correlation between the target features and the tool status information for classification.
In an embodiment, the tool status classifier is modeled with a plurality of classifying algorithms of machine learning techniques, for example, using decision tree or random forest algorithm. For example, at step S411, the target features (e.g., the first 12 columns of Table 2) are defined as the inputs of the tool status classifier. At step S412, the tool status information (e.g., the last column of Table 2) are defined as the outputs of the tool status classifier. At step S413, the tool status classifier is modeled through modeling training, testing and validation according to machining learning manner.
Further, the decision tree uses Breiman et al., 1984 (for example, the first to ninth tool status features of
At step S42, after the target features are inputted into the tool status classifier, the tool status levels are instantly computed based on the target features by using the tool status classifier.
At step S43, the tool status levels are outputted with the tool status classifier.
Therefore, the tool status classifying operation of the computing portion 11 can rapidly compute through the machine learning techniques so as to instantly perform tool status classification for each tool online. As such, when the tools get worn out or cracked, these events can be known instantly.
The output portion 12 is communicatively connected to the computing portion 11 for receiving the tool status levels and outputs tool treatments corresponding to the tool status levels, thereby determining the use of the tools.
In an embodiment, the tool operating procedures of the output portion 12 is shown in
At steps S50 to S51, the output portion 12 is started to receive the tool status levels. At step S52, the tool treatments are determined. In an embodiment, the tool treatments are determined by setting the corresponding tool status levels (as shown in the following Table 3).
At step S53, the tool treatments are outputted to an external device, such as a screen, a computer picture, a flashing light, a buzzer, an alarm bell, an automatic tool changer (ATC), a factory zone management system or other warning mechanism (for example, forced shutdown) and so on.
In an embodiment, the output portion 12 generates tool treatments through the tool operating procedures. Therein, the tool treatments can be displayed on the screen or computer picture with a virtualized tool status diagram (as shown in
At step S54, the tool status detection system 1 completes the tool operating procedures.
Therefore, the tool operating procedures of the output portion 12 cause the tool status levels to match the corresponding tool treatment, which is further outputted to the external device. As such, when the tools wear out or crack (even before the tools break), the tools can be instantly handled so as to avoid material waste and even to prevent production line from being delayed due to tool-related issues.
Referring to
In an embodiment, high sampling rate (4 to 25600 samples every second) manufacturing signals are obtained from 273 (out of 364) times identical machining process. After the auto-organizing operation, the required organized information is obtained (containing 936 tool status features and tool status information).
Then, at step S61a, the organized information is received so as for the computing portion 11 to perform a sequential feature selection, thereby obtaining target features.
In an embodiment, according to the 936 tool status features in combination with the tool status information of the organized information, 12 tool status features indicating tool status are selected to serve as the target features. For example, the target features (as shown in Table 4) are 12 tool status features of “hz102.4_X,” “hz115.2_X,” “hz288_X,” “hz153.6_Y,” “hz179.2_Y,” “hz236.8_Y,” “hz352_Y,” “hz64_Y,” “hz185.6_Z,” “hz352_Z,” “hz486.4_Z” and“hz70.4_Z,” wherein X, Y and Z represent axial directions defined by the machining platform of the machine tool, and a tool status feature represents an intensity value of a specific frequency band (hz) in a specific axial direction.
Then, at step S61b, the target features are received, and the tool status classifier of the computing portion 11 is used to perform a tool status classifying operation so as to obtain tool status levels.
In an embodiment, after the target features (e.g., the 12 tool status features) are inputted into the tool status classifier, the tool status classifier instantly computes the tool status levels. For example, after the target features are inputted into the tool status classifier (Table 4), the tool status classifier performs calculation (for example, a part of the calculation process is shown in
On other hand, the accuracy of the tool status classifier can be tested through a testing group. For example, the manufacturing signals obtained from the other 91 (out of 364) times identical machining process are manually organized to obtain the true status (e.g., tool status information of
Therefore, in the row-wise comparison of Level 1, there are 17 times accuracy and 5 times inaccuracy; in the row-wise comparison of Level 2, there are 16 times accuracy and twice inaccuracy; in the row-wise comparison of Level 3, there are 11 times accuracy and once inaccuracy; in the row-wise comparison of Level 4, there are 15 times accuracy and 3 times inaccuracy; and in the row-wise comparison of Level 5, there are 14 times accuracy and 7 times inaccuracy. Therefore, the tool status classifier has an accuracy rate of 80.22% (73/91).
Thereafter, at step S62, the tool status levels are received so as for the output portion 12 to adopt tool operating procedures, thereby outputting the tool treatments.
Therefore, according to the built-in level table, the user can continue to use or degrade the tools. As such, when tools get worn out or cracked, the tools can be instantly handled.
According to the tool status detection system 1 and the method of tool status detection of the present disclosure, the tool status can be instantly detected through the design of the computing portion 11. Therefore, on the production line, the user can assure tools have ideal status for performing machining operation according to the tool status levels of each tool so as to prevent defects from occurring to products (or materials), which could otherwise cause scrapping of the products. Hence, tools in poor condition can be found before machining and immediately replaced with tools having ideal status, thereby preventing the need to suspend operation of the machine tool during mass production and consequently improving the production efficiency.
The above-described descriptions of the detailed embodiments are to illustrate the preferred implementation according to the present disclosure, and it is not to limit the scope of the present disclosure. Accordingly, all modifications and variations completed by those with ordinary skill in the art should fall within the scope of present disclosure defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
109136297 | Oct 2020 | TW | national |