Control system and control method

By generating real-time acquisition requests and correcting command values using pre-measured response times, the system addresses the imprecision in non-real-time communication, achieving precise control of controlled devices.

JP2024135703AActive Publication Date: 2024-10-04HITACHI IND EQUIP SYST CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023046516
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04
Estimated Expiration
2043-03-23

AI Technical Summary

Technical Problem

Existing control systems face challenges in accurately controlling controlled devices using non-real-time communication due to the inability to specify the detection time of detected values, leading to imprecise operations.

Method used

The system generates acquisition requests in real-time communication to collect detected values, corrects command values based on pre-measured response times in non-real-time communication, and transmits corrected commands, utilizing machine learning models for precise control.

Benefits of technology

This approach enables accurate control of controlled devices even in non-real-time communication scenarios by correcting command values based on pre-measured response times, ensuring high precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135703000001_ABST
    Figure 2024135703000001_ABST
Patent Text Reader

Abstract

To precisely control a controlled device in non-real-time communication.SOLUTION: A control system acquires a detection value relating to a controlled device in real-time communication, performs correction processing of a command value on the controlled device, and in non-real-time communication, transmits a control request having the corrected command value to the controlled device and receives a response including a return value. Based on a first set of a time and the return value, a second set of a time and the detection value, and a third set of a time and the command value, the correction processing for each control request is processing for outputting the command value obtained by correcting the command value in the third set, and in this correction processing, the time in the second set is a corrected time that is determined based on the transmission time at which the control request is transmitted and a response time measured in advance for non-real-time communication.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to controlling controlled devices. [Background technology]

[0002] In order to control a controlled device with high accuracy, time management is necessary. For example, techniques for time management are known from Patent Documents 1 to 3. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] WO2014 / 108999 [Patent Document 2] JP2014-225112 [Patent Document 3] JP2012-134895 Summary of the Invention [Problem to be solved by the invention]

[0004] 2. Description of the Related Art There is known a control system that generates a control request for a controlled device based on a detected value relating to the controlled device and transmits the control request to the controlled device.

[0005] Non-real-time communication may be adopted as communication for transmitting a control request due to the execution environment (e.g., OS (Operating System)) of a program for transmitting a control request to a controlled device or for other reasons. "Non-real-time communication" refers to communication with a relatively long response time, such as communication using UDP (User Datagram Protocol) / IP (Internet Protocol) or serial communication. Non-real-time communication may be an example of a first communication that provides a first response time. In contrast to non-real-time communication, "real-time communication" refers to communication with a relatively short response time (e.g., communication in which the maximum response time is defined in the specifications), such as communication using EtherCAT (registered trademark). Real-time communication may be an example of a second communication that provides a second response time that is shorter than the first response time (e.g., a response time equal to or less than the maximum response time defined in the specifications).

[0006] The controlled device operates according to a control request from the control system, and the operation of the controlled device may cause a change in a detection value related to the controlled device. Therefore, for the control system, the detection time, which is the time when a detection value related to the controlled device occurs, is any time between the time when the control request is sent and the time when a response to the control request is received.

[0007] In non-real-time communication, the control system cannot specify the detection time, and therefore, it is difficult to control the controlled device with high accuracy in non-real-time communication. [Means for solving the problem]

[0008] The control system repeatedly generates an acquisition request for acquiring a detection value for a controlled device, transmits the acquisition request in real-time communication, and receives detection data representing the detection value as a response to the acquisition request. The control system also repeatedly performs a correction process for a command value for the controlled device, generates a control request having a corrected command value, transmits the control request in non-real-time communication, and receives control result data representing a return value for the command value of the control request. For each control request, the correction process is a process of outputting a command value after correction of the command value in the third set based on a first set of time and return value, a second set of time and detection value, and a third set of time and command value, and in the correction process, the time in the second set is a corrected time that is determined based on the transmission time at which the control request is transmitted and a response time measured in advance for non-real-time communication. Effect of the Invention

[0009] According to the present invention, a controlled device can be controlled with high precision in non-real-time communication. [Brief description of the drawings]

