An open motion control simulation experimental method connecting a programmable controller with a virtual industrial robot
By introducing programmable controllers and EtherCAT emulators into industrial robot simulation systems, combining programmable control platform software and industrial robot simulation software, the problem of insufficient universality and compatibility in the existing technology is solved, and efficient, real-time and Stable motion control simulation experiment.
Patent Information
- Application Number
- CN202111630462.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-12-28
AI Technical Summary
The existing offline simulation software for industrial robots is insufficient in versatility, compatibility and user integration, and cannot fully meet customers' automatic control requirements, and there are large differences in robot programming languages supported by different systems.
Provide an open motion control simulation experiment method with programmable controllers connected to virtual industrial robots, including programmable controllers, EtherCAT simulators, programmable control platform software, simulated data communication software and industrial robot simulation software through these components Achieve general, real-time, stable and operational motion control simulation experiments.
An open motion control experimental environment is realized, and users can customize motion control algorithms, reducing the complexity of use and development costs, and improving the real-time and stability of motion control simulation experiments.
Smart Images

Figure CN114488846B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of industrial robots and is an open motion control simulation experiment method for connecting a programmable controller with a virtual industrial robot. Background Art
[0002] With the development of computer and human-computer interaction technology, and considering factors such as production efficiency and safety, the simulation system of industrial robots plays an increasingly important role. Nowadays, many foreign companies have developed independent robot offline simulation systems, such as ABB's offline programming simulation system ABB Robot Studio, KUKA's KUKA SIM PRO, which is mainly used for robot palletizing, logistics and transportation simulation, and can simulate the operation of the teaching box, and FANUC's offline programming software Fanuc Works. However, most of the above offline simulation software only supports the robots of their own companies, and cannot fully meet the various automatic control requirements of customers. The versatility, compatibility, and user integration are not strong. Moreover, the robot programming languages supported by various systems are also quite different. The above two points have brought inconvenience to customers' use and independent development.
[0003] Therefore, in view of the defects of the existing technology, it is necessary to propose an open, universal, scalable, real-time and high-fidelity industrial robot virtual simulation motion control experimental method to solve the problems existing in the existing technology. Summary of the invention
[0004] The present invention mainly solves the deficiencies in the prior art and provides an open motion control simulation experiment method for connecting a programmable controller with a virtual industrial robot, which has the advantages of versatility, real-time performance, stability, operability and the like.
[0005] In order to overcome the defects of the prior art, the technical solution of the present invention is as follows:
[0006] An open motion control simulation experiment method for connecting a programmable controller with a virtual industrial robot comprises a programmable controller, an EtherCAT simulator, a programmable control platform software, simulation data communication software, and industrial robot simulation software; wherein the programmable controller is connected to the EtherCAT simulator; the EtherCAT simulator is connected to a PC comprising the programmable control platform software, simulation data communication software, and industrial robot simulation software; and specifically comprises the following steps:
[0007] Step S1: selection and connection of software and hardware, and configuration of software parameters;
[0008] Step S2: Establish and store a simulation model of the industrial robot;
[0009] Step S3: Programming the robot control program using the programmable control platform software;
[0010] Step S4: the programmable control platform software downloads the robot motion control program to the programmable controller;
[0011] Step S5: The programmable controller is responsible for parsing and executing the program; the motion control driver board transmits the running data to the simulation data communication software according to the program in the programmable controller;
[0012] Step S6: Execute corresponding movements in the industrial robot simulation model.
[0013] As a further improvement, step S1 further includes:
[0014] Step S11: The programmable controller and the PC are connected via an Ethernet network, ensuring that the IP addresses of the programmable controller and the PC are in the same network segment;
[0015] Step S12: the programmable controller is connected to the EtherCAT simulator via the EtherCAT bus; and an EtherCAT data address parameter table is configured in the programmable controller;
[0016] Step S13: The EtherCAT simulator is connected to the PC via a USB serial port.
[0017] As a further improvement, in step S2, the simulation software uses V-Rep software, and the simulation model of the industrial robot is stored in V-Rep.
[0018] As a further improvement, in step S3, the programmable control platform software writes a robot control program to implement a control algorithm for the robot to move along a certain trajectory in the spatial coordinates.
[0019] As a further improvement scheme, in step S4, the programmable control platform software downloads the robot motion control program to the programmable controller via FTP or UDP; the robot motion control code written by the programmable control platform is downloaded to the programmable controller via FTP or UDP.
[0020] As a further improvement, in step S5, the motion control driver board transmits the operating data to the simulation data communication software according to the program in the programmable controller.
[0021] As a further improvement, in step S6, the industrial robot simulation model in V-Rep executes corresponding movements; and during the operation, the operation data is fed back to the communication software in real time, and the communication software then feeds back the data to the programmable controller.
[0022] As a further improvement scheme, the programmable controller is used as an EtherCAT master station, connected to the EtherCAT simulator via the EtherCAT bus, analyzes the robot motion control program, calculates the trajectory interpolation in real time according to the motion control program, and realizes task allocation and motion control;
[0023] The EtherCAT simulator is used as an EtherCAT slave station and is connected to the simulation data communication software through the serial port of the PC.
[0024] As a further improvement, the programmable control platform software has an open programming environment, which can customize robot motion control instructions, monitor programmable controller internal variables in real time, dynamically debug running programs, and implement robot motion control logic through PLC language logic.
[0025] As a further improvement scheme, the simulation data communication software can realize real-time data interaction between the industrial robot simulation software and the EtherCAT simulator; the robot simulation software stores relevant industrial robot simulation models; the robot simulation software has a relevant data communication interface, which can realize the reading and writing of parameters of the robot simulation model through the relevant data communication interface.
[0026] Compared with the prior art, the present invention has the following beneficial effects:
[0027] 1. The present invention provides an open motion control experimental environment, and uses programmable control platform software to write the robot's motion control program. Users can customize the motion control algorithm. The instructions are universal and highly operable, which reduces the complexity of use and development costs.
[0028] 2. The present invention uses a programmable controller on an embedded real-time operating system RT-Linux and uses real-time industrial real-time Ethernet EtherCAT as a transmission protocol to connect the programmable controller to the EtherCAT simulator; ARM is used as the hardware core to ensure the real-time and stability of the motion control simulation experiment. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the structure of an open motion control simulation experimental method for connecting a programmable controller and a virtual industrial robot provided by the present invention;
[0030] Figure 2 A detailed step flow chart of a specific embodiment of an open motion control simulation experimental method for connecting a programmable controller and a virtual industrial robot provided by the present invention;
[0031] The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0032] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0033] like Figure 1 As shown, a schematic diagram of the structure of an open motion control simulation experiment method connecting a programmable controller and a virtual industrial robot includes: a programmable controller, an EtherCAT simulator, a programmable control platform software, simulation data communication software, and an industrial robot simulation software. The programmable controller is connected to the EtherCAT simulator; the EtherCAT simulator is connected to a PC, and the PC includes a programmable control platform software, simulation data communication software, and industrial robot simulation software.
[0034] As the EtherCAT master station, the programmable controller is connected to the EtherCAT simulator to realize task allocation and motion control, analyze the robot motion control program, and calculate the trajectory interpolation in real time according to the motion control instructions. The programmable controller uses real-time industrial Ethernet EtherCAT based on the embedded real-time operating system RT-Linux. The programmable controller uses ARM as the hardware core, which reduces the cost and is easy to use while ensuring the reliability and practicality of the system; the strong real-time kernel RT-Linux provides real-time operating system support and can realize multi-task priority calling. The programmable controller realizes the motion control of the virtual industrial robot by analyzing the robot control program written by the programmable control platform; the programmable control platform downloads the written industrial robot motion control code to the programmable controller, and the programmable controller is responsible for parsing and executing the program. The programmable control platform software can realize the industrial robot forward and inverse solution conversion algorithm, linear motion, point-to-point motion and circular motion interpolation algorithm, etc. The robot control code is written through the programmable control platform software, which is open and operable.
[0035] The EtherCAT simulator acts as an EtherCAT slave; the V-Rep data communication software connects to the EtherCAT simulator via the USB serial port. The EtherCAT simulator is implemented using an ARM board and includes interfaces such as serial port, Ethernet, and I / O interface.
[0036] The simulation data communication software is connected to the EtherCAT simulator through the serial port of the PC, and real-time data interaction between the simulation software and the EtherCAT simulator is realized based on the V-Rep official API.
[0037] The robot simulation software uses V-Rep, and the six-axis industrial robot simulation model is stored in the robot simulation software V-Rep. The robot simulation software has a relevant data communication interface, and can realize the reading and writing of parameters of the robot simulation model through the relevant data communication interface.
[0038] like Figure 2 As shown, a detailed step flow chart of an open motion control simulation experimental method for connecting a programmable controller with a virtual industrial robot is performed according to the following steps:
[0039] Step S1: selection and connection of software and hardware, and configuration of software parameters;
[0040] Wherein, the step S1 further comprises:
[0041] Step S11: The programmable controller and the PC are connected via an Ethernet network, ensuring that the IP addresses of the programmable controller and the PC are in the same network segment;
[0042] Step S12: the programmable controller is connected to the EtherCAT simulator via the EtherCAT bus; and an EtherCAT data address parameter table is configured in the programmable controller.
[0043] Step S13: The EtherCAT simulator is connected to the PC via a USB serial port.
[0044] Step S2: The simulation software uses V-Rep software, and stores the simulation model of the industrial robot in V-Rep;
[0045] Step S3: Use the programmable control platform software to write a robot control program, using the spatial coordinate point (250,0,280) as the starting point and the spatial point (300,0,280) as the circle point with a radius of 50 to draw a circle.
[0046] Step S4: The programmable control platform software downloads the robot motion control program to the programmable controller via FTP or UDP; the robot motion control code written by the programmable control platform is downloaded to the programmable controller via FTP or UDP.
[0047] Step S5: The programmable controller is responsible for parsing and executing the program. The motion control driver board transmits the running data to the simulation data communication software according to the program in the programmable controller;
[0048] Step S6: The industrial robot simulation model in V-Rep executes the corresponding movement; the robot moves to the spatial coordinate point (250,0,280), starts to draw a circle with a radius of 50 and the spatial point (300,0,280), and finally returns to the spatial coordinate point (250,0,280). During the operation, the operation data is fed back to the communication software in real time, and the communication software then feeds back the data to the programmable controller.
[0049] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An open motion control simulation experimental method connecting a programmable controller and a virtual industrial robot, characterized in that: It includes a programmable controller, an EtherCAT simulator, a programmable control platform software, simulation data communication software, and industrial robot simulation software; wherein the programmable controller is connected to the EtherCAT simulator; the EtherCAT simulator is connected to a PC including the programmable control platform software, simulation data communication software, and industrial robot simulation software; and specifically includes the following steps: Step S1: selection and connection of software and hardware, and configuration of software parameters; Step S2: Establish and store a simulation model of the industrial robot; Step S3: Programming the robot control program using the programmable control platform software; Step S4: the programmable control platform software downloads the robot motion control program to the programmable controller; Step S5: The programmable controller is responsible for parsing and executing the program; the motion control driver board transmits the running data to the simulation data communication software according to the program in the programmable controller; Step S6: Execute corresponding movements in the industrial robot simulation model; Step S1 includes: Step S11: The programmable controller and the PC are connected via an Ethernet network, ensuring that the IP addresses of the programmable controller and the PC are in the same network segment; Step S12: the programmable controller is connected to the EtherCAT simulator via the EtherCAT bus; and an EtherCAT data address parameter table is configured in the programmable controller; Step S13: The EtherCAT simulator is connected to the PC via a USB serial port; The programmable controller is used as an EtherCAT master station, connected to the EtherCAT simulator via the EtherCAT bus, analyzes the robot motion control program, calculates trajectory interpolation in real time according to the motion control program, and realizes task allocation and motion control; The EtherCAT simulator is used as an EtherCAT slave station and is connected to the simulation data communication software through the serial port of the PC; The programmable control platform software has an open programming environment, can customize robot motion control instructions, monitor programmable controller internal variables in real time, dynamically debug running programs, and implement robot motion control logic through PLC language logic; The simulation data communication software can realize real-time data interaction between the industrial robot simulation software and the EtherCAT simulator; the robot simulation software stores relevant industrial robot simulation models; the robot simulation software has a relevant data communication interface, and can realize parameter reading and writing of the robot simulation model through the relevant data communication interface.
2. The open motion control simulation experimental method of connecting a programmable controller with a virtual industrial robot according to claim 1 is characterized in that: In step S2, the simulation software uses V-Rep software, and stores the simulation model of the industrial robot in V-Rep.
3. The open motion control simulation experimental method for connecting a programmable controller with a virtual industrial robot according to claim 1 is characterized in that: In step S3, the programmable control platform software writes the robot control program to implement the control algorithm for the robot to move along a certain trajectory in the spatial coordinates.
4. The open motion control simulation experimental method for connecting a programmable controller with a virtual industrial robot according to claim 1, characterized in that: In step S4, the programmable control platform software downloads the robot motion control program to the programmable controller via FTP or UDP; the robot motion control code written by the programmable control platform is downloaded to the programmable controller via FTP or UDP.
5. The open motion control simulation experimental method for connecting a programmable controller with a virtual industrial robot according to claim 1, characterized in that: In step S5, the motion control driver board transmits the operating data to the simulation data communication software according to the program in the programmable controller.
6. The open motion control simulation experimental method for connecting a programmable controller with a virtual industrial robot according to claim 1, characterized in that: In step S6, the industrial robot simulation model in V-Rep executes the corresponding movement; and during the operation, the operation data is fed back to the communication software in real time, and the communication software then feeds back the data to the programmable controller.
Citation Information
Patent Citations
Opening type mechanical arm control method based on Ethernet
CN104786221A
