# Patent

## Title
Hearing device and a method of selecting an optimal transceiver channel in a wireless network

## Abstract

A method in a wireless network comprising a plurality of frequency channels and a receiving participant, the method includes: receiving data on a first subset of the plurality of frequency channels, wherein the frequency channels in the first subset are utilized at least once; receiving data on a second subset of the plurality of frequency channels; determining packet error rates for the respective frequency channels in the first and the second subsets; and selecting one of the plurality of frequency channel as an optimal frequency channel based on a result from the act of determining.

## Background
RELATED APPLICATION DATA
This application is the national stage of PCT Application No. PCT/EP2011/067989, which claims priority to and the benefit of Danish Patent Application No. PA 2010 00936, filed on Oct. 14, 2010, and Danish Patent Application No. PA 2011 00263, filed on Apr. 6, 2011. The disclosures of all of the above application are expressly incorporated by reference in their entireties herein.
FIELD
The present specification relates to a hearing device adapted to select an optimal transceiver channel in a wireless network. Additionally, the present specification relates to a corresponding method.
BACKGROUND
In a wireless binaural hearing device system, it may be advantageous to transfer data between the two hearing device via an optimal frequency channel, wherein the optimal frequency channel adapts to variations in the environment of the wireless binaural hearing device system.
Therefore, an object of one or more embodiments described herein is to select an optimal frequency channel for transmission of data between hearing devices in a binaural hearing device system.
SUMMARY
The above and other objects are achieved by a method of receiving data on an optimal frequency channel in a wireless network comprising a plurality of frequency channels and a receiving participant, the method comprising receiving data on a first subset of the plurality of frequency channels, wherein each of the plurality of frequency channels is utilized at least once; receiving data on a second subset of the plurality of frequency channels, wherein the optimal frequency channel is utilized; determining a packet error rate for each of the plurality of frequency channels in the first and the second subsets; and optionally determining a frequency channel to be the optimal frequency channel based on the packet error rate.
It is an advantage of the method that data is transmitted on a first optimal frequency channel in the second subset while all the frequency channels are scanned in the first subset to monitor whether a change in optimal frequency channel has occurred i.e. whether another frequency channel than the first optimal frequency channel has become the optimal frequency channel. Thus, determination of which frequency channel is the optimal frequency channel is performed simultaneously with transmission on the optimal channel. An additional advantage of the method is that using many frequency channels gives good frequency diversity to cover larger variation of the wireless channels (the plurality of channels).
In the method, determining a frequency channel to be the optimal frequency channel may further comprise calculating a long term evaluation of each of the frequency channels based on the packet error rate of the respective frequency channels and a first time constant; and determining a frequency channel to be the optimal frequency channel based on the long term evaluation.
A frequency channel which has been the optimal frequency channel over a long period of time e.g. 30 seconds may prove to be a better (more stable) choice for optimal frequency channel than a frequency channel which has only been the optimal frequency channel for a short period of time e.g. 1 second.
The method may further comprise calculating a short term evaluation of each of the frequency channels based on the packet error rate of the respective frequency channels and a second time constant being smaller than the first time constant; and determining a frequency channel to be the optimal frequency channel based on the short term evaluation, e.g. if a plurality of frequency channels comprise an identical optimal long term evaluation.
Thus, if a plurality of frequency channel have the same optimal characteristics on a long time scale (30 seconds above), then the optimal channel of this plurality of channels is the one having also optimal short term characteristic i.e. the frequency channel being the optimal most recently of the channels having long term optimal characteristics is chosen.
The method may further comprise determining a frequency channel to be the optimal frequency channel based on a random selection from frequency channels having identical optimal short term and optimal long term evaluations.
The method may further comprise determining an environment of the receiving participant based on the long term evaluation of the frequency channels and/or the short term evaluation of the frequency channels.
The method may further comprise maintaining the optimal frequency channel as the optimal frequency channel if the packet error rate of the optimal channel is below a first threshold value or if the packet error rates of the frequency channels in the second subset is above a second threshold value.
The method may further comprise transmitting an optimal frequency channel and a countdown value from the receiving participant to a transmitting participant, wherein said countdown value indicates to the receiving and transmitting participants when to switch to the optimal frequency channel.
Thereby it may advantageously be ensured that the receiving and transmitting participants switch to the same optimal frequency channel at the same time.
The method may further comprise transmitting high bandwidth data between the receiving participant and a transmitting participant in the second subset of the plurality of frequency channels. The high bandwidth data may be adapted to carry a real-time audio signal.
Thereby it may advantageously be ensured that audio data is transmitted on the optimal frequency channel i.e. maximizing the probability that the audio data will reach the receiving participant from the transmitting participant.
The method may further comprise transmitting redundant data between the receiving participant and a transmitting participant in the first subset of the plurality of frequency channels.
It is an advantage that if redundant data is used from scanning the plurality of frequency channels, then it is acceptable if some of the data does not reach the receiving participant from the transmitting participant.
The method may further comprise excluding a frequency channel from the first and second subsets if the packet error rate of the frequency channel is above a third threshold value.
Thereby is advantageously obtained that if a frequency channel is permanently in disorder, then there is no reason in utilizing it and it may be replaced by another frequency channel thereby optimizing throughput between the transmitting and receiving participant and/or providing better statistical data on which the optimal frequency channel has to be chosen.
The receiving participant may be a hearing device.
Also disclosed is a method of selecting an optimal frequency channel in a wireless network comprising a plurality of frequency channels and a transmitting participant and a receiving participant, the method comprising utilizing redundant data to determine which of the plurality of frequency channels is the frequency channel with the lowest packet error rate.
Also disclosed herein is a hearing device comprising a transceiver and a digital signal processor adapted to perform the method as disclosed herein.
The hearing device and embodiments thereof has the same advantages as the method of receiving data on an optimal frequency channel in a wireless network.
A method in a wireless network comprising a plurality of frequency channels and a receiving participant, the method includes: receiving data on a first subset of the plurality of frequency channels, wherein the frequency channels in the first subset are utilized at least once; receiving data on a second subset of the plurality of frequency channels; determining packet error rates for the respective frequency channels in the first and the second subsets; and selecting one of the plurality of frequency channel as an optimal frequency channel based on a result from the act of determining.
Optionally, the method further includes determining long term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and the second subsets, and a first time constant; wherein the one of the plurality of frequency channels is selected as the optimal frequency channel based on the long term evaluations.
Optionally, the method further includes determining long term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and the second subsets, and a first time constant; and determining short term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and second subsets, and a second time constant, the second time constant being smaller than the first time constant; wherein the one of the plurality of frequency channels is selected as the optimal frequency channel based on the short term evaluations if the long term evaluations of two or more of the frequency channels have a same evaluation value.
Optionally, the method further includes determining long term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and the second subsets, and a first time constant; and determining short term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and second subsets, and a second time constant, the second time constant being smaller than the first time constant; wherein the one of the plurality of frequency channels is selected as the optimal frequency channel based on a random selection from two or more of the frequency channels having the respective short term evaluations that are identical, and the respective long term evaluations that are identical.
Optionally, the method further includes determining an environment of the receiving participant based on long term evaluations of some of the plurality of frequency channels, short term evaluations of some of the plurality of frequency channels, or both.
Optionally, the method further includes maintaining the selected one of the plurality of frequency channels as the optimal frequency channel if the packet error rate of the selected one of the plurality of frequency channels is below a first threshold value or if the packet error rates of the frequency channels in the second subset are above a second threshold value.
Optionally, the method further includes transmitting a countdown value from the receiving participant to a transmitting participant, wherein the countdown value indicates to the receiving and transmitting participants when to switch to the optimal frequency channel.
Optionally, the method further includes transmitting high bandwidth data between the receiving participant and a transmitting participant in the second subset of the plurality of frequency channels.
Optionally, the high bandwidth data is configured to carry a real-time audio signal.
Optionally, the method further includes transmitting redundant data between the receiving participant and a transmitting participant in the first subset of the plurality of frequency channels.
Optionally, the method further includes excluding a certain one of the frequency channels in the first and second subsets as a possible candidate for the optimal frequency channel if the packet error rate for the certain one of the frequency channels is above a threshold value.
Optionally, the receiving participant is a hearing device.
A hearing device includes a transceiver and a digital signal processor configured to perform any of the above methods.
A method of selecting an optimal frequency channel in a wireless network comprising a plurality of frequency channels and a transmitting participant and a receiving participant, the method includes: utilizing redundant data to determine which of the plurality of frequency channels is a frequency channel with a lowest packet error rate.
A hearing device includes a transceiver and a digital signal processor configured to perform the above method.
Further advantages and further embodiments are disclosed below.



