190 likes | 344 Views
Design and Development of a Wireless LAN Based Video Security System. By Graham Glover Supervisor: Dr Jamil Khan. Project Outline. Design stand alone digital video camera modules that transmit video data across a network for display on a central PC
E N D
Design and Development of a Wireless LAN Based Video Security System By Graham Glover Supervisor: Dr Jamil Khan
Project Outline • Design stand alone digital video camera modules that transmit video data across a network for display on a central PC • Video modules also detect the sound of breaking glass and send an alert to the central PCs screen if detected • Video modules also detect movement and send an alert to the central PC if activated
802.11b Networks • Protocol for Wireless Networks • 11Mbps, 5.5Mbps, 2Mbps, 1Mbps • Mobilitity • Similar to Ethernet without the wires
Design Problems 1.Design and Development of Video modules that can connect to an 802.11b network 2.Design and implement a software application that can receive information from the Video modules across 802.11b network
Equipment for Video Modules Chose TI C6211 DSP DSK Why? • Fast • EMIF/Peripheral Connectors • Microphone Input • Signal Processing Requirements for • Compression • FFT of D-A Audio data • EDMA
OmniVision CMOS Digital Camera Why? Camera interface already exists Camera connected to Altera Altera is programmable Outputs default 16-bit YUV video data Altera can memory map the video camera 101, 376 pixels Altera Board Altera Board CMOS Digital Video Camera CMOS Digital Video Camera Altera EPLD Altera EPLD Connector Connector Equipment for Video Modules
Equipment for Video Module DPAC 802.11b WLAN Node Module • Designed for embedded applications • Has Network stack in firmware • Application processor with Digital Input ports • Serial Host Port interface • All standard 802.11b features
CMOS Digital Video Camera 802.11b Network Port TI C6211 DSP 16-bit Video Data Mic. EMIF/Peripheral Connector Video Module Layout
External Memory Interface (EMIF) Digital Video Camera/Altera board RS-232 Header External Peripheral Connector DSP Daughterboard EMIF connector DSP DSK board
Video Data Buffer Compressed Video Data Buffer Altera RAM 802.11b port 200ms driven DMA transfer JPEG Compression DMA 16-bit YUV video data Video Data Flow Diagram
DSP Mother-Board DSP Daughterboard 200ms Timer Output Pulse - Get Frame Altera Board and Camera Frame Available Interrupt (EXTINT7) DSP/Altera Interface
OmniVision Digital Video Camera • Camera outputs 16-bit data for 101,376 pixels per frame • Frames output at 50 Hz default • Altera needs to catch a few frames a second (initially 5) • 5 X 101376 X 16 = 8.1Mbps
DSP Tasks The DSP must be able to: • Receive video data at regular intervals • Compress video data (JPEG) • Send video data to central PC • Analyse A-D Audio data from mic (FFT) • Respond to movement detection interrupts
DSP Tasks Solution: • Real-Time Operating System • Prioritise Video Compression • Other activities in background • DMA handles transfer of data frames
DSP Tasks How to detect a broken window? • Analyse the audio data frequency spectrum • Check for specific frequencies
DSP Tasks Video Data Compression • MPEG or JPEG? • Signal Processing library for DSP • JPG
Video Module Video Module Video Module Video Module WLAN Video Security Network
Central PC Operation • 802.11b Network Interface Card • Poll video modules for video data • Display video frames on screen • Display Alerts
Where is it going? • Multiple Camera Nodes • Control by central PC