Surface assessment devices, non-temporal storage media, surface assessment methods, machining systems, inference devices, and machine learning devices.

VN101011AActive Publication Date: 2024-02-26EBARA CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
VN1202305610
Authority / Receiving Office
VN · VN
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-01-25
Filing Date
2021-10-19
Publication Date
2024-02-26
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

Existing manufacturing processes face challenges in automatically determining the quality of machined surfaces, relying on worker skill and experience, which leads to individual differences and difficulties in ensuring product quality.

Method used

A machined surface determination device and method that captures images of the processed surface, divides them into small regions, and uses machine learning models to classify and infer the surface state, combining classification results from small image areas to determine the overall surface condition.

Benefits of technology

Enables the automatic and accurate determination of machined surface quality, reducing reliance on worker skill and experience, and ensuring consistent product quality by inferring surface states through machine learning models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure VN1202305610_0
    Figure VN1202305610_0
Patent Text Reader

Abstract

The machined surface evaluation device (7) includes: a classification results acquisition part (70A) configured to divide the evaluation image area (420) of the evaluation image (42) into several small image areas (430) and classify the machined surface condition (100) in each of the small image areas (430) into one of the machining conditions to obtain classification results for the small image areas (430) in a unit of small image area (430); and the inference of the evaluation results was configured to input the classification results for the small image regions (430) into the evaluation learning model (2) to infer the evaluation results for the evaluation image (42), the evaluation learning model (2) machine learned the correlation between the classification results for multiple image learning regions (410) corresponding to the small image regions (430) and the evaluation results obtained by evaluating the condition of the machined surface (100) in multiple image learning regions (410) based on these classification results.
Need to check novelty before this filing date? Find Prior Art

Description

Machining surface determination device, machining surface determination program, machining surface determination method, machining system, inference device, and machine learning device

[0001] The present invention relates to a machining surface determination device, a machining surface determination program, a machining surface determination method, a machining system, an inference device, and a machine learning device.

[0002] In recent years, in the manufacturing process of various products, development has been progressing of devices that automatically determine the quality of products using various sensors, instead of having workers visually determine the quality of the products. For example, Patent Document 1 discloses an inspection device that inspects the external shape of an impeller, which is an object to be inspected, by performing binarization processing or the like on an image of the impeller.

[0003] JP 2008-51664 A

[0004] One of the indicators for judging the quality of a product is the condition of the processed surface after various processing steps such as polishing, grinding, cutting, casting, etc. The condition of this processed surface includes various evaluation items such as roughness, unevenness, waviness, warpage, patterns, streaks, and waves.

[0005] However, the inspection device disclosed in Patent Document 1 inspects the external shape of an object to be inspected, but cannot determine the state of the processed surface of the object to be inspected. Furthermore, if an operator were to determine the state of the processed surface, it would depend on the operator's skill and experience (including tacit knowledge), which would result in large individual differences between operators, making it difficult to guarantee product quality.

[0006] In view of the above-mentioned problems, the present invention aims to provide a machining surface determination device, a machining surface determination program, a machining surface determination method, a machining system, an inference device, and a machine learning device that enable automatic determination of the state of the machining surface of an object to be determined.

[0007] In order to achieve the above object, a machining surface judgment device according to one aspect of the present invention is a machining surface judgment device that judges the state of the machining surface based on a judgment image in which the machining surface of an object to be judged is captured, and includes: a classification result acquisition unit that acquires, for each of a plurality of small image areas obtained by dividing the judgment image area of ​​the judgment image, a classification result when the state of the machining surface is classified into one of a plurality of machining states, and a judgment result inference unit that infers the judgment result for the judgment image by inputting the classification results for the plurality of small image areas into a judgment learning model that has been machine-learned to determine the correlation between the classification results for a plurality of learning image areas corresponding to the plurality of small image areas and the judgment results when the state of the machining surface in the plurality of learning image areas is judged based on the classification results.

[0008] According to the machined surface judgment device of the present invention, the judgment result inference unit infers the judgment result for the judgment image by inputting the classification results for each small image region obtained by dividing the judgment image region of the judgment image into a plurality of small image regions into the judgment learning model, thereby making it possible to automatically judge the state of the machined surface of the judgment target object.

[0009] Problems, configurations, and effects other than those described above will become apparent from the detailed description of the invention that follows.

[0010] 1 is a schematic configuration diagram showing an example of a machining system 1 including a machining surface determination device 7 according to a first embodiment. FIG. 1 is a hardware configuration diagram showing an example of a computer 200 constituting a machine learning device 6 and a machining surface determination device 7. FIG. 2 is a block diagram showing an example of a machine learning device 6 according to the first embodiment. FIG. 3 is a data configuration diagram showing an example of first classification learning data. FIG. 4 is a data configuration diagram showing an example of judgment learning data. FIG. 5 is a schematic diagram showing an example of an inference model 20 applied to a first classification learning model 2A. FIG. 6 is a schematic diagram showing an example of an inference model 20 applied to a judgment learning model 2. FIG. 7 is a block diagram showing an example of a machining surface determination device 7 according to the first embodiment. FIG. 8 is a functional explanatory diagram showing an example of a classification result acquisition process by a classification result acquisition unit 70A. FIG. 9 is a functional explanatory diagram showing an example of a judgment result inference process by a judgment result inference unit 71. FIG. 10 is a flowchart showing an example of a machining surface determination method by the machining surface determination device 7 according to the first embodiment. FIG. 11 is a block diagram showing an example of a machine learning device 6 according to a second embodiment. FIG. 12 is a data configuration diagram showing an example of second classification learning data. FIG. 13 is a schematic diagram showing an example of an inference model 20B applied to a second classification learning model 2B. FIG. 14 is a block diagram showing an example of a machining surface determination device 7 according to the second embodiment. 10 is a functional explanatory diagram showing an example of a classification result acquisition process by a classification result acquisition unit 70B. FIG. 11 is a flowchart showing an example of a machining surface determination method by a machining surface determination device 7 according to a second embodiment.

[0011] Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings. The scope necessary for the explanation to achieve the object of the present invention will be schematically shown, and the scope necessary for explaining the relevant parts of the present invention will be mainly explained, and the parts that are omitted from the explanation will be based on publicly known techniques.

[0012] First Embodiment FIG. 1 is a schematic configuration diagram showing an example of a machining system 1 including a machined surface determination device 7 according to a first embodiment.

[0013] The processing system 1 includes a processing unit 3 that processes an object 10 to be determined, an imaging unit 4 that images a processed surface 100 of the object 10 to be determined, a processed surface determination device 7 that determines the state of the processed surface 100 of the object 10 to be determined using a first classification learning model 2A and a determination learning model 2, and a control device 5 that controls the processing unit 3, the imaging unit 4, and the processed surface determination device 7. The processing system 1 also includes, as an additional component, a machine learning device 6 that generates the first classification learning model 2A and the determination learning model 2.

[0014] The object to be determined 10 is any article formed from any material such as metal, resin, or ceramic, and is to be processed by the processing unit 3. A specific example of the object to be determined 10 is a fluid machine or a fluid component that constitutes a fluid machine. Note that there are no particular limitations on the three-dimensional shape, surface properties, color, size, etc. of the object to be determined 10.

[0015] The processed surface 100 is, for example, the surface of the object to be evaluated 10 when the object to be evaluated 10 is processed by the processing unit 3. The processed surface 100 may be any surface of the object to be evaluated 10, and may be the entire surface of the object to be evaluated 10 or a part thereof.

[0016] The processing unit 3 is composed of various robot manipulators and processing mechanism units of machine tools that operate using electricity, fluid pressure, etc. as a drive source. The processing unit 3 performs processing steps such as polishing, grinding, cutting, or casting based on control commands from the control device 5. The processing unit 3 may perform any processing step that processes or forms the surface of the object 10 to be evaluated, and may also perform a combination of multiple processing steps.

[0017] 1, the processing system 1 includes a processing unit 3 that is configured with a robot manipulator having a replaceable grinding wheel attached to its tip, and performs a grinding process. The object 10 to be evaluated is an impeller having multiple blades, which is a fluid component that constitutes a pump. The processed surface 100 is the surface of each blade that has been processed by the processing unit 3 in the grinding process.

