TWI727899B - Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits - Google Patents

Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits Download PDF

Info

Publication number
TWI727899B
TWI727899B TW109133960A TW109133960A TWI727899B TW I727899 B TWI727899 B TW I727899B TW 109133960 A TW109133960 A TW 109133960A TW 109133960 A TW109133960 A TW 109133960A TW I727899 B TWI727899 B TW I727899B
Authority
TW
Taiwan
Prior art keywords
circuit
bluetooth
clk
clock
audio
Prior art date
Application number
TW109133960A
Other languages
Chinese (zh)
Other versions
TW202119797A (en
Inventor
張紘銓
陳奕錚
黃冠中
王景文
Original Assignee
瑞昱半導體股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 瑞昱半導體股份有限公司 filed Critical 瑞昱半導體股份有限公司
Priority to US17/081,652 priority Critical patent/US11405880B2/en
Priority to JP2020184671A priority patent/JP7105849B2/en
Priority to KR1020200146000A priority patent/KR102433753B1/en
Application granted granted Critical
Publication of TWI727899B publication Critical patent/TWI727899B/en
Publication of TW202119797A publication Critical patent/TW202119797A/en
Priority to US17/831,744 priority patent/US11751153B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A main Bluetooth circuit and an auxiliary Bluetooth circuit of a multi-member Bluetooth device are disclosed. The multi-member Bluetooth device is utilized for communicating data with a source Bluetooth device, and the source Bluetooth device acts as a master in a first piconet. The main Bluetooth circuit acts as a slave in the first piconet, and acts as a master in a second piconet. The auxiliary Bluetooth circuit acts as a slave in the second piconet. The main Bluetooth circuit generates a first slave clock and a second main clock synchronized with a first main clock generated by the source Bluetooth device, and samples a first audio data to be playback. The auxiliary Bluetooth circuit generates a second slave clock and a third slave clock synchronized with the second main clock, and samples a second audio data to be playback.

Description

可使不同藍牙電路的音訊播放保持同步的多成員藍牙裝置中的主藍牙電路與副藍牙電路 The main Bluetooth circuit and the secondary Bluetooth circuit in a multi-member Bluetooth device that can keep the audio playback of different Bluetooth circuits synchronized

本發明涉及藍牙技術,尤指一種可使不同藍牙電路的音訊播放保持同步的多成員藍牙裝置中的主藍牙電路與副藍牙電路。 The invention relates to Bluetooth technology, in particular to a main Bluetooth circuit and a secondary Bluetooth circuit in a multi-member Bluetooth device that can keep the audio playback of different Bluetooth circuits synchronized.

多成員藍牙裝置指的是由多個互相搭配使用的藍牙電路所組成的藍牙裝置,例如,成對的藍牙耳機、成組的藍牙喇叭等等。當多成員藍牙裝置與其他的藍牙裝置(以下稱之為遠端藍牙裝置)進行連線時,遠端藍牙裝置會將多成員藍牙裝置視為單一藍牙裝置來對待。 A multi-member Bluetooth device refers to a Bluetooth device composed of multiple Bluetooth circuits that are used in conjunction with each other, such as a pair of Bluetooth headsets, a group of Bluetooth speakers, and so on. When a multi-member Bluetooth device is connected to another Bluetooth device (hereinafter referred to as a remote Bluetooth device), the remote Bluetooth device treats the multi-member Bluetooth device as a single Bluetooth device.

許多傳統的多成員藍牙裝置具備音訊播放功能。在許多應用中,不同的藍牙電路可能會協同播放音訊資料,以營造出立體聲音效或環繞音效。然而,如果多成員藍牙裝置中的不同藍牙電路的音訊播放運作不能彼此同步,便會帶給使用者差勁的使用體驗,因而降低了多成員藍牙裝置的應用價值與使用彈性。 Many traditional multi-member Bluetooth devices have audio playback capabilities. In many applications, different Bluetooth circuits may play audio data together to create stereo sound effects or surround sound effects. However, if the audio playback operations of different Bluetooth circuits in the multi-member Bluetooth device cannot be synchronized with each other, it will bring a poor user experience to the user, thereby reducing the application value and use flexibility of the multi-member Bluetooth device.

有鑑於此,如何使多成員藍牙裝置中的不同藍牙電路的音訊播放保持同步,實為有待解決的問題。 In view of this, how to keep the audio playback of different Bluetooth circuits in a multi-member Bluetooth device synchronized is a problem to be solved.

本說明書提供一種多成員藍牙裝置中的主藍牙電路的實施例。該多成員藍牙裝置用於與一來源藍牙裝置進行資料傳輸,且包含該主藍 牙電路與一副藍牙電路。該來源藍牙裝置扮演一第一藍牙微網中的一主裝置。該主藍牙電路包含:一第一藍牙通信電路;一第一時脈調整電路;一第一控制電路,耦接於該第一藍牙通信電路與該第一時脈調整電路,設置成控制該主藍牙電路扮演該第一藍牙微網中的一從裝置、並扮演一第二藍牙微網中的一主裝置;一第一取樣時脈調整電路,耦接於該第一控制電路;以及一第一非同步取樣率轉換電路,耦接於該第一取樣時脈調整電路,設置成依據一第一音訊取樣時脈取樣一第一音訊資料,並將取樣後的資料傳送給一第一播放電路進行播放;其中,該第一控制電路還設置成進行以下運作:依據該來源藍牙裝置所產生的一第一主時脈的時序資料,控制該第一時脈調整電路產生與該第一主時脈同步的一第一從時脈和一第二主時脈;以及控制該第一藍牙通信電路依據該第一從時脈在該第一藍牙微網中傳送或接收封包,並控制該第一藍牙通信電路依據該第二主時脈在該第二藍牙微網中傳送或接收封包,使該副藍牙電路依據與該第二主時脈同步的一第二從時脈在該第二藍牙微網中傳送或接收封包。 This specification provides an embodiment of the main Bluetooth circuit in a multi-member Bluetooth device. The multi-member Bluetooth device is used for data transmission with a source Bluetooth device, and includes the master blue A tooth circuit and a Bluetooth circuit. The source Bluetooth device acts as a master device in a first Bluetooth piconet. The main Bluetooth circuit includes: a first Bluetooth communication circuit; a first clock adjustment circuit; a first control circuit, coupled to the first Bluetooth communication circuit and the first clock adjustment circuit, configured to control the main The Bluetooth circuit acts as a slave device in the first Bluetooth piconet and a master device in a second Bluetooth piconet; a first sampling clock adjustment circuit coupled to the first control circuit; and a second An asynchronous sampling rate conversion circuit, coupled to the first sampling clock adjustment circuit, is configured to sample a first audio data according to a first audio sampling clock, and send the sampled data to a first playback circuit Play; wherein, the first control circuit is also configured to perform the following operations: according to the timing data of a first main clock generated by the source Bluetooth device, control the first clock adjustment circuit to generate and the first main time A first slave clock and a second master clock synchronized with the pulse; and controlling the first Bluetooth communication circuit to transmit or receive packets in the first Bluetooth piconet according to the first slave clock, and control the first The Bluetooth communication circuit transmits or receives packets in the second Bluetooth picone based on the second master clock, so that the secondary Bluetooth circuit transmits or receives packets in the second Bluetooth micro network based on a second slave clock synchronized with the second master clock. Send or receive packets in the network.

上述實施例的優點之一,是主藍牙電路會將其內部的第一從時脈與第二主時脈皆同步於來源藍牙裝置所決定的第一主時脈,所以第一時脈調整電路可用較簡化的電路架構來實現。 One of the advantages of the above embodiment is that the master Bluetooth circuit synchronizes its internal first slave clock and second master clock with the first master clock determined by the source Bluetooth device, so the first clock adjustment circuit It can be implemented with a simplified circuit architecture.

上述實施例的另一優點,是主藍牙電路所使用的第一從時脈與第二主時脈皆與第一主時脈同步,因此能有效提升主藍牙電路的藍牙頻寬使用效率。 Another advantage of the above-mentioned embodiment is that the first slave clock and the second master clock used by the master Bluetooth circuit are synchronized with the first master clock, which can effectively improve the Bluetooth bandwidth utilization efficiency of the master Bluetooth circuit.

本說明書另提供一種多成員藍牙裝置中的副藍牙電路的實施例。該多成員藍牙裝置用於與一來源藍牙裝置進行資料傳輸,且包含一主藍牙電路及該副藍牙電路。該來源藍牙裝置扮演一第一藍牙微網中的一主裝置。該主藍牙電路扮演該第一藍牙微網中的一從裝置、並扮演一第二藍牙微網中的一主裝置。該主藍牙電路設置成依據一第 一音訊取樣時脈取樣一第一音訊資料,並依據該來源藍牙裝置所產生的一第一主時脈的時序資料,產生與該第一主時脈同步的一第一從時脈和一第二主時脈,以依據該第一從時脈在該第一藍牙微網中傳送或接收封包,並依據該第二主時脈在該第二藍牙微網中傳送或接收封包。該副藍牙電路包含:一第二藍牙通信電路;一第二時脈調整電路;一第二控制電路,耦接於該第二藍牙通信電路與該第二時脈調整電路,設置成控制該副藍牙電路扮演該第二藍牙微網中的一從裝置;一第二取樣時脈調整電路,耦接於該第二控制電路;以及一第二非同步取樣率轉換電路,耦接於該第二取樣時脈調整電路,設置成依據一第二音訊取樣時脈取樣一第二音訊資料,並將取樣後的資料傳送給一第二播放電路進行播放;其中,該第二控制電路還設置成進行以下運作:依據該第二主時脈的時序資料,控制該第二時脈調整電路產生與該第二主時脈同步的一第二從時脈;以及控制該第二藍牙通信電路依據該第二從時脈在該第二藍牙微網中傳送或接收封包。 This specification also provides an embodiment of a secondary Bluetooth circuit in a multi-member Bluetooth device. The multi-member Bluetooth device is used for data transmission with a source Bluetooth device, and includes a main Bluetooth circuit and the auxiliary Bluetooth circuit. The source Bluetooth device acts as a master device in a first Bluetooth piconet. The master Bluetooth circuit acts as a slave device in the first Bluetooth piconet, and acts as a master device in a second Bluetooth piconet. The main Bluetooth circuit is set up according to a first An audio sampling clock samples a first audio data, and based on the timing data of a first master clock generated by the source Bluetooth device, a first slave clock and a second clock synchronized with the first master clock are generated. Two master clocks to transmit or receive packets in the first Bluetooth picone based on the first slave clock, and transmit or receive packets in the second Bluetooth picone based on the second master clock. The auxiliary Bluetooth circuit includes: a second Bluetooth communication circuit; a second clock adjustment circuit; a second control circuit, coupled to the second Bluetooth communication circuit and the second clock adjustment circuit, configured to control the auxiliary The Bluetooth circuit acts as a slave device in the second Bluetooth piconet; a second sampling clock adjustment circuit, coupled to the second control circuit; and a second asynchronous sampling rate conversion circuit, coupled to the second The sampling clock adjustment circuit is configured to sample a second audio data according to a second audio sampling clock, and send the sampled data to a second playback circuit for playback; wherein the second control circuit is also configured to perform The following operations: according to the timing data of the second master clock, control the second clock adjustment circuit to generate a second slave clock synchronized with the second master clock; and control the second Bluetooth communication circuit according to the first The second slave clock transmits or receives packets in the second Bluetooth piconet.

上述實施例的優點之一,是副藍牙電路所使用的第二從時脈與第二主時脈同步,也間接與第一主時脈同步,因此能有效提升副藍牙電路的藍牙頻寬使用效率。 One of the advantages of the above embodiment is that the second slave clock used by the secondary Bluetooth circuit is synchronized with the second master clock and indirectly synchronized with the first master clock. Therefore, the Bluetooth bandwidth usage of the secondary Bluetooth circuit can be effectively improved. effectiveness.

上述實施例的另一優點,是副藍牙電路所使用的第二音訊取樣時脈,會間接與主藍牙電路所使用的第一音訊取樣時脈同步,所以第二播放電路的音訊播放運作也會跟第一播放電路的音訊播放運作彼此同步。 Another advantage of the above embodiment is that the second audio sampling clock used by the secondary Bluetooth circuit is indirectly synchronized with the first audio sampling clock used by the main Bluetooth circuit, so the audio playback operation of the second playback circuit will also be The audio playback operation of the first playback circuit is synchronized with each other.

本發明的其他優點將搭配以下的說明和圖式進行更詳細的解說。 Other advantages of the present invention will be explained in more detail with the following description and drawings.

100:多成員藍牙裝置(multi-member Bluetooth device) 100: Multi-member Bluetooth device

102:來源藍牙裝置(source Bluetooth device) 102: source Bluetooth device

110:主藍牙電路(main Bluetooth circuit) 110: main Bluetooth circuit

111:第一藍牙通信電路(first Bluetooth communication circuit) 111: first Bluetooth communication circuit

112:第一封包解析電路(first packet parsing circuit) 112: first packet parsing circuit

113:第一時脈調整電路(first clock adjusting circuit) 113: first clock adjusting circuit (first clock adjusting circuit)

114:第一控制電路(first control circuit) 114: first control circuit

115:第一緩衝電路(first buffer circuit) 115: first buffer circuit

116:第一取樣時脈調整電路(first sampling-clock adjusting circuit) 116: first sampling-clock adjusting circuit (first sampling-clock adjusting circuit)

117:第一非同步取樣率轉換電路(first asynchronous sample rate conversion circuit) 117: first asynchronous sample rate conversion circuit

118:第一播放電路(first playback circuit) 118: first playback circuit

120:副藍牙電路(auxiliary Bluetooth circuit) 120: auxiliary Bluetooth circuit

121:第二藍牙通信電路(second Bluetooth communication circuit) 121: second Bluetooth communication circuit

122:第二封包解析電路(second packet parsing circuit) 122: second packet parsing circuit

123:第二時脈調整電路(second clock adjusting circuit) 123: second clock adjusting circuit

124:第二控制電路(second control circuit) 124: second control circuit

125:第二緩衝電路(second buffer circuit) 125: second buffer circuit

126:第二取樣時脈調整電路(second sampling-clock adjusting circuit) 126: second sampling-clock adjusting circuit (second sampling-clock adjusting circuit)

127:第二非同步取樣率轉換電路(second asynchronous sample rate conversion circuit) 127: second asynchronous sample rate conversion circuit (second asynchronous sample rate conversion circuit)

128:第二播放電路(second playback circuit) 128: second playback circuit

202~226、422~426:運作流程(operation) 202~226, 422~426: operation

310:第一藍牙微網(first piconet) 310: The first Bluetooth piconet (first piconet)

320:第二藍牙微網(second piconet) 320: second piconet (second piconet)

圖1為本發明一實施例的多成員藍牙裝置簡化後的功能方塊圖。 FIG. 1 is a simplified functional block diagram of a multi-member Bluetooth device according to an embodiment of the present invention.

圖2為本發明用來同步不同藍牙電路的音訊播放運作的方法的一實施例簡化後的流程圖。 2 is a simplified flowchart of an embodiment of the method for synchronizing audio playback operations of different Bluetooth circuits according to the present invention.

圖3為圖1的多成員藍牙裝置構成一星狀網路的一實施例簡化後的示意圖。 3 is a simplified schematic diagram of an embodiment in which the multi-member Bluetooth devices of FIG. 1 constitute a star network.

圖4為本發明用來同步不同藍牙電路的音訊播放運作的方法的另一實施例簡化後的流程圖。 4 is a simplified flowchart of another embodiment of the method for synchronizing audio playback operations of different Bluetooth circuits according to the present invention.

以下將配合相關圖式來說明本發明的實施例。在圖式中,相同的標號表示相同或類似的元件或方法流程。 The embodiments of the present invention will be described below in conjunction with related drawings. In the drawings, the same reference numerals indicate the same or similar elements or method flows.

圖1為本發明一實施例的多成員藍牙裝置100簡化後的功能方塊圖。多成員藍牙裝置100用於與一來源藍牙裝置102進行資料傳輸,且包含多個成員電路(member circuit)。為了方便說明起見,在圖1的實施例中僅繪示兩個成員電路,分別是主藍牙電路110、以及副藍牙電路120。 FIG. 1 is a simplified functional block diagram of a multi-member Bluetooth device 100 according to an embodiment of the present invention. The multi-member Bluetooth device 100 is used for data transmission with a source Bluetooth device 102 and includes a plurality of member circuits. For the convenience of description, only two member circuits are shown in the embodiment of FIG. 1, namely the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120.

在本實施例中,多成員藍牙裝置100中的所有成員電路都有類似的主要電路架構,但在不同的成員電路中可以設置不同的額外電路元件,而不侷限所有成員電路的電路結構都要完全相同。例如,如圖1所示,主藍牙電路110包含有一第一藍牙通信電路111、一第一封包解析電路112、一第一時脈調整電路113、一第一控制電路114、一第一緩衝電路115、一第一取樣時脈調整電路116、一第一非同步取樣率轉換電路117、以及一第一播放電路118。相仿地,副藍牙電路120包含有一第二藍牙通信電路121、一第二封包解析電路122、一第二時脈調整電路123、一第二控制電路124、一第二緩衝電路125、一第二取樣時脈調整電路126、一第二非同步取樣率轉換電路127、以及一第二播放電路128。 In this embodiment, all member circuits in the multi-member Bluetooth device 100 have similar main circuit architectures, but different additional circuit elements can be set in different member circuits, and the circuit structure of all member circuits is not limited. Exactly the same. For example, as shown in FIG. 1, the main Bluetooth circuit 110 includes a first Bluetooth communication circuit 111, a first packet analysis circuit 112, a first clock adjustment circuit 113, a first control circuit 114, and a first buffer circuit. 115. A first sampling clock adjustment circuit 116, a first asynchronous sampling rate conversion circuit 117, and a first playback circuit 118. Similarly, the secondary Bluetooth circuit 120 includes a second Bluetooth communication circuit 121, a second packet analysis circuit 122, a second clock adjustment circuit 123, a second control circuit 124, a second buffer circuit 125, and a second The sampling clock adjustment circuit 126, a second asynchronous sampling rate conversion circuit 127, and a second playback circuit 128.

在主藍牙電路110中,第一藍牙通信電路111設置成可用於跟其他藍牙裝置進行資料通信。第一封包解析電路112設置成可用於解析第一藍牙通信電路111接收到的藍牙封包。第一時脈調整電路113設置成可用於調整主藍牙電路110的部分工作時脈信號,以同步主藍牙 電路110與其他藍牙裝置之間所使用的微網時脈(piconet clock)。 In the main Bluetooth circuit 110, the first Bluetooth communication circuit 111 is configured to be used for data communication with other Bluetooth devices. The first packet parsing circuit 112 is configured to be used for parsing the Bluetooth packet received by the first Bluetooth communication circuit 111. The first clock adjustment circuit 113 is configured to adjust part of the working clock signal of the main Bluetooth circuit 110 to synchronize the main Bluetooth The piconet clock used between the circuit 110 and other Bluetooth devices.

第一控制電路114耦接於第一藍牙通信電路111、第一封包解析電路112、與第一時脈調整電路113,設置成控制前述電路的運作方式。在運作時,第一控制電路114可透過第一藍牙通信電路111以藍牙無線傳輸方式直接與來源藍牙裝置102進行資料通信,以及透過第一藍牙通信電路111與其他成員電路進行資料通信。第一控制電路114還會利用第一封包解析電路112解析第一藍牙通信電路111所接收到的封包,以獲取相關的資料或指令。 The first control circuit 114 is coupled to the first Bluetooth communication circuit 111, the first packet analysis circuit 112, and the first clock adjustment circuit 113, and is configured to control the operation of the aforementioned circuits. In operation, the first control circuit 114 can directly communicate with the source Bluetooth device 102 through the first Bluetooth communication circuit 111 in a Bluetooth wireless transmission mode, and communicate with other member circuits through the first Bluetooth communication circuit 111. The first control circuit 114 also uses the first packet parsing circuit 112 to parse the packet received by the first Bluetooth communication circuit 111 to obtain related data or instructions.

第一緩衝電路115可用於儲存待播放的音訊資料(以下稱為第一音訊資料)。實作上,前述的第一音訊資料,可以是製造商或使用者預先存入第一緩衝電路115的音訊資料、來源藍牙裝置102傳來的音訊資料、其他藍牙電路(例如,副藍牙電路120)傳來的音訊資料、或是其他電路傳來的音訊資料。 The first buffer circuit 115 can be used to store audio data to be played (hereinafter referred to as the first audio data). In practice, the aforementioned first audio data may be the audio data stored in the first buffer circuit 115 in advance by the manufacturer or user, the audio data from the source Bluetooth device 102, and other Bluetooth circuits (for example, the secondary Bluetooth circuit 120). ) Audio data, or audio data from other circuits.