[0010] [Figure 1] 1 illustrates an example of a physical configuration of a system including a control system according to an embodiment. [Diagram 2] Schematically shows the control of a processing machine by a control device and the control of a robot by an expansion device. [Diagram 3] 1 illustrates an example of a method for measuring response time in advance in non-real-time communication. [Figure 4] 1 shows an example of a response time table. [Diagram 5] 1 shows an example of time-shared data. [Figure 6] 4 shows the flow of robot control processing. [Figure 7] 13 shows an example of learning a correction model. [Figure 8] 4 illustrates the correction process of S602. [Figure 9] 13 shows an example of the configuration of a control system according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] In the following description, an "interface apparatus" may refer to one or more interface devices, which may be one or more homogeneous communication interface devices or two or more heterogeneous communication interface devices.

[0012] In the following description, a "memory" refers to one or more memory devices, typically a primary storage device. At least one of the memory devices in the memory may be a volatile memory device or a non-volatile memory device.

[0013] In the following description, a "persistent storage device" refers to one or more persistent storage devices. A persistent storage device is typically a non-volatile storage device (e.g., an auxiliary storage device), and specifically, for example, a hard disk drive (HDD) or a solid state drive (SSD).

[0014] Also, in the following description, "storage device" may be at least memory, including memory and persistent storage device.

[0015] Furthermore, in the following description, a "processor" may be one or more processor devices. The at least one processor device may typically be a microprocessor device such as a CPU (Central Processing Unit), but may also be other types of processor devices such as a GPU (Graphics Processing Unit). The at least one processor device may be a single-core or multi-core. The at least one processor device may be a processor core. The at least one processor device may also be a processor device in the broad sense, such as a hardware circuit (e.g., an FPGA (Field-Programmable Gate Array), a CPLD (Complex Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit)) that performs part or all of the processing.

[0016] In addition, in the following description, the processing may be described with a "program" as the subject, but since the program is executed by a processor to perform a defined process using a storage device and / or an interface device, etc. as appropriate, the subject of the processing may be the processor (or a device such as a controller having the processor). The program may be installed in a device such as a computer from a program source. The program source may be, for example, a program distribution server or a computer-readable (e.g., non-transitory) recording medium. In the following description, two or more programs may be realized as one program, or one program may be realized as two or more programs.

[0017] In addition, in the following description, functions may be described using the expression "yyy unit", but the functions may be realized by one or more computer programs being executed by a processor. When a function is realized by a program being executed by a processor, the function may be at least a part of the processor, since the defined processing is performed using a storage device and / or an interface device, etc., as appropriate. Processing described with a function as the subject may be processing performed by a processor or a device having that processor. The description of each function is an example, and multiple functions may be combined into one function, or one function may be divided into multiple functions.

[0018] In the following description, information that provides an output for an input may be described using expressions such as "xxx table," but the information may be data of any structure (for example, structured data or unstructured data), or may be a neural network that generates an output for an input, or a learning model such as a genetic algorithm or random forest. Therefore, the "xxx table" may be referred to as "xxx information." In the following description, the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of two or more tables may be one table.

[0019] In addition, in the following description, an ID, a name, or a number is used as an example of identification information, but the identification information may include other types of elements instead of or in addition to at least one of the ID, name, and number.

[0020] In addition, in the following description, when describing elements of the same type without distinguishing between them, common reference symbols will be used, and when describing elements of the same type with distinction between them, reference symbols will be used.

[0021] FIG. 1 shows an example of a physical configuration of a system including a control system according to an embodiment.

[0022] A control system 109 is installed in a factory 10 in which controlled devices are located. The controlled devices are, for example, a processing machine 119 that processes a set workpiece, and a robot 120 that sets the workpiece on the processing machine 119. The factory 10 is an example of a site in which controlled devices are located.

[0023] The control system 109 is connected, for example, to a communication network 19 (for example, a Local Area Network (LAN)) in the factory 10. The communication network 19 is an example of a communication network used for non-real-time communication.

[0024] The control system 109, the processing machine 119, and the sensor 12 provided on the robot 120 are connected to a communication network 118 (e.g., Ethernet (registered trademark)). The communication network 118 is an example of a communication network used for real-time communication.

[0025] The control system 109 includes one or more arithmetic devices 40. Each arithmetic device 40 includes an interface device, a storage device, and a processor connected thereto. All of the arithmetic devices 40 may have the same or different hardware configurations. In this embodiment, the arithmetic device 40M is a main arithmetic device. Each of the arithmetic devices 40E1 and 40E2 is an added arithmetic device. The arithmetic device 40E may be removed. In other words, the arithmetic device 40M alone may become the control system 109. Hereinafter, the arithmetic device 40M may be referred to as the "control device 40M," and the arithmetic device 40E may be referred to as the "extension device 40E."

[0026] The system configuration depends on the presence or absence of an expansion device 40E and the type of communication medium to which the control device 40M and the expansion device 40E are connected. In the example of FIG. 1, the expansion device 40E1 is connected to a communication network 118. The expansion device 40E2 is connected to a PIO bus 28 (an example of a bus) ("PIO" stands for Programmed I / O). The PIO bus 28 may be a bus printed on a baseboard, and the control device 40M and the expansion device 40E2 may communicate data via the PIO bus 28 by connecting the control device 40M and the expansion device 40E2 to the baseboard.

[0027] As described above, the control system 109 includes at least one control device 40M. The control device 40M has a control application that periodically performs a scan process. The "scan process" may include reading information of a device (e.g., a controlled device) connected to an I / O (Input / Output) port, calculating the read information, and writing the calculated information. The scan process may be an example of a control process.

[0028] Taking the control device 40M as an example, the hardware configuration of the arithmetic device 40 is described as follows. That is, the control device 40M includes a memory 169 (e.g., an EPROM 208 and a main memory 210), a peripheral control device 212, an I / O control device 214, a non-volatile storage device 215, a network I / F device 213, and a processor 209 connected thereto. The I / O control device 214 and the network I / F device 213 are examples of interface devices. The memory 169 and the non-volatile storage device 215 are examples of storage devices.

[0029] The peripheral control device 212 is connected to a network I / F device 213, an I / O control device 214, a non-volatile storage device 215, and a bus 211. The bus 211 is also connected to the memory 169 and the processor 209.

[0030] The EPROM 208 may store programs downloaded from a program source such as a program distribution server (not shown).

[0031] The processor 209 reads out the program stored in the EPROM 208 into the main memory 210, executes it, and controls the operation of the program. For example, the processor 209 controls the processing machine 119 and acquires detection data from the sensor 12 via the I / O control device 214. Also, for example, the processor 209 communicates with the extension device 40E that controls the robot 120 via the network I / F device 213 (or by other methods).

[0032] FIG. 2 diagrammatically shows the control of the processing machine 119 by the control device 40M and the control of the robot 120 by the expansion device 40E.

[0033] The processor 209M of the control device 40M executes a plurality of computer programs, whereby the OS211M is executed in the control device 40M, and functions such as a time synchronization unit 260M, a response time measurement unit 252, and a control unit 251 are realized on the OS211M. The operation of the control unit 251 and other functions may be controlled by the OS211M (or runtime software). The OS211M may be a real-time OS, for example, a real-time general-purpose OS (an OS that is a type of general-purpose OS for information processing, but has a real-time function that can provide the required real-time performance).

[0034] The time synchronization unit 260M communicates with the time synchronization units of the other arithmetic devices 40, and synchronizes the current time between the control device 40M and each of the other arithmetic devices 40. That is, the current time managed by each arithmetic device 40 is the same.

[0035] The response time measurement unit 252 measures the response time in non-real-time communication, generates a response time table 280 that indicates the measured response time, and stores the response time table 280 in the memory 169 .

[0036] The control unit 251 performs control processing including controlling the processing machine 119 in a control cycle. The control unit 251 has a function as, for example, a PLC (Programmable Logic Controller), and performs the above-mentioned control processing as sequence control.

[0037] The control unit 251 generates time shared data 281 (data indicating a response time measured in advance) based on the response time table 280, and transmits the time shared data 281 to each of the other arithmetic devices 40.

[0038] The processor 209E of the expansion device 40E executes a plurality of computer programs, whereby the OS211E is executed in the expansion device 40E, and functions such as a time synchronization unit 260E, a RT correction unit 271, and a robot control unit 272 are realized on the OS211E ("RT" stands for real time). The OS211E may be the same as the OS211M, but may be a different OS. For example, the OS211E may be ROS (Robot Operating System).

[0039] The time synchronization unit 260E communicates with the time synchronization units of the other arithmetic devices 40, and synchronizes the current time of this arithmetic device 40E with that of the other arithmetic devices 40.

[0040] The RT correction unit 271 corrects a command value specified in a control request transmitted by the robot control unit 272. The correction is performed on a model basis, specifically, using a correction model 290 that is a machine learning model. The correction may be performed by a method other than the model basis, for example, on a rule basis.