[0018] The imaging unit 4 is a camera that captures an image of the machining surface 100, and is configured with an image sensor such as a CMOS sensor or a CCD sensor. The imaging unit 4 is attached to a predetermined position where it can capture an image of the machining surface 100. If the machining unit 3 is configured with, for example, a robot manipulator, the imaging unit 4 may be attached to the tip of the robot manipulator, or may be fixed above a mounting table (including a movable type) on which the evaluation target object 10 is placed. Furthermore, if the machining unit 3 is configured with, for example, a machining mechanism part of a machine tool, the imaging unit 4 may be attached inside a safety cover of the machine tool, or may be fixed above a workbench separate from the machine tool.

[0019] The imaging unit 4 is attached to a predetermined position as described above, and its position and orientation are adjusted so that the machining surface 100 fits within the angle of view of the imaging unit 4. As shown in FIG. 1 , the imaging unit 4 may be provided as separate imaging units 4 connected to the machine learning device 6 and the machining surface determination device 7, or one imaging unit 4 may be connected to both the machine learning device 6 and the machining surface determination device 7 and used in common. The imaging unit 4 may also have pan / tilt / zoom functions. Furthermore, the imaging unit 4 is not limited to imaging the machining surface 100 with a single camera, but may also be imaging with multiple cameras.

[0020] The control device 5 includes a control panel 50 including a general-purpose or dedicated computer (see FIG. 2 described later) or a microcontroller, and an operation display panel 51 including a touch panel display, switches, buttons, etc.

[0021] The control panel 50 is connected to the actuators and sensors (neither of which are shown) of the machining unit 3, and controls the machining process by the machining unit 3 by sending control commands to the actuators in accordance with machining operation parameters for performing the machining process and detection signals from the sensors. The control panel 50 sends an imaging command to the imaging unit 4, and as a result, receives a captured image captured by the imaging unit 4. The control panel 50 sends the captured image to the machining surface determination device 7 as a judgment image, and as a result, receives the state of the machining surface 100 determined by the machining surface determination device 7. The control panel 50 may also send the captured image to the machine learning device 6.

[0022] The operation display panel 51 receives operations from the operator and outputs various types of information by display and sound.

[0023] The machine learning device 6 operates as a main player in the learning phase of machine learning. The machine learning device 6 acquires learning data based on images captured by the imaging unit 4, and generates a first classification learning model 2A and a judgment learning model 2 based on the learning data. The machine learning device 6 provides the trained first classification learning model 2A and judgment learning model 2 to the machining surface judgment device 7 via an arbitrary communication network, recording medium, etc. Details of the machine learning device 6 will be described later.

[0024] The machining surface determination device 7 operates as a main component of the inference phase in machine learning. The machining surface determination device 7 determines the state of the machining surface 100 of the determination target 10 using the image of the machining surface 100 captured by the imaging unit 4 as a determination image, using the trained first classification learning model 2A and determination learning model 2 generated by the machine learning device 6. Details of the machining surface determination device 7 will be described later.

[0025] Note that the components of the machining system 1 may be incorporated into a single housing, thereby configuring the system as, for example, a single machine tool. In this case, at least one of the machine learning device 6 and the machining surface determination device 7 may be incorporated into the control device 5. The components of the machining system 1 may also be composed of a machining device including the machining unit 3 and an inspection device including the imaging unit 4 and the machining surface determination device 7. In this case, the functions of the control device 5 may be distributed between the machining device and the inspection device. Furthermore, the components of the machining system 1 may be connected via a wireless or wired network, thereby allowing at least one of the machine learning device 6 and the machining surface determination device 7 to be installed in a location separate from the machining site where the machining unit 3 and the imaging unit 4 are installed. In this case, the control device 5 may be installed at the machining site or elsewhere.

[0026] FIG. 2 is a hardware configuration diagram showing an example of a computer 200 that constitutes the machine learning device 6 and the machined surface determination device 7.

[0027] Each of the machine learning device 6 and the machining surface determination device 7 is configured by a general-purpose or dedicated computer 200. As shown in Fig. 2, the computer 200 includes, as its main components, a bus 210, a processor 212, a memory 214, an input device 216, a display device 218, a storage device 220, a communication I / F (interface) unit 222, an external device I / F unit 224, an I / O (input / output) device I / F unit 226, and a media input / output unit 228. Note that the above components may be omitted as appropriate depending on the application of the computer 200.

[0028] The processor 212 is composed of one or more arithmetic processing units (CPU, MPU, GPU, DSP, etc.), and operates as a control unit that controls the entire computer 200. The memory 214 stores various data and programs 230, and is composed of, for example, volatile memory (DRAM, SRAM, etc.) that functions as main memory, and non-volatile memory (ROM, flash memory, etc.).

[0029] The input device 216 is, for example, a keyboard, a mouse, a numeric keypad, an electronic pen, etc. The display device 218 is, for example, a liquid crystal display, an organic EL display, electronic paper, a projector, etc. The input device 216 and the display device 218 may be integrated into one device, such as a touch panel display. The storage device 220 is, for example, a HDD, an SSD, etc., and stores various data required for executing the operating system and the program 230.

[0030] The communication I / F unit 222 is connected to a network 240 such as the Internet or an intranet by wire or wirelessly, and transmits and receives data to and from other computers in accordance with a predetermined communication standard. The external device I / F unit 224 is connected to an external device 250 such as a printer or scanner by wire or wirelessly, and transmits and receives data to and from the external device 250 in accordance with a predetermined communication standard. The I / O device I / F unit 226 is connected to I / O devices 260 such as various sensors and actuators, and transmits and receives various signals and data, such as detection signals from sensors and control signals to actuators, to and from the I / O devices 260. The media input / output unit 228 is composed of a drive device such as a DVD drive or a CD drive, and reads and writes data from and to media 270 such as DVDs and CDs.

[0031] In the computer 200 having the above configuration, the processor 212 loads the program 230 into a work memory area of ​​the memory 214, executes the program 230, and controls each unit of the computer 200 via the bus 210. The program 230 may be stored in the storage device 220 instead of the memory 214. The program 230 may be recorded on a non-transitory recording medium such as a CD or DVD in an installable file format or an executable file format, and provided to the computer 200 via the media input / output unit 228. The program 230 may be provided to the computer 200 by being downloaded via the network 240 via the communication I / F unit 222. Furthermore, the computer 200 may implement various functions realized by the processor 212 executing the program 230 using hardware such as an FPGA or an ASIC.

[0032] The computer 200 is, for example, a desktop computer or a portable computer, and is an electronic device of any type. The computer 200 may be a client computer, a server computer, or a cloud computer. The computer 200 may be applied to devices other than the machine learning device 6 and the machining surface determination device 7.

[0033] (Machine Learning Device 6) FIG. 3 is a block diagram showing an example of the machine learning device 6 according to the first embodiment.

[0034] The machine learning device 6 includes a learning data acquisition unit 60, a learning data storage unit 61, a machine learning unit 62, and a trained model storage unit 63. The machine learning device 6 is configured, for example, by the computer 200 shown in FIG. 2. In this case, the learning data acquisition unit 60 is configured by the communication I / F unit 222 or the I / O device I / F unit 226 and the processor 212, the machine learning unit 62 is configured by the processor 212, and the learning data storage unit 61 and the trained model storage unit 63 are configured by the storage device 220.

[0035] The learning data acquisition unit 60 is an interface unit that is connected to various external devices via a communication network and acquires learning data in which input data and output data are associated with each other. The external devices are, for example, the imaging unit 4, the machining surface determination device 7, and the worker terminal 8 used by the worker.

[0036] The learning data storage unit 61 is a database that stores multiple sets of learning data acquired by the learning data acquisition unit 60. The learning data includes first classification learning data for generating the first classification learning model 2A and judgment learning data for generating the judgment learning model 2. The specific configuration of the database that constitutes the learning data storage unit 61 may be designed as appropriate.

