Machine learning device, classification device, and control device

The machine learning device addresses the challenge of generating accurate models with minimal data by extracting features from video and operation data, performing semi-supervised learning to efficiently determine worker tasks and update models.

JP7564351B2Active Publication Date: 2024-10-08FANUC LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023518606
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-05-07
Publication Date
2024-10-08
Estimated Expiration
2041-05-07

AI Technical Summary

Technical Problem

Generating trained models and classifiers for worker operations in factories requires a large amount of training data, which is time-consuming and labor-intensive.

Method used

A machine learning device that extracts features from video data, labels specific motions, and performs semi-supervised learning to generate a trained model with high accuracy using a small amount of data, incorporating both video and operation data to create labeling standards and update the model based on corrections.

Benefits of technology

Enables accurate determination of worker tasks with a reduced data requirement, allowing for efficient generation and updating of trained models without additional hardware or significant worker burden.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564351000001
    Figure 0007564351000001
  • Figure 0007564351000002
    Figure 0007564351000002
  • Figure 0007564351000003
    Figure 0007564351000003
Patent Text Reader

Abstract

The present invention requires only a small amount of training data to generate a trained model with a high determination accuracy. This machine learning device comprises: a video data feature extraction unit that extracts a feature of an action performed by a worker from video data including the worker; a training data extraction unit that assigns, if a feature of a specific action registered in advance is extracted, the video data with a label indicating work details of the specific action to extract training data for the video data and the work details; an operation data feature extraction unit that extracts a feature relevant to the extracted training data from operation data of an industrial machine; a label assignment criteria creation unit that creates label assignment criteria for video data and operation data from the feature of the training data and the feature of the operation data; a label assignment unit that assigns labels to unlabeled video data and operation data on the basis of the label assignment criterias for video data and operation data; and a training unit that executes machine learning using training data including labelled video data to generate a trained model for classifying work of a worker on the basis of video data.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a machine learning device, a classification device, and a control device. [Background technology]

[0002] 2. Description of the Related Art In production sites such as factories, the work movements of workers on production lines are analyzed in order to improve work efficiency, and improvements are made to production equipment, work content, and the like. For example, a technique has been proposed in which a worker is fitted with a sensor or laser, the worker is photographed with a video camera, takt unit tasks and minimum unit tasks are extracted from tracking data measured by the sensor, laser, and video camera, feature vectors are calculated from the extracted minimum unit tasks, and the work movements of the worker are analyzed based on the calculated feature vectors to detect work errors, changes in the worker's posture, actual work time, etc. See, for example, Patent Document 1. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2006-209468 A Summary of the Invention [Problem to be solved by the invention]

[0004] Because the operations of setups and other tasks vary depending on the factory and machine, training data must be prepared for each site and machine in order to generate trained models and classifiers that can make accurate judgments. However, deep learning, which generates trained models and classifiers, requires a large amount of training data, and collecting the training data is time-consuming and laborious.

[0005] Therefore, it is desirable to generate a trained model with high judgment accuracy even with a small amount of training data. [Means for solving the problem]

[0006] (1) One aspect of the machine learning device of the present disclosure includes a video data feature extraction unit that extracts features indicative of an action of a worker from video data including the worker captured by at least one camera; a teacher data extraction unit that, when a feature indicative of a specific action registered in advance is extracted from the features extracted by the video data feature extraction unit, labels a task content indicated by the extracted specific action to corresponding video data and extracts teacher data of input data of the labeled video data and label data of the task content; and an operation data feature extraction unit that extracts features related to the extracted teacher data from operation data of an industrial machine. the extracted teacher data including the video data labeled by the label assignment unit, and a label assignment criteria creation unit that creates criteria for assigning labels to video data and criteria for assigning labels to operation data from the features of the video data and the features of the operation data of the extracted teacher data; a label assignment unit that labels unlabeled video data and operation data based on the criteria for assigning labels to the video data and the criteria for assigning labels to the operation data; and a learning unit that performs machine learning using the teacher data including the video data labeled by the label assignment unit, and generates a trained model that classifies the work being performed by a worker from the input video data.

[0007] (2) One aspect of the classification device disclosed herein includes an input unit that inputs a trained model generated by the machine learning device of (1), video data including a worker captured by at least one camera, and a work determination unit that determines the work of the worker from the video data input by the input unit based on the trained model.

[0008] (3) One aspect of the control device of the present disclosure includes the classification device of (2). Effect of the Invention

[0009] According to one embodiment, a trained model with high determination accuracy can be generated even with a small amount of training data. [Brief description of the drawings]