[0041] The robot control unit 272 controls the robot 120. To control the robot 120, the robot control unit 272 transmits a control request specifying a command value to the robot 120.

[0042] The control unit 251 periodically executes processing according to a predetermined sequence. In each cycle (e.g., cycle time (which may be called scan time)), the processing includes generating an acquisition request for acquiring a detection value of the sensor 12, transmitting the acquisition request, and receiving detection data representing the detection value as a response to the acquisition request. The periodically executed processing may include transmitting the received detection data to the extension device 40E (robot control unit 272). The transmission of the acquisition request and the reception of the detection data are performed in real-time communication (e.g., communication via the I / O control device 214 and the communication network 118). For example, the robot 120 has an arm and multiple servo motors, and the sensor 12 may be a force sensor attached to the arm of the robot 120. The detection data may include the rotation axis angle of each servo motor. The "real-time communication" refers to communication with a relatively short response time (e.g., communication with a maximum response time set in the specifications), for example, communication by EtherCAT (registered trademark).

[0043] The robot control unit 272 repeatedly performs robot control processing according to instructions from the control unit 251 (or at a predetermined timing without instructions from the control unit 251). The robot control processing includes correcting a command value for the robot 120, generating a control request having the corrected command value, transmitting the control request, and receiving control result data indicating a return value for the command value of the control request. The control performed by the robot control unit 272 may be PTP (Point-To-Point Control or Pose-To-Pose Control). Therefore, the command value may be data indicating the position of a part of the robot 120 (for example, a joint angle). The transmission of the control request and the reception of the control result data are performed by non-real-time communication (for example, communication via the network I / F device 213 and the communication network 19). "Non-real-time communication" refers to communication with a relatively long response time, such as communication using UDP / IP or serial communication.

[0044] The robot 120 operates according to a control request from the robot control unit 272, and this operation may cause a change in the detection value of the sensor 12 of the robot 120. The time (detection time) at which a detection value (change in detection value) occurs in control (robot operation) performed in response to a control request is any time between the time the control request is sent and the time a response to the control request is received. The response time in non-real-time communication (the time between the time sent and the time received) is longer than the response time in real-time communication. However, non-real-time communication is adopted as communication for robot control due to the convenience of the OS211E (e.g., ROS) or other reasons.

[0045] Although the detection data of the sensor 12 may be collected by the extension device 40E, the collection by non-real-time communication may cause a relatively large difference between the detection time and the reception time of the detection data. Moreover, the collection of the detection data of the sensor 12 is expected to be more accurate when it is collected by the periodic processing of the control unit 251 having a function as a PLC.

[0046] The response time in non-real-time communication is different from the response time in real-time communication. Specifically, for example, in real-time communication, the difference between the reception time of the detection data and the detection time (the time when the detection value (change in the detection value) occurs) is small (for example, the difference is small enough that the reception time can be considered as the detection time), but in non-real-time communication, the difference between the detection time and the reception time of the control result data is large. If data with different time resolutions like this are used for control or correction for control, there is a risk that the accuracy of the control will decrease.

[0047] Therefore, in this embodiment, the control unit 251 collects the detection data through real-time communication, and the control unit 251 provides the detection data to the robot control unit 272. The communication of the detection data between the devices 40M and 40E may be performed through an interface and a network (e.g., the I / O control unit 214 and the communication network 118) used for real-time communication.

[0048] In addition, the response time, which is the difference between the transmission time in non-real-time communication (the transmission time of the control request) and the detection time (the occurrence time of the detection value (change in the detection value) that occurs in association with the control according to the control request), is measured in advance, and a correction process for the command value specified in the control request is performed based on the response time measured in advance.

[0049] FIG. 3 illustrates an example of a method for measuring response time in advance in non-real-time communication.

[0050] In non-real-time communication, the response time measurement unit 252 of the control device 40M transmits a control request and receives a response (response having control result data) from the controlled device 319 controlled according to the control request. The transmission time of the control request is set to "T0", and the reception time of the response to the control request is set to "T1". The controlled device 319 may be the robot 120 or another device.

[0051] A sensor 302 is provided in a controlled device 319. The sensor 302 may be the sensor 12 provided in the robot 120 or another sensor.

[0052] Controlled device 319 operates in accordance with the control request during the period from when it receives the control request until it transmits a response to the control request, and a detection value (change in detection value) occurs in sensor 302 as a result of the operation.