[0037] The machine learning unit 62 performs machine learning using the learning data stored in the learning data storage unit 61. That is, the machine learning unit 62 inputs multiple sets of first classification learning data to the first classification learning model 2A, and causes the first classification learning model 2A to learn by machine learning the correlation between the input data and the output data included in the first classification learning data, thereby generating the first classification learning model 2A. Furthermore, the machine learning unit 62 inputs multiple sets of judgment learning data to the judgment learning model 2, and causes the judgment learning model 2 to learn by machine learning the correlation between the input data and the output data included in the judgment learning data, thereby generating the judgment learning model 2.

[0038] The trained model storage unit 63 is a database that stores the first classification learning model 2A and the judgment learning model 2 generated by the machine learning unit 62. The first classification learning model 2A and the judgment learning model 2 stored in the trained model storage unit 63 are provided to an actual system (e.g., the machining surface determination device 7) via any communication network, recording medium, etc. The first classification learning model 2A and the judgment learning model 2 may be provided to an external computer (e.g., a server-type computer or a cloud-type computer) and stored in the memory of the external computer. Also, although the training data storage unit 61 and the trained model storage unit 63 are shown as separate memory units in FIG. 3, they may also be configured as a single memory unit.

[0039] FIG. 4 is a data configuration diagram showing an example of the first classification learning data.

[0040] The first classification learning data has a learning image 41 as input data and includes as output data the classification results obtained by classifying the state of the machining surface 100 contained in the learning image 41 into one of multiple machining states, and is configured by associating these input data and output data.

[0041] The learning image 41 as input data is each of a plurality of images generated by dividing an image 40 having a predetermined image area 400 in which the processing surface 100 of the object to be evaluated 10 is imaged by the imaging unit 4 into learning image areas 410.

[0042] The captured image area 400 of the captured image 40 is an area captured by the imaging unit 4, and is determined by the angle of view of the imaging unit 4. The captured image area 400 shown in Fig. 4 is set to include a portion of one blade of the impeller, which is the object to be determined 10. Note that the captured image 40 shown in Fig. 4 captures not only the processing surface 100 but also the background 110, but the captured image area 400 may be set so that the background 110 is not captured.

[0043] As shown in Fig. 4, the training image regions 410 of the training image 41 are obtained by dividing the captured image region 400 of the captured image 40 into a grid pattern so that each training image region 410 is square. The number of images, shape, size, and aspect ratio of the training image regions 410 may be changed as appropriate, and may be rectangular or another shape, for example. The division method for dividing the captured image region 400 into the training image regions 410 may also be changed as appropriate, and may be, for example, a staggered division or division according to other criteria.

[0044] In supervised learning, the classification results as output data are referred to as, for example, teacher data or correct labels. For example, when two classes, "good" and "poor," are adopted as the multiple machining states, the classification results are expressed as either "good" or "poor." When three classes, "good," "fair," and "poor," are adopted as the multiple machining states, the classification results are expressed as either "good," "fair," or "poor." Note that the multiple machining states used to classify the state of the machined surface 100 are not limited to the above-mentioned classes, and may be classified into, for example, four or more classes, or may be classified from other perspectives.

[0045] Furthermore, if the edge of the machining surface 100 or the background 110 other than the machining surface 100 is present in the learning image area 410, it is also possible to add a class called "not to be judged" for classification. In the case where the learning image area 410 is classified as "not to be judged" because the edge of the machining surface 100 or the background 110 other than the machining surface 100 is present in the learning image area 410, the classification result is expressed as either "good," "poor," or "not to be judged" in the above two-class example, and as shown in FIG. 4 in the above three-class example, it is expressed as either "good," "fair," "poor," or "not to be judged." Note that if both the machining surface 100 and the background 110 are captured in the learning image 41, for example, the image may be classified into the "not to be judged" class if the ratio of the background 110 is higher than a predetermined ratio, or may not always be classified into the "not to be judged" class.

[0046] FIG. 5 is a data configuration diagram showing an example of the judgment learning data.

[0047] The judgment learning data includes, as input data, the classification results when the state of the machining surface 100 for each of the multiple learning image areas 410 is classified into one of multiple machining states, and, as output data, the judgment results when the state of the machining surface 100 in the multiple learning image areas 410 is judged based on the classification results, and is configured by associating these input data and output data.

[0048] The classification results for multiple learning image areas 410 as input data are expressed as integer values ​​such as "0", "1", "2" and "3" when the condition of the machining surface 100 is classified as, for example, "good", "fair", "poor" or "not subject to judgment".

[0049] The determination result as output data is referred to as, for example, teacher data or correct label in supervised learning. The determination result is obtained by determining the state of the entire processing surface 100 for the multiple learning image regions 410, i.e., the captured image region 400 before being divided into the multiple learning image regions 410.

[0050] The judgment result is a judgment of at least one of the following conditions of the machined surface 100: whether or not re-machining is necessary, in which the same machining process as when the machined surface 100 was machined is performed again; whether or not separate machining is necessary, in which a machining process different from that when the machined surface 100 was machined is performed; whether or not finish machining, in which an operator performs finish machining on the machined surface 100, is necessary; and the machining range of the machined surface 100 to be subjected to re-machining, separate machining, or finish machining. Note that, instead of or in addition to the above, the judgment result may be a judgment of whether the entire machined surface 100 is in one of a plurality of machining states including at least "good" and "bad."

[0051] The learning data acquisition unit 60 can employ various methods for acquiring the first classification learning data and the determination learning data. For example, the learning data acquisition unit 60 acquires a captured image 40 of the determination target object 10 after the processing step is performed by the processing unit 3, captured by the imaging unit 4, and divides the captured image 40 to generate multiple learning images 41. Next, the learning data acquisition unit 60 displays the multiple learning images 41 in a distinguishable state on the display screen of the worker terminal 8, for example, by superimposing a frame that constitutes each learning image area 410 on the captured image 40.

[0052] The worker visually checks each of the learning images 41 on the display screen, inputs the classification results (classification results) of the states of the machined surfaces 100 included in each of the plurality of learning images 41 into a plurality of machining states (classes), and inputs the judgment results (judgment results) of the states of the machined surfaces 100 included in the captured images 40 via the worker terminal 8. The learning data acquisition unit 60 then accepts the worker's input operation and acquires a plurality of first classification learning data by associating the learning images 41 (input data) with the classification results (output data) input for the learning images 41. The learning data acquisition unit 60 also acquires judgment learning data by associating the classification results (input data) for the plurality of learning image regions 410 included in each of the learning images 41 with the judgment results (output data) input for the captured images 40.

[0053] Therefore, the learning data acquisition unit 60 can acquire the number of first classification training data corresponding to the number of divisions when one captured image 40 is divided into multiple learning images 41, and by repeating the above process, it is possible to acquire a desired number of first classification training data. Furthermore, the learning data acquisition unit 60 can acquire determination training data in conjunction with acquiring the first classification training data. Therefore, it is possible to easily collect the first classification training data and determination training data.

[0054] FIG. 6 is a schematic diagram showing an example of an inference model 20A applied to the first classification learning model 2A.

[0055] The inference model 20A employs a convolutional neural network (CNN) as a specific machine learning technique. The inference model 20A includes an input layer 21, an intermediate layer 22, and an output layer 23.

[0056] The input layer 21 has neurons whose number corresponds to the number of pixels of the learning image 41 as input data, and the pixel value of each pixel is input to each neuron.

[0057] The intermediate layer 22 is composed of a convolutional layer 22a, a pooling layer 22b, and a fully connected layer 22c. The convolutional layers 22a and the pooling layers 22b are, for example, provided alternately in multiple layers. The convolutional layer 22a and the pooling layer 22b extract features from the image input via the input layer 21. The fully connected layer 22c transforms the features extracted from the image by the convolutional layer 22a and the pooling layer 22b, for example, using an activation function, and outputs them as a feature vector. Note that multiple fully connected layers 22c may be provided.

[0058] The output layer 23 outputs output data including a classification result based on the feature vector output from the fully connected layer 22 c. Note that the output data may include, in addition to the classification result, for example, a score indicating the reliability of the classification result.

[0059] Between each layer of the inference model 20A, synapses are laid that connect the neurons between the layers, and each synapse in the convolutional layer 22a and the fully connected layer 22c of the intermediate layer 22 is assigned a weight.

[0060] The machine learning unit 62 inputs the first classification training data into the inference model 20A and causes the inference model 20A to machine-learn the correlation between the training images 41 and the classification results. Specifically, the machine learning unit 62 inputs the training images 41 constituting the first classification training data as input data to the input layer 21 of the inference model 20A. Note that the machine learning unit 62 may perform predetermined image adjustments (e.g., image format, image size, image filter, image mask, etc.) on the training images 41 as preprocessing before inputting the training images 41 to the input layer 21.

[0061] The machine learning unit 62 iteratively adjusts the weights associated with each synapse (backpropagation) so as to reduce the evaluation value of the error function using an error function that compares the classification result (inference result) indicated by the output data output from the output layer 23 with the classification result (teacher data) constituting the first classification learning data. When the machine learning unit 62 determines that a predetermined learning termination condition has been met, such as that the series of processes described above has been repeated a predetermined number of times or that the evaluation value of the error function has become smaller than an allowable value, the machine learning unit 62 terminates the machine learning and stores the inference model 20A at that time (all weights associated with each synapse) in the trained model storage unit 63 as the first classification learning model 2A.

[0062] FIG. 7 is a schematic diagram showing an example of an inference model 20 applied to the learning model for determination 2.

[0063] The inference model 20 employs a convolutional neural network as a specific machine learning technique, similar to the inference model 20A shown in Fig. 6. The following describes the inference model 20, focusing on the differences from the inference model 20A shown in Fig. 6.

[0064] The input layer 21 has neurons whose number corresponds to the number of divisions when the captured image area 400 is divided into multiple learning image areas 410, and the classification result for each learning image area 410 (e.g., an integer value of 0, 1, 2, or 3) is input to each neuron.

[0065] The output layer 23 outputs output data including a determination result based on the feature vector output from the fully connected layer 22 c. Note that the output data may include, in addition to the determination result, for example, a score indicating the reliability of the determination result.

[0066] The machine learning unit 62 inputs the judgment learning data into the inference model 20 and causes the inference model 20 to perform machine learning of the correlation between the classification results and judgment results for the multiple learning image regions 410. Specifically, the machine learning unit 62 inputs the classification results for the multiple learning image regions 410, which make up the judgment learning data, as input data to the input layer 21 of the inference model 20.

[0067] The machine learning unit 62 iteratively adjusts the weights associated with each synapse (backpropagation) so as to reduce the evaluation value of the error function using an error function that compares the judgment result (inference result) indicated by the output data output from the output layer 23 with the judgment result (teacher data) constituting the judgment learning data. Then, when the machine learning unit 62 determines that a predetermined learning termination condition has been met, such as the series of processes being repeated a predetermined number of times or the evaluation value of the error function being smaller than an allowable value, the machine learning unit 62 terminates the machine learning and stores the inference model 20 at that time (all weights associated with each synapse) in the trained model storage unit 63 as the judgment learning model 2.

[0068] (Machine Surface Determination Device 7) FIG. 8 is a block diagram showing an example of the machined surface determination device 7 according to the first embodiment.

[0069] The machining surface determination device 7 includes a classification result acquisition unit 70A, a determination result inference unit 71, a learned model storage unit 72, and an output processing unit 73. The machining surface determination device 7 is configured, for example, by the computer 200 shown in Fig. 2. In this case, the classification result acquisition unit 70A is configured by the communication I / F unit 222 or the I / O device I / F unit 226 and the processor 212, the determination result inference unit 71 and the output processing unit 73 are configured by the processor 212, and the learned model storage unit 72 is configured by the storage device 220.

[0070] The classification result acquisition unit 70A performs a classification result acquisition process (see Figure 9 described below) to acquire the classification result for each of the multiple small image areas 430 obtained by dividing the judgment image area 420 of the judgment image 42 when the state of the processing surface 100 is classified into one of multiple processing states.

[0071] The classification result acquisition unit 70A specifically includes an image acquisition unit 700 connected to the imaging unit 4 and acquiring an image of the processed surface 100 of the object 10 to be determined captured by the imaging unit 4 as a determination image 42 having a determination image area 420; a small image generation unit 701 that generates a plurality of small images 43 from the determination image 42 by dividing the determination image area 420 into a plurality of small image areas 430; and a first classification result inference unit 702A that infers classification results for the plurality of small image areas 430 by inputting the plurality of small images 43 into a first classification learning model 2A in small image area 430 units.

[0072] The first classification result inference unit 702A records the positional relationship of each small image area 430 relative to the judgment image area 420, for example, as additional information of the small image 43, so that the pre-division judgment image 42 can be reconstructed from multiple small images 43.

[0073] The judgment result inference unit 71 performs a judgment result inference process (see Figure 10 described below) to infer a judgment result for the judgment image area 420 by inputting the classification results for the multiple small image areas 430 acquired by the classification result acquisition unit 70A into the judgment learning model 2.

[0074] The judgment result inferred by the judgment result inference unit 71 is a judgment of at least one of whether re-machining is necessary, whether separate machining is necessary, whether finish machining is necessary, and the machining range of the machining surface 100 to be subjected to re-machining, separate machining, or finish machining. Instead of or in addition to the above, the judgment result may be a judgment of whether the entire machining surface 100 is in one of a plurality of machining states including at least "good" and "bad."

[0075] In addition, part or all of the classification result acquisition unit 70A and the judgment result inference unit 71 may be substituted by a processor of an external computer (for example, a server-type computer or a cloud-type computer), and part or all of the classification result acquisition process by the classification result acquisition unit 70A and the judgment result inference process by the judgment result inference unit 71 may be executed by the external computer.

[0076] The trained model storage unit 72 is a database that stores a trained first classification learning model 2A used in the inference processing of the classification result acquisition unit 70A and a trained judgment learning model 2 used in the inference processing of the judgment result inference unit 71. Note that the number of first classification learning models 2A and judgment learning models 2 stored in the trained model storage unit 72 is not limited to one, and multiple trained models with different conditions, such as machine learning techniques, processing steps by the processing unit 3, and judgment target object 10, may be stored and selectively used. Furthermore, the trained model storage unit 72 may be substituted by a storage unit of an external computer (e.g., a server-type computer or a cloud-type computer). In this case, the classification result acquisition unit 70A and the judgment result inference unit 71 may access the external computer to perform the classification result acquisition processing and judgment result inference processing.

[0077] The output processing unit 73 performs output processing to output the judgment result inferred by the judgment result inference unit 71. A variety of output means can be used as the specific output means for outputting the judgment result. For example, the output processing unit 73 may send an operation command for reprocessing or another processing to the processing unit 3 via the control panel 50 in response to the judgment result, notify the operator of the execution of finish processing by display or sound via the operation display panel 51 or the operator terminal 8, or store the judgment result in the storage means of the control panel 50 as an operation history of the processing unit 3. Note that the output processing unit 73 may only output (transmit, notify, store) the judgment result by the judgment result inference unit 71, or may further output (transmit, notify, store) the classification results of the multiple small image regions 430 by the classification result acquisition unit 70A in addition to the judgment result by the judgment result inference unit 71.

[0078] FIG. 9 is a functional explanatory diagram showing an example of a classification result acquisition process performed by the classification result acquisition unit 70A.

[0079] The determination image area 420 of the determination image 42 is an area captured by the imaging unit 4, and is determined by the angle of view of the imaging unit 4. The determination image area 420 shown in Fig. 9 is set to include a portion of one blade of the impeller, which is the object to be determined 10, similar to the captured image area 400 shown in Fig. 4. Note that the determination image area 420 may be set at a different position from the captured image area 400, and the number of images, shape, size, and aspect ratio of the two may be different.

[0080] 9, the small image regions 430 of the small image 43 are obtained by dividing the determination image region 420 of the determination image 42 into a grid so that each small image region 430 is square. The small image regions 430 of the small image 43 correspond to the training image regions 410 of the training image 41 when the first classification training model 2A is generated by the machine learning device 6, and it is preferable that the number of images, shape, size, and aspect ratio of both images are the same or similar.

