检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张亚 王超 胡闯 王军 江娣 刘彦[3] ZHANG Ya;WANG Chao;HU Chuang;WANG Jun;JIANG Di;LIU Yan(Chongqing Innovation Center,Beijing Institute of Technology,Chongqing 401135,China;School of Mechatronical Engineering,Beijing Institute of Technology,Beijing 100081,China;State Key Laboratory of Explosion Science and Safety Protection,Beijing Institute of Technology,Beijing 100081,China)
机构地区:[1]北京理工大学重庆创新中心,重庆401135 [2]北京理工大学机电学院,北京100081 [3]北京理工大学爆炸科学与安全防护全国重点实验室,北京100081
出 处:《计算机工程》2024年第5期272-278,共7页Computer Engineering
摘 要:冲击波超压测试在爆炸威力研究中是一个重要组成部分,便捷的测试设备和方法能提高冲击波测试效率。使用Qt开发框架设计一款多线程上位机软件,同时连接多个设备,解决传统上位机软件与单个设备连接时存在的数据传输效率低、设备接入过程繁琐等问题。该上位机软件主要包含设备管理、参数管理、算法模块和数据管理4个功能模块。通过网络连接,使用自定义应用层协议与设备进行数据传输,对采集的电压信号进行数值转化和滤波,最终形成超压信号并进行数据展示。采用静态电压测试和动态压力测试对上位机软件进行功能评估,结果表明:在静态电压测试中,该上位机软件能准确反映信号发生器幅度为1 V、频率为1000 Hz的正弦信号;在动态压力测试中,3个采集点的第一波峰压力值分别为0.1178 MPa、0.1214 MPa和0.1179 MPa,与理论激波管计算值0.1160 MPa之间的误差均在5%以内。该上位机软件能同时对多个设备进行命令控制和数据传输,简化多台设备的连接操作流程,同时提高数据传输效率,具有一定的应用推广价值。Shock-wave overpressure testing is crucial in explosion power research,and convenient test equipment and methods can improve the efficiency of shock-wave testing.In this study,a multi-threaded upper computer software designed with Qt can connect to multiple devices simultaneously,addressing the issues of low data-transmission efficiency and complex device-connection procedures encountered in traditional single-device upper computer software.The upper computer software includes four primary functional modules:device management,parameter management,algorithm,and data management.This software connects to devices using a custom application-layer protocol over a network,converts and filters collected voltage signals,and ultimately generates overvoltage signals for data display.The functionality of the software is tested via static-voltage and dynamic-pressure tests.In the static-voltage test,the upper computer software accurately reflects the forward sine signal with an amplitude of 1 V and a frequency of 1000 Hz.Based on the dynamic-pressure test results,the peak pressure values of the first wave of three acquisition points are 0.1178 MPa,0.1214 MPa and 0.1179 MPa,and the error is within 5%of the theoretically calculated value of 0.1160 MPa for the shock tube.The test results indicate that the software can simultaneously control and transfer data for multiple devices.This software simplifies the process of connecting multiple devices and improves data-transmission efficiency,and is thus highly applicable and beneficial for widespread use.
关 键 词:冲击波超压 数据采集 上位机软件 多设备 Qt框架
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249