SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Network Packet Analysis with Wireshark
Network Packet Analysis with WiresharkNetwork Packet Analysis with Wireshark
Network Packet Analysis with WiresharkJim Gilsinn
 
Setting Up a Windows Network
Setting Up a Windows NetworkSetting Up a Windows Network
Setting Up a Windows NetworkAmir Villas
 
Ch04 Footprinting and Social Engineering
Ch04 Footprinting and Social EngineeringCh04 Footprinting and Social Engineering
Ch04 Footprinting and Social Engineeringphanleson
 
16 supporting io devices
16 supporting io devices16 supporting io devices
16 supporting io deviceshafizhanif86
 
Ch 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts ReviewCh 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts ReviewSam Bowne
 
Challenges in Embedded Computing
Challenges in Embedded ComputingChallenges in Embedded Computing
Challenges in Embedded ComputingPradeep Kumar TS
 
Packet analysis using wireshark
Packet analysis using wiresharkPacket analysis using wireshark
Packet analysis using wiresharkBasaveswar Kureti
 
Squid.link Gateway
Squid.link GatewaySquid.link Gateway
Squid.link GatewayFreddy Engel
 
ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์ระบบเครือข่ายคอมพิวเตอร์
ระบบเครือข่ายคอมพิวเตอร์Noii Kittiya
 
Wireshark Traffic Analysis
Wireshark Traffic AnalysisWireshark Traffic Analysis
Wireshark Traffic AnalysisDavid Sweigert
 
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_02Dhananja Kariyawasam
 
Parallel Rendering of Webpages
Parallel Rendering of WebpagesParallel Rendering of Webpages
Parallel Rendering of WebpagesLangtech
 
How to configure a router
How to configure a router How to configure a router
How to configure a router IT Tech
 

What's hot (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
 

Similar to Vchat EE4214 Project: Audio Chat Terminal with Automatic Login

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 ModuleAnaren, Inc.
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoJenn Riley
 
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 Thingyeokm1
 
System unit and ip cycle
System unit and ip cycleSystem unit and ip cycle
System unit and ip cycleAtif Nauman
 
IP Signal Distribution
IP Signal DistributionIP Signal Distribution
IP Signal DistributionrAVe [PUBS]
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.pptMrZeke1
 
PC Components_Hardware_Software_CSS11.ppt
PC Components_Hardware_Software_CSS11.pptPC Components_Hardware_Software_CSS11.ppt
PC Components_Hardware_Software_CSS11.pptRiannel Tecson
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.pptVida533595
 
Ahsan by computer component information
Ahsan by computer component informationAhsan by computer component information
Ahsan by computer component informationAhsanUbaidi
 
PC Components.pptx
PC Components.pptxPC Components.pptx
PC Components.pptxElmerPogoy
 
PC Components.ppt
PC Components.pptPC Components.ppt
PC Components.pptRoyTari
 
Polycom soundpoint ip670 data sheet
Polycom soundpoint ip670 data sheetPolycom soundpoint ip670 data sheet
Polycom soundpoint ip670 data sheetbest4systems
 
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 7FRSecure
 
SIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaSIGFOX Makers Tour - Barcelona
SIGFOX Makers Tour - BarcelonaNicolas Lesconnec
 
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_slidesNCC Group
 

Similar to Vchat EE4214 Project: Audio Chat Terminal with Automatic 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
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

Vchat EE4214 Project: Audio Chat Terminal with Automatic 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