摘要
讨论了电力故障仿真装置的工作原理、硬件设计和控制原理以及Windows操作系统中USB通信驱动程序的工作机制。电力故障仿真装置由个人计算机和模拟量发生器组成,故障仿真程序在个人计算机的计算结果通过USB通信驱动程序传递到模拟量发生器。在Windows操作系统中,USB设备驱动程序根据WDM(视窗驱动程序模型)设计,每个硬件设备至少有两个驱动程序,一个是硬件设备驱动程序,它了解硬件工作细节,负责初始化I/O操作,处理I/O操作完成时所带来的中断事件。另一个是由操作系统提供的驱动程序称为总线驱动程序,它负责管理硬件与计算机的连接。
The principles and hardware design of power system faults simulation test device and the mechanism of USB function driver in Windows used in power system faults simulation test device are discussed. Power system faults simulation test device consists of PC and analog generator in Windows operating system, the calculation results of faults simulation program in PC is sent to analog generator through USB device driver. USB device driver is designed according to the model WDM(Windows Driver Model). In WDM, each hard device has two drivers at least. One of them is called function driver, usually the hard device driver. This driver knows all details of running the hardware, with responsibility for initializing I/O operation, processes the interruption events which happened when the I/O operation is completed, provides a kind of control mode adaptive to devices. Another driver coming from operating system is called bus driver, which takes charge of the connection between hard wares and computer.
出处
《继电器》
CSCD
北大核心
2007年第19期56-59,共4页
Relay