SlideShare uma empresa Scribd logo
1 de 24
Vchat
EE4214 Project Presentation
OUTLINE
•
•
•
•

About the Project
Design Process
Demo
Technical Details

• Future Improvements
• Learning Points
• Team and Task
Distribution
• Q&A
About the Project
Vchat :
Audio based public chat terminal
with automated login

Key Features

Applications

• Hands-free
• 2-way Audio communication
• Automatic login with face
detection
• Simple and user friendly
interface

•
•
•
•
•

Public Terminals
Elderly care
Hospital Use
Company Network
Virtual Window
System Design – Initial Concept
Initial Design Concept
•
•
•
•
•
•

Interface two Spartan 3E
2-way Video
USB Webcams
Keyboard based chatting
Automatic login
Interface with USB webcam

Challenges Faced:
• USB Drivers
• Spartan 3 too weak
•
•

8-bit colour
Slow
System Design - Final
Final Design
•
•
•
•
•
•

Interface two Spartan 6
2-way Audio
HDMI-in Camera
Automatic login
High resolution video
Hardware Accelerated
• Data manipulation, Logic
separation
Demo
Technical Details
System Architecture
Audio
In/Out

- Audio Processing
- Communication
AC97 Audio
Codec

Microblaze 0

Face Detected

Ethernet
Lite

Data
In/Out

Audio Received

Video
In/Out
HDMI

VDMA

Microblaze 1
- Face Detection/Tracking
- Graphic User Interface

VMDA = Video Direct Memory Access
System Architecture

AXI = Advanced eXtensible Interface
HDMI & GUI
Data Corruption:
• Microblaze has to sample
a frame for face detection.
• HDMI Read/Write speed
>> Microblaze.
• HDMI In refreshes frame
at constant rate (60fps),
and should not be
stopped.

Video In/Out (60fps)
HDMI

VDMA

Microblaze 1
(Face Detection)
(5-10fps)

Frame

RAM

VMDA = Video Direct Memory Access
HDMI & GUI
Frame Sampling with Data Corruption Prevention

Video In/Out (Fast)

Video In/Out (Fast)

Microblaze 1
(Face Detection)

HDMI

HDMI

(Slow)
Frame

Frame

Frame

Frame

Frame

Frame

Frame

Frame

RAM

RAM
Normal

Sampling
HDMI & GUI
bmp
Pixel Extraction
Load at Initialization
HDMI Frame
RAM
128MB

Microblaze 1
Face Detection
Original

Skin Color

Erode Noise

Result
Face Detected

Fill Holes

Nguyen, T. T. (2012). Real-time Face Detection and Tracking. Master of Engineering Thesis, School of Electrical and Computer Engineering,
Cornell University.
Audio & Ethernet
Spartan-6
Mic

Line Out

LM4550
AC-97
Audio
Codec

Hardware

AC97
Controller

Microblaze 0

Software
Spartan-6

Connector

Marvell
M88E1111

Ethernet
lite

Microblaze 0
Ethernet
Ethernet Communication Scheme:
• Send: Implicit naming, non-blocking (broadcast message)
• Receive: Implicit naming, non-blocking (receive message from everyone), but
check for “valid” address and message.
2

1

ACK: Node 1 Online

3

4

ACK: Node 1 Online

Ethernet frame, Destination MAC Address = 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF
Audio & Ethernet
N samples

Audio In
44 kHz

Buffer

Full

Tx Data

Ethernet

1 packet = N samples

Microblaze 0

Buffer
Audio Out
𝐻 𝑧 =

Filter
1
(1 + 2𝑧 −1 + 𝑧 −2 )
4

At least
1 empty

Ethernet

Rx Data

…

44 kHz

Buffer

Transmitting

Buffer

Microblaze 0
Receiving
Audio & Ethernet
e.g. Buffer N = 2

Transmitting every N Audio Cycles
Deterministic
Time
Audio Cycle
(44kHz)

Transmitting

Nondeterministic
Time

Receiving
Audio

Transmitting