[0053] Therefore, the control device 40M is provided with an analog I / O device 301 that receives an analog signal from the sensor 302. The signal (detection data) from the sensor 302 may be received by another interface device instead of by the analog I / O device 301, and the signal may be a digital signal (digital data). In the advance measurement, the communication between the sensor 302 and the control device 40M is communication in which the difference between the detection time (the time when the detection value is generated by the sensor 302) and the reception time (the time when the detection data is received) is so small that these times can be considered to be substantially the same. This communication may be the same real-time communication as the real-time communication used to collect the detection data, or may be a different real-time communication. The reception time of the detection data (≒ detection time) is defined as "T2". Specifically, T2 may be the time when the analog I / O device 301 receives an analog signal representing the detection value (change in the detection value) (the time when the control device 40M detects the reception of the analog signal).

[0054] The response time measurement unit 252 calculates T2-T0, and measures the calculated value (time) as the response time in non-real-time communication.

[0055] FIG. 4 shows an example of the response time table 280.

[0056] The response time measurement unit 252 indicates the device ID and the response time for each device that outputs detection data. For example, when the control device 40M receives detection data from the sensor 302 (sensor 12), the response time measurement unit 252 records the ID of the sensor 302 (sensor 12) "sensor A" as the device ID in the response time table 280, and records the calculated value "0.234567" as the response time in the response time table 280.

[0057] FIG. 5 shows an example of the time-shared data 281.

[0058] The control unit 251 generates time-shared data 281 based on the response time table 280, and transmits the time-shared data 281 to each of the other arithmetic devices 40. The time-shared data 281 indicates a transmission time (a time when the robot control unit 272 transmits a control request), data (a value meaning detection data of the sensor 12), and a response time (a response time recorded in the response time table 280, i.e., a response time measured in advance).

[0059] An example of the processing performed in this embodiment will be described below.

[0060] In this embodiment, the robot control is a pre-planned (predetermined) control. For example, the position of the arm of the robot 120 at a given time is pre-planned, and the control is performed according to the plan. Specifically, for example, as the robot control, a command value specified in a control request for each transmission time of the control request is pre-determined. Therefore, in the robot control, a control request specifying a pre-determined command value is transmitted at a pre-determined transmission time.

[0061] However, in general, it is not easy to actually control a robot as planned. Therefore, in this embodiment, the planned command value is appropriately corrected based on the detection value of the sensor 12, and the corrected command value is specified in the control request.

[0062] Furthermore, the robot control may be started in response to an instruction from the control unit 251 of the control device 40M to the robot control unit 272 of the extension device 40E. After the robot control is started, the transmission of a control request in each cycle related to the robot control may be actively performed by the robot control unit 272 according to a predetermined plan, or the control unit 251 may transmit an instruction to the robot control unit 272 for each cycle according to a predetermined plan and the control request may be performed in response to the instruction.

[0063] FIG. 6 shows the flow of the robot control process.

[0064] The robot control process includes steps S601 to S605, and is repeatedly performed in this embodiment as shown in the figure. The robot control process is started according to an instruction from the control unit 251 of the control device 40M or at a predetermined timing.

[0065] In S601, the robot control unit 272 reads out data. The data read out here is data necessary for correction processing, specifically, data including the following. The following is stored in the memory 169 and is read out from the memory 169. A return value represented by the processing result data received for the control request sent by the robot control unit 272 most recently (in the immediately preceding cycle). The detection value represented by the latest detection data (detection data recently received from the control unit 251 and stored). Time-shared data 281 in which the current transmission time (the transmission time of the control request being transmitted this time) is recorded. - Planned command value for this transmission time.

[0066] For example, in each cycle of the robot control, the processing result data is stored in the memory 169 by the robot control unit 272. Also, for example, the detection data may be repeatedly (for example, periodically) acquired by the control unit 251 at the same or different timing as the start of each cycle of the robot control and transferred to the robot control unit 272, and the periodically acquired detection data may be stored in the memory 169 by the robot control unit 272. Also, data representing a planned command value for each transmission time may be stored in advance in the memory 169, or the robot control unit 272 may receive a planned command value for each transmission time from the control unit 251 and store the transmission time and the planned command value in the memory 169.

