基于WPF的电机控制系统监控软件的设计与实现
The Design and Implementation of Motor Control System Monitoring Software Based on WPF

作者: 胡崇晗 , 石停停 :东南大学复杂工程系统测量与控制教育部重点实验室,江苏 南京; 叶 桦 :东南大学自动化学院,江苏 南京;

关键词: WPF电机控制系统监控软件多线程数据绑定WPF Motor Control System Monitoring Software Multithreading Data Binding

摘要:
电机控制系统是决定电动汽车性能优劣的核心,为了更加直观方便的观察和分析控制效果的优劣,并方便快捷的实现对控制参数的修改,使控制效果达到最佳,本文设计并实现了基于WPF的电机控制系统监控软件。软件采用C#编程,充分利用了WPF的多线程技术和数据绑定技术,为用户提供了友好的人机界面,实现了对电机控制系统参数的高速实时采样、实时显示、实时保存等功能,保证了对电机控制系统运行状态的实时监控。本文首先给出模块化的设计框架,并在此基础上对各个模块的设计方案进行了具体的介绍,然后详细阐述了软件中用到的多线程和数据绑定这两个关键技术,最后对软件运行效果进行了测试,给出了软件的运行效果图,通过测试,监控软件各部分功能满足设计的要求。

Abstract: Motor control system is the key to determine the performance of electric vehicles. In order to ob-serve and analyze the effects of control more easily and to realize the modification of control pa-rameters more conveniently and quickly so that the optimal control effect can be reached, the pa-per has designed and realized the motor control system monitoring software based on WPF. The software uses C# programming and makes full use of the multithreading technology and data binding technology of WPF, so that it provides a friendly man-machine interface, and realizes the function of high-speed real-time sampling, real-time display and real-time storage of the parame-ters of the motor control system and ensures the real-time monitoring of the running state of the motor control system. Firstly, the paper gives a modular design framework, and on this basis, the detailed design scheme of each module is introduced. Then the two key technologies containing multithreading and data binding are elaborated in detail. Finally, the running effect of the software is tested and the performance of the test is given. Through the test, it proves that all functions of the monitoring software meet the requirements of the design.

文章引用: 胡崇晗 , 叶 桦 , 石停停 (2016) 基于WPF的电机控制系统监控软件的设计与实现。 无线通信, 6, 1-9. doi: 10.12677/HJWC.2016.61001

参考文献

[1] 董海燕. 基于CAN通信的风机变流器监控技术的研究[D]: [硕士学位论文]. 淮南: 安徽理工大学, 2009.

[2] Dong, S.L., Han, J.F., Pan S.H. and Deng, J.F. (2011) Design of Virtual Oscilloscope Based LabVIEW. Communications in Computer and Information Science, 244, 34-41.

[3] 宁歆. 基于LabVIEW的虚拟数字示波器的设计与实现[D]: [硕士学位论文]. 广州: 第一军医大学, 2006.

[4] Wei, J. and Fang, Y. (2009) Design of Oscil-loscope Based on Virtual Instrument Technique. 2nd International Conference on Power Electronics and Intelligent Transportation System, Shenzhen, 19-20 December 2009, 284-287

[5] 李建林, 张仲超. CANBUS总线简介及其在电力系统中的应用[J]. 电力系统及其自动化学报, 2002, 14(5): 69-72.

[6] 王婵娟. 浅谈WPF 架构及其应用[J]. 科技信息, 2011(21): 114-115.

[7] Tan, Y., Wang, J.F., Qiu, C.D. and Li, Z. (2006) The Intelligent Online Monitor System for Battery Based on CANBUS. Proceedings of the 6th World Congress on Intelligent Control and Automation, 1, 5070-5074.

[8] 王荣存, 唐翔, 蔺超文. 基于多线程的太阳能热力监控系统的设计与实现[J]. 测控技术, 2009, 28(8): 79-82.

[9] Tanenbaum, A.S, 著. 现代操作系统[M]. 陈向群, 马洪兵, 译. 北京: 机械工业出版社, 2009.

[10] 里伯提(Liberty, J.). Programming C# [M]. 中文版. 北京: 电子工业出版社, 2010.

[11] 麦克唐纳(MacDonald, M.). WPF编程宝典[M]. 北京: 清华大学出版社, 2013.

分享
Top