[0081] Therefore, as long as the number of images, shape, size, and aspect ratio of small image region 430 correspond to the number of images, shape, size, and aspect ratio of learning image region 410, the division method for dividing determination image region 420 into small image regions 430 may be changed as appropriate, and may be, for example, divided into a staggered pattern or divided according to other criteria. In this case, the division method for dividing determination image region 420 into small image regions 430 may be the same as or different from the division method for dividing captured image region 400 into learning image regions 410.

[0082] Here, the first classification learning model 2A is obtained by machine learning the correlation between the learning image 41 having the learning image area 410 corresponding to the small image area 430 and the classification result in which the state of the machining surface 100 included in the learning image 41 is classified into one of a plurality of machining states, using the machine learning device 6. Therefore, the first classification result inference unit 702A functions as a classifier that classifies the state of the machining surface 100 in the small image area 430 into one of a plurality of machining states by inputting a plurality of small images 43 into the first classification learning model 2A in units of small image area 430. When two classes (good, poor) are used as the plurality of machining states, the classification result is expressed as two classes (good, poor), and when three classes (good, fair, poor) are used as the plurality of machining states, the classification result is expressed as three classes (good, fair, poor).

[0083] The first classification learning model 2A may be a model in which the machine learning device 6 has machine-learned the correlation between the learning image 41 in which at least one of the machining surface 100 or the background 110 other than the machining surface 100 is captured, and the classification result when the state of the machining surface 100 captured in the learning image 41 is classified into one of a plurality of machining states, or when the state is classified as not to be determined because the edge of the machining surface 100 or the background 110 other than the machining surface 100 is present in the small image region 430 of the learning image 41. In this case, the first classification result inference unit 702A of the classification result acquisition unit 70A inputs a plurality of small images 43 into the first classification learning model 2A in small image region 430 units, and functions as a classifier that classifies the state of the machining surface 100 in the small image region 430 into one of a plurality of machining states, or classifies as not to be determined because the edge of the machining surface 100 or the background 110 other than the machining surface 100 is present in the small image region 430. Since the classification results include multiple processing states and also include "not eligible for judgment," the classification results in the above example are expressed as three classes (good, poor, not eligible for judgment) or four classes (good, fair, poor, not eligible for judgment).

[0084] The classification result for the small image region 430 may include a score (reliability) for each class. In this case, if the classification result is expressed as four classes (good, fair, poor, and not applicable), the scores for each class for a specific small image region 430 are output as, for example, "0.02," "0.10," "0.95," and "0.31." Any method may be used for using the scores. For example, the class with the highest score (in the above example, poor with a score of "0.95") may be used as the classification result. Alternatively, if the score of a specific class exceeds a predetermined score reference value (in the above example, the score of the "poor" class, "0.95," exceeds the score reference value of "0.80"), the class may be used as the classification result.

[0085] In addition, it is preferable to store the classification results for the small image region 430 in the trained model memory unit 72 or another storage device (not shown), and past classification results can be used, for example, as first classification learning data to be used for online learning or re-learning in order to further improve the inference accuracy of the trained first classification learning model 2A.

[0086] 10 is a functional explanatory diagram showing an example of the determination result inference process by the determination result inference unit 71. In the following, a description will be given assuming that the determination image area 420 is divided into 60 small image areas 430, thereby dividing one determination image 42 into 60 small images 43 as shown in FIG.

[0087] The judgment learning model 2 is obtained by machine learning the correlation between the classification results for the plurality of learning image areas 410 corresponding to the plurality of small image areas 430 and the judgment results when the state of the machining surface 100 in the plurality of learning image areas 410 is judged based on the classification results. Therefore, the judgment result inference unit 71 infers the state of the machining surface 100 in the plurality of small image areas 430, i.e., the judgment result for the machining surface 100 in the judgment image area 420, by inputting the classification results for the plurality of small image areas 430 acquired by the classification result acquisition unit 70A into the judgment learning model 2.

[0088] When the state of the machining surface 100 is determined to be whether re-machining, whether additional machining is necessary, or whether finish machining is necessary, the determination result is expressed, for example, as a real number having a range of 0 to 1, with the closer to "0" the more "no" and the closer to 1 the more "required." Furthermore, when the machining range is used as the state of the machining surface 100, the classification result for the multiple small image regions 430 is determined to be, for example, a range that includes at least the small image regions 430 classified as "defective."

[0089] As described above, the judgment result inference unit 71 may perform predetermined post-processing on the judgment result inferred by the judgment learning model 2. For example, as post-processing, the judgment result inference unit 71 may compare the values ​​of the judgment result regarding whether reprocessing is necessary, the value of the judgment result regarding whether separate processing is necessary, and the value of the judgment result regarding whether finish processing is necessary, and select the processing with the largest judgment result value among them, and perform this as the final judgment result.

[0090] (Machine surface determination method) Fig. 11 is a flowchart showing an example of a machined surface determination method by the machined surface determination device 7 according to the first embodiment. The series of machined surface determination methods shown in Fig. 11 are repeatedly executed by the machined surface determination device 7 at a predetermined timing. The predetermined timing may be any timing, and may be, for example, after the machining process by the machining unit 3 is completed, during the machining process, or when a predetermined event occurs (such as when an operator operates the machine, or when an instruction is received from the production management system). Below, a case will be described in which the machined surface determination method is executed on the determination object 10 machined by the machining process after the machining process by the machining unit 3 is completed.

[0091] First, in step S100, when the processing process by the processing unit 3 is completed, the processing surface 100 of the object to be judged 10 processed by the processing process is imaged by the imaging unit 4, and the captured image is sent to the processing surface judgment device 7 via the control device 5, and the image acquisition unit 700 of the classification result acquisition unit 70A acquires the captured image as the judgment image 42.

[0092] Next, in step S110, the small image generation unit 701 performs preprocessing on the determination image 42 by dividing the determination image area 420 of the determination image 42 into multiple small image areas 430, thereby generating multiple small images 43 from the determination image 42.

[0093] Next, in steps S120 to S128, the first classification result inference unit 702A executes a loop process by incrementing the variable i from "1" to "K" while assigning a serial number (1≦n≦K) to each of the multiple small images 43, with K being the number of divisions into the multiple small images 43.

[0094] Specifically, in step S120, the first classification result inference unit 702A initializes a variable i to 1. Next, in step S122, the first classification result inference unit 702A selects the i-th small image 43 and inputs it to the input layer 21 of the first classification learning model 2A, thereby inferring the classification result output from the output layer 23 of the first classification learning model 2A.

[0095] Next, in step S126, the variable i is incremented, and in step S128, it is determined whether the variable i exceeds the division number K. The first classification result inference unit 702A then repeats steps S122 and S126 described above until the variable i exceeds the division number K, thereby obtaining classification results for the multiple small image regions 430.

[0096] Next, in step S130, the judgment result inference unit 71 inputs the classification results for the multiple small image regions 430 into the input layer 21 of the judgment learning model 2, and infers the judgment results (e.g., whether reprocessing is necessary, whether additional processing is necessary, whether finishing processing is necessary, the processing range, etc.) output from the output layer 23 of the judgment learning model 2.

[0097] Next, in step S140, the output processing unit 73 outputs information corresponding to the judgment result inferred by the judgment result inferring unit 71 to an output means (for example, the control device 5, the worker terminal 8, etc.). Then, the series of steps in the machining surface judgment method shown in Fig. 11 is completed. In the machining surface judgment method, step S100 corresponds to an image acquisition step, steps S100 to S128 correspond to a classification result acquisition step, step S130 corresponds to a judgment result inferring step, and step S140 corresponds to an output processing step.

[0098] As described above, according to the machined surface determination device 7 and machined surface determination method of this embodiment, the classification result acquisition unit 70A divides the determination image area 420 into small image areas 430 to generate a plurality of small images 43 from the determination image 42, and inputs each of the plurality of small images 43 into the first classification learning model 2A, thereby inferring a classification result for the plurality of small image areas 430. Then, the determination result inference unit 71 inputs the classification results for the plurality of small image areas 430 into the determination learning model 2, thereby inferring the state of the machined surface 100 as a determination result.

