SlideShare a Scribd company logo
1 of 32
FYP CA4 Presentation Wearable Micro-Sensor Platform and Processing System Project Supervisor: Prof Lawrence Wong Prof Wu JianKang Student: Yang SiShuo
Presentation Contents 2
Introduction The Micro-Sensor Platform (MSP) 3
Background A part of Interactive Virtual Tennis Game A hardware platform that provide motion data to the game application Embedded High performance Wearable & Compact Wireless 4
Structure of Interactive Game 5 Sensor Platform & Processing System
Project Scope 6
Structure of MSP & Processing System  7 Application layer Firmware Layer Hardware Layer
Hardware design Hardware layer 8
Sensor Platform Structure 9
Hardware layer Sensor Platform Block Diagram 10 Accelerometer Application Layer Gyroscope Digital Compass Processing & Decoding Digital Signal Controller ADC I2C LMX9838 Bluetooth Serial Module DMA Buffer RS232
Version 1  Design 11
3-Axis Accelerometer Digital Compass Bluetooth module Z-Axis Gyroscope XY-Axis Gyroscope Version 2 Design 12 Voltage Step-up Converter EEPROM Digital Signal Controller Primary Oscillator Secondary Oscillator
Firmware Design Firmware Layer 13
Firmware Overview 14 *Statistic information generated by CLOC software
Firmware layer Hardware layer Firmware Structure 15 Application Layer Init RTOS Init Bluetooth Sensors Init peripheral module Data Acquisition Bluetooth UART LMX9838 Bluetooth Serial Module RS232 Data processing Link control Interrupt Signal Signal FSM Buffer Process frame
Data Exchange Protocol To facilitate data decoding at PC side To allow simple error detection 16
Command Exchange Protocol To facilitate coordination between the sensor platform and the PC Configuration of sampling rate from PC Similar to data exchange protocol 17
Application Layer Device Driver Design 18
Device Driver Overview A class library written in C++, compiled into a single Dynamic Linked Library Can be referenced by any Microsoft .NET Programming Language 19
Driver Overview 20
Why do we need driver? Hide part of technical details from user Access all functionalities through APIs Facilitate system integration No nasty code merging Simplify maintenance Just replace with new driver library 21
Data flow diagram of driver program 22 0xFD 0x08 0x23…. Micro-Sensor Platform Bluetooth Stack Bluetooth Virtual Serial Port    Driver Device ID ACC X ACC Y …. GYRO Z Conversion Bytes Internal Buffer FSM Statistic info User Application API
Data transfer rate What is the “Speed” or “rate” of data transfer? Very hard to calculate due to Different “speed” at different system layer ,[object Object]
Bluetooth to PC @ 1-3 Mbits/sNot the rate at the application layer 23
Data transfer rate Data rate at application layer is estimated at runtime Count the number of bytes/packets received at some fixed interval Measure the time interval using timer Transfer rate=# of packet/Δtime Only a rough estimation Timer is not accurate 24
Design of Sensor Manager Application Application Layer 25
Software Overview A user-friendly sensor management software written in VB.NET Utilizing the device driver to provide these services: 26
Demonstration of Sensor Manager 27
Project Conclusion & Demonstration 28
Conclusion During the course of the project: Hardware design & fabrication Development of firmware Development of Device Driver & Sensor Manager Application 29
A few working prototype produced The MSP & Processing System proven to be: Effective platform for motion data acquisition and processing Complete system solution for projects/applications that require interactive interface Merit award in 24th FOE Innovation & Research Competition The project is quite successful Conclusion 30
Demo of Interactive tennis Game 31

More Related Content

What's hot

DACHSview++features
DACHSview++featuresDACHSview++features
DACHSview++featuresA. Steinhoff
 
Embedded processor system for controllable period-width multichannel pulse wi...
Embedded processor system for controllable period-width multichannel pulse wi...Embedded processor system for controllable period-width multichannel pulse wi...
Embedded processor system for controllable period-width multichannel pulse wi...TELKOMNIKA JOURNAL
 
