Top Banner
1 Balkaran Gill ( [email protected] ) Ramakrishnan Vijayakumar ( [email protected] ) ECES 488 – Prof Chris A. Papachristou
28

1 Balkaran Gill ( [email protected] ) Ramakrishnan Vijayakumar ( [email protected] ) ECES 488 – Prof Chris A. Papachristou.

Dec 26, 2015

Download

Documents

Damian Pope
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

1

Balkaran Gill ( [email protected] )

Ramakrishnan Vijayakumar ( [email protected] )ECES 488 – Prof Chris A. Papachristou

Page 2: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) 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

Page 3: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

3

Introduction

Motivation:

• Uses DSL lines

• Video Transmission (Interactive) Present

Page 4: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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.

Page 5: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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.

Page 6: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 7: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

7

Design

• Parts of the Controller we are implementing

» RAM

» Controller

Page 8: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

8

Block Diagram

Storage

ControllerMemory

Network Interface Unit

Media Processing Unit

Display

Speaker

Camera

LCD Display Controller

Page 9: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 10: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 11: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 12: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 13: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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)

Page 14: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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.

Page 15: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 16: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 17: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 18: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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)

Page 19: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 20: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 21: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 22: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 23: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

23

Controller

Record an announcement

Delete the previous announcement

Record new announcement

Exit

Allotted memory full/ record button

Record button

Page 24: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

24

Block Diagram of Controller

Page 25: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

25

Output Waveforms

Page 26: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 27: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

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

Page 28: 1 Balkaran Gill ( bxg28@cwru.edu ) Ramakrishnan Vijayakumar ( rxv20@cwru.edu ) ECES 488 – Prof Chris A. Papachristou.

28

Conclusion

• Lessons Learned • VHDL Coding

• SYNOPSYS is great.

• Design and Implementation in progress