Inspection device and machine learning method

By using machine learning methods in inspection devices on manufacturing sites to generate and evaluate learning models, it solves the problem of unsatisfactory defective product shipment rates and re-inspection rates in visual inspection, improves inspection accuracy and reliability, and ensures product quality.

CN110895716BActive Publication Date: 2024-10-29FANUC LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN201910863635.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-12
Publication Date
2024-10-29
Estimated Expiration
2039-09-12

AI Technical Summary

Technical Problem

In the visual inspection of manufacturing sites, existing technology cannot effectively meet the requirements of defective product shipment rate and re-inspection rate, resulting in inaccurate classification of good products and defective products, affecting yield and product quality.

Method used

By introducing machine learning methods into the inspection device, state data and label data are used to generate learning models, and through comparison of learning model evaluation indicators and inspection indicators, operators are allowed to select a learning model that meets the required standards to ensure classification accuracy.

Benefits of technology

It makes it easier to select a learning model that meets on-site requirements in manufacturing sites, improves the accuracy and reliability of visual inspection, and reduces the defective product shipment rate and re-inspection rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110895716B_ABST
    Figure CN110895716B_ABST
Patent Text Reader

Abstract

The present invention provides an inspection device and a machine learning method. The inspection device comprises: a machine learning device that performs machine learning based on state data obtained from an inspection object and label data indicating an inspection result related to the inspection object, thereby generating a learning model; a learning model evaluation index calculation unit that calculates an evaluation index used in the evaluation of the learning model related to the learning model generated by the machine learning device, namely, a learning model evaluation index; an inspection index acquisition unit that acquires an inspection index used in the inspection; and a learning model selection unit that can compare and display the learning model evaluation index and the inspection index for the learning model generated by the machine learning device, accepts the selection of the learning model by the operator, and outputs the result of the selection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an inspection device and a machine learning method. Background Art

[0002] In the past, workers visually confirmed the appearance of products produced at the site of the manufacturing industry such as factories, and thus performed appearance inspections, that is, classified good products and defective products with damage or defects. In such appearance inspections, due to the different experience of each worker and the different judgment criteria, or the inspection is performed in a state of lack of concentration due to physical changes, it is sometimes impossible to maintain constant inspection accuracy for these reasons. In this case, good products are sometimes removed from the production line as defective products. Therefore, in most sites, products that are judged as defective and temporarily removed from the production line are reconfirmed by another inspection person. The products judged as good products as a result of this confirmation are returned to the production line again. In this way, it is possible to prevent the yield from decreasing. For the same reason, there are also cases where the workpiece judged as a good product by the worker is actually a defective product. In this case, the defective products will be shipped mixed with the good products. Therefore, in the manufacturing industry, various countermeasures are taken to try to reduce the defective rate (defective product shipment rate) contained in the shipped products.

[0003] Generally, when automating the appearance inspection at the manufacturing site, it is important to suppress two indicators to a low level. One is the above-mentioned "defective product shipment rate", and the second is the "re-inspection rate". The re-inspection rate is the ratio of the number of products removed from the production line as defective products to the number of products manufactured by the production line. That is, suppressing the re-inspection rate to a low level means reducing the workload of the confirmation operation, which is used to re-confirm whether there are products that should be good products mixed in the products removed from the production line as defective products. These indicators depend on the number of defective products relative to the total number of inspection objects manufactured ("production defective rate"). Therefore, if the "production defective rate" of a certain production line is known, it is sufficient to construct an inspection device that can check whether the "defective product shipment rate" (limit defective product shipment rate) as a limit and the "re-inspection rate" as a limit (limit re-inspection rate indicating the ratio of inspection objects excluded by inspection in the total number of inspection objects) are met.