National Instruments India Webcast
National Instruments India WebcastNational Instruments India Webcast
National Instruments India WebcastBandan
 
Advanced Modular Software Performance Monitoring
Advanced Modular Software Performance MonitoringAdvanced Modular Software Performance Monitoring
Advanced Modular Software Performance MonitoringAlexander Mazurov
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentationredwan1006066
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part AIkhwan_Fakrudin
 
NI Compact RIO Platform
NI Compact RIO PlatformNI Compact RIO Platform
NI Compact RIO Platformjlai
 
INTRODUCTION TO MICRCONTROLLER
INTRODUCTION TO MICRCONTROLLERINTRODUCTION TO MICRCONTROLLER
INTRODUCTION TO MICRCONTROLLERkhalil zeineddine
 
Finger print based EVM by saurabh
Finger print based EVM by saurabhFinger print based EVM by saurabh
Finger print based EVM by saurabhSaurabh Kumar
 
AVR I/O programming Atmega 64 uNiboard ThinkLABS maaniq
AVR I/O programming Atmega 64 uNiboard ThinkLABS maaniqAVR I/O programming Atmega 64 uNiboard ThinkLABS maaniq
AVR I/O programming Atmega 64 uNiboard ThinkLABS maaniqManicka Raja PL
 
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...Editor IJCATR
 

What's hot (20)

DACHSview++features
DACHSview++featuresDACHSview++features
DACHSview++features
 
About PSoC
About PSoCAbout PSoC
About PSoC
 
Embedded processor system for controllable period-width multichannel pulse wi...
Embedded processor system for controllable period-width multichannel pulse wi...Embedded processor system for controllable period-width multichannel pulse wi...
Embedded processor system for controllable period-width multichannel pulse wi...
 
National Instruments India Webcast
National Instruments India WebcastNational Instruments India Webcast
National Instruments India Webcast
 
Current System
Current SystemCurrent System
Current System
 
Advanced Modular Software Performance Monitoring
Advanced Modular Software Performance MonitoringAdvanced Modular Software Performance Monitoring
Advanced Modular Software Performance Monitoring
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part A
 
NI Compact RIO Platform
NI Compact RIO PlatformNI Compact RIO Platform
NI Compact RIO Platform
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
 
INTRODUCTION TO MICRCONTROLLER
INTRODUCTION TO MICRCONTROLLERINTRODUCTION TO MICRCONTROLLER
INTRODUCTION TO MICRCONTROLLER
 
Himanth_Resume
Himanth_ResumeHimanth_Resume
Himanth_Resume
 
Finger print based EVM by saurabh
Finger print based EVM by saurabhFinger print based EVM by saurabh
Finger print based EVM by saurabh
 
[IJET-V1I3P17] Authors :Prof. U. R. More. S. R. Adhav
[IJET-V1I3P17] Authors :Prof. U. R. More. S. R. Adhav[IJET-V1I3P17] Authors :Prof. U. R. More. S. R. Adhav
[IJET-V1I3P17] Authors :Prof. U. R. More. S. R. Adhav
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
AVR I/O programming Atmega 64 uNiboard ThinkLABS maaniq
AVR I/O programming Atmega 64 uNiboard ThinkLABS maaniqAVR I/O programming Atmega 64 uNiboard ThinkLABS maaniq
AVR I/O programming Atmega 64 uNiboard ThinkLABS maaniq
 
Iaetsd near field
Iaetsd near fieldIaetsd near field
Iaetsd near field
 
Zynq architecture
Zynq architectureZynq architecture
Zynq architecture
 
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...
FPGA Implementation of Real Time Data Acquisition System Using Micro blaze Pr...
 

Viewers also liked

FYP presentation_LiXiaotong
FYP presentation_LiXiaotongFYP presentation_LiXiaotong
FYP presentation_LiXiaotongChristina Li
 
Design and Fabrication for Motorized Automated Screw Jack
Design and Fabrication for Motorized Automated Screw JackDesign and Fabrication for Motorized Automated Screw Jack
Design and Fabrication for Motorized Automated Screw JackHitesh Sharma
 
