
第 32 卷第 3 期
河 北 科 技 大 学 学 报
Vol.32,No.3
2011 年 6 月 Journal of Hebei University of Science and Technology June 2011
文章编号:1008-1542(2011)03-0238-04
基 于 Matlab Simulink 和 VR 工 具 箱 的
双 足 行 走 仿 真
刘东辉
1
,郑楠楠
1
,杨丽丽
1
,邸树纲
2
(1.河北科技大学电气信息学院,河北石家庄 050018;2.河北高速公路京秦管理处,河北秦皇岛
066001)
摘 要:在 Matlab 环境下,通过 Simulink 和 VR 工具箱完成双足仿生行走的虚拟现实仿真。 利用
V-Realm Builder 2.0 构建出双足行走虚拟三维模型,并通过虚拟现实工具箱的 Simulink 接口将人体
下肢行走控制系统的 Simulink 模型与该三维模型建立关联,从而设置相关参数,通过 Simulink 模块输
出的相应信号控制和操作模型运动。 通过观察分析模型的运动,为相应的机构研究打下基础。
关键词:Simulink;虚拟现实;仿真
中图分类号:TP391.9 文献标志码:A
Simulation of bipedal walking based on
Matlab Simulink and VR toolbox
LIU Dong-hui
1
, ZHENG Nan-nan
1
, YANG Li-li
1
, DI Shu-gang
2
(1.College of Electrical and Information Engineering, Hebei University of Science and Technology,Shijiazhuang Hebei 050018,China;2.
Jing Qin Highway Management Office, Hebei Highway, Qinhuangdao Hebei 066001,China)
Abstract:
Under the environment of Matlab, the simulation of bipedal walking using Simulink and VR toolbox is completed.It uses
V-Realm Builder 2.0 to build a virtual three-dimensional model of bipedal walking, then connects the control system of human bipedal
walking model and the three-dimensional model by the Simulink interface of virtual reality toolbox.Through setting the relevant parame-
ters, it can control and operate the models movement with the output signal of the corresponding Simulink block.The analysis of the
model lays the foundation for the development of the physical prototype.
Key words:
Simulink; virtual reality; simulation
收稿日期:2011-01-20;修回日期:2011-03-12;责任编辑:李 穆
基金项目:国家自然科学基金资助项目(50874035)
作者简介:刘东辉(1971-) ,男,山西晋城人,教授,博士,主要从事医学信号处理、视频监控方面的研究。
目前 Matlab 已成为国际控制界的标准计算软件,在解决算法开发,数值计算、分析,以及图形交互、信号
处理等方面给用户提供了极大的方便
[1-2]
。 Simulink 是 Matlab 的一种可视化工具,是基于 Matlab 框图环境,
用来实现动态仿真分析的软件包,可以提供一个动态系统建模、仿真和综合分析的集成环境。
虚拟现实(virtual reality)是多种技术学科的交集,涉及计算机图形技术、仿真、传感以及人机接口等多种
领域,是人们通过计算机对数据处理进行可视化交互的一种全新方式。 VRML( virtual reality modeling lan-
guage)是其标准的虚拟现实建模语言,通过编写文本性描述构建三维场景。 一个标准的 VRML 文件包括文
件头、注释、节点及其域、时间和路由等
[3]
。 随着 VRML 编辑器的出现,使不太懂得 VRML 语言的人仅仅通
过鼠标、键盘就可以轻松地构建三维模型。 目前常用的 VRML 编辑器为 V-Realm Builder,其版本为 2.0。 用