摘要
橡胶疲劳和弹性体试验广泛应用于铁路、交通行业,用来检验材料或部件的耐久和减振性能。因为所需的力较小,把几个试验夹具都安装到一个主机框架内是很经济和高效的做法,但对计算机软件提出了较高要求:需要并发处理多通道的参数设置、采样、控制、计算和数据存储以及实现各通道之间的平稳切换。尤其是每个通道数据存储需要占用CPU较长时间,为了能够更好地并行工作,数据存储和采样均采用多线程技术,并且随着试验的进行,按照对数方式存储,降低存储量。本软件系统处理多通道的请求,既可以各自独立工作,也可以同时启动试验,实现了允许用户同时启动不同种类试验的功能。最后,从软件架构的角度看,本系统采用了分层设计:第一层建立资源库,第二层分配资源,最后一层使用资源,这很好地解决了多通道软件系统的资源调配,实现了组件化编程。
The test of rubber fatigue and elastomer characterization is widely used to determine the durability and shock absorption of materials or components in the fields of railway and traffic.It is an economic and efficient way that several fixtures are fixed in one loading frame when the force is normally small. In order to meet this requirements,the corresponding software system needs to do more works, such as editing parameters, gathering data, executing control,calculating,saving data and switching from one channel to another stably. Normally data saving will occupy CPU long time,so multithreading technology is used for data acquisition and data saving. In the process of test,raw data will be saved with a logarithmic way to decrease the data size. This software system deals with multiple channel requirement,and each channel can work separately,or the users can start the test of all channels meanwhile. Furthermore,this software system can also start different type of test for each channel at the same time. This system adopts hierarchical design,which solves the problem of resource deploying for multi-channel software system,so the componential-based programming is realized.
作者
张立新
陈德亮
张立竹
Zhang Lixin;Chen Deliang;Zhang Lizhu(Sinotest Equipment Co.,Ltd.Change'hun 130103,Jilin,China)
出处
《工程与试验》
2018年第2期70-73,共4页
Engineering and Test
关键词
多通道
橡胶
疲劳
弹性体
组件化编程
multi-channel
rubber
fatigue
elastomer
componential-based programming