FYP Presentation v2.0
FYP Presentation v2.0FYP Presentation v2.0
FYP Presentation v2.0Bianchi Dy
 
LAFINHAN O. O. FINAL YEAR PROJECT PRESENTATION
LAFINHAN O. O. FINAL YEAR PROJECT PRESENTATIONLAFINHAN O. O. FINAL YEAR PROJECT PRESENTATION
LAFINHAN O. O. FINAL YEAR PROJECT PRESENTATIONTobi Lafinhan
 
Final year project presentation
Final year project presentationFinal year project presentation
Final year project presentationamit KUMAR
 
Final year project presentation
Final year project presentationFinal year project presentation
Final year project presentationNursyafiqah Ismail
 
Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014Ir. Dr. R.Badlishah Ahmad
 
Project ppt presentation (1)
Project ppt presentation (1)Project ppt presentation (1)
Project ppt presentation (1)Palash Awasthi
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project PresentationSyed Absar
 
Presentation on project report
Presentation on project reportPresentation on project report
Presentation on project reportramesh_x
 

Viewers also liked (14)

FYP presentation_LiXiaotong
FYP presentation_LiXiaotongFYP presentation_LiXiaotong
FYP presentation_LiXiaotong
 
Design and Fabrication for Motorized Automated Screw Jack
Design and Fabrication for Motorized Automated Screw JackDesign and Fabrication for Motorized Automated Screw Jack
Design and Fabrication for Motorized Automated Screw Jack
 
FYP Presentation v2.0
FYP Presentation v2.0FYP Presentation v2.0
FYP Presentation v2.0
 
Steps for making presentation of final year project
Steps for making presentation of final year projectSteps for making presentation of final year project
Steps for making presentation of final year project
 
FYP 2 SLIDE
FYP 2 SLIDEFYP 2 SLIDE
FYP 2 SLIDE
 
LAFINHAN O. O. FINAL YEAR PROJECT PRESENTATION
LAFINHAN O. O. FINAL YEAR PROJECT PRESENTATIONLAFINHAN O. O. FINAL YEAR PROJECT PRESENTATION
LAFINHAN O. O. FINAL YEAR PROJECT PRESENTATION
 
Final year project presentation
Final year project presentationFinal year project presentation
Final year project presentation
 
Final year project presentation
Final year project presentationFinal year project presentation
Final year project presentation
 
Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014Undergraduate Final Year Project Guideline for Lecturers 2014
Undergraduate Final Year Project Guideline for Lecturers 2014
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
 
Final Year Project
Final Year ProjectFinal Year Project
Final Year Project
 
Project ppt presentation (1)
Project ppt presentation (1)Project ppt presentation (1)
Project ppt presentation (1)
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
 
Presentation on project report
Presentation on project reportPresentation on project report
Presentation on project report
 

Similar to Fyp ca4 yss_ver2

XLcloud 3-d remote rendering
XLcloud 3-d remote renderingXLcloud 3-d remote rendering
XLcloud 3-d remote renderingMarius Preda PhD
 
PLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.pptPLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.pptSachin Patidar
 
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd Iaetsd
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5Premier Farnell
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerIJERA Editor
 
Graduation Project Presentation
Graduation Project PresentationGraduation Project Presentation
Graduation Project PresentationMostafa Elhoushi
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionPersiPersi1
 
AXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical supportAXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical supportVitaliy Bozhkov ✔
 
ASICSoft Technologies Overview - R&D
ASICSoft Technologies Overview - R&DASICSoft Technologies Overview - R&D
ASICSoft Technologies Overview - R&DTony Devlin
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An IntroductionDilum Bandara
 
Introduce to AM37x Sitara™ Processors
Introduce to AM37x Sitara™ ProcessorsIntroduce to AM37x Sitara™ Processors
Introduce to AM37x Sitara™ ProcessorsPremier Farnell
 

Similar to Fyp ca4 yss_ver2 (20)

Pradeep_Embedded
Pradeep_EmbeddedPradeep_Embedded
Pradeep_Embedded
 
Resume
ResumeResume
Resume
 
XLcloud 3-d remote rendering
XLcloud 3-d remote renderingXLcloud 3-d remote rendering
XLcloud 3-d remote rendering
 
PLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.pptPLANT INFORMATION SYSTEM.ppt
PLANT INFORMATION SYSTEM.ppt
 
Iaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digitalIaetsd vlsi based implementation of a digital
Iaetsd vlsi based implementation of a digital
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5
 
I010315760
I010315760I010315760
I010315760
 
Resume marky20181025
Resume marky20181025Resume marky20181025
Resume marky20181025
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web Server
 
Graduation Project Presentation
Graduation Project PresentationGraduation Project Presentation
Graduation Project Presentation
 
K vector embedded_linux_workshop
K vector embedded_linux_workshopK vector embedded_linux_workshop
K vector embedded_linux_workshop
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
 
AXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical supportAXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical support
 
Choosing the right processor
Choosing the right processorChoosing the right processor
Choosing the right processor
 
CV_Arshad_21June16
CV_Arshad_21June16CV_Arshad_21June16
CV_Arshad_21June16
 
ASICSoft Technologies Overview - R&D
ASICSoft Technologies Overview - R&DASICSoft Technologies Overview - R&D
ASICSoft Technologies Overview - R&D
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An Introduction
 
Introduce to AM37x Sitara™ Processors
Introduce to AM37x Sitara™ ProcessorsIntroduce to AM37x Sitara™ Processors
Introduce to AM37x Sitara™ Processors
 
Poster_example
Poster_examplePoster_example
Poster_example
 
Rashmi_Resume
Rashmi_ResumeRashmi_Resume
Rashmi_Resume
 

Recently uploaded

怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证eeanqy
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证ehyxf
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...instagramfab782445
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证wpkuukw
 
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证eeanqy
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationZenSeloveres
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableNitya salvi
 
Resume all my skills and educations and achievement
Resume all my skills and educations and  achievement Resume all my skills and educations and  achievement
Resume all my skills and educations and achievement 210303105569
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证eqaqen
 
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...Nitya salvi
 
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best ServiceIndependent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...gargpaaro
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideDesign Studio UI UX
 
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...HyderabadDolls
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherrymeghakumariji156
 
Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...gajnagarg
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecturesaipriyacoool
 

Recently uploaded (20)

怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
怎样办理伦敦国王学院毕业证(KCL毕业证书)成绩单留信认证
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
 
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
Abortion pill for sale in Muscat (+918761049707)) Get Cytotec Cash on deliver...
 
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
一比一定(购)卡尔顿大学毕业证(CU毕业证)成绩单学位证
 
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
怎样办理巴斯大学毕业证(Bath毕业证书)成绩单留信认证
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentation
 
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best ServiceHigh Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
High Profile Escorts Nerul WhatsApp +91-9930687706, Best Service
 
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Jalaun Just Call 8617370543 Top Class Call Girl Service Available
 
Resume all my skills and educations and achievement
Resume all my skills and educations and  achievement Resume all my skills and educations and  achievement
Resume all my skills and educations and achievement
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
 
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
Just Call Vip call girls Fatehpur Escorts ☎️8617370543 Two shot with one girl...
 
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best ServiceIndependent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
 
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
 
Essential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive GuideEssential UI/UX Design Principles: A Comprehensive Guide
Essential UI/UX Design Principles: A Comprehensive Guide
 
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
Madhyamgram \ (Genuine) Escort Service Kolkata | Service-oriented sexy call g...
 
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime PondicherryPondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
Pondicherry Escorts Service Girl ^ 9332606886, WhatsApp Anytime Pondicherry
 
Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In fatehgarh [ 7014168258 ] Call Me For Genuine Models...
 
ab-initio-training basics and architecture
ab-initio-training basics and architectureab-initio-training basics and architecture
ab-initio-training basics and architecture
 

Fyp ca4 yss_ver2

  • 1. FYP CA4 Presentation Wearable Micro-Sensor Platform and Processing System Project Supervisor: Prof Lawrence Wong Prof Wu JianKang Student: Yang SiShuo
  • 3. Introduction The Micro-Sensor Platform (MSP) 3
  • 4. Background A part of Interactive Virtual Tennis Game A hardware platform that provide motion data to the game application Embedded High performance Wearable & Compact Wireless 4
  • 5. Structure of Interactive Game 5 Sensor Platform & Processing System
  • 7. Structure of MSP & Processing System 7 Application layer Firmware Layer Hardware Layer
  • 10. Hardware layer Sensor Platform Block Diagram 10 Accelerometer Application Layer Gyroscope Digital Compass Processing & Decoding Digital Signal Controller ADC I2C LMX9838 Bluetooth Serial Module DMA Buffer RS232
  • 11. Version 1 Design 11
  • 12. 3-Axis Accelerometer Digital Compass Bluetooth module Z-Axis Gyroscope XY-Axis Gyroscope Version 2 Design 12 Voltage Step-up Converter EEPROM Digital Signal Controller Primary Oscillator Secondary Oscillator
  • 14. Firmware Overview 14 *Statistic information generated by CLOC software
  • 15. Firmware layer Hardware layer Firmware Structure 15 Application Layer Init RTOS Init Bluetooth Sensors Init peripheral module Data Acquisition Bluetooth UART LMX9838 Bluetooth Serial Module RS232 Data processing Link control Interrupt Signal Signal FSM Buffer Process frame
  • 16. Data Exchange Protocol To facilitate data decoding at PC side To allow simple error detection 16
  • 17. Command Exchange Protocol To facilitate coordination between the sensor platform and the PC Configuration of sampling rate from PC Similar to data exchange protocol 17
  • 18. Application Layer Device Driver Design 18
  • 19. Device Driver Overview A class library written in C++, compiled into a single Dynamic Linked Library Can be referenced by any Microsoft .NET Programming Language 19
  • 21. Why do we need driver? Hide part of technical details from user Access all functionalities through APIs Facilitate system integration No nasty code merging Simplify maintenance Just replace with new driver library 21
  • 22. Data flow diagram of driver program 22 0xFD 0x08 0x23…. Micro-Sensor Platform Bluetooth Stack Bluetooth Virtual Serial Port Driver Device ID ACC X ACC Y …. GYRO Z Conversion Bytes Internal Buffer FSM Statistic info User Application API
  • 23.
  • 24. Bluetooth to PC @ 1-3 Mbits/sNot the rate at the application layer 23
  • 25. Data transfer rate Data rate at application layer is estimated at runtime Count the number of bytes/packets received at some fixed interval Measure the time interval using timer Transfer rate=# of packet/Δtime Only a rough estimation Timer is not accurate 24
  • 26. Design of Sensor Manager Application Application Layer 25
  • 27. Software Overview A user-friendly sensor management software written in VB.NET Utilizing the device driver to provide these services: 26
  • 29. Project Conclusion & Demonstration 28
  • 30. Conclusion During the course of the project: Hardware design & fabrication Development of firmware Development of Device Driver & Sensor Manager Application 29
  • 31. A few working prototype produced The MSP & Processing System proven to be: Effective platform for motion data acquisition and processing Complete system solution for projects/applications that require interactive interface Merit award in 24th FOE Innovation & Research Competition The project is quite successful Conclusion 30
  • 32. Demo of Interactive tennis Game 31
  • 33. Thank you Questions? Project Supervisor: Prof Lawrence Wong Prof Wu JianKang Student: Yang SiShuo

Editor's Notes

  1. The MSP and p system is designed for any application that requires interactive interface between human and machine. A lot of innovative application requires such a system. One example is the interactive game, in which the game is controlled by the motion and action of human body. Together with other FYP students, we have built a virtual tennis game based on the sensor platform.So the purpose of MSP is to provide motion data to the game application and other sub-systems. Considering the application of interactive tennis game, there are some general design requirements must be followed. For example, as the motion data need to be sampled and processed at high rate, the MSP should possess enough computing power. In addition, since the MSP will be attached to user’s hand, it should be wearable and wireless.
  2. Here is a structure of our interactive game. The game application is at top level, supported by game engine and a interface. the data processing sub-system provides the result of gesture recognition to the game engine so that corresponding activities will be displayed. The controller sub-system is responsible for the coordination among different subsystems. The bottom level of this hierarchy is where MSP located, the sensor hardware provides the motion data to PC and the software system allows other module to access all functionality of the MSP. They will be discussed in detail in later of presentation.
  3. The structure of the whole project is illustrated using the following diagram. It can be roughly divided into three layers. The top layer is the app layer running on the remote PC, formed by user’s app, device driver and Bluetooth stack. The Bluetooth stack can be roughly said as a set of program implemented by OS to provide Bluetooth related services. The middle layer is the firmware of MSP. It consist of data acquisition and processing algorithms with a RTOS. And they run on the actual hardware platform, which is the third layer, hardware layer.
  4. Now let’s move to the design of hw.
  5. The hardware consists of four modules. They are CPU, sensor module, communication module and power modules respectively. The CPU I used is a DSC from microchip. It has powerful computing capability yet with scalable clock frequency, which means clock frequency can be changed on the fly. Therefore, it is easy to balance between performance and power consumption. It also has enough hardware peripherals to meet different requirement. The data acquisition module consists of four sensors. One accelerometer, two gyroscopes and one digital compass.Communication between MSP and PC is available in both wired and wireless manner.Last but not least, the power module supplies voltage to all other ICs. As I have designed two versions of hw, the power supply module is slight different.
  6. The block diagram of the hw is illustrated in this slide. The acc and gyro are directly connected to the input of ADC of the DSC. Their output voltage is converted into digital data. The digital compass communicate with DSC using I2C protocol. The motion data is then stored into a internal buffer. The data transfer between ADC and memory is automatically done by the Direct Memory Access module. Wireless connection can be initiated by either MSP or remote PC. In either case, the BT module is controlled by DSC using RS232.
  7. During the course of the project, two versions of hardware was designed and fabricated. Version 1 is the first prototype system. # Only very basic functionalities are provided. # Here is the actual hardware. #Therefore, a slightly better version was designed.
  8. There are a few changes in the version 2 design. First, the size of the hardware is reduced by 37%. Second, the CPU package is changed to a one with more IO interface. Third, an external EEPROM is introduced to store some configuration parameters after power is turned off. This is the actual hardware. The sensor modules and Bluetooth modules are mounted on top side. This is the bottom side view. The voltage step-up converter provides 3v output voltage from a single AAA battery. This is the EEPROM. The big IC here is DSC. And this is the primary oscillator. The one at the bottom is the secondary oscillator that provides much slower clock frequency in power saving mode. That’s pretty much all about the hardware design.
  9. Now let’s move to the design of firmware.
  10. Firmware is like the brain of any hardware system. It controls every aspect of MSP. The firmware of the MSP consists both C and assembly code, which total contributes more than 7000 LOC and it is the most crucial part in the whole project.
  11. The simplified program flow is explained in this slide. The initialization routines are called when the device is first powered on. The RTOS and peripheral modules are initialized first. So that UART module can be used to communicate with BT. Then the BT can be initialized thereafter. The data from UART module is handled by INT and stored in a buffer. After all initializations are executed, depending on the mode of connection used, the firmware either control BT to initiate connection request to PC or just waiting for an incoming connection request. In the waiting for connection mode, only process frame task is scheduled to run, which continuously poll data from the buffer and interpret the reply from BT. Suppose that a connection is now initiated at PC, this incoming connection request will be handled BT automatically. Corresponding responses are also generated by the BT to reflect the status of link establishment. These data is processed by the process frame task, which also send signals to FSM. IF the connection is initiated by MSP, then link control task is activated to go through the different steps to establish a connection. Once the connection is established, data processing task will be activated to acquire data from sensor module and process it.
  12. The motion data captured at sensor platform is transmitted to the remote PC using Bluetooth. To facilitate the data decoding at the PC side, a simple protocol is defined. The first byte STX1 and the last byte ETX1, shown in the orange color, are constant value used to identify the starting and ending point of the packet. The second byte is the device ID which allows the remote PC to identify the source of motion data. The second last byte is check-sum used to detect transmission error. With the data exchange protocol, the data transmission is more reliable and flexible.
  13. In addition to motion data exchange, the configuration and control commands are also exchanged between the MSP and the remote PC. These information is mixed with motion data when transmitted over the Bluetooth. Therefore, another protocol is defined to differentiate these control commands from the data stream and also to facilitate the coordination between MSP and the PC. It has a similar structure as compared to the previous one.
  14. Next section is the design of device driver.
  15. The device driver is a class library written in Visual C++ and compiled into a single dynamic linked library. It can be referenced by any MS.NET programming language.
  16. It provides data processing and sensor management functionalities to user application. For data processing, its task including the deserialization and conversion of motion data. For management part, its primary goal is to maintain statistical information of the wireless connection and the control of remote MSP.
  17. You may wonder why an extra device driver is introduced between MSP and user’s application. The purpose is to hide part of the technical details from the end user so that the user is able to access all functionalities of the device driver without knowing the details of the MSP. It also simplified the system integration. When the MSP is integrated into our tennis game, there is no nasty code merging. Last, system maintenance is also simplified with the use of driver. Any changes in the library does not require any modification in the source code of user application. So, with some understanding of the device driver. Let’s look at how does it work.
  18. When the MSP transmit motion data to the PC side, the packet format defined in the previous slide is actually broken into bytes. In computer science, the process of converting a data structure into bytes or bits is called serialization. So the data is transmitted byte by byte, rather then a packet by packet. At PC side, a virtual serial port is created by Bluetooth stack. The bytes received from this VSP are processed by a FSM in the device driver. This FSM try to assemble the packet from individual bytes. This process is so called deserialization. After a packet is assembled, info in each field can be taken out easily. Conversion is performed right after deserialization, which tries to convert the raw sensor data into a value with physical meaning. Meanwhile, statistic info is maintained by the device driver to keep track of the numbers of packet received, the actual throughput of transmission etc. The converted data is placed at a buffer and can be accessed by user app via APIs.
  19. So you may wonder what is the data transfer rate of the MSP. Well, the transfer rate is very hard to calculate due to following reasons. First, there several different transfer rate at different system level. For example, CPU communicate with the Bluetooth module at 115200bps whereas the speed from Bluetooth to the remote PC ranges from 1 to 3 Mbits/s depending on the version of Bluetooth protocol. Second, these value only implies the transfer rate at very bottom level. Not quite meaningful to top level application.
  20. So the simplest way is to estimate transfer rate at runtime by counting the number of bytes and packets received at some fixed interval. The time interval is measured using software timer. Then the transfer rate can be calculated. This calculation is automatically performed by the device driver. The user application can access these statistical information via APIs. However, this is only a rough estimation because of the accuracy of the software timer.
  21. The last topic in the application layer is the development of sensor manager application.
  22. Sensor manager is a user-friendly sensor management software written in VB.net. By utilizing the device driver, it provides four services, data visualization, data logging, sensor node management and sensor node configuration. Demo
  23. This is the last section of this presentation.
  24. During the course of the FYP, I have successfully completed hardware design, development of firmware, development of the device driver and the sensor manager application.
  25. A few working prototypes are also produced. In addition, the MSP is also successfully integrated into our interactive virtual tennis game. The MSP is proven to be an effective complete solution for any applications that requires interactive interface between human and machine. This project is also one of merit award winner in the Faculty’s 24th Innovation & Research Competition. Therefore, I would like to conclude that the project is quite successful.