[0010] [Figure 1] FIG. 2 is a functional block diagram illustrating an example of a functional configuration of a control system according to an embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of an image captured by a camera. [Diagram 3] FIG. 13 is a diagram showing an example of a timeline of operations. [Figure 4A] FIG. 13 is a diagram showing an example of a hand gesture indicating a task of tool replacement. [Figure 4B] FIG. 13 is a diagram showing an example of a hand gesture indicating a task of tool replacement. [Diagram 5] FIG. 13 is a diagram showing an example of a setup time width for product A. [Figure 6A] FIG. 13 is a diagram showing an example of teacher data for each task. [Figure 6B] FIG. 13 is a diagram showing an example of teacher data for each task. [Figure 7] FIG. 11 is a diagram illustrating an example of data stored in a determination result storage unit. [Figure 8] 13 is a flowchart illustrating a classification process of the classification device in an operation phase. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. Here, a case where a machine tool is used as an industrial machine will be described as an example. Note that the present invention is also applicable to industrial machines such as industrial robots, service robots, forging machines, and injection molding machines. <One embodiment> 1 is a functional block diagram showing an example of the functional configuration of a control system according to an embodiment. As shown in FIG 1, the control system 1 includes a machine tool 10, a camera 20, a classification device 30, and a machine learning device 40.

[0012] The machine tool 10, the camera 20 that captures video (moving image) at a predetermined frame rate, the classification device 30, and the machine learning device 40 may be directly connected to each other via a connection interface (not shown). The machine tool 10, the camera 20, the classification device 30, and the machine learning device 40 may be connected to each other via a network (not shown) such as a LAN (Local Area Network) or the Internet. In this case, the machine tool 10, the camera 20, the classification device 30, and the machine learning device 40 are provided with a communication unit (not shown) for communicating with each other via such connection. As will be described later, the control device 110 included in the machine tool 10 may include the classification device 30 and the machine learning device 40.

[0013] The machine tool 10 is a machine tool known to those skilled in the art, and includes a control device 110. The machine tool 10 operates based on operation commands from the control device 110.

[0014] Control device 110 is, for example, a numerical control device known to those skilled in the art, generates operation commands based on the control information, and transmits the generated operation commands to machine tool 10. In this way, control device 110 controls the operation of machine tool 10. Specifically, control device 110 is a device that controls machine tool 10 to cause machine tool 10 to perform a predetermined machining process. A machining program describing the operation of machine tool 10 is provided to control device 110. Based on the provided machining program, control device 110 creates operation commands including movement commands for each axis and rotation commands for a motor that drives a spindle, and transmits these operation commands to machine tool 10 to control the motor of machine tool 10. In this way, the predetermined machining process is performed by machine tool 10. Furthermore, the control device 110 transmits operation data of the machine tool 10, including operation commands, opening and closing of doors, motor torque values, etc., to the classification device 30. Furthermore, the control device 110 may add time information indicating the time when the operation commands, opening and closing of doors, motor torque values, etc. were measured, to the operation data based on a clock signal of a clock (not shown) included in the control device 110, and output the data to the classification device 30. Furthermore, the control device 110 may check the time of a clock (not shown) included in the camera 20, which will be described later, at a predetermined time interval, for example, and synchronize them with each other. In addition, when the machine tool 10 is a robot or the like, the control device 110 may be a robot control device or the like. Furthermore, the devices controlled by the control device 110 are not limited to machine tools 10 and robots, but may be widely applied to industrial machines in general. Industrial machines include various machines such as machine tools, industrial robots, service robots, forging machines, and injection molding machines. In this embodiment, the control device 110 is exemplified by a numerical control device.

[0015] Camera 20 is, for example, a digital camera such as a surveillance camera, and is arranged in a factory in which machine tool 10 is arranged. Camera 20 outputs frame images captured at a predetermined frame rate as video to classification device 30. Camera 20 also acquires the time at which each frame image was captured based on a clock signal from a clock (not shown) included in camera 20, and adds time information indicating the acquisition time to the video and outputs the video to classification device 30. Fig. 2 is a diagram showing an example of an image captured by the camera 20. Fig. 2 shows an image of three machine tools 10 captured by the camera 20. Although one camera 20 is arranged in FIG. 1, two or more cameras 20 may be arranged to capture an image of the machine tool 10.