第一取樣時脈調整電路116耦接於第一控制電路114,且設置成依據第一控制電路114的控制,產生第一音訊取樣時脈。 The first sampling clock adjustment circuit 116 is coupled to the first control circuit 114, and is configured to generate a first audio sampling clock according to the control of the first control circuit 114.

第一非同步取樣率轉換電路117耦接於第一取樣時脈調整電路116與第一播放電路118,且設置成依據該第一音訊取樣時脈對第一緩衝電路115中的第一音訊資料進行取樣,並將取樣後的資料傳送給第一播放電路118進行播放。 The first asynchronous sampling rate conversion circuit 117 is coupled to the first sampling clock adjustment circuit 116 and the first playback circuit 118, and is configured to compare the first audio data in the first buffer circuit 115 according to the first audio sampling clock. Sampling is performed, and the sampled data is sent to the first playback circuit 118 for playback.

在副藍牙電路120中,第二藍牙通信電路121設置成可用於跟其他藍牙裝置進行資料通信。第二封包解析電路122設置成可用於解析第二藍牙通信電路121接收到的藍牙封包。第二時脈調整電路123設置成可用於調整副藍牙電路120的部分工作時脈信號,以同步副藍牙電路120與其他藍牙裝置之間所使用的微網時脈。 In the secondary Bluetooth circuit 120, the second Bluetooth communication circuit 121 is configured to be used for data communication with other Bluetooth devices. The second packet parsing circuit 122 is configured to be used for parsing the Bluetooth packet received by the second Bluetooth communication circuit 121. The second clock adjustment circuit 123 is configured to adjust a part of the working clock signal of the secondary Bluetooth circuit 120 to synchronize the microgrid clock used between the secondary Bluetooth circuit 120 and other Bluetooth devices.

第二控制電路124耦接於第二藍牙通信電路121、第二封包解析電路122、與第二時脈調整電路123,設置成控制前述電路的運作方式。在運作時,第二控制電路124可透過第二藍牙通信電路121以藍牙無 線傳輸方式與其他藍牙裝置進行資料通信,以及透過第二藍牙通信電路121與其他成員電路進行資料通信。第二控制電路124還會利用第二封包解析電路122解析第二藍牙通信電路121所接收到的封包,以獲取相關的資料或指令。 The second control circuit 124 is coupled to the second Bluetooth communication circuit 121, the second packet analysis circuit 122, and the second clock adjustment circuit 123, and is configured to control the operation of the aforementioned circuits. In operation, the second control circuit 124 can communicate with Bluetooth via the second Bluetooth communication circuit 121. It communicates data with other Bluetooth devices through wire transmission, and communicates data with other member circuits through the second Bluetooth communication circuit 121. The second control circuit 124 also uses the second packet analysis circuit 122 to parse the packet received by the second Bluetooth communication circuit 121 to obtain related data or instructions.

第二緩衝電路125可用於儲存待播放的音訊資料(以下稱為第二音訊資料)。實作上,前述的第二音訊資料,可以是製造商或使用者預先存入第二緩衝電路125的音訊資料、來源藍牙裝置102傳來的音訊資料、其他藍牙電路(例如,主藍牙電路110)傳來的音訊資料、或是其他電路傳來的音訊資料。 The second buffer circuit 125 can be used to store audio data to be played (hereinafter referred to as second audio data). In practice, the aforementioned second audio data can be the audio data stored in the second buffer circuit 125 in advance by the manufacturer or user, the audio data from the source Bluetooth device 102, or other Bluetooth circuits (for example, the main Bluetooth circuit 110). ) Audio data, or audio data from other circuits.

第二取樣時脈調整電路126耦接於第二控制電路124,且設置成依據第二控制電路124的控制,產生第二音訊取樣時脈。 The second sampling clock adjustment circuit 126 is coupled to the second control circuit 124 and is configured to generate a second audio sampling clock according to the control of the second control circuit 124.

第二非同步取樣率轉換電路127耦接於第二取樣時脈調整電路126與第二播放電路128,且設置成依據該第二音訊取樣時脈對第二緩衝電路125中的第二音訊資料進行取樣,並將取樣後的資料傳送給第二播放電路128進行播放。 The second asynchronous sampling rate conversion circuit 127 is coupled to the second sampling clock adjustment circuit 126 and the second playback circuit 128, and is configured to compare the second audio data in the second buffer circuit 125 according to the second audio sampling clock. Sampling is performed, and the sampled data is sent to the second playback circuit 128 for playback.

實作上,前述的第一藍牙通信電路111與第二藍牙通信電路121,皆可用能夠支援各種版本的藍牙通信協定的合適無線通信電路來實現。前述的第一封包解析電路112與第二封包解析電路122,皆可用各種封包解調變電路、數位運算電路、微處理器、或是特殊應用積體電路(Application Specific Integrated Circuit,ASIC)來實現。前述的第一時脈調整電路113、第二時脈調整電路123、第一取樣時脈調整電路116、與第二取樣時脈調整電路126,皆可用各種能夠比對及調整時脈頻率和/或時脈相位的合適電路來實現,例如,各種鎖相迴路(phase-locked loop,PLL)或是延遲鎖定迴路(delay-locked loop,DLL)等等。前述的第一控制電路114與第二控制電路124,皆可用具有適當運算能力的各種微處理器或數位信號處理電路來實現。前述的第一緩衝電路115與第二緩衝電路125,皆可用各種揮發性儲存電路或 非揮發性儲存電路來實現。前述的第一非同步取樣率轉換電路117與第二非同步取樣率轉換電路127,皆可用各種合適的數位電路、類比電路、或是數位與類比混合電路來實現。前述的第一播放電路118與第二播放電路128,皆可用各種合適的數位音訊播放電路、類比音訊播放電路、或是數位與類比混合播放電路來實現。 In practice, both the aforementioned first Bluetooth communication circuit 111 and the second Bluetooth communication circuit 121 can be implemented by suitable wireless communication circuits that can support various versions of Bluetooth communication protocols. Both the aforementioned first packet analysis circuit 112 and the second packet analysis circuit 122 can be implemented by various packet demodulation circuits, digital arithmetic circuits, microprocessors, or application specific integrated circuits (ASICs). achieve. The aforementioned first clock adjustment circuit 113, second clock adjustment circuit 123, first sampling clock adjustment circuit 116, and second sampling clock adjustment circuit 126 can all be used to compare and adjust the clock frequency and/ Or the appropriate circuit of the clock phase can be implemented, for example, various phase-locked loops (PLL) or delay-locked loops (DLL) and so on. Both the aforementioned first control circuit 114 and the second control circuit 124 can be implemented by various microprocessors or digital signal processing circuits with appropriate computing capabilities. The aforementioned first buffer circuit 115 and second buffer circuit 125 can be used with various volatile storage circuits or Non-volatile storage circuit to achieve. The aforementioned first asynchronous sampling rate conversion circuit 117 and the second asynchronous sampling rate conversion circuit 127 can be implemented by various suitable digital circuits, analog circuits, or digital and analog hybrid circuits. The aforementioned first playback circuit 118 and second playback circuit 128 can be implemented by various suitable digital audio playback circuits, analog audio playback circuits, or mixed digital and analog playback circuits.