BRIEF DESCRIPTION OF THE DRAWINGS
The drawings illustrate the design and utility of various features described herein, in which similar elements are referred to by common reference numerals. These drawings are not necessarily drawn to scale. In order to better appreciate how the above-recited and other advantages and objects are obtained, a more particular description will be rendered, which are illustrated in the accompanying drawings. These drawings depict only exemplary features and are not therefore to be considered limiting in the scope of the claims.
FIG. 1 shows an embodiment of a hearing device system comprising a first hearing device and a second device.
FIG. 2 shows an embodiment of a frame, frequency channels and frequencies utilized for the frequency channels.
FIG. 3 shows an example of a distribution of frequency channel throughput of the frequency channels in a wireless network.
FIG. 4 shows an embodiment of a method of selecting an optimal transceiver channel in a wireless network.



DETAILED DESCRIPTION
Various features are described hereinafter with reference to the figures. It should be noted that the figures are not necessarily drawn to scale and that the elements of similar structures or functions are represented by like reference numerals throughout the figures. It should be noted that the figures are only intended to facilitate the description of the features. They are not intended as an exhaustive description of the claimed invention or as a limitation on the scope of the claimed invention. In addition, an illustrated feature needs not have all the aspects or advantages shown. An aspect or an advantage described in conjunction with a particular feature is not necessarily limited to that feature and can be practiced in any other features even if not so illustrated, or if not so explicitly described.
In the above and below, a hearing device may be selected from the group consisting of a hearing aid, a hearing prosthesis, and the like. Examples of a hearing device may include a behind the ear (BTE) hearing aid and a in the ear (ITE) hearing aid.
Below and above, a best and/or optimal frequency channel is to be understood as a frequency channel among a plurality of frequency channels in which optimal frequency channel packet error rate is the lowest of the plurality of frequency channels.
FIG. 1 shows an embodiment of a hearing device system 100 comprising a first 110 hearing device and a second 120 device.
In one or more embodiments, the second 120 device may be selected from the group consisting of a second hearing device, a mobile telephone, a cordless telephone, a television, a fitting instrument fitting the first hearing device 110 to a user's hearing disability, and an intermediate device.
In one or more embodiments, the intermediate device may be a device communicating with the first hearing device 110 using a first communication protocol and with a third device (not shown) using another communication protocol. For example, the intermediate device may communicate with the first hearing device 110 using a frequency band in the ISM frequency band and a Bluetooth-like protocol with low power requirements, and a Bluetooth protocol without low power requirements between the intermediate device and the third device. For example, the first hearing device 110 may be a hearing aid, and the third device may be a Bluetooth enabled mobile telephone, and the intermediate device may provide communication between the hearing aid and the mobile telephone using the low power communication protocol to communicate with the hearing aid and a Bluetooth protocol to communicate with the mobile telephone.
The first 110 hearing device and the second device 120 may be communicatively coupled via a wireless network 130 as disclosed below.
The first hearing device 110 comprises one or more microphones 111 and at least one receiver 112. Additionally, the first hearing device 110 comprises a processing unit 113 such as a digital signal processor (DSP). The DSP 113 is communicatively coupled to the microphone 111 and the receiver 112. The communicative coupling may be embodied via electrical wires, a printed circuit board (PCB) or the like.
The microphone 111 may receive an audio signal which is converted into a digital signal by an analog to digital converter (ADC). The digital signal is transmitted from the ADC to the DSP 113, thereby enabling the DSP to modify the digital signal to accommodate a hearing deficiency of a user of the hearing device 110.
The modified digital signal may be transmitted from the DSP 113 to the receiver 112, which may convert the modified digital signal into a modified audio signal. The modified audio signal may be transmitted towards the tympanic membrane of the user.
The hearing device 110 may comprise a memory device 115 such as a volatile or non-volatile memory device. Additionally, the hearing device 110 may comprise a detector 116 further described below. The detector 116 may be communicatively coupled to the memory device 115 via the PCB.
The hearing device 110 and/or the second device 120 comprise respective communication units 114, 124 such as transceivers i.e. a combined transmitter and receiver. In one or more embodiments, the hearing device 110 may comprise a transmitter 114 and the second 120 device a receiver 124 or vice versa. In one or more embodiments, the hearing device 110 may comprise a transceiver 114 and the second 120 device a receiver 124 or vice versa.
The respective communication units 114, 124 may be communicatively coupled to respective antennas, 117, 127 e.g. via the PCB.
The hearing device 110 and the second device 120 may communicate via the respective communication units 114, 124 in order to establish the wireless network 130.
In one or more embodiments, the hearing device 110 and the second device 120 may communicate via the wireless network 130 using a number of frequency channels. In one or more embodiments, the number of frequency channels may be 31 frequency channels. In one or more embodiments, the number of frequency channels may be selected from the ISM (Industrial, Scientific and Medical) radio bands.
In one or more embodiments, one of the devices 110, 120 may act as a master and the other of the devices 110, 120 may act as a slave.
FIG. 2 shows an embodiment in which the number of frequency channels (here 31 frequency channels) are selected from the frequency band ranging from 2.402 GHz to 2.480 GHz. However, other frequency bands may be used, e.g. other frequency bands in the ISM frequency band such as for example 902 MHz-928 MHz. In one or more embodiments, frequency bands outside the ISM frequency bands may be utilized.
In one or more embodiments, the frequency channels 1 to 31 may be selected randomly from the ISM frequency band e.g. from the 2.404 GHz-2.478 GHz frequency band. The frequency distance between two adjacent frequency channels is approximately 22 MHz in order to avoid interference from WLAN.
In one or more embodiments, data transmitted between the hearing device 110 and the second device 120 may be transmitted in slots. A slot may be 1.5 ms wide, and a slot may contain a frequency channel i.e. in a given slot one frequency channel may be utilized. In one or more embodiments, data may be transmitted in a frame comprising 62 slots (slot 0 to slot 61).
The device (e.g. the second device 120) transmitting data to the other device (e.g. the first hearing device 110) may be referred to as the transmitting participant, and the other device may be referred to as the receiving participant.
FIG. 2 additionally shows an embodiment of a frame in which the 62 slots and 31 frequency channels are correlated. In a first subset (e.g. a first number) of slots i.e. every second slot, data is transmitted on a best frequency channel, which best frequency channel will be described in further details below.
In a second subset (e.g. a second number) of slots i.e. the remaining slots (every other second slot), data is transmitted on one of the 31 frequency channels in such a way that all the 31 frequency channels are utilized at least once for every 62 slots i.e. the best frequency channel is utilized 32 times (in each of the first subset of slots=every other slot=31 slots and once in the second subset of slots=1 slot), and the other 30 frequency channels are utilized once each (once in the second subset of slots).
In one or more embodiments, the best frequency channel may be changes during a frame i.e. a frame may start out with a first frequency channel being the best frequency channel and later in the frame, the best frequency channel may be another frequency channel.
In one or more embodiments, in the second subset of slots, the frequency channels may be chosen sequentially e.g. by turn. In an alternative embodiment, the frequency channels in the second subset of slots may be chosen randomly with the premise that a chosen frequency channel cannot be chosen again for the current second subset of slots.
In FIG. 2, B represent the best frequency channel, and X represents the frequency at which the best frequency channel B operates e.g. in the range 2.404 GHz-2.480 GHz (but it could be in any range in the ISM frequency band). In the case where the optimal frequency channel is changed during a frame, X may have different values during that frame.
In one or more embodiments, the hearing device 110 comprises a detector 116 detecting the data throughput for each frequency channel in the second subset of slots of a frame. Thereby, the hearing device 110 is able to detect which of the 31 frequency channels is the best.
In one or more embodiments, the detector monitors all 62 data slots in the frame, and collects the packet error rate for the first subset of slots and the second subset of slots separately. For the second subset the packet error rates are collected for each frequency channels i.e. 31 values. For the first subset the packet error rate has only one value i.e. best channel packet error rate. All the packet error rates are collected and stored with a time stamp in the memory 115 in order to enable the DSP to perform both long term (e.g. approximately thirty seconds) and short term evaluations (e.g. approximately 2 seconds) on the packet error rates. Thus, for each frequency channel, the DSP calculates a short term evaluation of the packet error rate e.g. a running average over 2 seconds for each frequency channel and a long term evaluation of the packet error rate e.g. a running average over thirty seconds for each frequency channel. The short term and long term evaluations are updated substantially continuously i.e. each time a slot has been completed. The DSP stores the short term and long term evaluations for each frequency channel in the memory.
In one or more embodiments, thresholds may be introduced. If the packet error rate of the best channel (the first subset of frequency channels) is lower than a first threshold, or if the packet error rates of the monitor channels (i.e. the frequency channels in the second subset of frequency channels) are larger than a second threshold, then the best channel is maintained as the best frequency channel.
Otherwise, the detector 116 selects another best channel from based on a frequency channel in the second subset having the lowest packet error rate in the long term evaluation.
In one or more embodiments, if a plurality of frequency channels has the same lowest packet error rate in the long term evaluation, then the best frequency channel is selected by the DSP as the one frequency channel having the lowest packet error rate in the short term evaluation. If a plurality of frequency channels additionally has the same lowest packet error in the short term evaluation, then the DSP will select one frequency channel randomly from the plurality of frequency channels having the same lowest long term evaluation packet error rate and the same lowest short term evaluation packet error rate.
FIG. 3 shows an example of a distribution of frequency channel throughput in which the abscissa comprises the 31 frequency channels (channel 1 to 31) and the ordinate comprises the data throughput (determined by the detector 116) ranging from a minimum (0) to a maximum (10 data units through).
In one or more embodiments, the detector may be a program being executed in the DSP 113 i.e. a software program being executed by the DSP 113 to provide the functionality of the detector described above. Thereby, the detector 116 may be contained in the DSP 113.
The detector 116 stores a time stamp with each frequency channel number and the corresponding packet throughput for the frequency channel at the given time in a first part of the memory device 115 of the hearing device 110. In a second and a third part of the memory device 115, the detector 116 stores a running average of each frequency channel number. The running average in the second part may for each frequency channel contain the long term evaluation i.e. this running average is for each frequency channel calculated as




  
    
      ∑
      
        i
        =
        1
      
      n
    
    ⁢
    
      
    
    ⁢
    
      
        X
        i
      
      i
    
  
  ,