Receiving
Audio & Ethernet
• Audio In/Out: Fixed rate at 44kHz.
• It is more efficient to send multiple samples in 1 Ethernet packet.
• Transmitting: deterministic, the processor know when the buffer is full to
broadcast data away → fixed rate and synchronous with audio.
• Receiving: nondeterministic, incoming data can arrive at any time, not
synchronous with audio → multiple buffers. Moreover, data can come from
multiple senders.
Schedule
Audio In

Audio Out

Data Tx

Data Rx
Time

Audio Cycle
Data Arrive (Interrupt)

Time
Real Time Requirements
• Audio & Ethernet
• Audio in, Audio out, Ethernet Tx,
and Ethernet Rx scheduling.
• Data buffering.

• Video
• Data corruption prevention.

• DDR2 RAM
• Shared memory access
(hardware).

• Dual Microblaze
• Producer/Consumer.
Future Improvements
• Implementation of TCP/IP protocol
for scalable network.
• Face and voice recognition for
automated login with personal
information
• Machine learning software.
• More powerful hardware.

• 2-way video capabilities
• Faster microprocessor (ARM + FPGA).
• HDL implementation of video codec.
Learning Outcomes
• Complete system implementation
• Application of concepts

• Data and logic separation for
hardware optimized processes
• Parallel processing

• Dealing with time-critical IO and
real-time deadlines
• Team work is essential
Team and Task Distribution
Anh Tuan Nguyen

A0074465Y

System Design & Integration.

Dao Duc Huan

A0030591N

Face Detection Algorithm.

Huynh Van Vinh

A0055979H

Audio to Ethernet Communication.

Rahul Rajeev

A0077497J

Shambavi
Krishnamurthi

A0077496L

Ziyi Wang

A0091881X

Interfacing with peripherals:
• HDMI (PLB Bus).
• Audio Interfacing.
• Keyboard Controller (Spartan3)
User Interface Design:
• Image to Pixel-Array
Thank You
Prof. Akash and Chin Hau
Q&A

Mais conteúdo relacionado

Mais procurados

Squid.link Gateway
Squid.link GatewaySquid.link Gateway
Squid.link Gateway
Freddy Engel
 
ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์
Noii Kittiya
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic Analysis
David Sweigert
 

Mais procurados (20)

Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with Wireshark
 
Setting Up a Windows Network
Setting Up a Windows NetworkSetting Up a Windows Network
Setting Up a Windows Network
 
Ch04 Footprinting and Social Engineering
Ch04 Footprinting and Social EngineeringCh04 Footprinting and Social Engineering
Ch04 Footprinting and Social Engineering
 
16 supporting io devices
16 supporting io devices16 supporting io devices
16 supporting io devices
 
Wireshark
WiresharkWireshark
Wireshark
 
Ch 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts ReviewCh 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts Review
 
Challenges in Embedded Computing
Challenges in Embedded ComputingChallenges in Embedded Computing
Challenges in Embedded Computing
 
Packet analysis using wireshark
Packet analysis using wiresharkPacket analysis using wireshark
Packet analysis using wireshark
 
Squid.link Gateway
Squid.link GatewaySquid.link Gateway
Squid.link Gateway
 
ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์
 
Wireshark ppt
Wireshark pptWireshark ppt
Wireshark ppt
 
Netcat
NetcatNetcat
Netcat
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic Analysis
 
Visual ip subnetting
Visual ip subnettingVisual ip subnetting
Visual ip subnetting
 
Wireshark tutorial
Wireshark tutorialWireshark tutorial
Wireshark tutorial
 
Socat
SocatSocat
Socat
 
Packet analyzing with wireshark-basic of packet analyzing - Episode_02
Packet analyzing with wireshark-basic of packet analyzing - Episode_02Packet analyzing with wireshark-basic of packet analyzing - Episode_02
Packet analyzing with wireshark-basic of packet analyzing - Episode_02
 
Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of Webpages
 
Chapter 2 : Inet Address & Data Stream
Chapter 2 : Inet Address & Data StreamChapter 2 : Inet Address & Data Stream
Chapter 2 : Inet Address & Data Stream
 
How to configure a router
How to configure a router How to configure a router
How to configure a router
 

Semelhante a VChat | Audio based public chat terminal with automated login

PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.ppt
MrZeke1
 

Semelhante a VChat | Audio based public chat terminal with automated login (20)

Introduction to A8520E24Axx PurePath Uncompressed Wireless Audio Module
Introduction to A8520E24Axx PurePath Uncompressed Wireless Audio ModuleIntroduction to A8520E24Axx PurePath Uncompressed Wireless Audio Module
Introduction to A8520E24Axx PurePath Uncompressed Wireless Audio Module
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and Video
 
A Science Project: Building a sound card based on the Covox Speech Thing
A Science Project: Building a sound card based on the Covox Speech ThingA Science Project: Building a sound card based on the Covox Speech Thing
A Science Project: Building a sound card based on the Covox Speech Thing
 
Smart Pi DSP
Smart Pi DSPSmart Pi DSP
Smart Pi DSP
 
System unit and ip cycle
System unit and ip cycleSystem unit and ip cycle
System unit and ip cycle
 
USB BASIC
USB BASICUSB BASIC
USB BASIC
 
IP Signal Distribution
IP Signal DistributionIP Signal Distribution
IP Signal Distribution
 
Multimedia-Applications.ppt
Multimedia-Applications.pptMultimedia-Applications.ppt
Multimedia-Applications.ppt
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.ppt
 
PC Components_Hardware_Software_CSS11.ppt
PC Components_Hardware_Software_CSS11.pptPC Components_Hardware_Software_CSS11.ppt
PC Components_Hardware_Software_CSS11.ppt
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.ppt
 
Ahsan by computer component information
Ahsan by computer component informationAhsan by computer component information
Ahsan by computer component information
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.ppt
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.ppt
 
PC Components.pptx
PC Components.pptxPC Components.pptx
PC Components.pptx
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.ppt
 
Polycom soundpoint ip670 data sheet
Polycom soundpoint ip670 data sheetPolycom soundpoint ip670 data sheet
Polycom soundpoint ip670 data sheet
 
2018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 72018 FRSecure CISSP Mentor Program- Session 7
2018 FRSecure CISSP Mentor Program- Session 7
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - Barcelona
 
Docking stations andy_davis_ncc_group_slides
Docking stations andy_davis_ncc_group_slidesDocking stations andy_davis_ncc_group_slides
Docking stations andy_davis_ncc_group_slides
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

VChat | Audio based public chat terminal with automated login

  • 2. OUTLINE • • • • About the Project Design Process Demo Technical Details • Future Improvements • Learning Points • Team and Task Distribution • Q&A
  • 3. About the Project Vchat : Audio based public chat terminal with automated login Key Features Applications • Hands-free • 2-way Audio communication • Automatic login with face detection • Simple and user friendly interface • • • • • Public Terminals Elderly care Hospital Use Company Network Virtual Window
  • 4. System Design – Initial Concept Initial Design Concept • • • • • • Interface two Spartan 3E 2-way Video USB Webcams Keyboard based chatting Automatic login Interface with USB webcam Challenges Faced: • USB Drivers • Spartan 3 too weak • • 8-bit colour Slow
  • 5. System Design - Final Final Design • • • • • • Interface two Spartan 6 2-way Audio HDMI-in Camera Automatic login High resolution video Hardware Accelerated • Data manipulation, Logic separation
  • 8. System Architecture Audio In/Out - Audio Processing - Communication AC97 Audio Codec Microblaze 0 Face Detected Ethernet Lite Data In/Out Audio Received Video In/Out HDMI VDMA Microblaze 1 - Face Detection/Tracking - Graphic User Interface VMDA = Video Direct Memory Access
  • 9. System Architecture AXI = Advanced eXtensible Interface
  • 10. HDMI & GUI Data Corruption: • Microblaze has to sample a frame for face detection. • HDMI Read/Write speed >> Microblaze. • HDMI In refreshes frame at constant rate (60fps), and should not be stopped. Video In/Out (60fps) HDMI VDMA Microblaze 1 (Face Detection) (5-10fps) Frame RAM VMDA = Video Direct Memory Access
  • 11. HDMI & GUI Frame Sampling with Data Corruption Prevention Video In/Out (Fast) Video In/Out (Fast) Microblaze 1 (Face Detection) HDMI HDMI (Slow) Frame Frame Frame Frame Frame Frame Frame Frame RAM RAM Normal Sampling
  • 12. HDMI & GUI bmp Pixel Extraction Load at Initialization HDMI Frame RAM 128MB Microblaze 1
  • 13. Face Detection Original Skin Color Erode Noise Result Face Detected Fill Holes Nguyen, T. T. (2012). Real-time Face Detection and Tracking. Master of Engineering Thesis, School of Electrical and Computer Engineering, Cornell University.
  • 14. Audio & Ethernet Spartan-6 Mic Line Out LM4550 AC-97 Audio Codec Hardware AC97 Controller Microblaze 0 Software Spartan-6 Connector Marvell M88E1111 Ethernet lite Microblaze 0
  • 15. Ethernet Ethernet Communication Scheme: • Send: Implicit naming, non-blocking (broadcast message) • Receive: Implicit naming, non-blocking (receive message from everyone), but check for “valid” address and message. 2 1 ACK: Node 1 Online 3 4 ACK: Node 1 Online Ethernet frame, Destination MAC Address = 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF
  • 16. Audio & Ethernet N samples Audio In 44 kHz Buffer Full Tx Data Ethernet 1 packet = N samples Microblaze 0 Buffer Audio Out 𝐻 𝑧 = Filter 1 (1 + 2𝑧 −1 + 𝑧 −2 ) 4 At least 1 empty Ethernet Rx Data … 44 kHz Buffer Transmitting Buffer Microblaze 0 Receiving
  • 17. Audio & Ethernet e.g. Buffer N = 2 Transmitting every N Audio Cycles Deterministic Time Audio Cycle (44kHz) Transmitting Nondeterministic Time Receiving Audio Transmitting Receiving
  • 18. Audio & Ethernet • Audio In/Out: Fixed rate at 44kHz. • It is more efficient to send multiple samples in 1 Ethernet packet. • Transmitting: deterministic, the processor know when the buffer is full to broadcast data away → fixed rate and synchronous with audio. • Receiving: nondeterministic, incoming data can arrive at any time, not synchronous with audio → multiple buffers. Moreover, data can come from multiple senders. Schedule Audio In Audio Out Data Tx Data Rx Time Audio Cycle Data Arrive (Interrupt) Time
  • 19. Real Time Requirements • Audio & Ethernet • Audio in, Audio out, Ethernet Tx, and Ethernet Rx scheduling. • Data buffering. • Video • Data corruption prevention. • DDR2 RAM • Shared memory access (hardware). • Dual Microblaze • Producer/Consumer.
  • 20. Future Improvements • Implementation of TCP/IP protocol for scalable network. • Face and voice recognition for automated login with personal information • Machine learning software. • More powerful hardware. • 2-way video capabilities • Faster microprocessor (ARM + FPGA). • HDL implementation of video codec.
  • 21. Learning Outcomes • Complete system implementation • Application of concepts • Data and logic separation for hardware optimized processes • Parallel processing • Dealing with time-critical IO and real-time deadlines • Team work is essential
  • 22. Team and Task Distribution Anh Tuan Nguyen A0074465Y System Design & Integration. Dao Duc Huan A0030591N Face Detection Algorithm. Huynh Van Vinh A0055979H Audio to Ethernet Communication. Rahul Rajeev A0077497J Shambavi Krishnamurthi A0077496L Ziyi Wang A0091881X Interfacing with peripherals: • HDMI (PLB Bus). • Audio Interfacing. • Keyboard Controller (Spartan3) User Interface Design: • Image to Pixel-Array
  • 23. Thank You Prof. Akash and Chin Hau
  • 24. Q&A