1 Balkaran Gill ( [email protected] ) Ramakrishnan Vijayakumar ( [email protected] ) ECES 488 – Prof Chris A. Papachristou
Dec 26, 2015
1
Balkaran Gill ( [email protected] )
Ramakrishnan Vijayakumar ( [email protected] )ECES 488 – Prof Chris A. Papachristou
2
Contents
• Introduction• Specification• Design • Memory Analysis• Components• Controller• Results and Waveforms • Cost Analysis• Marketing Analysis• Testing and Debugging• Conclusion
3
Introduction
Motivation:
• Uses DSL lines
• Video Transmission (Interactive) Present
4
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.
5
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 – To Skip the present message. Save – To Save the current message.Memo – Record a Memo as a voice message.Stop – To Stop the Current playback.rec ann – To Record the announcement.hear ann – To Hear the announcement.
6
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
7
Design
• Parts of the Controller we are implementing
» RAM
» Controller
8
Block Diagram
Storage
ControllerMemory
Network Interface Unit
Media Processing Unit
Display
Speaker
Camera
LCD Display Controller
9
Memory AnalysisAudio
• (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
10
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
11
ComponentsMemory
CompactFlash Memory Card (CF 64 MB) type Ihttp://www.kingston.com/flash/compfl.asp#prod
Design Decisions• Why Flash Memory ?
• Easy and Fast Information Storage• Maintains data without any external power• Very light and Noiseless
• Why CompactFlash Memory Card?• 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
12
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
13
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)
14
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.
15
ComponentsDigital 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
16
ComponentsLCD 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
17
ComponentsMicrophones
Panasonic RP–VK18
• 1/8" mini plug with 1/4" standard phono plug adaptor • Mic. stand • Frequency response 90Hz-10kHz
SpeakersPanasonic RP-HVS20
• Frequency response 20Hz-20kHz • Power handling capacity 400mW+400mW (passive speaker)
Power Supply – 5V
18
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)
19
Controller
State Diagram of Recording a Message
Check the number of messages
Turn on the Warning
Turn off the warning
Generate memory address and record message & inc message counter
Delete the first message and decrement message counter
Hang Up
Message counter = 24
Message Counter = 30
Memory Page is full
Reset Warning
Message = [1- 23],[24-29]
Memo Button
20
Talk Button
Press Digits
Is line Busy
Display ‘Connecting’
Start voice Chatting
Start Image Processing and send video
Voice and Video Chatting
Hang-up
Video Button Pressed
State Diagram of Sending a Message
Controller
21
Go to record a message
Voice chat
Call modeModem ringing
Hang up
Beep
Play announcement
Caller hanged up
Talk button
If modem rings more than 4 times
Talk button
ControllerState Diagram of Receiving a Message
22
Play message and message count
Increment the message count and go to play message
Decrement the message count and go to play message
Delete the current message and decrement the message count
Undelete the last message and increment the message count
Play forward
Delete message
Undelete message
Play reverse
Play
Controller
State Diagram of Play Back
23
Controller
Record an announcement
Delete the previous announcement
Record new announcement
Exit
Allotted memory full/ record button
Record button
24
Block Diagram of Controller
25
Output Waveforms
26
Cost Analysis Products CostMemory (Flash Type) $65.00Digital Signal Processor (in qty 1000+) $65.00Camera $54.00Analog to Digital Converter (in qty 1000+) $4.63Digital to Analog Converter (in qty 1000+) $10.00LCD Display (in qty 100+) $75.00LCD Controller (in qty 100+) $4.50Microphone $5.00Speaker $8.00Power Supply (in qty 100+) $5.00Design Costs $75,000 per 1 worker - 5 workers for 1 year – 375000/50000 units $7.50Manufacturing Costs - $ 5,00,000/50000 units $10.00
Cost per unit $313.13 10% profit $ 31.31 Total Cost per unit $344.44
27
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
28
Conclusion
• Lessons Learned • VHDL Coding
• SYNOPSYS is great.
• Design and Implementation in progress