[0016] In the operation phase, the classification device 30 may acquire video captured by the camera 20 and having time information added thereto. Furthermore, the classification device 30 may acquire operation data of the machine tool 10 from, for example, the control device 110. The classification device 30 inputs the acquired video into a trained model provided by the machine learning device 40 described later, thereby being able to determine (classify) the work content being performed on the machine tool 10 by the worker captured in the video. In addition, the classification device 30 may transmit the acquired operation data of the machine tool 10 and the video data captured by the camera 20 to the machine learning device 40 described later. Furthermore, in the operation phase, the classification device 30 may receive a trained model generated by the machine learning device 40 described later, input video data captured by the camera 20 into the received trained model, thereby determining (classifying) the work content of the worker in the video, and display the determination result on a display unit (not shown) such as a liquid crystal display included in the control device 110. If the determination result is incorrect, the classification device 30 may obtain the correct work content input in the control device 110, and output the input data of the determined video data and the obtained label data of the correct work content to the machine learning device 40, thereby causing the machine learning device 40 to update the trained model.

[0017] Before describing the classification device 30, machine learning for generating a trained model will be described.

[0018] <Machine Learning Device 40> The machine learning device 40, for example, acquires video data captured by the camera 20, and extracts features indicative of the actions of the worker from the acquired video data, as described below. When the machine learning device 40 extracts a hand gesture feature as a specific movement of a pre-registered worker from the extracted features, as described below, it labels the corresponding video data with a label of the work content indicated by the extracted hand gesture, and extracts teacher data of the input data of the labeled video data and the label data of the work content. In addition, the machine learning device 40 acquires operation data of the machine tool 10, extracts features related to the above-mentioned teacher data from the acquired operation data, as described below, and creates criteria for assigning labels to video data and criteria for assigning labels to operation data from the extracted features of the teacher data and operation data, as described below. The machine learning device 40 labels at least unlabeled video data based on a criterion for assigning labels to video data and a criterion for assigning labels to operational data. The machine learning device 40 performs supervised learning using teacher data (training data) including newly labeled video data, and constructs a trained model, which will be described later. In this way, the machine learning device 40 can construct a trained model with high judgment accuracy even with a small amount of training data, and can provide the constructed trained model to the classification device 30. The machine learning device 40 will now be described in detail.

[0019] As shown in FIG. 1, the machine learning device 40 has a video data acquisition unit 401, a video data feature extraction unit 402, a teacher data extraction unit 403, an operation data acquisition unit 404, an operation data feature extraction unit 405, a label assignment criteria creation unit 406, a label assignment unit 407, a learning unit 408, and a memory unit 409.

[0020] The storage unit 409 is, for example, a read only memory (ROM) or a hard disk drive (HDD), and stores a system program and a machine learning application program executed by a processor (not shown) included in the machine learning device 40. The storage unit 409 also stores a trained model generated by the training unit 408, which will be described later, and has a teacher data extraction sign storage unit 4091. The teacher data extraction sign storage unit 4091 stores, for example, the work content to be assigned as a label and a specific action (hand gesture, etc.) indicating each work content in association with each other. FIG. 3 is a diagram showing an example of a timeline of tasks. 3, the work contents include "standby," "preparation for product A," "cleaning," and "tool change." In addition, the work contents may be freely defined by a user such as a worker, such as "preparation for product B." 4A and 4B are diagrams showing examples of hand gestures indicating the work content of tool exchange. Fig. 4A shows an example of a hand gesture indicating the start of tool exchange, and Fig. 4B shows an example of a hand gesture indicating the end of tool exchange. That is, the worker makes hand gestures (specific actions) registered in advance for each task, such as tool replacement, toward the camera 20 at the start and end of each task to clearly indicate which task he or she is performing. This allows the video data to be given a label of the task indicated by the hand gesture, and can be used as training data. This makes it easy to collect training data for generating a trained model that can determine work content from video data.

[0021] The video data acquisition unit 401 acquires video data including a worker captured by the camera 20 via the classification device 30.

[0022] The video data feature amount extraction unit 402 extracts feature amounts indicating the actions of the worker from the acquired video data. Specifically, the video data feature extraction unit 402 extracts feature values ​​of the time series data of the coordinates and angles of the joints of the worker's body (fingers, arms, legs, etc.) from the video data to which time information is added using a known method (for example, Kosuke Kanno, Kenta Oku, and Kyoji Kawagoe, "Motion Detection and Classification Method from Multidimensional Time Series Data," DEIM Forum 2016 G4-5, or Shohei Uezono and Satoshi Ono, "Feature Extraction of Multimodal Sequence Data Using LSTM Autoencoder," Japanese Society for Artificial Intelligence Study Group Materials, SIG-KBS-B802-01, 2018). In addition, the video data feature extraction unit 402 obtains statistical feature values ​​(average value, peak value, etc.) extracted from the time series data of the coordinates and angles of the body joints extracted from the video data. In addition, the video data feature extraction unit 402 determines detailed movements from the coordinates and angles of the body joints and extracts features (whether or not the movements are detailed movements that constitute a setup, such as numerical control (NC) operations or work within the machine tool 10, and if they are setups, the time of the setup, etc.).

