Deep learning-based real-time process monitoring system and method
The deep learning-based system efficiently monitors and classifies manufacturing processes by analyzing real-time images to detect abnormalities, addressing resource constraints and process stage classification challenges.
Patent Information
- Application Number
- JP2023504076
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-08-20
- Filing Date
- 2021-08-20
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-08-20
AI Technical Summary
Existing video-based process monitoring systems struggle to classify process stages and require significant resources for real-time processing, making it difficult to monitor and detect abnormalities in manufacturing processes.
A deep learning-based system that classifies objects into moving, state, and vector objects, using AI image classification neural networks to analyze real-time images, detect features, and compare patterns to classify processes and detect abnormalities.
The system efficiently monitors process progress and detects abnormalities using fewer resources, improving performance and accuracy by classifying processes and objects in real-time without requiring communication with process control devices.
Smart Images

Figure 0007541182000019 
Figure 0007541182000020 
Figure 0007541182000017
Abstract
Description
[Technical field]
[0001] The present invention relates to a deep learning-based real-time process monitoring system and method for monitoring the progress of a production process in real time through video, checking the progress through object detection, and detecting anomalies. [Background technology]
[0002] The technology of monitoring specific areas or objects using video is applied not only to security systems but also to various other fields such as checking road conditions and production facilities. It is also introduced into production processes to monitor the progress of the process and check the status of objects during the process.
[0003] Korean Patent Registration No. 10-2277162 relates to an industrial robot monitoring device and an operating method thereof, which captures images of an industrial robot through a camera while the robot is performing a designated task, and detects abnormalities in the robot's movements by analyzing the captured images.
[0004] However, while this method can detect abnormalities when the robot's movements differ, it does not classify the process steps, so there is a problem in that when the same task is repeated within a process, it is not possible to determine which process the corresponding image corresponds to.
[0005] Furthermore, in order to monitor the entire process and separate each process, a large amount of video streams must be processed in real time, but this is difficult to implement because video processing consumes a lot of resources.
[0006] Therefore, in monitoring a process using images continuously acquired from a fixed camera, a method is needed to improve processing performance and accuracy for streaming images and to effectively monitor the process. Summary of the Invention [Problem to be solved by the invention]
[0007] The present invention has been created in response to the above-mentioned needs, and aims to provide a deep learning-based real-time process monitoring system and method thereof that monitors the progress of a process in real time using image recognition technology and detects anomalies using the state of an object extracted from the image.
[0008] Another object of the present invention is to provide a deep learning-based real-time process monitoring system and method for detecting error trends and abnormality occurrences in an ongoing process by classifying the process using extracted object patterns. [Means for solving the problem]
[0009] In order to achieve the above object, the deep learning-based real-time process monitoring system according to the present invention includes a learning device that classifies and registers objects recognized during a process into moving objects, state objects, and vector objects and performs deep learning-based learning; and a monitoring device that detects features for the moving objects, state objects, and vector objects from real-time video acquired during the progress of the process based on a model learned by the learning device, classifies the process by comparing a real-time feature pattern set from a set of each extracted feature with a previously stored process feature pattern, and monitors the progress of the process by detecting abnormalities for the process and the objects.
[0010] The monitoring device includes an image acquisition unit including a plurality of cameras installed on equipment performing a process; an object detection unit that classifies objects included in the process into the moving object, the state object, and the vector object and detects object features from the real-time image; a process classification unit that detects the real-time feature pattern by analyzing the detected object features on a frame-by-frame basis, compares it with the process feature pattern, and classifies the process according to the similarity; and an anomaly detection unit that detects anomalies from the real-time feature pattern and the object features.
[0011] The object detection unit obtains a difference between a frame of a first time and a frame of a second time by analyzing an image on a frame-by-frame basis for the moving object, detects a change in the object contained in each frame, and performs post-processing through an expansion and growth calculation.
[0012] The object detection unit performs outline detection and grouping on the post-processed frames, deletes or merges duplicated boxes for each box generated through grouping, and expands the boxes. It is characterized in that it determines the shape of each image using an AI image classification neural network to extract features for the moving object.
[0013] The process classification unit analyzes the similarity by comparing the real-time feature pattern with the process feature pattern, and classifies the process based on the process feature pattern having the highest similarity.
[0014] The process classification unit performs a matching operation by analyzing patterns of the process feature pattern and the real-time feature pattern in a branching manner, and during process classification, slides a plurality of process feature patterns in advance and processes them in parallel, and compares the real-time feature pattern extracted for each frame with all of the plurality of process feature patterns.
[0015] The process classification unit sets feature sets for the moving objects, the state objects, and the vector objects whose features are detected from a frame at timestamp t, calculates a loss function by comparing a previously set process feature set with a real-time feature set acquired in real time, calculates a loss value through a loss function obtained by comparing feature sets of each frame for a plurality of frames, and calculates a loss value through a time-series loss function according to the number of timestamps for the plurality of frames.
[0016] The process classification unit sets a start inspection section and an end inspection section for the process feature pattern based on data for the start and end time points of the process, performs a loss inspection with the real-time feature pattern for each branch of the real-time image, and determines that the process has started or ended if a loss value calculated between each feature set for the start inspection section or the end inspection section and a feature set of the real-time feature pattern is smaller than a second threshold value.
[0017] The anomaly detection unit calculates a loss value by comparing a plurality of features extracted corresponding to a plurality of objects with already stored data, and detects an anomaly for any one of the objects based on the magnitude and time change of the loss value for the plurality of objects, and the time for which the loss value is maintained at or above a certain value.
[0018] The anomaly detection unit is characterized in that even if it is determined that one of the plurality of objects has an abnormality, if the similarity between the real-time feature pattern and the process feature pattern is equal to or less than a certain value, the anomaly detection unit excludes the object from the anomaly determination.
[0019] An operating method of the deep learning based real-time process monitoring system of the present invention includes the steps of classifying and registering objects recognized during a process into moving objects, status objects and vector objects through test operations of the process, and learning based on deep learning; detecting features for the moving objects, status objects and vector objects from real-time images acquired during the progress of the process based on the learned data; comparing a real-time feature pattern set from a set of each extracted feature with a previously stored process feature pattern to classify the process; determining the features for the objects and the progress status of the process and detecting abnormalities; and storing data on the progress status of the process.
[0020] The feature detection step further includes a step of mapping object detection results between frames of the real-time image through tracking and tracking and detecting the moving object; a step of obtaining a difference between a first-time frame and a second-time frame by analyzing the real-time image on a frame-by-frame basis, detecting changes in the object contained in each frame, and post-processing through dilation and proliferation operations; a step of performing outline detection and grouping on the post-processed frames; a step of deleting or merging overlapping boxes for each box generated through grouping and expanding the box; and a step of determining the shape of each image of the box using an AI image classification neural network and extracting features for the moving object.
[0021] The step of classifying the process further includes the steps of: setting feature sets for the moving object, the state object, and the vector object whose features are detected from a frame at timestamp t of the real-time video; calculating a loss function by comparing the previously set process feature set with a feature set acquired in real time; and calculating a loss function obtained by comparing the feature set of each frame for a plurality of frames and a time series loss function based on the number of timestamps for the plurality of frames.
[0022] The step of classifying the process further includes the steps of setting a start inspection section and an end inspection section for the process feature pattern based on data for the start and end time points of the process; performing a loss inspection with the real-time feature pattern for each branch of the real-time image; and determining that the process has started or ended if a loss value calculated between each feature set for the start inspection section or the end inspection section and a feature set of the real-time feature pattern is smaller than a second threshold value.
[0023] The anomaly detecting step further includes the steps of: calculating each loss value by comparing a plurality of features extracted corresponding to a plurality of objects with already stored data; detecting an anomaly for any one of the objects based on the magnitude and time change of the loss value for the plurality of objects, and the time during which the loss value is maintained at or above a certain value; and excluding any one of the plurality of objects from the anomaly determination if the similarity between the real-time feature pattern and the process feature pattern is below a certain value even when it is determined that there is an anomaly in the one of the plurality of objects. Effect of the Invention
[0024] According to one aspect, a deep learning-based real-time process monitoring system and method according to the present invention detects objects by analyzing real-time video, extracts patterns of time-series changes in the detected objects, classifies processes that are actually being carried out through similarity analysis, detects process abnormalities, and checks process change trends.
[0025] The present invention can classify processes and detect abnormalities based on images acquired through a camera even when there is no communication with equipment that controls the progress of the processes.
[0026] The present invention can easily detect abnormalities in an object by analyzing the state of the object for each process.
[0027] The present invention has the advantage that a process can be monitored by processing images in real time using few resources, and the performance of monitoring and anomaly detection can be improved. [Brief description of the drawings]
[0028] [Figure 1] FIG. 1 is a simplified diagram illustrating the configuration of a deep learning-based real-time process monitoring system according to one embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing a simplified configuration of the process monitoring device of FIG. [Diagram 3] 1 is a flowchart illustrating an operation method of a deep learning-based real-time process monitoring system according to an embodiment of the present invention. [Figure 4] FIG. 2 is a reference diagram for explaining object detection in a deep learning-based real-time process monitoring system according to one embodiment of the present invention. [Diagram 5] FIG. 2 is a reference diagram for explaining a process classification process of a deep learning-based real-time process monitoring system according to one embodiment of the present invention. [Figure 6] FIG. 6 is a reference diagram for explaining a loss function of a feature set in the process classification process of FIG. 5 . [Figure 7]6 is a reference diagram for explaining a method of processing an image on a frame-by-frame basis in the process classification process of FIG. 5. [Figure 8] FIG. 6 is a reference diagram for explaining a method of matching patterns in the process classification process of FIG. 5. [Figure 9] This is a reference diagram for explaining a method of determining the start and end of a process in a deep learning-based real-time process monitoring system according to one embodiment of the present invention. [Figure 10] 1 is a graph illustrating a change in loss value for each object over time in a deep learning-based real-time process monitoring system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] The present invention will now be described with reference to the accompanying drawings.
[0030] In this process, the thickness of each line and the size of each component shown in the drawings may be exaggerated for clarity and convenience of explanation. In addition, each term described below is defined in consideration of the function in the present invention, and may vary depending on the intention or practice of users and operators. Therefore, these terms should be defined based on the contents of this specification as a whole.
[0031] FIG. 1 is a diagram showing a simplified configuration of a deep learning-based real-time process monitoring system according to one embodiment of the present invention.
[0032] As shown in FIG. 1, the process monitoring system 100 of the present invention includes a monitoring device 30, a learning device 20, and a database (DB) 40.
[0033] The process monitoring system 100 captures images of the progress of a manufacturing or production process through a plurality of cameras 50 installed in process equipment, etc., and transmits the images to a monitoring device 30 or a learning device 20.
[0034] Even if the process monitoring system 100 is not connected to a process control device (not shown) that controls the manufacturing or production process, it can check the progress of the process through images, monitor the progress of the process by analyzing the captured images, and detect abnormalities in the object or abnormalities in the process progress.
[0035] The learning device 20, the monitoring device 30, and the database (DB) 40 communicate with each other to share data on the process, and the data is stored and managed in the database (DB) 40.
[0036] In the process monitoring system 100, the learning device 20, the monitoring device 30, and the database (DB) 40 may be integrated into a single device, or may be separated into multiple devices.
[0037] The learning device 20 pre-registers objects to be detected during the process, generates learning data for object detection so that the objects can be recognized through equipment process images, performs learning based on deep learning, and stores the learning model, which is the learning result, in a database (DB) 40.
[0038] The learning device 20 registers information on the position of an object during a process and the state of the object for each process, and learns the information through a plurality of images. The learning device 20 also extracts patterns of objects for each process based on the images of the processes, and stores the patterns in a database (DB) 40.
[0039] The object is an object to be recognized during a process, for example, a nozzle, a valve, a gate, etc., and may be changed depending on the object to be produced or manufactured.
[0040] The learning device 20 classifies and registers objects from which features are to be extracted into moving objects, state objects, and vector objects.
[0041] Moving objects are objects that move, such as nozzles and robot arms, state objects are objects whose states change, such as gates, traffic lights and valves, and vector objects are liquid streams, lasers, object frames and the like.
[0042] The learning device 20 classifies many objects constituting a process into the three types as described above, and registers each basic information such as an identification ID for classifying each object and a basic position (identification position).
[0043] The learning device 20 inputs the position and size of a moving object, the position and size of an object in the first frame, and the type of state of an object for a state object. Also, the learning device 20 inputs information on the start point and end point for a vector object.
[0044] When the equipment is test-operated for learning, the learning device 20 records images acquired during the test operation, and performs data generation and model learning for objects registered from the images.
[0045] The learning device 20 detects and registers process feature patterns for each process based on the object's motion that changes over time from the process video.
[0046] The learning device 20 can register patterns for a plurality of processes performed by one piece of equipment, and can also register patterns for process stages in which a plurality of pieces of equipment operate in cooperation with each other.
[0047] The learning device 20 may apply different artificial intelligence learning models to the moving objects, the state objects, and the vector objects, respectively.
[0048] The monitoring device 30 classifies the process by detecting features of an object from an image captured during the process based on the data stored in the database (DB) 40 through the learning device 20, and determines whether the process is proceeding normally.
[0049] The monitoring device 30 extracts a pattern for a process, compares it with already registered patterns, and analyzes the similarity between the process feature pattern and a real-time feature pattern detected in real time to identify which process is currently in progress, classify the process, and determine the progress of the process.
[0050] The monitoring device 30 classifies the currently ongoing process as the process that is matched with the highest similarity according to the similarity analysis result.
[0051] The monitoring device 30 compares the extracted information with already registered data to detect abnormalities in the object.
[0052] The monitoring device 30 extracts features from an object and compares them with previously registered data to determine the state of the object, and detects abnormalities based on the real-time feature pattern and the object's shape, size, position, state, etc.
[0053] The monitoring device 30 compares the similarity with the degree of loss and detects an abnormality corresponding to the loss value.
[0054] In addition, the monitoring device 30 records changes in the process and objects based on the feature information and similarity analysis results for the objects detected during the process, generates data on whether or not an abnormality has occurred, and stores the data in a database (DB) 40.
[0055] The learning device 20 and the monitoring device 30 each include at least one processor, and are provided with a memory or storage means for storing data.
[0056] The database (DB) 40 classifies and stores information on objects registered by the learning device 20 into moving object data, state object data, and vector object data according to the type of object, and stores each learning model.
[0057] A database (DB) 40 stores process feature patterns for the progress of each process.
[0058] A database (DB) 40 stores data from the start to the end of a process, anomaly detection data for a process or an object, and analysis data for changes in the process.
[0059] The database (DB) 40 also includes a large-capacity storage means, a processor for generating indexes for the data stored in the large-capacity storage means, and managing the data, and a communication means for transmitting and receiving data to and from the learning device 20 and the monitoring device 30.
[0060] The process monitoring system 100 can generate a report on the process monitoring results of the monitoring device 30 and transmit the report to an external server (not shown) or a registered terminal (not shown). In addition, the process monitoring system 100 can output a warning when an abnormality is detected and transmit an alarm due to the abnormality detection to the terminal.
[0061] FIG. 2 is a diagram showing a simplified configuration of the process monitoring device of FIG.
[0062] As shown in FIG. 2, the monitoring device 30 includes an image acquisition unit 170, an image processing unit 120, an object detection unit 130, a process classification unit 140, an abnormality detection unit 150, a record management unit 160, a data unit 183, a communication unit 182, an input / output unit 181, and a control unit 110 that controls overall operations.
[0063] The image capture unit 170 includes a number of cameras 171 and 172 .
[0064] The image acquiring unit 170 includes a first camera 171 and a second camera 172, and the number of cameras is not limited to that shown in the drawing and may be increased according to the number of devices in which the cameras are installed. The cameras of the image acquiring unit 170 may be installed in units of equipment or process, and may be fixedly installed at designated positions.
[0065] The first camera 171 is a camera that captures RGB images, and in some cases, a thermal imaging camera or an infrared camera may be used as the second camera 172.
[0066] The image processor 120 converts the image input from the image acquirer 170 into a certain format. The image processor 120 pre-processes the image by removing noise contained in the image. The image processor 120 separates the image into frames for processing.
[0067] The object detection unit 130 detects features of objects included in an image on a frame-by-frame basis. The object detection unit 130 extracts object features from moving objects, state objects, and vector objects based on a learning model and object information stored in a database (DB) 40, and classifies the objects according to the objects.
[0068] The process classification unit 140 extracts a pattern of changes in features in a plurality of frames based on the features of the object extracted by the object detection unit 130 .
[0069] The process classification unit 140 compares the extracted pattern with a previously registered pattern to calculate a similarity, and classifies the process by determining which process is currently in progress based on the similarity. The process classification unit 140 also distinguishes between the start and end of a process.
[0070] The anomaly detection unit 150 judges whether the step of the process determined based on the similarity of the patterns is performed normally, and detects an anomaly in the process.
[0071] In addition, the anomaly detection unit 150 compares the features of the detected object with registered data, and detects anomalies in the object based on the similarity and loss value of the features.
[0072] The abnormality detector 150 applies an abnormality detection signal to the controller 110 when an abnormality is detected.
[0073] The record management unit 160 stores data on the progress of the process from start to finish, and when an anomaly is detected by the anomaly detection unit 150, stores the anomaly detection data separately.
[0074] The control unit 110 shares data with the learning device 20 and database (DB) 40 through the communication unit 182. The control unit 110 registers data input via the input / output unit 181, and outputs the progress status of the process via the input / output unit 181.
[0075] The control unit 110 outputs a warning via the input / output unit 181 in response to the abnormality detection signal, and transmits data regarding the abnormality detection to a designated terminal or server via the communication unit 182.
[0076] The input / output unit 181 includes input means such as a button, a switch, a touch pad, and the like, and output means configured of at least one of a display, a speaker, and a lamp.
[0077] The data section 183 stores data transmitted and received via the communication section 182, and stores data input and output via the input / output section 181.
[0078] The data unit 183 stores image data input through the image acquisition unit 170, data regarding features of detected objects, and process feature patterns, and also stores data regarding anomalies detected when anomalies are detected, and the process or object in which the anomaly occurred.
[0079] The data unit 183 is a storage means for storing data, and may include storage means such as a flash memory, HDD, SSD, etc., and may be connected to a portable memory device.
[0080] The communication unit 182 includes a plurality of communication modules, and transmits and receives data in a wired or wireless manner.
[0081] The communication unit 182 stores data received from the database (DB) 40 in response to a control command from the control unit 110 in the data unit 183 , and transmits data generated by the record management unit to the database (DB) 40 .
[0082] FIG. 3 is a flowchart illustrating an operation method of a deep learning-based real-time process monitoring system according to one embodiment of the present invention.
[0083] As shown in FIG. 3, the process monitoring system registers and learns process objects through a learning device 20 during a test run of the process, and monitors the process that is actually being operated based on images through a monitoring device 30 to detect the progress and abnormalities.
[0084] The learning device 20 classifies and registers objects to be recognized in the process according to their types (S310).
[0085] The learning device 20 generates and learns a learning model in a different manner depending on the type of object to be recognized (S320).
[0086] The learning device 20 stores the learning data and the learning model in a database (DB) 40.
[0087] When the process is started (S330), the monitoring device 30 captures images of the process progress through the multiple cameras 50, 170 (S340).
[0088] The monitoring device 30 detects features of objects from the real-time video using the learning model (S350). The monitoring device 30 classifies objects included in the video into moving objects, state objects, and vector objects and detects features.
[0089] The monitoring device 30 analyzes the video on a frame-by-frame basis, sets a feature set for features extracted for each frame, and detects a real-time feature pattern (S360).
[0090] The monitoring device 30 compares the real-time feature pattern of the real-time video with the already classified process feature patterns and analyzes the similarity (S370).
[0091] The monitor 30 matches the real-time feature pattern with the process feature pattern on a frame-by-frame basis, and determines the process currently being performed according to the degree of similarity and loss, and classifies the process (S380).
[0092] The monitoring device 30 detects anomalies by comparing the features of the object detected from the image with already registered data, and also compares the real-time feature pattern with the process feature pattern and detects anomalies in the progress of the process based on the trend of the difference (S390).
[0093] When an abnormality is detected, the monitoring device 30 generates and stores data regarding the abnormality detection, and outputs a warning regarding the abnormality detection (S400).
[0094] When the process is normally completed, the monitoring device 30 analyzes and records the changes in the process (S410), and stores the data on the process in the database (DB) 40 (S420).
[0095] FIG. 4 is a reference diagram for explaining object detection in a deep learning-based real-time process monitoring system according to an embodiment of the present invention.
[0096] The object detector 130 detects features related to objects from the data preprocessed by the image processor 120 .
[0097] The object detection unit 130 detects a moving object, a state object, and a vector object, and may use different methods depending on the object to improve processing performance and accuracy of detecting the object by processing the image.
[0098] The object detection unit 130 compares the position and shape type of the detected moving object features with basic data including the movement start position and shape type of the moving object, and maps which moving object the detected object is.
[0099] In addition, the object detection unit 130 tracks and detects a moving object by mapping the object detection result between frames of the image through tracking.
[0100] The object detection unit 130 performs noise removal and normalization processes on a frame f(nm) before a change reference time m with respect to a detection target frame fn.
[0101] The object detection unit 130 obtains the difference between two frames, the preprocessed frame pre(fn) at time n and the frame pre(f(nm)) m before, and calculates the difference (c n The object detection unit 130 binarizes the difference (c) as 1 if the difference between pre(fn) and pre(f(nm)) is greater than a set value, and as 0 otherwise. n ) to evolve into a Pokémon.
[0102] The object detection unit 130 detects the difference between frames (c n ) are post-processed through dilation and growth operations.
[0103] As shown in FIG. 4(a), the object detection unit 130 detects a post-processed frame post(c n ), then it performs boundary detection and grouping, and for each box generated through grouping, it performs a process of deleting or merging duplicated boxes and expanding the boxes. For example, it can perform NMS (Non Maximum Suppression) and padding processes.
[0104] As shown in (b) of Fig. 4, the object detection unit 130 crops the original image using each box b0, b1, and b2, and determines the shape of each image using an AI image classification neural network, and then derives the result. For example, the shapes of a nozzle, arm, dispenser, etc. are classified and determined.
[0105] The object detection unit 130 extracts features for moving objects from the boxes generated based on an AI image classification neural network.
[0106] AI image classification neural networks have faster processing performance and higher image classification accuracy than object detection neural networks, and they require less training data, reducing the processing load.
[0107] In addition, the object detection unit 130 detects state objects using an AI image classification neural network.
[0108] The object detection unit 130 detects vector objects using an AI line segment detection neural network. To detect vector objects, the object detection unit 130 performs line segmentation through noise suppression pre-processing and binary contour detection using computer vision.
[0109] FIG. 5 is a reference diagram for explaining a process classification process of a deep learning-based real-time process monitoring system according to an embodiment of the present invention.
[0110] As shown in FIG. 5, the process classification unit 140 automatically classifies processes based on the image.
[0111] The process classification unit 140 performs a feature detection process in real time for each frame of the image, and compares a real-time feature pattern acquired through the detection process with process feature patterns of previously classified processes to analyze the similarity.
[0112] The process classification unit 140 analyzes the feature pattern in a branching manner and performs a matching operation.
[0113] The process classification unit 140 classifies the processes according to the process feature pattern having the highest similarity as a result of analyzing the extracted real-time feature pattern.
[0114] In the process of classifying the processes, the process classification unit 140 compares all the patterns of the processes classified for each frame, and performs parallel processing by sliding each pattern that has already been classified in advance.
[0115] Accordingly, the process classification unit 140 improves performance by processing resources through parallel processing during a process classification process that requires many resources.
[0116] The process classification unit 140 can automatically classify the processes based on the start and end of each process that has already been classified.
[0117] FIG. 6 is a reference diagram for explaining the loss function of the feature set in the process classification process of FIG.
[0118] As shown in FIG. 6, the process classification unit 140 extracts features from an object and classifies the process.
[0119] For example, when the object detection unit 130 extracts features of moving objects such as a robot arm or a rotating body that moves or processes an object during a process, the process classification unit 140 detects a feature set or real-time feature pattern and classifies the processes according to their similarity.
[0120] The process classification unit 140 configures each feature for a moving object among a plurality of features extracted from an image as one set, and sets a moving object feature set (MO set).
[0121] In addition, the process classification unit 140 sets a status object feature set (SO set) and a vector object feature set (VO set) each consisting of features for a status object and a vector object among a plurality of features extracted from the image.
[0122] The process classification unit 140 uses the coordinates, width, and height of a bounding box for each moving object (MO) as detailed factors and features.
[0123] The set in which the state of a moving object (MO) is defined is as shown in Equation 1 below.
[0124]
number
[0125] Here, (x, y) are the reference coordinates of the upper left corner of the target bounding box, w is the width of the target bounding box, and h is the height.
[0126] The process classification unit 140 may define states that a status object (SO) may have, the number of states being k, and set a set that defines the status object (SO) as shown in the following Equation 2.
[0127]
number
[0128] As described above, k is the number of values that one state object can have. For example, in the case of a gate, k can be defined as three, such as 'open', 'closed', and 'unknown'.
[0129] In addition, the process classifier 140 may define a vector object (VO) as a linear object having a direction, such as a water flow or a laser.
[0130] The process classification unit 140 defines a coefficient of a point that an object can have as V, and determines V+2 equal intermediate points including a start point and a destination point, and uses them as features.
[0131] As a result, the set in which the state of the vector object (VO) is defined is as shown in Equation 3 below.
[0132]
number
[0133] The set of moving objects, the set of state objects, and the set of vector objects defined in this way can be used as a loss function to calculate the difference between objects.
[0134] The process classification unit 140 may compare the first object and the second object using a loss function, and may also compare the first data of the first object and the second data of the first object using the loss function.
[0135] The process classification unit 140 may define a loss function for the above-mentioned moving object state (MOState) as shown in Equation 4 below.
[0136]
number
[0137] However, ε coord and ε shape is a constant that assigns a penalty to each feature, B is the number of moving objects, and attributes marked with a hat (^) indicate data that has already been classified and stored in the database (DB).
[0138] In Equation 4, in the case of w and h, even though they are the same object, the bounding box of the object may change depending on the observation angle, so a square root is applied to impose a smaller penalty than the penalty for the position.
[0139] In the case of a state object's state (SOState), the loss function can be defined as Equation 5 below.
[0140]
number
[0141] Here, S is the number of state objects (SO).
[0142] In the case of a vector object state (VOState), the loss function can be defined as follows:
[0143]
number
[0144] In order to emphasize the accuracy of the start and end points among the points of the vector object, the penalty for the start and end points is set to twice that of the other points.
[0145] The process classifier 140 defines a loss function for a real-time monitoring situation in the process of monitoring an image acquired in real time through the image acquirer 170 during the progress of the process.
[0146] For example, the process classification unit 140 compares a first moving object feature set (MO set) 81a for a first moving object stored in a database at timestamp t with a second moving object feature set (MO set) 91a for the first moving object extracted in real time using a loss function, and uses the comparison result as a criterion for process classification.
[0147] At this time, the anomaly detection unit 150 detects an anomaly in the process by calculating a difference for the moving object through the result value of the loss function.
[0148] A database (DB) 40 stores moving object features, state object features, and vector object features detected from a frame at a timestamp t for each process.
[0149] The database (DB) 40 stores a moving object feature set defined as a collection of each of such moving object features, a state object feature set defined as a collection of each of such state object features, and a vector object feature set defined as a collection of each of such vector object features.
[0150] In addition, the database (DB) 40 stores a process feature set including a moving object feature set, a state object feature set, and a vector object feature set according to a time stamp.
[0151] When the process classification unit 140 detects features from a frame at timestamp t during real-time monitoring, it acquires moving object features, state object features, and vector object features for each object, and sets a moving object feature set, a state object feature set, and a vector object feature set as a collection of each feature, respectively.
[0152] In addition, the process classifier 140 sets a real-time feature set including a moving object feature set, a state object feature set, and a vector object feature set that are set in real time for each time stamp.
[0153] The process classification unit 140 calculates a loss value between a first process feature set 81 including an MO set 81a, an SO set, and a VO set at a timestamp t and a first real-time feature set 91 including an MO set 91a, an SO set, and a VO set at a timestamp t.
[0154] The process classification unit 140 calculates a loss value between a first process feature set 81 including an MO set 81a, an SO set, and a VO set at a timestamp t and a first real-time feature set 91 including an MO set 91a, an SO set, and a VO set at a timestamp t.
[0155] In addition, the process classification unit 140 calculates a loss value between the second process feature set 82 and the second real-time feature set 92 at timestamp t+1, and calculates a loss value between the third process feature set 83 and the third real-time feature set 93 at timestamp t+2. The loss value between the process feature set at timestamp t and the real-time feature set extracted from the real-time frame can be defined as the following Equation 7.
[0156]
number
[0157] However, ε MO , ε SO , ε VO is a coefficient used to equalize the influence of moving objects (MO), state individuals (SO), and vector objects (VO).
[0158] The process classification unit 140 calculates a loss function LOSS between the real-time feature set 81 extracted from the t frame and the process feature set 91 during real-time monitoring. frame We can compute (t) and use this as a measure for whether the t frame is similar to the frame of a particular process at time t.
[0159] In addition, the process classification unit 140 calculates the loss value between each real-time feature set 90 of each real-time frame and each process feature set 80 stored in the database (DB) 40 for (es) timestamps from timestamps s to e, adds them all up, and then divides them by the number of timestamps. This process can be defined as a time-series loss function as shown in the following Equation 8.
[0160]
number
[0161] During real-time monitoring using a time-series loss function, the process classification unit 140 can determine which process and range a particular range (s to e) is most similar to.
[0162] The process classification unit 140 sets a real-time feature pattern from each real-time feature set 90 of each real-time frame for (es) timestamps from timestamps s to e, and compares this with the process feature patterns composed of each process feature set 80 stored in the database (DB) 40.
[0163] FIG. 7 is a reference diagram for explaining a method of processing an image on a frame-by-frame basis in the process classification process of FIG.
[0164] As shown in FIG. 7, the process classifier 140 uses the process feature pattern Pn for pattern matching to compare it with the real-time feature pattern extracted from the real-time video frame.
[0165] The process classification unit 140 performs a pattern matching operation between each previously classified process feature pattern Pn and each real-time feature pattern extracted from the real-time image. At this time, a new branch Bn is started for each frame Fn of the real-time image, and each frame Fn, Fn+1, ..., Fn+m coming after the corresponding start frame constitutes one branch.
[0166] The process classification unit 140 compares each branch Bn configured in the above-described manner with each of the process feature patterns Pn that have already been classified, calculates the similarity by calculating a loss value, and classifies the processes.
[0167] FIG. 8 is a reference diagram for explaining a method of matching patterns in the process classification process of FIG.
[0168] As shown in FIG. 8, the process classification unit 140 performs a matching operation by comparing the real-time feature pattern of each branch for each frame with each process feature pattern.
[0169] The process classification unit 140 performs a similarity comparison by calculating a loss value between a real-time feature set for each frame of each branch and a process feature set of a corresponding process feature pattern based on a time stamp. The loss value is expressed as LOSS. frame It can be calculated as (t,p,b).
[0170] LOSS frame (t) The result value is determined as the definition of the loss function between each feature set of branch b for step (p) and the feature set of Equation 7 above.
[0171] The process classification unit 140 can calculate the time-series loss function for each branch using the following Equation 9.
[0172]
number
[0173] LOSS of Equation 9 time (s,e,p,b) is the branch-specific time series loss function for the range from time s to time e of branch b.
[0174] If the result of the loss calculation is smaller than a threshold, the process classification unit 140 determines that the process feature pattern of process p corresponding to the timestamp [s, e] interval is similar to the real-time feature pattern of branch b up to timestamp t (s≦t≦e).
[0175] FIG. 9 is a reference diagram for explaining a method for determining the start and end of a process in a deep learning-based real-time process monitoring system according to one embodiment of the present invention.
[0176] As shown in FIG. 9, the process classification unit 140 determines the start and end of a process.
[0177] The process classification unit 140 selects a start inspection section (SR) and an end inspection section (ER) in the process feature pattern, and performs a loss inspection for the real-time feature pattern for each branch of the real-time image.
[0178] When inspecting the start and end of a process, the process classification unit 140 calculates the loss value between each feature set (FT1-FT3) (FT9, FT10) corresponding to the start inspection section or end inspection section of process P1 and each feature set detected from the real-time frame, and determines the point at which the loss value becomes smaller than T (threshold value) as the start or end of the process.
[0179] [s, e] and [s', e'] used for the start and end checks are calculated as shown in the following formula 10.
[0180]
number
[0181] SR (Start Range) is the start inspection interval of the process, SRP (Start Range Proportion) is the ratio of the start inspection interval to the process time (SR = t(Pn) * SRP), ER (End Range) is the end inspection interval of the process, ERP (End Range Proportion) is the ratio of the end inspection interval to the process time (ER = t(Pn) * ERP), t is the time function used to calculate the time stamp, and t(Pn) is the total process time of the nth classification process (Pn).
[0182] If the loss value of the corresponding branch exceeds a certain threshold, the process classification unit 140 determines that the branch does not match the processes stored in the database, deletes the branch at that point, and prevents further matching work from being performed for resource and performance efficiency.
[0183] In addition, in order to determine the exact start and end points of a process, the process classification unit 140 performs not only a threshold comparison when calculating the loss value, but also an additional task of searching for a time point where the loss value is minimum. Even if the process classification unit 140 finds a time point where the loss value is smaller than the threshold, it does not immediately determine that this is the start and end of the process, but can proceed by searching for a local minimum where the loss value is minimum thereafter.
[0184] If the start point of a process is set to an early point, a problem may occur in which the error in the similarity comparison results between frames becomes large. However, the process classification unit 140 can solve the problem of large errors in the similarity comparison results by setting the start and end points of the process through this process.
[0185] FIG. 10 is a graph showing a change in loss value for each object over time in a deep learning-based real-time process monitoring system according to an embodiment of the present invention.
[0186] As shown in FIG. 10, the abnormality detection unit 150 determines whether a corresponding process is normally performed during the process classification process of the process classification unit 140 described above.
[0187] The anomaly detection unit 150 compares the process feature pattern with the real-time feature pattern when classifying the process, and detects anomalies based on a loss value calculated through a loss function.
[0188] In addition, when the object detection unit 130 detects features of an object, the anomaly detection unit 150 detects an anomaly by determining whether the detected feature of the object corresponds to an object state of the process based on a result value of the loss function.
[0189] The anomaly detector 150 may determine an anomaly of a specific object based on the loss values for a plurality of objects.
[0190] When the loss value of an object is higher than a certain value, the anomaly detection unit 150 determines an anomaly based on the time during which the loss value is high.
[0191] The anomaly detection unit 150 determines that an object is abnormal when its loss value is higher than a certain value and the time during which the loss value remains high is longer than a set time. If the loss value of an object is higher than a certain value but decreases to a certain value or lower within the set time, the anomaly detection unit 150 excludes the object from the anomaly determination.
[0192] The anomaly detection unit 150 excludes an object from anomaly determination when the loss value of one object appears high but the loss values of other objects appear similar. Also, the anomaly detection unit 150 excludes an object from anomaly determination when the similarity between the object and a compared process feature pattern is lower than a certain value even when the loss value of one object appears high.
[0193] For example, if the threshold for the average loss is 0.4, the anomaly detection unit 150 detects that the second object L2, such as the second object L2, changes in a different form from the changes in the average loss value of other objects and maintains a state above the threshold from t2 to the time between t4 and t5, is an anomaly.
[0194] At this time, if the degree of similarity with the currently compared process is lower than a predetermined value, the anomaly detection unit 150 excludes it from the anomaly determination.
[0195] The record manager 160 provides the data so that detected anomalies can be visually confirmed.
[0196] The record management unit 160 stores the loss values of the features from every single object when a process is completed through the process classification process, analyzes the transition of changes in the entire process, and visualizes the data.
[0197] The record management unit 160 stores data regarding the progress of the process, stores the feature patterns of the object detection unit 130, the classification process of the process classification unit 140, and the anomaly detection data of the anomaly detection unit 150 in the data unit 183, and analyzes changes over time and stores the data.
[0198] In addition, the record management unit 160 retrieves already set data and already measured data from the database 40 and compares them with real-time data, and when a process is completed, the data for the completed process is stored in the database (DB) 40.
[0199] The control unit 110 can output the generated data through the input / output unit 181. In addition, the control unit 110 can transmit result data of the process monitoring to an external server or a designated terminal through the communication unit 182. [Industrial Applicability]
[0200] Therefore, the present invention can sense the progress of a process through real-time images, determine whether the process is proceeding normally, and detect whether an object is abnormal.
[0201] The present invention has been described with reference to the embodiments shown in the drawings, but these are merely illustrative, and those skilled in the art will appreciate that various modifications and equivalent embodiments are possible. Therefore, the true technical scope of the present invention should be determined by the following claims.
Claims
1. A learning device that classifies and registers objects recognized during the process into moving objects, state objects, and vector objects, and learns based on deep learning; and a monitoring device for detecting features for the moving object, the state object, and the vector object from a real-time image acquired during the progress of a process based on the model learned by the learning device, classifying the process by comparing a real-time feature pattern set from a set of each extracted feature with a previously stored process feature pattern, detecting abnormalities for the process and the object, and monitoring the progress of the process; The monitoring device includes: An image acquisition unit including a plurality of cameras installed on equipment that performs the process; an object detection unit for classifying objects included in the steps into the moving object, the state object, and the vector object, and detecting features of the object from the real-time image; a process classification unit that detects the real-time feature pattern by analyzing the detected object features in units of frames, compares the real-time feature pattern with the process feature pattern, and classifies the processes according to the similarity; and an anomaly detection unit that detects anomalies from the real-time feature pattern and the object features.
2. 2. The process monitoring system of claim 1, wherein the object detection unit obtains a difference between a frame of a first time and a frame of a second time by analyzing an image on a frame-by-frame basis for the moving object, detects a change in the object contained in each frame, and performs post-processing through dilation and growth operations.
3. 3. The process monitoring system of claim 2, wherein the object detection unit performs contour detection and grouping on the post-processed frames, deletes or merges overlapping boxes for each box generated through the grouping, and expands the boxes, and determines the shape of each image using an AI image classification neural network to extract features for the moving object.
4. 2. The process monitoring system according to claim 1, wherein the process classification unit analyzes the similarity by comparing the real-time feature pattern with the process feature pattern, and classifies the process based on the process feature pattern with the highest similarity.
5. 5. The process monitoring system of claim 4, wherein the process classifier performs a matching operation by analyzing the process feature pattern and the real-time feature pattern in a branching manner.
6. The process monitoring system according to claim 4, characterized in that the process classification unit, during process classification, performs parallel processing by sliding a plurality of process feature patterns in advance, and compares the real-time feature pattern extracted for each frame with all of the plurality of process feature patterns.
7. the process classification unit sets feature sets for the moving object, the state object, and the vector object, each of which has a feature detected from a frame at a time stamp t, and calculates a loss function by comparing a previously set process feature set with a real-time feature set acquired in real time; 2. The process monitoring system of claim 1, wherein the loss value is calculated through a loss function obtained by comparing a feature set of each frame with respect to a plurality of frames, and the loss value is calculated through a time series loss function according to the number of timestamps for the plurality of frames.
8. 2. The process monitoring system of claim 1, wherein the process classification unit sets a new branch for each frame of the image, calculates a loss value by comparing the real-time feature pattern of each branch with the process feature pattern, and determines a similarity based on the loss value.
9. 2. The process monitoring system of claim 1, wherein the process classification unit determines that the first real-time feature pattern and the first process feature pattern are similar at the branch from the first time to the second time when a loss value calculated by comparing the first real-time feature pattern and the first process feature pattern in the range from the first time to the second time is lower than a pre-set threshold value.
10. the process classification unit sets a start inspection section and an end inspection section for the process feature pattern based on data on a start and end time point of the process, and performs a loss inspection for the real-time feature pattern for each branch of the real-time image; The process monitoring system of claim 1, characterized in that it is determined that a process has started or ended when a loss value calculated between each feature set for the start inspection section or the end inspection section and a feature set of the real-time feature pattern is smaller than a second threshold value.
11. The process monitoring system according to claim 1 , wherein the abnormality detection unit detects an abnormality in a process based on a loss value calculated through a loss function for the process feature pattern and the real-time feature pattern when classifying the process.
12. 2. The process monitoring system of claim 1, wherein the anomaly detection unit calculates a loss value by comparing a plurality of features extracted corresponding to a plurality of objects with previously stored data, and detects an anomaly for any one of the objects based on a magnitude of the loss value for the plurality of objects, a change over time, and a time during which the loss value is maintained at or above a certain value.
13. The process monitoring system of claim 12, wherein the anomaly detection unit excludes one of the objects from the anomaly determination even if the object is determined to have an anomaly, if the similarity between the real-time feature pattern and the process feature pattern is equal to or less than a certain value.
14. A step of classifying and registering objects recognized during the process into moving objects, state objects, and vector objects through the trial operation of the process, and learning them based on deep learning; detecting features for the moving object, the state object, and the vector object from a real-time image acquired during the process based on the learned data; A step of comparing a real-time feature pattern set from the set of each extracted feature with a previously stored process feature pattern and classifying the process; determining the progress of the features and processes for the object and detecting anomalies; and storing data on the progress of said process; The step of classifying the processes comprises: A method for operating a process monitoring system, comprising: analyzing the similarity by comparing the real-time feature pattern with the process feature pattern; and classifying the process with the process feature pattern having the highest similarity.
15. The step of detecting features comprises: Mapping an object detection result between frames of the real-time image through tracking, and tracking and detecting the moving object; analyzing the real-time image in units of frames, obtaining a difference between a frame of a first time and a frame of a second time, detecting a change in the object included in each frame, and post-processing the change through a dilation and growth operation; performing contour detection and grouping on the post-processed frames; Deleting or merging duplicated boxes for each box generated through grouping, and expanding the box; and 15. The method of claim 14, further comprising: determining the shape of each image of the box using an AI image classification neural network to extract features for the moving object.
16. The step of classifying the processes comprises: setting feature sets for the moving object, the state object, and the vector object, each of which has a feature detected from a frame at time stamp t of the real-time image; Calculating a loss function by comparing a pre-established process feature set with a feature set acquired in real time; and 15. The method of claim 14, further comprising the step of: calculating a loss function obtained by comparing the feature set of each frame against a plurality of frames, and a time series loss function based on the number of timestamps for the plurality of frames.
17. The step of classifying the process includes setting a start inspection section and an end inspection section for the process feature pattern based on data on a start and end time point of the process; performing a real-time feature pattern and loss inspection for each branch of the real-time image; and The method for operating a process monitoring system as described in claim 14, further comprising a step of determining that a process has started or ended if a loss value calculated between each feature set for the start inspection interval or the end inspection interval and a feature set of the real-time feature pattern is less than a second threshold value.
18. The step of detecting an anomaly includes: Calculating each loss value by comparing a plurality of features extracted corresponding to a plurality of objects with previously stored data, and detecting an anomaly for any one of the objects based on the magnitude and time-dependent change of the loss value for the plurality of objects, and the time during which the loss value is maintained at a certain value or more; and 15. The method of claim 14, further comprising: excluding one of the objects from the abnormality determination if the similarity between the real-time feature pattern and the process feature pattern is below a certain value even when it is determined that there is an abnormality in any one of the multiple objects.
Citation Information
Patent Citations
Abnormality detector
JP2019204155A
Abnormality detection device, abnormality detection method, and program
WO2019220609A1
Process determination device for substrate processing device, substrate processing system, process determination method for substrate processing device, and group of learning models
WO2020178945A1