在某些實施例中,也可以將第一時脈調整電路113或第二時脈調整電路123整合到第一控制電路114或第二控制電路124中,也可以將第一取樣時脈調整電路116或第二取樣時脈調整電路126整合到第一控制電路114或第二控制電路124中。另外,也可以將前述的第一封包解析電路112與第二封包解析電路122,分別整合到前述的第一藍牙通信電路111與第二藍牙通信電路121中。 In some embodiments, the first clock adjustment circuit 113 or the second clock adjustment circuit 123 can also be integrated into the first control circuit 114 or the second control circuit 124, and the first sampling clock adjustment circuit can also be integrated 116 or the second sampling clock adjustment circuit 126 is integrated into the first control circuit 114 or the second control circuit 124. In addition, the aforementioned first packet analysis circuit 112 and the second packet analysis circuit 122 may be integrated into the aforementioned first Bluetooth communication circuit 111 and the second Bluetooth communication circuit 121, respectively.

換言之,前述的第一藍牙通信電路111與第一封包解析電路112有可能用不同的電路來實現,也可能用同一個電路來實現。同樣地,前述的第二藍牙通信電路121與第二封包解析電路122有可能用不同的電路來實現,也可能用同一個電路來實現。 In other words, the aforementioned first Bluetooth communication circuit 111 and the first packet analysis circuit 112 may be implemented by different circuits, or may be implemented by the same circuit. Similarly, the aforementioned second Bluetooth communication circuit 121 and the second packet analysis circuit 122 may be implemented by different circuits, or may be implemented by the same circuit.

在應用時,也可以將前述主藍牙電路110中的不同功能方塊整合在一單一電路晶片中。例如,主藍牙電路110中的所有功能方塊或是除了第一播放電路118以外的其他功能方塊,可以整合在一單一藍牙控制晶片(Bluetooth controller IC)中。同樣地,副藍牙電路120中的所有功能方塊或是除了第二播放電路128以外的其他功能方塊,也可以整合在另一個單一藍牙控制晶片中。 In application, different functional blocks of the aforementioned main Bluetooth circuit 110 can also be integrated into a single circuit chip. For example, all the functional blocks in the main Bluetooth circuit 110 or other functional blocks except the first playback circuit 118 can be integrated into a single Bluetooth controller IC. Similarly, all the functional blocks in the secondary Bluetooth circuit 120 or other functional blocks except the second playback circuit 128 can also be integrated into another single Bluetooth control chip.

在實際應用上,多成員藍牙裝置100可用來實現由多個成員電路互相搭配使用的藍牙裝置,例如,成對的藍牙耳機、成組的藍牙喇叭等等。來源藍牙裝置102則可用各種電腦、手機、平板、智慧音箱、遊戲機等具有藍牙通訊功能的電子設備來實現。 In practical applications, the multi-member Bluetooth device 100 can be used to implement a Bluetooth device that is used by multiple member circuits in conjunction with each other, for example, a pair of Bluetooth headsets, a group of Bluetooth speakers, and so on. The source Bluetooth device 102 can be implemented by various electronic devices with Bluetooth communication functions such as computers, mobile phones, tablets, smart speakers, and game consoles.

由前述說明可知,多成員藍牙裝置100中的不同成員電路可透過各自的藍牙通信電路彼此進行資料通信,以形成各式型態的藍牙網路。 當多成員藍牙裝置100與來源藍牙裝置102進行資料通信時,來源藍牙裝置102會將多成員藍牙裝置100視為單一藍牙裝置來對待。 It can be seen from the foregoing description that different member circuits in the multi-member Bluetooth device 100 can communicate with each other through their respective Bluetooth communication circuits to form various types of Bluetooth networks. When the multi-member Bluetooth device 100 communicates with the source Bluetooth device 102, the source Bluetooth device 102 treats the multi-member Bluetooth device 100 as a single Bluetooth device.

主藍牙電路110可採用各種已知的機制接收來源藍牙裝置102發出的封包,而副藍牙電路120則可在主藍牙電路110運作的過程中,利用適當的機制獲取來源藍牙裝置102發出的封包。 The main Bluetooth circuit 110 can use various known mechanisms to receive the packets sent by the source Bluetooth device 102, and the secondary Bluetooth circuit 120 can use appropriate mechanisms to obtain the packets sent by the source Bluetooth device 102 during the operation of the main Bluetooth circuit 110.

例如,在主藍牙電路110接收來源藍牙裝置102發出的封包的過程中,副藍牙電路120可操作在一嗅探模式(sniffing mode)以主動嗅探來源藍牙裝置102發出的封包。或者,副藍牙電路120可操作在一間接收訊模式(relay mode),只被動地接收主藍牙電路110接收到來源藍牙裝置102發出的封包後所轉傳來的封包,而不主動嗅探來源藍牙裝置102發出的封包。 For example, when the main Bluetooth circuit 110 receives a packet sent by the source Bluetooth device 102, the secondary Bluetooth circuit 120 can operate in a sniffing mode to actively sniff the packet sent by the source Bluetooth device 102. Alternatively, the secondary Bluetooth circuit 120 can operate in a relay mode, and only passively receive the packets forwarded after the primary Bluetooth circuit 110 receives the packets sent by the source Bluetooth device 102, without actively sniffing the source. A packet sent by the Bluetooth device 102.

請注意,在說明書及申請專利範圍中所指稱的「主藍牙電路」與「副藍牙電路」兩個名詞,只是為了方便區分不同成員電路接收來源藍牙裝置102發出的封包的方式有所不同,並不表示主藍牙電路110對於副藍牙電路120的其他運作面向上是否具有某種程度的控制權限。實作上,主藍牙電路110與副藍牙電路120兩者所扮演的角色,也可以間歇性互換、週期性互換、或是在滿足某些條件的情況下互換。 Please note that the two terms "main Bluetooth circuit" and "secondary Bluetooth circuit" referred to in the specification and the scope of the patent application are just for the convenience of distinguishing different member circuits in different ways of receiving packets from the source Bluetooth device 102, and It does not indicate whether the main Bluetooth circuit 110 has a certain degree of control authority over other operations of the auxiliary Bluetooth circuit 120. In practice, the roles played by the primary Bluetooth circuit 110 and the secondary Bluetooth circuit 120 can also be interchanged intermittently, periodically, or when certain conditions are met.

以下將搭配圖2至圖3來進一步說明多成員藍牙裝置100的運作方式。圖2為本發明用來同步不同藍牙電路的音訊播放運作的方法的一實施例簡化後的流程圖。圖3為多成員藍牙裝置100構成一星狀網路(scatternet)的一實施例簡化後的示意圖。 Hereinafter, the operation mode of the multi-member Bluetooth device 100 will be further explained in conjunction with FIGS. 2 is a simplified flowchart of an embodiment of the method for synchronizing audio playback operations of different Bluetooth circuits according to the present invention. FIG. 3 is a simplified schematic diagram of an embodiment in which a multi-member Bluetooth device 100 forms a scatternet.

在圖2的流程圖中,位於一特定裝置所屬欄位中的流程,即代表由該特定裝置所進行的流程。例如,標記在「來源藍牙裝置」欄位中的部分,是由來源藍牙裝置102所進行的流程;標記在「主藍牙電路」欄位中的部分,是由主藍牙電路110所進行的流程;標記在「副藍牙電路」欄位中的部分,是由副藍牙電路120所進行的流程, 前述的邏輯也適用於後續的其他流程圖中。 In the flowchart of FIG. 2, the process located in the column of a specific device represents the process performed by the specific device. For example, the part marked in the "source Bluetooth device" field is the process performed by the source Bluetooth device 102; the part marked in the "main Bluetooth circuit" field is the process performed by the main Bluetooth circuit 110; The part marked in the "Secondary Bluetooth Circuit" column is the process performed by the secondary Bluetooth circuit 120. The aforementioned logic is also applicable to other subsequent flowcharts.

如圖2所示,多成員藍牙裝置100中的主藍牙電路110會與來源藍牙裝置102先進行流程202,以利用各種符合藍牙通訊標準所規範的方式建立如圖3所示的第一藍牙微網310。在流程202中,來源藍牙裝置102會扮演第一藍牙微網310中的主裝置(master),而多成員藍牙裝置100中的主藍牙電路110則會扮演第一藍牙微網310中的從裝置(slave)。 As shown in FIG. 2, the main Bluetooth circuit 110 in the multi-member Bluetooth device 100 and the source Bluetooth device 102 will first perform the process 202 to establish the first Bluetooth micro-device shown in FIG. 3 in various ways that comply with the Bluetooth communication standards.网310. In the process 202, the source Bluetooth device 102 will act as the master device in the first Bluetooth piconet 310, and the master Bluetooth circuit 110 in the multi-member Bluetooth device 100 will act as the slave device in the first Bluetooth piconet 310 (slave).

在流程204中,來源藍牙裝置102會產生一第一主時脈CLK_P1M,並依據第一主時脈CLK_P1M在第一藍牙微網310中排程(schedule)藍牙封包的傳送或接收時序。因此,第一主時脈CLK_P1M不只是來源藍牙裝置102的原始系統時脈(native system clock),同時也是第一藍牙微網310中的主裝置時脈(master clock)。 In the process 204, the source Bluetooth device 102 generates a first main clock CLK_P1M, and schedules the transmission or reception timing of Bluetooth packets in the first Bluetooth piconet 310 according to the first main clock CLK_P1M. Therefore, the first master clock CLK_P1M is not only the native system clock of the source Bluetooth device 102, but also the master clock of the first Bluetooth piconet 310.

此外,來源藍牙裝置102可產生及傳送包含第一主時脈CLK_P1M的時序資料的一第一微網時序封包到第一藍牙微網310中。實作上,來源藍牙裝置102可利用各種合適的資料,來做為第一主時脈CLK_P1M的時序資料。例如,來源藍牙裝置102可利用第一主時脈CLK_P1M的特定邊緣(例如,上升緣)的計數值(count value)來做為第一主時脈CLK_P1M的時序資料,並將第一主時脈CLK_P1M所對應的計數值寫入一跳頻同步封包(frequency hop synchronization packet,FHS packet)中,以形成該第一微網時序封包。 In addition, the source Bluetooth device 102 can generate and transmit a first piconet timing packet including timing data of the first master clock CLK_P1M to the first Bluetooth picone 310. In practice, the source Bluetooth device 102 can use various suitable data as the timing data of the first main clock CLK_P1M. For example, the source Bluetooth device 102 can use the count value of a specific edge (for example, rising edge) of the first main clock CLK_P1M as the timing data of the first main clock CLK_P1M, and set the first main clock The counter value corresponding to CLK_P1M is written into a frequency hop synchronization packet (FHS packet) to form the first piconet timing packet.

在流程206中,主藍牙電路110可依據第一主時脈CLK_P1M的時序資料,產生與第一主時脈CLK_P1M同步的一第一從時脈CLK_P1S1,以做為第一藍牙微網310中的從裝置時脈(slave clock)。實作上,第一藍牙通信電路111可透過第一藍牙微網310,接收來源藍牙裝置102產生的第一微網時序封包,而第一控制電路114可控制第一封包解析電路112,從第一微網時序封包中獲取前述第一主時脈CLK_P1M的時序資料,例如,相關的計數值。 In the process 206, the master Bluetooth circuit 110 can generate a first slave clock CLK_P1S1 that is synchronized with the first master clock CLK_P1M according to the timing data of the first master clock CLK_P1M to serve as the first slave clock CLK_P1S1 in the first Bluetooth piconet 310 Slave clock (slave clock). In practice, the first Bluetooth communication circuit 111 can receive the first piconet timing packet generated by the source Bluetooth device 102 through the first Bluetooth piconet 310, and the first control circuit 114 can control the first packet parsing circuit 112, A piconet timing packet obtains the timing data of the aforementioned first main clock CLK_P1M, for example, the related count value.

接著,第一控制電路114可依據第一主時脈CLK_P1M的時序資料,控制第一時脈調整電路113產生與第一主時脈CLK_P1M同步的第一從時脈CLK_P1S1。例如,第一控制電路114可依據第一主時脈CLK_P1M的時序資料,控制第一時脈調整電路113調整一第一參考時脈CLK_R1的頻率和/或相位偏移量,以產生頻率實質上與第一主時脈CLK_P1M相同、且相位實質上對齊於第一主時脈CLK_P1M的第一從時脈CLK_P1S1。實作上,前述的第一參考時脈CLK_R1可以是由位於主藍牙電路110內部或外部的各種合適的時脈產生電路所產生。 Then, the first control circuit 114 can control the first clock adjustment circuit 113 to generate the first slave clock CLK_P1S1 synchronized with the first master clock CLK_P1M according to the timing data of the first master clock CLK_P1M. For example, the first control circuit 114 can control the first clock adjustment circuit 113 to adjust the frequency and/or phase offset of a first reference clock CLK_R1 according to the timing data of the first main clock CLK_P1M to generate a frequency substantially The same as the first master clock CLK_P1M and the phase is substantially aligned with the first slave clock CLK_P1S1 of the first master clock CLK_P1M. In practice, the aforementioned first reference clock CLK_R1 can be generated by various suitable clock generation circuits inside or outside the main Bluetooth circuit 110.

在運作時,第一控制電路114可控制第一藍牙通信電路111依據第一從時脈CLK_P1S1,在第一藍牙微網310中排程藍牙封包的傳送或接收時序。 In operation, the first control circuit 114 can control the first Bluetooth communication circuit 111 to schedule the transmission or reception timing of Bluetooth packets in the first Bluetooth piconet 310 according to the first slave clock CLK_P1S1.