[0023] Furthermore, the video data feature amount extraction unit 402 may extract features indicative of the actions of the worker, using operation data of the machine tool 10 acquired by an operation data acquisition unit, which will be described later. For example, the video data feature extraction unit 402 may grasp the timing of opening and closing the door of the machine tool 10 from the operation data, and if there is a part in the video data that changes at the same timing, determine that the part is the door of the machine tool 10. In this way, the video data feature extraction unit 402 can extract a feature of "working inside the machine tool" when the worker has his or her upper body in that part. In addition, the video data feature extraction unit 402 may extract a feature such as "working with an automatic tool changer (ATF)" when the worker's upper body is facing upwards of the machine tool 10, and may extract a feature such as "working at a table" when the worker's upper body is facing downwards of the machine tool 10. Furthermore, when the operation data shows a portion where the worker presses a button at the timing of the worker's NC operation, the video data feature extraction unit 402 may determine the portion as an NC area. In this way, the video data feature extraction unit 402 can extract the feature of "NC operation" when the worker places his / her hand on the portion.

[0024] When the teacher data extraction unit 403 extracts a feature indicating a hand gesture, which is a specific pre-registered action, from the features extracted by the video data feature extraction unit 402, the teacher data extraction unit 403 labels the work content indicated by the extracted hand gesture to the corresponding video data, and extracts a pair of the input data of the labeled video data and the label data of the work content as teacher data.

[0025] The operation data acquisition unit 404 acquires operation data of the machine tool 10 via the classification device 30.

[0026] Operation data feature amount extraction unit 405 extracts feature amounts related to the teacher data extracted from the operation data of machine tool 10. Specifically, the operation data feature extraction unit 405 calculates a time width from the start and end times of the tasks in the teacher data extracted by the teacher data extraction unit 403, or calculates the average time width for each labeled task. FIG. 5 is a diagram showing an example of the setup time width for product A. As shown in FIG. 5, the operation data feature extraction unit 405 cuts out time at the time width of the setup for product A calculated with overlapping, and for each cut-out time, extracts from the operation data of the machine tool 10 signal information of the machine tool 10 related to the work to be classified (opening and closing of the chuck, abnormal values ​​of the tool calculated from the motor torque, etc.), information for determining whether the same machining is being performed (machining program, serial number), and the operating status of the machine tool 10 and changes in the operating status (for example, changes in the work content, such as from a tool change alarm to a return to normal operation) as features of the operation data. In addition, similar to the case of the operation data feature extraction unit 405, the video data feature extraction unit 402 may cut out the video data at the time width of each task calculated while overlapping, and extract the feature of the video data for that time.

[0027] The label assignment criteria creation unit 406 creates criteria for assigning labels to the video data and criteria for assigning labels to the operational data from the features of the video data and the operational data of the extracted teacher data. 6A and 6B are diagrams showing an example of teacher data for each task. FIG. 6A shows teacher data for setup tasks (operational status is stopped), and FIG. 6B shows teacher data for tool replacement (operational status is alarmed). The chuck opening / closing signal in FIG. 6A changes from "closed" to "open" at the start of work in the machine tool, and changes from "open" to "closed" at the end of work in the machine tool. On the other hand, the chuck opening / closing signal in FIG. 6B remains "closed" during work in the machine tool. The operating status includes operating, (network) disconnected, emergency stop, paused, manual operation, warm-up operation, etc. 6A and 6B, the labeling criteria creation unit 406 calculates, for example, an average of the features extracted by the video data feature extraction unit 402. For each task of the training data, the labeling criteria creation unit 406 calculates a distance, such as a Mahalanobis distance, between the calculated average of the features and the features of unlabeled video data as a criterion for assigning a label to the video data. 6A and 6B, the labeling criteria creation unit 406 calculates an average of the features extracted by the operation data feature extraction unit 405. For each operation of the teacher data, the labeling criteria creation unit 406 calculates a distance, such as a Mahalanobis distance, between the calculated average of the features and the features of unlabeled operation data as a criterion for assigning a label to the operation data. Note that, although the label assignment criteria creation unit 406 calculates the distance, the present invention is not limited to this, and may perform, for example, machine learning (e.g., a decision tree algorithm such as CART (Classification And Regression Tree)) to create a classifier and calculate the probability of which task it is classified into.

