進階搜尋


 
系統識別號 U0026-0812200912132200
論文名稱(中文) 多聲道數位無線喇叭之實現
論文名稱(英文) The Implementation of a Multi-channel Digital Wireless Speaker System
校院名稱 成功大學
系所名稱(中) 資訊工程學系碩博士班
系所名稱(英) Institute of Computer Science and Information Engineering
學年度 94
學期 2
出版年 95
研究生(中文) 陳彥佑
研究生(英文) Yan-Yu Chen
電子信箱 cifese@csie.ncku.edu.tw
學號 p7693132
學位類別 碩士
語文別 英文
論文頁數 79頁
口試委員 指導教授-楊中平
口試委員-蘇文鈺
口試委員-張燕光
口試委員-黃悅民
召集委員-王朝興
中文關鍵字 數位家庭  時間同步  無線通訊協定  串流技術 
英文關鍵字 RTP  RBS  NTP  Time Synchronization  Digital Home  IEEE 802.11 
學科別分類
中文摘要 這篇論文主要的目的是實作一個應用在數位家庭中的多聲道數位無線喇叭。傳統家庭中都是用有線的方式來連接家電,例如電視、錄放影機…等,但有線的缺點是昂貴、佈線複雜以及容易造成危險。所以使用IEEE802.11無線通訊協定來取代傳統的有線系統。經過調查顯示,聆聽動聽的音樂是每個家庭中最普遍的娛樂且也是每個房間都不能缺少的服務。實作多聲道數位無線喇叭放置在每一個房間,使用者可以透過網頁選擇想聽的歌曲,然後由家中的多媒體伺服器以串流技術的方式傳送至無線喇叭播出。為了讓使用者能享受環繞音效,採用分散的無線喇叭設計,每一個聲道都是獨立的。所以在此情況下,必須去考慮每個聲道是不是可以同步的播出聲音。無線網路的時間同步有很多議題被提出來討論,同時也有很多時間同步的演算法被提出來。我們在實作中結合NTP和RBS演算法的優點,讓數位無線喇叭達成同步,並且解決軟體同步以及封包遺失的機制。
英文摘要 In this paper, we propose a multi-channel digital wireless speaker system for our digital home. Cabling systems have been a source of annoyance to users due to some drawbacks such as expensive cost, complexity, dirtiness and danger. In our system, we use IEEE802.11 wireless network instead of traditional cable system. Through our survey, we know the service of audio needed in each room in family. We place our wireless speaker in each room; users can connect to streaming media server through web page and select song which want to listen. To let user can enjoy sound surround, we adopt distributed wireless speaker. So under the cooperative relation environment, we must synchronize each member of this wireless speaker. Time synchronization is an important issue in wireless network; it aims to provide a common timescale for local clocks of nodes in the network. In this paper, we implement an algorithm to combine the advantage of Network Time Protocol (NTP) and Reference Broadcast Synchronization (RBS) algorithm, and use the streaming technology of Real Time Protocol (RTP). We resolve these problems: time synchronization, software synchronization and resend the lost packets in our experiment.
論文目次 摘 要 I
ABSTRACT II
CONTENTS IV
LIST OF TABLES VI
LIST OF FIGURES VII
CHAPTER 1 INTRODUCTION 1
1.1 OVERVIEW OF STREAMING MULTIMEDIA 1
1.2 OVERVIEW OF WIRELESS ENVIRONMENT ISSUE 2
1.3 MOTIVATION 3
CHAPTER 2 RELATED WORK 6
2.1 PRODUCTS OF WIRELESS SPEAKER 6
2.2 TIME SYNCHRONIZATION ISSUE 8
2.2 TRADITIONAL SYNCHRONIZATION METHODS 8
2.2.1 Sources of Time Synchronization Error 9
2.2.2 Existing Time Synchronization Techniques 10
2.2.2.1 Berkeley Algorithm 10
2.2.2.2 Network Time Protocol (NTP) 11
2.2.2.3 Reference Broadcast Synchronization (RBS) 12
2.3 STREAMING MEDIA 14
2.3.1 Protocols for Streaming Media 16
CHAPTER 3 TECHNOLOGY BACKGROUND 18
3.1 IEEE 802.11 18
3.2 REAL TIME PROTOCOL (RTP) 19
3.2.1 A Transport Protocol for Real-Time Applications (RFC 1889) 19
3.2.2 RTP Payload Format for MPEG1/MPEG2 Video (RFC 2250) 22
3.2.2.1 RTP Header Usage 23
3.2.2.2 MPEG Audio Elementary Streams 23
3.2.2.3 MPEG Audio-Specific Header 24
3.2.3 A More Loss-Tolerant RTP Payload Format for MP3 Audio 24
3.2.3.1 The Structure of MP3 Frames 25
3.2.3.2 A New Payload Format 26
3.2.3.3 Frame Packetizing and Depacketizing 27
3.3 INTERNET PROTOCOL MULTICASTING 29
CHAPTER 4 HARDWARE ARCHITECTURE 32
4.1 PLATFORM ARCHITECTURE 32
4.2 SYSTEM HARDWARE ARCHITECTURE 35
CHAPTER 5 SOFTWARE ARCHITECTURE 37
5.1 EXPERIMENT DEVELOPMENT ENVIRONMENT 37
5.1.1 Development Toolchain 37
5.1.2 Boot and Registry Searching Sequence 39
5.2 EXPERIMENT SOFTWARE ARCHITECTURE 40
CHAPTER 6 IMPLEMENTATION 44
6.1 IDEA OF THE CHANNELS SYNCHRONOUSLY ALGORITHM 44
6.2 TIME SYNCHRONIZATION 51
6.3 SOFTWARE SYNCHRONIZATION 52
6.4 SOLUTION OF THE PACKET LOSS BASE ON RTP 55
CHAPTER 7 EXPERIMENT AND EVALUATION RESULT 60
7.1 TIME SYNCHRONIZATION ACCURACY 60
7.2 THE WAVEFORM OF PLAYING MUSIC 63
CHAPTER 8 CONCLUSION AND FUTURE WORK 67
8.1 CONCLUSION 67
8.2 FUTURE WORK 67
REFERENCE 69
APPENDIX 73
A1. TRANSLATING BETWEEN MP3 FRAMES AND ADU FRAMES 73
A2. CONVERTING A SEQUENCE OF ADU FRAMES TO A SEQUENCE OF MP3 FRAMES 76
參考文獻 [1] Adobe Dynamic Media Group, Adobe Systems, “A Streaming Media Primer - Enabling real-time or on-demand access to audio, video, and multimedia content via the Internet or an intranet,“ 2001.
[2] David L. Mills, “Internet time synchronization: the network time protocol,” IEEE Transactions on Communications, Vol. 39, No. 10. pp: 1482 - 1493, Oct. 1991.
[3] Arvind, K, “Probabilistic clock synchronization in distributed systems,” IEEE Transactions on Parallel and Distributed Systems, Vol. 5, No. 5, pp: 474 - 487, May 1994.
[4] R. Gusell and S Zatti, “The accuracy of clock synchronization achieved by TEMPO in Berkeley UNIX 4.3 BSD,” IEEE Transactions on Software Engineering, Vol.15, pp:847 - 853, Feb 1989.
[5] T. K. Srikanth and Sam Toueg, “Optimal clock synchronization”. J-ACM, Vol. 34, No. 3. pp: 626 - 645, July 1987.
[6] Chiu Ngo, “A service-oriented wireless home network,” Consumer Communications and Networking Conference, 2004. CCNC 2004. pp: 618 - 620, Jan. 2004.
[7] Saito, T. Tomoda, I. Takabatake, Y. Teramoto, K Fujimoto, K. “Wireless gateway for wireless home AV network and its implementation,” IEEE Transactions on Consumer Electronics, Vol. 47, No. 3. On page(s): 496 - 501 Aug. 2001.
[8] A Practical Guide to Wireless Home Theater Systems. Wireless Speakers Systems Add-on Units and Integrated Solutions.
URL:http://www.practical-home-theater-guide.com/wireless-speakers-systems.html
[9] P. Verissimo, L. Rodrigues, A. Casimiro, “CesiumSpray: A Precise and Accurate Global Time Service for Large-Scale Systems,” Journal of Real-Time Systems, Vol. 12, No. 3, Nov. 1997.
[10] N. Malpani, J. L. Welch, N. Vaidya, “Leader election algorithm for mobile ad-hoc networks,” In Proceedings of 4th International Workshop on Discrete Algorithms and Methods for Mobile Computing and Communication, pp: 96-103, Aug. 2000.
[11] Jeremy Elson, Lewis Girod and Deborah Estrin, “Fine-Grained Network Time Synchronization using Reference Broadcasts,” In the proceedings of the fifth symposium on Operating System Design and Implementation (OSDI 2002), Dec. 2002.
[12] Professor Nancy Lynch, “Time Synchronization,” Massachusetts Institute of Technology, Feb. 2006.
[13] Elson, J., and Romer, K. “Wireless sensor networks: a new regime for time synchronization”, ACM SIGCOMM Comput. Commun, Vol. 33, No. 1, pp. 149 -154, Rev. 2003.
[14] M. Marti, B. Kusy, G. Simon, . Ldeczi, “The Flooding Time Synchronization Protocol”, Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems, Baltimore, MD, pp.39 - 40, Nov. 2004.
[15] M. L. Sichitiu and Chanchai Veerarittiphan, “Simple, Accurate Time Synchronization for Wireless Sensor Networks”, Proceedings of IEEE Wireless Communications and
Networking Conference (WCNC 2003), pp.1266-1273, 2003
[16] G. Pottie and W. Kaiser, “Wireless Integrated Network Sensors”, Communications of the ACM, Vol.43, No.5, pp.51 - 58, May 2000.
[17] Robert Szewczyk, Joe Polastre, Alan Mainwaring, John Anderson, and David Culler, ”An Analysis of a Large Scale Habitat Monitoring Application,”. Second ACM Conference on Embedded Networked Sensor Systems, pp: 214 - 226, Nov. 2004.

[18] L. Schwiebert, S. K. S. Gupta, J. Weinmann, “Research Challenges in Wireless Networks of Biomedical Sensors”, Proceedings of the 7th Annual International Conference on Mobile Computing and Networking, pp.151-165, 2001.
[19] S. Ganeriwal, R. Kumar, M. B. Srivastava, “Timing-sync Protocol for Sensor Networks”, Proceedings of the 1st International Conference on Embedded Networked
Sensor Systems, Los Angeles, California, pp.138-149, Nov. 2002.
[20] E. Callaway, P. Gorday, L. Hester, J. A. Gutierrez, M. Naeve, B. Heile, V. Bahl, “Home Networking with IEEE 802.15.4: A Developing Standard for Low-Rate Wireless Personal Area Networks”, IEEE Communications Magazine, special issue on Home Networking, Vol.40, No.8, pp.70-77, August 2002.
[21] Pablo Brenner Director of Engineering, “A Technical Tutorial on the IEEE 802.11 Protocol,” 1997.
[22] Jing-Yuan Yeh, Chienhua Chen, ”Support of multimedia services with the IEEE 802-11 MAC protocol, ” Communications, 2002. ICC 2002. IEEE International Conference on, Vol. 1, pp. 600 - 604, 28 April-2 May 2002.
[23] RFC Editor Homepage
URL:http://www.rfc-editor.org/rfc.html
[24] Schulzrinne, H, Casner, S, Frederick, R, Jacobson, V, Audio-Video Transport Working Group, “RTP: A Transport Protocol for Real-Time Applications,” RFC1889, Jan. 1996.
[25] Schulzrinne, H., "RTP Profile for Audio and Video Conferences with Minimal Control", RFC 1890, Jan. 1996.
[26] Hoffman, D., Fernando, G., Goyal, V. and M. Civanlar, "RTP Payload Format for MPEG1/MPEG2 Video", RFC 2250, Jan. 1998.
[27] Coding of moving pictures and associated audio for digital storage media up to about 1,5 Mbits/s, ISO/IEC International Standard 11172, Nov. 1993.
[28] Finlayson, R, “A More Loss-Tolerant RTP Payload Format for MP3 Audio,” RFC3119, Jun. 2001.
[29] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, Mar. 1997.
[30] Coding of moving pictures and associated audio for digital storage media up to about 1.5 Mbits/s - Part 3: Audio, ISO/IEC International Standard 11172-3, Nov. 1993.
[31] Internet Protocol (IP) Multicast. URL:http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/ipmulti.htm
[32] PCM-7230 SBC and Evaluation Kit with Windows CE.NET and Linux, PCM-7230 series.
論文全文使用權限
  • 同意授權校內瀏覽/列印電子全文服務,於2008-09-13起公開。
  • 同意授權校外瀏覽/列印電子全文服務,於2008-09-13起公開。


  • 如您有疑問,請聯絡圖書館
    聯絡電話:(06)2757575#65773
    聯絡E-mail:etds@email.ncku.edu.tw