在流程208中,多成員藍牙裝置100中的主藍牙電路110與副藍牙電路120,可利用各種符合藍牙通訊標準所規範的方式建立如圖3所示的第二藍牙微網320。在本實施例中,主藍牙電路110會扮演第二藍牙微網320中的主裝置,而副藍牙電路120則會扮演第二藍牙微網320中的從裝置。 In the process 208, the primary Bluetooth circuit 110 and the secondary Bluetooth circuit 120 in the multi-member Bluetooth device 100 can establish the second Bluetooth piconet 320 as shown in FIG. 3 in various ways that comply with the Bluetooth communication standards. In this embodiment, the main Bluetooth circuit 110 will act as the master device in the second Bluetooth piconet 320, and the secondary Bluetooth circuit 120 will act as the slave device in the second Bluetooth piconet 320.

換言之,主藍牙電路110不僅屬於前述的第一藍牙微網310,也同時屬於第二藍牙微網320。 In other words, the main Bluetooth circuit 110 not only belongs to the aforementioned first Bluetooth piconet 310, but also belongs to the second Bluetooth piconet 320 at the same time.

在流程210中,第一控制電路114可依據第一主時脈CLK_P1M的時序資料或是第一從時脈CLK_P1S1的時序資料,控制第一時脈調整電路113產生與第一主時脈CLK_P1M同步的第二主時脈CLK_P2M。例如,第一控制電路114可依據第一主時脈CLK_P1M的時序資料或是第一從時脈CLK_P1S1的時序資料,控制第一時脈調整電路113調整前述第一參考時脈CLK_R1的頻率和/或相位偏移量,以產生頻率實質上與第一主時脈CLK_P1M相同、且相位實質上對齊於第一主時脈CLK_P1M的第二主時脈CLK_P2M。 In the process 210, the first control circuit 114 can control the first clock adjustment circuit 113 to generate synchronization with the first master clock CLK_P1M according to the timing data of the first master clock CLK_P1M or the first slave clock CLK_P1S1 The second main clock CLK_P2M. For example, the first control circuit 114 can control the first clock adjustment circuit 113 to adjust the frequency and/or of the aforementioned first reference clock CLK_R1 according to the timing data of the first master clock CLK_P1M or the first slave clock CLK_P1S1. Or the phase offset to generate a second main clock CLK_P2M whose frequency is substantially the same as that of the first main clock CLK_P1M and whose phase is substantially aligned with the first main clock CLK_P1M.

在運作時,第一控制電路114可控制第一藍牙通信電路111依據第二主時脈CLK_P2M,在第二藍牙微網320中排程藍牙封包的傳送或接收時序。因此,第二主時脈CLK_P2M不只是主藍牙電路110的原始系統時脈(native system clock),同時也是第二藍牙微網320中的主裝置時脈(master clock)。 In operation, the first control circuit 114 can control the first Bluetooth communication circuit 111 to schedule the transmission or reception timing of Bluetooth packets in the second Bluetooth piconet 320 according to the second main clock CLK_P2M. Therefore, the second main clock CLK_P2M is not only the native system clock of the main Bluetooth circuit 110, but also the master clock of the second Bluetooth piconet 320.

由前述說明可知,第一時脈調整電路113所產生的第一從時脈CLK_P1S1與第二主時脈CLK_P2M,兩者皆會與來源藍牙裝置102所產生的第一主時脈CLK_P1M同步。亦即,第一從時脈CLK_P1S1與第二主時脈CLK_P2M兩者的頻率皆實質上與第一主時脈CLK_P1M相同,且兩者的相位皆實質上對齊於第一主時脈CLK_P1M。 It can be seen from the foregoing description that the first slave clock CLK_P1S1 and the second master clock CLK_P2M generated by the first clock adjustment circuit 113 are both synchronized with the first master clock CLK_P1M generated by the source Bluetooth device 102. That is, the frequencies of both the first slave clock CLK_P1S1 and the second master clock CLK_P2M are substantially the same as the first master clock CLK_P1M, and the phases of both are substantially aligned with the first master clock CLK_P1M.

實作上,第一控制電路114可分別賦予前述的第一從時脈CLK_P1S1與第二主時脈CLK_P2M不同的計數值。 In practice, the first control circuit 114 can respectively assign different count values to the aforementioned first slave clock CLK_P1S1 and the second master clock CLK_P2M.

前述將主藍牙電路110內部的第一從時脈CLK_P1S1與第二主時脈CLK_P2M兩者彼此同步的方式,可有效提升主藍牙電路110的藍牙頻寬使用效率。 The aforementioned method of synchronizing the first slave clock CLK_P1S1 and the second master clock CLK_P2M in the master Bluetooth circuit 110 with each other can effectively improve the Bluetooth bandwidth utilization efficiency of the master Bluetooth circuit 110.

此外,在前述的流程210中,第一控制電路114還可產生包含第二主時脈CLK_P2M的時序資料的第二微網時序封包,並利用第一藍牙通信電路111將第二微網時序封包傳送到第二藍牙微網320中。實作上,第一控制電路114可利用各種合適的資料,來做為第二主時脈CLK_P2M的時序資料。例如,第一控制電路114可利用第二主時脈CLK_P2M的特定邊緣(例如,上升緣)的計數值來做為第二主時脈CLK_P2M的時序資料,並將第二主時脈CLK_P2M所對應的計數值寫入一跳頻同步封包中,以形成該第二微網時序封包。 In addition, in the aforementioned process 210, the first control circuit 114 can also generate a second piconet timing packet containing the timing data of the second main clock CLK_P2M, and use the first Bluetooth communication circuit 111 to package the second piconet timing packet Transfer to the second Bluetooth piconet 320. In practice, the first control circuit 114 can use various suitable data as the timing data of the second main clock CLK_P2M. For example, the first control circuit 114 can use the count value of a specific edge (for example, rising edge) of the second main clock CLK_P2M as the timing data of the second main clock CLK_P2M, and correspond to the second main clock CLK_P2M The count value of is written into a frequency hopping synchronization packet to form the second piconet timing packet.

在流程212中,副藍牙電路120可依據第二主時脈CLK_P2M的時序資料,產生與第二主時脈CLK_P2M同步的一第二從時脈CLK_P2S1,以做為第二藍牙微網320中的一從裝置時脈。實作上,第二藍牙通 信電路121可透過第二藍牙微網320,接收主藍牙電路110產生的第二微網時序封包,而第二控制電路124則可控制第二封包解析電路122,從第二微網時序封包中獲取前述第二主時脈CLK_P2M的時序資料,例如,相關的計數值。 In the process 212, the secondary Bluetooth circuit 120 can generate a second slave clock CLK_P2S1 that is synchronized with the second master clock CLK_P2M according to the timing data of the second master clock CLK_P2M, to be used as the second master clock CLK_P2S1 in the second Bluetooth piconet 320 One slave device clock. In practice, the second Bluetooth communication The signaling circuit 121 can receive the second piconet timing packet generated by the main Bluetooth circuit 110 through the second Bluetooth piconet 320, and the second control circuit 124 may control the second packet parsing circuit 122, from the second piconet timing packet Obtain the timing data of the aforementioned second main clock CLK_P2M, for example, the related count value.

接著,第二控制電路124可依據第二主時脈CLK_P2M的時序資料,控制第二時脈調整電路123產生與第二主時脈CLK_P2M同步的第二從時脈CLK_P2S1。例如,第二控制電路124可依據第二主時脈CLK_P2M的時序資料,控制第二時脈調整電路123調整一第二參考時脈CLK_R2的頻率和/或相位偏移量,以產生頻率實質上與第二主時脈CLK_P2M相同、且相位實質上對齊於第二主時脈CLK_P2M的第二從時脈CLK_P2S1。實作上,前述的第二參考時脈CLK_R2可以是由位於副藍牙電路120內部或外部的各種合適的時脈產生電路所產生。 Then, the second control circuit 124 can control the second clock adjustment circuit 123 to generate a second slave clock CLK_P2S1 synchronized with the second master clock CLK_P2M according to the timing data of the second master clock CLK_P2M. For example, the second control circuit 124 can control the second clock adjustment circuit 123 to adjust the frequency and/or phase offset of a second reference clock CLK_R2 according to the timing data of the second main clock CLK_P2M, so as to generate the frequency substantially The second master clock CLK_P2M is the same as the second master clock CLK_P2M, and the phase is substantially aligned with the second slave clock CLK_P2S1 of the second master clock CLK_P2M. In practice, the aforementioned second reference clock CLK_R2 can be generated by various suitable clock generation circuits inside or outside the secondary Bluetooth circuit 120.

另外,在流程212中,第二控制電路124還可依據第二主時脈CLK_P2M的時序資料,控制第二時脈調整電路123產生與第二主時脈CLK_P2M同步的一第三從時脈CLK_P1S2。例如,第二控制電路124可依據第二主時脈CLK_P2M的時序資料,控制第二時脈調整電路123調整前述第二參考時脈CLK_R2的頻率和/或相位偏移量,以產生頻率實質上與第二主時脈CLK_P2M相同、且相位實質上對齊於第二主時脈CLK_P2M的第三從時脈CLK_P1S2。 In addition, in the process 212, the second control circuit 124 can also control the second clock adjustment circuit 123 to generate a third slave clock CLK_P1S2 synchronized with the second master clock CLK_P2M according to the timing data of the second master clock CLK_P2M . For example, the second control circuit 124 can control the second clock adjustment circuit 123 to adjust the frequency and/or phase offset of the aforementioned second reference clock CLK_R2 according to the timing data of the second main clock CLK_P2M to generate the frequency substantially The third slave clock CLK_P1S2 of the second master clock CLK_P2M is the same as the second master clock CLK_P2M and substantially aligned in phase with the third slave clock CLK_P1S2 of the second master clock CLK_P2M.

由於主藍牙電路110產生的第二主時脈CLK_P2M,會與來源藍牙裝置102產生的第一主時脈CLK_P1M同步,因此,第二時脈調整電路123產生的前述第三從時脈CLK_P1S2,也會間接同步於來源藍牙裝置102產生的第一主時脈CLK_P1M,所以副藍牙電路120可以利用第三從時脈CLK_P1S2做為第一藍牙微網310中的一從裝置時脈。如此一來,副藍牙電路120便可在來源藍牙裝置102不知情的情況下,透過嗅探(sniffing)方式接收到第一藍牙微網310中的藍牙封包。 Since the second master clock CLK_P2M generated by the master Bluetooth circuit 110 is synchronized with the first master clock CLK_P1M generated by the source Bluetooth device 102, the aforementioned third slave clock CLK_P1S2 generated by the second clock adjustment circuit 123 is also It is indirectly synchronized with the first master clock CLK_P1M generated by the source Bluetooth device 102, so the secondary Bluetooth circuit 120 can use the third slave clock CLK_P1S2 as a slave device clock in the first Bluetooth piconet 310. In this way, the secondary Bluetooth circuit 120 can receive the Bluetooth packets in the first Bluetooth piconet 310 through sniffing without the source Bluetooth device 102 knowing.

由前述說明可知,第二時脈調整電路123所產生的第二從時脈CLK_P2S1與第三從時脈CLK_P1S2,兩者皆會與主藍牙電路110所產生的第二主時脈CLK_P2M同步。亦即,第二從時脈CLK_P2S1與第三從時脈CLK_P1S2兩者的頻率皆實質上與第二主時脈CLK_P2M相同,且兩者的相位皆實質上對齊於第二主時脈CLK_P2M。 It can be seen from the foregoing description that the second slave clock CLK_P2S1 and the third slave clock CLK_P1S2 generated by the second clock adjustment circuit 123 are both synchronized with the second master clock CLK_P2M generated by the master Bluetooth circuit 110. That is, the frequencies of both the second slave clock CLK_P2S1 and the third slave clock CLK_P1S2 are substantially the same as the second master clock CLK_P2M, and their phases are substantially aligned with the second master clock CLK_P2M.

實作上,第二控制電路124可分別賦予前述的第二從時脈CLK_P2S1與第三從時脈CLK_P1S2不同的計數值。 In practice, the second control circuit 124 can respectively assign different count values to the aforementioned second slave clock CLK_P2S1 and the third slave clock CLK_P1S2.

前述將副藍牙電路120內部的第二從時脈CLK_P2S1與第三從時脈CLK_P1S2兩者彼此同步的方式,可有效提升副藍牙電路120的藍牙頻寬使用效率。 The aforementioned method of synchronizing the second slave clock CLK_P2S1 and the third slave clock CLK_P1S2 in the auxiliary Bluetooth circuit 120 with each other can effectively improve the Bluetooth bandwidth utilization efficiency of the auxiliary Bluetooth circuit 120.

接下來,第二控制電路124便可控制第二藍牙通信電路121,依據第二從時脈CLK_P2S1在第二藍牙微網320中排程藍牙封包的傳送或接收時序。此外,第二控制電路124還可依據第三從時脈CLK_P1S2在第一藍牙微網310中排程藍牙封包的接收時序,以嗅探第一藍牙微網310中的藍牙封包。 Next, the second control circuit 124 can control the second Bluetooth communication circuit 121 to schedule the transmission or reception timing of Bluetooth packets in the second Bluetooth piconet 320 according to the second slave clock CLK_P2S1. In addition, the second control circuit 124 can also schedule the reception timing of Bluetooth packets in the first Bluetooth piconet 310 according to the third slave clock CLK_P1S2 to sniff the Bluetooth packets in the first Bluetooth piconet 310.

如圖2所示,本實施例中的多成員藍牙裝置100還會進行流程214至流程226的運作,以使主藍牙電路110與副藍牙電路120兩者的音訊播放能夠保持同步。 As shown in FIG. 2, the multi-member Bluetooth device 100 in this embodiment also performs the operations of the process 214 to the process 226 to enable the audio playback of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 to be synchronized.