[0028] The label assignment unit 407 assigns labels to unlabeled video data and operational data through semi-supervised learning, based on a criterion for assigning labels to video data and a criterion for assigning labels to operational data. Specifically, the labeling unit 407 calculates a weighted distance (standard) based on the distance (standard) between the video data and the operational data calculated by the labeling standard creating unit 406 and (Equation 1), and if the calculated distance is smaller than a certain distance, labels the unlabeled video data and the operational data. Note that the weighting coefficients "0.8" and "0.2" are merely examples, and any value may be used. (Formula 1) Distance using two criteria = Distance calculated from video data x 0.8 + distance calculated from operational data x 0.2

[0029] The labeling unit 407 may also determine which label to assign to unlabeled video data and operational data. In this way, the labeling unit 407 can label complex tasks with a small amount of training data, and even if there are some differences in the video data, labeling is possible because the features of the operation data are almost the same.

[0030] In addition, when the label assignment criteria creation unit 406 calculates a probability as a criterion for the video data and the operational data, the label assignment unit 407 calculates a weighted probability based on the probability (criterion) of the video data and the operational data and (Equation 2), and if the calculated probability is smaller than a certain probability, the label assignment unit 407 may assign labels to the unlabeled video data and the operational data. (Formula 2) Probability using two criteria = Probability calculated from video data x 0.8 + Probability calculated from operational data x 0.2

[0031] Furthermore, the criteria for assigning labels (e.g., the average value of the feature amount) may be updated sequentially using the labeled video data and the operation data. For example, the labeling criteria creation unit 406 may recalculate the criteria from the teacher data and the labeled data based on a known method (e.g., co-training of the bootstrap method, etc.), and the labeling unit 407 may perform labeling based on the criteria.

[0032] The learning unit 408 performs machine learning (e.g., gradient boosting, neural network, etc.) using training data including the video data labeled by the labeling unit 407, and constructs a trained model 361 that classifies the work being performed by the worker from the input video data. Then, the learning unit 408 provides the constructed trained model 361 to the classification device 30. In addition, after providing the trained model 361 to the classification device 30, if the learning unit 408 acquires training data from the classification device 30 that is a pair of input data of new video data and label data of work content, the learning unit 408 may perform machine learning again using the acquired training data to update the trained model 361.

[0033] Furthermore, the learning unit 408 may perform online learning, batch learning, or mini-batch learning. Online learning is a learning method in which supervised learning is performed immediately each time teacher data is obtained from the classification device 30. Batch learning is a learning method in which, while teacher data is repeatedly obtained from the classification device 30, multiple pieces of teacher data are collected according to the repetitions, and supervised learning is performed using all of the collected teacher data. Mini-batch learning is a learning method intermediate between online learning and batch learning, in which supervised learning is performed each time a certain amount of teacher data is accumulated. The above describes the machine learning for generating the trained model 361 included in the classification device 30. Next, the classification device 30 in the operation phase will be described.

[0034] <Classification device 30 in the operational phase> As shown in FIG. 1, the classification device 30 in the operation phase includes an input unit 301 , an operation judgment unit 302 , a judgment result writing unit 303 , a judgment result correction reading unit 304 , a judgment data analysis unit 305 , and a memory unit 306 . The classification device 30 includes a processor (not shown) such as a central processing unit (CPU) to realize the operation of the functional blocks in Fig. 1. The classification device 30 also includes auxiliary storage devices (not shown) such as a ROM or HDD that stores various control programs, and a main storage device (not shown) such as a RAM for storing data temporarily required for the processor to execute the programs.

[0035] In the classification device 30, the arithmetic processing unit reads the OS and application software from the auxiliary storage device, and performs arithmetic processing based on the OS and application software while expanding the read OS and application software in the main storage device. Based on the results of this calculation, the classification device 30 controls each piece of hardware. In this way, the processing by the functional blocks in FIG. 1 is realized. In other words, the classification device 30 can be realized by the cooperation of hardware and software.

[0036] The storage unit 306 is a ROM, a HDD, etc., and may have a trained model 361 and a judgment result storage unit 362 in addition to various control programs. The judgment result storage section 362 stores the judgment result for the video data judged by the work judgment section 302 described below in association with the feature amount of the judged video data.

[0037] The input unit 301 inputs video data including a worker captured by the camera 20 .

[0038] The work determination unit 302 determines the work of the worker from the video data input by the input unit 301 based on the trained model 361.

[0039] The judgment result writing unit 303 displays the judgment result of the work judgment unit 302 on a display unit (not shown) of the control device 110. This allows the worker to judge whether the classification by the trained model 361 is good or bad.

[0040] If there is an error in the judgment result, the judgment result correction reading unit 304 acquires the correct work content input by the worker via an input unit (not shown) such as a keyboard or touch panel included in the control device 110, outputs the input data of the judged video data and the label data of the acquired correct work content to the machine learning device 40, and causes the machine learning device 40 to update the trained model 361. Reading the results and writing the modifications may be performed using, for example, the storage unit 306 or a PMC area, which will be described later.