[0099] Therefore, the classification results by the first classification learning model 2A are inferred in units of small image region 430 by inputting each of the multiple small images 43 into which the judgment image 42 is divided. This makes it easier to collect the learning data necessary for machine learning compared to inputting a single judgment image 42 into the first classification learning model 2A, and improves the accuracy of the first classification learning model 2A. Then, the classification results for the multiple small image regions 430 by the first classification learning model 2A are input into the judgment learning model 2, whereby the state of the machined surface 100 included in the judgment image 42 is determined. Therefore, the state of the machined surface 100 of the judgment target object 10 can be automatically determined.

[0100] Second Embodiment In the processing system 1 according to the first embodiment, a case has been described in which a first classification learning model 2A and a judgment learning model 2 are employed in the learning phase and inference phase of machine learning. In contrast, in the processing system 1 according to the second embodiment, a case in which a second classification learning model 2B and a judgment learning model 2 are employed will be described. Note that the basic configuration and operation of the processing system 1 according to the second embodiment are the same as those of the first embodiment, and therefore the following description will focus on the parts related to the second classification learning model 2B, which is a difference from the first embodiment.

[0101] (Machine Learning Device 6) FIG. 12 is a block diagram showing an example of the machine learning device 6 according to the second embodiment.

[0102] As in the first embodiment, the machine learning device 6 includes a learning data acquisition unit 60, a learning data storage unit 61, a machine learning unit 62, and a trained model storage unit 63.

[0103] The training data acquisition unit 60 is an interface unit connected to various external devices via a communication network and acquires training data. The training data storage unit 61 is a database that stores multiple sets of training data acquired by the training data acquisition unit 60. The training data includes second classification training data for generating the second classification training model 2B and determination training data similar to that in the first embodiment.

[0104] The machine learning unit 62 inputs multiple sets of second classification learning data to the second classification learning model 2B, and causes the second classification learning model 2B to learn by machine learning the correlation between the input data and the output data contained in the second classification learning data, thereby generating the second classification learning model 2B. Furthermore, the machine learning unit 62 generates the judgment learning model 2B using the judgment learning data, as in the first embodiment.

[0105] The learned model storage unit 63 is a database that stores the second classification learning model 2B and the judgment learning model 2 generated by the machine learning unit 62.

[0106] FIG. 13 is a data configuration diagram showing an example of the second classification learning data.

[0107] The second classification learning data is configured by corresponding these input data and output data, and includes pixel classification results for multiple learning pixel areas 411 obtained from the learning image 41 as input data and classification results for classifying the state of the machining surface 100 included in the learning image 41 into one of multiple machining states as output data.

[0108] The pixel classification results for the multiple learning pixel areas 411 as input data are obtained for each learning pixel area 411, based on the pixel values ​​within the learning pixel areas 411, for the multiple learning pixel areas 411 that make up the learning image 41.

[0109] The learning pixel region 411 is an area corresponding to one pixel, and the pixel value in the learning pixel region 411 is expressed, for example, by RGB values, grayscale values, brightness values, etc. When, for example, four classes of "good," "passable," "poor," and "not to be determined" are adopted as the multiple processing states, the pixel classification result is determined, for example, by comparing the pixel value in the learning pixel region 411 with three predetermined thresholds (third threshold < second threshold < first threshold). If the pixel value is equal to or greater than the first threshold, the classification result is "good" (0); if the pixel value is less than the first threshold and equal to or greater than the second threshold, the classification result is "passable" (1); if the pixel value is less than the second threshold and equal to or greater than the third threshold, the classification result is "poor" (2); and if the pixel value is less than the third threshold, the classification result is "not to be determined" (3).

[0110] As in the first embodiment, the classification results as output data are expressed as classification results for the machining surface 100 in the learning image area 410, for example, as shown in Figure 13, as either "good," "fair," "poor," or "not subject to judgment."

[0111] The learning data acquisition unit 60 can employ various methods for acquiring the second classification learning data and the determination learning data. For example, similar to the first embodiment, the learning data acquisition unit 60 acquires a captured image 40 of the determination target 10 after the processing step has been performed by the processing unit 3, captured by the imaging unit 4, divides the captured image 40 to generate a plurality of learning images 41, and displays the plurality of learning images 41 on the display screen of the worker terminal 8.

[0112] The worker visually checks each of the training images 41 on the display screen, inputs the classification results (classification results) of the states of the machining surface 100 included in each of the plurality of training images 41 into a plurality of machining states (classes), and inputs the judgment results (judgment results) of the states of the machining surface 100 included in the captured image 40 via the worker terminal 8. The training data acquisition unit 60 then accepts the worker's input operation and acquires a plurality of second classification training data by associating the pixel classification results (input data) for the plurality of training pixel regions 411 acquired from the training image 41 with the classification results (output data) input for the training image 41. The training data acquisition unit 60 also acquires judgment training data by associating the classification results (input data) for the plurality of training image regions 410 included in each of the training images 41 with the judgment results (output data) input for the captured image 40.

[0113] Therefore, the learning data acquisition unit 60 can acquire the second classification training data in a number corresponding to the number of divisions when one captured image 40 is divided into multiple learning images 41, and by repeating the above process, it is possible to acquire a desired number of second classification training data. Furthermore, the learning data acquisition unit 60 can acquire determination training data in conjunction with acquiring the second classification training data. Therefore, it is possible to easily collect the second classification training data and determination training data.

[0114] FIG. 14 is a schematic diagram showing an example of an inference model 20B applied to the second classification learning model 2B.

[0115] The inference model 20B employs a convolutional neural network as a specific machine learning technique, similar to the inference model 20A shown in Fig. 6. The following describes the inference model 20B, focusing on the differences from the inference model 20A shown in Fig. 6.

[0116] The input layer 21 has neurons whose number corresponds to the number of pixels of the training image 41 as input data, and pixel classification results for a plurality of training pixel regions 411 are input to each neuron.

[0117] The output layer 23 outputs output data including a classification result based on the feature vector output from the fully connected layer 22 c. Note that the output data may include, in addition to the classification result, for example, a score indicating the reliability of the classification result.

[0118] The machine learning unit 62 inputs the second classification learning data into the inference model 20B and causes the inference model 20B to perform machine learning of the correlation between the pixel classification results and the classification results for the multiple learning pixel regions 411. Specifically, the machine learning unit 62 inputs the pixel classification results for the multiple learning pixel regions 411, which constitute the second classification learning data, as input data to the input layer 21 of the inference model 20B.

[0119] The machine learning unit 62 iteratively adjusts the weights associated with each synapse (backpropagation) so as to reduce the evaluation value of the error function using an error function that compares the classification result (inference result) indicated by the output data output from the output layer 23 with the classification result (teacher data) constituting the second classification learning data. When the machine learning unit 62 determines that a predetermined learning termination condition has been met, such as that the series of processes described above has been repeated a predetermined number of times or that the evaluation value of the error function has become smaller than an allowable value, the machine learning unit 62 terminates the machine learning and stores the inference model 20B at that time (all weights associated with each synapse) in the trained model storage unit 63 as the second classification learning model 2B.

[0120] (Machine Surface Determination Device 7) FIG. 15 is a block diagram showing an example of the machined surface determination device 7 according to the second embodiment.

[0121] The machined surface determination device 7 includes a classification result acquisition unit 70B, a determination result inference unit 71, a trained model storage unit 72, and an output processing unit 73, similarly to the first embodiment.

[0122] The classification result acquisition unit 70B performs a classification result acquisition process (see Figure 16 described below) to acquire the classification result for each of the multiple small image areas 430 obtained by dividing the judgment image area 420 of the judgment image 42 when the state of the processing surface 100 is classified into one of multiple processing states.

[0123] The classification result acquisition unit 70B includes an image acquisition unit 700 and a small image generation unit 701 similar to those in the first embodiment, a pixel classification result acquisition unit 703 that acquires, for each of a plurality of pixel regions constituting each of a plurality of small images 43, a pixel classification result indicating a classification result for the pixel region based on the pixel values ​​within the pixel region, and a second classification result inference unit 702B that infers a classification result for the plurality of small image regions 430 by inputting the pixel classification results for the plurality of pixel regions into a second classification learning model 2B on a small image region 430 basis.

