Data collection program, data collection device, data collection system and data collection method
Patent Information
- Application Number
- JP2024539761
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2024-02-19
- Publication Date
- 2026-01-28
- Estimated Expiration
- 2044-02-19
AI Technical Summary
Existing control devices in FA sites struggle to correlate data across different control devices due to differing timekeeping accuracy, making it difficult to synchronize data from previous and subsequent processes on the same object.
A data collection system that utilizes a shared time generation mechanism across multiple control devices, enabling accurate time correction and synchronization through a clock generator, and associates control data using a cross-correlation function to align data from different control devices.
Enables data synchronization and correlation across different control devices, allowing for accurate association of data from previous and subsequent processes, facilitating centralized management and analysis.
Smart Images

Figure 00000012_0000 
Figure 00000012_0001 
Figure 00000012_0002
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a data collection program, a data collection device, a data collection system, and a data collection method. [Background technology]
[0002] There is known a technique for analyzing data collected at a factory automation (FA) site and using the analysis results in subsequent operations (see, for example, Patent Document 1). Patent Document 1 describes a technique for logging data with high timing accuracy in order to analyze the data for the purpose of predicting anomalies or optimizing control. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] International Publication No. 2020 / 044909 Summary of the Invention [Problem to be solved by the invention]
[0004] In a line that processes a large number of objects in sequence, when multiple processes are performed in sequence on each object, there is a demand for analyzing the relationship between these multiple processes. For example, after a process of polishing, cutting, or otherwise processing a workpiece, there is a process of measuring the dimensions of the processed workpiece. If the relationship between the parameters during processing, such as torque, rotation speed, or voltage, and the measured dimensions is clarified, it becomes easy to set appropriate parameters to obtain a specific dimension. In addition, after a process of applying a drug onto a film, there is a process of measuring the thickness of the drug. If the relationship between the parameters, such as the injection pressure of the drug, and the measured thickness is clarified, it becomes easy to set appropriate parameters to obtain a specific thickness.
[0005] To perform this analysis, it is necessary to associate data obtained in a previous process with data obtained in a subsequent process for the same object, such as the same workpiece or the same film portion. If both the previous and subsequent processes are performed by a single control device controlling the equipment, it is possible to log data using the technology of Patent Document 1. However, if the previous and subsequent processes are performed using different control devices, the different control devices do not necessarily log data at a common time, making it difficult to associate data for the same object.
[0006] Specifically, in the case of control devices used in FA, generally, priority is given to ensuring functions such as sequence control, and the priority of the function of measuring time is low. Even if the control device has a function of measuring time, the time is corrected infrequently, and sufficient accuracy is not obtained to match data of previous and subsequent processes related to the same object. Therefore, data cannot be obtained based on a common time between different control devices in charge of previous and subsequent processes, and there is a risk that data of the previous and subsequent processes cannot be properly matched.
[0007] The present disclosure has been made in light of the above-mentioned circumstances, and aims to obtain data based on a common time among different control devices responsible for previous and subsequent processes, and to appropriately associate the data for the previous and subsequent processes. [Means for solving the problem]
[0008] In order to achieve the above object, a data collection program of the present disclosure causes a computer connected via a network to a plurality of control devices that have a function of generating a control period using a clock generator and control controlled devices in different processes that are executed sequentially on a line that processes an object to function as: a time acquisition means for acquiring a shared time; a sharing means for sharing the shared time with the plurality of control devices; a collection means for collecting from each of the control devices associated data in which each of the control devices associates control data relating to the control of the controlled device with a correction time that is more accurate than the shared time obtained from the shared time and the control period; and an association means for associating control data received from different control devices with each other based on the correction time associated with the control data in the associated data. The correlation means obtains a time difference between processes from a cross-correlation function of time-series data, which is a sequence of control data, and correlates the control data associated with the correction time having the time difference. . Effect of the Invention
[0009] According to the present disclosure, data can be obtained based on a common time among different control devices responsible for preceding and succeeding processes, and the data for the preceding and succeeding processes can be appropriately associated with each other. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram showing a configuration of a data collection system according to an embodiment; [Diagram 2] FIG. 1 is a diagram for explaining collection of related data according to an embodiment. [Diagram 3] FIG. 1 is a diagram showing a hardware configuration of an FA apparatus according to an embodiment. [Figure 4] FIG. 2 is a diagram showing the functional configuration of a data collection device and a control device according to an embodiment. [Diagram 5] FIG. 1 is a diagram showing an example of data stored in a storage unit according to an embodiment; [Figure 6] FIG. 1 is a diagram showing an example of control data associated by an association unit according to an embodiment; [Figure 7] 1 is a flowchart showing a data collection process according to an embodiment. [Figure 8] FIG. 13 is a diagram for explaining logging of control data according to a comparative example; [Figure 9]FIG. 13 is a diagram showing powder as a target object according to a modified example. [Figure 10] FIG. 13 is a diagram showing data compression in a storage unit according to a modified example. [Figure 11] 11 is a flowchart showing a compression process according to a modified example. [Figure 12] FIG. 13 is a diagram for explaining the association of control data according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, a data collection system according to an embodiment of the present disclosure will be described in detail with reference to the drawings.
[0012] Embodiment The data collection system 1000 according to the present embodiment is constructed in a facility such as a factory or a plant. As shown in Fig. 1, the data collection system 1000 corresponds to a control system that controls a plurality of controlled devices to cooperate with each other and operates a line that performs various processes such as a production line, a machining line, and an inspection line.
[0013] In the example of FIG. 1, when the film 40 indicated by the thick line is unwound from the unwinding drum 321, the controlled device 31 sprays a chemical onto the film 40 in a coating process to adhere it to the surface. The coating process forms a film of the chemical on the surface of the film 40. Then, the chemical is dried in a conveying process, and the thickness of the chemical is inspected by the controlled device 33 in an inspection process, after which the film 40 is wound up by the winding drum 322. The unwinding drum 321 and the winding drum 322 are rotated by the controlled device 32. In this way, the control devices 21 to 23 control the controlled devices 31 to 33 in different processes that are sequentially executed in the line that processes the film 40 as the object. The controlled device 31 is controlled by the control device 21, the controlled device 32 is controlled by the control device 22, and the controlled device 33 is controlled by the control device 23.
[0014] The data collection system 1000 includes a data collection device 100 that collects data from control devices 21-23, control devices 21-23 connected to the data collection device 100 via a network NW, and controlled devices 31-33 that are controlled by the control devices 21-23, respectively.
[0015] The network NW is an industrial network typified by a field network. However, the network NW is not limited thereto, and may be an information network such as a LAN (Local Area Network). The control devices 21-23 and the controlled devices 31-33 may be connected by a signal line that transmits a current signal or a voltage signal, may be connected by a communication line that transmits serial data, or may be connected via the same or different network as the network NW.
[0016] The data collection device 100 is a computer represented by an industrial PC (Personal Computer). The data collection device 100 may be a UI (User Interface) terminal that executes application software such as a so-called engineering tool and allows a user to create or edit a control program that describes the processing content to be executed by the control devices 21 to 23 and write the control program to the control devices 21 to 23.
[0017] Furthermore, the data collection device 100 shares time with the control devices 21-23, and collects data logged by the control devices 21-23 using this shared time and built-in clock generators. Note that sharing time and synchronizing time among multiple devices means synchronizing the clocks of each of the multiple devices. If the clocks of each of the multiple devices keep the same time, and this time is shared among the multiple devices, then the multiple devices will have their times synchronized. Hereinafter, the time shared among the devices will be referred to as the shared time.
[0018] 2, the control device 21 has a clock generator 211, the control device 22 has a clock generator 221, and the control device 23 has a clock generator 231. The clock generators 211, 221, and 231 are devices that include, for example, a quartz crystal resonator, a ceramic oscillator, or an oscillation circuit, and generate clock pulses. The control devices 21 to 23 generate a control period using these clock generators 211, 221, and 231. The length of the control period is, for example, 1 μsec, 10 μsec, or 100 μsec.
[0019] Programmable controllers as the control devices 21 to 23 usually have a function of generating a control period as described above in order to enable high-speed and accurate control such as motion control of a servo motor. In the example of Fig. 1, the control device 22 rotates the unwinding drum 321 and the winding drum 322 based on the control period. Note that the control devices 21 and 23 have a function of generating a control period, but may control the controlled devices 31 and 33 based on the generated control period, or may control the controlled devices 31 and 33 by sequence control independent of the control period.
[0020] The control devices 21-23 obtain a corrected time with higher accuracy than the shared time from the shared time and the control period shared by the data collecting device 100. For example, the shared time is distributed from the data collecting device 100 to the control devices 21-23 according to NTP (Network Time Protocol). The accuracy of the shared time shared by NTP is usually at least in millisecond units, and may be in units of one second. The control devices 21-23 each measure time from the time indicated as the shared time in the control period to obtain a corrected time with higher accuracy than the shared time. For example, the control devices 21-23 start measuring time every 1 μsec, which is the control period, from when the shared time indicates 1:23:45, and treat 1:23:45.000001 and 1:23:45.000002 as different times. The time at which measuring time every control period starts may be the time every one second indicated by the shared time, or may be another time.
[0021] Then, the control devices 21-23 use the correction time to log control data related to the control of the controlled devices 31-33. In detail, the control devices 21-23 associate the correction time indicating the time point at which the control data was recorded with the value of the control data and store them as related data. The control data recorded by the control device 21 indicates, for example, the injection pressure set by the control device 21 for the controlled device 31 that applies the medicine, or the actual value of the injection pressure detected by a built-in sensor of the controlled device 31. The control data recorded by the control device 22 indicates, for example, the length of the film 40 unwound by the unwinding drum 321, which is calculated from the amount of operation of the servo motor of the controlled device 32. The control data recorded by the control device 23 indicates, for example, the thickness of the medicine measured by the controlled device 33.
[0022] The related data recorded by the control devices 21-23 is collected by the data collection device 100. The data collection device 100 collects log data recorded with high accuracy using the control period from the multiple control devices 21-23 via the network NW.
[0023] Next, the hardware configuration of the data collection device 100 and the control devices 21-23 as computers will be described with reference to Fig. 3. The FA device 400, which corresponds to each of the data collection device 100 and the control devices 21-23, has a processor 41, a main memory unit 42, an auxiliary memory unit 43, a clock unit 44, an input unit 45, an output unit 46, and a communication unit 47, as shown in Fig. 3. The main memory unit 42, the auxiliary memory unit 43, the clock unit 44, the input unit 45, the output unit 46, and the communication unit 47 are all connected to the processor 41 via an internal bus 48.
[0024] The processor 41 includes a CPU (Central Processing Unit) or MPU (Micro Processing Unit) as a processing circuit. The processor 41 executes a program P1 stored in the auxiliary storage unit 43 to realize various functions and execute the processes described below. The program P1 of the data collection device 100 corresponds to an example of a data collection program. The programs P1 of the control devices 21-23 correspond to a control program written in ladder language or C language and describing the contents of control for the controlled devices 31-33.
[0025] The main memory unit 42 includes a RAM (Random Access Memory). The program P1 is loaded into the main memory unit 42 from the auxiliary memory unit 43. The main memory unit 42 is used as a working area for the processor 41.
[0026] The auxiliary storage unit 43 includes a non-volatile memory such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) and an HDD (Hard Disk Drive). In addition to the program P1, the auxiliary storage unit 43 stores various data used in the processing of the processor 41. The auxiliary storage unit 43 supplies the data used by the processor 41 to the processor 41 according to an instruction from the processor 41. The auxiliary storage unit 43 also stores data supplied from the processor 41.
[0027] The clock unit 44 includes a clock generating circuit having, for example, a crystal oscillator, a silicon oscillator, or other oscillator circuit. The clock unit 44 generates and outputs a clock signal based on the clock generated by the clock generating circuit. The clock signal includes a clock pulse, and is used by the processor 41 to measure time by counting the number of rising edges of the clock pulse through a built-in hardware element or software processing executed by the processor 41. The clock unit 44 of the control devices 21 to 23 corresponds to the clock generators 211, 221, and 231.
[0028] The input unit 45 includes input devices such as a hardware switch, an input key, a keyboard, and a pointing device. The input unit 45 acquires information input by a user of the FA device 400, and notifies the processor 41 of the acquired information.
[0029] The output unit 46 includes output devices such as a light emitting diode (LED), a liquid crystal display (LCD), and a speaker. The output unit 46 presents various information to the user in accordance with instructions from the processor 41.
[0030] The communication unit 47 includes a communication interface circuit for communicating with an external device. The communication unit 47 receives a signal from the outside and outputs data indicated by the signal to the processor 41. The communication unit 47 also transmits a signal indicating the data output from the processor 41 to the external device. Note that, although one communication unit 47 is representatively shown in FIG. 3, the FA device 400 may have multiple communication units 47. For example, the control device 21 may have a communication unit 47 for communicating with the data collecting device 100 and a communication unit 47 for communicating with the controlled device 31 separately.
[0031] The above-mentioned hardware configurations work together to allow the data collection device 100 and the control devices 21-23 to perform various functions. In detail, as shown in Fig. 4, the data collection device 100 has, as its functions, a clock unit 11 that clocks a shared time, a time acquisition unit 12 that acquires the shared time from the clock unit 11, a sharing unit 13 that shares the shared time with the control devices 21-23, a collection unit 14 that collects related data from the control devices 21-23, a storage unit 15 that stores the collected related data, an information acquisition unit 16 that acquires movement information regarding the movement of the object between processes, an association unit 17 that associates the control data collected from different control devices 21-23 with each other based on the correction time and movement information indicated by the related data, and a learning unit 18 that learns a model from the associated control data.
[0032] The timekeeping unit 11 is mainly realized by the clock unit 44 of the data collecting device 100. The timekeeping unit 11 keeps track of a reference time shared among devices connected to the network NW.
[0033] The time acquiring unit 12 is mainly realized by the processor 41. The time acquiring unit 12 acquires the reference time clocked by the clock unit 11, and notifies the sharing unit 13 of the acquired reference time as the shared time. The time acquiring unit 12 corresponds to an example of a time acquiring means for acquiring the shared time.
[0034] The sharing unit 13 is mainly realized by the processor 41 and the communication unit 47. The sharing unit 13 shares the shared time with the control devices 21-23 according to, for example, NTP or SNTP (Simple Network Time Protocol). The sharing unit 13 corresponds to an example of a sharing means for sharing the shared time with the multiple control devices 21-23.
[0035] The collection unit 14 is mainly realized by the communication unit 47. The collection unit 14 collects related data from the control devices 21-23 and stores the collected related data in the storage unit 15. The collection of related data by the collection unit 14 may be performed by requesting untransmitted related data from the control devices 21-23, or by receiving related data spontaneously transmitted by the control devices 21-23. The collection timing of the related data may be arbitrary, and may be periodic or may be a timing when a predetermined condition is satisfied. The collection unit 14 may collect related data from a plurality of control devices 21-23 simultaneously, or may receive related data at different timings for each device. The collection unit 14 corresponds to an example of a collection means for collecting related data from each of the control devices 21-23, in which each of the control devices 21-23 associates a correction time with control data.
[0036] The memory unit 15 is mainly realized by at least one of the main memory unit 42 and the auxiliary memory unit 43. FIG. 5 shows an example of data stored in the memory unit 15. In the example of FIG. 5, the memory unit 15 stores related data 151 collected from the control device 21, related data 152 collected from the control device 22, and related data 153 collected from the control device 23. The related data 151 is data showing the injection pressure value of the controlled device 31 every minute in time series. The related data 152 is data showing the length of the film 40 unwound and wound by the controlled device 32 in time series every μ seconds. The related data 153 is data showing the thickness of the drug measured by the controlled device 33 in time series every minute.
[0037] The information acquiring unit 16 is mainly realized by the input unit 45. The information acquiring unit 16 acquires information necessary for the association of control data by the association unit 17, and information different from the related data. In detail, the information acquiring unit 16 acquires movement information on the movement of the object to be processed by the controlled devices 31 to 33 from the user of the data collecting device 100. The movement information is, for example, the distance between processes when different processes are performed in order on the object, and more specifically, the distance between the part of the film 40 to which the drug is applied by the controlled device 31 and the part of the film 40 to which the thickness of the drug is inspected by the controlled device 33. If this distance is known, it is possible to obtain the time difference between the time when the drug is applied and the time when the thickness is inspected for the same part of the film 40 by comparing it with the amount of movement of the film acquired from the control device 22. The information acquiring unit 16 corresponds to an example of an information acquiring means for acquiring movement information on the movement of the object.
[0038] The association unit 17 is mainly realized by the processor 41. The association unit 17 associates control data related to the same object with each other based on the associated data stored in the storage unit 15 and the movement information acquired by the information acquisition unit 16. In detail, the association unit 17 calculates the time difference between the steps that occurs when the same object is processed. For example, when the sum of the accumulated movement amounts indicated by the associated data 152 shown in FIG. 5 becomes equal to the distance between the steps indicated by the movement information, the association unit 17 calculates the difference between the correction times associated with the first and last movement amounts of the accumulated movement amounts as the time difference between the steps. Then, the association unit 17 associates the control data associated with the correction times of the associated data 151, 153 having the calculated time difference with each other.
[0039] 5, when there is movement information of 24000 mm, for example, as a result of accumulating the movement amount from exactly 12:00:00 to exactly 12:04:00 in the related data 152, the accumulated value is equal to 24000 mm. That is, for the portion of the film 40 to which the medicine was applied at exactly 12:00:00, the thickness of the medicine was inspected at exactly 12:04:00, and it is found that the time difference between the processes is 4 minutes. Therefore, the control data 1510 associated with the corrected time of 12:00:00 in the related data 151 is associated with the control data 1530 associated with the corrected time of 12:04:00 in the related data 153.
[0040] FIG. 6 shows an example of control data associated by the association unit 17. In FIG. 6, the control data associated by the association unit 17 are arranged in the same row. The partial data 51 on the left side of the table shown in FIG. 6 is data extracted from the related data 151 shown in FIG. 5. The column data 52 shown in FIG. 6 is the distance indicated by the movement information. The partial data 53 is data calculated by the association unit 17 from the related data 152. In detail, the transport time length in the partial data 53 is the time length from the correction time indicated in the partial data 51 to the time when the integrated value of the movement amount of the related data 152 becomes equal to the distance indicated in the column data 52, and corresponds to the time difference between the above-mentioned processes. The motor speed is obtained as a value obtained by dividing the distance by the transport time length. The partial data 54 shown in FIG. 6 is data extracted from the related data 153 as being associated with the partial data 51.
[0041] Referring to FIG. 6, for example, for a portion of the film 40 on which a drug was applied at 12:00:00 with an injection pressure of 7 MPa, the drug thickness was inspected at 12:04:00 after a 4-minute conveyance time, and the inspection result was 5 μm. Similarly, for a portion on which a drug was applied at an injection pressure of 5 MPa, the drug thickness was 4 μm, and for a portion on which a drug was applied at an injection pressure of 6 MPa, the drug thickness was 7 μm. The association unit 17 may store a table in which association as shown in FIG. 6 has been completed in the storage unit 15 separately from the associated data, or may provide a link to other associated control data for the control data in the associated data. The association unit 17 corresponds to an example of an association means that uses movement information to calculate a time difference between processes and associates control data associated with a correction time having the calculated time difference.
[0042] Returning to FIG. 4, the learning unit 18 is mainly realized by the processor 41. The learning unit 18 learns a model for estimating one control data from another control data based on the control data associated by the association unit 17. In the example of FIG. 6, the learning unit 18 learns and outputs an estimation model for estimating thickness from injection pressure by machine learning with the injection pressure as an explanatory variable and the thickness as an objective variable. The model learned by the learning unit 18 may be utilized by a user who uses the data collection device 100. For example, when an inspection result with a thickness significantly different from the estimation result by the model is obtained, it may be determined to be abnormal. The learning unit 18 corresponds to an example of a learning means for learning a model for estimating a value of control data of one control device from a value of control data of another control device based on the control data associated by the association means.
[0043] Returning to Fig. 4, the control devices 21 to 23 each have the same functions as the other. As shown in Fig. 4, the control device 20 corresponding to each of the control devices 21 to 23 has a time sharing unit 201 that shares a shared time with the data collecting device 100 and other control devices 20, a logging unit 202 that records control data in association with the shared time and a correction time obtained from the control period, and a transmission unit 203 that transmits associated data including the correction time and the control data to the data collecting device 100. The time sharing unit 201 is mainly realized by the processor 41 and the communication unit 47. The logging unit 202 is mainly realized by the processor 41 and the main memory unit 42. The transmission unit 203 is mainly realized by the communication unit 47.
[0044] Next, the data collection process executed by the data collection device 100 having the above-mentioned functions will be described with reference to Fig. 7. The data collection process corresponds to an example of a data collection method.
[0045] In the data collection process, the time acquisition unit 12 acquires a shared time (step S1), and the sharing unit 13 shares the shared time with the control devices 21 to 23 (step S2). Then, the collection unit 14 collects associated data, in which the control devices 21 to 23 associate the correction time with the control data, from the control devices 21 to 23 (step S3). Also, the information acquisition unit 16 acquires movement information (step S4).
[0046] Next, the association unit 17 calculates the time difference between the processes based on the related data and the movement information, and associates the control data having the calculated time difference with each other (step S5).Then, the learning unit 18 uses the associated control data to learn a model showing the relationship between the value of the control data of one process and the value of the control data of another process (step S6).Then, the data collection process ends.
[0047] As described above, the collection unit 14 collects from each of the control devices 21-23 the associated data in which the control devices 21-23 associate the control data with a corrected time that is more accurate than the shared time obtained from the shared time and the control period, and the association unit 17 associates the control data received from different control devices. This makes it possible to obtain data based on a common time in different control devices that handle previous and subsequent processes, and to appropriately associate the data of the previous and subsequent processes. In addition, the data and time collected at the FA site can be managed and recorded in a unified manner.
[0048] 8 shows a comparative example in which neither the control device 21a in charge of the coating process nor the control device 23a in charge of the inspection process shares the same shared time. In such a case, a discrepancy occurs between the clocks of the control devices 21a and 23a, and as a result, it becomes difficult to associate the control data 61 and 62 that should be associated with each other.
[0049] In contrast, according to the data collection system 1000 of the present embodiment, the control devices 21-23 can avoid the inclusion of time lag in the log data by sharing the shared time. Furthermore, by recording at a corrected time measured by a control period based on the shared time, the control data can be recorded in synchronization with the control of the controlled devices 31-33. This makes it possible to avoid the occurrence of time lag due to recording the control data at a timing different from the actual control, and the accumulation of such time lag.
[0050] In addition, the information acquisition unit 16 acquires movement information, and the association unit 17 calculates the time difference between processes using the movement information, and associates the control data associated with the correction time having the calculated time difference with each other. This enables accurate association of the control data.
[0051] Furthermore, the identity of an object has traditionally been determined by attaching an ID (Identifier) tag, such as a barcode, to the object. In discrete production, this type of ID tag is given to each individual product, which is the object. Discrete production is assembly production in which the object is a single workpiece, such as an automobile part or electronic device. In discrete production, attaching ID tags is relatively easy, but separate, dedicated equipment is required to attach, manage, and read ID tags.
[0052] In continuous or batch production of films or liquids, ID tags may be provided for each section, for example 1 m in length, but it is often difficult to provide ID tags to objects in the first place.
[0053] In contrast, according to this embodiment, even when the object is powder or granular material 70 as shown in Fig. 9, or when the object is a fluid including gas and liquid, it is possible to associate control data for the same object obtained in different processes. That is, even when it is difficult to attach an ID tag, it is possible to determine the identity of the object. Moreover, regardless of the shape and type of the object, it is possible to omit the equipment required for attaching, managing, and reading ID tags.
[0054] Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments.
[0055] For example, as shown in FIG. 5, if the control data is recorded every μs, the data size becomes large. Therefore, the storage unit 15 may compress and store the time-series control data as shown in FIG. 10. In detail, if the initial value of the control data, the correction time when the value of the control data changes, and the change amount of the value are stored, data to be stored during a period when the value does not change can be omitted. FIG. 11 shows a flow of the compression process of the control data by the storage unit 15. As shown in FIG. 11, in the compression process, the storage unit 15 detects a change point of the value of the control data (step S21), records the correction time when the change occurred and the change amount of the value of the control data (step S22), and accumulates the change time and the change amount while retaining the initial value (step S23). In the example of FIGS. 10 and 11, the storage unit 15 corresponds to an example of a storage means for storing the correction time associated with the control data when the value of the time-series control data collected by the collection means changes, and the change amount of the value.
[0056] Also, the embodiment in which the associating unit 17 associates control data with each other using movement information has been described, but the present invention is not limited to this. For example, as shown in Fig. 12, when the control data of one process has a sufficient correlation with the control data of the other process, the time difference between the processes can be obtained from the cross-correlation function of these time series data, and the control data can be associated. The associating unit 17 corresponds to an example of an associating means for associating control data received from different control devices with each other based on the correction time associated with the control data in the related data.
[0057] In addition, the control data to be logged indicates the injection pressure of the controlled device 31, the movement amount of the film 40 conveyed by the controlled device 32, or the thickness of the drug measured by the controlled device 33, but is not limited thereto. The control data may be production process data generated in a machining process, quality data indicating a measurement result other than the thickness, operation data indicating the operating state of the controlled device, or abnormality data indicating an abnormality of the controlled device. For example, if control data indicating the parameters of a certain process are associated with control data indicating the presence or absence of an abnormality thereafter and a model is learned, it becomes possible to predict what parameters will cause an abnormality and detect an abnormality sign.
[0058] Also, an example has been described in which the data collection device 100 generates the shared time using the clock unit 11, but this is not limiting, and the data collection device 100 may obtain the shared time from an external source. For example, if the shared time is Universal Time, the time acquisition unit 12 of the data collection device 100 may obtain the shared time from an external time server. In this case, the time acquisition unit 12 is realized by the communication unit 47.
[0059] In addition, the example in which the data collection device 100 shares the shared time with the control devices 21 to 23 is the synchronization of clocks with relatively low accuracy has been described, but the present invention is not limited to this. The sharing of the shared time may be the periodic notification of the current time from the data collection device 100.
[0060] The functions of the data collection device 100 according to the above-described embodiment can be realized by dedicated hardware or by a general computer system.
[0061] For example, the program P1 can be stored and distributed on a computer-readable recording medium such as a flexible disk, a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), or an MO (Magneto-Optical disk), and the program P1 can be installed on a computer to configure an apparatus that executes the above-mentioned processing.
[0062] Also, the program P1 may be stored in a disk device of a server device on a communication network such as the Internet, and may be downloaded to a computer, for example, by being superimposed on a carrier wave.
[0063] The above-mentioned processing can also be achieved by starting and executing the program P1 while transferring it via a network such as the Internet.
[0064] Furthermore, the above-mentioned processing can also be achieved by executing all or part of the program P1 on a server device, and executing the program P1 while the computer transmits and receives information related to the processing via a communications network.
[0065] In addition, when the above-mentioned functions are shared and realized by the OS (Operating System) or by the OS working together with an application, only the parts other than the OS may be stored on a medium and distributed, or may be downloaded to a computer.
[0066] Furthermore, the means for realizing the functions of the data collection device 100 is not limited to software, and some or all of the functions may be realized by dedicated hardware or circuits.
[0067] Various embodiments and modifications of the present disclosure are possible without departing from the broad spirit and scope of the present disclosure. The above-described embodiments are for explaining the present disclosure and do not limit the scope of the present disclosure. In other words, the scope of the present disclosure is indicated by the claims, not the embodiments. Various modifications made within the scope of the claims and within the scope of the disclosure equivalent thereto are considered to be within the scope of the present disclosure. [Industrial Applicability]
[0068] The present disclosure is suitable for accurate logging of data in a control system over a network. [Explanation of symbols]
[0069] 11 Timekeeping unit, 12 Time acquisition unit, 13 Sharing unit, 14 Collection unit, 15 Memory unit, 16 Information acquisition unit, 17 Corresponding unit, 18 Learning unit, 20-23, 21a, 23a Control unit, 31-33 Controlled device, 40 Film, 41 Processor, 42 Main memory unit, 43 Auxiliary memory unit, 44 Clock unit, 45 Input unit, 46 Output unit, 47 Communication unit, 48 Internal bus, 51, 53, 54 Partial data, 52 Column data, 61, 62 Control data, 70 Powder, 100 Data collection device, 151-153 Related data, 211, 221, 231 Clock generator, 201 Time sharing unit, 202 Logging unit, 203 Transmission unit, 321 Unwinding drum, 322 Winding drum, 400 FA device, 1000 Data collection system, 1510,1530 control data, NW network, P1 program.
Claims
1. A computer connected via a network to a plurality of control devices that have a function of generating a control period using a clock generator and control controlled devices in different processes that are sequentially executed on a line that processes objects, a time acquisition means for acquiring a shared time; a sharing means for sharing the shared time with the plurality of control devices; a collection means for collecting, from each of the control devices, associated data in which control data relating to control of the controlled device is associated with the shared time and a corrected time that is more accurate than the shared time obtained from the control period; an association means for associating the control data received from different control devices with each other based on the correction time associated with the control data in the association data; It functions as the associating means obtains a time difference between processes from a cross-correlation function of time-series data that is a series of the control data, and associates the control data associated with the correction time having the time difference with each other. Data collection program.
2. The computer and further functioning as a storage means for storing the correction time associated with the control data when the time-series value of the control data collected by the collection means changes, and the amount of change in the value. The data collection program according to claim 1 .
3. The computer and further functioning as a learning means for learning a model for estimating a value of the control data of one of the control devices from a value of the control data of another of the control devices, based on the control data associated by the association means.
3. The data collection program according to claim 1.
4. The object is a powder or a fluid. The data collection program according to claim 1 or 2.
5. A data collection device connected via a network to a plurality of control devices that have a function of generating a control period using a clock generator and control controlled devices in different processes that are sequentially executed on a line that processes objects, a time acquisition means for acquiring a shared time; a sharing unit for sharing the shared time with the plurality of control devices; a collection means for collecting, from each of the control devices, associated data in which control data relating to control of the controlled device is associated with the shared time and a corrected time that is more accurate than the shared time obtained from the control period; a correlation unit that correlates the control data received from different control devices with each other based on the correction time associated with the control data in the association data; Equipped with the associating means obtains a time difference between processes from a cross-correlation function of time-series data that is a series of the control data, and associates the control data associated with the correction time having the time difference with each other. Data collection equipment.
6. a plurality of control devices each having a function of generating a control period using a clock generator and controlling controlled devices in different processes sequentially executed on a line for processing objects; a data collection device according to claim 5, which shares a shared time with the plurality of control devices, and each of the control devices collects associated data from each of the control devices, the associated data being control data relating to the control of the controlled device, the shared time and a corrected time obtained from the control period and having higher accuracy than the shared time; A data acquisition system including:
7. A data collection method executed by a data collection device connected via a network to a plurality of control devices that have a function of generating a control period using a clock generator and control controlled devices in different processes that are sequentially executed in a line that processes objects, comprising: The time acquisition means acquires the shared time, a sharing unit that shares the shared time with the plurality of control devices; The collecting means collects, from each of the control devices, associated data in which control data relating to control of the controlled device is associated with the shared time and a corrected time that is more accurate than the shared time obtained from the control period; the associating means associates the control data received from different control devices with each other based on the correction time associated with the control data in the association data. This includes: the associating means obtains a time difference between processes from a cross-correlation function of time-series data that is a series of the control data, and associates the control data associated with the correction time having the time difference with each other. Data collection methods.