[0004] On the other hand, as an attempt to improve the accuracy of the automated appearance inspection, the appearance of the product is photographed by a photographing unit, and the product is classified based on the photographed image. In addition, a mechanical appearance inspection is performed to classify good and defective products based on the photographed image (for example, Japanese Patent Publication No. 2015-021756, Japanese Patent Publication No. 2005-052926, and Japanese Patent Publication No. 2013-140090). In such a mechanical appearance inspection, feature points are first extracted from a pre-prepared reference image. Then, the feature points extracted from the reference image are compared with the feature points extracted from the photographed image of the product. Finally, the product is classified and selected based on the comparison results. In addition, examples of introducing machine learning have been added to such mechanical appearance inspections (for example, Japanese Patent Publication No. 2017-049974).

[0005] Generally, in machine learning, especially in deep learning using a neural network with more than three layers, a learning model is generated in a learning cycle called iteration or epoch. In addition, a learning model is generated each time a certain number of cycles are calculated. This is due to the nature of deep learning that the quality of the learning model does not get better everywhere as learning progresses. That is, sometimes a learning model that has been learned for more than a certain number of cycles becomes an over-learned state. A learning model in this state cannot give a correct result for unknown data. Therefore, in deep learning, several learning models are generated during the learning process, and evaluations are performed on each model. And the best learning model is selected from the evaluated learning models. In the evaluation of the learning model, values ​​such as "loss" (the error between the output value of the neural network and the correct answer given by the training data) or "accuracy" (the correct answer rate of the output value of the neural network) are used during learning. In addition, "precision" (the proportion of actually correct things predicted to be correct) or "recall" (the proportion of correctly discovered things among things that should be discovered) when evaluating the verification data is sometimes used.

[0006] However, when machine learning is used in visual inspections at manufacturing sites, the learning model needs to meet the evaluation criteria (user requirements) used on site, such as the above-mentioned defective shipment rate and re-inspection rate. That is, even if the evaluation criteria of a general learning model are used to determine whether the learning result is good or not, it is not known whether the evaluation criteria required on site are met. For example, even if one of the indicators during learning, namely "loss", is small, it is not limited to the expected defective shipment rate that can be achieved through the learning model. That is, no method has been proposed so far to easily grasp or calculate what the value of the above-mentioned "loss" or "accuracy" is, so that the "defective shipment rate" or "re-inspection rate" meets the conditions on site.

[0007] Therefore, an object of the present disclosure is to provide an inspection device and a machine learning method that allow a user on site to easily select a learning model that meets the required standards. Summary of the invention

[0008] In the present disclosure, the following structure is introduced into the inspection device to solve the above-mentioned problem, namely, the quality of the learning model is judged based on the relationship between the index value used to evaluate the performance of the learning model and the index value required for the inspection device on site, and the learning model is selected based on the judgment result.

[0009] Furthermore, in one embodiment of the present invention, an inspection device for inspecting an inspection object includes: a machine learning device that performs machine learning based on status data obtained from the inspection object and label data representing inspection results related to the inspection object, thereby generating a learning model; a learning model evaluation index calculation unit that calculates an evaluation index used in the evaluation of the learning model related to the learning model generated by the above-mentioned machine learning device, namely, a learning model evaluation index; an inspection index acquisition unit that acquires the inspection index used in the above-mentioned inspection; and a learning model selection unit that can comparably display the above-mentioned learning model evaluation index and the above-mentioned inspection index for the learning model generated by the above-mentioned machine learning device, accept the selection of a learning model by an operator, and output the result of the selection.

[0010] Furthermore, another embodiment of the present invention is a machine learning method, which comprises: a first step of generating a learning model by performing machine learning based on status data obtained from an inspection object and label data representing inspection results related to the inspection object; a second step of calculating an evaluation index used in the evaluation of the learning model related to the learning model generated in the above-mentioned first step, namely, a learning model evaluation index; a third step of obtaining the inspection index used in the above-mentioned inspection; and a fourth step of comparably displaying the above-mentioned learning model evaluation index and the above-mentioned inspection index with respect to the learning model generated in the above-mentioned first step, accepting a selection of a learning model by an operator, and outputting a result of the selection.

[0011] Through the present disclosure, it is possible to determine the evaluation of the learning model based on the required standard determined as the inspection indicator. Therefore, during the learning process of the machine learning device, even on-site operators who do not have knowledge related to machine learning can easily determine whether learning that meets the required standard determined as the currently set inspection indicator has been performed, and can easily select an appropriate learning model. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The above and other objects and features of the present disclosure will become clear by describing the following embodiments with reference to the accompanying drawings. In these drawings:

[0013] Figure 1 This is a schematic hardware configuration diagram of an inspection device according to one embodiment.

[0014] Figure 2 This is a schematic functional block diagram of an inspection device according to one embodiment.

[0015] Figure 3 An example of a ROC curve is shown.

[0016] Figure 4 It shows the relationship between the ROC curve and the limit defective shipment rate and the limit re-inspection rate.

[0017] Figure 5 This shows an example of a learning model selection screen.

[0018] Figure 6 Another example of the learning model selection screen is shown. DETAILED DESCRIPTION

[0019] Embodiments of the present disclosure will be described below with reference to the drawings.

[0020] Figure 1 1 is a schematic hardware structure diagram of an inspection device according to an embodiment of the present disclosure. The inspection device 1 of this embodiment is installed in a computer installed at a product inspection site of a factory, for example. In addition, the inspection device 1 may also be installed as a unit computer, a host computer, an edge computer, a cloud server, or other computer connected to a computer installed at a product inspection site of a factory via a network. Figure 1 An example is shown in which the inspection device 1 is installed in a computer installed at a product inspection site in a factory.

[0021] The CPU (Central Processing Unit) 11 of the inspection device 1 of the present embodiment is a processor that controls the inspection device 1 as a whole. The CPU 11 reads out a system program stored in a ROM (Read Only Memory) 12 connected via a bus 22. The CPU 11 controls the entire inspection device 1 according to the system program. Temporary calculation data and display data for display on the display device 70 are stored in the RAM (Random Access Memory) 13. In addition, various data input by the operator via the input device 71 are stored in the RAM 13 via the interface 19.

[0022] The non-volatile memory 14 is composed of, for example, an SRAM (Static Random Access Memory) or an SSD (Solid State Drive) supported by a battery not shown. The non-volatile memory 14 is a memory that maintains a storage state even if the power supply of the inspection device 1 is cut off. Data and programs input via the input device 71 are stored in the non-volatile memory 14. In addition, image data of the inspection object captured by the imaging sensor 3 is stored in the non-volatile memory 14 via the interface 12. The data and programs stored in the non-volatile memory 14 can be expanded in the RAM 13 when in use. In addition, a system program for performing inspection processing and a system program for executing other required processing are pre-written in the ROM 12.

[0023] The photographing sensor 3 is, for example, an electronic camera having a photographing element such as a CCD (Charge Coupled Device). The photographing sensor 3 is a well-known light-receiving device, which has the function of detecting a two-dimensional image or a distance image on a photographing surface (CCD array surface) by photographing. The photographing sensor 3 is, for example, mounted on a manipulator of a robot not shown in the figure. The photographing sensor 3 is moved by the robot to a photographing position for photographing the inspection object. The photographing sensor 3 transmits the image data obtained by photographing the inspection object to the CPU 11 via the interface 20. The photographing sensor 3 can, for example, be fixedly set at a predetermined position. At this time, the inspection object grasped by the manipulator of the robot is moved to a position where it can be photographed by the photographing sensor 3. Thus, the photographing sensor 3 can photograph the inspection object. The control of photographing the inspection object by the photographing sensor 3 can be controlled by executing a program by the inspection device 1, or by a robot controller that controls the robot or by control from other devices.

[0024] The interface 17 is an interface for connecting the inspection device 1 to a wired / wireless network 7. The network 7 connects computers 5 such as personal computers, cell computers, edge computers, and host computers installed together with machine tools installed in a factory. The inspection device 1 and the computer 5 exchange information with each other via the network 7.

[0025] The interface 23 is an interface for connecting the bus 22 of the inspection device 1 and the machine learning device 300. In the machine learning device 300, a processor 301 for controlling the entire machine learning device 300, a ROM 302 storing a system program, etc., a RAM 303 for temporary storage in various processes related to machine learning, and a non-volatile memory 304 for storing learning models, etc. are connected via a bus 305. The machine learning device 300 observes various information that can be obtained by the inspection device 1 via the interface 23. In addition, the inspection device 1 performs subsequent processing based on the estimation of the inspection result related to the inspection object output from the machine learning device 300.

[0026] Figure 2 This is a schematic functional block diagram of the inspection device 1 according to one embodiment. Figure 1 The CPU 11 of the inspection device 1 and the processor 301 of the machine learning device 300 execute their respective system programs to control the operations of the inspection device 1 and the machine learning device 300, thereby achieving Figure 2 The individual functions of the functional blocks shown.

[0027] The inspection device 1 of this embodiment includes a data acquisition unit 100, a preprocessing unit 110, a learning model evaluation index calculation unit 120, an inspection index acquisition unit 130, and a learning model selection unit 140. The machine learning device 300 included in the inspection device 1 includes a learning unit 310 and an estimation unit 320. In addition, a learning data storage unit 200 for storing data used for learning and estimation by the machine learning device 300 is provided in the non-volatile memory 14. A learning model storage unit 330 for storing a learning model constructed by machine learning performed by the learning unit 310 is provided in the non-volatile memory 304 of the machine learning device 300.

[0028] The data acquisition unit 100 is a functional unit that acquires various data input from the imaging sensor 3, the input device 71, and other computers 5. For example, the data acquisition unit 100 acquires image data of the inspection object captured by the imaging sensor 3, and stores it in the learning data storage unit 200. In addition, the data acquisition unit 100 acquires various data such as label data indicating the result obtained by the operator visually inspecting the inspection object, and learning data (image data of the inspection object and labels of the inspection result of the inspection object) acquired from other computers 5, and stores them in the learning data storage unit 200. The data acquisition unit 100 can acquire data from an external storage device (not shown).

[0029] The preprocessing unit 110 generates a set of state data S and label data L used in the learning of the machine learning device 300, that is, training data T, based on the learning data stored in the learning data storage unit 200. The preprocessing unit 110 converts (digitizes, standardizes, samples, etc.) the acquired data into a unified form for processing in the machine learning device 300, thereby generating the state data S and label data L.

[0030] The state data S generated by the preprocessing unit 110 includes at least inspection object image data S1 obtained by photographing the inspection object. The inspection object image data S1 may be, for example, array data of pixel values ​​of pixels constituting an image obtained by photographing the inspection object.

[0031] The label data L generated by the preprocessing unit 110 includes at least inspection result data L1 including a label of an inspection result of the inspection object. The inspection result data L1 may be, for example, a label indicating a result obtained by a worker visually inspecting the inspection object.

[0032] The learning unit 310 performs supervised learning using the state data S and label data L generated by the preprocessing unit 110. The learning unit 310 is a functional unit that generates (learns) a learning model that learns the inspection result of the inspection object relative to the image data of the inspection object. The learning unit 310 of the present embodiment can be configured, for example, to perform supervised learning using a neural network as a learning model. In such a configuration, the learning model can be a neural network having three layers: an input layer, an intermediate layer, and an output layer. In addition, the learning model can also be a neural network with more than three layers. That is, the learning unit 310 can use a deep learning method. More efficient learning and inference are performed by using deep learning. The learning model generated by the learning unit 310 is stored in a learning model storage unit 330 provided in the non-volatile memory 304. In addition, the learning model is used in the inference processing of inferring the inspection result based on the image data of the inspection object performed by the inference unit 320.

[0033] The estimation unit 320 estimates the inspection result of the inspection object using the learning model stored in the learning model storage unit 330 based on the state data S input from the preprocessing unit 110. In the estimation unit 320, the state data S (inspection object image data S1) input from the preprocessing unit 110 is input as input data to the learning model (with determined parameters) generated by the learning unit 310 through supervised learning. Thus, the inspection result of the inspection object is estimated (calculated). For example, the inspection result of the inspection object estimated by the estimation unit 320 is output to the display device 70 via the interface 18. In addition, the inspection result of the inspection object can be output to other computers 5 such as a host computer and a cloud computer via the network 7 for use.

[0034] The learning model evaluation index calculation unit 120 is a functional unit that calculates a learning model evaluation index for evaluating a learning model stored in the learning model storage unit 330. For example, the learning model evaluation index calculation unit 120 performs ROC (Receiver Operating Characteristic) analysis on the learning model stored in the learning model storage unit 330 and generates a ROC curve as a learning model evaluation index. Figure 3 In the ROC curve, the vertical axis is the true positive rate (the probability of correctly predicting a positive result), and the horizontal axis is the false positive rate (the probability of incorrectly predicting a negative result as a positive result). The ROC curve is a curve drawn when the threshold of the output value of the learning model that presumes the test object to be positive is changed when a certain learning model is used for testing ( Figure 3 The learning model evaluation index calculation unit 120 can evaluate the learning model using the learning data (state data S and label data L) that are not used for learning the learning model among the learning data stored in the learning data storage unit 200. In addition, in this embodiment, an example using the ROC curve is shown, but in the inspection device 1, an index for evaluating the learning model other than the ROC curve can also be used.

[0035] The learning model evaluation index calculation unit 120 can evaluate the learning model each time the learning unit 310 performs learning for a predetermined number of times. In addition, the learning model evaluation index calculation unit 120 can back up the evaluated learning model and its evaluation results in the learning model storage unit 330. For example, when it is pre-set to evaluate the learning model for every 1000 learning cycles, the learning model evaluation index calculation unit 120 calculates the learning model evaluation index every 1000 learning cycles when the learning cycle is performed for 1000 times, 2000 times, 3000 times, etc. The learning model evaluation index calculation unit 120 associates the learning model and the learning model evaluation index at each time point, and stores them in the learning model storage unit 330 (different from the learning model that continues to learn).

[0036] The inspection index acquisition unit 130 is a functional unit that acquires inspection indexes used at the inspection site of the inspection device 1. The inspection index acquisition unit 130 can acquire, for example, the value of the inspection index input by the operator via the input device 71. The inspection index acquisition unit 130 can acquire the inspection index from a computer 5 such as a host computer that manages information related to the production plan of the factory via the network 7. Examples of the inspection index acquired by the inspection index acquisition unit 130 include, for example, a limit defective shipment rate and a limit re-inspection rate.

[0037] The learning model selection unit 140 is a functional unit that displays the learning model evaluation index and the inspection index of each learning model on the display device 70 in a comparable manner based on the learning model evaluation index calculated by the learning model evaluation index calculation unit 120 and the inspection index obtained by the inspection index acquisition unit 130, so that the operator can select the learning model used in the inspection. The learning model selection unit 140 displays the learning model evaluation index and the inspection index related to each learning model on the display device 70 in a comparable manner based on the preset index value comparison display format. In addition, the learning model selection unit 140 selects the learning model selected by the operator through the input device 71 with reference to the learning model evaluation index and the inspection index related to the learning model displayed on the display device 70 as the learning model used in the inspection. The learning model selection unit 140 stores the selected learning model in the learning model storage unit 330. In addition, the learning model selection unit 140 displays and outputs the selection result on the display device 70, or outputs it to other computers 5 such as a host computer and a cloud computer via the network 7.

[0038] The display processing of the learning model selection unit 140 will be described with reference to a case where a ROC curve is used as a learning model evaluation index and a limit defective shipment rate and a limit re-inspection rate are used as inspection indexes. Figure 4 It means that for the ROC curve, the limit lines that meet the limit defective shipment rate and the limit re-inspection rate are drawn. Figure 4 In the figure, the dashed line drawn with a bold line is a dashed line that draws a value calculated based on the limit defective shipment rate by the following formula (1) on the graph. The area above the dashed line represents an area that satisfies the limit defective shipment rate. In addition, the manufacturing defect rate is set to the manufacturing defect rate known in advance based on past statistics, etc.

[0039]

[0040] On the other hand, Figure 4 In the figure, the dotted line drawn with a bold line is a dotted line that draws a value calculated based on the limit re-inspection rate by the following formula (2) on the graph, and the area on the left side of the dotted line represents an area that satisfies the limit re-inspection rate. In addition, the manufacturing defect rate is set to the manufacturing defect rate known in advance based on past statistics, etc.

[0041]

[0042] That is, if the ROC curve of a learning model enters the shaded area in the figure, then by setting and using a threshold value corresponding to the portion that has entered this area (the threshold value of the output value of the learning model that infers the inspection object to be positive, i.e., a defective product), it can be used as a learning model that meets the required standards determined as inspection indicators.

[0043] When the learning model selection unit 140 sets the format of the graph for displaying the ROC curve, the limit defective shipment rate, and the limit re-inspection rate as the indicator value comparison display format, the straight line calculated according to equations (1) and (2) based on the ROC curve as the learning model evaluation index, the limit defective shipment rate and the limit re-inspection rate as the inspection index for each learning model is drawn in the graph format, and the display device 70 displays it. In this case, the learning model selection unit 140 can be as follows: Figure 5 As shown in the example, graphs related to a plurality of learning models are displayed side by side.

[0044] The learning model selection unit 140 can also display the conditions for using the learning model in a state where the required standard determined as the inspection indicator is satisfied, together with the comparison display of the learning model evaluation index and the inspection index. For example, in the above example, when using the learning model determined to satisfy the required standard determined as the inspection indicator, it is necessary to set and use the condition for entering the ROC curve. Figure 5 The threshold corresponding to the shaded area (the threshold of the output value of the learning model that infers the inspection object as a positive, i.e., a defective product). Figure 6 As shown in the example, the learning model selection unit 140 can display the range of the threshold value to the display device 70 together with the comparison display of the learning model evaluation index and the inspection index. Regarding the range of the threshold value, the threshold value corresponding to the point where the ROC curve intersects the dotted line drawn with a bold line is the upper limit value, and the threshold value corresponding to the point where the ROC curve intersects the dotted line drawn with a bold line is the lower limit value. Usually, the ROC curve is a line that rises to the right, so the closer to the upper limit value, the lower the re-inspection rate, and the closer to the lower limit value, the lower the defective shipment rate, so the output is also combined with this meaning.

[0045] In the inspection device 1 having the above-mentioned structure, the learning model is evaluated according to the required standard determined as the inspection index. Therefore, in the learning process of the machine learning device 300, even a field operator who does not have knowledge related to machine learning can easily determine whether the learning that satisfies the required standard determined as the currently set inspection index has been performed. As a result, the operator can easily select an appropriate learning model.

[0046] As mentioned above, although embodiment of this disclosure was described, this disclosure is not limited to the example of the said embodiment, It can implement in various forms by adding appropriate changes.

[0047] For example, in the above embodiment, the inspection device 1 is described using an example of judging whether shipment can be carried out by visual inspection, but the inspection device 1 can also be appropriately used for other inspections. For example, the inspection device 1 can also be applied to the inspection of judging the processing possibility of the machine tool, etc. In this case, the inspection device 1 can be configured to output a score indicating the degree of failure of the machine tool according to the temperature, vibration, sound, etc. when the machine as the object is working (if the score is low, the operation of the machine tool is good, and if the score is high, it is a state of failure or close to failure). In this case, the vertical axis of the ROC curve graph generated by the inspection device 1 is set to the defective machine correctness rate, and the horizontal axis is set to the good movable machine incorrectness rate. As the inspection index processed by the inspection device 1, for example, the limit defective processing rate and the limit maintenance rate can be used. The above-mentioned limit defective processing rate indicates the ratio of defective machines that can be judged as non-abnormal and included in the machine tool group used for processing in practical use, and the above-mentioned limit maintenance rate indicates the ratio of machine tools that are judged as abnormal and returned for maintenance. By setting each parameter in this way, as in the case shown in the above embodiment, it is easy to select an appropriate learning model used in the scene of diagnosing whether the machine tool has a failure.

Claims

1. An inspection device for inspecting an inspection object, characterized in that: have: a machine learning device that performs machine learning based on state data acquired from an inspection object and label data indicating inspection results related to the inspection object, thereby generating a learning model; a learning model evaluation index calculation unit that calculates a learning model evaluation index that is an evaluation index used in evaluating the learning model generated by the machine learning device; an inspection index acquisition unit that acquires an inspection index used in the inspection; and a learning model selection unit that can compare the learning model evaluation index and the inspection index with respect to the learning model generated by the machine learning device, accept the selection of the learning model by the operator, and output the result of the selection, The above-mentioned learning model evaluation indicator is the ROC curve of the learning model generated by the above-mentioned machine learning device, and the above-mentioned inspection indicator is the limit defective product shipment rate indicating the ratio of defective products allowed to be included in the inspection objects shipped, and the limit re-inspection rate indicating the ratio of inspection objects excluded through inspection in the total number of inspection objects.

2. An inspection device for inspecting an inspection object, characterized in that: have: a machine learning device that performs machine learning based on state data acquired from an inspection object and label data indicating inspection results related to the inspection object, thereby generating a learning model; a learning model evaluation index calculation unit that calculates a learning model evaluation index that is an evaluation index used in evaluating the learning model generated by the machine learning device; an inspection index acquisition unit that acquires an inspection index used in the inspection; and a learning model selection unit that can compare the learning model evaluation index and the inspection index with respect to the learning model generated by the machine learning device, accept the selection of the learning model by the operator, and output the result of the selection, The above-mentioned learning model evaluation index is the ROC curve of the learning model generated by the above-mentioned machine learning device, and the above-mentioned inspection index is the limit defective processing rate and the limit maintenance rate. The above-mentioned limit defective processing rate indicates the ratio of defective machines that can be judged as having no abnormalities and included in the machine tool group used for processing, and the above-mentioned limit maintenance rate indicates the ratio of machine tools that are judged as having abnormalities and are returned for maintenance.

3. The inspection device according to claim 1 or 2, characterized in that: The learning model selection unit calculates a condition under which the learning model satisfies the inspection index, and outputs the calculated condition under which the learning model satisfies the inspection index.

4. A machine learning method, characterized in that: have: In a first step, a machine learning is performed based on state data acquired from an inspection object and label data indicating inspection results related to the inspection object, thereby generating a learning model; The second step is to calculate an evaluation index used in evaluating the learning model, that is, a learning model evaluation index, which is related to the learning model generated in the first step. The third step is to obtain the inspection index used in the inspection; as well as In the fourth step, the learning model generated in the first step can be compared with the learning model evaluation index and the inspection index, the selection of the learning model by the operator can be accepted, and the result of the selection can be output. The above-mentioned learning model evaluation indicator is the ROC curve of the above-mentioned learning model generated by the above-mentioned machine learning, and the above-mentioned inspection indicator is the limit defective shipment rate indicating the ratio of defective products allowed to be included in the inspection objects shipped, and the limit re-inspection rate indicating the ratio of inspection objects excluded through inspection in the total number of inspection objects.

Citation Information

Patent Citations

  • Apparatus and method for carrying out teaching work in visual inspection apparatus

    JP2005052926A

  • Inspection area setting method of image inspection device

    JP2013140090A

  • Three-dimensional image processor, three-dimensional image processing method, three-dimensional image processing program, computer-readable recording medium, and recording apparatus

    JP2015021756A

  • Machine tool, simulation apparatus, and machine learning device

    CN106406235A

  • Machine tool for generating optimum acceleration / deceleration

    CN106557075A