[0067] In S602, the robot control unit 272 causes the RT correction unit 271 to execute a correction process. Specifically, for example, the RT correction unit 271 identifies a transmission time and a response time from the time shared data 281, which is a part of the data read out in S601, and calculates a corrected time that is the time obtained by adding the response time to the transmission time. Based on a first set of a time and a return value, a second set of a time and a detection value, and a third set of a time and a command value, the RT correction unit 271 outputs a command value after correction of the command value in the third set (the details of this correction process will be described later with reference to FIG. 8).

[0068] In S603, the robot control unit 272 generates a control request specifying the corrected command value, and transmits the control request to the robot 120 at the current transmission time (the transmission time recorded in the time-shared data 281) in non-real-time communication.

[0069] In S604, the robot control unit 272 receives a response to the control request sent in S603 in non-real-time communication (a response including control result data having a return value (e.g., position information) as a result of control following the control request).

[0070] In S605, the robot control unit 272 stores in the memory 169 the return value contained in the response received in S604.

[0071] In S606, the robot control unit 272 determines whether or not the robot control has ended (for example, whether or not the robot control process of the last cycle has ended). If the determination result of S606 is true (S606: Yes), the process ends.

[0072] If the determination result of S606 is false (S606: No), the robot control unit 272 determines whether or not the next control is to be started (S607). Specifically, for example, the robot control unit 272 determines whether or not the current time has reached the next pre-planned time, or whether or not an instruction to transmit the next control request has been received from the control unit 251 of the control device 40M (for example, whether or not the time-shared data 281 in which the next transmission time and response time are recorded has been received). If the determination result of S607 is false (S607: No), the process returns to S607 after a certain period of time has elapsed. If the determination result of S607 is true (S607: Yes), the process returns to S601.

[0073] FIG. 7 shows an example of training the correction model 290.

[0074] The learning of the correction model 290 is, for example, supervised learning. The teacher data set includes data representing many patterns of the force applied when the workpiece insertion angle and the machining axis are shifted (the insertion angle and the amount of shift are changed). Specifically, for example, the teacher data set includes many combinations of the first set (a set of time and return value), the second set (a set of time and detection value), the third set (a set of time and command value), and the corrected command value, and the correction model 290 is learned using the teacher data set. Note that the times in each of the first set to the third set are times defined as appropriate times. For example, the time in the second set may be a time obtained by adding a response time (a response time in non-real-time communication) measured in advance to the time in the first set or the third set. More specifically, the teacher data set may be a data set including a first set of time series (e.g., time series data of transmission time and return value (e.g., each joint angle)), a second set of time series (e.g., time series data of detection time and detection value (e.g., force sensor reading)), and a third set of time series (e.g., time series data of transmission time and planned command value (each joint angle)).

[0075] FIG. 8 shows a schematic diagram of the correction process in S602.

[0076] As described above, the RT correction unit 271 outputs a command value after correction of the command value in the third set based on the first set of the time and the return value, the second set of the time and the detection value, and the third set of the time and the command value. Specifically, the RT correction unit 271 inputs the first set, the second set, and the third set to the correction model 290 to obtain an output of the corrected command value.

[0077] In the first set input to the correction model 290, the return value is the return value read out in S601, and the time is the current transmission time (or the previous transmission time).

[0078] In the second set input to the correction model 290, the detection value is the detection value read out in S601, and the time is the corrected time (the time obtained by adding the response time indicated by the time shared data 281 to the current transmission time).

[0079] In the third set input to the correction model 290, the command value is the command value read out in S601, and the time is the current transmission time.

[0080] One embodiment has been described above, but this is merely an example for explaining the present invention, and it is not intended that the scope of the present invention be limited only to this embodiment.

[0081] For example, the above description can be summarized as follows. The following summary may include supplementary explanations and explanations of modifications to the above.

[0082] The control system 109 includes one or more interface devices (eg, the I / O control device 214 and / or the network I / F device 213 of each computing device 40) and one or more processors (eg, the processors 209M and / or 209E).

[0083] The one or more processors perform the following (X) and (Y). (X) Repeatedly generate an acquisition request to acquire a detection value related to the robot 120 (an example of a controlled device), transmit the acquisition request in real-time communication via the interface device, and receive detection data representing the detection value via the interface device as a response to the acquisition request. (Y) Repeatedly perform a correction process of a command value for the robot 120, generate a control request having the corrected command value, transmit the control request in non-real-time communication via an interface device, and receive control result data representing a return value for the command value contained in the control request via the interface device.

[0084] Of the repetitive processing in (X) and the repetitive processing in (Y), at least the processing in (X) may be a processing that is performed periodically, and the repetitive processing in (Y) may or may not be a periodic processing.