where Xi represents the channel throughput (e.g. 1/{packet error rate}) at time i, where i represents the time stamp of the packet throughput for a frequency channel recorded during the last thirty seconds. The running average in the third part may for each frequency channel contain the short term evaluation i.e. this running average is for each frequency channel calculated as





  
    
      ∑
      
        i
        =
        1
      
      n
    
    ⁢
    
      
    
    ⁢
    
      
        X
        i
      
      i
    
  
  ,




where Xi represents the channel throughput (e.g. 1/{packet error rate}) at time i, where i represents the time stamp of the packet throughput for a frequency channel recorded during the last 2 seconds.

In one or more embodiments, the receiving participant may determine the best channel as described above. Subsequently, the receiving participant needs to inform the transmitting participant about the best channel on which the transmitting participant should transmit. This may be achieved by including information about the best channel into a header of a packet sent from the receiving participant to the transmitting participant. In an additional embodiment, the header may further include a countdown value such as a number indicating in how may slots, the change to the best frequency should occur.
In an example, the receiving participant may in a first slot transmit, on a frequency channel X (e.g. channel 2 of slot 2 in FIG. 2), in the header of a packet that the best frequency channel is frequency channel number Y (e.g. channel 24) and that the transmitting participant should switch to this best frequency channel in 10 slots. In the next slot (e.g. slot 3), the receiving participant may in this slot transmit, on a frequency channel XX (where XX is the frequency channel of the next slot in the frame, e.g. frequency channel B of slot 3), in the header of a packet the best frequency channel is frequency channel number Y and that the transmitting participant should switch to this best frequency channel in 9 slots. In the next slot (e.g. slot 4), the receiving participant may in the second slot transmit, on a frequency channel XXX (where XXX is the frequency channel of the next slot in the frame, e.g. frequency channel 3 of slot 4), in the header of a packet the best frequency channel is frequency channel number Y and that the transmitting participant should switch to this best frequency channel in 8 slots, and so on until the countdown value reaches zero (in slot 12 in this example). In the slot following the slot in which the countdown value reaches zero (slot 13 in this example), the transmitting participant and the receiving participant both switch to transmit and receive, respectively, on the best frequency channel (frequency channel Y in the example). In the above example with a countdown value of 10, the switch to the best channel Y occurs in the 11. frame after the receiving participants transmits the first slot indicating the best channel Y.
In one or more embodiments, the hearing device 110 may utilize the best channel, i.e. the first subset of slots discussed above, to transmit and/or receive audio data from the second device 120. Additionally, the second subset of slots (i.e. wherein all the 31 frequency channels are utilized) may be used to transmit and/or receive audio and/or less important data such as program number (e.g. of the hearing device 110), volume information of the transmitting participant, environmental information, and the like, to the receiving participant.
In an example, the second device 120 may be another hearing device, and thus audio data may be transmitted between the two hearing aids (110, 120) using the best channel. Further, audio and/or less important data being transmitted a plurality of times, such as environmental information, program number, etc., may be transmitted using the frequency channels from the second subset (e.g. all the 31 channels in a 31 frequency channel system).
Thus, redundant data (i.e. less important data comprising little information and being transmitted a plurality of times, such as environmental information, program number, etc.) may be utilized to determine which of the frequency channels (in the second subset of frequency channels) is the best channel. An effect of this is that the audio signal being transmitted on the best channels and which audio signal is important for a user is certain (or very close to certain) to be delivered from the transmitting participant to the receiving participant. Likewise, less important data such as program number may be lost in some of the channels from the second subset, i.e. if one or more of these frequency channels are faulty, however due to redundancy in the less important data the information will reach the receiving participant e.g. when the best channel is used in the second subset of frequency channels. Further, whether the less important data is reaching the receiving participant at the beginning or end or middle of the frame is not important because it only means a slip of e.g. 1 ms in e.g. change of program number in the receiving participant.
In one or more embodiments, the hearing device 110 is adapted to exclude one or more frequency channels from the 31 frequency channels utilized in the second number of slots. For example, one or more frequency channels may provide a low throughput due to the head shape of a user utilizing the hearing device 110. A user may for example have a head shape resulting in channel 4 (see FIG. 3) constantly providing a low data throughput. Thereby, the hearing device 110 may be adapted to exclude this frequency channel from the frequency channels utilized in the second number of slots. Instead, the now empty slot may in one or more embodiments be utilized for another of the remaining 30 frequency channels or it may be utilized for transmitting audio or data over the best frequency channel.
FIG. 4 shows an embodiment of a method of selecting an optimal transceiver channel.
The method starts in step 500.
In step 505, the hearing device 110 (in this embodiment the receiving participant) resets or deletes the first and second and third parts of the memory device.
In step 510, communication between the hearing device 110 and the second device 120 (in this embodiment the transmitting participant) via the wireless network 130. Because no frequency channel has been detected as being the best frequency channel, data is transmitted on the 31 frequency channels in a first frame (the first 62 slots of data transmitted and/or received) in such a way that all the 31 frequency channels are utilized at least twice for the first frame. The frequency channels may be chosen sequentially e.g. by turn in the first frame. Alternatively, the frequency channels may be selected such that slot 0 and 1 comprises frequency channel 1, slot 2 and 3 contains frequency channel 2, etc., and slot 60 and 61 contains frequency channel 31.
In step 515, the detector 116 analyses the two times 31 frequency channels of the first frame to calculate the best channel of the first frame based on an average of the packet error rate in the two measurements obtained on each frequency channel.
In step 520, the detector stores the packet error rates of the frequency channels of the first frame together with a timestamp as disclosed above in a first part of the memory device 115.
In step 525, the detector 116 transmits via the communication unit 114, 124 and the antenna 117, 127 from the receiving participant to the transmitting participant the best channel frequency and a countdown value indicating when to switch to the best channel.
In step 530, when the countdown value reaches zero, the receiving participant and the transmitting participant switches to the best channel in the next slot.
In step 535, the detector stores the packet error rates of the frequency channels together with a timestamp as disclosed above in a first part of the memory device 115.
In step 540, the detector 116 analyses the long term evaluation and possibly the short term evaluation as described above of the frequency channels to determine the best channel.
In step 545, the detector 116 provides the resulting best channel and a countdown value to the receiving and transmitting participants if the analysis in step 540 indicates a change in best frequency channel.
In step 550, the method returns to step 530 until the transmission and reception of data between the receiving participant and the transmitting participant via the wireless network 130 has ended.
In step 555, the method ends.
As an alternative to step 510, the hearing device 110 selects a frequency channel as the (initial) best frequency channel. The frequency channel may be selected randomly from the 31 frequency channels.
In an aspect, the method and device are adapted to select a plurality of optimal transceiver channels.
In one or more embodiments, the packet error rate may be embodied as RSSI, bit error rate, packet loss, and/or quality/strength of the frequency channel.
In one or more embodiments, the short term and long term evaluations may be associated with fading and interference of a frequency channel. In one or more embodiments, the short term evaluation may be associated with short term fading and interference of a frequency channel and the long term evaluation may be associated with long term fading and interference of the frequency channel. In an additional or alternative embodiment, the short term and long term evaluations may be associated with changes in environment. In one or more embodiments, the short term and long term evaluations may be used to determine a type of environment in which a wearer of the hearing device according to an embodiment is. Examples of environments with different short term and/or long term evaluations may be an office environment, urban environment, suburban environment, class-room environment, etc. Such environment may provide changes to the long term evaluation i.e. the long term fading and interference (and possibly also in the short term fading and interference). Examples of environments with different short term evaluations may be a user wearing a hearing device according to the above or below turning his/hers head. Such a change i.e. from one head position to another, may lead to a change in short term evaluation e.g. short term fading and interference.
In one or more embodiments, the hearing device may be adapted to determine the environment in which the user of the hearing device is, based on the short term and/or long term evaluation. The hearing device may contain a table correlating certain values of the short term evaluation and/or the long term evaluation with certain types of environments.
In one or more embodiments, the below-mentioned high bandwidth data may be defined as data such as video and/or audio data which must be transmitted and received in an acceptable quality. For example, an audio signal transmitted from a first hearing device to another hearing device must be of such a quality, that the user can recognize the audio signal in both hearing devices. Alternatively or additionally, the high bandwidth data may be embodied as data which must arrive from the transmitting participant to the receiving participant. In one or more embodiments, low bandwidth data may be defined as data which may be transmitted with a certain time-lag such as program selection synchronization between two hearing devices or the like.
Although particular features have been shown and described, it will be understood that they are not intended to limit the claimed invention, and it will be made obvious to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the claimed invention. The specification and drawings are, accordingly to be regarded in an illustrative rather than restrictive sense. The claimed invention is intended to cover all alternatives, modifications and equivalents.

## Claims

1. A method in a wireless network comprising a plurality of frequency channels and a receiving participant, the method comprising:
receiving data on a first subset of the plurality of frequency channels, wherein the frequency channels in the first subset are utilized at least once;
receiving data on a second subset of the plurality of frequency channels;
determining packet error rates for the respective frequency channels in the first and the second subsets;
selecting one of the plurality of frequency channels as an optimal frequency channel based on a result from the act of determining; and
determining long term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and the second subsets, and a first time constant; and
determining short term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and second subsets, and a second time constant, the second time constant being smaller than the first time constant;
wherein the one of the plurality of frequency channels is selected as the optimal frequency channel based on the short term evaluations if the long term evaluations of two or more of the frequency channels have a same evaluation value.

2. The method according to claim 1, further comprising maintaining the selected one of the plurality of frequency channels as the optimal frequency channel if the packet error rate for the selected one of the plurality of frequency channels is below a first threshold value or if the packet error rates for the frequency channels in the second subset are above a second threshold value.

3. The method according to claim 1, further comprising transmitting a countdown value from the receiving participant to a transmitting participant, wherein the countdown value indicates to the receiving and transmitting participants when to switch to the optimal frequency channel.

4. The method according to claim 1, further comprising transmitting high bandwidth data between the receiving participant and a transmitting participant in the second subset of the plurality of frequency channels.