[0124] The judgment result inference unit 71 performs judgment result inference processing to infer a judgment result for the judgment image area 420 by inputting the classification results for the multiple small image areas 430 acquired by the classification result acquisition unit 70B into the judgment learning model 2.

[0125] The learned model memory unit 72 is a database that stores a learned second classification learning model 2B used in the inference processing of the classification result acquisition unit 70B and a learned judgment learning model 2 used in the inference processing of the judgment result inference unit 71.

[0126] FIG. 16 is a functional explanatory diagram showing an example of a classification result acquisition process performed by the classification result acquisition unit 70B.

[0127] The determination image region 420 of the determination image 42 is a region captured by the imaging unit 4, as in the first embodiment, and the small image region 430 of the small image 43 is obtained by dividing the determination image region 420 of the determination image 42 into a grid pattern. The small image region 430 of the small image 43 corresponds to the learning image region 410 of the learning image 41, and the multiple pixel regions 431 that make up the small image 43 correspond to the multiple learning pixel regions 411 that make up the learning image 41.

[0128] Here, the second classification learning model 2B is obtained by machine learning the correlation between the pixel classification results for the plurality of learning pixel regions 411 corresponding to the plurality of pixel regions 431 and the classification results when the state of the machining surface 100 in the plurality of learning pixel regions 411 is classified into one of the plurality of machining states based on the pixel classification results. Therefore, the second classification result inference unit 702B functions as a classifier that classifies the state of the machining surface 100 in the small image region 430 into one of the plurality of machining states by inputting the pixel classification results for the plurality of pixel regions 431 that make up each of the plurality of small images 43 into the second classification learning model 2B in small image region 430 units.

[0129] (Method for Determining Machined Surface) FIG. 17 is a flowchart showing an example of a method for determining a machined surface by the machined surface determination device 7 according to the second embodiment.

[0130] First, in step S100, the image acquisition unit 700 of the classification result acquisition unit 70B acquires the determination image 42.

[0131] Next, in step S110, the small image generation unit 701 performs preprocessing on the determination image 42 by dividing the determination image area 420 of the determination image 42 into multiple small image areas 430, thereby generating multiple small images 43 from the determination image 42.

[0132] Then, in step S112, the pixel classification result acquisition unit 703 acquires pixel classification results for the multiple pixel regions 431 that make up each of the multiple small images 43, on a pixel region 431 basis, based on the pixel values ​​within the pixel regions 431.

[0133] Next, in steps S120 to S128, the second classification result inference unit 702B executes a loop process by incrementing the variable i from "1" to "K" while assigning a serial number (1≦n≦K) to each of the multiple small images 43, with K being the division number of the multiple small images 43.

[0134] Specifically, in step S120, the second classification result inference unit 702B initializes a variable i to 1. Next, in step S124, the second classification result inference unit 702B selects the i-th small image 43 and inputs the pixel classification results for the multiple pixel regions 431 that make up the small image 43 to the input layer 21 of the second classification learning model 2B, thereby inferring the classification result output from the output layer 23 of the second classification learning model 2B.

[0135] Next, in step S126, the variable i is incremented, and in step S128, it is determined whether the variable i exceeds the division number K. The second classification result inference unit 702B then repeats steps S124 and S126 described above until the variable i exceeds the division number K, thereby obtaining classification results for the multiple small image regions 430.

[0136] Next, in step S130, the judgment result inference unit 71 inputs the classification results for the multiple small image regions 430 into the input layer 21 of the judgment learning model 2, and infers the judgment results (e.g., whether reprocessing is necessary, whether additional processing is necessary, whether finishing processing is necessary, the processing range, etc.) output from the output layer 23 of the judgment learning model 2.

[0137] Next, in step S140, the output processing unit 73 outputs information corresponding to the judgment result inferred by the judgment result inferring unit 71 to an output means (for example, the control device 5, the worker terminal 8, etc.). Then, the series of steps in the machining surface judgment method shown in Fig. 17 is completed. In the machining surface judgment method, step S100 corresponds to an image acquisition step, steps S100 to S128 correspond to a classification result acquisition step, step S130 corresponds to a judgment result inferring step, and step S140 corresponds to an output processing step.

[0138] As described above, according to the machined surface determination device 7 and machined surface determination method of this embodiment, the classification result acquisition unit 70B generates a plurality of small images 43 from the determination image 42 by dividing the determination image area 420 into small image areas 430, and inputs the pixel classification results for the plurality of pixel areas 431 constituting each of the plurality of small images 43 into the second classification learning model 2B to infer the classification results for the plurality of small image areas 430. Then, the determination result inference unit 71 inputs the classification results for the plurality of small image areas 430 into the determination learning model 2, thereby inferring the state of the machined surface 100 as a determination result.

[0139] Therefore, the classification results by the second classification learning model 2B are inferred in units of small image region 430 by inputting each of the multiple small images 43 into which the determination image 42 is divided, which makes it easier to collect the learning data necessary for machine learning and improves the accuracy of the second classification learning model 2B compared to inputting a single determination image 42 into the second classification learning model 2B. Then, the classification results for the multiple small image regions 430 by the second classification learning model 2B are input into the determination learning model 2, whereby the state of the machined surface 100 included in the determination image 42 is determined. Therefore, the state of the machined surface 100 of the determination target object 10 can be automatically determined.

[0140] (Other Embodiments) The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit and scope of the present invention, all of which are included in the technical concept of the present invention.

[0141] For example, in the above embodiment, the determination image area 420 is set to include a portion of one blade of the impeller of the determination target 10 as the processing surface 100 to be determined. In contrast, the determination image area 420 may be set to include multiple blades of the impeller as multiple processing surfaces 100 to be determined by expanding it to the entire impeller. In other words, if the determination target 10 has multiple processing surfaces 100 that have each been processed through different processing steps by the processing unit 3, the determination image area 420 may be set to include the multiple processing surfaces 100.

[0142] In this case, the classification result acquisition unit 70B acquires a determination image 42 in which a plurality of machining surfaces 100 are captured, and sets a determination image area 420 for each machining surface so as to separate the determination image 42 at the boundaries of the plurality of machining surfaces 100. The boundaries of the machining surfaces 100 may be set in advance, or may be set by image processing of the determination image 42. The classification result acquisition unit 70B then acquires classification results for each of a plurality of small image areas 430 obtained by dividing the determination image area 420 for each machining surface. Next, the determination result inference unit 71 infers a determination result for the determination image 42 for each machining surface by inputting the classification results for the plurality of small image areas 430 into the determination learning model 2 for each machining surface.

[0143] Furthermore, in the above embodiment, a case has been described in which CNN (see FIGS. 6 and 7) is employed as a specific method of machine learning by the machine learning unit 62, but any other machine learning method may be employed by the machine learning unit 62. Examples of other machine learning methods include tree-type methods such as decision trees and regression trees, ensemble learning such as bagging and boosting, neural network-type methods (including deep learning) such as recurrent neural networks and convolutional neural networks, clustering-type methods such as hierarchical clustering, non-hierarchical clustering, k-nearest neighbors, and k-means, multivariate analyses such as principal component analysis, factor analysis, and logistic regression, and support vector machines.

[0144] (Machining surface determination program) The present invention can be provided in the form of a program (machining surface determination program) 230 that causes the computer 200 shown in Fig. 2 to function as each unit provided in the machining surface determination device 7 according to the above embodiment. The present invention can also be provided in the form of a program (machining surface determination program) 230 that causes the computer 200 shown in Fig. 2 to execute each step provided in the machining surface determination method according to the above embodiment.

[0145] (Inference Device, Inference Method, and Inference Program) The present invention can be provided not only in the form of the machining surface determination device 7 (machining surface determination method or machining surface determination program) according to the above embodiment, but also in the form of an inference device (inference method or inference program) used to determine the state of the machining surface 100. In this case, the inference device (inference method or inference program) can include a memory and a processor, and the processor executes a series of processes. The series of processes includes a classification result acquisition process (classification result acquisition step) for acquiring, for each of a plurality of small image regions 430 obtained by dividing the determination image region 420 of the determination image 42, a classification result when classifying the state of the machining surface 100 into one of a plurality of machining states, and a judgment result inference process (judgment result inference step) for inferring the state of the machining surface 100 included in the determination image 42 as a judgment result for the determination image 42 after acquiring the classification results for the plurality of small image regions 430 in the classification result acquisition process.

