[go: up one dir, main page]

CN107065682A - A kind of robot controller opens the implementation method of bottom position instruction interface - Google Patents

A kind of robot controller opens the implementation method of bottom position instruction interface Download PDF

Info

Publication number
CN107065682A
CN107065682A CN201710351017.5A CN201710351017A CN107065682A CN 107065682 A CN107065682 A CN 107065682A CN 201710351017 A CN201710351017 A CN 201710351017A CN 107065682 A CN107065682 A CN 107065682A
Authority
CN
China
Prior art keywords
joint
sequence
module
joint position
trajectory planning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710351017.5A
Other languages
Chinese (zh)
Other versions
CN107065682B (en
Inventor
陶涛
吴玉强
梅雪松
赵飞
杜志国
李长骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Chaotong Intelligent Manufacturing Technology Research Institute Co ltd
Original Assignee
Xian Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Jiaotong University filed Critical Xian Jiaotong University
Priority to CN201710351017.5A priority Critical patent/CN107065682B/en
Publication of CN107065682A publication Critical patent/CN107065682A/en
Application granted granted Critical
Publication of CN107065682B publication Critical patent/CN107065682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Manipulator (AREA)

Abstract

本发明公开了一种机器人控制器开放底层位置指令接口的实现方法,包括第三方任务空间轨迹规划位姿节点序列数据文件传输;关节空间轨迹规划关节位置节点序列数据文件传输;任务空间轨迹规划位姿节点序列在线传输;关节空间轨迹规划关节位置节点序列在线传输。本发明第三方位置指令从传输方式上来讲可分为在线和离线,从指令意义上来讲可分为任务空间位姿指令和关节空间位置指令。开放式机器人控制器的底层位置指令接口对这些传输方式和指令意义都应当支持。The invention discloses a method for realizing the open bottom position command interface of a robot controller, including the transmission of the sequence data file of the pose node sequence for the trajectory planning of the third-party task space; the transmission of the sequence data file of the joint position node sequence for the trajectory planning of the joint space; The attitude node sequence is transmitted online; the joint space trajectory planning joint position node sequence is transmitted online. The third-party position command of the present invention can be divided into online and offline in terms of transmission mode, and can be divided into task space pose command and joint space position command in terms of command sense. The underlying position command interface of the open robot controller should support these transmission methods and command meanings.

Description

一种机器人控制器开放底层位置指令接口的实现方法A method for realizing the open bottom position command interface of robot controller

技术领域technical field

本发明属于工业机器人控制技术领域,具体涉一种机器人控制器开放底层位置指令接口的实现方法。The invention belongs to the technical field of industrial robot control, and in particular relates to a method for realizing an open bottom position command interface of a robot controller.

背景技术Background technique

工业机器人是制造业皇冠上的明珠,在新一代工业革命中将发挥重要的作用。为了在新一代工业革命中抢占先机,我国提出“智能制造2025”的强国战略,应对产业结构调整、高品质制造和人口老龄化等问题对制造业带来的挑战。特别在我国的广东省、浙江省等制造业发达地区,纷纷推出了“机器换人”计划,实现制造业的换代升级,推动制造业的发展。工业机器人技术面临前所未有的政策利好和市场需求。然而,我国工业机器人市场被KUKA、ABB、FANUC等几大巨头垄断,导致本土机器人产业的发展举步维艰。并且,机器人制造企业为了保护技术和市场利益,工业机器人控制系统极端封闭,不仅增加了企业开发与应用成本,也限制了工业机器人技术的发展。Industrial robots are the jewel in the crown of the manufacturing industry and will play an important role in the new generation of industrial revolution. In order to seize the opportunity in the new generation of industrial revolution, my country has proposed the "Smart Manufacturing 2025" national strategy to deal with the challenges brought by industrial restructuring, high-quality manufacturing and population aging to the manufacturing industry. Especially in my country's Guangdong Province, Zhejiang Province and other manufacturing-developed regions, they have launched "machine replacement" plans to realize the upgrading of the manufacturing industry and promote the development of the manufacturing industry. Industrial robot technology is facing unprecedented policy benefits and market demand. However, my country's industrial robot market is monopolized by several giants such as KUKA, ABB, and FANUC, which has led to difficulties in the development of the local robot industry. Moreover, in order to protect technology and market interests, robot manufacturing enterprises have extremely closed industrial robot control systems, which not only increases the cost of enterprise development and application, but also limits the development of industrial robot technology.

机器人控制器开放底层位置指令接口对实现特殊的运动要求,融合第三方离线自动编程技术,进行运动学、轨迹规划算法性能对比具有重要意义。然而,目前商品化的机器人控制系统均采用封闭结构的专用控制器,一般采用专用计算机作为上层主控计算机,使用专用机器人语言作为离线编程工具,采用专用微处理器,并将控制算法固化在EEPROM中。这种专用系统很难保证对第三方平台提供的位置指令的支持。DSPACE等快速控制原型开发系统,虽然提供了通用的硬件平台,但是软件还是需要从底层搭起,时间成本代价高。所以需要一种开放式的机器人控制器能够提供对底层位置指令的支持。The opening of the bottom position command interface of the robot controller is of great significance to realize the special motion requirements, integrate the third-party offline automatic programming technology, and compare the performance of kinematics and trajectory planning algorithms. However, the current commercialized robot control systems all use a dedicated controller with a closed structure. Generally, a dedicated computer is used as the upper-level main control computer, a dedicated robot language is used as an off-line programming tool, a dedicated microprocessor is used, and the control algorithm is solidified in EEPROM. middle. It is difficult for such a dedicated system to guarantee support for position instructions provided by third-party platforms. Although rapid control prototyping systems such as DSPACE provide a general-purpose hardware platform, the software still needs to be built from the bottom layer, and the time and cost are high. So there is a need for an open robot controller that can provide support for underlying position commands.

发明内容Contents of the invention

为了克服机器人专用控制器的底层位置指令接口封闭的问题,本发明提出了一种机器人控制器开放底层位置指令接口的实现方法。第三方位置指令从传输方式上来讲可分为在线和离线,从指令意义上来讲可分为任务空间位姿指令和关节空间位置指令。开放式机器人控制器的底层位置指令接口对这些传输方式和指令意义都应当支持。In order to overcome the problem that the bottom position command interface of the robot special controller is closed, the present invention proposes a realization method of opening the bottom position command interface of the robot controller. The third-party position command can be divided into online and offline in terms of transmission mode, and can be divided into task space pose command and joint space position command in terms of command sense. The underlying position command interface of the open robot controller should support these transmission methods and command meanings.

为达到上述目的,本发明所述的机器人控制器开放底层位置指令接口的实现方法主要包括以下步骤:In order to achieve the above object, the implementation method of the open bottom position command interface of the robot controller of the present invention mainly includes the following steps:

第三方任务空间轨迹规划位姿节点序列数据文件传输。Third-party mission space trajectory planning pose node sequence data file transfer.

第三方平台将任务空间轨迹规划的位姿节点序列写入存储模块RAM/ROM中,FPGA中的存储器接口模块在控制总线A的作用下将RAM/ROM中的任务空间位姿节点序列读取到高速缓存模块Block RAM中。主CPU设置控制参数,通过FPGA内部总线A将存储在Block RAM中的位姿节点序列读取到主CPU逆运动学求解器中进行逆运动学求解,将位姿节点序列转换成关节转角序列,关节转角序列通过轨迹规划模块的关节空间轨迹规划转换成驱动关节转动的关节位置序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。The third-party platform writes the pose node sequence of the task space trajectory planning into the storage module RAM/ROM, and the memory interface module in the FPGA reads the task space pose node sequence in the RAM/ROM under the action of the control bus A to Cache module Block RAM. The main CPU sets the control parameters, reads the pose node sequence stored in the Block RAM through the FPGA internal bus A to the main CPU inverse kinematics solver for inverse kinematics solving, and converts the pose node sequence into a joint rotation angle sequence, The joint rotation angle sequence is converted into a joint position sequence that drives the joint rotation through the joint space trajectory planning of the trajectory planning module, and is sent to the position control module to realize the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

第三方关节空间轨迹规划关节位置节点序列数据文件传输。Third-party joint space trajectory planning joint position node sequence data file transmission.

第三方平台将关节空间轨迹规划的离散关节位置序列写入存储模块RAM/ROM中,主CPU设置控制参数,通过FPGA中的存储器接口模块将存储在RAM/ROM中的离散关节位置序列读取到高速缓存模块Block RAM中,主CPU通过内部总线A读取高速缓存模块BlockRAM中的离散关节位置序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。The third-party platform writes the discrete joint position sequence of the joint space trajectory planning into the storage module RAM/ROM, the main CPU sets the control parameters, and reads the discrete joint position sequence stored in the RAM/ROM through the memory interface module in the FPGA. In the cache module Block RAM, the main CPU reads the discrete joint position sequence in the cache module BlockRAM through the internal bus A, and sends it to the position control module to realize the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

第三方任务空间轨迹规划位姿节点序列在线传输。The third-party task space trajectory planning pose node sequence is transmitted online.

第三方平台将任务空间轨迹规划的位姿节点序列通过辅CPU写入FPGA的高速缓存模块Block RAM中,主CPU设置控制参数,通过FPGA内部总线A将存储在Block RAM中的位姿节点序列读取到主CPU逆运动学求解器中进行逆运动学求解,将位姿节点序列转换成关节转角序列,关节转角序列通过轨迹规划模块的关节空间轨迹规划转换成驱动关节转动的关节位置序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。The third-party platform writes the pose node sequence of the task space trajectory planning into the FPGA cache module Block RAM through the auxiliary CPU, the main CPU sets the control parameters, and reads the pose node sequence stored in the Block RAM through the FPGA internal bus A. Take it to the inverse kinematics solver of the main CPU to solve the inverse kinematics, convert the pose node sequence into a joint rotation angle sequence, and convert the joint rotation angle sequence into a joint position sequence that drives the joint rotation through the joint space trajectory planning of the trajectory planning module, and Send it to the position control module to realize the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

第三方关节空间轨迹规划关节位置节点序列在线传输。Third-party joint space trajectory planning joint position node sequence online transmission.

第三方平台将关节空间轨迹规划的关节位置节点序列通过辅CPU写入FPGA的高速缓存模块Block RAM中,主CPU通过内部总线A读取高速缓存模块Block RAM中的关节位置节点序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。The third-party platform writes the joint position node sequence of the joint space trajectory planning into the cache module Block RAM of the FPGA through the auxiliary CPU, and the main CPU reads the joint position node sequence in the cache module Block RAM through the internal bus A, and sends it to The position control module realizes the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

本发明具有以下有益效果:The present invention has the following beneficial effects:

第三方任务空间轨迹规划位姿节点序列数据文件传输和第三方关节空间轨迹规划关节位置节点序列数据文件传输采用文件传输方式,将数据传送到控制系统存储器,其优点是可以将其控制过程定义为一种特定的工作功能模块,被主CPU任意调用,用于产品开发,实现特殊运动需求;第三方任务空间轨迹规划位姿节点序列在线传输方式和第三方关节空间轨迹规划关节位置节点序列在线传输方式采用辅CPU联系接收轨迹数据来实现机器人的运动控制,主要用于研究工作,可以实现不同运动学模型、运动求解算法的对比研究,方便快捷。The third-party task space trajectory planning pose node sequence data file transmission and the third-party joint space trajectory planning joint position node sequence data file transmission adopt the file transmission method to transfer the data to the control system memory. The advantage is that its control process can be defined as A specific working function module, which is arbitrarily called by the main CPU, is used for product development and realizes special motion requirements; the third-party task space trajectory planning pose node sequence online transmission method and the third-party joint space trajectory planning joint position node sequence online transmission The method uses the auxiliary CPU to contact and receive trajectory data to realize the motion control of the robot. It is mainly used for research work, and can realize the comparative study of different kinematic models and motion solving algorithms, which is convenient and fast.

附图说明Description of drawings

图1为底层位置指令开放接口控制原理图。Figure 1 is a schematic diagram of the open interface control of the underlying position command.

具体实施方式detailed description

下面结合附图对本发明做进一步详细描述:The present invention is described in further detail below in conjunction with accompanying drawing:

本发明所述的机器人控制器底层位置指令接口开放的实现方法,主要包括以下步骤:The method for realizing the opening of the bottom position command interface of the robot controller according to the present invention mainly includes the following steps:

第三方任务空间轨迹规划位姿节点序列数据文件传输。Third-party mission space trajectory planning pose node sequence data file transfer.

这种模式主要应用在第三方任务空间轨迹规划离线数据的传输中,第三方平台将任务空间轨迹规划的位姿节点序列写入存储模块RAM/ROM中,FPGA中的存储器接口模块在控制总线A的作用下将RAM/ROM中的任务空间位姿节点序列读取到高速缓存模块Block RAM中。主CPU设置控制参数,通过FPGA内部总线A将存储在Block RAM中的位姿节点序列读取到主CPU逆运动学求解器中进行逆运动学求解,将位姿节点序列转换成关节转角序列,关节转角序列通过轨迹规划模块的关节空间轨迹规划转换成驱动关节转动的关节位置序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。This mode is mainly used in the transmission of offline data of third-party task space trajectory planning. The third-party platform writes the pose node sequence of task space trajectory planning into the storage module RAM/ROM, and the memory interface module in the FPGA is connected to the control bus A. Read the task space pose node sequence in RAM/ROM into the cache module Block RAM under the action of . The main CPU sets the control parameters, reads the pose node sequence stored in the Block RAM through the FPGA internal bus A to the main CPU inverse kinematics solver for inverse kinematics solving, and converts the pose node sequence into a joint rotation angle sequence, The joint rotation angle sequence is converted into a joint position sequence that drives the joint rotation through the joint space trajectory planning of the trajectory planning module, and is sent to the position control module to realize the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

第三方关节空间轨迹规划关节位置节点序列数据文件传输。Third-party joint space trajectory planning joint position node sequence data file transmission.

这种模式主要应用在第三方关节空间轨迹规划离线数据的传输中。第三方平台将关节空间轨迹规划的离散关节位置序列写入存储模块RAM/ROM中,主CPU设置控制参数,通过FPGA中的存储器接口模块将存储在RAM/ROM中的离散关节位置序列读取到高速缓存模块Block RAM中,主CPU通过内部总线A读取高速缓存模块Block RAM中的离散关节位置序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。This mode is mainly used in the transmission of offline data for third-party joint space trajectory planning. The third-party platform writes the discrete joint position sequence of the joint space trajectory planning into the storage module RAM/ROM, the main CPU sets the control parameters, and reads the discrete joint position sequence stored in the RAM/ROM through the memory interface module in the FPGA. In the cache module Block RAM, the main CPU reads the discrete joint position sequence in the cache module Block RAM through the internal bus A, and sends it to the position control module to realize the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

第三方任务空间轨迹规划位姿节点序列在线传输。The third-party task space trajectory planning pose node sequence is transmitted online.

这种模式主要应用在第三方任务空间轨迹规划在线数据的传输中。第三方平台将任务空间轨迹规划的位姿节点序列通过辅CPU写入FPGA的高速缓存模块Block RAM中,主CPU设置控制参数,通过FPGA内部总线A将存储在Block RAM中的位姿节点序列读取到主CPU逆运动学求解器中进行逆运动学求解,将位姿节点序列转换成关节转角序列,关节转角序列通过轨迹规划模块的关节空间轨迹规划转换成驱动关节转动的关节位置序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。This mode is mainly used in the transmission of online data for third-party mission space trajectory planning. The third-party platform writes the pose node sequence of the task space trajectory planning into the FPGA cache module Block RAM through the auxiliary CPU, the main CPU sets the control parameters, and reads the pose node sequence stored in the Block RAM through the FPGA internal bus A. Take it to the inverse kinematics solver of the main CPU to solve the inverse kinematics, convert the pose node sequence into a joint rotation angle sequence, and convert the joint rotation angle sequence into a joint position sequence that drives the joint rotation through the joint space trajectory planning of the trajectory planning module, and Send it to the position control module to realize the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

第三方关节空间轨迹规划关节位置节点序列在线传输。Third-party joint space trajectory planning joint position node sequence online transmission.

这种模式主要应用在第三方关节空间轨迹规划在线数据的传输中。第三方平台将关节空间轨迹规划的关节位置节点序列通过辅CPU写入FPGA的高速缓存模块Block RAM中,主CPU通过内部总线A读取高速缓存模块Block RAM中的关节位置节点序列,并传送给位置控制模块实现各关节的运动控制。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。This mode is mainly used in the transmission of online data for third-party joint space trajectory planning. The third-party platform writes the joint position node sequence of the joint space trajectory planning into the cache module Block RAM of the FPGA through the auxiliary CPU, and the main CPU reads the joint position node sequence in the cache module Block RAM through the internal bus A, and sends it to The position control module realizes the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

实施例一Embodiment one

参考图1,以第三方任务空间轨迹规划位姿节点序列数据文件传输为例进行说明。在第三方平台中进行任务空间轨迹规划后,将位姿节点序列数据文件保存为.bin格式的文件,通过网口将轨迹数据文件下载到RAM/ROM块中的轨迹数据指定存储段中。主CPU通过设置DMA控制器的寄存器相应位为1,使DMA控制器使能。DMA控制器从存储在RAM/ROM块中指定存储位置处读取位姿节点序列数据到高速缓存Block RAM中,主CPU通过内部总线控制器A读取高速缓存Block RAM中的位姿节点序列,并发送给主CPU运动学逆解模块,将求解的各关节转角序列发送给位置控制模块,位置控制模块通过PD控制实现关节轨迹跟踪。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。Referring to Figure 1, the transmission of the sequence data file of the pose node sequence in the third-party task space trajectory planning is taken as an example for illustration. After the mission space trajectory planning is performed on the third-party platform, the pose node sequence data file is saved as a .bin format file, and the trajectory data file is downloaded to the specified storage segment of the trajectory data in the RAM/ROM block through the network port. The main CPU enables the DMA controller by setting the corresponding bit of the register of the DMA controller as 1. The DMA controller reads the pose node sequence data from the specified storage location stored in the RAM/ROM block to the cache Block RAM, and the main CPU reads the pose node sequence in the cache Block RAM through the internal bus controller A, And send it to the main CPU kinematics inverse solution module, and send the solved joint rotation angle sequence to the position control module, and the position control module realizes joint trajectory tracking through PD control. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

实施例二Embodiment two

参考图1,以第三方关节空间轨迹规划关节位置节点序列在线传输方式为例进行说明。第三方平台将关节空间轨迹规划的关节位置节点序列通过以太网接口和UDP协议以十六进制的格式在线发送给辅CPU,通信速度为1kHz。辅CPU接收到一帧数据就将其写入高速缓存模块Block RAM中,起始地址为0x0000。主CPU通过内部总线A读取高速缓存模块Block RAM中的关节位置节点序列,并传送给位置控制模块,位置控制模块通过PD控制实现关节轨迹跟踪。同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。Referring to Fig. 1, the online transmission method of the joint position node sequence of the third-party joint space trajectory planning is taken as an example for illustration. The third-party platform sends the joint position node sequence of joint space trajectory planning to the auxiliary CPU online in hexadecimal format through the Ethernet interface and UDP protocol, and the communication speed is 1kHz. When the auxiliary CPU receives a frame of data, it writes it into the block RAM of the cache module, and the starting address is 0x0000. The main CPU reads the joint position node sequence in the cache module Block RAM through the internal bus A, and transmits it to the position control module, and the position control module realizes joint trajectory tracking through PD control. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.

Claims (5)

1.一种机器人控制器开放底层位置指令接口的实现方法,其特征在于,包括以下步骤:1. a kind of realization method that robot controller opens bottom position command interface, is characterized in that, comprises the following steps: 1)第三方任务空间轨迹规划位姿节点序列数据文件传输;1) Third-party task space trajectory planning pose node sequence data file transmission; 2)第三方关节空间轨迹规划关节位置节点序列数据文件传输;2) Third-party joint space trajectory planning joint position node sequence data file transmission; 3)第三方任务空间轨迹规划位姿节点序列在线传输;3) Online transmission of the third-party task space trajectory planning pose node sequence; 4)第三方关节空间轨迹规划关节位置节点序列在线传输。4) Third-party joint space trajectory planning joint position node sequence online transmission. 2.根据权利要求1所述的一种机器人控制器开放底层位置指令接口的实现方法,其特征在于,2. a kind of robot controller according to claim 1 opens the implementation method of bottom position instruction interface, it is characterized in that, 步骤1)中,第三方平台将任务空间轨迹规划的位姿节点序列写入存储模块RAM/ROM中,FPGA中的存储器接口模块在控制总线A的作用下将RAM/ROM中的任务空间位姿节点序列读取到高速缓存模块Block RAM中,主CPU设置控制参数,通过FPGA内部总线A将存储在BlockRAM中的位姿节点序列读取到主CPU逆运动学求解器中进行逆运动学求解,将位姿节点序列转换成关节转角序列,关节转角序列通过轨迹规划模块的关节空间轨迹规划转换成驱动关节转动的关节位置序列,并传送给位置控制模块实现各关节的运动控制,同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。In step 1), the third-party platform writes the pose node sequence of the task space trajectory planning into the storage module RAM/ROM, and the memory interface module in the FPGA writes the task space pose in RAM/ROM under the action of the control bus A The node sequence is read into the cache module Block RAM, the main CPU sets the control parameters, and the pose node sequence stored in the BlockRAM is read through the FPGA internal bus A to the main CPU inverse kinematics solver for inverse kinematics solution. The pose node sequence is converted into a joint rotation angle sequence, and the joint rotation angle sequence is converted into a joint position sequence that drives the joint rotation through the joint space trajectory planning of the trajectory planning module, and is sent to the position control module to realize the motion control of each joint. At the same time, the main CPU passes The FPGA internal bus A writes the joint position sequence into the joint position control command module, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B. 3.根据权利要求1所述的一种机器人控制器开放底层位置指令接口的实现方法,其特征在于,所述的步骤2),第三方关节空间轨迹规划关节位置节点序列数据文件传输;3. a kind of robot controller according to claim 1 opens the implementation method of bottom position command interface, it is characterized in that, described step 2), the third party joint space trajectory planning joint position node sequence data file transmission; 第三方平台将关节空间轨迹规划的离散关节位置序列写入存储模块RAM/ROM中,主CPU设置控制参数,通过FPGA中的存储器接口模块将存储在RAM/ROM中的离散关节位置序列读取到高速缓存模块Block RAM中,主CPU通过内部总线A读取高速缓存模块Block RAM中的离散关节位置序列,并传送给位置控制模块实现各关节的运动控制,同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。The third-party platform writes the discrete joint position sequence of the joint space trajectory planning into the storage module RAM/ROM, the main CPU sets the control parameters, and reads the discrete joint position sequence stored in the RAM/ROM through the memory interface module in the FPGA. In the cache module Block RAM, the main CPU reads the discrete joint position sequence in the cache module Block RAM through the internal bus A, and sends it to the position control module to realize the motion control of each joint. The position sequence is written into the joint position control command module, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B. 4.根据权利要求1所述的一种机器人控制器开放底层位置指令接口的实现方法,其特征在于,所述的步骤3),第三方任务空间轨迹规划位姿节点序列在线传输:第三方平台将任务空间轨迹规划的位姿节点序列通过辅CPU写入FPGA的高速缓存模块Block RAM中,主CPU设置控制参数,通过FPGA内部总线A将存储在Block RAM中的位姿节点序列读取到主CPU逆运动学求解器中进行逆运动学求解,将位姿节点序列转换成关节转角序列,关节转角序列通过轨迹规划模块的关节空间轨迹规划转换成驱动关节转动的关节位置序列,并传送给位置控制模块实现各关节的运动控制,同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。4. the realization method of a kind of robot controller open bottom position command interface according to claim 1, it is characterized in that, described step 3), third-party task space trajectory planning pose node sequence online transmission: third-party platform The pose node sequence of the task space trajectory planning is written into the FPGA cache module Block RAM through the auxiliary CPU, the main CPU sets the control parameters, and the pose node sequence stored in the Block RAM is read to the main CPU through the internal bus A of the FPGA. The inverse kinematics solution is performed in the CPU inverse kinematics solver, and the pose node sequence is converted into a joint rotation angle sequence. The joint rotation angle sequence is converted into a joint position sequence that drives the joint rotation through the joint space trajectory planning of the trajectory planning module, and is transmitted to the position The control module realizes the motion control of each joint. At the same time, the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position from the joint position control command module through the internal bus B. Control instruction. 5.根据权利要求1所述的一种机器人控制器开放底层位置指令接口的实现方法,其特征在于,所述的步骤4)第三方关节空间轨迹规划关节位置节点序列在线传输:第三方平台将关节空间轨迹规划的关节位置节点序列通过辅CPU写入FPGA的高速缓存模块Block RAM中,主CPU通过内部总线A读取高速缓存模块Block RAM中的关节位置节点序列,并传送给位置控制模块实现各关节的运动控制,同时主CPU通过FPGA内部总线A将关节位置序列写入关节位置控制指令模块,辅CPU可通过内部总线B从关节位置控制指令模块中读取到当前的关节位置控制指令。5. the realization method of a kind of robot controller open bottom position instruction interface according to claim 1, it is characterized in that, described step 4) third-party joint space trajectory planning joint position node sequence online transmission: third-party platform will The joint position node sequence of the joint space trajectory planning is written into the cache module Block RAM of the FPGA through the auxiliary CPU, and the main CPU reads the joint position node sequence in the cache module Block RAM through the internal bus A, and transmits it to the position control module for realization Motion control of each joint, while the main CPU writes the joint position sequence into the joint position control command module through the FPGA internal bus A, and the auxiliary CPU can read the current joint position control command from the joint position control command module through the internal bus B.
CN201710351017.5A 2017-05-17 2017-05-17 A realization method of robot controller opening bottom position command interface Active CN107065682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710351017.5A CN107065682B (en) 2017-05-17 2017-05-17 A realization method of robot controller opening bottom position command interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710351017.5A CN107065682B (en) 2017-05-17 2017-05-17 A realization method of robot controller opening bottom position command interface

Publications (2)

Publication Number Publication Date
CN107065682A true CN107065682A (en) 2017-08-18
CN107065682B CN107065682B (en) 2019-06-11

Family

ID=59609698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710351017.5A Active CN107065682B (en) 2017-05-17 2017-05-17 A realization method of robot controller opening bottom position command interface

Country Status (1)

Country Link
CN (1) CN107065682B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4868472A (en) * 1986-11-20 1989-09-19 Unimation Inc. Communication interface for multi-microprocessor servo control in a multi-axis robot control system
CN1344600A (en) * 2000-09-30 2002-04-17 中国科学院自动化研究所 Opened industrial robot controlling platform
CN1395521A (en) * 2000-10-11 2003-02-05 索尼公司 Robot control system and method for installing software for robot control
CN1808319A (en) * 2005-12-13 2006-07-26 天津大学 Parallel connection equipment opening type motion control card based on two-stage DSP and control method thereof
CN103823467A (en) * 2012-05-23 2014-05-28 浙江大学 Control method of industrial robot demonstration planner with motion planning function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4868472A (en) * 1986-11-20 1989-09-19 Unimation Inc. Communication interface for multi-microprocessor servo control in a multi-axis robot control system
CN1344600A (en) * 2000-09-30 2002-04-17 中国科学院自动化研究所 Opened industrial robot controlling platform
CN1395521A (en) * 2000-10-11 2003-02-05 索尼公司 Robot control system and method for installing software for robot control
CN1808319A (en) * 2005-12-13 2006-07-26 天津大学 Parallel connection equipment opening type motion control card based on two-stage DSP and control method thereof
CN103823467A (en) * 2012-05-23 2014-05-28 浙江大学 Control method of industrial robot demonstration planner with motion planning function