在流程214中,第一控制電路114可控制第一取樣時脈調整電路116,產生與第一主時脈CLK_P1M、第一從時脈CLK_P1S1、或第二主時脈CLK_P2M同步的一第一音訊取樣時脈CLK_A1。在本實施例中,第一音訊取樣時脈CLK_A1是用來對第一緩衝電路115中所儲存的第一音訊資料進行取樣的時脈信號,所以第一音訊取樣時脈CLK_A1的頻率通常會比第一主時脈CLK_P1M、第一從時脈CLK_P1S1、與第二主時脈CLK_P2M更低,但第一音訊取樣時脈CLK_A1的頻率會與前述的第一主時脈CLK_P1M、第一從時脈CLK_P1S1、或第二主時脈CLK_P2M的頻率保持固定的倍率關係。 In the process 214, the first control circuit 114 can control the first sampling clock adjustment circuit 116 to generate a first audio signal synchronized with the first master clock CLK_P1M, the first slave clock CLK_P1S1, or the second master clock CLK_P2M Sampling clock CLK_A1. In this embodiment, the first audio sampling clock CLK_A1 is a clock signal used to sample the first audio data stored in the first buffer circuit 115, so the frequency of the first audio sampling clock CLK_A1 is usually higher than The first master clock CLK_P1M, the first slave clock CLK_P1S1, and the second master clock CLK_P2M are lower, but the frequency of the first audio sampling clock CLK_A1 will be the same as the aforementioned first master clock CLK_P1M, first slave clock The frequency of CLK_P1S1 or the second main clock CLK_P2M maintains a fixed ratio relationship.

例如,第一控制電路114可依據第一主時脈CLK_P1M的時序資料,控制第一取樣時脈調整電路116調整第一取樣時脈CLK_S1的頻率和/或相位偏移量,以產生頻率實質上與第一主時脈CLK_P1M呈一預定倍率關係、且相位實質上對齊於第一主時脈CLK_P1M的第一音訊取樣時脈CLK_A1。 For example, the first control circuit 114 can control the first sampling clock adjustment circuit 116 to adjust the frequency and/or phase offset of the first sampling clock CLK_S1 according to the timing data of the first main clock CLK_P1M to generate a frequency substantially It is in a predetermined multiplying relationship with the first main clock CLK_P1M, and the phase is substantially aligned with the first audio sampling clock CLK_A1 of the first main clock CLK_P1M.

又例如,第一控制電路114可依據第一從時脈CLK_P1S1的時序資料,控制第一取樣時脈調整電路116調整第一取樣時脈CLK_S1的頻率和/或相位偏移量,以產生頻率實質上與第一從時脈CLK_P1S1呈一預定倍率關係、且相位實質上對齊於第一從時脈CLK_P1S1的第一音訊取樣時脈CLK_A1。 For another example, the first control circuit 114 can control the first sampling clock adjustment circuit 116 to adjust the frequency and/or phase offset of the first sampling clock CLK_S1 according to the timing data of the first slave clock CLK_P1S1, so as to generate the frequency essence. The above is in a predetermined multiplication relationship with the first slave clock CLK_P1S1, and the phase is substantially aligned with the first audio sampling clock CLK_A1 of the first slave clock CLK_P1S1.

又例如,第一控制電路114可依據第二主時脈CLK_P2M的時序資料,控制第一取樣時脈調整電路116調整第一取樣時脈CLK_S1的頻率和/或相位偏移量,以產生頻率實質上與第二主時脈CLK_P2M呈一預定倍率關係、且相位實質上對齊於第二主時脈CLK_P2M的第一音訊取樣時脈CLK_A1。 For another example, the first control circuit 114 can control the first sampling clock adjustment circuit 116 to adjust the frequency and/or phase offset of the first sampling clock CLK_S1 according to the timing data of the second main clock CLK_P2M to generate the frequency essence The upper and second main clock CLK_P2M are in a predetermined ratio relationship, and the phase is substantially aligned with the first audio sampling clock CLK_A1 of the second main clock CLK_P2M.

實作上,前述的第一取樣時脈CLK_S1可以是由位於主藍牙電路110內部或外部的各種合適的時脈產生電路所產生。 In practice, the aforementioned first sampling clock CLK_S1 can be generated by various suitable clock generation circuits inside or outside the main Bluetooth circuit 110.

在流程216中,第一非同步取樣率轉換電路117可在第一控制電路114的控制之下,依據第一音訊取樣時脈CLK_A1對第一緩衝電路115中所儲存的第一音訊資料進行取樣,並將取樣後的音訊資料傳送給第一播放電路118進行播放。 In the process 216, the first asynchronous sampling rate conversion circuit 117 can sample the first audio data stored in the first buffer circuit 115 according to the first audio sampling clock CLK_A1 under the control of the first control circuit 114 , And send the sampled audio data to the first playback circuit 118 for playback.

另一方面,副藍牙電路120也會進行圖2中的流程218與流程220。 On the other hand, the secondary Bluetooth circuit 120 will also perform the processes 218 and 220 in FIG. 2.

在流程218中,第二控制電路124可控制第二取樣時脈調整電路126,產生與第二主時脈CLK_P2M、第二從時脈CLK_P2S1、或第三從時脈CLK_P1S2同步、且頻率實質上與第一音訊取樣時脈CLK_A1相同的一第二音訊取樣時脈CLK_A2。在本實施例中,第二音訊取樣時脈CLK_A2是用來對第二緩衝電路125中所儲存的第二音訊資料進 行取樣的時脈信號,所以第二音訊取樣時脈CLK_A2的頻率通常會比第二主時脈CLK_P2M、第二從時脈CLK_P2S1、與第三從時脈CLK_P1S2更低,但第二音訊取樣時脈CLK_A2的頻率會與前述的第二主時脈CLK_P2M、第二從時脈CLK_P2S1、或第三從時脈CLK_P1S2的頻率保持固定的倍率關係。 In the process 218, the second control circuit 124 can control the second sampling clock adjustment circuit 126 to generate synchronization with the second master clock CLK_P2M, the second slave clock CLK_P2S1, or the third slave clock CLK_P1S2, and the frequency is substantially A second audio sampling clock CLK_A2 that is the same as the first audio sampling clock CLK_A1. In this embodiment, the second audio sampling clock CLK_A2 is used to process the second audio data stored in the second buffer circuit 125 Line sampling clock signal, so the frequency of the second audio sampling clock CLK_A2 is usually lower than the second master clock CLK_P2M, the second slave clock CLK_P2S1, and the third slave clock CLK_P1S2, but the second audio sampling clock The frequency of the pulse CLK_A2 will maintain a fixed rate relationship with the frequency of the aforementioned second master clock CLK_P2M, second slave clock CLK_P2S1, or third slave clock CLK_P1S2.

例如,第二控制電路124可依據第二主時脈CLK_P2M的時序資料,控制第二取樣時脈調整電路126調整一第二取樣時脈CLK_S2的頻率和/或相位偏移量,以產生頻率實質上與第二主時脈CLK_P2M呈一預定倍率關係、且相位實質上對齊於第二主時脈CLK_P2M的第二音訊取樣時脈CLK_A2。 For example, the second control circuit 124 can control the second sampling clock adjustment circuit 126 to adjust the frequency and/or phase offset of a second sampling clock CLK_S2 according to the timing data of the second main clock CLK_P2M to generate the frequency essence. The upper and the second main clock CLK_P2M are in a predetermined ratio relationship, and the phase is substantially aligned with the second audio sampling clock CLK_A2 of the second main clock CLK_P2M.

又例如,第二控制電路124可依據第二從時脈CLK_P2S1的時序資料,控制第二取樣時脈調整電路126調整第二取樣時脈CLK_S2的頻率和/或相位偏移量,以產生頻率實質上與第二從時脈CLK_P2S1呈一預定倍率關係、且相位實質上對齊於第二從時脈CLK_P2S1的第二音訊取樣時脈CLK_A2。 For another example, the second control circuit 124 can control the second sampling clock adjustment circuit 126 to adjust the frequency and/or phase offset of the second sampling clock CLK_S2 according to the timing data of the second slave clock CLK_P2S1 to generate the frequency essence The upper and the second slave clock CLK_P2S1 are in a predetermined rate relationship, and the phase is substantially aligned with the second audio sampling clock CLK_A2 of the second slave clock CLK_P2S1.

又例如,第二控制電路124可依據第三從時脈CLK_P1S2的時序資料,控制第二取樣時脈調整電路126調整第二取樣時脈CLK_S2的頻率和/或相位偏移量,以產生頻率實質上與第三從時脈CLK_P1S2呈一預定倍率關係、且相位實質上對齊於第三從時脈CLK_P1S2的第二音訊取樣時脈CLK_A2。 For another example, the second control circuit 124 can control the second sampling clock adjustment circuit 126 to adjust the frequency and/or phase offset of the second sampling clock CLK_S2 according to the timing data of the third slave clock CLK_P1S2 to generate the frequency essence. The upper and the third slave clock CLK_P1S2 are in a predetermined rate relationship, and the phase is substantially aligned with the second audio sampling clock CLK_A2 of the third slave clock CLK_P1S2.

實作上,前述的第二取樣時脈CLK_S2可以是由位於副藍牙電路120內部或外部的各種合適的時脈產生電路所產生。 In practice, the aforementioned second sampling clock CLK_S2 can be generated by various suitable clock generation circuits inside or outside the secondary Bluetooth circuit 120.

在流程220中,第二非同步取樣率轉換電路127可在第二控制電路124的控制之下,依據第二音訊取樣時脈CLK_A2對第二緩衝電路125中所儲存的第二音訊資料進行取樣,並將取樣後的音訊資料傳送給第二播放電路128進行播放。 In the process 220, the second asynchronous sampling rate conversion circuit 127 can sample the second audio data stored in the second buffer circuit 125 according to the second audio sampling clock CLK_A2 under the control of the second control circuit 124 , And send the sampled audio data to the second playback circuit 128 for playback.

由前述說明可知,主藍牙電路110產生的第一音訊取樣時脈CLK_A1, 會與第一主時脈CLK_P1M、第一從時脈CLK_P1S1、或第二主時脈CLK_P2M同步,而副藍牙電路120產生的第二音訊取樣時脈CLK_A2,則會與第二主時脈CLK_P2M、第二從時脈CLK_P2S1、或第三從時脈CLK_P1S2同步。由於本實施例中的第一主時脈CLK_P1M、第一從時脈CLK_P1S1、第二主時脈CLK_P2M、第二從時脈CLK_P2S1、以及第三從時脈CLK_P1S2實質上都是彼此同步且相位對齊的時脈信號,所以第一音訊取樣時脈CLK_A1也會間接同步於第二音訊取樣時脈CLK_A2,並且相位實質上對齊於第二音訊取樣時脈CLK_A2。 From the foregoing description, it can be seen that the first audio sampling clock CLK_A1 generated by the main Bluetooth circuit 110, Will be synchronized with the first master clock CLK_P1M, the first slave clock CLK_P1S1, or the second master clock CLK_P2M, and the second audio sampling clock CLK_A2 generated by the secondary Bluetooth circuit 120 will be synchronized with the second master clock CLK_P2M, The second slave clock CLK_P2S1 or the third slave clock CLK_P1S2 is synchronized. Since the first master clock CLK_P1M, the first slave clock CLK_P1S1, the second master clock CLK_P2M, the second slave clock CLK_P2S1, and the third slave clock CLK_P1S2 in this embodiment are substantially synchronized with each other and are phase-aligned Therefore, the first audio sampling clock CLK_A1 is also indirectly synchronized with the second audio sampling clock CLK_A2, and the phase is substantially aligned with the second audio sampling clock CLK_A2.

如此一來,主藍牙電路110與副藍牙電路120兩者的音訊播放運作便可以彼此同步,而不會有時間延遲的問題。因此,前述產生第一音訊取樣時脈CLK_A1與第二音訊取樣時脈CLK_A2的方式,可使不同藍牙電路的音訊播放運作能夠彼此同步,創造出理想的立體聲音效或環繞音效,能帶給使用者良好的使用體驗,進而提升多成員藍牙裝置100的應用價值與使用彈性。 In this way, the audio playback operations of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can be synchronized with each other without the problem of time delay. Therefore, the aforementioned method of generating the first audio sampling clock CLK_A1 and the second audio sampling clock CLK_A2 enables the audio playback operations of different Bluetooth circuits to be synchronized with each other, creating ideal stereo sound effects or surround sound effects, which can be brought to users A good user experience improves the application value and flexibility of the multi-member Bluetooth device 100.

由前述說明可知,主藍牙電路110中的第一音訊取樣時脈CLK_A1,是直接或間接依據第一參考時脈CLK_R1與第一取樣時脈CLK_S1而產生,而副藍牙電路120中的第二音訊取樣時脈CLK_A2,則是直接或間接依據第二參考時脈CLK_R2與第二取樣時脈CLK_S2而產生。 It can be seen from the foregoing description that the first audio sampling clock CLK_A1 in the main Bluetooth circuit 110 is directly or indirectly generated based on the first reference clock CLK_R1 and the first sampling clock CLK_S1, and the second audio signal in the secondary Bluetooth circuit 120 The sampling clock CLK_A2 is directly or indirectly generated based on the second reference clock CLK_R2 and the second sampling clock CLK_S2.

一般而言,前述主藍牙電路110所使用的第一參考時脈CLK_R1,與副藍牙電路120所使用的第二參考時脈CLK_R2,兩者是彼此獨立產生的時脈信號。另外,前述主藍牙電路110所使用的第一取樣時脈CLK_S1,與副藍牙電路120所使用的第二取樣時脈CLK_S2,兩者也是彼此獨立產生的時脈信號。 Generally speaking, the first reference clock CLK_R1 used by the primary Bluetooth circuit 110 and the second reference clock CLK_R2 used by the secondary Bluetooth circuit 120 are clock signals generated independently of each other. In addition, the first sampling clock CLK_S1 used by the primary Bluetooth circuit 110 and the second sampling clock CLK_S2 used by the secondary Bluetooth circuit 120 are also clock signals generated independently of each other.