5. The method according to claim 4, wherein the high bandwidth data is configured to carry a real-time audio signal.

6. The method according to claim 1, further comprising transmitting redundant data between the receiving participant and a transmitting participant in the first subset of the plurality of frequency channels.

7. The method according to claim 1, further comprising excluding a certain one of the frequency channels in the first and second subsets as a possible candidate for the optimal frequency channel if the packet error rate for the certain one of the frequency channels is above a threshold value.

8. The method according to claim 1, wherein the receiving participant is a hearing device.

9. A hearing device comprising a transceiver and a digital signal processor configured to perform the method according to claim 1.

10. The method of claim 1, wherein the second data is received on the second subset of the plurality of frequency channels after the first data are received on the first subset of the plurality of frequency channels.

11. The method of claim 1, further comprising using, by a transmitting unit, the one of the plurality of frequency channels that has been selected as the optimal frequency channel, for data transmission.

12. A method in a wireless network comprising a plurality of frequency channels and a receiving participant, the method comprising:
receiving data on a first subset of the plurality of frequency channels, wherein the frequency channels in the first subset are utilized at least once;
receiving data on a second subset of the plurality of frequency channels;
determining packet error rates for the respective frequency channels in the first and the second subsets;
selecting one of the plurality of frequency channels as an optimal frequency channel based on a result from the act of determining; and
determining long term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and the second subsets, and a first time constant; and
determining short term evaluations of the respective frequency channels in the first and second subsets based on the packet error rates for the respective frequency channels in the first and second subsets, and a second time constant, the second time constant being smaller than the first time constant;
wherein the one of the plurality of frequency channels is selected as the optimal frequency channel based on a random selection from two or more of the frequency channels having the respective short term evaluations that are identical, and the respective long term evaluations that are identical.