Also Published As

Publication number Publication date
CN107065682B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
Xu Machine Tool 4.0 for the new era of manufacturing
CN104786221B (en) A kind of open method for controlling robot based on Ethernet
CN103955168B (en) Robot hole processing off-line programing method based on DELMIA emulation
CN106444607B (en) Polyisocyanate structure industrial machine personal data communicates and control method
CN113021356B (en) Robot track planning method and system for ingot trimming process
CN111381815A (en) Off-line programming post-code conversion method and dual-robot collaborative intelligent manufacturing system and method based on the method
CN107838922A (en) A kind of robot exempts from the method for repeating teaching
CN114347020B (en) Motion control method, motion control device and robot
CN104615087A (en) Bus type motion controller
JP5291727B2 (en) Program conversion module and program conversion method for multi-axis synchronous machine
CN115213905B (en) Method, system and robot for redundant manipulator arm pose control
CN105128010B (en) A kind of robot distributed control system of SCARA and its control method
JP2014174616A (en) Fa system and control device
CN114367980B (en) Closed robot speed compensation tracking control method based on definite learning, storage medium and robot
CN111775145A (en) A control system for a series-parallel robot
JP2018153883A (en) Control system, controller and control method
CN104290096A (en) CANopen based mechanical arm joint motor control method and system
US20220083027A1 (en) Industrial network emulation
CN103064919B (en) Method and device for preserving configuration parameters in business system
Rea Minango et al. Combining the STEP-NC standard and forward and inverse kinematics methods for generating manufacturing tool paths for serial and hybrid robots
CN113967910B (en) A human-machine collaborative control method and system based on augmented reality and digital twins
CN107065682A (en) A kind of robot controller opens the implementation method of bottom position instruction interface
CN205008151U (en) Automatic spraying and wire changing system of bicycle frame
CN104267665B (en) A kind of method for interchanging data of Visual intelligent digital control system
CN118809553A (en) A skill learning method and system taking into account the robot's terminal posture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210506

Address after: No.28, Xianning West Road, Beilin District, Xi'an, Shaanxi 710000

Patentee after: Zhao Fei

Address before: Beilin District Xianning West Road 710049, Shaanxi city of Xi'an province No. 28

Patentee before: XI'AN JIAOTONG University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210607

Address after: Room 1807, building 3, 311 Yanxin Road, Huishan Economic Development Zone, Wuxi City, Jiangsu Province, 214000

Patentee after: Wuxi Chaotong Intelligent Manufacturing Technology Research Institute Co.,Ltd.

Address before: No.28, Xianning West Road, Beilin District, Xi'an, Shaanxi 710000

Patentee before: Zhao Fei