System, method and storage medium for automatic control of a production system
A software-defined control system for production systems simplifies programming and reconfiguration by using a skills library and integrated execution engine, addressing the challenge of adapting to changing market demands in small lot production.
Patent Information
- Application Number
- JP2024513403
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2041-08-31
AI Technical Summary
Manufacturing systems face challenges in quickly adapting to rapidly changing market demands due to the shift from mass production to small lot production, requiring efficient and easy reprogramming of robots and production systems.
A software-defined automated control system for production systems, utilizing a skills library and integrated execution engine that encapsulates production skills in software, allowing users to program procedures based on skill function blocks, which automatically initiate and manage skill execution.
Simplifies the programming process for production systems, enabling quick reconfiguration to accommodate changing demands and reducing user difficulty in programming, while ensuring seamless integration with hardware components.
Smart Images

Figure 2024535724000001_ABST
Abstract
Description
[Technical field]
[0001] Field The present disclosure relates to industrial technology, and more particularly, to a system, method and computer-readable storage medium for automated control of a production system.
[0002] background Today, manufacturing is moving from mass production to small batch production, so production systems (including robots, actuators, sensors, etc.) need to be reprogrammed in a short time to keep up with the production demands of a rapidly changing market.
[0003] China Patent Publication No. 108400917 proposes an edge computing gateway and system for intelligent manufacturing. The production gateway exchanges knowledge with the resource gateway through a request / response procedure to obtain information about the manufacturing method of the product. US Patent Publication No. 2020 / 0230817 proposes a skill-based robot programming method. By providing appropriate parameters, the user can use a work unit item with a main skill to program the robot and its peripherals.
[0004] Additionally, those skilled in the art are striving to discover other automated control schemes for production systems.
[0005] overview According to examples of the present disclosure, a system, method, and computer-readable storage medium for automatic control of a production system are provided to provide easy and convenient automatic control programming of the production system.
[0006] A system for automatic control of a production system provided by an example of the present disclosure includes the following, namely: a skill library of the production system, an integrated execution engine, and an equipment agent for controlling a corresponding equipment in the production system; the skill library of the production system includes a plurality of skill blocks that describe and encapsulate implementation parts of skills involved in a production process in a software manner, and the skill library of the production system is configured to call at least one corresponding skill block according to a received service request, and return a corresponding service response according to an execution result of the at least one skill block; the at least one skill block sends an operation instruction to a corresponding equipment agent according to the needs of skill execution; the integrated execution engine describes and encapsulates an interface part of a skill involved in a production process in a software manner. the integrated execution engine is configured to obtain a production procedure programmed by a user based on the skill function blocks, and sequentially start each skill function block in the production procedure; when a skill function block is started, the skill function block sends a service request to the skill library of the production system, receives a service response from the skill library of the production system, and sends an operation instruction to a corresponding equipment agent according to the needs of the service response; each equipment agent is configured to provide an integrated interface to the integrated execution engine and the skill library of the production system, receive operation instructions from the integrated execution engine or the skill blocks in the skill library of the production system, control a corresponding equipment to perform an operation according to the operation instruction, and feed back a current operation status or an operation result to the integrated execution engine or the skill block.
[0007] In one example, the skill library of the production system includes: a skill management module, a plurality of skill blocks, and a first communication interface; each skill block describes and encapsulates an implementation part of a skill involved in the production process in a software manner, and each skill block is configured to execute a corresponding skill when invoked and interact with a corresponding equipment agent according to the needs of skill execution; the skill management module is configured to analyze a service request received through the first communication interface, invoke at least one corresponding skill block according to the analysis result, and receive and output a service response returned by the at least one skill block.
[0008] In one example, the multiple skill blocks include the following, namely: at least one action sequence skill block, each action sequence skill block being one skill block or a combination of multiple interrelated skill blocks, and the service response of the action sequence skill block feedbacks the action sequence; at least one sensor output skill block, each sensor output skill block obtains data from a field sensor through interaction with a sensor agent, or obtains data output by a sensor processing algorithm using the sensor data as input; the service response of the sensor output skill block feedbacks the sensor output data; and at least one algorithm calculation skill block, the service response of the algorithm calculation skill block feedbacks the corresponding calculation result.
[0009] In one example, the action sequence skill block is a combination of an environmental modeling skill block, a collision-free path planning skill block and a collision-free palletizing skill block; the environmental modeling skill block is configured to identify obstacles and generate an environmental model; the collision-free path planning skill block is configured to calculate waypoints that form a path for the device to avoid collisions with the environment, given the environmental model; the collision-free palletizing skill block is configured to generate the entire palletizing action sequence; and the sensor output skill block includes the following: a 3D object position estimation skill block that calculates the length, width, height and 6DoF position of the package; and a palletizing position calculation skill block that calculates the position where the new package will be stacked.
[0010] In one example, the integrated execution engine includes the following: a skill execution engine, a plurality of skill function blocks, an action queue, an action execution engine, a second communication interface, and a third communication interface; each skill function block corresponds to at least one skill block, and each skill function block describes and encapsulates an interface part of a skill in a software manner; during execution, send a service request to a skill library of the production system through the second communication interface, and receive a service response returned by the skill library of the production system; if the service response is an action sequence, add the action sequence to the action queue, and read a current operating state of the action sequence from the action queue; if the current operating state indicates that all actions in the action sequence are completed, return a completion indication to the skill execution engine; the skill execution engine is configured to obtain a production procedure programmed by a user based on the skill function blocks, and execute each skill function block in the production procedure in a software manner. the action execution engine is configured to sequentially read out actions in the action sequence when an action sequence exists in the action queue, send an operation instruction corresponding to at least one of the read actions to a corresponding device agent through the third communication interface, receive a current operation status fed back by the device agent, and provide the current operation status to the action queue; if the current operation status indicates that the current action has been successfully executed, remove the current action from the action sequence until the action queue is empty.
[0011] In one example, each skill function block maintains a state machine, and if the corresponding skill function block is not started, the state machine is in an "idle" state; if the corresponding skill function block is started, the state machine is converted to an "active" state; if the corresponding skill function block is executed successfully, the state machine is converted to a "completed" state; and if an error occurs in the execution of the corresponding skill function block, the state machine is converted to an "error" state.
[0012] In one example, the device agent includes the following, namely: a robot agent, the robot agent including a fourth communication interface, a command queue, a command execution engine, a motion command channel, a force motion coordination module, an interpolation channel, and a robot state channel; the command queue is configured to store movement instructions received through the fourth communication interface; the command execution engine sequentially reads each movement instruction from the command queue; if the movement instruction is a pure motion instruction, sends the movement instruction to the robot controller through the motion command channel; if the movement instruction is a motion instruction to maintain a constant applied force, the command execution engine is configured to provide the movement instruction to the force motion coordination module and receive a current movement state fed back by the robot controller through the robot state channel; the force motion coordination module is configured to dynamically determine motions of axis joints of the robot in response to the movement instruction and force data collected in real time by the force sensor, and provide the motions of the axis joints to the robot controller through the interpolation channel.
[0013] In one example, the force motion adjustment module includes an instruction analysis module, a motion path planning module, a force control module, and a transformation module; the instruction analysis module is configured to analyze the motion instruction to obtain control information for the robot; the motion path planning module is configured to plan a Cartesian space path and a velocity of an end center point of the robot tool, provide the Cartesian space path to the force control module, obtain a fine-tuned Cartesian space path fed back by the force control module, provide the fine-tuned Cartesian space path to the transformation module, receive the axis joint positions of the robot transformed by the transformation module, and provide the axis joint positions and velocities to the robot controller; the force control module is configured to obtain force data of the end center point of the robot tool measured by a force sensor during the process of robot motion, fine-tune the Cartesian space path from the motion path planning module according to the force data to obtain a fine-tuned Cartesian space path to maintain a required force, and feed back the fine-tuned Cartesian space path to the motion path planning module.
[0014] In one example, the device agent includes the following, namely: a sensor agent and / or a tool agent, and the sensor agent or tool agent includes the following, namely: a fourth communication interface, a command processing module, a command channel and a feedback channel; the command processing module is configured to provide operational instructions received through the fourth communication interface to a corresponding device through the command channel, receive a current operational state or an operational result fed back by the device through the feedback channel, and send the current operational state or the operational result back to the bus through the fourth communication interface.
[0015] A method for automatic control of a production system provided by an example of the present disclosure includes the following: pre-setting a plurality of skill blocks that describe and encapsulate implementation parts of skills involved in a production process in a software manner and a plurality of skill function blocks that describe and encapsulate interface parts of skills involved in the production process in a software manner; receiving a production procedure programmed by a user based on the skill function blocks, and setting a first skill function block in the production procedure as a current skill function block; starting the current skill function block to call at least one corresponding skill block, where each called skill block executes a corresponding skill and controls a corresponding device to perform an operation through a corresponding device agent according to a request for skill execution; receiving a service response returned by the skill block, and controlling a corresponding device to perform an operation through a corresponding device agent according to the needs of the service response; if the current skill function block is executed successfully and there are still skill function blocks that have not been started, setting the next skill function block as the current skill function block, and returning to the operation of starting the current skill function block to call at least one corresponding skill block.
[0016] In one example, the service response includes the following, i.e.: includes the action sequence; controlling the corresponding device to perform an action through the corresponding device agent in response to a request for skill execution includes the following, i.e.: adding the action sequence to an action queue; sequentially retrieving actions in the action sequence; sending at least one action instruction corresponding to the retrieved at least one action to the corresponding device agent; controlling the corresponding device by the device agent to sequentially perform actions in the action sequence in response to the action instructions and feeding back the corresponding action state; if it is determined that execution of the current action is completed in response to the action state, removing the current action from the action queue; determining that execution of the action sequence is completed if the action queue is empty.
[0017] In one example, the device agent is a robot agent; controlling the corresponding device by the device agent to sequentially perform actions in the action sequence in response to the motion instructions and feeding back the corresponding motion state includes: adding the motion instructions to a command queue; sequentially reading each motion instruction from the command queue; if the read motion instruction is a pure motion instruction, sending the motion instruction to the robot controller to enable the robot controller to perform the corresponding motion; if the read motion instruction is a motion instruction to maintain a constant applied force, dynamically determining motions of the robot's axis joints in response to the motion instruction and force data collected in real time by the force sensor, and sending the motions of the axis joints to the robot controller to enable the robot controller to perform the corresponding motion; receiving the current motion state fed back by the robot controller.
[0018] In one example, dynamically determining the motion of the axis joints of the robot in response to the motion instructions and the force data collected in real time by the force sensor, and sending the motion of the axis joints to the robot controller to enable the robot controller to perform the corresponding motion includes: analyzing the motion instructions to obtain control information for the robot; planning a Cartesian space path and a velocity of an end center point of the robot tool in response to the control information; acquiring force data of an end center point of the robot tool measured by a force sensor during the motion of the robot; fine-tuning the Cartesian space path in response to the force data to obtain a fine-tuned Cartesian space path; converting the fine-tuned Cartesian space path into a corresponding axis joint position; and providing the axis joint positions and velocities to the robot controller.
[0019] In one example, each skill function block maintains a state machine, and if the corresponding skill function block is not started, the state machine is in an "idle" state; if the corresponding skill function block is started, the state machine is converted to an "active" state; if the corresponding skill function block is executed successfully, the state machine is converted to a "completed" state; and if an error occurs in the execution of the corresponding skill function block, the state machine is converted to an "error" state.
[0020] Another system for automatic control of a production system includes: at least one memory for storing a computer program; and at least one processor for invoking the computer program stored in the at least one memory to implement the method for automatic control of a production system described above.
[0021] A non-transitory computer readable storage medium having a computer program stored thereon, the computer program being to be executed by a processor to implement the method for automated control of a production system as described above.
[0022] From the above technical solution in the example of the present disclosure, it can be seen that a skill block that describes and encapsulates the implementation part of the skill involved in the production process in a software manner, and a plurality of skill function blocks that describe and encapsulate the interface part of the skill involved in the production process in a software manner are respectively set, so that the user only needs to program the production procedure based on the skill function block, and then the background calls the corresponding skill block by sequentially starting each skill function block in the production procedure to complete the corresponding skill of the production system, thereby simplifying the user's automatic control programming process of the production system and reducing the user's programming difficulties. In addition, the production system is easy to reprogram, which can respond to sudden changes in small-batch production.
[0023] For a better understanding of the present disclosure, the following detailed description should be read in conjunction with the accompanying drawings, in which like reference numerals refer to corresponding parts throughout the drawings, and in which: [Brief description of the drawings]
[0024] [Figure 1] FIG. 1 illustrates a schematic diagram of a system for automated control of a production system, according to an example of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram illustrating a skills library of a production system in the system illustrated in FIG. 1 according to an example of the present disclosure. [Diagram 3] 2 is a schematic diagram illustrating an integrated execution engine in the system shown in FIG. 1 according to an example of the present disclosure. [Figure 4]FIG. 2 is a schematic diagram illustrating the states of a state machine according to an example of the present disclosure. [Figure 5A] 11 is a flowchart illustrating state machine transitions according to an example of the present disclosure. [Figure 5B] 11 is a flowchart illustrating state machine transitions according to an example of the present disclosure. [Figure 6] FIG. 1 is a schematic diagram of a robotic agent according to an example of the present disclosure. [Figure 7A] FIG. 2 is a schematic diagram illustrating an application case according to an example of the present disclosure. [Figure 7B] 7B is a flowchart showing a palletizing action sequence generated in the application case shown in FIG. 7A. [Figure 8] 1 is a flow chart illustrating a method for automated control of a production system according to an example of the present disclosure. [Figure 9] FIG. 2 is a schematic diagram illustrating another system for automated control of a production system according to an example of the present disclosure.
[0025] Detailed Description In the embodiment of the present disclosure, it is necessary to provide a reconfigurable manufacturing system to easily reprogram the production system in a short time. In other words, the production system should be defined by software. The so-called software definition is to use software to define the function of the system, and to use software to empower the hardware to maximize the operation efficiency and energy efficiency of the system. The essence of software definition is to realize the functions of virtualization, flexibility, diversity and customization through software programming, based on the digitalization and standardization of hardware resources, provide customized special intelligent and customized services, and realize the separation of application software and hardware. At its core is the application programming interface (API). The API releases the coupling relationship between software and hardware, and promotes the development of application software in the direction of personalization, the development of hardware resources in the direction of standardization, and the development of system functions in the direction of intelligence.
[0026] It is therefore believed that an embodiment of the present disclosure provides a software defined automated control system for a manufacturing system.
[0027] Reference will now be made in detail to the examples illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. Also, the figures are illustrative of an example, where the modules or procedures shown in the figures are not necessarily required to implement the present disclosure. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to unnecessarily obscure aspects of these examples.
[0028] FIG. 1 is a schematic diagram of a system for automatic control of a manufacturing system according to an example of the present disclosure. As shown in FIG. 1, the automatic control system of the manufacturing system may include the following: a skill library 110 of the manufacturing system, an integrated execution engine 120, and equipment agents, such as a force sensor agent 1401, a robot agent 1402, a 3D camera agent 1403, ..., for controlling various devices in the manufacturing system, such as a force sensor 1301, a robot controller 1302-1, a robot arm 1302-2, a 3D camera 1303, ..., etc. Among them, the skill library 110 of the manufacturing system, the integrated execution engine 120, and the equipment agents 1401, 1402, 1403, ..., are connected through a data bus 150.
[0029] The production system skill library 110, also referred to as an online autonomous skill library, is configured with a plurality of skill blocks that encapsulate the implementation parts of the skills involved in the production process by describing them in a software manner, the production system skill library 110 is configured to call at least one corresponding skill block according to the received service request 11, and return a corresponding service response 12 according to the execution result of the at least one skill block; the at least one skill block interacts with a corresponding equipment agent according to the needs of skill execution, for example, sending an operation instruction to the corresponding equipment agent, and receiving a current operation state or an operation result fed back by the equipment agent.
[0030] 2, the skill library 110 of the production system may include a skill management module 111, a plurality of skill blocks 1121, ..., 112i, 112i+1, ..., 112N, and a first communication interface 113, where i and N are positive integers. In addition, the skill library 110 of the production system may further include a skill register 114.
[0031] Each skill block 1121,...,112i,112i+1,...,112N encapsulates the implementation of a skill involved in the production process in a software manner, and each skill block is configured to execute the corresponding skill when called, and interact with the corresponding machine agent according to the needs of skill execution. Each skill block may have corresponding attribute information, which may include the following:
[0032] Service request interface: indicates the mapping relationship between service requests and corresponding skills;
[0033] Input parameters: indicates the input parameters used by the skill block;
[0034] Output result: shows the result calculated by the skill block;
[0035] Service Response Interface: Used to describe service responses.
[0036] The attribute information of each skill block can be pre-set or registered through the open skill register 114, and can be stored in the skill registration table. Based on the skill register 114, a user can add a new skill block.
[0037] In terms of service response type, skill blocks can be categorized as follows:
[0038] 1) Action Sequence Skill Blocks: Each action sequence skill block may contain one skill block or a combination of skill blocks including multiple interrelated skill blocks whose service response feedbacks an action sequence, e.g., an action sequence consisting of a robot motion (e.g., linear motion), an actuator action (e.g., gripper release), etc.
[0039] 2) Sensor output skill block. Different sensor output skill blocks may have different implementation methods. For example, a sensor output skill block can obtain field sensor data by interacting with a sensor agent, or can obtain data output by a sensor processing algorithm that takes the sensor data as input. Its service response feeds back the corresponding sensor output data. For example, the sensor output data may include object position (e.g., Cartesian space position (x,y,z); or Cartesian space position (x,y,z)+Cartesian space pose (rx,ry,rz), environment model (e.g., collision obstacle), etc. Here, the sensor broadly refers to sensors including force sensors, 3D cameras, etc.
[0040] 3) Algorithm computation skill block, in which the service response feeds back the corresponding computation output. For example, the computation output can be calculated by a production-based algorithm, including movement patterns, object location positions, etc.
[0041] Further, in terms of skill type, the skill blocks may include common skill blocks 1121,...,112i and task skill blocks 112i+1,...,112N (i.e., skill blocks for a particular task). The common skill blocks may include object identification skill blocks, collision-free path planning skill blocks, etc. The task skill blocks may include the following, namely: palletizing skill blocks, grinding skill blocks, assembly skill blocks, welding skill blocks, etc. Furthermore, the common skill blocks may be invoked during the execution of the task skill blocks.
[0042] The skill management module 111 is configured to analyze a service request 11 received through the first communication interface 113, and according to the analysis result, invoke at least one corresponding skill block, provide the input parameters to the corresponding skill block if the service request carries input parameters, receive a service response 12 returned by the at least one skill block, and output the service response 12.
[0043] The integrated execution engine 120 includes a plurality of skill function blocks that encapsulate the interface parts of the skills involved in the production process by describing them in a software manner, so that the user can program the production procedure of the production system. The integrated execution engine 120 is configured to obtain the production procedure programmed by the user and sequentially start each skill function block in the production procedure. When the skill function block is started, it is configured to send a corresponding service request 11 to the skill library 110 of the production system, receive a service response 12 from the skill library 110 of the production system, and interact with a corresponding equipment agent according to the needs of the service response. For example, it sends an operation instruction 13 to the corresponding equipment agent, and receives a current operation state or an operation result fed back by the equipment agent.
[0044] 3, when specifically implemented, the integrated execution engine 120 may include a skill execution engine 121, a plurality of skill function blocks 1221, 1222, ..., 122M, an action queue 123, an action execution engine 124, a second communication interface 125, and a third communication interface 126, where M is a positive integer.
[0045] Each skill function block corresponds to at least one skill block, and each skill function block is configured to describe and encapsulate the interface part of the corresponding skill in a software manner so that a user can program a production procedure of the production system. When executed, the skill function block sends a corresponding service request to the skill library 110 of the production system through the second communication interface 125. If input parameters exist, the skill function block conveys the input parameters in the service request and receives a service response returned by the skill library 110 of the production system. If the service response is an action sequence, the skill function block adds the action sequence to the action queue 123 and reads the current operation state of the action sequence from the action queue 123. If the current operation state indicates that all actions in the action sequence are completed, the skill function block returns a completion indication to the skill execution engine 121. If the current operation state indicates that there is an error in the current action execution, the skill function block returns an error indication to the skill execution engine 121; otherwise, if the service response is not an action sequence, the service response may be provided to the skill execution engine 121.
[0046] In a particular implementation, each skill function block may maintain a state machine as shown in Figure 4, which may include four states: an "idle" state I, an "active" state A, a "completed" state D, and an "error" state E. The state machine is in the "idle" state if the corresponding skill function block has not been started; if the corresponding skill function block has been started, the state machine is converted to the "active" state; if the corresponding skill function block has been successfully executed, the state machine is converted to the "completed" state; and if an error occurs in the execution of the corresponding skill function block, the state machine is converted to the "error" state.
[0047] 5A and 5B are flowcharts illustrating state machine transitions, respectively, according to examples of the present disclosure.
[0048] 5A is a flowchart showing the transition of the state machine when the skill block corresponding to the skill function block is not an action sequence skill block according to an example of the present disclosure. As shown in FIG. 5A, in this example, the conversion process of the state machine may include the following processes:
[0049] Block 501A determines whether the current skill function block has been started. If the current skill function block has been started, block 502A is executed; if not, block 507A is executed to set the state machine to the "idle" state.
[0050] At block 502A, the state machine is set to the "active" state.
[0051] At block 503A, a corresponding service request is sent to the skills library 110 of the production system.
[0052] Block 504A determines if a service response has been received, and if so, block 505A is executed; otherwise, continues to wait.
[0053] At block 505A, the result of the service response is output.
[0054] At block 506A, the state machine is set to the "Done" state.
[0055] 5B is a flowchart showing the transition of the state machine when the skill block corresponding to the skill function block is an action sequence skill block according to an example of the present disclosure. As shown in FIG. 5B, in this example, the conversion process of the state machine may include the following processes:
[0056] At block 501B it is determined whether the current skill function block has been started. If the current skill function block has been started, then block 502B is executed; if not, then block 512B is executed and the state machine is set to the "idle" state.
[0057] At block 502B, the state machine is set to the "active" state.
[0058] At block 503B, a corresponding service request is sent to the skills library 110 of the production system.
[0059] Block 504B determines whether a service response has been received. If a service response has been received, block 505B is executed; if not, continue to wait.
[0060] At block 505B, the action sequence in the service response is stored in an action queue.
[0061] At block 506B it is determined whether the action queue is empty, and if the action queue is empty, block 507B is executed; if not, block 508B is executed.
[0062] At block 507B, the state machine is set to the "Complete" state. At this point, the skill function block may return a completion indication to the skill execution engine 121.
[0063] Block 508B determines whether there are unread actions in the action queue. If there are unread actions in the action queue, block 509B is executed; if not, block 510B is executed.
[0064] At block 509B, the first k actions in the action queue are read and sent to the corresponding device agents, where k is an integer greater than or equal to 1.
[0065] At block 510B, it is determined whether the device agent has fed back an operational status indicating that the current action is complete. If the device agent has fed back an operational status indicating that the current action is complete, then block 511B is executed.
[0066] Block 511B removes the current action from the queue and returns to block 506B.
[0067] The skill execution engine 121 is configured to obtain the production procedure programmed by the user based on the skill function blocks 1221, 1222 and 122N, and start each skill function block in the production procedure in order. Specifically, if the current skill function block returns a completion indication, the skill execution engine 121 can start the next skill function block, and if the current skill function block returns an error indication, it can stop the program and give a warning. If the current skill function block returns a service response, such as sensor data or calculation result, the service response is provided to the next skill function block if it needs to be used as an input for the next skill function block.
[0068] The action queue 123 is configured to store action sequences in service responses and to update the current operational state of the action sequences in real time.
[0069] The action execution engine 124 is configured to sequentially read out the actions in the action queue 123, for example, the first k actions (k is 1 or more), each time when there is an action sequence in the action queue 123, send an operation instruction corresponding to the read out action to a corresponding device agent through the third communication interface 126, receive a current operation state fed back by the device agent, and provide the current operation state to the action queue 123; if the current operation state indicates that the current action is normally executed, delete the current action from the action sequence until the action queue 123 is empty. Furthermore, if the current operation state indicates that the current action has an error, the program operation may be stopped. Furthermore, the current operation state may indicate normal execution, etc.
[0070] Each equipment agent is configured to provide an integrated interface to the integrated execution engine 120 and the production system's skill library 110, receive operation instructions from the integrated execution engine 120 or a skill block in the production system's skill library 110, control a corresponding equipment to perform an operation in accordance with the operation instructions, and feed back the current operation status or operation result to the integrated execution engine 120 or the skill block.
[0071] For example, as shown in Fig. 1, the force sensor agent 1401 receives a force sensor action instruction 14, and then sends a force sensor control instruction 15 to the force sensor 1301. The force sensor 1301 feeds back the original force data 16 to the force sensor agent 1401, which performs processing such as noise removal on the original force data 16 and feeds back the processed force data 17. As another example, the robot agent 1402 receives a robot action instruction 18, and then sends a pure motion control command 19 to the robot controller 1302-1 through a motion command channel, or sends a real-time motion control command 20 to maintain a constant applied force to the robot controller 1302-1 through an interpolation channel, and the robot controller 1302-1 controls the robot arm 1302-2 to perform a corresponding action, and the robot action state 21 is fed back to the robot agent 1402 through a robot action channel, and the robot agent 1402 feeds back the robot action state 21. As another example, the 3D camera agent 1403 receives the 3D camera operation instructions 22 and then sends the 3D camera control instructions 23 to the 3D camera 1303. The 3D camera 1303 feeds back the original 3D camera data 24 to the 3D camera agent 1403. The 3D camera agent 1403 performs processing such as noise removal on the original 3D camera data 24 and feeds back the processed 3D camera data 25.
[0072] Furthermore, in another example, each equipment agent is connected to the integrated execution engine 120 and the skill library 110 of the production system through a data bus, so that they can access each other through an open interface. For example, the integrated execution engine 120 and the skill library 110 of the production system are accessible to each equipment agent. The integrated execution engine 120 and each equipment agent are accessible to the skill library 110 of the production system. Furthermore, the equipment agents are accessible to each other. That is, each equipment agent can provide an integrated interface to the integrated execution engine 120, the skill library 110 of the production system, and other equipment agents, can receive an operation instruction from the integrated execution engine 120 or a skill block in the skill library 110 of the production system or other equipment agents, can control a corresponding equipment to perform an operation according to the operation instruction, and can feed back a current operation state to the integrated execution engine 120, or a skill block or other equipment agents.
[0073] Different types of device agents may have different specific implementation structures.
[0074] For example, Fig. 6 is a schematic diagram of a robotic agent according to an example of the present disclosure. As shown in Fig. 6, the robotic agent may include a fourth communication interface 610, a command queue 620, a command execution engine 630, a motion command channel 640, a force motion adjustment module 650, an interpolation channel 660, and a robot state channel 670.
[0075] The command queue 620 is used to store operation instructions received through the fourth communication interface 610 .
[0076] The command execution engine 630 is configured to sequentially read each motion instruction from the command queue 620. If the motion instruction is a pure motion instruction, the command execution engine 630 sends the motion instruction to a corresponding robotic device, such as a robot controller, through the motion command channel 640, so that the robot controller controls the corresponding robot. If the motion instruction is a motion instruction to maintain a constant applied force, the command execution engine 630 provides the motion instruction to the force motion adjustment module 650 and receives a current motion state fed back by the robotic device through the robot state channel 670. The pure motion instruction may be some instructions for standard motion, such as linear motion, circular motion, point-to-point motion, spline motion, etc. The motion instruction to maintain a constant applied force may be a moving contact instruction or a moving hold force instruction. A moving contact means that the robot moves in a straight line until a predetermined fixed 6DoF force is reached (for example, this can be measured by a 6DoF sensor). A moving hold force means that the robot moves in a straight line, an arc, or a spline while maintaining a time-varying 6DoF force. In some embodiments, the 6DoF force may include directional information.
[0077] The force motion adjustment module 650 is configured to dynamically determine the motion of the robot's axis joints according to the motion instructions and the force data collected in real time by the force sensors, and provide the motion of the axis joints to the robot device, i.e., the robot controller, through the interpolation channel 660, so that the robot controller controls the force applied externally by the robot during movement to reach the force value in the motion instructions.
[0078] When specifically implemented, the force motion adjustment module 650 may include a command analysis module 651 , a motion path planning module 652 , a force control module 653 and a transformation module 654 .
[0079] The instruction analysis module 651 is configured to analyze the motion instruction to obtain control information of the robot. The control information may include motion information and force information.
[0080] The motion path planning module 652 is configured to plan a Cartesian space path and a velocity of a terminal center point (TCP) of the robot tool, provide the Cartesian space path to a force control module 653, obtain a fine-tuned Cartesian space path fed back by the force control module 653, then provide the fine-tuned Cartesian space path to a transformation module 654, receive the robot axis joint positions transformed by the transformation module 654, and provide the axis joint positions and velocities to a corresponding robot device, e.g., a robot controller.
[0081] The force control module 653 is configured to obtain force data of the end center point of the robot tool measured by the force sensor during the process of robot motion, fine-tune the Cartesian space path from the motion path planning module 652 according to the force data, calculate the Cartesian compensation of the robot, obtain a fine-tuned Cartesian space path to maintain the required force, and then feed back the fine-tuned Cartesian space path to the motion path planning module 652.
[0082] When specifically implemented, the force data can be acquired by the motion path planning module 652 and then provided to the force control module 653, or can be acquired independently by the force control module 653. For example, the force control module 653 or the motion path planning module 652 can acquire the force data measured by the force sensor through a force sensor agent. Alternatively, the force control module 653 or the motion path planning module 652 can send a service request to a corresponding skill block in the production system's skill library 110, which interacts with the force sensor agent to acquire the force data measured by the force sensor.
[0083] Cartesian compensation may be calculated using the following equations (1)-(4):
[0084]
number
[0085]
number
[0086]
number
[0087]
number
[0088] where f act is the actual 6DoF sensed by the force sensor. f dsr is the 6DoF force desired by the force motion. M is the mass of the robotic system and B is the damping of the robotic system.
number
number
number
number
[0089] The transformation module 654 is configured to transform the refined Cartesian space path into corresponding axis joint positions and feed the axis joint positions back to the motion path planning module 652 .
[0090] In the case of other device agents, such as sensor agents, or tool agents controlling tools, such as grippers, they may include a fourth communication interface 610, a command processing module (not shown), a command channel (not shown), and a feedback channel (not shown). The command processing module is configured to provide an operation instruction received through the fourth communication interface 610 to a corresponding device through the command channel, receive a current operation state or an operation result fed back by the device through the feedback channel, and send the current operation state or the operation result back to the bus 150 through the fourth communication interface 610.
[0091] 7A is a schematic diagram of an application case of the present disclosure, taking a production system for palletizing as an example, which shows how the production procedure of this production system can be programmed in a simple manner, where switching to another production system is possible.
[0092] This application case concerns palletization and involves the following main components:
[0093] 1) an integrated execution engine 120 running on a PLC (e.g., SIMATIC S7-1500);
[0094] 2) A skill library 110 of a production system running on an edge computing device (e.g., SIMATIC IPC427E)
[0095] 3) Robot Agent 1402 for controlling third-party robots (e.g. controlling KUKA robots via SIMATIC Robot Integrator)
[0096] 4) Tool agent 1404 that controls the gripper (e.g., opening and closing the gripper fingers)
[0097] 5) A 3D camera agent that acquires and processes raw 3D sensor data, which may include:
[0098] A first 3D camera agent 1403-1 configured to control a first 3D camera 1303-1 used to identify the length, width, height and 6DoF position of the package.
[0099] A second 3D camera agent 1403-2 configured to control a second 3D camera 1303-2 used to monitor the length, width and height of the current pallet.
[0100] a third 3D camera agent 1403-3 configured to control a third 3D camera 1303-3 used to monitor the position and size of obstacles and output an environment model;
[0101] Skill blocks provided by the production system's skills library 110 may include:
[0102] 1) A 3D object localization skill block 112A that is configured to calculate the length, width, height and 6DoF position of the package based on data collected by a first 3D camera 1303-1.
[0103] 2) a palletizing position calculation skill block 112B configured to calculate a placement position of a new package within a pallet based on the package information collected by the second 3D camera 1303-2 and the palletizing space constraint data;
[0104] 3) an environment modeling skill block 112C configured to identify obstacles (e.g., 6DoF position and size) and generate an environment model;
[0105] 4) A collision-free path planning skill block 112D that is configured to calculate waypoints that, given an environment model, form a path for the robot that does not collide with the environment.
[0106] 5) A collision-free palletizing skill block 112E configured to generate a complete palletizing action sequence (including robot kinematics and gripper motion).
[0107] Figure 7B is a flow chart showing the palletizing action sequence generated for the application case shown in Figure 7A. As shown in Figure 7B, the action sequence includes: 701: move above start of palletizing operation; 702: open gripper; 703: move to start of palletizing operation; 704: close gripper; 705: move above start of palletizing operation; 706: move spline to midpoint; 707: move to end of palletizing operation; 708: open gripper; 709: move above end of palletizing operation; 710: move point-to-point home.
[0108] The integrated execution engine 120 is provided with the following skill function blocks for a user to program a production system for a palletizing application:
[0109] 1) Get Object Position Function Block 122A: The output of this function block is the starting position of the palletizing operation which invokes the 3D Object Position Estimation skill block 112A described above.
[0110] 2) Calculate Palletizing Position Function Block 122B: The output of this function block is the end position of the palletizing operation which invokes the Calculate Palletizing Position skill block 112B described above.
[0111] 3) Collision-free palletizing function block 122C: This function block takes the results of the object position acquisition function block 122A and the results of the palletizing position calculation function block 122B as input parameters and calls three skills, namely: collision-free palletizing, environment modeling and collision-free path planning, i.e., calls the above-mentioned collision-free palletizing skill block 112E, environment modeling skill block 112C and collision-free path planning skill block 112D to obtain corresponding action sequences including robot motions (e.g., spline motions to all path points of the path) and gripper actions.
[0112] To complete the programming of the palletizing application case, the user only needs to use three skill function blocks and finds that all background execution, scheduling and servicing will be handled automatically by the system. The functionality and flexibility of the production system can be further improved by adding more skills to the production system's skill library, adding corresponding skill function blocks to the integrated execution engine, and adding appropriate new agents.
[0113] The system for automatic control of a production system according to the example of the present disclosure is described in detail above, and the method for automatic control of a production system according to the example of the present disclosure is described in detail below. The method for automatic control of a production system according to the example of the present disclosure can be implemented in the system for automatic control of a production system according to the example of the present disclosure. For details not disclosed in the example of the method of the present disclosure, please refer to the corresponding description in the example of the system of the present disclosure, which will not be repeated here.
[0114] 8 is a flow chart illustrating a method for automatic control of a production system according to an example of the present disclosure. As shown in FIG. 8, the method may include the following processes:
[0115] In block S81, a plurality of skill blocks are pre-defined, each of which describes the implementation portion of a skill involved in a production process in a software manner and encapsulates the same, and a plurality of skill function blocks are pre-defined, each of which describes the interface portion of a skill involved in a production process in a software manner and encapsulates the same.
[0116] At block S82, a production sequence programmed by a user based on skill function blocks is received, and the first skill function block in the production sequence is made the current skill function block.
[0117] In block S83, the current skill function block is initiated to call at least one corresponding skill block, and each called skill block controls a corresponding device to execute its own skill and perform an action through a corresponding device agent in response to a request for skill execution.
[0118] In this block, the sensor output skill block can interact with the sensor agent to obtain data collected by the sensor.
[0119] In block S84, the service response returned by the skill block is received, and the corresponding device is controlled to perform an operation through the corresponding device agent according to the needs of the service response.
[0120] In this block, if the service response is an action sequence, block S84 may include the following, namely: adding the action sequence to an action queue; sequentially retrieving actions in the action sequence and sending at least one action instruction corresponding to at least one of the retrieved actions to a corresponding device agent, whereby the device agent controls the device to execute the actions in the action sequence in sequence according to the action instructions, and providing corresponding action state feedback; if it is determined according to the action state that the execution of the current action is completed, removing the current action from the action queue; if the action queue is empty, it may include determining that the execution of the action sequence is completed.
[0121] When the device agent is a robot agent, the device agent's control of the device to sequentially execute actions in the action sequence in response to the action instructions and feeding back the corresponding action state may include the following: adding the action instructions to a command queue; sequentially reading each action instruction from the command queue; if the read action instruction is a pure motion instruction, sending the action instruction to the corresponding robot device so as to enable the robot device to perform the corresponding action; if the read action instruction is a motion instruction to maintain a constant applied force, dynamically determining the motion of the robot's axis joints in response to the action instruction and force data collected in real time by the force sensor, and sending the motion of the axis joints to the robot device so as to enable the robot device to perform the corresponding action; and receiving a current action state fed back by the robot device.
[0122] In one example, dynamically determining the motion of the axis joints of the robot in response to the motion commands and the force data collected in real time by the force sensors and sending the axis joint motions to the robotic device may include: analyzing the motion instructions to obtain control information of the robot and control information including motion information and force information; planning a Cartesian space path and a velocity of an end center point of the robot tool in response to the motion information and the force information; acquiring force data of an end center point of the robot tool measured by a force sensor during the motion of the robot; fine-tuning the Cartesian space path in response to the force data, calculating a Cartesian compensation of the robot, and acquiring a fine-tuned Cartesian space path; converting the fine-tuned Cartesian space path into corresponding axis joint positions; and providing the axis joint positions and velocities to corresponding robot controllers.
[0123] If the device agent is not a robot agent, the device agent's controlling a device to sequentially execute actions in an action sequence in response to an action instruction and feeding back a corresponding action state may include the following, namely: providing an action instruction to a corresponding device and receiving a current action state or an execution result fed back by the device.
[0124] Furthermore, if the service response is not an action sequence, there is no need to interact with the device agent.
[0125] In block S85, after the current skill function block is executed normally, it is determined whether there are still skill function blocks that have not been started. If there are still skill function blocks that have not been started, block S86 is executed; otherwise, the current process can be terminated.
[0126] In one example, each skill function block maintains a state machine, where if the corresponding skill function block is not started, the state machine is idle; if the corresponding skill function block is started, the state machine is converted to an "active" state; if the corresponding skill function block is executed successfully, the state machine is converted to a "completed" state; if an error occurs in the execution of the corresponding skill function block, the state machine is converted to an "error" state. In this block, the execution state of the corresponding skill function block can be determined depending on the state of the state machine, e.g., whether it was executed successfully or not.
[0127] In block S86, the next skill function block is made the current skill function block and the process returns to block S83.
[0128] In practice, the system for automatic control of a production system provided by this implementation scheme of the present disclosure may be specifically implemented in various forms, for example, the system for automatic control of a production system may be compiled by using an application programming interface that complies with certain rules as a plug-in that is installed in an intelligent terminal, or may be encapsulated in an application program for users to download and use.
[0129] When compiled as a plug-in, the system for industrial application development may be implemented in various plug-in formats, such as ocx, dll, cab, etc. The system for industrial application development provided by this implementation method of the present disclosure may be implemented by using a specific technology, for example, Flash plug-in technology, RealPlayer plug-in technology, MMS plug-in technology, MIDIstaff plug-in technology, or ActiveX plug-in technology.
[0130] The method for industrial application development provided by this implementation of the present disclosure may be stored in various storage media in an instruction storage manner or instruction set storage manner, including but not limited to floppy disks, optical disks, DVDs, hard disks, flash memory, USB flash drives, CF cards, SD cards, MMC cards, SM cards, memory sticks, and xD cards.
[0131] Furthermore, the method for industrial application development provided by this implementation method of the present disclosure may also be applied to storage media based on flash memory (NAND type flash memory), such as USB flash drives, CF cards, SD cards, SDHC cards, MMC cards, SM cards, memory sticks and xD cards.
[0132] Furthermore, it will be apparent that an operating system running on a computer can cause the computer to not only execute program code read from a storage medium, but also to perform some or all of the actual operations by using instructions based on this program code, thereby implementing the functionality of any of the multiple embodiments described above.
[0133] For example, Figure 9 is a schematic diagram of another system for automatic control of a production system according to an example of the present disclosure. This system may be used to perform the method shown in Figure 8 or to implement the system shown in Figure 1. As shown in Figure 9, the system may include at least one memory 91 and at least one processor 92. In addition, several other components may be included, such as communication ports, I / O controllers, network communication interfaces, etc. These components communicate via a bus 93, etc.
[0134] At least one memory 91 is configured to store a computer program. In one example, the computer program can be understood to include various modules of the system shown in FIG. 1. Furthermore, at least one memory 91 may store an operating system, etc. The operating system includes, but is not limited to, Android OS, Symbian OS, Windows OS, Linux OS, etc.
[0135] At least one processor 92 is configured to call computer programs stored in at least one memory 91 to implement the methods for automatic control of a production system described in the examples of the present disclosure. The processor 92 may be a CPU, a processing unit / module, an ASIC, a logic module or a programmable gate array, etc. It can receive and send data through a communication port.
[0136] The I / O controller has a display and input devices, which are used to input, output and display relevant data.
[0137] From the above technical solution in the example of the present disclosure, it can be seen that a skill block that describes and encapsulates the implementation part of the skill involved in the production process in a software manner, and a plurality of skill function blocks that describe and encapsulate the interface part of the skill involved in the production process in a software manner are respectively set, so that the user only needs to program the production procedure based on the skill function block, and then the background calls the corresponding skill block by sequentially starting each skill function block in the production procedure to complete the corresponding skill of the production system, thereby simplifying the user's automatic control programming process of the production system and reducing the user's programming difficulties. In addition, the production system is easy to reprogram, which can respond to sudden changes in small-batch production.
[0138] As used herein, the singular form "a" ("a", "an", "the") should be understood to be intended to include the plural unless the context clearly supports otherwise. It should also be understood that as used herein, "and / or" is intended to include any and all possible combinations of one or more of the associated listed items.
[0139] The number of embodiments of the present disclosure are used for illustrative purposes only and do not represent the merits of implementation.
[0140] The above description has been described with reference to specific examples for purposes of illustration. However, the above exemplary discussion is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teachings. These examples were chosen and described in order to most clearly explain the principles of the disclosure and its practical application, thereby enabling those skilled in the art to most easily utilize the disclosure and various examples with various modifications suited to the particular use anticipated. [Explanation of symbols]
[0141] 110 Production System Skills Library 111 Skill Management Module 1121, 112i, 112i+1, 112N Skill Block 112A App Creation Module 112B Requirement Analysis Module 112C Function determination module 112D The first intelligent matching module 112E 2nd Intelligent Matching Module 113 First communication interface 114 Skill Register 120 Integrated Execution Engine 121 Skill Execution Engine 1221,1222,122M Skill Function Block 122A Modbus TCP Connector 122B PROFINET IO Connector 122C Data Layer 123 Action Queue 124 Action Execution Engine 125 Second Communication Interface 126 Third Communication Interface 1301 Force Sensor 1302-1 Robot controller 1302-2 Robot arm 1303, 1303-1, 1303-2, 1303-3 3D camera 1401 Force Sensor Agent 1402 Robot Agent 1403, 1403-1, 1403-2, 1403-3 3D Camera Agent 1404 Tool Agent 150 Data Bus 501A~506A, 501B~511B, S81~S86 Process 610 Fourth Communication Interface 620 Command Queue 630 Command Execution Engine 640 Motion Command Channel 650 Force Motion Adjustment Module 651 Instruction Analysis Module 652 Motion Path Planning Module 653 Force Control Module 654 Conversion Module 660 Interpolation Channels 670 Robot Status Channel 701~710 Action Sequence 91 Memory 92 processors 93 Bus
Claims
1. 1. A system for automatic control of a production system, comprising: The system includes a production system skill library, an integrated execution engine, and an equipment agent for controlling a corresponding equipment in the production system; The skill library of the production system comprises a plurality of skill blocks which describe and encapsulate the implementation parts of the skills involved in the production process in a software manner, and the skill library of the production system is configured to call at least one corresponding skill block according to a received service request, and return a corresponding service response according to an execution result of the at least one skill block; the at least one skill block sends an operation instruction to a corresponding device agent according to the needs of skill execution; The integrated execution engine comprises a plurality of skill function blocks which describe and encapsulate the interface parts of the skills involved in the production process in a software manner; the integrated execution engine is configured to obtain a production procedure programmed by a user based on the skill function blocks, and sequentially start each skill function block in the production procedure; when a skill function block is started, the skill function block sends a service request to a skill library of the production system, receives a service response from the skill library of the production system, and sends an operation instruction to a corresponding equipment agent according to the needs of the service response; Each device agent is configured to provide an integrated interface to the integrated execution engine and the skill library of the production system, receive the operation instruction from the integrated execution engine or a skill block in the skill library of the production system, control a corresponding device to execute an operation according to the operation instruction, and feed back a current operation state or an operation result to the integrated execution engine or the skill block. A system characterized by:
2. The skill library of the production system includes a skill management module, a plurality of skill blocks, and a first communication interface; Each skill block encapsulates the implementation of a skill involved in the production process in a software manner, and each skill block is configured to execute a corresponding skill when called, and to interact with the corresponding device agent according to the needs of skill execution; the skill management module is configured to analyze the service request received through the first communication interface, and according to a result of the analysis, to invoke at least one corresponding skill block, and to receive and output a service response returned by the at least one skill block; The system of claim 1 .
3. the plurality of skill blocks comprises at least one action sequence skill block, at least one sensor output skill block, and at least one algorithm computation skill block; Each action sequence skill block is a skill block or a combination of multiple interrelated skill blocks, and the service response of the action sequence skill block feedbacks an action sequence; Each sensor output skill block obtains data of a field sensor through interaction with a sensor agent, or obtains data output by a sensor processing algorithm using sensor data as input; the service response of the sensor output skill block feeds back sensor output data; The service response of the algorithm calculation skill block feeds back the corresponding calculation result; The system of claim 2.
4. The action sequencing skill block is a combination of an environment modeling skill block, a collision-free path planning skill block, and a collision-free palletizing skill block; the environmental modeling skill block configured to identify obstacles and generate an environmental model; the collision-free path planning skill block is configured to calculate waypoints that, given the environment model, form a path for the device to avoid collisions with the environment; The collision-free palletizing skill block is configured to generate an entire palletizing action sequence; The sensor output skill block includes: A 3D object localization skill block that calculates the length, width, height and 6DoF position of the package; A pallet stacking position calculation skill block that calculates the position where a new package will be stacked; Equipped with The system of claim 3.
5. The integrated execution engine includes a skill execution engine, a plurality of skill function blocks, an action queue, an action execution engine, a second communication interface, and a third communication interface; Each skill function block corresponds to at least one skill block, and each skill function block is configured to describe and encapsulate the interface portion of a skill in a software manner; when executed, to send a service request to a skill library of the production system through the second communication interface and receive a service response returned by the skill library of the production system; if the service response is an action sequence, to add the action sequence to the action queue and read a current operating state of the action sequence from the action queue; if the current operating state indicates that all actions in the action sequence are completed, to return a completion indication to the skill execution engine; The skill execution engine is configured to obtain a production procedure programmed by a user based on the skill function blocks, and start each skill function block in the production procedure in order; start a next skill function block when a current skill function block returns a completion indication; provide a service response to the next skill function block when the current skill function block returns a service response and when the service response needs to be used as an input for the next skill function block; the action queue is configured to store the action sequence in the service response and update a current operating state of the action sequence in real time; the action execution engine is configured to: when an action sequence exists in the action queue, sequentially read out actions in the action sequence, send an operation instruction corresponding to at least one of the read out actions to a corresponding device agent through the third communication interface, receive a current operation state fed back by the device agent, and provide the current operation state to the action queue; and when the current operation state indicates that the current action has been successfully executed, remove the current action from the action sequence until the action queue is empty. The system of claim 1 .
6. 6. The system of claim 5, wherein each skill function block maintains a state machine, and when the corresponding skill function block is not started, the state machine is in an "idle" state; when the corresponding skill function block is started, the state machine is converted to an "active" state; when the corresponding skill function block is executed successfully, the state machine is converted to a "completed" state; and when an error occurs in the execution of the corresponding skill function block, the state machine is converted to an "error" state.
7. The device agent comprises a robotic agent, the robotic agent comprising a fourth communication interface, a command queue, a command execution engine, a motion command channel, a force motion coordination module, an interpolation channel, and a robot state channel; the command queue is configured to store operation instructions received through the fourth communication interface; the command execution engine is configured to sequentially read each motion instruction from the command queue; if the motion instruction is a pure motion instruction, send the motion instruction to a robot controller through the motion command channel; if the motion instruction is a motion instruction to maintain a constant applied force, provide the motion instruction to the force motion coordination module and receive a current motion state fed back by the robot controller through the robot state channel; The force motion adjustment module is configured to dynamically determine motions of axis joints of a robot according to the operation instructions and force data collected in real time by a force sensor, and provide the motions of the axis joints to the robot controller through the interpolation channel. The system of claim 1 .
8. The force motion adjustment module includes a command analysis module, a motion path planning module, a force control module, and a transformation module; The instruction analysis module is configured to analyze the motion instruction to obtain control information for the robot; the motion path planning module is configured to plan a Cartesian space path and a velocity of an end center point of a robot tool, provide the Cartesian space path to the force control module, obtain a fine-tuned Cartesian space path fed back by the force control module, provide the fine-tuned Cartesian space path to the transformation module, receive axis joint positions of the robot transformed by the transformation module, and provide the axis joint positions and the velocities to the robot controller; The force control module is configured to obtain force data of the end center point of the robot tool measured by a force sensor during a process of robot motion, fine-tune the Cartesian space path from the motion path planning module according to the force data to obtain a fine-tuned Cartesian space path for maintaining a required force, and feed back the fine-tuned Cartesian space path to the motion path planning module. The system of claim 7.
9. The device agent comprises a sensor agent and / or a tool agent, the sensor agent or the tool agent comprising a fourth communication interface, a command processing module, a command channel and a feedback channel; the command processing module is configured to provide an operation instruction received through the fourth communication interface to a corresponding device through the command channel, receive a current operation state or an operation result fed back by the device through the feedback channel, and send the current operation state or the operation result back to the bus through the fourth communication interface; The system of claim 1 .
10. 1. A method for automatic control of a production system, the method comprising: Presetting a plurality of skill blocks that are encapsulated by describing implementation parts of skills involved in a production process in a software manner, and a plurality of skill function blocks that are encapsulated by describing interface parts of the skills involved in the production process in a software manner; receiving a production sequence programmed by a user based on the skill function block, and setting a first skill function block in the production sequence as a current skill function block; initiating the current skill function block to invoke at least one corresponding skill block, each of the invoked skill blocks controlling a corresponding device to execute a corresponding skill and perform an action through a corresponding device agent in response to a request for skill execution; receiving a service response returned by the skill block, and controlling a corresponding device to perform an action through a corresponding device agent according to the needs of the service response; If the current skill function block is executed successfully and there are still skill function blocks that have not been started, then making a next skill function block the current skill function block, and returning to the operation of starting the current skill function block to call at least one corresponding skill block. The method of claim 1, further comprising:
11. The service response comprises an action sequence; and controlling a corresponding device through a corresponding device agent to perform an action in response to a request for skill execution. adding the action sequence to an action queue; reading the actions in the action sequence in order; sending at least one action instruction corresponding to the retrieved at least one action to a corresponding device agent; controlling a corresponding device by the device agent so as to execute the actions in the action sequence in sequence in response to the action instruction, and feeding back a corresponding action state; removing the current action from the action queue when determining, according to the operational state, that execution of the current action is completed; determining that execution of the action sequence is complete when the action queue is empty; The method of claim 10, comprising:
12. the device agent is a robot agent; and controlling a corresponding device by the device agent so as to execute the actions in the action sequence in sequence in response to the action instruction and feeding back a corresponding action state; adding the operation instruction to a command queue; sequentially reading out each operation instruction from the command queue; If the retrieved movement instruction is a pure motion instruction, sending the movement instruction to the robot controller to enable the robot controller to execute a corresponding movement; If the read operation instruction is a motion instruction to maintain a constant applied force, dynamically determine a motion of an axis joint of the robot according to the operation instruction and the force data collected in real time by a force sensor, and send the motion of the axis joint to the robot controller so as to enable the robot controller to execute a corresponding operation; receiving a current motion state fed back by the robot controller; The method of claim 11 , comprising:
13. dynamically determining a motion of an axis joint of the robot according to the operation instruction and force data collected in real time by a force sensor, and sending the motion of the axis joint to the robot controller so as to enable the robot controller to execute a corresponding operation; analyzing the motion instructions to obtain control information for the robot; planning a Cartesian spatial path and a velocity of a terminal center point of a robotic tool in response to the control information; acquiring force data of the end center point of the robot tool measured by a force sensor during movement of the robot; fine-tuning the Cartesian spatial path in response to the force data to obtain a fine-tuned Cartesian spatial path; Transforming the refined Cartesian space path into corresponding axis joint positions; providing said axis joint positions and said velocities to said robot controller; The method of claim 12 , comprising:
14. The method of any one of claims 10 to 13, wherein each skill function block maintains a state machine, and when the corresponding skill function block is not started, the state machine is in an "idle" state; when the corresponding skill function block is started, the state machine is converted to an "active" state; when the corresponding skill function block is executed successfully, the state machine is converted to a "completed" state; and when an error occurs in the execution of the corresponding skill function block, the state machine is converted to an "error" state.
15. 1. A system for automatic control of a production system, comprising: The system comprises: at least one memory for storing a computer program; at least one processor for calling said computer program stored in said at least one memory in order to implement the method for automatic control of a production system according to any one of claims 10 to 14; Equipped with A system characterized by:
16. A non-transitory computer-readable storage medium having a computer program stored thereon, The computer program is executed by a processor to implement the method for automatic control of a production system according to any one of claims 10 to 14. A non-transitory computer-readable storage medium comprising:
Citation Information
Patent Citations
Industrial robot controller operation system
CN111427310A
Virtual device architecture for mobile phones
JP2012075151A
Process control system, and system and method for configuration thereof
JP2016095844A