因此,在主藍牙電路110與副藍牙電路120兩者同步進行音訊播放運作一段時間之後,主藍牙電路110中的第一音訊取樣時脈CLK_A1與副藍牙電路120中的第二音訊取樣時脈CLK_A2,兩者之間有可能出 現頻率和/或相位偏差。 Therefore, after both the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 perform audio playback operations for a period of time, the first audio sampling clock CLK_A1 in the main Bluetooth circuit 110 and the second audio sampling clock CLK_A2 in the auxiliary Bluetooth circuit 120 , There may be Current frequency and/or phase deviation.

倘若主藍牙電路110中的第一音訊取樣時脈CLK_A1與副藍牙電路120中的第二音訊取樣時脈CLK_A2兩者不能持續保持同步,就會導致主藍牙電路110與副藍牙電路120兩者的音訊播放運作無法彼此同步,進而衍生不良的使用體驗。 If the first audio sampling clock CLK_A1 in the main Bluetooth circuit 110 and the second audio sampling clock CLK_A2 in the auxiliary Bluetooth circuit 120 cannot be continuously synchronized, it will cause the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 to fail. Audio playback operations cannot be synchronized with each other, resulting in a poor user experience.

因此,在本實施例中,主藍牙電路110會在播放音訊資料的過程中間歇地進行流程222,而副藍牙電路120則會在播放音訊資料的過程中間歇地進行流程224與流程226。 Therefore, in this embodiment, the main Bluetooth circuit 110 will intermittently perform the process 222 during the process of playing audio data, and the secondary Bluetooth circuit 120 will intermittently perform the process 224 and the process 226 during the process of playing audio data.

在流程222中,第一控制電路114可透過第一藍牙通信電路111,傳送與第一音訊資料相應的一第一音訊播放時序資料(time stamp)給副藍牙電路120。實作上,第一控制電路114可利用第一音訊取樣時脈CLK_A1的相關計數值(例如,脈波計數值、上升緣計數值、下降緣計數值等等),來做為前述的第一音訊播放時序資料,並透過第一藍牙通信電路111傳送給副藍牙電路120。 In the process 222, the first control circuit 114 may transmit a first audio playback timing data (time stamp) corresponding to the first audio data to the secondary Bluetooth circuit 120 through the first Bluetooth communication circuit 111. In practice, the first control circuit 114 can use the relevant count value (for example, pulse count value, rising edge count value, falling edge count value, etc.) of the first audio sampling clock CLK_A1 as the aforementioned first The audio playback timing data is transmitted to the secondary Bluetooth circuit 120 through the first Bluetooth communication circuit 111.

在流程224中,第二控制電路124可透過第二藍牙通信電路121接收主藍牙電路110傳來的第一音訊播放時序資料。 In the process 224, the second control circuit 124 may receive the first audio playback timing data from the main Bluetooth circuit 110 through the second Bluetooth communication circuit 121.

在流程226中,第二控制電路124可控制第二取樣時脈調整電路126依據第一音訊播放時序資料(例如,前述的相關計數值),校正第二音訊取樣時脈CLK_A2的相位,以使得校正後的第二音訊取樣時脈CLK_A2同步於當前的第一音訊取樣時脈CLK_A1。 In the process 226, the second control circuit 124 may control the second sampling clock adjustment circuit 126 to correct the phase of the second audio sampling clock CLK_A2 according to the first audio playback timing data (for example, the aforementioned related count value), so that The corrected second audio sampling clock CLK_A2 is synchronized with the current first audio sampling clock CLK_A1.

因此,藉由前述流程222至流程226的運作,便可有效確保主藍牙電路110與副藍牙電路120兩者的音訊播放運作能夠持續保持同步,而不會存在時間延遲的問題。如此一來,便能讓主藍牙電路110與副藍牙電路120協同進行的音訊播放運作,創造出理想的立體聲音效或環繞音效,維持良好的使用體驗,進而提升多成員藍牙裝置100的應用價值與使用彈性。 Therefore, through the operations of the aforementioned process 222 to process 226, it can be effectively ensured that the audio playback operations of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can continue to be synchronized without the problem of time delay. In this way, the audio playback operation of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can be made to create an ideal stereo sound effect or surround sound effect, maintain a good user experience, and enhance the application value and application value of the multi-member Bluetooth device 100. Use flexibility.

請參考圖4,其所繪示為本發明用來同步不同藍牙電路的音訊播放 運作的方法的另一實施例簡化後的流程圖。 Please refer to Figure 4, which shows the audio playback used to synchronize different Bluetooth circuits in the present invention A simplified flowchart of another embodiment of the method of operation.

圖4中的流程202至流程220都與前述圖2實施例中的對應流程相同。但在圖4的實施例中,讓主藍牙電路110與副藍牙電路120兩者的音訊播放運作能夠持續保持同步的方式,則與前述圖2的實施例有所不同。 The processes 202 to 220 in FIG. 4 are all the same as the corresponding processes in the foregoing embodiment of FIG. 2. However, in the embodiment of FIG. 4, the way in which the audio playback operations of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can be continuously maintained in synchronization is different from the foregoing embodiment of FIG. 2.

如圖4所示,本實施例中的副藍牙電路120會在播放音訊資料的過程中間歇地進行流程422,而主藍牙電路110則會在播放音訊資料的過程中間歇地進行流程424與流程426。 As shown in FIG. 4, the secondary Bluetooth circuit 120 in this embodiment will intermittently perform process 422 during the process of playing audio data, and the main Bluetooth circuit 110 will intermittently perform process 424 and process during the process of playing audio data. 426.

在流程422中,第二控制電路124可透過第二藍牙通信電路121,傳送與第二音訊資料相應的一第二音訊播放時序資料給主藍牙電路110。實作上,第二控制電路124可利用第二音訊取樣時脈CLK_A2的相關計數值(例如,脈波計數值、上升緣計數值、下降緣計數值等等),來做為前述的第二音訊播放時序資料,並透過第二藍牙通信電路121傳送給主藍牙電路110。 In the process 422, the second control circuit 124 may transmit a second audio playback timing data corresponding to the second audio data to the main Bluetooth circuit 110 through the second Bluetooth communication circuit 121. In practice, the second control circuit 124 can use the related count value (for example, pulse count value, rising edge count value, falling edge count value, etc.) of the second audio sampling clock CLK_A2 as the aforementioned second The audio playback timing data is transmitted to the main Bluetooth circuit 110 through the second Bluetooth communication circuit 121.

在流程424中,第一控制電路114可透過第一藍牙通信電路111接收副藍牙電路120傳來的第二音訊播放時序資料。 In the process 424, the first control circuit 114 can receive the second audio playback timing data from the secondary Bluetooth circuit 120 through the first Bluetooth communication circuit 111.

在流程426中,第一控制電路114可控制第一取樣時脈調整電路116依據第二音訊播放時序資料(例如,前述的相關計數值),校正第一音訊取樣時脈CLK_A1的相位,以使得校正後的第一音訊取樣時脈CLK_A1同步於當前的第二音訊取樣時脈CLK_A2。 In the process 426, the first control circuit 114 can control the first sampling clock adjustment circuit 116 to correct the phase of the first audio sampling clock CLK_A1 according to the second audio playback timing data (for example, the aforementioned related count value), so that The corrected first audio sampling clock CLK_A1 is synchronized with the current second audio sampling clock CLK_A2.

因此,藉由前述流程422至流程426的運作,同樣可有效確保主藍牙電路110與副藍牙電路120兩者的音訊播放運作能夠持續保持同步,而不會存在時間延遲的問題。如此一來,便能讓主藍牙電路110與副藍牙電路120協同進行的音訊播放運作,創造出理想的立體聲音效或環繞音效,維持良好的使用體驗,進而提升多成員藍牙裝置100的應用價值與使用彈性。 Therefore, the operation of the aforementioned process 422 to process 426 can also effectively ensure that the audio playback operations of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can continue to be synchronized without the problem of time delay. In this way, the audio playback operation of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can be made to create an ideal stereo sound effect or surround sound effect, maintain a good user experience, and enhance the application value and application value of the multi-member Bluetooth device 100. Use flexibility.

在前述的多成員藍牙裝置100中,主藍牙電路110會將其內部的第一 從時脈CLK_P1S1與第二主時脈CLK_P2M,皆同步於來源藍牙裝置102所決定的第一主時脈CLK_P1M,所以第一時脈調整電路113可用較簡化的電路架構來實現。 In the aforementioned multi-member Bluetooth device 100, the main Bluetooth circuit 110 will The slave clock CLK_P1S1 and the second main clock CLK_P2M are synchronized with the first main clock CLK_P1M determined by the source Bluetooth device 102, so the first clock adjustment circuit 113 can be implemented with a simplified circuit structure.

另外,主藍牙電路110所使用的第一從時脈CLK_P1S1與第二主時脈CLK_P2M皆與第一主時脈CLK_P1M同步,因此能有效提升主藍牙電路110的藍牙頻寬使用效率,以及降低主藍牙電路110更新第一從時脈CLK_P1S1與第二主時脈CLK_P2M的複雜度。 In addition, the first slave clock CLK_P1S1 and the second master clock CLK_P2M used by the master Bluetooth circuit 110 are both synchronized with the first master clock CLK_P1M, which can effectively improve the Bluetooth bandwidth usage efficiency of the master Bluetooth circuit 110 and reduce the master clock. The Bluetooth circuit 110 updates the complexity of the first slave clock CLK_P1S1 and the second master clock CLK_P2M.

同樣地,副藍牙電路120會將其內部的第二從時脈CLK_P2S1與第三從時脈CLK_P1S2皆同步於主藍牙電路110所決定的第二主時脈CLK_P2M,所以第二時脈調整電路123也可用較簡化的電路架構來實現。 Similarly, the secondary Bluetooth circuit 120 synchronizes its internal second slave clock CLK_P2S1 and third slave clock CLK_P1S2 with the second master clock CLK_P2M determined by the master Bluetooth circuit 110, so the second clock adjustment circuit 123 It can also be implemented with a simplified circuit architecture.

再者,副藍牙電路120所使用的第二從時脈CLK_P2S1與第三從時脈CLK_P1S2皆與第二主時脈CLK_P2M同步,也皆等效上與第一主時脈CLK_P1M同步,因此能有效提升副藍牙電路120的藍牙頻寬使用效率,以及降低副藍牙電路120更新第二從時脈CLK_P2S1與第三從時脈CLK_P1S2的複雜度。 Furthermore, the second slave clock CLK_P2S1 and the third slave clock CLK_P1S2 used by the secondary Bluetooth circuit 120 are synchronized with the second master clock CLK_P2M, and are equivalently synchronized with the first master clock CLK_P1M, so they can be effective The utilization efficiency of the Bluetooth bandwidth of the secondary Bluetooth circuit 120 is improved, and the complexity of the secondary Bluetooth circuit 120 in updating the second slave clock CLK_P2S1 and the third slave clock CLK_P1S2 is reduced.

更重要的是,副藍牙電路120所使用的第二音訊取樣時脈CLK_A2,能夠間接與主藍牙電路110所使用的第一音訊取樣時脈CLK_A1同步,所以第二播放電路128的音訊播放運作也會跟第一播放電路118的音訊播放運作彼此同步。 More importantly, the second audio sampling clock CLK_A2 used by the secondary Bluetooth circuit 120 can be indirectly synchronized with the first audio sampling clock CLK_A1 used by the main Bluetooth circuit 110, so the audio playback operation of the second playback circuit 128 is also The audio playback operation of the first playback circuit 118 is synchronized with each other.

請注意,前述多成員藍牙裝置100中的成員電路的個數,並不侷限於前述的兩個,亦可依需要而拓展至更多的數量。 Please note that the number of member circuits in the aforementioned multi-member Bluetooth device 100 is not limited to the aforementioned two, and can be expanded to a larger number as needed.

實作上,多成員藍牙裝置100可選擇性地採用前述圖2與圖4的兩種音訊播放同步方法的其中之一,來確保主藍牙電路110與副藍牙電路120兩者的音訊播放運作能夠持續保持同步。或者,多成員藍牙裝置100也可以交替採用兩種方法,來確保主藍牙電路110與副藍牙電路120兩者的音訊播放運作能夠持續保持同步。 In practice, the multi-member Bluetooth device 100 can selectively use one of the two audio playback synchronization methods shown in FIG. 2 and FIG. 4 to ensure that the audio playback operation of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can be performed. Keep in sync. Alternatively, the multi-member Bluetooth device 100 may alternately adopt two methods to ensure that the audio playback operations of the main Bluetooth circuit 110 and the auxiliary Bluetooth circuit 120 can continue to be synchronized.

另外,在某些應用中,亦可將副藍牙電路120產生第三從時脈CLK_P1S2的運作省略。 In addition, in some applications, the operation of the secondary Bluetooth circuit 120 to generate the third slave clock CLK_P1S2 can also be omitted.

在說明書及申請專利範圍中使用了某些詞彙來指稱特定的元件,而本領域內的技術人員可能會用不同的名詞來稱呼同樣的元件。本說明書及申請專利範圍並不以名稱的差異來做為區分元件的方式,而是以元件在功能上的差異來做為區分的基準。在說明書及申請專利範圍中所提及的「包含」為開放式的用語,應解釋成「包含但不限定於」。另外,「耦接」一詞在此包含任何直接及間接的連接手段。因此,若文中描述第一元件耦接於第二元件,則代表第一元件可通過電性連接或無線傳輸、光學傳輸等信號連接方式而直接地連接於第二元件,或通過其它元件或連接手段間接地電性或信號連接至第二元件。 In the specification and the scope of the patent application, certain words are used to refer to specific elements, and those skilled in the art may use different terms to refer to the same elements. This specification and the scope of patent application do not use differences in names as a way to distinguish components, but use differences in functions of components as a basis for distinction. The "including" mentioned in the specification and the scope of the patent application is an open term and should be interpreted as "including but not limited to". In addition, the term "coupling" here includes any direct and indirect connection means. Therefore, if it is described that the first element is coupled to the second element, it means that the first element can be directly connected to the second element through electrical connection, wireless transmission, optical transmission, or other signal connection methods, or through other elements or connections. The means is indirectly connected to the second element electrically or signally.

在說明書中所使用的「和/或」的描述方式,包含所列舉的其中一個項目或多個項目的任意組合。另外,除非說明書中特別指明,否則任何單數格的用語都同時包含複數格的含義。 The description method of "and/or" used in the description includes one of the listed items or any combination of multiple items. In addition, unless otherwise specified in the specification, any term in the singular case includes the meaning of the plural case at the same time.

以上僅為本發明的較佳實施例,凡依本發明請求項所做的等效變化與修改,皆應屬本發明的涵蓋範圍。 The above are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should fall within the scope of the present invention.

100:多成員藍牙裝置 100: Multi-member Bluetooth device

102:來源藍牙裝置 102: Source Bluetooth device

110:主藍牙電路 110: Main Bluetooth circuit

111:第一藍牙通信電路 111: The first Bluetooth communication circuit

112:第一封包解析電路 112: The first packet parsing circuit

113:第一時脈調整電路 113: The first clock adjustment circuit

114:第一控制電路 114: The first control circuit

115:第一緩衝電路 115: first buffer circuit

116:第一取樣時脈調整電路 116: The first sampling clock adjustment circuit

117:第一非同步取樣率轉換電路 117: The first non-synchronous sampling rate conversion circuit

118:第一播放電路 118: The first playback circuit

120:副藍牙電路 120: Secondary Bluetooth circuit

121:第二藍牙通信電路 121: The second Bluetooth communication circuit

122:第二封包解析電路 122: The second packet analysis circuit

123:第二時脈調整電路 123: Second clock adjustment circuit

124:第二控制電路 124: second control circuit

125:第二緩衝電路 125: second buffer circuit

126:第二取樣時脈調整電路 126: Second sampling clock adjustment circuit

127:第二非同步取樣率轉換電路 127: Second asynchronous sampling rate conversion circuit

128:第二播放電路 128: second playback circuit

Claims (10)

一種多成員藍牙裝置(100)中的主藍牙電路(110),該多成員藍牙裝置(100)用於與一來源藍牙裝置(102)進行資料傳輸,且包含該主藍牙電路(110)與一副藍牙電路(120),該來源藍牙裝置(102)扮演一第一藍牙微網(310)中的一主裝置(master),該主藍牙電路(110)包含:一第一藍牙通信電路(111);一第一時脈調整電路(113);一第一控制電路(114),耦接於該第一藍牙通信電路(111)與該第一時脈調整電路(113),設置成控制該主藍牙電路(110)扮演該第一藍牙微網(310)中的一從裝置(slave)、並扮演一第二藍牙微網(320)中的一主裝置;一第一取樣時脈調整電路(116),耦接於該第一控制電路(114);以及一第一非同步取樣率轉換電路(117),耦接於該第一取樣時脈調整電路(116),設置成依據一第一音訊取樣時脈(CLK_A1)取樣一第一音訊資料,並將取樣後的資料傳送給一第一播放電路(118)進行播放;其中,該第一控制電路(114)還設置成進行以下運作:依據該來源藍牙裝置(102)所產生的一第一主時脈(CLK_P1M)的時序資料,控制該第一時脈調整電路(113)產生與該第一主時脈(CLK_P1M)同步的一第一從時脈(CLK_P1S1)和一第二主時脈(CLK_P2M);以及控制該第一藍牙通信電路(111)依據該第一從時脈(CLK_P1S1)在該第一藍牙微網(310)中傳送或接收封包,並控制該第一藍牙通信電路(111)依據該第二主時脈(CLK_P2M)在該第二藍牙微網(320)中傳送或接收封包,使該副藍牙電路(120)依 據與該第二主時脈(CLK_P2M)同步的一第二從時脈(CLK_P2S1)在該第二藍牙微網(320)中傳送或接收封包。 A main Bluetooth circuit (110) in a multi-member Bluetooth device (100), the multi-member Bluetooth device (100) is used for data transmission with a source Bluetooth device (102), and includes the main Bluetooth circuit (110) and a A secondary Bluetooth circuit (120), the source Bluetooth device (102) acts as a master device (master) in a first Bluetooth piconet (310), the main Bluetooth circuit (110) includes: a first Bluetooth communication circuit (111) ); a first clock adjustment circuit (113); a first control circuit (114), coupled to the first Bluetooth communication circuit (111) and the first clock adjustment circuit (113), configured to control the The master Bluetooth circuit (110) acts as a slave in the first Bluetooth piconet (310) and a master in a second Bluetooth piconet (320); a first sampling clock adjustment circuit (116), coupled to the first control circuit (114); and a first asynchronous sampling rate conversion circuit (117), coupled to the first sampling clock adjustment circuit (116), configured to be based on a first An audio sampling clock (CLK_A1) samples a first audio data, and sends the sampled data to a first playback circuit (118) for playback; wherein, the first control circuit (114) is also configured to perform the following operations : According to the timing data of a first main clock (CLK_P1M) generated by the source Bluetooth device (102), control the first clock adjustment circuit (113) to generate a first main clock (CLK_P1M) synchronous A first slave clock (CLK_P1S1) and a second master clock (CLK_P2M); and controlling the first Bluetooth communication circuit (111) to operate on the first Bluetooth piconet (310) according to the first slave clock (CLK_P1S1) The first Bluetooth communication circuit (111) is controlled to transmit or receive packets in the second Bluetooth piconet (320) according to the second main clock (CLK_P2M), so that the secondary Bluetooth circuit (120) )according to The packet is transmitted or received in the second Bluetooth piconet (320) according to a second slave clock (CLK_P2S1) synchronized with the second master clock (CLK_P2M). 如請求項1所述的主藍牙電路(110),其中,該第一控制電路(114)還設置成控制該第一取樣時脈調整電路(116),產生與該第一主時脈(CLK_P1M)、該第一從時脈(CLK_P1S1)、或該第二主時脈(CLK_P2M)同步的該第一音訊取樣時脈(CLK_A1)。 The main Bluetooth circuit (110) according to claim 1, wherein the first control circuit (114) is further configured to control the first sampling clock adjustment circuit (116) to generate a signal that is connected to the first main clock (CLK_P1M). ), the first slave clock (CLK_P1S1), or the second master clock (CLK_P2M) synchronized with the first audio sampling clock (CLK_A1). 如請求項2所述的主藍牙電路(110),其中,該第一控制電路(114)還設置成透過該第一藍牙通信電路(111),傳送與該第一音訊資料相應的一第一音訊播放時序資料給該副藍牙電路(120),供該副藍牙電路(120)依據該第一音訊播放時序資料校正一第二音訊取樣時脈(CLK_A2),以使得校正後的該第二音訊取樣時脈(CLK_A2)同步於當前的第一音訊取樣時脈(CLK_A1)。 The main Bluetooth circuit (110) according to claim 2, wherein the first control circuit (114) is further configured to transmit a first audio data corresponding to the first audio data through the first Bluetooth communication circuit (111). The audio playback timing data is provided to the secondary Bluetooth circuit (120) for the secondary Bluetooth circuit (120) to correct a second audio sampling clock (CLK_A2) according to the first audio playback timing data, so that the corrected second audio The sampling clock (CLK_A2) is synchronized with the current first audio sampling clock (CLK_A1). 如請求項2所述的主藍牙電路(110),其中,該主藍牙電路(110)還設置成透過該第一藍牙通信電路(111)接收一第二音訊播放時序資料,並控制該第一取樣時脈調整電路(116)依據該第二音訊播放時序資料,校正該第一音訊取樣時脈(CLK_A1)的相位,以使得校正後的該第一音訊取樣時脈(CLK_A1)同步於該副藍牙電路(120)當前產生的一第二音訊取樣時脈(CLK_A2)。 The main Bluetooth circuit (110) according to claim 2, wherein the main Bluetooth circuit (110) is further configured to receive a second audio playback timing data through the first Bluetooth communication circuit (111), and control the first The sampling clock adjustment circuit (116) corrects the phase of the first audio sampling clock (CLK_A1) according to the second audio playback timing data, so that the corrected first audio sampling clock (CLK_A1) is synchronized with the secondary A second audio sampling clock (CLK_A2) currently generated by the Bluetooth circuit (120). 如請求項2所述的主藍牙電路(110),其中,該第一控制電路(114)會依據該第一主時脈(CLK_P1M)的時序資料,控制該第一時脈調整電路(113)產生頻率上與該第一主時脈(CLK_P1M)相同、且相位上對齊於該第一主時脈(CLK_P1M)的該第一從時脈(CLK_P1S1),並且該第一控制電路(114)還會依據該第一主時脈(CLK_P1M)或該第一從時脈(CLK_P1S1)的時序資料,控制該第一時脈調整電路(113)產生頻率上與該第一主時脈(CLK_P1M)相同、且相位上對齊於該第一主時脈(CLK_P1M)的該第二主時脈(CLK_P2M)。 The main Bluetooth circuit (110) according to claim 2, wherein the first control circuit (114) controls the first clock adjustment circuit (113) according to the timing data of the first main clock (CLK_P1M) Generate the first slave clock (CLK_P1S1) that is the same in frequency as the first master clock (CLK_P1M) and aligned in phase with the first master clock (CLK_P1M), and the first control circuit (114) also According to the timing data of the first master clock (CLK_P1M) or the first slave clock (CLK_P1S1), the first clock adjustment circuit (113) is controlled to generate the same frequency as the first master clock (CLK_P1M) And the second main clock (CLK_P2M) which is aligned in phase with the first main clock (CLK_P1M). 一種多成員藍牙裝置(100)中的副藍牙電路(120),該多成員藍牙 裝置(100)用於與一來源藍牙裝置(102)進行資料傳輸,且包含一主藍牙電路(110)及該副藍牙電路(120),該來源藍牙裝置(102)扮演一第一藍牙微網(310)中的一主裝置(master),該主藍牙電路(110)扮演該第一藍牙微網(310)中的一從裝置(slave)、並扮演一第二藍牙微網(320)中的一主裝置,該主藍牙電路(110)設置成依據一第一音訊取樣時脈(CLK_A1)取樣一第一音訊資料,並依據該來源藍牙裝置(102)所產生的一第一主時脈(CLK_P1M)的時序資料,產生與該第一主時脈(CLK_P1M)同步的一第一從時脈(CLK_P1S1)和一第二主時脈(CLK_P2M),以依據該第一從時脈(CLK_P1S1)在該第一藍牙微網(310)中傳送或接收封包,並依據該第二主時脈(CLK_P2M)在該第二藍牙微網(320)中傳送或接收封包,該副藍牙電路(120)包含:一第二藍牙通信電路(121);一第二時脈調整電路(123);一第二控制電路(124),耦接於該第二藍牙通信電路(121)與該第二時脈調整電路(123),設置成控制該副藍牙電路(120)扮演該第二藍牙微網(320)中的一從裝置;一第二取樣時脈調整電路(126),耦接於該第二控制電路(124);以及一第二非同步取樣率轉換電路(127),耦接於該第二取樣時脈調整電路(126),設置成依據一第二音訊取樣時脈(CLK_A2)取樣一第二音訊資料,並將取樣後的資料傳送給一第二播放電路(128)進行播放;其中,該第二控制電路(124)還設置成進行以下運作:依據該第二主時脈(CLK_P2M)的時序資料,控制該第二時脈調整電路(123)產生與該第二主時脈(CLK_P2M)同步的一第二從時脈(CLK_P2S1);以及控制該第二藍牙通信電路(121)依據該第二從時脈(CLK_P2S1) 在該第二藍牙微網(320)中傳送或接收封包。 A secondary Bluetooth circuit (120) in a multi-member Bluetooth device (100), the multi-member Bluetooth The device (100) is used for data transmission with a source Bluetooth device (102), and includes a main Bluetooth circuit (110) and the secondary Bluetooth circuit (120). The source Bluetooth device (102) acts as a first Bluetooth piconet (310) a master device (master), the master Bluetooth circuit (110) acts as a slave device (slave) in the first Bluetooth piconet (310) and acts as a second Bluetooth piconet (320) A master device in which the master Bluetooth circuit (110) is configured to sample a first audio data according to a first audio sampling clock (CLK_A1), and according to a first master clock generated by the source Bluetooth device (102) (CLK_P1M) timing data to generate a first slave clock (CLK_P1S1) and a second master clock (CLK_P2M) synchronized with the first master clock (CLK_P1M), so as to generate a first slave clock (CLK_P1S1) according to the first slave clock (CLK_P1S1). ) Transmit or receive packets in the first Bluetooth piconet (310), and transmit or receive packets in the second Bluetooth piconet (320) according to the second main clock (CLK_P2M), the secondary Bluetooth circuit (120) ) Includes: a second Bluetooth communication circuit (121); a second clock adjustment circuit (123); a second control circuit (124), coupled to the second Bluetooth communication circuit (121) and the second time The pulse adjustment circuit (123) is configured to control the secondary Bluetooth circuit (120) to act as a slave device in the second Bluetooth piconet (320); a second sampling clock adjustment circuit (126) is coupled to the first Two control circuits (124); and a second asynchronous sampling rate conversion circuit (127), coupled to the second sampling clock adjustment circuit (126), configured to sample according to a second audio sampling clock (CLK_A2) A second audio data, and the sampled data is sent to a second playback circuit (128) for playback; wherein, the second control circuit (124) is also configured to perform the following operations: according to the second main clock ( CLK_P2M), control the second clock adjustment circuit (123) to generate a second slave clock (CLK_P2S1) synchronized with the second master clock (CLK_P2M); and control the second Bluetooth communication circuit (121) ) According to the second slave clock (CLK_P2S1) The packet is transmitted or received in the second Bluetooth piconet (320). 如請求項6所述的副藍牙電路(120),其中該第二控制電路(124)還設置成控制該第二取樣時脈調整電路(126),產生與該第二主時脈(CLK_P2M)或該第二從時脈(CLK_P2S1)同步的該第二音訊取樣時脈(CLK_A2),使得該第二音訊取樣時脈(CLK_A2)間接同步於該主藍牙裝置(110)產生的一第一音訊取樣時脈(CLK_A1)。 The secondary Bluetooth circuit (120) according to claim 6, wherein the second control circuit (124) is further configured to control the second sampling clock adjustment circuit (126) to generate the second main clock (CLK_P2M) Or the second audio sampling clock (CLK_A2) synchronized with the second slave clock (CLK_P2S1), so that the second audio sampling clock (CLK_A2) is indirectly synchronized with a first audio generated by the master Bluetooth device (110) Sampling clock (CLK_A1). 如請求項7所述的副藍牙電路(120),其中,該第二控制電路(124)還設置成透過該第二藍牙通信電路(121)接收與該第一音訊資料相應的一第一音訊播放時序資料,並控制該第二取樣時脈調整電路(126)依據該第一音訊播放時序資料,校正該第二音訊取樣時脈(CLK_A2)的相位,以使得校正後的該第二音訊取樣時脈(CLK_A2)同步於當前的第一音訊取樣時脈(CLK_A1)。 The secondary Bluetooth circuit (120) according to claim 7, wherein the second control circuit (124) is further configured to receive a first audio signal corresponding to the first audio data through the second Bluetooth communication circuit (121) Play timing data, and control the second sampling clock adjustment circuit (126) to correct the phase of the second audio sampling clock (CLK_A2) according to the first audio playback timing data, so that the corrected second audio sample The clock (CLK_A2) is synchronized with the current first audio sampling clock (CLK_A1). 如請求項7所述的副藍牙電路(120),其中,該第二控制電路(124)還設置成透過該第二藍牙通信電路(121),傳送與該第二音訊資料相應的一第二音訊播放時序資料給該主藍牙電路(110),供該主藍牙電路(110)校正該第一音訊取樣時脈(CLK_A1)的相位,以使得校正後的該第一音訊取樣時脈(CLK_A1)同步於當前的第二音訊取樣時脈(CLK_A2)。 The secondary Bluetooth circuit (120) according to claim 7, wherein the second control circuit (124) is further configured to transmit a second audio data corresponding to the second audio data through the second Bluetooth communication circuit (121). Audio playback timing data is provided to the main Bluetooth circuit (110) for the main Bluetooth circuit (110) to correct the phase of the first audio sampling clock (CLK_A1), so that the corrected first audio sampling clock (CLK_A1) Synchronize with the current second audio sampling clock (CLK_A2). 如請求項7所述的副藍牙電路(120),其中,該第二控制電路(124)會依據該第二主時脈(CLK_P2M)的時序資料,控制該第二時脈調整電路(123)產生頻率上與該第二主時脈(CLK_P2M)相同、且相位上對齊於該第二主時脈(CLK_P2M)的該第二從時脈(CLK_P2S1)。 The secondary Bluetooth circuit (120) according to claim 7, wherein the second control circuit (124) controls the second clock adjustment circuit (123) according to the timing data of the second main clock (CLK_P2M) Generate the second slave clock (CLK_P2S1) that is the same in frequency as the second master clock (CLK_P2M) and aligned in phase with the second master clock (CLK_P2M).
TW109133960A 2019-11-05 2020-09-29 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits TWI727899B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US17/081,652 US11405880B2 (en) 2019-11-05 2020-10-27 Main Bluetooth circuit and auxiliary Bluetooth circuit of multi-member Bluetooth device capable of synchronizing audio playback between different Bluetooth circuits
JP2020184671A JP7105849B2 (en) 2019-11-05 2020-11-04 Bluetooth primary and secondary circuits in a multi-component Bluetooth device capable of keeping audio playback synchronized by different Bluetooth circuits
KR1020200146000A KR102433753B1 (en) 2019-11-05 2020-11-04 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of synchronizing audio playback between different bluetooth circuits
US17/831,744 US11751153B2 (en) 2019-11-05 2022-06-03 Multi-member bluetooth device capable of synchronizing audio playback between different bluetooth circuits

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962930567P 2019-11-05 2019-11-05
US62/930,567 2019-11-05