[0085] For each control request, the correction process is a process of outputting a command value after correction of the command value in the third set based on a first set of time and return value, a second set of time and detection value, and a third set of time and command value, and in the correction process, the time in the second set is a corrected time that is determined based on the transmission time at which the control request is sent and a response time measured in advance for non-real-time communication.

[0086] The time of the detection value is corrected based on the response time measured in advance for non-real-time communication, and a corrected command value is determined based on the corrected time. This allows the controlled device to be controlled with high precision in non-real-time communication. Note that the "corrected time" (corrected detection time) may be the corrected time in the embodiment (the time obtained by adding the response time measured in advance for non-real-time communication to the transmission time at which the control request is transmitted) or may be a time determined by another method based on the transmission time and the response time measured in advance.

[0087] The pre-measured response time may be the difference between the measurement start time and the actual operation time. The measurement start time may be the time when a control request is sent in non-real-time communication. The actual operation time may be the time when it is determined that a change has occurred in the detection value of the controlled device that operated in response to the control request. In other words, the pre-measured response time may be the time from when a control request is sent to when a change in the detection value occurs in response to the control request. This is expected to associate an appropriate time as the time of the detection value with the detection value in control in non-real-time communication, and to obtain an appropriate corrected command value.

[0088] The control system 109 may be a distributed control system having a plurality of arithmetic devices including a first arithmetic device (e.g., the control device 40M) and a second arithmetic device (e.g., the extension device 40E). The one or more processors may include a first processor (e.g., the processor 209M) that performs at least (X) and a second processor (e.g., the processor 209E) that performs at least the correction process of (Y). The first arithmetic device may include a first processor, and the second arithmetic device may include a second processor. This allows the execution of (X) to be performed by the first arithmetic device having a function or hardware suitable for executing (X), and the execution of at least the correction process of (Y) to be performed by the second arithmetic device having a function or hardware suitable for executing at least the correction process of (Y).

[0089] The correction process may be a process using a machine learning model (e.g., the correction model 290) that inputs the first set, the second set, and the third set and outputs a corrected command value. This allows the model to be learned based on a teacher data set including a plurality of combinations of the first set, the second set, and the third set and the corrected command value, and thus it is expected that a corrected command value for highly accurate control can be obtained. In addition, the second arithmetic device (e.g., the second processor) may be an arithmetic device having hardware resources (e.g., a processor including a GPU) sufficient to perform the correction process using the machine learning model, while the first arithmetic device may be an arithmetic device having hardware resources sufficient to perform a predetermined fixed-cycle process (e.g., to function as a PLC).

[0090] The first processor may measure a response time in non-real-time communication in advance, and transmit time-shared data (e.g., time-shared data 281) representing the measured response time to the second arithmetic device. In the correction process performed by the second processor, the response time on which the corrected time is based may be the response time represented by the time-shared data. This allows the response time measured in advance to be shared between the arithmetic device that measured the response time in advance and the arithmetic device that actually controls the controlled device, and the controlled device can be controlled with high accuracy in non-real-time communication.

[0091] The time-shared data may be the response time table 280 itself, and in that case, the second processor may calculate a corrected detection time by adding the response time represented by the response time table 280 to the transmission time each time a correction process is performed. Also, for example, for each transmission time of a control request to a controlled device, time-shared data representing the transmission time and a previously measured response time may be transmitted from the first arithmetic device to the second arithmetic device. For each transmission time, the second processor may calculate (determine) a corrected detection time based on the response time obtained from the time-shared data corresponding to the transmission time and the transmission time.

[0092] The controlled device may be a robot (e.g., robot 120). The second processor may perform (Y). The first processor may perform control processing including controlling a controlled device other than the robot (e.g., processing machine 119) in scan time. (X) may be included in the control processing or may be separate from the control processing. Although the control of the robot is expected to be performed by ROS, the robot is controlled by the second arithmetic device based on detection values ​​collected in real-time communication by the first arithmetic device having real-time capabilities, so that accurate robot control is expected even if the second arithmetic device does not have real-time capabilities.

[0093] The control process of another controlled device may be performed in parallel with the robot control process or after the robot control process is completed. For example, the control of the processing machine 119 may be performed after the setting of a workpiece on the processing machine 119 is completed (after the robot control is completed). When the control of the robot 120 is required according to the progress of processing by the processing machine 119, the control of the processing machine 119 (control by real-time communication) and the control of the robot 120 (control by non-real-time communication) may be performed in parallel or sequentially.

