19
ECE 477 Design Review ECE 477 Design Review Group 11 Group 11 Fall 2005 Fall 2005

ECE 477 Design Review Group 11 Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Embed Size (px)

Citation preview

Page 1: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

ECE 477 Design Review ECE 477 Design Review Group 11 Group 11 Fall 2005 Fall 2005

Page 2: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

OutlineOutline• Project overview Project overview • Project-specific success criteriaProject-specific success criteria• Block diagramBlock diagram• Component selection rationaleComponent selection rationale• Packaging designPackaging design• Schematic and theory of operationSchematic and theory of operation• Preliminary PCB layoutPreliminary PCB layout• Software design/development statusSoftware design/development status• Project completion timelineProject completion timeline• Questions / discussionQuestions / discussion

Page 3: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Project OverviewProject Overview

• Receives video input from a black and white camera, Receives video input from a black and white camera, and turn signal status from a tilt sensor.and turn signal status from a tilt sensor.

• An analog to digital converter filters the video and An analog to digital converter filters the video and converts it to digital video for the micro.converts it to digital video for the micro.

• Microcontroller processes the image and tilt sensor Microcontroller processes the image and tilt sensor data to determine the vehicle position within the lane data to determine the vehicle position within the lane and produce any appropriate outputs. and produce any appropriate outputs.

• A row of 11 LEDs will show the location of the car.A row of 11 LEDs will show the location of the car.• Buzzer will sound if the car is drifting into another Buzzer will sound if the car is drifting into another

lane without the turn signal activated.lane without the turn signal activated.

Page 4: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Project-Specific Success CriteriaProject-Specific Success Criteria

1. An ability to provide visual feedback of the lateral position of the car within the lane.

2. An ability to operate without user input.

3. An ability to warn audibly when leaving the lane.

4. An ability to warn audibly when an obstacle is detected in the vehicle’s path.

5. An ability to detect when the driver triggers the turn signal.

Page 5: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Block DiagramBlock Diagram

Page 6: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Component Selection RationaleComponent Selection RationaleMicrocontroller

• The microprocessor’s selection was limited to DSP chips because they have the special instructions for doing intensive operations like multiply and accumulate very quickly. It also needed to have the built-in video support because of the difficult nature of interpreting the video data stream. Design constraints permit processing of 320x240 BW video at 30fps.

Spec TI--DM642-500 Analog–BF532 Design ConstraintMIPS 4000 800 138RAM (kB) 32+256 84 76.8Video Support Yes Yes YesPackaging Only BGA LQFP No BGAPrice $72.38 $15.20 $30

• The Analog-BF532 was chosen because it met all the specs.

Page 7: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Component Selection RationaleComponent Selection Rationale

Camera• The most important camera constraint was the data

format although performance and size were also important.

Spec PVBULLET-WP Clover CM720 Design ConstraintSensor Type CCD CCD CCDOutput Type NTSC NTSC NTSCResolution 420 lines 420 lines 240+ linesSize (cm) 7.6x3.8x3.8 3.7x3.4x2.9 SmallInput Voltage 9V 12V <= 12VPrice $58.38 $51.90 $70.00

• Because both cameras meet the baseline specs, the smaller component, the Clover CM720, was selected.

Page 8: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Packaging DesignPackaging Design

• Packaging carefully designed to protect delicate parts without sacrificing operation

• Structure intended to be simple, modular, and easily adjustable, not blocking the driver’s view and movement

• Unit will be powered by the cigarette jack from the car. A central box will do all processing and contain the output devices. The camera and tilt sensor will be external inputs which will connect to jacks in the back of the box.

Page 9: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Power RegulatorPower Regulator

Page 10: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Serial Debugging and Level Serial Debugging and Level ConverterConverter

Page 11: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Boot EEPROMBoot EEPROM

Page 12: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

LED LED ProgrammableProgrammableOutputOutput

Page 13: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Analog to Digital ConverterAnalog to Digital Converter

Page 14: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

MicroprocessorMicroprocessor

Page 15: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

PCB PCB LayoutLayout

Page 16: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

PCB PCB LayoutLayout

Page 17: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Software Design andSoftware Design andDevelopment StatusDevelopment Status

• The lane position algorithm is 90% functional in Matlab. The lane position algorithm is 90% functional in Matlab. – It uses the cross-correlation between current image and the It uses the cross-correlation between current image and the

“average” image.“average” image.• Software implemented in microprocessor will be based on Software implemented in microprocessor will be based on

simple poling loop consisting of:simple poling loop consisting of:– Input imageInput image– Check tilt sensorCheck tilt sensor– Perform cross-correlation to get lane positionPerform cross-correlation to get lane position– If tilt sensor does not indicate a turn, check if lane position If tilt sensor does not indicate a turn, check if lane position

is out of boundsis out of bounds– Add new data to data history and check if driver is impairedAdd new data to data history and check if driver is impaired– Update outputs based on new position/any warningsUpdate outputs based on new position/any warnings– Update average image with new image according to the Update average image with new image according to the

following equation: Average = 0.97*Average + 0.03*Newfollowing equation: Average = 0.97*Average + 0.03*New

Page 18: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Project Completion TimelineProject Completion TimelineID Task Name Start Finish Duration

Oct 2005 Nov 2005

10/16 10/23 10/30 11/6 11/13 11/20

1 14d11/2/200510/14/2005Finalize Algorithm for image processingon Matlab

2 10d11/4/200510/24/2005Write exercise modules

3 6d11/11/200511/4/2005Convert the algorithm to the C/C++ forthe microcontroller.

7d11/22/200511/14/2005Write initialization routine and combinethe algorithm

6d11/21/200511/14/2005Testing whole system

4

6

7d11/4/200510/27/2005Testing and populating PCB

7d10/28/200510/20/2005Testing peripheral

9

10 8d11/30/200511/21/2005Create final presentation

11

12

13

5d10/27/200510/21/2005Patent Liability Analysis

5d11/3/200510/28/2005Reliability Analysis

5d11/10/200511/4/2005Firmware and Narative

5d11/17/200511/11/2005Socio/Enviro Analysis

5 5d10/20/200510/14/2005Finalize PCB Layout Design

8

7

7d11/14/200511/4/2005Testing Complete Hardware

15

14

4d11/30/200511/25/2005User Manual

Page 19: ECE 477 Design Review Group 11  Fall 2005. Outline Project overviewProject overview Project-specific success criteriaProject-specific success criteria

Questions ?Questions ?