1 / 39

Critical Design Review 27 February 2007

Critical Design Review 27 February 2007. Black Box Car System (BBCS) ctrl + z: Benjamin Baker, Lisa Furnish, Chris Klepac, Benjamin Mauser, Zachary Miers. Project Overview. Recording visual data outside of car Data constantly stored in RAM

xena-henry
Download Presentation

Critical Design Review 27 February 2007

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. Critical Design Review27 February 2007 Black Box Car System (BBCS) ctrl + z: Benjamin Baker, Lisa Furnish, Chris Klepac, Benjamin Mauser, Zachary Miers

  2. Project Overview • Recording visual data outside of car • Data constantly stored in RAM • When a crash is detected, data is written from RAM to more permanent Flash storage • User is able to video of events leading up to crash on personal computer

  3. Initial Setbacks • Cannot use PSRAM • ARM9 • Code space • Learning curve (software) • Routing data from camera to RAM

  4. System Block Diagram Accelerometer Camera Black Box User Interface Reset Storage PC Interface

  5. Black Box Block Diagram Power LED/LCD STR9 Microcontroller Computer Flash Storage FPGA Accelerometer Camera RAM

  6. Hardware:Microcontroller • STR9 • Working with STR910-EVAL and STR912 development boards • Take input from accelerometer and reset • Communicate with FPGA via GPIO

  7. MicrocontrollerSchematic

  8. ARMProgramming Block Run bootup code Receive I2C input from accelerometer Transfer I2C data to register Monitor register for 4G reading Toggle GPIO high— tell FPGA accident has occurred Stop receiving input

  9. Hardware:Camera • ST VS6524 • Using x24 development board • 320 x 240 • 8 frames per second • RGB 565 • Focal length of 30mm to infinity

  10. CameraHSYNC

  11. CameraData Transmission

  12. CameraImage Size Memory: 2^20[addresses] * 16[bits/address] * 2 [memory chips] = 33554432 bits Image: 320(width) * 240[height] * 16 [bits/pixel] = 1228800 bits Storage amount: Memory / Image [# of frames] = 27.3067 frames Length of recording time: 27 frames * (1 / 8 [frames per second]) = 3.375 seconds

  13. CameraSchematic • 8 data lines (output) • HSYNC (output) • VSYNC (output) • CLK (input) • PCLK (output) • SDA & SLC (I2C)

  14. Hardware:Accelerometer • ST LIS3LV02DQ • Working with EK3LV02DQ (ST) development board • Will communicate with processor via I2C • 4G will trigger data storage

  15. AccelerometerI2C Interface • Using I2C to interface directly with the microcontroller • Tie the CS pin high to select I2C instead of SPI • LIS3LV02DQ is an I2C slave • 2 lines of interest with I2C bus; Serial Clock Line (SCL) and Serial DAta Line (SDA) • SDA is bidirectional • Both lines have built in pull up resistors

  16. AccelerometerSchematic

  17. Hardware:Memory • Cypress CY7C1061AV33 • 1M x 16 SRAM • Asynchronous • 2 chips • Implement circular buffer • Will store 27 frames • At 8 frames per second this will be 3.37 seconds of video

  18. MemoryChip Select

  19. MemoryBlock Diagram

  20. MemoryTiming Diagram Write

  21. MemoryTiming Diagram Read

  22. 5 Vcc inputs (high) 5 Vss inputs (low) BHE-bar (low) BLE-bar (low) DNU (do not use) NC (not connected) 20 address lines (input) 16 parallel data lines (input / output) CE1 (input) CE2 (input) WE (input) OE (input) MemoryOutputs and Inputs

  23. MemorySchematic

  24. Hardware:Flash Memory • Secure Digital flash memory card • Breakout Board for DOSonCHIP FAT16 FAT32 Module • Write to DOSonCHIP using UART from FPGA

  25. UART SPI (Not Using) Two will be used Accelerometer data Long term storage of video Baud rates: 1200, 2400, 9600, 28800, 38400, 57600, 115200, 230400 [bps] UART_TX UART_RX UART_RTS UART_CTS At 115200 [bps] transfer of video will take 4:48 [min:sec] Flash MemoryInformation

  26. Flash MemorySchematic

  27. Hardware Power Requirements: • Camera: 2.8V @ <50mA • ARM9: 3.3V @ 200mA Max (I/O’s) and a 1.8V Core supply @ <20mA • SRAM: 2.8V @ <35mA total • Xilinx Spartan 3: 5V @ 2.5A max (should be well under 1A for our application).

  28. Power Supply Block Diagram

  29. The result for a 5V-4A Supply:

  30. LDO Linear Regulators: • 3.3V Supply: STMicroelectronics LD1117 can supply up to 1A with a dropout voltage of 1.15V. • 2.8V and 1.8V Supply: STMicroelectronics LK112 can supply up to 200mA with a dropout voltage of 0.35V.

  31. Supply Locations: • 5V-4A Switching converter on eval board. Run power wires to the other PCB’s. • LDO Linear regulators on the PCB’s where required.

  32. Power supply backup: • 12V battery that cuts in when the main supply fails. • The only time the backup supply is needed is when an accident actually occurs.

  33. Supply Transients, Load dump, and mutual coupling. • Could safeguard all of these but we only really need transient protection and supply reverse polarity protection.

  34. Hardware:FPGA • Digilent XC3S200 Spartan-3 development board • Will route data from camera to RAM via I/O lines • Store entire frame on development board, then move entire frame from FPGA SRAM to our large SRAM • Move images from SRAM to flash memory

  35. FPGAI/O pin Layout

  36. FPGAProgramming Block Diagram Video Capture Multiple Frame Storage Interrupt Sequence Video input Multiple Frame Dump Long Term Storage Single frame storage Pointer to Write Location (Addressing of multiple frame storage) Pointer to Start Frame (Addressing of multiple frame read) Transfer from single frame to multiple frame storage Multiple frame storage Image header information Video output to flash memory Interrupt to stop video

  37. Milestone Deliverables • Milestone 1: • PCB design and BOM v0.1 • Formatting for Bitmap images • Send data to RAM • Write to Flash via PC • Main Power PCB • Milestone 2: • PCB v0.1 fabricated and populated • Camera data to RAM • Write to Flash via FPGA • ARM9 communication (I2C and FPGA) • On-board user interface

  38. Timeline

  39. Questions ?

More Related