基于Unity的机器人系统实时3D数字孪生终端设计
陈有鹏,李会军,王瑞超,高祥,张翔
(五邑大学 智能制造学部,广东 江门 529020)
摘要:以机器人为核心运动组件的数字孪生终端系统,有助于无人工厂安全员对工作现场进行监控,提高了无人化工厂的安全性和可控性。本文采用Unity作为虚拟现实的开发平台,设计了具有离线和在线监控功能的实时3D数字孪生终端,这种设计方法具有一定的开发敏捷性。通过建立机器人运动学模型,分析正逆运动学和路径生成方法,提出了一种机器人脚本的设计模式,实现了机器人的关节运动动画,并采用单独的服务器作为Unity中仿真场景和机器人控制器的通信中心,利用套接字通信和机器人厂商提供的接口实现了仿真场景和机器人间的实时交互。通过数字孪生终端与RobotStudio离线编程环境的交互测试,验证了该设计方案的可行性。
关键词:数字孪生;Unity;实时3D;机器人
中图分类号:TP242.2 文献标志码:A doi:10.3969/j.issn.1006-0316.2022.10.003
文章编号:1006-0316 (2022) 10-0015-08
Design of Real-Time 3D Digital-Twin Terminal for Robot System Based on Unity
CHEN Youpeng,LI Huijun,WANG Ruichao,GAO Xiang,ZHANG Xiang
( Faculty of Intelligent Manufacturing, Wuyi University, Jiangmen 529020, China )
Abstract:A digital twin terminal system is designed with robots as core motion components. The digital twin system can not only help safety administrator to monitor equipment, but also improve the safety and controllability of the unmanned factory. Taking Unity as the virtual reality platform development framework, this paper designed a real-time 3D digital-twin terminal with offline and online monitoring functions, which could also achieve development agility. A design pattern of robot script was proposed through the robot kinematics model with forward and inverse kinematics and path generation method. The joint motion of robot was realized. A server was used as the communication center between the simulation scene in Unity and the robot controllers. The real-time interaction between simulation scene and robots was realized using the socket protocol and the interface provided by robot manufacturers. It was verified to be feasible for the design scheme by the interactive test between the digital twin terminal and the RobotStudio offline programming environment.
Key words:digital-twin;unity;real-time 3D;robot
———————————————
收稿日期:2022-03-17
基金项目:江门市创新科研团队引进资助项目(2018630100090019844);江门市基础与理论科学研究类科技计划项目(2021030102290004572)
作者简介:陈有鹏(1993-),男,安徽宿州人,硕士研究生,主要研究方向为数字孪生、增材制造路径规划,E-mail:836180402@qq.com。*通讯作者:王瑞超(1975-),男,河南临颍人,博士,讲师,主要研究方向为高效焊接技术及数值仿真,E-mail:china66988@163.com。
 

 

设为首页  |  加入收藏    |   免责条款
《机械》杂志版权所有     Copyright©2008-2012 Jixiezazhi.com All Rights Reserved 

  电话:028-85925070    传真:028-85925073    E-mail:jixie@vip.163.com

地址:四川省成都锦江工业开发区墨香路48号   邮编:610063

蜀ICP备08103512号

Powered by PageAdmin CMS