Critical Design Review The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer...

24
Critical Design Review The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer Capstone 2007
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    217
  • download

    1

Transcript of Critical Design Review The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer...

Critical Design Review

The Lone RangersBrad Alcorn

Tim Caldwell

Mitch Duggan

Kai Gelatt

Josh Peifer

Capstone 2007

Project Updates

• What We’ve Done– CMOS Image

Sensor Schematic

– MATLAB GUI– Purchased

Parts– Began writing

VHDL cores for different operations

• What Needs to be Done– PCB layout

and build– Finish VHDL

coding– Implement

turntable with stepper motor and encoder

– MATLAB image processing

Objective Updates• What we want

– 3D object scanner that displays a full 3D model in MATLAB with smooth surfaces.

– Build our own CMOS camera to take the pictures.

•Fallback–Use a webcam instead of building our own camera–Only plot points instead of smooth surfaces

•Extension–Add full color to model–Create a physical copy using the 3D printer–Add second camera for better resolution and more complex objects

What we are Using

• KAC-9648 1.3 megapixel Kodak CMOS Image Sensor

• Digilent Spartan III FPGA Development Board

• WorldStarTech 3.5mW “LASER” line generator ULL5-3.5G-635

• US Digital Optical Shaft Encoder

• US Digital Stepper Motor• MATLAB

High Level Functional Block Diagram

FPGA

Camera Laser

Turntable

Stepper Motor

Encoder

MATLAB –Image

Processing

Object

Graphical User

Interface

FPGA Block Diagram

FPGA I/O

• GPIO 40 Pin Headers– CMOS Imager– Laser– Stepper– Encoder

• Serial Port– Interface FPGA

software with computer

Camera PCB• We need to mount the image sensor on a

PCB to interface with the FPGA board– 40 pin header for ribbon cable– Proper grounding and decoupling– Voltage level shifting (sensor takes

3.0V)• Need to allow space and proper mounts

for a lens

PCB Schematic

CMOS Image Sensor (Optics)

• Kodak KAC-9648 CMOS Image Sensor– 1288 x 1032 pixels– SXGA 18fps– Video Output: 8 or 10 bit Digital– 6.0μm x 6.0 μm Pixel Size– Rolling Reset Shutter– 3.0V Power Supply– 150mW Power Consumption– 1/2” Optical Format

CMOS Image Sensor (Optics)

Lens

• Afocal lens (both focal planes are at infinity)• Final spot size of 12 to 15 um• Demagnification on the order of 12^6 to 15^6

Laser

• ULL5-3.5G-635-60

• Adjustable Focus

• 3.5 mW power • Glass lens• 635 nm

Wavelength• 60 Degree Fan

Angle

• Old Record Player

• Encoder• Stepper Motor

Turntable

MATLAB

Bezier Surfaces

Graphical User Interface

GUI: Plot Types

List Plot Wireframe

Solid

GUI: ResolutionLow Resolution High Resolution

Med Resolution

Encoder Counter Core

A

BReset

Count

A

Reset

Count

B

Count Forward

Count Backward

Snapshot Control CoreInput Signals• Clk_50Mhz• extsync – high when CMOS is taking

a picture• reset – snapshot core reset signal• reg_snapshot – set from FPGA

software – 0x00000000 at rest– 0x0000ffff to powerdown– 0xffffffff to take picture

Output Signals• mclk – 25 MHz CMOS system clock• pwd – high to power down CMOS• resetb – reset signal to CMOS• snapshot – must be high for one frame to take a picture (18 fps)

Updated Schedule

Division of Labor

• Brad- FPGA• Josh- FPGA, PCB• Mitch- Optics• Kai- Optics,

Machining • Tim- Software,

Encoder• All- Stepper Motor

?