Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou 1 Contents • • • • • • • • • • • Introduction Specification Design Memory Analysis Components Controller Results and Waveforms Cost Analysis Marketing Analysis Testing and Debugging Conclusion 2 Introduction Motivation: • Uses DSL lines • Video Transmission (Interactive) Present 3 Specification • Modes of Operation Call Play Back and Recording Mode - Voice only and Video Only • Video Transmission is carried out according to the H.320 format. • Must Communicate with analog phones • Handles Basic Answering Machine Features. • 30 ( Two Minute ) audio messages stored at a time. • 10 Video Messages ( One Minute) stored at a time • Record Video Option which allows the user to store video. 4 Specification • The Video Phone has the following buttons Play – Plays the Stored Messages in the order according to (Forward/Reverse) the button pressed. Delete/Undelete – Deletes or Undelete the messages .Undelete can retrieve the last two deleted messages. Skip Save Memo Stop rec ann hear ann – To Skip the present message. – To Save the current message. – Record a Memo as a voice message. – To Stop the Current playback. – To Record the announcement. – To Hear the announcement. 5 Video Standards - H.320 • Video Transmission – RTP Protocol Used – Uses IP Multicast – Derivative of UDP wherein a time stamp and sequence number is added to the packet header – Using this information receiving client can Reorder out of sequence packets Discard Duplicates Synchronize audio and video after an initial buffering period – Real Time Control Protocol used to control RTP • Reference - http://www.teamsolutions.co.uk/tsstds.html 6 Design • Parts of the Controller we are implementing » RAM » Controller 7 Block Diagram Camera Speaker LCD Display Controller Network Interface Unit Media Processing Unit Display Memory Controller Storage 8 Memory Analysis Audio • (8000 samples/sec * 16 bits/sample)*120 sec * (8 bits/byte) = 1920 KB per 2 min message • At 10:1 MPEG compression = 192 KB per 2 min message • 30 Messages – 5.6 MB of memory Video (320*240 resolution) *3 * 8 (color display) *30 (fps) =52.7 Mbps (Million Bits per second) • 100:1 MPEG Compression Ratio = .527 Mbps • Length of the message is 60 sec = 31.62 Mb • 10 video messages - 316.2 Mb = 40MB 9 Memory Analysis • Total Memory needed for Audio and Video = 46MB • 64MB ram would be needed • The rest of 16 MB could be used for other purposes 10 Components Memory CompactFlash Memory Card (CF 64 MB) type I http://www.kingston.com/flash/compfl.asp#prod Design Decisions • Why Flash Memory ? • • • • Why CompactFlash Memory Card? • • • • • • • • • Easy and Fast Information Storage Maintains data without any external power Very light and Noiseless Cheapest among those available Other Brands » Sandisk - $ 85 » Delkin - $ 120 Dimensions - 36.4mm x 42.8mm x 3.3mm Memory Capacity – Up to 256 MB Endurance – 300,000 cycles per logical sector Data Retention – 64 years Operating Temperature - -25 to 75 c Media Transfer Rate – Up to 3.5 Mb/sec Interface Transfer Rate – Up to 8 Mb/sec 11 Components Digital Signal Processor Texas Instruments TMS320C6415 – 600 • Why Texas Instrument’s DSP ? • • • • • • • • Latest and Important use in Broadband and Imaging Systems Specialized DSP’s not produced by other companies like Motorola,Intel for our system Cycle time of 1.67 ns 128Kb L1D Data Cache; 128Kb L1P Program Cache; 8Mb L2 Cache 64-channel EDMA controller with a highly-efficient transfer engine 1 – 32/16 –bit HPI, 1 – 32 bit PCI Two external memory interfaces (EMIFs) – one 64-bit EMIFA and one 16-bit EMIFB – to asynchronous/synchronous memories Three Multichannel Buffered Serial Ports (McBSPs) provide over 1.8 GBytes of bandwidth supporting a variety of audio and telecom standards 12 Components Camera Panasonic color board camera GP- CX161 Series • Decisions to take – Why Panasonic ? • Uses a built- in 10- bit DSP • Comparatively Cheap • • • • • • Horizontal Scanning Frequency = 15.734 khz Vertical Scanning Frequency = 59.94 khz 30 frames per second Resolution: Horizontal Min: 330 lines, Vertical Min: 350 lines. Dimensions: 26mm( W) x 22 mm( H) x 13. 3 mm (D) Power Consumption: 160mA (5V input logic) 13 Components Analog to Digital Converter Texas Instruments • • • • • • • • TLC320AD57 Single 5-V Power Supply Sample Rates (f s ) up to 48 kHz 18-Bit Resolution Signal-to-Noise (EIAJ) of 97 dB Dynamic Range of 95 dB Total Signal-to-Noise+Distortion of 91 dB Serial Port Interface Power Dissipation of 200 mW. 14 Components Digital to Analog Converter Texas Instruments PCM69 • • • • • • 18-Bit Resolution Dual Audio DAC High S/N Ratio: 110dB type (IHF-A) Single Supply +5V Operation Low Power: 75mW typical Operating Temp Range: -25°C TO +85°C Extremely Low Glitch Energy 15 Components LCD Display NEC 5.5” Analog QVGA • • • • • • • Number of pixels - 320 x 240 Colors - Full Color Viewing angles - ± 50° (L/R), ± 25° (U/D) Typical luminance - 250 cd/m2 Typical power consumption - 8.0 Watts Input signals - Analog RGB and NTSC mode Dimensions (mm) - 134.0 W x 110.0 H x 16.5 D LCD Display Controller 16 Components Microphones Panasonic RP–VK18 • 1/8" mini plug with 1/4" standard phono plug adaptor • Mic. stand • Frequency response 90Hz-10kHz Speakers Panasonic RP-HVS20 • Frequency response 20Hz-20kHz • Power handling capacity 400mW+400mW (passive speaker) Power Supply – 5V 17 Controller • State Diagrams • • • • Recording a Message Placing a Call and Sending a Message Receiving a Message Play Back • Simulation and Implementation in VHDL (in progress) 18 Controller Memo Button Reset Warning Turn on the Warning Turn off the warning Message counter = 24 Check the number of messages Message = [1- 23],[24-29] Generate memory address and record message & inc message counter Memory Page is full Message Counter = 30 Delete the first message and decrement message counter Hang Up 19 State Diagram of Recording a Message Controller State Diagram of Sending a Message Press Digits Talk Button Is line Busy Display ‘Connecting’ Hang-up Start voice Chatting Voice and Video Chatting Start Image Processing and send video Video Button Pressed 20 Controller State Diagram of Receiving a Message Call mode Modem ringing Caller hanged up If modem rings more than 4 times Talk button Hang up Play announcement Talk button Beep Go to record a message Voice chat 21 Controller State Diagram of Play Back Increment the message count and go to play message Play Play forward Delete message Play message and message count Play reverse Delete the current message and decrement the message count Undelete message Decrement the message count and go to play message Undelete the last message and increment the message count 22 Controller Record an announcement Record button Delete the previous announcement Record new announcement Allotted memory full/ record button Exit 23 Block Diagram of Controller 24 Output Waveforms 25 Cost Analysis Products Memory (Flash Type) Digital Signal Processor (in qty 1000+) Camera Analog to Digital Converter (in qty 1000+) Digital to Analog Converter (in qty 1000+) LCD Display (in qty 100+) LCD Controller (in qty 100+) Microphone Speaker Power Supply (in qty 100+) Design Costs $75,000 per 1 worker - 5 workers for 1 year – 375000/50000 units Manufacturing Costs - $ 5,00,000/50000 units Cost $65.00 $65.00 $54.00 $4.63 $10.00 $75.00 $4.50 $5.00 $8.00 $5.00 Cost per unit 10% profit Total Cost per unit $313.13 $ 31.31 $344.44 $7.50 $10.00 26 Marketing Analysis • Panasonic Video Phone PAC 2000 - $1300 • • • POTS line Very costly Small Screen for Display • Aiptek HyperVphone 2000T - $550 • • POTS line Supports only 15 fps • Aiptek HyperVphone 2000M - $350 • POTS line 27 Conclusion • Lessons Learned • VHDL Coding • SYNOPSYS is great. • Design and Implementation in progress 28