[0041] The judgment data analysis unit 305 detects the presence or absence of an abnormality in the feature amount based on the judgment result stored in the judgment result storage unit 362 and the feature amount in the judged video data. Specifically, the judgment data analysis unit 305 uses a known unsupervised anomaly detection algorithm, such as the k-nearest neighbor method, to detect the presence or absence of anomalies in the features from the same result data in the judgment result storage unit 362, as shown in FIG. 7. Alternatively, for example, if there are 100 pieces of video data determined to be setup work, and a feature of the chuck opening / closing signal changing from ON (open) to OFF (closed) is detected in 99 pieces of video data, and a feature of the chuck opening / closing signal changing from ON (open) to OFF (closed) is not detected in one piece of video data, the determination data analysis unit 305 may determine that the one piece of video data that was not detected is abnormal. Note that the one piece of video data determined to be abnormal in this way can also be determined to be abnormal by a known unsupervised anomaly detection algorithm such as the k-nearest neighbor method described above. When the judgment data analysis unit 305 detects an abnormality in the characteristic amount of the chuck opening / closing signal or the like, the judgment data analysis unit 305 may display the detection result on a display unit (not shown) of the control device 110. In this way, the judgment data analysis unit 305 detects an abnormality in the characteristic amount of the chuck opening / closing signal or the like, thereby finding an error in the judgment result and detecting an abnormality in the work content.

[0042] <Classification process of the classification device 30 in the operation phase> Next, the operation of the classification process of the classification device 30 according to this embodiment will be described. 8 is a flowchart illustrating the classification process of the classification device 30 in the operation phase. The flow shown here is repeatedly executed while video data is being input from the camera 20.

[0043] In step S11, image data including a worker captured by the camera 20 is input.

[0044] In step S12, the work determination unit 302 inputs the video data input in step S11 into the trained model 361 and determines the work of the worker.

[0045] In step S13, the determination result writing unit 303 displays the determination result in step S12 on a display unit (not shown) of the control device 110.

[0046] In step S14, the judgment result correction reading unit 304 judges whether or not the correct work content input by the worker via the input unit (not shown) of the control device 110 has been acquired. If the correct input work content has been acquired, the process proceeds to step S15. On the other hand, if the correct input work content has not been acquired, the process proceeds to step S16.

[0047] In step S15, the judgment result correction reading unit 304 outputs the input data of the judged video data and the acquired label data of the correct work content to the machine learning device 40, and causes the machine learning device 40 to update the trained model 361.

[0048] In step S16, the judgment data analysis unit 305 detects the presence or absence of an abnormality in the feature amount based on the judgment result stored in the judgment result storage unit 362 and the feature amount in the judged video data.

[0049] As described above, the machine learning device 40 according to one embodiment extracts teacher data of the input data of the video data for the period and the label data of the task by the worker making a hand gesture for each task toward the camera 20, and also uses the operation data of the machine tool 10 collected at the same time as the teacher data to create a standard for labeling the video data and the operation data. Based on the created standard, the machine learning device 40 labels the video data that is not labeled from the viewpoints of both the video data and the operation data by semi-supervised learning. As a result, the machine learning device 40 can generate a trained model with high judgment accuracy even with a small amount of teacher data, and can easily generate the trained model 361 without requiring a new device and with little burden on the worker. In addition, the classification device 30 can use the trained model 361 to easily classify and recognize any complex task being performed by a worker from the camera 20.

[0050] Although one embodiment has been described above, the classification device 30 and the machine learning device 40 are not limited to the above-described embodiment, and include modifications and improvements within the scope that can achieve the objectives.

[0051] <Variation 1> In the above-described embodiment, the machine learning device 40 is exemplified as a device different from the control device 110 and the classification device 30, but some or all of the functions of the machine learning device 40 may be provided by the control device 110 or the classification device 30.

[0052] <Variation 2> Further, for example, in the above embodiment, the classification device 30 is exemplified as a device different from the control device 110, but the control device 110 may have some or all of the functions of the classification device 30. Alternatively, some or all of the input unit 301, the work judgment unit 302, the judgment result writing unit 303, the judgment result correction reading unit 304, the judgment data analysis unit 305, and the storage unit 306 of the classification device 30 may be provided in a server, for example. Also, each function of the classification device 30 may be realized by using a virtual server function or the like on a cloud. Furthermore, the classification device 30 may be a distributed processing system in which the functions of the classification device 30 are appropriately distributed among a plurality of servers.

