This nonprovisional application is based on Japanese Patent Application No. 2022-061819 filed on Apr. 1, 2022, with the Japan Patent Office, the entire contents of which are hereby incorporated by reference.
The present disclosure relates to a technique for collecting data, particularly to a technique for collecting data from a production line of factory automation (FA).
A technique for monitoring the production line including the plurality of processes has been proposed. For example, Japanese Patent Laying-Open No. 2021-86193 discloses an information collection system of an industrial instrument. The information collection system includes: a collection unit that collects a plurality of pieces of processing information related to each of a plurality of processing processes executed by a plurality of processing instruments from each of the plurality of processing instruments before corresponding one product is manufactured from at least one workpiece; and an association unit that associates the plurality of pieces of processing information collected by the collection unit with each other by adding a cooperation identifier that can cooperate among a plurality of processing processes related to one product.
A target such as a product produced on a production line is shipped after inspection. At a production site, there has been a user need to visually recognize data related to production of the target collected from the production line and inspection data of the target while both the data are linked with each other. Japanese Patent Laying-Open No. 2021-86193 does not disclose a technique for visualizing the collected information.
It is an object of the present disclosure to provide a configuration capable of producing data visualizing by linking the data related to the production of the target collected from the production line and the inspection data with each other.
A data collection device according to one example of the present disclosure that collects data of a target produced through one or a plurality of processes provided in a production line, the data collection device includes: a collection unit configured to collect data of a data item related to production work from each process; an acquisition unit configured to acquire an identifier of the target produced in the production line; a linking unit configured to link, for the each process, the identifier of the target and an inspection result of the target with collection data collected from the process by the collection unit in a period in which the production work is performed on the target in the process; and a generation unit configured to generate, for each of the steps, visualization data visualizing the collected data of the step associated with the identifier and the inspection result by the linking.
According to this disclosure, a configuration capable of producing data visualizing by linking the data related to the production of the target collected from the production line and the inspection data with each other can be provided.
In the above disclosure, the collection unit periodically collects the data from each process, and the linking unit links, for each process, the identifier of the target and the inspection result with partial time series data corresponding to the period described above in time series data configured to be periodically collected from the process.
According to this disclosure, the partial time series data corresponding to a period in which the production work is performed on the target in the time series data configured by being periodically collected from the process can be acquired as the data to which the inspection result of the object is linked.
In the above disclosure, the visualization data includes the data that visualizes the partial time series data linked with the identifier and the inspection result for each production process by arranging the partial time series data according to the priority order based on the value of the partial time series data.
According to this disclosure, the data that visualizes the partial time series data linked with the inspection result by arranging the partial time series data in priority order based on a value of the partial time series data can be acquired.
In the above disclosure, the each process is configured to allow the target to be input one by one to the process, the production line is configured to allow the target to be input from one process to a next process in predetermined order, and
According to this disclosure, the deviation degree can be acquired from the representative value of the values of the partial time series data of the target constituting each group.
In the above disclosure, the generation unit determines the priority order based on the deviation degree acquired for each process.
According to this disclosure, the partial time series data linked with the inspection result can be arranged and visualized in the priority order based on the deviation degree.
In the above disclosure, the representative value includes, for each group, a statistic of values of the partial time series data of each target constituting the group.
According to this disclosure, the deviation degree can be acquired from the statistic of values of the partial time series data of the target constituting each group.
In the above disclosure, the visualization data includes data visualizing and representing the statistic corresponding to each group.
According to this disclosure, the statistic corresponding to each group can be visualized.
In the above disclosure, the generation unit determines order in the priority order of the each process so as to be higher as the deviation degree of the process is larger.
According to this disclosure, the priority order of the arrangement can be made higher as the deviation degree is larger.
In the above disclosure, the type of the inspection result includes normal, abnormal, and uninspected indicating that the target is not inspected yet.
According to this disclosure, the deviation degree between the different groups can include the deviation degree between the abnormal group and the normal group of the inspection result.
According to this disclosure, the visualization data includes, for the each process, characteristic visualization data visualizing a characteristic of a change in the value of the partial time series data for each target input to the process.
According to this disclosure, the change characteristic of the value of the partial time series data can be visualized.
In the above disclosure, the characteristic visualization data includes, for the each process, temporal characteristic visualization data representing a characteristic indicating a temporal change in a value of the partial time series data for each target input to the process by visualizing the characteristic with a common time axis.
According to this disclosure, the visualization data representing the characteristics of the temporal change in the partial time series data between different processes on the common time axis can be generated.
In the above disclosure, the visualization data includes data visualizing the collection data in a mode according to the type of the inspection result linked with the collection data.
According to this disclosure, the mode of the visualization of the data collected from each process can be changed based on the inspection result of the target corresponding to the data.
In the above disclosure, the data collection device is included in a control device that controls the production line. Thus, the control device equipped with the data collection device can be provided.
A non-transitory computer-readable recording medium including instructions that, when executed by one or more processors, cause the one or more processors to perform a data collection method, the method being a method for collecting data of a target produced through one or a plurality of processes provided in a production line, the machine-readable recording medium includes: collecting data of a data item related to production work from each process; acquiring an identifier of the target produced in the production line; linking the identifier of the target and an inspection result of the target with collection data collected from the process in a period in which the production work is performed on the target in the each process; and generating, for that each process, visualization data visualizing the collection data of the process linked with the identifier and the inspection result.
According to this disclosure, the configuration capable of producing data visualizing by linking the data related to the production of the target collected from the production line and the inspection data with each other when the program is executed can be provided.
A method according to one example of this disclosure performed by a computer, the method being a method for collecting data of a target produced through one or a plurality of processes provided in a production line, the method includes: collecting data of a data item related to production work from each of the one or the plurality of processes; acquiring an identifier of the target produced in the production line; linking the identifier of the target and an inspection result of the target with collection data collected from the process in a period in which the production work is performed on the target in the each process; and generating, for the each process, visualization data visualizing the collection data of the process linked with the identifier and the inspection result.
The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
With reference to the drawings, an embodiment of the present invention will be described in detail. The same or equivalent part in the drawings is denoted by the same reference numeral, and the description will not be repeated.
In the embodiment, a programmable logic controller (PLC) will be described as a typical example of a “control system”, but the technical idea disclosed in the present specification can be applied to any control system without being limited to the name of the PLC. In the embodiment, a “target” that becomes a production target is referred to as a product, but the term “product” is used to mean not only a finished product but also a part or an intermediate product constituting the finished product.
In the embodiment, a production line can include a plurality of processes. For example, in the production line including a plurality of processes, the product input to the production line is automatically conveyed between instruments constituting the plurality of processes by an appropriate conveyance device such as a belt conveyor. The product flows through the plurality of processes according to the process sequence by the conveyance device, namely, production operation is performed on the product in each process. The product flowing through each process is input from one process to the next process. In the embodiment, a final process of the production line includes an inspection process of inspecting whether quality of the product satisfies a standard.
In the embodiment, field device 90 included in the inspection process includes an inspection device. When PLC 100 detects that the product is input to the inspection process based on observation value 92 from the field, the inspection device operates according to control command 93 from a control program 140 to inspect the product, and outputs an inspection result 94 as observation value 92. Inspection result 94 includes a product ID of the inspection target product.
PLC 100 includes a control unit 10B that repeatedly executes processing for exchanging data with instruments provided in the production line (hereinafter, also referred to as IO refresh) and processing for control arithmetic operation for each predetermined control cycle. Control unit 10B can constitute a control device that controls a production line.
Referring to
Control unit 10B includes a control engine 150, a user program executed by control engine 150, and a data area 42. The user program includes a control program 140 for the control arithmetic operation including, for example, a ladder program and the like, and an IO refresh program 40 for IO refresh, which are executed at every predetermined control cycle. Data area 42 includes an area 41 in which input data 154 and output data 155 are stored, an area in which an individual ID 43 representing the ID of the product flowing through the process and lot data 44 are stored, and an area of various queue 48.
Control program 140 is a so-called variable program. More specifically, the data of observation value 92 referred to by control program 140 at the time of execution, the internal calculation data, and the like can be utilized using an input variable corresponding to input data 154, an output variable corresponding to output data 155, a temporary variable, and the like for each data.
Observation value 92 including inspection result 94 from field device 90 is stored in data area 42 as input data 154 by the IO refresh, control program 140 executes the control arithmetic operation based on input data 154, calculated control command 93 is stored in data area 42 as output data 155, and control command 93 of output data 155 is read from data area 42 and output to field device 90.
As described above, PLC 100 repeatedly performs the IO refresh and the control arithmetic processing in the control cycle, thereby controlling field device 90 in synchronization with each other. As a configuration for implementing such the synchronization control, for example, PLC 100 may adopt a configuration in which a user program including control program 140 and IO refresh program 40 is included for each process, and the user program of each process is executed in parallel at a common control cycle.
Code reader 88 is provided in each process, for example, optically reads the identifier of the product flowing through the process, and outputs individual ID 43 indicating the read identifier. In the production line, the identifier of the product is not limited to individual ID 43, but may be acquired by lot data 44. More specifically, lot code reader 89 is provided at a head process of the production line. When a sensor (for example, a proximity sensor) detects that the product is input to the production line, lot code reader 89 optically reads a lot name 45 from the product. In addition, for each process, control unit 10B sets an operating flag described later from “OFF” to “ON”, performs counting up for each setting of the operating flag, and outputs a count value 46. In this manner, count value 46 of each process indicates the order of flowing through the process for each product input to the process. In the embodiment, since the order of the product flowing through each process is configured to be matched between processes, the product input into a certain process in a k-th (k=1, 2, 3, . . . ) order is matched with the product input into the next process in the k-th order. Therefore, lot data 44 common between processes can be assigned as the identifier to the same product in the same lot.
As described above, in the embodiment, the configuration in which individual ID code reader 88 is used or the configuration in which lot code reader 89 is used can be applied to the mechanism for acquiring the identifier of the product. Hereinafter, in the description common to the product identifiers indicated by individual ID 43 and lot data 44, collectively referred to as a “product ID”.
IoT platform 10A may constitute a “data collection device” that mainly collects information from the production line. IoT platform 10A includes an IoT engine 250, an IoT program 260, and a web server program 280 which are executed by IoT engine 250, and also includes setting information 30 and a data accumulation unit 62. Using these elements, IoT platform 10A provides an environment for generating visualization data 283 that visualizes and represents data of at least one data item associated with the product ID from the data stored in data area 42 of control unit 10B.
For each process, setting information 30 includes collection setting information 28 indicating the setting of the data item to be collected in order to generate visualization data 283, and visualization setting information 29 indicating the setting in order to generate visualization data 283 from the data collected according to collection setting information 28. In the embodiment, the data item set in collection setting information 28 is set by, for example, a variable name of data, but the method for setting the data item is not limited to the method in which the variable name is used.
IoT program 260 includes a collection program 270 that collects (searches) the data of the data item set for each process from data area 42 according to collection setting information 28 and stores the data in data accumulation unit 62, and a linking program 271.
Data area 42 has a buffer area in which the data can be stored (held) for a time of a predetermined length. When collection program 270 and linking program 271 are executed, PLC 100 collects (searches) the product ID corresponding to the data of the set data item for each process from the buffer area of data area 42, and links the product ID with the collected data. Thereafter, the data linked with the product ID is stored in data accumulation unit 62. Thus, in data accumulation unit 62, for each process, the data of the data item related to the production work set for the process is read from the buffer area and stored in data accumulation unit 62 in time series. Hereinafter, such the data stored in time series is also referred to as time series data.
More specifically, PLC 100 searches (collects) the updated product ID from data area 42 every time the product ID (individual ID 43 or lot data 44) corresponding to each process in data area 42 is updated, specifies a portion of the time series data corresponding to the time of the read (that is, update) timing of the product ID in the collected time series data of the process, and links (associates) the read product ID with the specified portion of the time series data. After such the linking process is performed, the data linked with the product ID is stored in data accumulation unit 62. The part of the time series data specified in this manner is hereinafter also referred to as “partial time series data”. In the linking processing, PLC 100 links inspection result 94 corresponding to the product with the product ID linked with the partial time series data. As described above, PLC 100 performs, for each production process, the processing for linking the product ID and inspection result 94 with the partial time series data collected in a period in which the production work is performed on the product in the process.
Web server program 280 includes a setting program 281 that generates setting information 30 and a visualization program 282 that generates visualization data 283 according to visualization setting information 29. Visualization setting information 29 includes, for each process, the data item and the product ID of the data to be visualized. When visualization program 282 is executed, PLC 100 performs visualization processing. In visualization processing, PLC 100 searches the time series data corresponding to the data item of each process from data accumulation unit 62 based on the data item set for each process indicated by visualization setting information 29. Then, PLC 100 extracts, for each product ID, the partial time series data linked with the product ID from the searched time series data of each process, and generates visible visualization data 283 in which the plurality of extracted partial time series data are visible while the pieces of partial time series data of different processes linked with the same product ID are associated with each other. Visualization program 282 includes a priority processing program 284 including a statistic calculation program 285 described later regarding the generation of visualization data 283.
When web server program 280 is executed, PLC 100 operates as a web server under IoT platform 10A. The web server transfers visualization data 283 including the web data to a support device 500. The web browser included in support device 500 displays a web screen based on the web data of visualization data 283 received from the web server. The web data includes graphical user interface (GUI) data, and the web screen includes a GUI screen. The web data can be generated using a hypertext markup language (HTML), for example, in order to visualize and represent various objects including the web screen and the image in the screen.
In this way, when the screen is displayed based on generated visualization data 283, the data regarding the production work of the product collected from the production line is visualized by the object in which the product ID and inspection result 94 are linked with each other.
In
Hereinafter, a more detailed configuration and processing of PLC 100 of the embodiment will be described as a more specific application example of the present disclosure.
An example of a network system including a production line 3 included in FA of the embodiment will be described.
In
The inspection device as field device 90 provided in process 3C inspects the product using the captured image acquired by capturing the product in an imaging visual field. More specifically, when detecting that the product enters the imaging field based on observation value 92, PLC 100 outputs imaging control command 93, and the inspection device performs the imaging according to imaging control command 93. The inspection device collates the captured image with the model image stored in the storage by pattern matching, compares a similarity degree indicated by the collation result with a threshold, and outputs observation value 92, which is inspection result 94 based on the comparison result, to PLC 100. For example, the inspection device sets “OK” (normal quality) to inspection result 94 when the similarity is greater than or equal to the threshold, and sets “NG” (abnormal quality) to inspection result 94 and outputs the result when the similarity is less than the threshold. The inspection device is configured to include the product ID in inspection result 94, and PLC 100 can acquire the product ID and inspection result 94 for each product flowing through production line 3.
The type and number of processes of the production work included in production line 3 or the method for inspecting the product in the inspection process is not limited thereto, but may change according to the type of product produced or the specification of the product.
In each of processes 3A, 3B, and 3C, one or the plurality of field devices 90 that perform the work of the process, individual ID code reader 88, and lot code reader 89 are provided, and these instruments are connected to a field network 11. In addition to being connected to PLC 100 through field network 11, these instruments may directly connected to PLC 100 through an input and output unit (not illustrated) related to PLC 100.
For example, the data exchanged between PLC 100 and the instrument through field network 11 is updated in a very short period of several 100 usec order to several msec order. The exchanged data update processing is implemented by the 10 refresh.
PLC 100 is connected to a network 2 through a relay 1. A server device 300 and a human machine interface (HMI) device 310 are connected to network 2, and an information terminal 321 is connected to network 2 through a cloud. Server device 300 receives the data transferred from PLC 100, for example, the data stored in data accumulation unit 62, and stores the data as a log file 320. The storage destination of log file 320 is not limited to the device on network 2 (for example, server device 300), but may include the device on the cloud.
A protocol and a framework according to a difference in required characteristics are adopted for network 2 and field network 11. EtherNet/IP (registered trademark), which is an industrial open network in which a control protocol is mounted on general-purpose Ethernet (registered trademark), may be used as the protocols of network 2. EtherCAT (registered trademark), which is an example of a machine control network, may be adopted as the protocol of field network 11. The protocols of these networks may be the same or different.
Support device 500 can be connected to PLC 100. Support device 500 provides support tool that supports the user to operate production line 3. The support tool includes a preparation setting tool such as an execution environment of control program 140 or a communication environment with PLC 100. The support tool further includes a support tool that supports the setting of setting information 30. For example, such the support tool is provided to the user by a user interface (UI).
In production line 3, support device 500 may be connected to network 2, built in PLC 100, or provided as a portable terminal. In addition, an HMI device 310 or an information terminal 321 can be provided as a desktop terminal or a portable terminal.
CPU 102 reads the user program including control program 140 stored in storage 108 or an SD card 116 and deploys the user program in memory 106. CPU 102 interprets and executes the deployed program to control each portion of PLC 100 and implements the control arithmetic processing for controlling the control target such as field device 90. Furthermore, CPU 102 reads IoT program 260, web server program 280, and control program 140 that are stored in storage 108 or SD card 116, and deploys IoT program 260, web server program 280, and control program 140 in memory 106. CPU 102 interprets and executes the deployed program to control each portion, and implements the data collection and the linking processing from each process, acquisition processing of setting information 30, and the visualization processing.
Memory 106 is configured of a dynamic random access memory (DRAM), a static random access memory (SRAM), or the like. For example, storage 108 includes a non-volatile storage device such as a hard disc drive (HDD), a solid state drive (SSD), or a flash memory, but a part of storage 108 may include a volatile storage.
Chip set 104 mediates the exchange of the data between CPU 102 and each component, thereby implementing the processing of PLC 100 as a whole.
Storage 108 stores control program 140 designed according to the control target and IO refresh program 40 in addition to a system program 1082 including a scheduler program 132 and an operating system (OS) 131 that implement a basic functions of PLC 100. Storage 108 further stores IoT program 260 and web server program 280. Furthermore, storage 108 includes an area in which visualization data 283 is stored, area 41 in which the data collected regarding control is stored, an internal memory 47 constituting an area of data accumulation unit 62 corresponding to the storage, and the area in which setting information 30, individual ID 43, and lot data 44 are stored.
In the embodiment, for example, a storage format of the time series data of each process in data accumulation unit 62 can include a text data file such as a comma separated values (CSV) file. Such the file can be uniquely identified by attaching a file name and a generation date and time as a header.
USB controller 112 is in charge of the data exchange with any information processing device through the USB connection. For example, the arbitrary information processing device includes support device 500.
Field network controller 113 includes a connector 116a that connects field network 11 to which field device 90 and the like belong, and controls data exchange between the PLC 100 and other devices including field device 90 via field network 11. Field network controller 113 includes an internal buffer that stores observation value 92 received from field network 11 and control command 93 output from PLC 100 to field network 11 as input data 154 and output data 155.
Memory card interface 114 is configured such that SD card 116 is detachable. Under the control of CPU 102, memory card interface 114 writes the information in SD card 116 and reads the information from SD card 116. The information read from and written tin SD card 116 includes an application program including control program 140 and IoT program 260, data such as various settings, and a log file 320.
Timer 115 includes a clock circuit or a counter circuit that measures time, but is not limited to such the circuit, and may include a software module executed by CPU 102.
Network controller 120 includes a connector 120a that connects PLC 100 to network 2, and controls the data exchange between another device and PLC 100 through network 2.
CPU 102 includes one or a plurality of processors. The one or the plurality of processors repeatedly executes control program 140 and refresh program 40 at a predetermined cycle (for example, a control cycle), thereby performing the above-described control arithmetic processing and TO refresh to periodically control the devices connected to field network 11. Furthermore, one or the plurality of processors of CPU 102 executes IoT program 260 and web server program 280.
Although the configuration example in which required functions are provided by CPU 102 executing the program has been described in
Input interface 518 mediates the data transmission between CPU 510 and input devices such as a keyboard 523, a mouse (not illustrated), and a touch panel (not illustrated). Display controller 520 is connected to a display 522 and causes display 522 to display a processing result in CPU 510 and the like. Communication interface 524 communicates with PLC 100 through a USB. Data reader and writer 526 mediates the data transmission between CPU 510 and a memory card 516 that is an external storage medium.
Detachable attached storage medium such as SD card 116 of PLC 100 and memory card 516 in
PLC 100 includes a module configured in IoT platform 10A and a module configured in control unit 10B. PLC 100 includes a web server 60 implemented by executing web server program 280 under IoT platform 10A and IoT application 61 implemented by executing IoT program 260. IoT application 61 includes a data collection unit 63 implemented by executing collection program 270 and a linking unit 64 implemented by executing linking program 271.
Control unit 10B collects the data of the product ID from production line 3 and the data of the variable indicating observation value 92 including inspection result 94, and stores the collected data in data area 42, by the 10 refresh. The product ID data thus collected includes individual ID 43 and lot data 44. For the sake of explanation, the data item (variable A) of process 3A, the data item (variable B) of process 3B, and the data item (variable C) indicating inspection result 94 of inspection process 3C that are set by collection setting information 28 are illustrated in data area 42 of
From data area 42, based on collection setting information 28, the data of the data item (variable) of each process set as the collection target is collected by data collection unit 63, and the collected time series data of the data item is subjected to the linking processing described above by linking unit 64 and then stored in data accumulation unit 62. By the linking processing, in the time series data of each process of data accumulation unit 62, the product ID and the inspection result 94 of the product are linked with the partial time series data collected in the period in which the production work is performed on the product in the process.
Visualization unit 65 generates visualization data 283 by performing the visualization processing according to the setting of visualization setting information 29 based on the time series data of each process of data accumulation unit 62. Web browser 501 acquires visualization data 283 from web server 60, and causes display 522 to display the screen based on visualization data 283.
CPU 102 monitors the operating flag (not illustrated) corresponding to each process indicated by input data 154 during the processing in
In the process of
Referring to
When it is determined that the product ID is acquired from lot data 44 (NO in step S1), CPU 102 acquires the virtual individual ID from lot data 44 for the product flowing through each process (steps S8, S9). Thereafter, the processing transfers to step S2.
On the other hand, when it is determined that the product ID is acquired from individual ID 43 (YES in step S1), CPU 102 collects the data based on collection setting information 28 in the period in which the operating flag is “ON”, and performs the linking processing of the product ID (the individual ID or the virtual individual ID) in the collected time series data (steps S2, S3). In addition, the linking processing of the product ID (the individual ID or the virtual individual ID) and inspection result 94 of the product is performed (step S4).
CPU 102 stores (accumulates) partial time series data 73 of each process acquired in step S2 and step S3 and data 73 acquired in step S4 in data accumulation unit 62 (steps S5, S6, S7).
CPU 102 monitors the operating flag corresponding to each process, and when it is determined that the operating flag is changed to “ON” (steps S10, S11), the process proceeds to step S1, and the subsequent processing is performed in the same manner as described above. Thus, in each process, the linking processing is performed on the product input next.
Such the monitoring of the operating flag, the data collection, and the linking processing are repeatedly performed on the product input to each process. By such the repetition processing, for each production process (processes 3A, 3B), partial time series data 73 collected in the period in which the production operation is performed on the product in the process, namely, in the period in which the operating flag is ON is stored in data accumulation unit 62 while linked with the product ID of the product and inspection result 94.
In
In
In
That product ID “X2” and inspection result 94 of the product are “normal” are displayed in window 51A. In window 52, the name of the data item (variable A) of the collection target for process 3A and the characteristic indicating the temporal change in the value of the partial time series data for the data item are displayed in a graph. In window 53, the name of the data item (variable B) of the collection target for process 3B and the characteristic indicating the temporal change in the value of the partial time series data for the data item are displayed in a graph. In each of windows 52, 53, the value of data is taken on a vertical axis of the graph, and an elapsed time T is taken on a horizontal axis. Elapsed time T indicates a common time axis for the partial time series data of each product, and corresponds to the period from the start to the end of the operation of the production work for the product, for example, the period in which the operating flag is “ON”.
In
The graph of the partial time series data corresponding to each product corresponding to the data item (variable A) is displayed in window 52 of process 3A in
Visualization data 283 is configured such that the partial time series data of the product in each process is displayed as a blue graph 54C when inspection result 94 of the product indicates normal, displayed as a red graph 54A when the inspection result indicates abnormal, and displayed as a gray graph 54B indicating an uninspected product that is not inspected in the inspection process yet. Visualization program 282 generates visualization data 283 at the timing when the screen is updated by the web browser or periodically. The screen of display 522 in
In window 79A, for the values of the partial time series data of the plurality of products of the target lot passing through process 3A in the period illustrated in window 55, the value corresponding to the group of products determined to be normal, the value corresponding to the group of products determined to be abnormal, and the value corresponding to the group of uninspected products are displayed for a statistic 79 (a maximum value, a minimum value, an average value and standard deviation) that is an example of the representative value calculated by data collection unit 63. For example, the maximum value of statistic 79 of the group of a certain product indicates a representative value (the maximum value, the minimum value, the average value, and the standard deviation) for the maximum value indicated by the partial time series data of each product constituting the group. Statistic 79 is similarly derived for other types of groups.
As described above, in window 79A, for example, the statistics of the product having product ID “X2” and the partial time series data and the product having the product ID other than “X2” and the partial time series data are quantitatively indicated. For example, the generation module of visualization data 283 based on the calculation of the statistic and the statistic is configured to include visualization program 282 including statistic calculation program 285.
In window 79B, a histogram is displayed in association with the waveform graph of the partial time series data of process 3A. In this histogram, the horizontal axis indicates a plurality of ranks of values indicated by the waveform of window 52, and the vertical axis indicates a frequency of the value belonging to each rank. Similarly to the graph of the waveform of window 52, the visualization data constituting the histogram is also the data representing the characteristic of the change in the value of the partial time series data for each product input to process 3A in the visualized manner. Also in window 79B, the histograms based on the partial time series data for a product group with the normal quality, a product group with the abnormal quality, and a product group that is not inspected yet are displayed in blue, red, and gray, respectively.
In
Visualization data 283 includes the data that visualizes the partial time series data linked with the product ID and inspection result 94 for each production process by arranging the partial time series data on the same screen according to the priority order based on the value of the partial time series data. The priority order of such the arrangement can be determined based on a deviation degree acquired for each process. More specifically, CPU 102 executes priority processing program 284 to acquire, for each process, the representative value of the value of the partial time series data of each product constituting the group for each of a plurality of groups (groups classified based on inspection results 94) including the products input to the process, and acquire the deviation degree between the representative value of each group and the representative value of another group. The priority order is determined based on the deviation degree acquired in this manner.
For example, visualization data 283 is configured such that the deviation degree between the normal value and the abnormal value of statistic 79 of a certain group is compared with the deviation degree between the normal value and the abnormal value of statistic 79 of another group, and the graph of the partial time series data of the group having the larger deviation degree is displayed on the higher order side of the arrangement on the screen than the graph of the partial time series data of another group. As described above, the two groups for which the deviation degree is to be calculated only need to have different types of inspection results, and typically, the deviation degree is calculated between the abnormal group and the normal group.
In
The screen in
Visualization setting information 29 can include the setting of the switching of the display mode of the graph described above. For example, visualization setting information 29 may include the setting in which, regarding the color density of the graph of window 52 or 53, the graph of the partial time series data acquired more recently in the target period indicated by window 55 is displayed in a darker color and the graph of the partial time series data of the past is displayed in a lighter color.
In addition, a plurality of waveforms may be simultaneously selected in windows 52, 53 by the user operation. In
The display destination of the screen based on visualization data 283 is not limited to support device 500, but may be HMI device 310, information terminal 321, or PLC 100 when PLC 100 includes the display device. In windows 52 and 53 of
The screen in
In a management table 62A of
In the management table 62A of
In the configuration of
In the processing of
In
The case where the virtual individual ID is acquired as the product ID will be described.
In
In the embodiment, operating flag 125,127 are set by the execution of the command such as a function block included in control program 140. Such the instruction may include an arithmetic command or a timer command that set the operating flag.
As described above, the method for acquiring the virtual individual ID in each process is not limited to the method for utilizing lot data 44 unique to each process as illustrated in
Priority calculation expression 166 indicates an arithmetic expression utilized by priority processing program 284 in order to calculate the deviation degree that determines the priority order of graph display on the screen between processes.
Process order 160 is utilized to exchange the virtual individual ID between processes through the queue. Comment 165 may be displayed with the graph of the partial time series data in
Linking unit 64 links individual ID 43 with the partial time series data when individual ID designation 163 is set, and acquires the virtual individual ID to link the virtual individual ID with the partial time series data when individual ID designation 163 is not set. In step S1 of
For each process, a rate of change in statistic 79 is calculated according to a reference expression of “deviation degree of statistic”=“statistic at abnormal time”/“statistic at normal time” utilizing statistic 79 of the process. When the user sets “maximum value” as priority calculation expression 166, a calculation formula of “deviation degree of statistic”=“maximum value at abnormal time”/“maximum value at normal time” is set. The value is not limited to the maximum value of statistic 79, but may be the minimum value, the average value, the standard deviation, or the like, or may be a combination of at least two of the minimum value, the average value, the standard deviation, or the like. In addition, the deviation degree of the statistic may be calculated using a value obtained by weighting the deviation degree of the statistic calculated by the reference expression. For example, the deviation degree of the statistic may be calculated by “deviation degree of statistic”=0.8דdeviation degree of average value”+0.2דdeviation degree of standard deviation”. In this way, the deviation degree of statistic 79 is calculated for each process, and the graph of the partial time series data of the process having the large deviation degree is preferentially displayed on the screen as compared with the graph of the partial time series data of other processes. The screen displayed in this manner can provide the user with support information specifying the process having the large deviation degree among the plurality of processes of production line 3, namely, the process inducing “abnormality” of inspection result 94.
With reference to
When it is determined that the quality abnormality is detected (YES in step S20), the user determines which process the graph of the waveform of the partial time series data indicates the abnormality from the screen based on visualization data 283 displayed on display 522 (step S21). On this screen, as described above, the graph of the process having the large deviation degree is displayed in a higher order than the graphs of other processes. For example, in the screen of
The user temporarily stops production line 3 to maintains field device 90 of specified target process 3A (step S22). For example, when variable A is the data item of the collection target in process 3A, the user can narrow down field device 90 in which the value of variable A is observed to the maintenance target.
Thereafter, the user operates temporarily-stopped production line 3 to restart the production (step S23). On the screen of visualization data 283 based on the data collected after the restart of production, the graph of the waveform of the partial time series data of each process after maintenance is displayed.
The user checks the waveform based on the partial time series data of each process from the screen based on visualization data 283 generated after the production is resumed (step S24). The user checks whether the abnormality in the waveform graph is eliminated from the screen (step S25). That is, it is confirmed that there is no process including the graph with the large rate of change (deviation degree). When it is confirmed that the abnormality is not eliminated (NO in step S25), the process returns to step S22, and the user performs maintenance of field device 90.
For example, when the screen in
On the other hand, when it is confirmed that there is no process having the graph with the large deviation degree, namely, when it is confirmed that the abnormality is eliminated (YES in step S25), the production of the product is continued (step S26). For example, when the screen in
In addition, the user monitors the screen based on visualization data 283 displayed on display 522 while production line 3 is in operation. For example, the screen in
At least one processor executes the commands of IoT program 260 and web server program 280 of the embodiment, thereby causing the computer to implement the data collection method described above. IoT program 260 and web server program 280 can be provided as a program product by being recorded on a machine-readable recording medium such as the computer including the recording medium such as a flexible disk, a CD-ROM, a read only memory (ROM), a random access memory (RAM), and a hard disc drive (HDD) that are attached to PLC 100. Recording medium is a medium that accumulates information such as the program by electrical, magnetic, optical, mechanical, or chemical action such that a computer, other devices, a machine, or the like can read the information such as the recorded program. Such the recording medium may include a non-transitory machine-readable storage medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to perform the data collection method.
The program(s) can also be provided to PLC 100 by being downloaded from network 2 through network controller 120.
The above embodiments include the following technical ideas.
[Configuration 1]
A data collection device that collects data of a target produced through one or a plurality of processes provided in a production line (3), the data collection device comprising:
[Configuration 2]
The data collection device described in configuration 1, wherein
[Configuration 3]
The data collection device described in configuration 2, wherein the visualization data includes data that visualizes the partial time series data in which the identifier and the inspection result are linked with each other for the each process by arranging the partial time series data according to priority order based on a value of the partial time series data.
[Configuration 4]
The data collection device described in configuration 3, wherein
[Configuration 5]
The data collection device described in configuration 4, wherein the generation unit determines the priority order based on the deviation degree acquired for the each process.
[Configuration 6]
The data collection device described in configuration 4 or 5, wherein the representative value includes, for each of the plurality of groups, a statistic (79) of values of the partial time series data of each target constituting the group.
[Configuration 7]
The data collection device described in configuration 6, wherein the visualization data includes data visualizing the statistic corresponding to the each group.
[Configuration 8]
The data collection device described in any one of configurations 4 to 7, wherein the generation unit determines order in the priority order of the each process so as to be higher as the deviation degree of the process is larger.
[Configuration 9]
The data collection device described in any one of configurations 4 to 8, wherein, for the each group, a type of the inspection result of the target constituting the group is different from a type of the inspection result of the target constituting the another groups.
[Configuration 10]
The data collection device described in configuration 9, wherein the type of the inspection result includes normal, abnormal, and uninspected indicating that the target is not inspected yet.
[Configuration 11]
The data collection device described in any one of configurations 2 to 10, wherein the visualization data includes, for the each process, characteristic visualization data (54A, 54B, 54C) visualizing a characteristic of a change in the value of the partial time series data for each target input to the process.
[Configuration 12]
The data collection device described in configuration 11, wherein the characteristic visualization data includes, for the each process, temporal characteristic visualization data visualizing a characteristic indicating a temporal change in the value of the partial time series data for each target input to the process with a common time axis.
[Configuration 13]
The data collection device described in any one of configurations 1 to 12, wherein the visualization data includes data visualizing the collection data in a mode according to the type of the inspection result linked with the collection data.
[Configuration 14]
The data collection device described in any one of configurations 1 to 13, wherein the data collection device is included in a control device (100) that controls the production line.
[Configuration 15]
A non-transitory computer-readable recording medium including instructions that, when executed by one or more processors, cause the one or more processors to perform a method, the method being a method for collecting data of a target produced through one or a plurality of processes provided in a production line (3), the method comprising:
[Configuration 16]
A method performed by a computer (102),
Although the embodiment of the present invention has been described, it should be considered that the disclosed embodiment is an example in all respects and not restrictive. The scope of the present invention is indicated by the claims, and it is intended that all modifications within the meaning and scope of the claims are included in the present invention.
Number | Date | Country | Kind |
---|---|---|---|
2022-061819 | Apr 2022 | JP | national |