Design and implementation of a USB - based marine radar simulator
- Author
- ShengWei
- Advisor
- ShiChaoJian , HuangZhenMin
- School
- Shanghai Maritime University
- Major
- Traffic Information Engineering \u0026 Control
- Classification
- U666.1 Navigation equipment
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 178
- Citations
- 0
Abstract
The navigational radar installed on the ship is the eye of captain. It is indispensable equipment for safe navigation. Radar equipment mainly shows the following advantages: firstly, it is easy to use and provides a clear display of relatively accurate data of detected targets. Secondly, navigational radar could be used in some unfavorable conditions, and the range is far enough. Therefore, the function of navigational radar is unique in many of the navigational equipments. In this case, IMO have clear regulations on quantity and quality about the radars installed on the ship.STCW definitely order that the officer of watch onboard a ship of more than 500 ton must have the ability to use radar and ARPA to keep the voyage in safe stage. And the ability of manipulation, interpretation and analysis is based on the excise of radar simulators.In this case, the importance of navigational radar in maritime education is very evident. The simulator teaching is strengthened. Recently, there are many units develop the radar signal generator based on AVIMA mode, and it is hard to be in accord with STCW requirements. Base on the PC and in addition with radar interface, a more promising direction of development is to simulate radar display based on graphic mode.With the reason that the technology USB is new and the complication of the protocol, there is no radar simulators based on USB technology. Therefore, the research and design of radar simulator based on USB technology is a value subject.The theoretical part of this paper is based on the USB protocol analysis, and also using the software developed by author to perform the tests and experiments. There are two parts of the research work, software design and hardware design of the system, in this paper. The whole system includes the radar PC connect unit, the radar video transfer unit, transform unit, trigger, bearing, heading mark, log and compass units and the buffer units. In the development process, Protel 99SE is used to design the hardware circuit.The microcontroller embedded programming is base on the KEIL and use C and assembly language for programming, The software developed includes the modules of the software framework, the GPIF transfer part and trigger, bearing, and heading mark generation program.The WDM driver provides the function of connecting the application to the hardware. The radar application program provides the function of communication, radar data transfer and radar interface controlling.The research and development of the system are as well significant to the application in navigational radar simulator and other relative fields.
Table of contents
The first chapter 8-13 1.1 thesis topics and background
8-9
1.2 Introduction to Universal Serial Bus 9-10
1.3 USB2.0 marine radar simulator-based system architecture and design, requirements 10-12
1.4 This article chapter structure 12-13
the second chapter USB2.0 communication protocol analysis 13-31
2.1 USB2.0 data flow model 13-17 the 2.1.1's
view 13-14
2.1 .2 USB traffic the 14-16 2.1.3 Delivery Type
16-17
2.2 USB protocol layer 17-31
2.2.1 bit sequencer 17
2.2.2 synchronization field 17
2.2.3 package field format 17-19
2.2.3.1 package identifies character field 17-18
2.2.3.2 address field 18
2.2.3.3 endpoint fields 18-19
2.2.3.4 frames number field 19
2.2.3.5 data fields 19
2.2.3.6 cyclic redundancy check field 19
2.2.4 package format 19-23
2.2.4.1 marker package 19-20
2.2.4.2 frame package 20
2.2.4.3 packet 20
2.2.4.4 the handshake packet 20-21
2.2.4.5 handshake answer (The ARM996HS processor utilizes Handshake Response) 21-23
2.2.5 affairs format 23-28
2.2.5.1 batch transactions the 23-24
2.2.5.2 Control transmission 24-26
2.2.5.3 interrupt Affairs 26-27
2.2.5.4 synchronization Affairs the 27-28 2.2.6
data switching synchronization and retry 28-31
2.2.6.1 through the establishment marked the beginning of initialized 28
2.2.6.2 is present on the successful data Affairs 28-29
2.2.6.3 damaged, or not to accept the data 29
2.2. 6.4 corrupted ACK handshake 29-31
Chapter system hardware design 31-44
3.1 overall system constitutes 31
3.2 Radar microcomputer part 31
3.3 radar interface part 31-41
3.3.1 USB the radar interface chip selection 31-37
3.3.1.1 FX2, micro processing is 32-33
3.3.1.2 FX2, endpoint 33-34
3.3.1.3 FX2, enumeration and re-enumeration process 34
3.3.1.4 FX2 interrupt mechanism 34-35
3.3.1.5 FX2 interface mode 35-37
3.3.2 Radar Interface. device hardware circuit design 37 - 41
3.3.2.1 USB connection circuit 38
3.3.2.2 5V-3.3V voltage conversion circuit 38-39
3.3.2.3 interface circuit I ~~ 2C, 39
3.3.2.4 serial circuit 39-40
3.3.2.5 keyboard and display circuit nbsp 40-41
3.4 all kinds of signal conversion circuit; 41-44
3.4.1 radar video signal generating circuit 41-43
3.4.2 trigger bow, orientation, compass and odometer instrument signal drive circuit 43 -44
Chapter firmware design 44-51
4.1 peripherals descriptor table 44-45
4.2 USB device requests 45 < br /> 4.3 firmware preparation 45-51
4.3.1 firmware architecture 45-48
4.3.2 GPIF, control procedures 48-50
4.3.3 trigger signal, azimuth signal, bow signal, the meter gauge signals and Luojing Xin No. firmware 50-51
Chapter system driver design 51-58
5.1 WDM driver characteristics 51-53
5.2 USB device driver development 53-57
5.3 USB device driver installation 57 - 58
5.3.1 detects new hardware 57
5.3.2 adds a registry key 57-58
Chapter VI application design 58 - 63
6.1 Basic principle the 58-59 6.2 USB functional test applications
59-60
6.3 Radar Simulator application 60-63 < br /> Chapter VII Conclusions and Prospects 63-64
7.1 the results of research 63
7.2 further study considering 63-64
Acknowledgements 64-65
Reference 65-68
Appendix A system hardware circuit schematic 68-71
Appendix B equipment descriptor table 71-75
Appendix C interrupt vector jump table nbsp 75-77
studying for a master's degree during the research work and papers published; 77
Related dissertations
- FPGA Implementation of USB Interface Based on UPLI Protocol
- Research on Electromagentic Leakage Emanations of USB Keyboard
- A Research and Design of the Secure Storaged USB Device Controller Based on FPGA
- Implementation of USB OHCI Host Stack Based on μC/OS-Ⅱ
- The design of USB2.0 device controller and C code verification
- Flight Control Integrated Test Facility Hardware System Design and Implementation
- The Reasearch and Application of NCUC-Bus and USB Conversion
- Storage USB2.0 interface test system design
- Record playback unit designed based on USB2.0 data
- Design of a USB2.0 Interface Controller
- The Research of Communication and Storage Technology on Distributed Fault Detecting System of the Train
- USB-based parallel multi -channel design frequency tester
- The Research on Multi-Channel Real Signal Acquisition System Based on TMS320C6713 and USB2.0
- Development of the Tramcar Speed Measuring and Recording System Based on USB
- Based on embedded operating system USB device driver development
- The Control Logic and Software Design in Data Acquisition System for a Novel Patch-Clamp
- Design and Implementation of Video Capture in Water Quality Online Monitor System
- Design of Driver for Laser Marking Controller Based on USB
- Circuit Design of Experimental Control and Data Acquisition for Automatic Patch-Clamp System
- USB Based Simulation and Measurement for Excitation System of Synchronous Generator