This paper focuses on the design of the GPIB (General Purpose Interface Bus) controller based on USB (Universal Series Bus) and its performance. The cabinet flexible controller is important for PC without external interface and portable computer to construct automatic test system, which is the kernel part of the ATS.With the emphasis of discussing designing the hardware and firmware of the USB-GPIB controller, the dissertation introduces the USB protocol and the GPIB protocol briefly. Based on realizing the function of the controller, the firmware is the core of the whole system, which includes the framework of USB specific and GPIB programming instruction of instrument. USB (Universal Series Bus) is a new industry standard embodies the Plug-Play advantage in deed. GPIB (General Purpose Interface Bus) protocol defined as a standard to build automatic test system has dozens years history and used widely. To construct ATS, the technology is not complex and the price is low as well easy to operate, especially in interconnection of table-based instruments. So making full use of the USB and the GPIB virtues, designing the GPIB controller based on USB is very useful to building an automatic system and can promote the whole performance of portable test system. The work of designing the GPIB controller based on USB separates into two parts, one is the USB interface and the other is the GPIB interface. In the paper chapter one introduces the background and significance about designing the GPIB controller based on USB. Chapter two introduces central idea of the hardware of controller. Chapter three discusses the firmware design of USB-GPIB-B controller. Chapter four introduces how to solidify the software and debug the controller.Chapter five presents a method of developing USB-GPIB-B controller drive. Chapter six summaries the design and bring forwards the mend direction. |