Software Design of Model Tank Battle System Based on Wireless LAN
- Author
- ZhaoJingFeng
- Advisor
- SuHanSong , LiWenYuan
- School
- Tianjin University
- Major
- Electromagnetic Field and Microwave Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 17
- Citations
- 1
Abstract
This design combines the idea of the real game , with emerging wireless LAN technology , software technology , digital design technology , infrared , ultrasonic positioning designed a new tank battle game . The main task of the design is the use of hardware and software technology to build a gaming platform , players able to complete remote control model tanks forward , backward , left and right turn about rotating turret and fired artillery shells and other actions , and knows about the location of the model tanks , the number of fired artillery shells hit the number . In addition , through wireless LAN technology and ultrasonic positioning system combine to achieve seamless connection of the server and model tanks , technical preparation for the follow-up to the game plot development . The main work of this paper are as follows : (1) select a wireless local area network protocol ( we select 802.11b / g) and networking equipment , to build a center of wireless local area network through a wireless AP (Access Point) . ( 2) written in C # server-side network communications program as well as the joystick driver . ( 3) to grasp the principle of infrared communication and exchanges of fire between using infrared technology simulation model tanks shells . (4 ) mastered ultrasonic positioning principle , and research related algorithms and distribution program , and finally with the software implementation of the algorithm . (5 ) the completion of the overall system installation and commissioning, and make the appropriate adjustments to the debugging results . At present , the main work of this paper have been completed , ultrasonic positioning system error is controlled within ± 10cm , to meet the need for play ; debugging process , we found a number of problems , and corresponding improvement : ( 1 ) network control environment upgrade to make the system more suitable for the game , the various aspects upgrade to 802.11g . (2) In order to meet the requirements of the games creative plot to extend the network control model tanks , programmable function and voice control program design and preliminary experiments .
Table of contents
Abstract 3-4
ABSTRACT 4-7
first chapter 7-12
the
significance 1.1 Virtual numbers game and its development status 7-8
1.1.1 Virtual numbers game raised significance 7
1.1.2 Virtual digital game development status 7-8
1.2 The design of the overall program and the main work 8-11
1.2.1 the design research goals 8
1.2.2 the design of the overall program 8-10
1.2.3 This paper mainly work 10-11
1.3 Solution structure 11-12
the
wireless LAN communication and data transfer in the second chapter 12-28
2.1 Wireless LAN 12-16
2.1.1 Wireless LAN Overview 12-13
2.1.2 IEEE802.11 standard system 13-14
2.1.3 Wireless LAN topology 14-15
2.1.4 build wireless LAN 15-16
2.2 server-side access wireless LAN and network communications programming 16-23
2.2.1 TCP / IP model 16-17
2.2.2 client / server (C / S) mode 17-18
2.2.3 server network applications based on the TCP 18-19
2.2.4 multithreading 19-20
2.2.5 asynchronous work mode 20-21
2.2.6 using the C # language writing network communication program 21-23
2.3 client access wireless LAN 23-28
2.3.1 WiPort composed of client wireless communication module are found; 24-25
2.3.2 use CPLD composed codec chip 25
the
the 2.3.3 serial asynchronous communication protocols 25-27
2.3.4 with CPLD UART 27-28
basic game functions Design and Implementation 28-37
3.1 with joystick control signal input 28-31
3.1.1 joystick control strategy 28-29
3.1.2 DirectInput 29-30
3.1.3 with the C # language joystick support 30-31
3.2 model tank battle system IR shells shooting at the system design and implementation 31-37
3.2.1 shells cross-shot in the WLAN communication system 32
3.2.2 control command transmission 32-33
3.2.3 return signal transmission 33-34
3.2.4 shells cross-shot in the infrared communication system 34-37
Chapter ultrasonic positioning system algorithm and software design 37-52
4.1 ultrasonic positioning principle 37-38
4.2 ultrasonic positioning system overall program 38-41
4.2.1 by polling tanks positioned on every model are found; 38-39
4.2.2 in a time slot in the positioning of a tank 39-41
4.3 ultrasonic positioning algorithm 41-46
4.3.1 Positioning equations solution under certain conditions 41-43
4.3.2 morbid math problem and pathological equations 43-46
4.4 Reference point position selection 46-49
the 4.4.1 reference point position selection principle 46-47
4.4.2 reference point distribution example 47-49
4.5 of ultrasonic positioning system software design 49-52
the
overall installation of the fifth chapter of the model tanks battle system and debugging 52-58
5.1 server-side installation 52-54
5.1.1 server-side structure 52-53
5.1.2 written in C # the model tanks Battle system control program 53-54
5.2 model tanks installed 54-55
5.2.1 model tank structure 54-55
5.2.2 the client codec program written in Verilog 55
5.3 simulated battlefield installation 55-56
5.4 overall function debug 56-57
5.5 Summary and Outlook 57-58
the
References 58-60
the
papers and participate in the research situation description 60-61
Acknowledgements 61
Related dissertations
- Design of Real Environment Digital Games Based on WLAN
- Design of the Space Seat’s Acquisition and Control System
- Control System of Automatic Following Car
- The Design and Implementation of a NEW Generation of Digital Campus Network
- Dual Channel Color Image Fusion System Based on Multi-core DSP
- Study on Color Fusion Algorithm of Low-level-light and Infrared Images
- Research on simulation method of deep space target infrared optical properties
- Design and Implementation of Video Acquisition and Wireless Transmission System Based on Embedded System
- Research on Security of WLAN Based on802.11
- Design and Implementation of WLAN Reliable Multicast Transmission and Its Network Management
- Accurate Indoor Positioning Algorithm Research
- Optical Design of Long Wave Infrared Zoom System
- Research on the Key Technologies of Temperature Field Measurement Based on Thermal Infrared Imager
- Infrared Optical Design for Fire Prevention of Forest Beauty Spot
- Design of a MWIR and LWIR Dual-band/Dual-filed Optical System
- Research and Implementation of Light Strip Wireless Control System
- Development of the Data Acquisition System for the Equipment Operation in Engine Room
- Research on Experimental System for Infrared Sight Reliability
- Underwater acoustic fuze ultrasonic detection method and echo planar location of semi physical simulation system
- Research and Implementation of Comprehensive Error Compensation Technology Non-contact Temperature Measurement