1 / 55

Design of Soccer-robot Wireless Communication System Graduation Project (II)

Design of Soccer-robot Wireless Communication System Graduation Project (II). Advisor: Dr. Mohammed Abdel-Hafez Done by: Ahmed Salem Al- Kaabi 200504358 Ghanem Salem Al- Shebli 200503598 Saeed Salem Al- Kaabi 200504351 Saad Abdullah Al- Ameri 200504331. Presentation Contents.

sian
Download Presentation

Design of Soccer-robot Wireless Communication System Graduation Project (II)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Design of Soccer-robot Wireless Communication SystemGraduation Project (II) Advisor: Dr. Mohammed Abdel-Hafez Done by: Ahmed Salem Al-Kaabi200504358 Ghanem Salem Al-Shebli 200503598 SaeedSalem Al-Kaabi 200504351 SaadAbdullah Al-Ameri200504331

  2. Presentation Contents • Introduction • Problem Statement • Objectives • Outcomes and Deliverables • Design Wireless Communication System • Communication Protocol • Host Computer Software • Microcontroller Programming • Station Design • Final Design • System Demonstration

  3. Introduction

  4. Problem Statement • UAEU intends to construct a robots team to participate on RoboCup competition • Fully autonomous soccer-robot team: • Computer vision • Machine learning • Communication systems • Team strategies

  5. Objective • Design a reliable and efficient wireless communication system. • protocol of communication systems will be designed.

  6. Outcomes and Deliverables • Design • A wireless communication system • Communication protocol • Software programs • Stations

  7. Full explanation of the design process • Specification • Schematics of different parts of the design

  8. DesignWireless communication system

  9. Alternatives

  10. Final Design

  11. Design Communication Protocol

  12. Communication Protocol Design • A communication protocol is a set of rules that govern how two or more communicating parties are interacting. • Defining types of messages • Defining the action that should be taken when a message is received.

  13. Header Destination Source Frame Type Trailer Header Destination Source Frame Type Data Trailer Communication Protocol Design • The frames are designed to be variable frames. • The header will define the beginning of the frame and the trailer will define the end. • Frame Structure:

  14. 4 0 1353253K D ? S Communication Protocol • Frame Types: • Request Frame: from the host to the stations. • Acknowledgement Frame: from the stations to the host. • Data Frame (commands): from the host to the stations. • The data will be: Distance, Speed, Angle and Kick. • Example:Distance: 13 cm. Speed: 53 cm/s. Angle: 253 Deg Kick

  15. Protocol Design: Approach 1

  16. Protocol Design: Approach 2

  17. Host Software

  18. Host Software • The host software is a program that can send and receive frames from the stations. • The link is established by opening the serial port through the host software. • The host software was used: • To generate and sent the commands to the stations (Data frame). • To test the system • Delay test. • Protocol test.

  19. Host Software Structure

  20. Software Programming Design • Program planning: • Analyze • Design • Choose the interface (GUI) • Code • Test and debug • Complete the documentation

  21. Analyzing Stage

  22. Login Windows

  23. Main Window

  24. Game Server

  25. Communication settingsPort Settings With SerialPort1 .PortName = combo_port.Text .BaudRate = Val(combo_buadrate.Text) .Parity = combo_handshaking.SelectedIndex .DataBits = Val(combo_databits.Text) .StopBits = combo_stopbits.SelectedIndex .Handshake = combo_handshaking.SelectedIndex .RtsEnable = False .ReceivedBytesThreshold = 1 .NewLine = vbCr End With

  26. Game Server-Initialization

  27. Initialization process • The initialization means that the program will try to insure that the station can receive data packets. • This will be done by sending request packet for each station and wait for its acknowledgment. • The user will be able to send commands either manually or automatically after the initialization.

  28. Initialization Stage

  29. Automatic Control • Automatic control is a random generation for the commands that should be sent to the stations. • The program will generate the commands and it will send them to the stations.

  30. Automatic Control

  31. Manual Control

  32. Testing programs • Testing programs are used to test the performance of the system. • There are 2 types of tests: • Delay Test • Protocol Test

  33. Delay Test • The goal: To measure the round trip time between the host computer and the stations. • The Idea: • To send request frame and wait to receive the acknowledgement. • How this can be done ?! Using GetTickCount function. 2 values should be taken.

  34. Protocol Testing • In order to choose the protocol design this program was created. • Both approaches were tested.

  35. Microcontroller Programming

  36. What is a Microcontroller • A Computer-on-a-Chip • CPU (microprocessor) • Read/Write memory • Flash memory • Read Only Memory (ROM) • Analog to digital converts • Serial Communication • …

  37. Programming Microcontroller • Microcontroller programmed to do two step: • First Step : Select number of station • Second step: Received frame • Part one: Request frame  sending Acknowledgment • Part two: Data frame  Display Data in LCD

  38. First step: select # of station 1

  39. Second step: part 1 Sending

  40. Second step: part 2 LCD Display Data

  41. Flow chart

  42. Problem Faced in Microcontroller • Initialization LCD • Microcontroller does not work with 20 MHz • Reading from three switches

  43. Station Design

  44. Design Specifications • Represents the commands received • Display the station number • Simple Design

  45. The Proposed Design • Station Design consists of: • RF Module Board. • MCU Prototype Board • Seven-Segment • LCD Screen • Power Unit

  46. Steps of Design • The station was divided in to units • Each unit was studied and tested • Implement the design on the breadboard.

  47. Steps of Design • Do the PCB design for the 7-segment circuit • Arrange the units to be as one station. • Repeat the procedure for the other stations

  48. Schematic Design

More Related