首页 | 本学科首页   官方微博 | 高级检索  
     

基于多线程的动力驱动装置实时测控系统
引用本文:于思源,汪 波,李 阳.基于多线程的动力驱动装置实时测控系统[J].测控技术,2022,41(6):107-111.
作者姓名:于思源  汪 波  李 阳
作者单位:西北工业大学 自动化学院;兰州万里航空机电有限责任公司
摘    要:在襟缝翼动力驱动装置工作性能的测试中,测控系统需同步完成负载模拟、通信控制、电源监测、实验曲线绘制、实验数据存储等多项功能。针对测控系统的多任务、高实时性、大数据量等要求,基于LabWindows/CVI环境,通过使用多线程技术,将任务分配到不同线程中完成。在主线程中运行用户界面,响应用户操作;在异步定时器中执行模拟负载给定、通信控制和实验曲线绘制任务;在线程池中执行电源监测任务。经实验验证,应用多线程技术能够确保测控系统实时显示实验状态、与被测设备之间可靠通信、稳定提供负载、有效控制实验过程,满足了系统的设计要求。

关 键 词:动力驱动装置  LabWindows/CVI  多线程技术  实时测控系统

Measurement and Control System in Real Time for Power Drive Unit Based on Multithreading
Abstract:In the test of the working performance of the flap and slat power drive unit,the measurement and control system needs to simultaneously implement multiple functions,such as load simulation,communication control,power monitoring,experimental curve drawing,experimental data storage and so on.Aiming at the measurement and control system with the requirements of multitask,high real-time performance,and large data volume,based on the LabWindows/CVI environment,tasks are allocated to different threads by using multi-thread technology.The user interface runs in the main thread to respond to user operations.The tasks of simulation load setting,communication control and experimental curve drawing are executed in the asynchronous timer,and power monitoring task is executed in the thread pool.It is verified that the application of multithreading technology can ensure that the measurement and control system can display experimental state in real time,reliably communicate with the testing device,provide stable load,and effectively control the experimental process,which meets the design requirements of the system.
Keywords:
点击此处可从《测控技术》浏览原始摘要信息
点击此处可从《测控技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号