240 likes | 483 Views
Critical Design Review. The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer Capstone 2007. 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
E N D
Critical Design Review The Lone Rangers Brad Alcorn Tim Caldwell Mitch Duggan Kai Gelatt Josh Peifer Capstone 2007
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 Project Updates
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 Camera Laser Object MATLAB –Image Processing FPGA Turntable Stepper Motor Graphical User Interface Encoder
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
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
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
Turntable • Old Record Player • Encoder • Stepper Motor
GUI: Plot Types List Plot Wireframe Solid
GUI: Resolution Low Resolution High Resolution Med Resolution
Encoder Counter Core Count Forward A B Reset Count Count Backward A B Reset Count
Snapshot Control Core • 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) Input 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
Division of Labor • Brad- FPGA • Josh- FPGA, PCB • Mitch- Optics • Kai- Optics, Machining • Tim- Software, Encoder • All- Stepper Motor