Publications (2)

Publication Number Publication Date
TWI727899B true TWI727899B (en) 2021-05-11
TW202119797A TW202119797A (en) 2021-05-16

Family

ID=75750528

Family Applications (4)

Application Number Title Priority Date Filing Date
TW109133958A TWI727897B (en) 2019-11-05 2020-09-29 Auxiliary bluetooth circuit of multi-member bluetooth device capable of reducing complexity of updating internal clock of bluetooth circuit
TW109133959A TWI727898B (en) 2019-11-05 2020-09-29 Multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits
TW109133957A TWI733596B (en) 2019-11-05 2020-09-29 Multi-member bluetooth device capable of reducing complexity of updating internal clock of bluetooth circuit
TW109133960A TWI727899B (en) 2019-11-05 2020-09-29 Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits

Family Applications Before (3)

Application Number Title Priority Date Filing Date
TW109133958A TWI727897B (en) 2019-11-05 2020-09-29 Auxiliary bluetooth circuit of multi-member bluetooth device capable of reducing complexity of updating internal clock of bluetooth circuit
TW109133959A TWI727898B (en) 2019-11-05 2020-09-29 Multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits
TW109133957A TWI733596B (en) 2019-11-05 2020-09-29 Multi-member bluetooth device capable of reducing complexity of updating internal clock of bluetooth circuit

Country Status (2)

Country Link
CN (4) CN112788575B (en)
TW (4) TWI727897B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515255B (en) * 2021-05-17 2023-02-07 英华达(上海)科技有限公司 Audio playing control method, system, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291863A1 (en) * 2007-05-23 2008-11-27 Broadcom Corporation Synchronization of media data streams with separate sinks using a relay
WO2009144537A1 (en) * 2008-05-27 2009-12-03 Sony Ericsson Mobile Communications Ab Apparatus and methods for time synchronization of wireless audio data streams
US8233470B2 (en) * 2007-06-28 2012-07-31 Intel Corporation Multi-radio wireless communication device method for synchronizing wireless network and bluetooth communications
EP2499763B1 (en) * 2009-11-12 2015-10-21 Sony Ericsson Mobile Communications AB Clock tuning
CN105163383A (en) * 2015-06-30 2015-12-16 江苏鸿信系统集成有限公司 Indoor information push method based on Bluetooth
TWI659637B (en) * 2018-04-13 2019-05-11 瑞昱半導體股份有限公司 Multi-member bluetooth device capable of avoiding signal interrupt and related main bluetooth circuit and auxiliary bluetooth circuit
TWI659638B (en) * 2018-04-13 2019-05-11 瑞昱半導體股份有限公司 Multi-member bluetooth device capable of maintaining bluetooth signal quality with remote bluetooth device and related main bluetooth circuit and auxiliary bluetooth circuit

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2364203B (en) * 2000-06-27 2004-03-17 Nokia Mobile Phones Ltd Synchronisation
JP3651664B2 (en) * 2000-09-01 2005-05-25 株式会社東芝 Broadcast service system and communication method thereof
US7050420B2 (en) * 2001-03-21 2006-05-23 Broadcom Corporation System for maintaining synchronization between multiple asynchronous communication links
SE0200233L (en) * 2002-01-28 2003-07-29 Tagmaster Ab Method of reducing power consumption when establishing a connection according to so-called bluetooth technology
US7433697B2 (en) * 2003-10-24 2008-10-07 Broadcom Corporation Synchronized UWB piconets for Simultaneously Operating Piconet performance
KR20050088662A (en) * 2004-03-02 2005-09-07 엘지이노텍 주식회사 Wireless remote control system using bluetooth and method thereof
GB2454493A (en) * 2007-11-08 2009-05-13 Cambridge Silicon Radio Ltd Improved bluetooth clock accuracy
CN101505162A (en) * 2007-12-21 2009-08-12 北京登合科技有限公司 Wireless local area network module for mobile terminal
JP5091657B2 (en) * 2007-12-21 2012-12-05 株式会社東芝 Wireless communication apparatus and wireless communication method
CN101287205B (en) * 2008-05-16 2012-03-28 宇龙计算机通信科技(深圳)有限公司 Multi standby Bluetooth implementing method, system and mobile communication terminal
US8188782B1 (en) * 2010-12-12 2012-05-29 Mediatek Inc. Clock system and method for compensating timing information of clock system
US8774718B2 (en) * 2012-03-30 2014-07-08 Texas Instruments Incorporated Method and device to synchronize bluetooth and LTE/WiMax transmissions for achieving coexistence
TWI545971B (en) * 2014-10-03 2016-08-11 絡達科技股份有限公司 Audio synchronization method for bluetooth speaker
US10165534B2 (en) * 2016-06-30 2018-12-25 Imagination Technologies Limited Master synchronisation
CN107040874A (en) * 2017-03-07 2017-08-11 建荣半导体(深圳)有限公司 Method, device and the bluetooth equipment of blue-teeth data simultaneously operating
US10009862B1 (en) * 2017-09-06 2018-06-26 Texas Instruments Incorporated Bluetooth media device time synchronization
US10555156B2 (en) * 2017-11-09 2020-02-04 Audiowise Technology Inc. Wireless bluetooth communication mechanism capable of effectively reducing number of audio packet retransmission
CN108111997B (en) * 2017-12-15 2020-12-08 珠海市杰理科技股份有限公司 Bluetooth device audio synchronization method and system
CN108271095A (en) * 2017-12-20 2018-07-10 建荣半导体(深圳)有限公司 A kind of major and minor Bluetooth audio equipment and its synchronous playing system and method
KR102450296B1 (en) * 2017-12-26 2022-10-04 삼성전자주식회사 Device including digital interface with mixture of synchronous and asynchronous communication, digital processing system including the same, and method of digital processing performed by the same
CN108200495A (en) * 2018-01-23 2018-06-22 恒玄科技(上海)有限公司 A kind of method realized bluetooth headset and be played simultaneously
US10419853B2 (en) * 2018-02-21 2019-09-17 Apple Inc. Binaural audio capture using untethered wireless headset
CN110380758B (en) * 2018-04-13 2022-11-25 瑞昱半导体股份有限公司 Master bluetooth circuit for multi-member bluetooth device
CN110380759B (en) * 2018-04-13 2022-02-25 瑞昱半导体股份有限公司 Secondary bluetooth circuit for multi-member bluetooth device
CN108337595B (en) * 2018-06-19 2018-09-11 恒玄科技(上海)有限公司 Bluetooth headset realizes the method being precisely played simultaneously
CN109660971B (en) * 2018-12-05 2021-11-23 恒玄科技(上海)股份有限公司 Wireless earphone and communication method for wireless earphone

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080291863A1 (en) * 2007-05-23 2008-11-27 Broadcom Corporation Synchronization of media data streams with separate sinks using a relay
US8233470B2 (en) * 2007-06-28 2012-07-31 Intel Corporation Multi-radio wireless communication device method for synchronizing wireless network and bluetooth communications
WO2009144537A1 (en) * 2008-05-27 2009-12-03 Sony Ericsson Mobile Communications Ab Apparatus and methods for time synchronization of wireless audio data streams
EP2499763B1 (en) * 2009-11-12 2015-10-21 Sony Ericsson Mobile Communications AB Clock tuning
CN105163383A (en) * 2015-06-30 2015-12-16 江苏鸿信系统集成有限公司 Indoor information push method based on Bluetooth
TWI659637B (en) * 2018-04-13 2019-05-11 瑞昱半導體股份有限公司 Multi-member bluetooth device capable of avoiding signal interrupt and related main bluetooth circuit and auxiliary bluetooth circuit
TWI659638B (en) * 2018-04-13 2019-05-11 瑞昱半導體股份有限公司 Multi-member bluetooth device capable of maintaining bluetooth signal quality with remote bluetooth device and related main bluetooth circuit and auxiliary bluetooth circuit

Also Published As

Publication number Publication date
TWI727898B (en) 2021-05-11
TWI727897B (en) 2021-05-11
TW202119796A (en) 2021-05-16
CN112788575A (en) 2021-05-11
CN112788737B (en) 2024-01-09
CN112788575B (en) 2024-01-09
TW202119797A (en) 2021-05-16
TW202119838A (en) 2021-05-16
CN112788735B (en) 2024-01-09
CN112788736A (en) 2021-05-11
CN112788736B (en) 2024-01-12
TW202119795A (en) 2021-05-16
CN112788735A (en) 2021-05-11
CN112788737A (en) 2021-05-11
TWI733596B (en) 2021-07-11

Similar Documents

Publication Publication Date Title
US11039411B2 (en) Synchronization method for synchronizing clocks of a Bluetooth device
CN110290412B (en) A kind of audio sync playback method, device and loudspeaker apparatus, wireless headset
TWI574517B (en) Synchronised radio transceivers
US20210136551A1 (en) Multi-member bluetooth device capable of synchronizing audio playback between different bluetooth circuits
TWI727899B (en) Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device be capable of synchronizing audio playback between different bluetooth circuits
KR102434430B1 (en) Multi-member bluetooth device capable of reducing complexity of updating internal clock of bluetooth circuit
US11751153B2 (en) Multi-member bluetooth device capable of synchronizing audio playback between different bluetooth circuits
US11770784B2 (en) Multi-member bluetooth device capable of reducing complexity of updating internal clock of bluetooth circuit
JP2005333331A (en) Time-division radio communication system