应用科学学报 ›› 2021, Vol. 39 ›› Issue (6): 995-1005.doi: 10.3969/j.issn.0255-8297.2021.06.010

• 控制与系统 • 上一篇    下一篇

DDS技术在虚拟环境底盘测功机试验中的应用

张晓瑞1, 周志立2   

  1. 1. 西安理工大学 机械与精密仪器工程学院, 陕西 西安 710048;
    2. 河南科技大学 车辆与交通工程学院, 河南 洛阳 471003
  • 收稿日期:2020-12-23 发布日期:2021-12-04
  • 通信作者: 周志立,教授,研究方向为车辆新型传动理论与控制技术。E-mail:zzli@haust.edu.cn E-mail:zzli@haust.edu.cn
  • 基金资助:
    国家重点研发计划项目基金(No.2016YFD070100)资助

Application of DDS Technology in Virtual Environment Chassis Dynamometer Test

ZHANG Xiaorui1, ZHOU Zhili2   

  1. 1. Mechine and Precision Instrument Engineering School, Xi'an University of Technology, Xi'an 710048, Shaanxi, China;
    2. Vehicle and Traffic Engineering School, Henan University of Science and Technology, Luoyang 471003, Henan, China
  • Received:2020-12-23 Published:2021-12-04

摘要: 为解决虚拟环境底盘测功机试验系统数据量大且传递频繁,在实时性、数据吞吐量等方面存在局限性问题,将数据分发服务(data distribution service,DDS)技术应用于虚拟环境底盘测功机试验系统。在分析虚拟环境底盘测功机试验原理及数据传输需求的基础上,通过对DDS的技术及应用研究,构建了基于DDS技术的虚拟环境底盘测功机试验系统,建立了各域成员发布订阅模型,注册了数据类型,定义了主题,设计了DDS接口类,实现对DDS接口的封装,解决了试验系统中DDS数据传输关键技术问题。对试验系统的数据传输时延和吞吐量进行了测试分析,结果表明:当数据量达到4 000 kB时,时延为9.4 ms,数据传输吞吐量接近20 Mbit/s,满足车辆底盘测功机虚拟试验系统指标要求。

关键词: 数据分发服务, 底盘测功机, 试验系统, 发布订阅, 接口封装

Abstract: There exist large amount of data and frequent transmission of data in virtual environment chassis dynamometer test system. To deal with the limitations of real-time data transmission and data throughput of the system, a data distribution service (DDS) technology is applied into the virtual environment chassis dynamometer test system. Based on the principle analysis of the virtual environment chassis dynamometer test and data transmission requirements, through the research of DDS technology and application, a virtual environment chassis dynamometer test system based on DDS technology is constructed. The key technical problems of DDS data transmission in the test system are solved through a series of implementations, including establishing subscribing models for different members, registering data types, defining themes, designing DDS interface classes, and encapsulating DDS interfaces. The data transmission delay and throughput of the test system are tested and analyzed, and test results show that the delay is only 9.4 ms and the data transmission throughput can reach 20 Mbit/s for the data volume reaches 4000 kB, which meets the requirements of vehicle chassis dynamometer virtual test system.

Key words: data distribution service (DDS), chassis dynamometer, test system, publish and subscribe, interface package

中图分类号: