1 / 37

Stereo Range Finding Project Based on Motorola Dragonball Processor

Dive into the critical design review of a project focusing on stereo range finding using a Motorola Dragonball processor. Explore detailed hardware components, microcontroller features, circuit diagrams, and software functionalities. From absolute minimal functionality to above-the-call-of-duty features, this project aims to achieve innovative results with embedded Linux integration, touchscreen functionality, and more. Check out key milestones, division of labor, parts list, costs, and conclusions for a comprehensive overview.

pedith
Download Presentation

Stereo Range Finding Project Based on Motorola Dragonball Processor

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. Project Z: Stereo Range Finding Based on Motorola Dragonball ProcessorCritical Design Review (CDR) Zach Allen Chris Chan Ben Wolpoff Shane Zinner

  2. Quick Overview Baseline vs Desired Functionality Block Diagram Hardware Microcontroller: Features and Mechanical Data Graphics Chip Flash & SDRAM Peripherals LCDs & Cameras Circuit Diagrams Memory Map Timing Diagrams Routed PCB Software Boot monitor LCD Drivers Range-finding RTOS Schedule Comprehensive Milestones Division of Labor/Responsibilities Parts Parts List Cost Conclusion Overview

  3. Functionality Absolute Minimal Functionality: • Laid out functioning PCB. • Boot monitor working and running code. • Processor is able to read data from an input device and store it in SDRAM. • The Plan: • Graphics chip streaming data from NTSC sugarcube cameras over i2c bus. • The Backup Plan: • Jamcam 2.0 digital camera with serial interface. • The Absolute Worst Case Scenario • Ultrasonic Rangefinder over i2c bus. • Range finding based on data read in from hopefully the graphics chip. Above the Call of Duty Functionality: • Run Embedded Linux • Integrate Touch Screen Functionality – Touch the object and range appears. • Display ranges on a PC terminal.

  4. Block Diagram

  5. Microcontroller Data • Motorola MC68VZ328 Dragonball Processor • 24 Bit External Address Bus • 8 Built in Chip Selects • 16 Bit Data Bus • 33 Mhz Operation (5.4 MIPS) • SDRAM Controller • Glueless Interface to Flash/SRAM/EPROM • 2 UARTs • 2 Serial Peripheral Interface Ports • LCD Controller for 640*512 LCD • Boot Strap Mode Function (Allows execution to run program stored in system memory) • 7 Priority Levels For Interrupt Control • 3.0V +/- 10% Operation

  6. DC Electrical Characteristics

  7. Mechanical Data TQFP (Thin Quad Flat Pack) Pin-out and Dimensions

  8. Graphics Chip TI TVP5145 • Texas Instruments TVP5145 Video Decoder Chip • Accepts NTSC, PAL, and SECAM composite video, S-video • Single 14.31818-MHz or 27-MHz reference crystal for all standards • Standard programmable video output formats: • 20-/16-bit 4:2:2 YCbCr • 10-/8-bit 4:2:2 YCbCr • ITU-R BT.656 10-/8-bit 4:2:2 with embedded syncs • Programmable host port options including I2C and PHI (3 modes)

  9. DC Electrical Characteristics

  10. Mechanical Data TQFP Package Pin-Out and Dimensions

  11. Flash and SDRAM Flash • 3.0 – 3.6 V read, erase and program operations. • 64 Megabit(4Mx16bit) CMOS • Ultra Low Power Consumption • Sector Protection SDRAM • 3.3V +- .3V operation • 4Meg x 16 bit x 4 Banks • Self Refresh Mode • Fully Synchronous – All signals registered on positive edge

  12. Peripherals Cameras / Range-finding Devices • Sugarcube • NTSC Standard Output • 5V Powered • Manual Focus • Jamcam 2.0 • 640x480 Image Capture • Powered by 9V Battery • Serial Interface • Ultrasonic Range-finder • Short range – 6Meters • I2C I/O LCDs • Text/ASCII LCD • 4 rows x 20 character lines • 5x8 or 5x10 pixel characters • 5V operation • TFT LCD Display • 320x280 resolution • Backlit • Standard 8 Bit Header

  13. Power and Reset

  14. Processor

  15. Memory

  16. Serial RS-232 Ports

  17. LCDs

  18. Video Decoder

  19. Headers

  20. Memory Map

  21. SDRAM Timing (write)

  22. SDRAM Timing (read)

  23. Flash Timing (read)

  24. TFT LCD Timing

  25. Routed PCB Top Layer

  26. Routed PCB Bottom Layer

  27. Routed PCB The One

  28. Boot Monitor • Initialize the Processor • Registers • Clocks • Serial Interface • Setup Memory Map • User Interface • Terminal interaction • User Menu • Download Code • Execute Code • Input is a Motorola S-Record

  29. LCD Drivers • ASCII LCD • Initialization Code • User Defined Characters • Write A Character • Write a String • Clear Screen • Go to Specific Location • TFT LCD • Use Internal Dragonball TFT Controller. • Possible Touchscreen Interface.

  30. Range-Finding • Separate Memory into 2 Arrays for data From Each Camera and Store Video RGB Data Into Memory • Find The Common Pixels Between 2 Cameras Utilizing Red Laser Pointer • Find the Offset between the two arrays of pixels. • Use a trigonometric relation to calculate the distance from the laser origin to the object being distanced.

  31. RTOS (uCLinux) • uCLinux • uClinux is a derivative of Linux 2.0 kernel intended for microcontrollers without Memory Management Units (MMUs). • Common Linux API • uCkernel < 512 kb • uCkernel + tools < 900 kb • Successfully Run On the Motorola Dragonball EZ Processor and Other 68k Derivatives

  32. Milestone 1 Board designed around Dragonball VZ processor, laid out, fabricated and populated. Boot monitor designed, tested and working. Design, test, and run RAM interface and be able to run simple instructions (nop). Milestone 2 Boots internally. Rangefinder built, and code developed for video chip interface, range finding, and LCD display. Milestones

  33. Expo Get system to run embedded Linux. Linux interfaces with graphics chip. Modify code to run on Linux. Final Debugging. Magical Demonstration and working project. It will be “the one.” Milestones

  34. Allen Boot Monitor Initialization Range Finding Algorithm Chan User Interface Code Range Finding Frame Grabbing and Dumping Wolpoff Boot Monitor Serial Code LCD Display Code Zinner Populate Board Burn Flash and Basic Program All Embedded Linux Build Test Board Division of Labor

  35. Parts List/Expenses

  36. Conclusion • Stereo Range Finding • Motorola Dragonball VZ Processor • Real Time Embedded Software • Modularity in Design • Sufficient Market Demand

More Related