[0053] <Modification 3> Also, for example, in the above embodiment, the learning unit 408 performs machine learning using training data of a pair of input data of video data and label data of work content to construct a trained model 361 that classifies the work performed by a worker from the input video data, but this is not limited to the above. For example, if the work determination unit 302 of the classification device 30 can acquire both video data and operation data, the learning unit 408 may perform machine learning using training data of input data of video data and operation data and label data of work content to construct a trained model 361 that classifies the work performed by a worker from the input video data and operation data.

[0054] In one embodiment, each function included in the classification device 30 and the machine learning device 40 can be realized by hardware, software, or a combination of these. Here, being realized by software means being realized by a computer reading and executing a program.

[0055] Each component included in the classification device 30 and the machine learning device 40 can be realized by hardware including electronic circuits, software, or a combination of these. When realized by software, a program constituting this software is installed in a computer. These programs may be recorded on removable media and distributed to users, or may be distributed by being downloaded to the user's computer via a network. When configured by hardware, some or all of the functions of each component included in the above devices can be configured by integrated circuits (ICs), such as ASICs (Application Specific Integrated Circuits), gate arrays, FPGAs (Field Programmable Gate Arrays), and CPLDs (Complex Programmable Logic Devices).

[0056] The program can be stored and provided to the computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs). The program may also be provided to the computer by various types of transitory computer readable media. Examples of the transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The transitory computer readable media can provide the program to the computer via wired communication paths such as electric wires and optical fibers, or wireless communication paths.

[0057] In addition, the steps of writing a program to be recorded on a recording medium include not only processes that are performed chronologically according to the order, but also processes that are not necessarily performed chronologically but are executed in parallel or individually.

[0058] In other words, the machine learning device, classification device, and control device disclosed herein can take on a variety of different embodiments having the following configurations.

[0059] (1) The machine learning device 40 disclosed herein includes a video data feature extraction unit 402 that extracts features indicative of an action of a worker from video data including a worker captured by at least one camera 20; a teacher data extraction unit 403 that, when a feature indicative of a specific action registered in advance is extracted from the features extracted by the video data feature extraction unit 402, labels the work content indicated by the extracted specific action to the corresponding video data and extracts teacher data of the input data of the labeled video data and the label data of the work content; and an operation data feature extraction unit 404 that extracts features related to the extracted teacher data from operation data of the machine tool 10. 5, a label assignment criteria creation unit 406 that creates criteria for assigning labels to video data and criteria for assigning labels to operation data from the features of the video data and the features of the operation data of the extracted teacher data, respectively, a label assignment unit 407 that labels unlabeled video data and operation data based on the criteria for assigning labels to video data and the criteria for assigning labels to operation data, and a learning unit 408 that performs machine learning using teacher data including the video data labeled by the label assignment unit 407 to generate a trained model 361 that classifies the work being performed by a worker from the input video data. According to this machine learning device 40, it is possible to generate a trained model with high judgment accuracy even with a small amount of training data.

[0060] (2) In the machine learning device 40 described in (1), the video data feature extraction unit 402 may extract features indicative of the movements of a worker within the machine tool 10 from the video data, or features indicative of operations of the machine tool 10 by the worker, based on the timing of changes in the machine tool 10 in the video data and the operation data. In this way, the machine learning device 40 can generate a trained model 361 that can determine the work content of a worker in more detail.

[0061] (3) In the machine learning device 40 described in (1) or (2), the label assignment criteria creation unit 406 may calculate an average of the features extracted by the video data feature extraction unit 402 for each teacher data task, and use, for each teacher data task, the distance between the calculated average of the features and the features of unlabeled video data as a criterion for assigning a label for the video data; and may calculate an average of the features extracted by the operation data feature extraction unit 405 for each teacher data task, and use, for each teacher data task, the distance between the calculated average of the features and the features of unlabeled operation data as a criterion for assigning a label for the operation data. In this way, the machine learning device 40 enables labeling of complex tasks with a small amount of training data.

[0062] (4) The classification device 30 of the present disclosure includes a trained model 361 generated by a machine learning device 40 described in any one of (1) to (3), an input unit 301 that inputs video data including a worker captured by at least one camera 20, and a work judgment unit 302 that judges the work of the worker from the video data input by the input unit 301 based on the trained model 361. According to this classification device 30, the work of the worker can be determined with high accuracy from the video data.

[0063] (5) The classification device 30 described in (4) may be provided with a judgment result writing unit 303 that displays the judgment result of the work judgment unit 302 on the control device 110 that controls the machine tool 10, and a judgment result correction reading unit 304 that, when the judgment result is erroneous, acquires the correct work content input in the control device 110, outputs the input data of the judged video data and the label data of the acquired correct work content to the machine learning device 40, and causes the machine learning device 40 to update the trained model 361. In this way, the worker can judge the quality of the classification by the trained model 361, and the classification device 30 can update the trained model 361 by receiving the correct work content from the worker.

