Implementation of USB Host Controller at Printing Interface of Intelligent Apparatus
- Author
- LiHuaFeng
- Advisor
- LingHongJiang
- School
- Huazhong University of Science and Technology
- Major
- Materials Processing Engineering
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 135
- Citations
- 0
Abstract
In the design of intelligent instruments, often by the MCU to complete the processing of data, the most commonly used printing equipment in the SCM application system is a micro-printer, for example, the TP series, UP series printers, they are using the parallel port. However, in recent years, with the USB interface to the PC-standard interfaces, low-end printer interface ported from traditional parallel interface to the USB interface. Generic printer equipped with international standard interface, can choose the paper size, the price is much cheaper than micro-printer, gradually growing number of single-chip system using generic printer as a print output device. Commonly used in the generic printer interface parallel port, serial port, and a new USB interface. Parallel port transmission speed, reliable transmission distance is short, transmission the distance lengthened interference increase; serial transmission distance is long but very slow transfer speed; USB interface transmission speed and long distance transmission of advantages, in addition, also has the support plug-and-play, low-power, low-price, so the printer is basically using the USB interface. USB interface printer manufacturer Epson, HP and other companies, they have their own printer control language. Consider both performance and price of the printer of choice, HP company USB interface inkjet printers advantage of HP's Printer Control Language PCL is opening up more to help developers with the PCL language printer required control. Master module of the project to choose microcontroller DSP, ARM and 51 series microcontroller, using DSP or ARM will design the circuit is more complex, and the increase in size of the PCB board, is not conducive to the development of the size of a small portable interface, and use of the 51 series microcontroller design circuit more simple, make smaller PCB board, suitable for the development of portable interfaces; consider from a performance price, SCM is not only good, but price is higher than the DSP, the ARM chip is much cheaper, and then taking into account the existing laboratory equipment conditions, decided to 51 series microcontroller W78E54. The USB master chip manufacturer Philips, Cypress Company, Philips's ISP1161, ISP1362 chip and Cypress SL811HST the chips have USBHost function, fewer data lines but SL811HST occupied, in view of the limited the microcontroller data lines and address lines, using ISP1161 , ISP1362 will be caused by the lack of data lines, decided to adopt SL811HST. In terms of hardware design, optional the USB the master chip SL811HST and 51 series MCU W78E54 design a hardware interface board. In terms of software design, in-depth study of the USB protocol, designed the concrete implementation of the USB protocol software flow chart and the C language source code; developed print control code printer printing process and the PCL print control language learning. The interface board function is to act as a host in a non-PC environment, control USB interface printer, will be required to print the data format is converted to the format of the printer receives. The commissioning of the entire system using the Manley hardware emulator supporting software Medwin to complete. The application of this technology to a large extent reduce the cost of production of the factory equipment, but also allows the user to use the printer more convenient.
Table of contents
Abstract 3-5
ABSTRACT 5-9
1 Introduction 9-14
1.1 Background and Significance 9-11
1.2 Research 11-12
1.3 thesis 12-14
2 USB protocol analysis 14-34
2.1 USB characteristics 14-15
2.2 USB system description 15-17
2.3 USB bus protocol 17-22
The
2.4 system set 22-23
2.5 USB transfer type 23-33
2.6 This chapter Summary 33-34
choice of printer and print control language 34-38
3.1 printer data transfer 34-35
3.2 Printer Language 35-36
3.3 Print control instruction overview 36-37
3.4 HP's new generation of print control language Introduction 37
3.5 This chapter Summary 37-38
research programs designed 38-51
4.1 overall program 38
4.2 front-end interface 38-39
4.3 master module design 39-40
the
the 4.4 USB master controller module design 40-44
4.5 system hardware design schematics 44-49
4.6 system PCB design 49-50
4.7 This chapter Summary 50-51
5 system software design and implementation 51-75
5.1 overall system software design 51
5.2 device firmware design 51-65
5.3 control printing program design 65-74
5.4 This chapter Summary 74-75
6 Conclusion 75-76
Acknowledgements 76-77
the
References 77-80
Appendix 1 degree during the papers 80
Related dissertations
- Vehicle traveling data recorder
- Study of Data Transmission System Based on USB2.0and FPGA
- The research of wireless service information system for subway station
- Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
- The Design of High Speed Data Collection System Base on USB Bus
- The Software Development on Interface System of Imaging Tracker Capability Evaluation System
- Data Acquisition and Signal Processing Based on USB2.0
- The Research and Design of LCD Figure and Character Display System Based on USB
- Research and Design of Data Acquisition System Based on USB
- On-line Signature Data Collection and USB Communication
- Research and Develop Dynamic Signal Analyzer Based on USB2.0
- Research on USB Protocol and USB Interface Drivers
- The Research and Development of Intelligent Flowmeter Based C8051F060
- Realization of intelligent instrument system based on embedded Linux and USB communication
- USB Interface Technology and Application Study
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Optimization of D Company Purchasing Management under the Environment of Supply Chain Management
- The Diagnostic Analysis of H Company Vendor Managed Inventory VMI Management Model Establishment
- Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
- Inventory Control Research in T Company Under the Environment of Supply Chain Management