Design Constraint Design Constraint Analysis Analysis Team KANG Team KANG Group 1 Group 1
Sentry Gun Sentry Gun Design and build a turret and arm ature structure w ith the ability to detect, track and fire upon targets using a cam era, m otion sensors and a m ounted w eapon.
Constraints Overview Constraints Overview � Camera Requirements Camera Requirements � � DSP Requirements DSP Requirements � � Microcontroller Requirements Microcontroller Requirements �
Camera Requirements Camera Requirements � Digital Output Video Camera Digital Output Video Camera � � QVGA (320 X 240 Resolution) QVGA (320 X 240 Resolution) � � Frame Rate: ~ 15 frames/ second Frame Rate: ~ 15 frames/ second �
Part Choices Part Choices � Camera: Camera: � • C3088 camera module with OV6620 C3088 camera module with OV6620 • sensor chip sensor chip � 356x292 at 50Hz frame rate 356x292 at 50Hz frame rate � � Analog and digital parallel output ( Analog and digital parallel output ( YCrCb YCrCb � 4: 2: 2) 4: 2: 2) � I2C interface for settings I2C interface for settings � � Well Well- - documented documented �
DSP Requirements DSP Requirements � External memory expansion capabilities (for image storage) � Processing speed min. at 15MHz to run video algorithm � SPI channel (microcontroller communication) � GPIO pins to interface with camera (12-15)
Part Choices Part Choices � DSP: DSP: � • Freescale Freescale DSPB56374AE DSPB56374AE • � 150 MIPS 150 MIPS � � 80 80- - pin TQFP pin TQFP � � I2C, SPI I2C, SPI � � “ “ Up to 47 Up to 47” ” GPIO pins (from data sheet) GPIO pins (from data sheet) �
μ C Requirements C Requirements μ � SCI ports for user interface and IR SCI ports for user interface and IR � sensors (min. 2) sensors (min. 2) � SPI port to interface with DSP SPI port to interface with DSP � � GPIO pins to interface with motion GPIO pins to interface with motion � sensors, motors and fire control sensors, motors and fire control � PWM capable of 16 PWM capable of 16- - bit output on at bit output on at � least two ports least two ports
Part Choices Part Choices � μ μ C: C: � • Freescale Freescale MC9S12A512 MC9S12A512 • � 2 SCI, 3 SPI ports 2 SCI, 3 SPI ports � � 29 GPIO 29 GPIO � � 16 16- - bit PWM capability bit PWM capability � � 112 112- - LQFP LQFP �
Recommend
More recommend