[0064] (6) The classification device 30 described in (4) or (5) may be provided with a judgment data analysis unit 305 that detects the presence or absence of an abnormality in the features based on the judgment result of the work judgment unit 302 and the features in the judged video data. In this way, the classification device 30 can detect an abnormality, thereby understanding an error in the judgment result and detecting an abnormality in the work content.

[0065] (7) The machine learning device 40 according to any one of (1) to (3) may be provided. In this way, the classification device 30 can achieve the same effects as any one of (1) to (6) described above.

[0066] (8) The control device 110 of the present disclosure includes a classification device 30 described in any one of (4) to (7). According to this control device 110, it is possible to achieve any one of the effects (1) to (7) described above. [Explanation of symbols]

[0067] 1. Control System 10 Machine tools 110 Control device 20 Camera 30 Classifier 301 Input section 302 Work judgment section 303 Judgment result writing unit 304 Judgment result correction reading unit 305 Judgment Data Analysis Unit 361 trained models 362 Judgment result storage unit 40 Machine Learning Device 401 Video data acquisition unit 402 Video data feature extraction unit 403 Teacher Data Extraction Unit 404 Operation Data Acquisition Department 405 Operational Data Feature Extraction Unit 406 Labeling Standards Creation Department 407 Labeling Department 408 Learning Department 4091 Teacher Data Extraction Sign Memory Unit

Claims

1. a video data feature extraction unit that extracts features indicative of a motion of a worker from video data including the worker captured by at least one camera; a teacher data extraction unit which, when a feature indicating a specific action registered in advance is extracted from the features extracted by the video data feature extraction unit, labels the work content indicated by the extracted specific action to the corresponding video data, and extracts teacher data of the input data of the labeled video data and the label data of the work content; an operation data feature extraction unit that extracts a feature related to the extracted teacher data from the operation data of the industrial machine; a labeling criterion creation unit that creates a criterion for assigning a label to the video data and a criterion for assigning a label to the operational data from the extracted feature amounts of the video data of the teacher data and the feature amounts of the operation data; a label assignment unit that assigns labels to unlabeled video data and operational data based on a criterion for assigning a label for the video data and a criterion for assigning a label for the operational data; a learning unit that performs machine learning using the teacher data including the video data labeled by the labeling unit to generate a trained model that classifies the work performed by a worker from the input video data; A machine learning device comprising:

2. 2. The machine learning device according to claim 1, wherein the video data feature extraction unit extracts, from the video data, a feature that indicates a motion of the worker within the industrial machine, or a feature that indicates an operation of the industrial machine by the worker, based on a timing of a change in the industrial machine in the video data and the operation data.

3. 3. The machine learning device of claim 1, wherein the labeling criterion creation unit calculates an average of the features extracted by the video data feature extraction unit for each task of the teacher data, and uses, for each task of the teacher data, a distance between the calculated average of the features and the features of unlabeled video data as a criterion for assigning a label for the video data, and calculates an average of the features extracted by the operation data feature extraction unit for each task of the teacher data, and uses, for each task of the teacher data, a distance between the calculated average of the features and the features of unlabeled operation data as a criterion for assigning a label for the operation data.

4. A trained model generated by the machine learning device according to any one of claims 1 to 3; an input unit for inputting video data including a worker captured by at least one camera; A work determination unit that determines the work of the worker from the video data input by the input unit based on the trained model; A classification device comprising:

5. a judgment result writing unit that displays a judgment result of the work judgment unit on a control device that controls the industrial machine; and a judgment result correction reading unit that, when the judgment result is erroneous, acquires correct work content input in the control device, outputs input data of the judged video data and label data of the acquired correct work content to the machine learning device, and causes the machine learning device to update the trained model.

6. The classification device according to claim 4 , further comprising a judgment data analysis section configured to detect the presence or absence of an abnormality in the feature amount based on a judgment result of the operation judgment section and the feature amount in the judged video data.

7. A classification device according to any one of claims 4 to 5, comprising a machine learning device according to any one of claims 1 to 3.

8. A control device comprising a classification device according to any one of claims 4 to 7.

Citation Information

Patent Citations

  • Pedestrian re-identification method and device based on semi-supervised learning

    CN111563424A

  • Work operation analysis device, work operation analysis method and work operation analysis program

    JP2006209468A

  • Movement state recognition model learning device, movement state recognition device, method, and program

    JP2018198028A

  • Information processing apparatus, information processing method and program

    JP2020144660A

  • Generating and augmenting transfer learning datasets with pseudo-labeled images

    US20200082210A1