节点文献

MIC总线控制器CVI软件设计与实现

The Design and Implementation of CVI Software of MIC Bus Controller

【作者】 张艳

【导师】 汪国有;

【作者基本信息】 华中科技大学 , 模式识别与智能系统, 2013, 硕士

【摘要】 随着坦克装甲车等现代化军事装备的发展,人们对车辆系统中信号处理、传输与控制的实时性和可靠性要求越来越高,因而如何提高车辆供配电的质量和可靠性,已成为电气设备管理总线技术研究的重要方向。本文提出利用主从双控制器和双总线冗余MIC芯片研发总线通讯软面板软件,对于将MIC总线应用于实际的车辆控制系统,提高数据通信和控制响应的实时性和可靠性具有重要的实用价值。本文采用CVI开发平台、结构化程序设计方法,设计和实现MIC总线控制器通讯模块软面板软件,简化了测试软件设计,方便了用户操作,提高了测试效率。主要研究工作包括PXI总线设备驱动程序设计和MIC控制器通讯模块测试验证软面板软件。PXI总线设备驱动程序设计采用NI-VISA设计设备驱动程序MIC控制器应用接口API函数,简化了MIC总线控制器通讯模块驱动程序设计;本文采用CVI开发工具设计了MIC总线控制器通讯模块的测试软面板,实现了MIC总线控制器四种工作模式的通讯、控制及容错测试,简化了通讯模块功能与性能测试的软件设计,方便了测试工作;为提高系统响应异步事件的实时性,本文采用了基于函数回调的事件处理机制,处理MIC控制器中断请求,提高了异步事件的处理能力。本文建立了MIC控制器通讯模块测试验证系统,完成了通讯模块功能的全覆盖测试。试验结果表明,我们设计的测试软面板能完成MIC总线四种工作模式下数据通信、主从控制器切换以及双总线冗余等功能测试,设计界面友好,便于操作,可以满足MIC控制器通讯模块数据与控制信息传输及可靠性测试的需要。

【Abstract】 With the development of modern military equipment such as tanks and armoredvehicles, the requirements of reliability and real-time properties of signal processing,transmission and control in vehicle system are getting higher and higher, and thus how toimprove the quality of the vehicle power supply and distribution has become an importantresearch direction in management of electrical equipment bus technology. In this paper, anew type of bus communication software system using master-slave dual controller anddual bus redundancy MIC chip is proposed. It will have a great practical significance toimprove the properties of real-time and reliability of data transmission and control in realcar control system using MIC bus.The communications module soft panel software of MIC bus controller is designedand finally realized by CVI development platform, using structured programming designmethod, which simplifies the design of testing software, makes the users’ operationconvenient and improves the efficiency of testing. The research work mainly includes thePXI bus device driver design and the testing software of the MIC controllercommunication module software.The PXI bus device driver of MIC controller application interface API functions isdesigned using the NI-VISA driver wizard to simplify the design of the MIC buscontroller communications module driver. In this paper, the testing soft panel is designedusing CVI development platform, structured programming and orthogonal experimentaldesign method. It realizes four operating modes of communication, control and faulttolerance test of MIC bus controller, simplifies the design of functionality andperformance testing of communication module and makes the testing more convenient. Inorder to improve real-time asynchronous events response, an event handling mechanism based on callback functions is used to handle the interrupt request of MIC controller,which improves the processing capacity of asynchronous events.In this paper, an MIC controller communication module testing&verification systemis accomplished and complete full coverage testing of communication module features.Experiments show that this testing soft panel can complete all tests of data transportation,master/slave controller switching, dual bus redundancy and other functional tests in fourworking models of the MIC chip in a friendly and convenient way. It can surely match therequests of MIC controller reliability testing and data&control transmission testing.

【关键词】 MIC总线PCI/PXI总线虚拟仪器NI-VISACVI
【Key words】 MIC busPXI/PCI busVirtual instrumentNI-VISACVI
节点文献中: