Design and Implementation of Low Cost Wireless Headset Subsystem on Android Smartphone Platform
- Author
- WangYingJian
- Advisor
- LeiYou
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TN929.53 Cellular mobile communications systems (mobile phones, mobile phone handsets )
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 582
- Citations
- 0
Abstract
Affected by the global financial crisis, consumer demand is greatly reduced, which forced all manufacturers to put more weight on cost control, more and more attention to the low-cost product innovation research. The most wireless headset solutions are based on the Bluetooth solution, the high cost of Bluetooth hardware and Bluetooth certification bodies (BQB) certification. So Nordic invention 2.4G wireless microcontroller for low-cost, non-standard wireless protocol, low-cost solutions as a wireless headset. Google Android as open source, free mobile operating system can be completely customized to attract more and more well-known companies to join Google's Open Handset Alliance (OHA) camp functions is an important development for the Android platform. In this thesis, the research work in the Android smartphone platform based the Nordic nRF24El low-cost wireless headset solutions. Thesis work mainly achieved the following research: 1) wireless headset wireless headphone system functional requirements have a one-button answer, reject authentication authentication, flash control, volume control and voice prompts; mobile operating system supports several scenes, including a headset the authentication certification, headphones search, receive calls, outgoing calls, and refused to answer the telephone, audio playback, audio recording. 2) wireless headset system software design software design wireless headphone system consists of two parts, part of a wireless headset design to the side of the phone on the Android platform, the other part is a wireless headset based on single-chip technology side software design. Wireless headset in the design of mobile end the master device firmware Android phone system, the Android audio systems, Android device drivers and wireless headset. Android phone system customized Android radio interface layer (RIL) module, wireless headset telephone HP Phone Manager Control Protocol, wireless headset main equipment sophisticated mobile phone voice calls Process Management; Android audio system to achieve Android audio system, customized support wireless headphones plug in the audio component management module (ACM), the device driver layer to interact with the main equipment and wireless headset, select wireless headset main smartphone platform audio equipment working condition the equipment proper operating condition, support multiple audio streams, the ACM reported monitoring mechanisms to support wireless headphones mode voice calls, player and recorder scene; Android device drivers including wireless headset master device ALSA device driver and serial devices driver, ALSA is responsible for managing a wireless headset main equipment and audio codec, the ALSA audio routing management module adding support for wireless headset main equipment, the serial device driver management between the the wireless headset master device and application processor communication; wireless headset main device firmware contains the authentication function, telephone control protocol UART management and power management. Wireless headphones side firmware design in 8051, the firmware (Firmware) design is divided into two layers contains power management, device management, and business logic layer, device management, and business logic layer contains flash control, key control, volume control, authentication features and phone control protocol module. 3) wireless headset and mobile phone communication mechanism for wireless headphone system core by the two nRF24E1 chip is nRF24E1 Master, and on nRF24E1 Slave. integrated smartphone nRF24E1 Master custom control commands through the the UART ports smartphone communication, packet 6 bytes on nRF24E1 Slave for big endian (Big-Endian); wireless headset with the phone wireless headset master device (nRF24E1 Master), full-duplex wireless data transmission, the payload (PAYLOAD) air field contains custom commands and data. 4) completed a laboratory prototype design.
Table of contents
Abstract 4-6
Abstract 6-11
Chapter Introduction 11-14
1.1 Background topics 11-12
1.1.1 wireless headset status quo 11-12
1.1.2 smartphone operating system, the status quo
1.2 major work 12-13
1.3 paper structure arrangements 13-14
Chapter II technology 14-26
2.1 mobile phone call control 14-18
2.1.1 phone exhaled flow 14-16
2.1.2 phone incoming flow 16-17
2.1.3 Call clearing process 17-18
2.2 Nordic wireless microcontroller 18-21
2.2.1 on nRF24E1 chip Introduction 18-19
2.2.2 nRF24E1 chip architecture 19-20
2.2.3 ShockBurst ~ (TM) technology 20-21
2.3 Android smartphone operating system 21-26
2.3.1 Android framework outlined 22-24
2.3.2 Android main technical characteristics 24
2.3.3 Linux device driver 24-26
needs analysis 26-34
3.1 goals and constraints 26
3.2 Product Description 26-27
3.2.1 phone platform 26-27
3.2.2 wireless headphones 27
3.3 use case scenarios 27-34
3.3.1 authentication 27-29
3.3.2 headphone search 29
3.3.3 answer the phone 29-30
3.3.4 outgoing calls 30-31
3.3.5 refuse to answer the phone 31-32
3.3.6 audio playback, recording 32-34
Chapter system architecture design 34-40
4.1 platform select 34-35
4.1.1 smartphone platform 34
4.1.2 wireless headphone system 34-35
the
framework of the 4.2 hardware system 35-36
4.3 software system design 36-38
4.3.1 wireless headset in mobile terminal software system design 36-37
the
the 4.3.2 wireless headset software system design 37-38
4.4 Solution Benefits 38-39
4.5 development environment 39-40
4.5.1 phone development environment 39
4.5.2 wireless headset development environment 39-40
Chapter wireless headphones in the detailed design of the mobile terminal 40-65
5.1 phone side of the detailed design overview 40-41
5.2 Android phone system 41-45
5.2.1 Android radio interface layer 41-42
5.2.2 HP Phone Manager 42-44
The
the 5.2.3 mobile phones call control 44-45
5.3 Android audio system 45-51
5.3.1 ACM (Audio Control Manager) 45-46
5.3.2 ACM monitoring mechanisms 46-47
5.3.3 Multiple audio stream mixing method 47
5.3.4 audio application scenarios designed 47-48
the
the 5.3.5 wireless headset mode voice call scene 48-49
5.3.6 wireless headset mode player scene 49-50
5.3.7 wireless headset mode recorder scene 50-51
5.4 Android audio device driver design 51-55
5.4.1 ALSA architecture design 51-53
5.4.2 smartphone audio routing management 53-55
5.4.3 volume and gain settings 55
5.5 Android serial device driver design 55-61
5.5.1 Linux the serial device software architecture 55-56
5.5.2 nRF24E1 serial device driver design 56-61
5.6 wireless headset main device firmware 61-65
5.6.1 UART interface packet defined 61-62
5.6.2 on nRF24E1 Master initialize 62
5.6.3 on nRF24E1 Master UART module design 62-64
5.6.4 Other module design 64-65
Chapter wireless headphones detailed design 65-77
6.1 wireless headset hardware framework 65-66
6.2 wireless headset firmware design 66-77
6.2.1 flash and timer 67-68
6.2.2 data packet 68-69
6.2.3 error correction mechanism 69
6.2.4 Power Management 69-70
6.2.5 wireless headset state machine 70-71
6.2.6 wireless headset switch 71-72
6.2.7 authentication certification 72-73
6.2.8 wireless headset telephone control protocol 73-76
6.2.9 audio playback and recording process 76-77
Chapter VII of the performance testing and results analysis 77-82
7.1 laboratory test environment 77-78
7.2 test project and 78-80
7.2.1 voice quality test 78
the 7.2.2 wireless headphones authentication test 78-79
7.2.3 phone call test 79
7.2.4 current test 79
7.2.5 wireless headset flash test 79
7.2.6 wireless headset button test 79-80
7.3 performance analysis and found 80-82
7.3.1 PESQ performance analysis 80
7.3.2 authentication success rate 80-81
the 7.3.3 phone call success rate 81
7.3.4 Other test results 81-82
Chapter VIII Conclusion 82-83
8.1 thesis work summary 82
8.2 Future work 82-83
the
References 83-84
Acknowledgements 84
Related dissertations
- Research and Development of Food Security Supervision and Intelligent Management System
- Design and Implementation of Android Smartphone’s Privacy Guarding System
- Research on Smart Phone Supply Chain Management of Lenovo
- Wireless Sensor Application-Layer Developed Based on the Android Platform
- Design and Implementation of Personalized Recommendation Engine Based on Improved Trie Tree and AC Algorithm in Android Platform
- No money "card" products design
- Design and Implementation of a Supply Chain System for Manufactural Enterprise
- Optimization of D Company Purchasing Management under the Environment of Supply Chain Management
- The Diagnostic Analysis of H Company Vendor Managed Inventory VMI Management Model Establishment
- Research on the Interconnection Problems of Production Management Data of Enterprise in Supply Chain
- Feasibility Study on the Expansion Project of Polymer Li-ion Battery
- Strategy Research on Cooperation R&D of Smart Phone Manufacturers
- Inventory Control Research in T Company Under the Environment of Supply Chain Management
- The Research on the Subsidy Policy of China’s Aluminum Industry on the Base of "SCM"
- On the Design of Home Security System for Teaching
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer