| The design and development of interface is always involved in the design and exploitation process of some software application system. There are a great deal of problems in traditional interface technology and disposing methods, such as unskillful interface, not convenient to refit be incapable of plug and play, expansibility of interface is bad, data transmission speed is slow, etc. However, the import of USB, as well as the introduction of related criteria, solves the aforementioned problems. USB, which is a new standard interface to connect PC and peripherals, has been widely used in PC peripherals nowadays.To solve the aforementioned problems, according to the criteria of USB and considering the necessity of the development of the USB test system, based on the inherent mechanism of USB communication as well, this thesis carried on the development and design of the USB-based software and hardware of application control systems. Through the design and realization of the USB application control system, the application of design method and development based on USB interface technology of application control system could be mastered furthermore.This thesis first introduced and studied some basic conceptions of the development of USB bus interface. Then, it turned emphasis to interface designing criteria of USB system, protocol layer, USB host, USB device, device driver, etc. It discussed the principle, method and process of USB interface application control system designing. Then, it researched and implemented firmware program designing, device driver designing of USB interface, and the designing and development of the software of the host-based application control system. The designed and actualized application control system can be widely used in automatic control and the control and management of the complicated signals. For example, this system can be used in railway signal lamp control, which makes the signals more stable.This thesis mainly aims at summarizing traditional design methods, thus bring forward a new design method; design a common application control system to support driver and firmware program; design and empolder hardware driver program according to USB protocol conceptions; design and empolder control system for clients to implement material application; and implement a function steady and dependable application control system according to USB protocol and device requirement.The main innovation point of this thesis is to bring forward a method to transform applied USB theory into material application control design after researching and implementing the application control system based on USB interface. Via this method, one can design one control system according to the actual function of the device, thus come up with a systematic design project. Also, this method can provide a universal interface for device terminal. And this universal interface can be used in all real-time systems by only upgrading the firmware system and without changing the hardware circuit. This method is of extensive universality, maintainability and reuse quality. |