[0146] By providing it in the form of an inference device (inference method or inference program), it can be applied to various devices more easily than when the machining surface judgment device 7 is implemented. It can be naturally understood by those skilled in the art that when the inference device (inference method or inference program) infers the state of the machining surface 100, the inference method implemented by the judgment result inference unit 71 of the machining surface judgment device 7 may be applied using the trained judgment learning model 2 generated by the machine learning device 6 according to the above embodiment.

[0147] The present invention can be used in a machining surface determination device, a machining surface determination program, a machining surface determination method, a machining system, an inference device, and a machine learning device.

[0148] REFERENCE SIGNS LIST 1... Machining system, 2... Determination learning model, 2A... First classification learning model, 2B... Second classification learning model, 3... Machining unit, 4... Imaging unit, 5... Control device, 6... Machine learning device, 7... Machining surface determination device, 8... Worker terminal, 10... Determination target object, 20, 20A, 20B... Inference model, 21... Input layer, 22... Intermediate layer, 22a... Convolution layer, 22b... Pooling layer, 22c... Fully connected layer, 23... Output layer, 40... Captured image, 41... Learning image, 42... Determination image, 43... Small image, 50... Control panel, 51... Operation display panel, 60... Learning data acquisition unit, 61... Learning data storage unit, 62... Machine learning unit, 63... Model storage unit, 70A, 70B... Classification result acquisition unit, 71... Determination result inference unit, 72... Model storage unit, 73... Output processing unit 100... Machining surface, 110... Background, 200... Computer, 400... Captured image area, 410... Learning image area, 411... Learning pixel area, 420... Determination image area, 430... Small image area, 431... Pixel area, 700... Image acquisition unit, 701... Small image generation unit, 702A... First classification result inference unit, 702B... Second classification result inference unit, 703... Pixel classification result acquisition unit

Claims

1. A machined surface judgment device that judges the state of a machined surface based on a judgment image obtained by capturing an image of the machined surface of an object to be judged, comprising: a classification result acquisition unit that acquires, for each of a plurality of small image areas obtained by dividing a judgment image area of ​​the judgment image, a classification result when the state of the machined surface is classified into one of a plurality of machining states, and a judgment result inference unit that infers the judgment result for the judgment image by inputting the classification results for the plurality of small image areas into a judgment learning model that has been machine-learned to determine the correlation between the classification results for a plurality of learning image areas corresponding to the plurality of small image areas and the judgment results when the state of the machined surface in the plurality of learning image areas is judged based on the classification results.

2. The machining surface judgment device according to claim 1, wherein the classification result acquisition unit comprises: an image acquisition unit that acquires the judgment image having the judgment image area; a small image generation unit that generates the plurality of small images from the judgment image by dividing the judgment image area into the plurality of small image areas; and a first classification result inference unit that infers the classification results for the plurality of small image areas by inputting the plurality of small images into a first classification learning model that has been machine-learned to determine the correlation between a training image having the training image area and the classification result when the state of the machining surface included in the training image is classified into one of the plurality of machining states, on a small image area basis.

3. The machining surface judgment device according to claim 1, wherein the classification result acquisition unit comprises: an image acquisition unit that acquires the judgment image having the judgment image area; a small image generation unit that generates the plurality of small images from the judgment image by dividing the judgment image area into the plurality of small image areas; a pixel classification result acquisition unit that acquires, for a plurality of pixel areas constituting each of the plurality of small images, a pixel classification result indicating the classification result for the pixel area on the basis of pixel values ​​within the pixel area, and a second classification result inference unit that infers the classification results for the plurality of small image areas by inputting the pixel classification results for the plurality of pixel areas on the basis of small image area basis to a second classification learning model that has been machine-learned to determine a correlation between the pixel classification results for a plurality of learning pixel areas corresponding to the plurality of pixel areas and the classification results when the state of the machining surface in the plurality of learning pixel areas is classified into one of the plurality of machining states based on the pixel classification results.

4. The machining surface judgment device described in any one of claims 1 to 3, wherein the classification result acquisition unit acquires the classification results for each of a plurality of small image areas obtained by dividing the judgment image area for each of the machining surfaces contained in the judgment image in which the plurality of machining surfaces are captured, and the judgment result inference unit infers the judgment result for the judgment image for each of the machining surfaces by inputting the classification results for the plurality of small image areas into the judgment learning model for each of the machining surfaces.

5. A machined surface judgment device as described in any one of claims 1 to 4, wherein the classification result acquisition unit either classifies the state of the machined surface in each of the plurality of small image areas into one of a plurality of machined states including at least good and bad, or acquires the classification result for each of the plurality of small image areas when the small image area is classified as not to be judged because an edge of the machined surface or a background other than the machined surface is present in the small image area.

6. The machined surface judgment device according to any one of claims 1 to 5, wherein the judgment result inference unit infers at least one of the following as the judgment result: whether or not re-machining is necessary, in which the same machining process as when the machined surface was machined is performed again; whether or not separate machining is necessary, in which a machining process different from that when the machined surface was machined is performed; whether or not finishing machining, in which an operator performs finishing machining on the machined surface, is necessary; and the machining range of the machined surface that is the target for the re-machining, the separate machining, or the finishing machining.

7. A machined surface judgment device according to any one of claims 1 to 6, wherein the machined surface is the surface of the object to be judged when the object to be judged is machined by a polishing process, a grinding process, a cutting process or a casting process.

8. The machined surface judgment device according to any one of claims 1 to 7, wherein the object to be judged is a fluid machine or a fluid part that constitutes the fluid machine.

9. A machined surface determination program that causes a computer to function as the machined surface determination device according to any one of claims 1 to 8.

10. A machining surface determination method for determining the state of a machining surface based on a determination image obtained by capturing an image of the machining surface of an object to be determined, comprising: a classification result acquisition step for acquiring, for each of a plurality of small image areas obtained by dividing the determination image area of ​​the determination image, a classification result when the state of the machining surface is classified into one of a plurality of machining states, and a determination result inference step for inferring the determination result for the determination image by inputting the classification results for the plurality of small image areas into a determination learning model that has been machine-learned to determine the correlation between the classification results for a plurality of learning image areas corresponding to the plurality of small image areas and the determination results when the state of the machining surface in the plurality of learning image areas is determined based on the classification results.

11. A processing system comprising: a processing surface determination device according to any one of claims 1 to 8; a processing unit that processes the object to be determined; an imaging unit that images the processing surface of the object to be determined; and a control unit that controls the processing surface determination device, the processing unit, and the imaging unit.

12. An inference device used to determine the state of a processed surface based on a determination image obtained by capturing an image of the processed surface of an object to be determined, the inference device comprising a memory and a processor, the processor performing a classification result acquisition process for a plurality of small image areas obtained by dividing a determination image area of ​​the determination image, to acquire a classification result for each of the small image areas when the state of the processed surface is classified into one of a plurality of processing states, and a judgment result inference process for inferring the state of the processed surface included in the determination image as a judgment result for the determination image when the classification results for the plurality of small image areas are acquired in the classification result acquisition process.

13. A machine learning device that generates a judgment learning model used in a processed surface judgment device that judges the state of a processed surface of an object to be judged based on a judgment image obtained by capturing an image of the processed surface, the machine learning device comprising: a learning data storage unit that stores, as input data, classification results obtained when the state of the processed surface is classified into one of a plurality of processed states for each of a plurality of learning image areas corresponding to a plurality of small image areas obtained by dividing the judgment image area of ​​the judgment image, and that stores, as output data, judgment results obtained when the state of the processed surface in the plurality of learning image areas is judged based on the classification results; a machine learning unit that learns the judgment learning model by inputting the plurality of sets of learning data, which infers a correlation between the input data and the output data; and a learned model storage unit that stores the judgment learning model learned by the machine learning unit.