13. The method according to claim 12, further comprising maintaining the selected one of the plurality of frequency channels as the optimal frequency channel if the packet error rate for the selected one of the plurality of frequency channels is below a first threshold value or if the packet error rates for the frequency channels in the second subset are above a second threshold value.

14. The method according to claim 12, further comprising transmitting a countdown value from the receiving participant to a transmitting participant, wherein the countdown value indicates to the receiving and transmitting participants when to switch to the optimal frequency channel.

15. The method according to claim 12, further comprising transmitting high bandwidth data between the receiving participant and a transmitting participant in the second subset of the plurality of frequency channels.

16. The method according to claim 15, wherein the high bandwidth data is configured to carry a real-time audio signal.

17. The method according to claim 12, further comprising transmitting redundant data between the receiving participant and a transmitting participant in the first subset of the plurality of frequency channels.

18. The method according to claim 12, further comprising excluding a certain one of the frequency channels in the first and second subsets as a possible candidate for the optimal frequency channel if the packet error rate for the certain one of the frequency channels is above a threshold value.

19. The method according to claim 12, wherein the receiving participant is a hearing device.

20. A hearing device comprising a transceiver and a digital signal processor configured to perform the method according to claim 12.

21. The method of claim 12, wherein the second data is received on the second subset of the plurality of frequency channels after the first data are received on the first subset of the plurality of frequency channels.

22. The method of claim 12, further comprising using, by a transmitting unit, the one of the plurality of frequency channels that has been selected as the optimal frequency channel, for data transmission.