1 / 21

Preliminary Design Review

Preliminary Design Review. By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang. Introduction. Goal: To allow students to learn basic programming concepts by controlling movements of a toy tank via a set of instructions. Overview. Parts List Design Scheme Modules:

stan
Download Presentation

Preliminary Design Review

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. Preliminary Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang

  2. Introduction Goal: To allow students to learn basic programming concepts by controlling movements of a toy tank via a set of instructions.

  3. Overview Parts List Design Scheme Modules: Electronic Compass Radio Frequency Module Oscillator Sonar Ranging Module XSV-300 Remote Control User Interface Design Issues Current Status

  4. Parts List

  5. Design Scheme

  6. Electronic Compass Vector 2X • Purpose: • to measure the rotation angle of the Etank • Requirements: • Power consumption: 5V (+/- 0.25V) • Maximum data frequency: 1 MHz • Data interpretation in binary mode: 128 + 32 + 8 + 4 = 172 °

  7. Compass – PIC Interface Compass: • Operates in slave mode • Performs I/O in binary format PIC: • Provides the clock for the compass • Receive interrupt from EOC • Reads data from SDO • Resets compass • Polls data periodically from the compass

  8. RF Transceiver • Purpose: • To provide a communication channel between the remote and the central component of the Etank • Requirements: • Power Consumption: 2.7V - 3.5V • Operation Frequency: Internal clock with 916.5 MHz radio frequency • RS232 serial communication port with 19200 bps • RF Packet format:

  9. RF Transceiver – PIC Interface RF Transceiver: • Communicates using RS232 protocol with peripheral devices (PIC and XSV-300) PIC: • Periodically retrieves data from the compass and the sonar • Encodes them separately into specific format that RF requires • Sends them to RF for transmission

  10. Oscillator – PIC Interface Oscillator: • Provides the clock for PIC (20 MHz)

  11. Sonar Ranging Kit • Purpose: • To measure the distance of objects from 6 inches to 35 feet away. The accuracy is +/-1% of the reading over the entire range • Components: • Polaroid 6500 Ranging Module • Transducer • Cable • Requirement: • Power Consumption: 4.5V – 6.8V • Operation Frequency: 49.4 KHz

  12. Sonar-PIC Interface Sonar: • Operates in single-echo mode. • Transmits sound wave and gets the echo reflected off of the border. PIC: • Triggers the input signal of the sonar module and turn on its timer at the same time. • Receives the interrupt from sonar and turns off the timer. • Calculates the distance of Etank to the border using the response delay.

  13. XSV-300 board • Purpose: • Central component that arbitrates the system • Requirements: • Power Consumption: 9.0V • Operation Frequency: 25 MHz • I/O Pin voltage level: 5.0 V

  14. XSV-300 Operation • Receives a destination from the user as a (command, units) pair • A command can be move forward, turn right or turn left. • Destination units are specified as turn angles or distance units. • When a new destination is received, XSV will decode data from Etank and determine how to control the tank. • If it was commanded to move forward, the units are interpreted as distance units • If it was commanded to turn, the units are interpreted as turning angles. • Receives (distance, direction) pair information from Etank at a constant rate.

  15. RF Transceiver – XSV-300 Board XSV-300 board: • Receives data from Etank through the RF serial port. • Serial Signal is +/- 12 V, but XSV operates at 0-5 V • To make the serial signal operate in the positive range, we use the signal to switch a transistor which is connected across the remote control’s 9V battery. • We reduce the 9V to 5V with a voltage divider.

  16. PC -- XSV-300 -- Remote Control Interface PC: • Sends to XSV-300 board one set of instructions at a time: • Forward, distance • Backward, distance • Left, angle • Right, angle XSV-300 board: • Processes the data received from the remote component • Controls the remote control using four pins

  17. Etank’s Remote Control Channels • Channels: • Four output bits control the channel • Each bit controls a channel as shown below:

  18. User Interface • Will be a GUI application that allows a user to send instruction to Etank • Will be programmed in C++ • Will communicate through the parallel port using the DLportIO.lib and DLportIO.dll interfaces, which we studied in CSE467

  19. Design Issue • Tank: • The compass determines position at the rate of 5Hz, which is too slow comparing to the speed of the tank • Between XSV-300 board and RF Transceiver: • A glitch appears in the beginning of the RF packet

  20. Current Status Completed: To be completed:

  21. Summary • Parts list • Implementation • Remote components • Electronic Compass • Radio Frequency Module • Oscillator • Sonar Ranging Module • Central Components • XSV-300 • Remote Control • User Interface • Design Issues • Current Status

More Related