[0094] Also, the same arithmetic device may control the robot and another controlled device. For example, as illustrated in Fig. 9, the robot control unit 272 and the RT correction unit 271 may be provided in a control device 40M having a control unit 251. Although not shown, of the robot control unit 272 and the RT correction unit 271 in Fig. 9, the RT correction unit 271 may be provided in an extension device 40E.

[0095] Also, for example, the corrected detection time may reflect the response time in real-time communication in addition to the response time measured in advance in non-real-time communication. The response time in real-time communication may be a measured response time (e.g., a response time measured by the same or different method as the method for measuring the response time in non-real-time communication in advance), or may be a worst-case response time (e.g., a maximum value of the response time defined in the standard (specification) for real-time communication). For example, the corrected detection time may be the time obtained by adding the response time measured in advance in non-real-time communication and the response time in real-time communication to the transmission time.

[0096] In addition, in this specification, "time" may be in units of year, month, day, hour, minute, and second, or may be in units of coarser or finer than that, or may be the difference (time) from a certain reference point in time. [Explanation of symbols]

[0097] 109…Control System

Claims

1. A control system for controlling a controlled device, one or more interface devices; One or more processors Equipped with the one or more processors: (X) repeatedly generating an acquisition request for acquiring a detection value related to the controlled device, transmitting the acquisition request in real-time communication through the interface device, and receiving detection data representing the detection value through the interface device as a response to the acquisition request; (Y) repeatedly performing a correction process of a command value for the controlled device, generating a control request having the corrected command value, transmitting the control request in non-real-time communication through the interface device, and receiving control result data representing a return value for the command value of the control request through the interface device; For each control request, the correction process is a process of outputting a command value after correcting the command value in a first set of a time and a return value, a second set of a time and a detection value, and a third set of a time and a command value, In the correction process, the time in the second set is a corrected time that is determined based on a transmission time at which the control request is transmitted and a response time previously measured regarding the non-real-time communication. Control system.

2. the previously measured response time is a difference between a measurement start time and an actual operation time, the measurement start time is a transmission time of a control request in the non-real-time communication, The actual operation time is a time when it is determined that the detection value of the controlled device that operates in response to the control request has changed. The control system of claim 1 .

3. A distributed control system including a plurality of arithmetic units including a first arithmetic unit and a second arithmetic unit, the one or more processors: a first processor that performs at least (X); (Y) a second processor that performs at least the correction process; Including, the first computing device comprises the first processor; the second computing device comprises the second processor; The control system of claim 2.

4. The correction process is a process using a machine learning model that uses the first set, the second set, and the third set as inputs and outputs a corrected command value. The control system of claim 3.

5. The first processor measures the response time in advance, and transmits time-shared data representing the measured response time to the second computing device; In the correction process performed by the second processor, a response time on which the corrected time is based is a response time represented by the time-shared data. The control system of claim 3.

6. the controlled device is a robot, The second processor performs (Y); the first processor performs a control process including scan time control of a controlled device other than a robot; (X) is included in the control process or is separate from the control process; The control system of claim 3.

7. The correction process is a process using a machine learning model that uses the first set, the second set, and the third set as inputs and outputs a corrected command value. The control system of claim 1 .

8. a computer repeatedly generates an acquisition request for acquiring a detection value related to a controlled device, transmits the acquisition request in real-time communication, and receives detection data representing the detection value as a response to the acquisition request; a computer repeatedly performs a correction process of a command value for the controlled device, generates a control request having the corrected command value, transmits the control request in non-real-time communication, and receives control result data representing a return value for the command value included in the control request; For each control request, the correction process is a process of outputting a command value after correcting the command value in a first set of a time and a return value, a second set of a time and a detection value, and a third set of a time and a command value, In the correction process, the time in the second set is a corrected time that is determined based on a transmission time at which the control request is transmitted and a response time previously measured regarding the non-real-time communication. Control methods:

Citation Information

Patent Citations

  • Communication control device, and communication and control system

    JP2012060207A

  • Control device, control program, and control system

    JP2018173710A

  • Control system, control device and control method

    JP2021086232A

  • Control device, control method, and program

    WO2019117249A1

  • Distribution automation system and distribution automation system control method

    JP2012134895A