Bluetooth asynchronous connection oriented link error correction
By employing forward error correction with repeated bits and dynamic code rate adjustments, the robustness of Bluetooth ACL links is enhanced, addressing the limitations of uncoded PHY in meeting latency and throughput requirements, thereby improving user experience in audio applications.
Patent Information
- Application Number
- PCT/US2024/025475
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-21
- Filing Date
- 2024-04-19
- Publication Date
- 2024-10-24
AI Technical Summary
Bluetooth Asynchronous Connection Oriented Link (ACL) links, particularly in uncoded PHY, fail to meet requirements for low latency and high throughput in audio use cases due to poor link conditions, leading to degraded user experience and increased latency.
Implementing forward error correction (FEC) with repeated bits in the length field and dynamically adjusting code rates to enhance the robustness of ACL links, allowing for reliable packet transmission and improved audio quality even in poor link conditions.
The use of FEC improves the reliability and efficiency of ACL links, reducing latency and increasing throughput, ensuring consistent audio quality and meeting the demands of latency-sensitive and throughput-intensive use cases.
Smart Images

Figure US2024025475_24102024_PF_FP_ABST
Abstract
Description
Bluetooth Asynchronous Connection Oriented Link Error CorrectionCROSS REFERENCES TO RELATED APPLICATIONS
[0001] This Application claims priority to U.S. Provisional Patent Application No. 63 / 460,947, entitled “Earbuds - Robustness Improvement For BLE ACL Link On Uncoded PHY For Latency Sensitive And Throughput Intensive Use Cases,” filed on April 21, 2023, the entire disclosure of which is hereby incorporated by reference for all purposes.BACKGROUND
[0002] Bluetooth™ technologies, such as Bluetooth basic rate or extended data rate (BR / EDR, which can also be referred to as “Bluetooth Classic”) and Bluetooth Low Energy (BLE) communications can be used by a wide variety of devices. Bluetooth technologies can be used to support different type of “audio use cases” such as telephony (cellular), Voice-Over-IP (VOIP) calls, media playback (e.g., music, video, game notifications, . . .), and the like. These audio use cases use Enhanced Synchronous Connection Oriented (eSCO) connection when using Bluetooth Classic technology and Connected Isochronous Stream (CIS) connections when using BLE. In some cases, however, the user may experience a degraded user experience when the available Bluetooth bandwidth is not sufficient to meet the needs of different devices.SUMMARY
[0003] Various embodiments for improving the robustness of a Bluetooth Asynchronous Connection Oriented Link (ALC) link using error correction are described herein. A system of one or more computers can be configured to perform particular operations or actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One or more computer programs can be configured to perform particular operations or actions by virtue of including instructions that, when executed by data processing apparatus, cause the apparatus to perform the actions.
[0004] One general aspect includes a method for improving Bluetooth link robustness. In some examples, the method also includes establishing an asynchronous connection oriented link (ACL) connection between a first device and a second device. In some examples, the method also includes using a forward error correction (FEC) to encode a length field of a packet. The method also includes transmitting the packet from the first device to the second device. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
[0005] Implementations may include one or more of the following features. The method where using the FEC may include repeating one or more bits of the length field at least two times. Using the FEC may include selecting a code rate associated with the FEC from one or more of a 1 / 3 code rate, a 1 / 4 code rate, or a 1 / 5 code rate. The method may include dynamically adjusting a code rate of the FEC after transmission of one or more packets using the ACL connection. The ACL connection is a relay connection between the first device and the second device, where an audio host that is connected to the first device is unaware of the second device. The first device is a first earbud and the second device is a second earbud. The first earbud and the second earbud are true wireless stereo earbuds. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
[0006] One general aspect includes a wireless system that uses a Bluetooth low energy (BLE) audio protocol. The wireless system also includes a first device may include: a first wireless interface, a first speaker, and a first processing system. The system also includes a second device may include: a second wireless interface, a second speaker, and a second processing system, where the first device is configured to establish an asynchronous connection oriented link (ACL) connection with the second device. The system also includes use a forward error correction (FEC) to encode a length field of a packet. The system also includes transmit the packet from the first device to the second device. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
[0007] Implementations may include one or more of the following features. The wireless system where using the FEC may include repeating individual bits of the length field at least two times. The ACL connection is a relay connection between the first device and the second device, where an audio host that is connected to the first device is unaware of the second device. The first device is a first earbud and the second device is a second earbud. The first earbud and the second earbud are true wireless stereo earbuds. Using the FEC may include the first device and the second device selecting a code rate associated with the FEC from one or more of a 1 / 3 code rate, a 1 / 4 code rate, or a 1 / 5 code rate. The wireless system may include dynamically adjusting the code rate of the FEC after transmission of one or more packets using the ACL connection. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.
[0008] One general aspect includes a non-transitory computer-readable medium containing computer executable instructions that. The non-transitory computer-readable medium containingcomputer executable instructions also includes establishing an asynchronous connection oriented link (ACL) connection between a first device and a second device. The instructions can also include using a forward error correction (FEC) to encode a length field of a packet. The instructions also includes transmitting the packet from the first device to the second device. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.
[0009] Implementations may include one or more of the following features. The non-transitory computer-readable medium where using the FEC may include repeating individual bits of the length field at least two times. Using the FEC may include selecting a code rate associated with the FEC from one or more of a 1 / 3 code rate, a 1 / 4 code rate, or a 1 / 5 code rate. The computer executable instructions that, when executed by a processor, further cause the processor to dynamically adjust a code rate of the FEC after transmission of one or more packets using the ACL connection. The ACL connection is a relay connection between the first device and the second device, where an audio host that is connected to the first device is unaware of the second device. The first device and the second device are true wireless stereo earbuds. Implementations of the described techniques may include hardware, a method or process, or computer software on a computer-accessible medium.BRIEF DESCRIPTION OF THE DRAWINGS
[0010] A further understanding of the nature and advantages of various embodiments may be realized by reference to the following figures. In the appended figures, similar components or features may have the same reference label. Further, various components of the same type may be distinguished by following the reference label by a dash and a second label that distinguishes among the similar components. If only the first reference label is used in the specification, the description is applicable to any one of the similar components having the same first reference label irrespective of the second reference label.
[0011] FIG. 1 illustrates a system in which data is transmitted between earbuds, and a computing device.
[0012] FIG. 2 illustrates a poor ACL link connection between two devices.
[0013] FIG. 3 shows an example of the voice call that uses LE audio.
[0014] FIG. 4 illustrates a link layer packet structure.
[0015] FIG. 5 shows the length field using different code rates.
[0016] FIG. 6 shows use of a FEC to improve the robustness of communication.
[0017] FIG. 7 shows an example of the voice call that uses LE audio and a FEC.
[0018] FIG. 8 illustrates an embodiment of a method that uses a FEC to improve the robustness of an ACL connection.DETAILED DESCRIPTION
[0019] FIG. 1 illustrates a system 100 in which data is transmitted between earbuds 120, and a computing device 130. Downstream audio is transmitted from computing device 130 to earbuds 120 and upstream audio (e.g., voice captured via microphone) is transmitted from one of earbuds 120 to computing device 130. System 100 includes: earbud 120-1 (e.g., a right or left earbud of a pair of true wireless earbuds); earbud 120-2 (e.g., a true wireless earbud for the opposite ear from earbud 120-1); and computing device 130. The computing device 130 and the earbuds 120 are configured to support “audio use cases” such as telephony (cellular), Voice-Over-IP (VOIP) calls, media playback (e.g., music, game notifications, . . .), and the like, using a wireless technology, such as but not limited to Bluetooth Classic (BR / EDR) technology and Bluetooth Low Energy (BLE) technology.
[0020] Earbuds 120 can be true wireless earbuds, which refer to a pair of earbuds that do not have any physical connection, such as a wire or band, connecting the two earbuds or with an audio source. True wireless earbuds can allow a user to use both earbuds 120 or use a single earbud (either earbud 120-1 or earbud 120-2) at a given time.
[0021] Some components of earbuds 120 are illustrated. Specifically, earbuds 120 include: wireless interfaces 122; microphones 124; processing systems 126; and speakers 128. All components of earbuds 120 can be housed by housings of the respective earbud, which can be made from a rigid or semi-rigid material. Earbuds 120 can be shaped to be at least partially inserted into a user’s ear so that it will stay in place during normal body movements.
[0022] Wireless interface 122 can be a short-range wireless interface that allows for a device-to- device exchange of data. For example, short-range refers to a distance of up to 1, 10, 15, or 20 meters. Wireless interface 122 can be a Bluetooth interface that allows for data to be exchanged according to a communication protocol from the Bluetooth family of communication protocols, such as Bluetooth basic rate or extended data rate (BR / EDR, which can also be referred to as “Bluetooth Classic”), Bluetooth Low Energy (BLE), and / or Bluetooth LE audio. Wireless interface 122 can communicate using the 2.4 GHz band, which for Bluetooth spans from 2.4 GHz to 2.4835 GHz. This frequency band can be divided up into a number of channels, such as 80channels for Bluetooth BDR / EDR, each 1 MHz wide, or 40 channels for Bluetooth LE or LE Audio, which are each 2 MHz wide. Bluetooth communications can involve frequent channel changes within the 2.4 GHz band, such as up to 1600 channel changes per second.
[0023] Wireless interfaces 122 can be understood as Bluetooth wireless interfaces in that each of wireless interfaces 122 can communicate with other Bluetooth interfaces (e.g., wireless interface 132) that conform to the Bluetooth standard. For example, in FIG. 1, audio source 130 has a Bluetooth interface, referred to as wireless interface 132. Wireless interfaces 122 can exchange data using Bluetooth LE with wireless interface 132. For example, wireless interface 132 may be used to transmit downstream audio packets to wireless interfaces 122 while upstream audio packets constructed using audio captured using one or more of microphones 124 are transmitted by wireless interfaces 122 to wireless interface 132.
[0024] In earbud 120-1, processing system 126-1 can be in communication with wireless interface 122-1; speaker 128-1; and microphone 124-1. In earbud 120-2, processing system 126-2 can be in communication with wireless interface 122-2; speaker 128-2; and microphone 124-2. Processing systems 126 may include one or more special-purpose or general -purpose processors. Such special-purpose processors may include processors that are specifically designed to perform the functions of the components detailed herein. Such special-purpose processors may be ASICs or FPGAs which are general-purpose components that are physically and electrically configured to perform the functions detailed herein. Such general-purpose processors may execute specialpurpose software that is stored using one or more non-transitory processor-readable mediums, such as flash memory or other forms of memory.
[0025] Speakers 128 are used for outputting audio to a user. Processing system 126 can control the volume of audio received via wireless interfaces 122. Microphones 124 are present in each of earbuds 120. Microphones 124 can be used to capture audio in the vicinity of earbuds 120, such as speech of a user wearing at least one of earbuds 120 and transmit the captured audio as upstream audio packets via Bluetooth (e.g., Bluetooth LE Audio) to computing device 130. Microphones 124 can also be used to capture audio to perform noise cancellation.
[0026] A particular earbud of earbuds 120 may be designated as a “primary” earbud (PE) and the other earbud is designated as a second earbud (SE). In some examples, both the PE and the SE establish a control link and voice link with the computing device 130. In other examples, the PE, such as earbud 120-1 establishes a control link and a voice link with the computing device 130 while the SE, such as earbud 120-2, passively sniffs the voice link and the control link (as illustrated by the dashed line) between the PE and the computing device 130.
[0027] A single earbud, or two or more earbuds, may capture and stream upstream audio to computing device 130. Earbuds 120 may decide among themselves which earbud is to transmit upstream audio. For instance, the decision as to which earbud is to transmit upstream audio may be based on battery charge in each earbud, signal strength between each earbud and computing device 130, and / or an amount of noise detected by each earbud on captured audio. In some embodiments, the audio captured by each of microphones 124 is combined together to create an upstream audio stream that is transmitted to computing device 130.
[0028] An earbud manufacturer is not in control of the fundamental experience. Earbud manufacturers rely on the source’s selection of microphone channel rather than the earbud’s (and thus earbud manufacturer’s) selection. Some phone manufacturers may decide to combine the microphone audio from both earbuds; others may choose to use only the left; yet others may choose the opposite; and others may choose to switch periodically based upon some algorithm that the earbud manufacturer had no way to determine.
[0029] In a first arrangement, a left (“L”) earbud and a right (“R”) earbud decide between themselves which one will be the PE and which earbud will be the SE. In both arrangements, one earbud can optionally sniff data sent / received by the other earbud. Sniffing is defined as capturing the data wirelessly transmitted that is intended for a device other than the one doing the sniffing. Combining the microphone data sent by another earbud with a given earbud’s microphone can be useful for a multitude of purposes, amongst which are beamforming of sound capture, wind / ambient noise reduction, increasing SNR of sound capture, finding direction of an auditory stimulus around the user, etc. The arrangements detailed herein can also be applied to loudspeakers.
[0030]
[0001] Computing device 130 includes wireless interface 132 and processing system 136. Examples of computing device 130 can include: a smartphone; a desktop, laptop, or tablet computer; a gaming device; a smart television; a digital music player device; a smartwatch; smart glasses; an augmented reality or a virtual reality headset; or any other device from which a user may desire to stream audio to earbuds 120 and, possibly, transmit upstream audio from earbuds 120 to computing device 130. Computing device 130 includes wireless interface 132, which can communicate with earbuds 120, and other devices, such as HID device 140, using device-to-device communication protocols, such as a Bluetooth communication protocol (e.g., Bluetooth classic, Bluetooth LE, or Bluetooth LE Audio). Therefore, computing device 130 can transmit a downstream audio stream to one or more of earbuds 120 via wireless interface 132,receive an upstream audio stream from one or more of earbuds 120, and also communicate with one or more other Bluetooth devices.
[0031] Processing system 136 may include one or more special-purpose or general-purpose processors. Such special-purpose processors may include processors that are specifically designed to perform the functions of the components detailed herein, such as detailed in relation to processing systems 126.
[0032] The earbuds 120 may be configured to support telephony (cellular) voice call, Voice- Over-IP (VOIP) call, and media playback (music, game, notifications, etc.) use cases using both Bluetooth classic and BLE technologies. When using Bluetooth classic, the voice link uses an eSCO connection and the control link uses an ACL connection. When using BLE, the voice link uses a CIS connection, and the control link uses an ACL connection.
[0033] The eSCO connection associated with Bluetooth and the CIS connection associated with BLE both reserve bandwidth per the use case Quality of Service (QoS) requirements at the connection setup time. This reserved bandwidth is static and does not change for the lifetime of the connection. The actual utilized bandwidth, however, depends on the prevalent link conditions (environment, range, etc.). Therefore, the utilized bandwidth may change throughout the lifetime of the connection. For example, it is possible that 100% of the reserved bandwidth is used at some times, while at other times, some other percentage (e.g., 10%, 20%, 50%, . . .) of the reserved bandwidth is used at other times.
[0034] As illustrated in FIG. 1, the earbuds 120 are configured to use a relay link to transfer data between earbud 120-1 and earbud 120-2. In some examples, the relay link is an ACL link that can be used to forward one or more voice / audio packets from one earbud to another earbud. For instance, in the case when one earbud does not receive a packet, the relay link can be used to forward the packet from the earbud that received the packet to the earbud that did not receive the packet from the computing device.
[0035] In contrast to the voice link that has a reserved bandwidth, the relay link does not have reserved bandwidth. The utilized bandwidth for the relay link depends on different factors including if the voice / audio packet needs to be forwarded, and the prevalent link conditions (environment, person’s body absorption of radio waves, etc.). Generally, if the link conditions are good then there may not be any need to retransmit a packet, but if the link conditions are poor then a packet may need to be retransmitted. As will be described in more detail below, a forward error correction (FEC) code may be used to increase the robustness of communication that uses the ACLlink. In some examples, the FEC uses a rate code for encoding the length field of a packet transmitted over the ACL link.
[0036] Earbuds may support audio use cases (voice call, music playback, Virtual Assistant, Dynamic Spatial Audio, etc.) using Bluetooth Classic (BR / EDR) technology. They may also support audio use cases (voice call, music playback, Virtual Assistant, Dynamic Spatial Audio, etc.) using Bluetooth Low Energy (LE) technology as well along with supporting those using Bluetooth Classic (BR / EDR) technology.
[0037] Some use cases may require low latency (e.g., voice call) while other use cases may require high throughput (e.g., Over-The-Air device (OTA) software upgrade, hotword transfer for Virtual Assistant, etc.). Though, in certain cases, LE Asynchronous Connection Oriented Link (ACL) link on uncoded PHY doesn’t meet the mentioned requirements. This innovation is directed to improve the robustness of the LE ACL link on uncoded PHY to meet the mentioned requirements.
[0038] In the illustrated architecture, the audio host (AH) communicates with one of the earbuds, called the Primary Earbud (PE). The other earbud, called the Secondary Earbud (SE), passively sniffs the link between the AH and the PE. There may be cases where the PE successfully receives the audio packets from the AH while the SE misses those. This could be due to the poor wireless path between the AH and the SE while the wireless path between the AH and the PE is good. A relay scheme is implemented between the buds such that the PE could forward the packet to the SE in such cases so that the audio quality on the SE remains good.
[0039] The LE standard supports two types of connections for point to point (unicast) communication. One type of connection type is an LE Connected Isochronous Stream (CIS) connection which is used for carrying the audio streams traffic (e.g., compressed audio packets for a voice call, music playback, or assistant response).
[0040] Another connection type is a LE Asynchronous Connection Oriented Link (ACL) connection that can be used for carrying the wireless link control traffic (e.g., increase / decrease TX power), application control traffic (e.g., play / pause music playback), and application asynchronous data traffic (e.g., keyboard key presses / releases, mouse movements, etc.). A device may request and establish an LE ACL connection with another device. The request can include parameters such as but not limited to a connection interval, a timeout, a peripheral latency, and a channel map. The connection interval defines a length of each of the connection events.
[0041] In the example as illustrated in FIG. 1, that involves earbuds 120, an LE ACL link may be used for data communication, such as throughput intensive use cases between the AH and the earbuds. For instance, these cases may include an over the air (OTA) software upgrade, a hotword transfer for use in interacting with a Virtual Assistant, as an audio traffic relay between the PE and the SE. The AH and PE may use one or more CIS connections for the transfer of audio traffic between the AH and the PE.
[0042] FIG. 2 illustrates a poor ACL link connection between two devices. Two different connection events, Connection Event 0 and Connection Event 1, are illustrated in FIG. 2. The illustrated transmissions (TX0. . .TXN) and the receptions (RX0. . RXN) are from the perspective of the AH, such as the CG 130, illustrated in FIG. 1. In some cases, the LE ACL link has a weakness relevant to the throughput intensive and / or latency sensitive use cases.
[0043] Indicators 210A and 220 A illustrate an ACL connection that has good link conditions during connection event 0 and connection event 1. As can be seen by referring to 210A and 220 A, each of the transmissions (TX0. . .TXN) are received by the devices.
[0044] Indicator 210B illustrates poor link conditions during connection event 0, and improved (e.g., good link conditions) link conditions during connection event 1 as illustrated by indicator 220B. Referring to 210B it can be seen that at least some of the packets cannot be exchanged between the AH and the earbud 120 as illustrated by the “X” over TX1 . . . TXN and RX1 and RXN. When packets cannot be exchanged (e.g., due to poor link conditions that afFECt the transmission / reception of data), the throughput is reduced and the latency is increased since the packets need to be resent during a subsequent connection event, such as during connection event 1.
[0045] The illustrated LE ACL is a periodic connection. As such, the start of the consecutive connection events is separated by a fixed interval, known as the Connection Interval. In the current example, the consecutive transmissions in each ACL connection event are separated by a fixed duration (150 us) measured from the end of the latest packet. This means that the receiver must be able to know the end of the latest packet accurately so that it knows the time when the next transmission must be started to successfully continue the communication with the other device in the connection event.
[0046] The receiver identifies the end of the latest packet by determining the value that is contained within the “Length” field in the “Payload Header” of the received packet (See FIG. 5 and related discussion for further details associated with details of the packet including the header).
[0047] In the case of poor link conditions, the transmission of a packet (e.g., TX1) may become corrupted and the receiving device receives a corrupted packet. When the received packet is corrupted (e.g., due to poor link conditions) the “Length” field will be error (e.g., wrong value). When the length field is in error, the receiving device cannot accurately identify the end of the latest received packet. When the receiving device cannot accurately identify the end of the latest received packet, the communication in the connection event, such as connection event 0 is not able to continue. The communication on the ACL link in the case illustrated by indicator 21 OB resumes in the next connection event (e.g., connection event 1), as the successive connection events are separated from each other by the Connection Interval.
[0048] As can be seen by referring to FIG. 2, the LE ACL traffic may suffer from degraded throughput and high latency in poor link conditions as a large portion of bandwidth available in a particular connection event may go unused, such as TX1 . . . TXN and RX1 . . RXN illustrated by indicator 21 OB. As such, the standard LE ACL protocol does not provide a reliable solution for throughput intensive and latency sensitive UCs. Using techniques described herein, however, the throughput and latency can be improved even during poor link conditions.
[0049] FIG. 3 shows an example of the voice call that uses LE audio. In the current example, the AH, such as CG 130 establishes a CIS link and an ACL link with an earbud 120, such as the PE, and the PE establishes a relay link (e.g., an ACL link) with the SE. In the example illustrated in FIG. 3, twelve frames 310 are illustrated in which the AH communicates with the PE, and the PE communicates with the SE during good link conditions and poor link conditions.
[0050] As discussed above, there can be issues when attempting to communicate using an ACL link due to poor link conditions. One issue pertains to low latency use cases (e.g., a voice call) that specifies that a Downlink (DL) and an Uplink (UL) voice packet gets delivered every interval (10 ms in the example). As FIG. 3 shows, the AH traffic 312 shows that the communication between the AH and PE that includes the download audio traffic (DL), the upload audio traffic (UL) and the communication of the downlink / uplink close isochronous traffic (CIE) are experiencing good link conditions. While the communication link between the AH and the PE is experiencing good link conditions and no loss of data, the communication path with the SE, as indicated by SE traffic 316 and relay link traffic 318 is experiencing poor link conditions.
[0051] In the current example, the PE receives the DL audio packet sent from the AH to the PE successfully, and the PE acknowledges the same along with sending the UL voice packet. As the AH successfully receives the UL voice packet sent from the PE to the AH, the AH and the PE closes the CIS communication using CIE packets. The SE, however, was not able to successfullyreceive (e.g., by sniffing) the DL voice packet from AH as the wireless path between the AH and the SE is not good and is experiencing poor link conditions.
[0052] In some examples, the relay link illustrated in FIG. 1 may be used to forward the audio traffic not received by the PE but not received by the SE. According to some configurations, the PE and SE perform a handshake with each other (e.g., at Frame #4) and the PE determines that it needs to forward the received DL voice packet to the SE. The PE forwards the DL packet 318 to the SE but the SE receives a corrupted packet 320. For instance, the SE may receive a packet from the PE, but the “length” field error discussed above may occur. Using prior techniques of the standard ACL connection means that the SE did not receive the DL voice packet and it can’t be forwarded (retransmitted) in this connection event anymore as the communication can’t continue.
[0053] The next opportunity to forward the packet is in next connection event (Frame #12) but that is too late due to meet the latency specifications. As discussed briefly above, a voice call use case specifies that a new voice packet be sent in every connection interval per the latency requirements. This means that the DL voice packet would be stale by (Frame #12). Instead, Frame #12 would be used to forward the DL voice packet received in Frame #9 if forwarding was requested by the SE. A packet received by the SE may be corrupted more than once and can continue to occur during poor link conditions. Such loss of packets causes poor audio quality on the SE while PE has good audio quality. This can be annoying for the user.
[0054] FIG. 4 illustrates a link layer packet structure 400. As illustrated, FIG. 4 shows a Link Layer packet format for the LE Uncoded PHYs (physical layer radio specifications) 410, a data physical channel protocol data unit (PDU) 420, and a data physical channel PDU header 430.
[0055] Using techniques described herein, the length field 432 is coded with a Forward Error Correction (FEC) code to help make the length field 432 more resilient against errors and hence, provides a much higher probability of being restored by the receiver when the bits in the Length field are in error due to poor link conditions. Generally, FEC is a technique that adds redundant data to the signal. For example, instead of sending a value one time within a packet, the value may be sent multiple times (e.g., 2, 3, 4, . . .). Improving the resilience of the value within the length field 432 may help improve an overall user experience provided by an ecosystem of products (e.g., phone with earbuds) as the LE ACL link between the devices is more robust as compared to not using an FEC. The user experience for throughput intensive applications such as OTA software (SW) upgrade, hotword transfer for Virtual Assistant, and the like, can also be improved.
[0056] Using FEC helps to increase the probability of successful packet forwarding from one device to another (e.g., the PE to the SE) even when link conditions are poor. As such, the userexperience of hearing audio at the SE can remain consistent with the SE. The extra bits for the FEC can be referred to herein as “error bits”.
[0057] FIG. 5 shows the length field using different code rates. Indicator 510A illustrates the use of a 1 / 3 code rate. As illustrated by 510A each bit is repeated an additional two times. The code rate of 1 / 3 repeats each bit of the Length field three times. When using a 1 / 3 code rate, the length field 432 would be 24 bits due to the redundancy added by the sixteen extra bits to include the redundant data. The FEC code rate, however, can be a different code rate such as 1 / 3, 1 / 4, 1 / 5, and the like.
[0058] Indicator 500B illustrates the use of a 1 / 4 code rate. 1 / 4 code rate would use twenty-four extra bits, and the length field 432 would be 32 bits. While the error bits are illustrated after each bit, other arrangements of the error bits can be used. For instance, the error bits may be placed after the first eight bits are sent (e.g., b0-b7, followed by error bits (e.g., bO-7, b0-b7).
[0059] In some configurations, the FEC could dynamically change (e.g. during a sessision), or could be determined before a connection, or at some other point. For example, the devices may perform a handshake to agree upon the desired FEC and use the FEC that is agreed upon. In some examples, the device can be configured to use a specified FEC (e.g., 3 or some other value without the devices performing a handshake. Using a FEC helps to make the length field 432 more resilient against errors and hence, provides a much higher probability of being restored by the receiver when the bits in the Length field are in error due to poor link conditions.
[0060] As indicator 500C illustrates, the third instance of bit bO 502 is wrong (e.g., the value of bit 502 is “0” but the other two instances of bO are “1”. Stated another way, the value determined to be the correct value is the value that the majority of bits include. Since the value of the bit, such as bO, can be determined, the communication can continue.
[0061] FIG. 6 shows use of a FEC to improve the robustness of communication, that as the Length field is restored the connection event could be fully utilized as the communication doesn’t stop. This helps achieving high throughput for throughput intensive use cases (e.g. OTA SW upgrade) and reducing latency.
[0062] Two different connection events, Connection Event 0 and Connection Event 1, are illustrated in FIG. 6. The illustrated transmissions (TX0. . .TXN) and the receptions (RX0. . RXN) are from the perspective of the AH, such as the CG 130, illustrated in FIG. 1. In some cases, the LE ACL link has a weakness relevant to the throughput intensive and / or latency sensitive use cases.
[0063] Indicators 610A and 620 A illustrate an ACL connection that has good link conditions during connection event 0 and connection event 1. As can be seen by referring to 610A and 620 A, each of the transmissions (TXO. . .TXN) are received by the devices.
[0064] Indicator 610B illustrates poor link conditions during connection event 0, and improved (e.g., good link conditions) link conditions during connection event 1 as illustrated by indicator 620B. Referring to 610B it can be seen that a bit in the length field 432 of packet 602 was in error between the AH and the earbud 120, but that the value of the bit was restored due to the FEC code rate. Since the value of the bit can be determined, and correct length determined, the throughput is not reduced and the latency is decreased since the packets do not need to be resent during a subsequent connection event, such as during connection event 1.
[0065] FIG. 7 shows an example of the voice call that uses LE audio and a FEC. Instead of packets not being received due to an incorrect field length 432, the user experience for the voice call is improved since the communication on the relay link doesn’t stop due to the use of the FE and the length field being restored successfully. This means that the DL voice packet could be retransmitted successfully and hence, relayed from the PE to the SE. This helps with good audio quality on the SE along with the PE.
[0066] In the current example, the AH, such as CG 130 establishes a CIS link and an ACL link with an earbud 120, such as the PE, and the PE establishes a relay link (e.g., an ACL link) with the SE. In the example illustrated in FIG. 3, twelve frames 710 are illustrated in which the AH communicates with the PE, and the PE communicates with the SE during good link conditions and poor link conditions.
[0067] As discussed above, there can be issues when attempting to communicate using an ACL link due to poor link conditions. One issue pertains to low latency use cases (e.g., a voice call) that specifies that a Downlink (DL) and an Uplink (UL) voice packet gets delivered every interval (10 ms in the example). As FIG. 7 shows, the AH traffic 712 shows that the communication between the AH and PE that includes the download audio traffic (DL), the upload audio traffic (UL) and the communication of the downlink / uplink close isochronous traffic (CIE) are experiencing good link conditions. While the communication link between the AH and the PE is experiencing good link conditions and no loss of data, the communication path with the SE, as indicated by SE traffic 714 and relay link traffic 716 is experiencing poor link conditions.
[0068] In the current example, the PE receives the DL audio packet sent from the AH to the PE successfully, and the PE acknowledges the same along with sending the UL voice packet. As the AH successfully receives the UL voice packet sent from the PE to the AH, the AH and the PEcloses the CIS communication using CIE packets. The PE forwards the DL packet 718 to the SE but the SE receives a corrupted packet. The SE, however, is able to determine the correct length due to the use of the FEC.
[0069] Various methods may be performed using the systems, states, and arrangements detailed in relation to FIGS. 1-7. FIG. 8 illustrates an embodiment of a method 800 that uses a FEC to improve the robustness of an ACL connection. Method 800 refers to a “primary earbud” (PE), and a “secondary earbud” (SE). Either a left or right earbud can function as a PE and the other earbud functions as the SE.
[0070] At block 810, an ACL link that is established between a first device and a second device. As discussed above, the ACL link may be a relay link established between a first earbud 120 and a second earbud 120.
[0071] At block 820, a forward error code (FEC) is used to encode on or more fields of a packet. As discussed above, in some examples, the length field 432 is encoded using an FEC code rate. In some examples, the FEC code rate includes at least one extra error code bit for each bit within a length field 432.
[0072] At block 830, data is transmitted using the ACL link. As discussed above, the first earbud 120 may transfer a packet during a connection event with the second earbud 120.
[0073] At block 840, the error bits are used to correct the length field when determined. As discussed above, one or more of the bits of the length field may not be the same as the majority of the bits of the encoded length field 432 using the FEC.
[0074] Having described several example configurations, various modifications, alternative constructions, and equivalents may be used without departing from the spirit of the disclosure. For example, the above elements may be components of a larger system, wherein other rules may take precedence over or otherwise modify the application of the invention. Also, a number of steps may be undertaken before, during, or after the above elements are considered.
Claims
WHAT IS CLAIMED IS:
1. A method for improving link robustness, the method comprising: establishing an Asynchronous Connection Oriented Link (ACL) connection between a first device and a second device; using a Forward Error Correction (FEC) to encode a length field of a packet; and transmitting the packet from the first device to the second device.
2. The method of claim 1, wherein using the FEC comprises repeating one or more bits of the length field at least two times.
3. The method of claim 1, wherein using the FEC comprises selecting a code rate associated with the FEC from one or more of a 1 / 3 code rate, a 1 / 4 code rate, or a 1 / 5 code rate.
4. The method of claim 1, further comprising dynamically adjusting a code rate of the FEC after transmission of one or more packets using the ACL connection.
5. The method of claim 1, wherein the ACL connection is a relay connection between the first device and the second device, wherein an audio host that is connected to the first device is unaware of the second device.
6. The method of claim 1, wherein the first device is a first earbud and the second device is a second earbud.
7. The method of claim 6, wherein the first earbud and the second earbud are true wireless stereo earbuds.
8. A wireless system that uses a Bluetooth Low Energy (BLE) Audio protocol, comprising: a first device comprising: a first wireless interface, a first speaker, and a first processing system; and a second device comprising: a second wireless interface, a second speaker, and a second processing system, wherein the first device is configured to: establish an Asynchronous Connection Oriented Link (ACL) connection with the second device; use a Forward Error Correction (FEC) to encode a length field of a packet; and transmit the packet from the first device to the second device.
9. The wireless system of claim 8, wherein using the FEC comprises repeating individual bits of the length field at least two times.
10. The wireless system of claim 8, wherein using the FEC comprises the first device and the second device selecting a code rate associated with the FEC from one or more of a 1 / 3 code rate, a 1 / 4 code rate, or a 1 / 5 code rate.
11. The wireless system of claim 10, further comprising dynamically adjusting the code rate of the FEC after transmission of one or more packets using the ACL connection.
12. The wireless system of claim 9, wherein the ACL connection is a relay connection between the first device and the second device, wherein an audio host that is connected to the first device is unaware of the second device.
13. The wireless system of claim 9, wherein the first device is a first earbud and the second device is a second earbud.
14. The wireless system of claim 13, wherein the first earbud and the second earbud are true wireless stereo earbuds.
15. A non-transitory computer-readable medium containing computer executable instructions that, when executed by a processor, cause the processor to perform a method, comprising: establishing an Asynchronous Connection Oriented Link (ACL) connection between a first device and a second device; using a Forward Error Correction (FEC) to encode a length field of a packet; and transmitting the packet from the first device to the second device.
16. The non-transitory computer-readable medium of claim 15, wherein using the FEC comprises repeating individual bits of the length field at least two times.
17. The non-transitory computer-readable medium of claim 15, wherein using the FEC comprises selecting a code rate associated with the FEC from one or more of a 1 / 3 code rate, a 1 / 4 code rate, or a 1 / 5 code rate.
18. The non-transitory computer-readable medium of claim 15, wherein the computer executable instructions that, when executed by a processor, further cause the processorto dynamically adjust a code rate of the FEC after transmission of one or more packets using the ACL connection.
19. The non-transitory computer-readable medium of claim 15, wherein theACL connection is a relay connection between the first device and the second device, wherein an audio host that is connected to the first device is unaware of the second device.
20. The non-transitory computer-readable medium of claim 15, wherein the first device and the second device are true wireless stereo earbuds.
Citation Information
Patent Citations
Method for processing Bluetooth data packet and communication device
CN114070329A
Electronic device for transmitting and receiving data packet and operating method thereof
US20230100921A1
Method for processing bluetooth data packet and communication apparatus
US20230171028A1
