Sliding bias and peak limiting for optical hearing devices
11259129 · 2022-02-22
Assignee
Inventors
Cpc classification
H04R2460/03
ELECTRICITY
H04R2225/33
ELECTRICITY
H04R25/606
ELECTRICITY
H04R25/554
ELECTRICITY
International classification
Abstract
A processor comprises instructions to adjust a bias of an input signal in order to decrease a duty cycle of a pulse modulated optical signal. The bias can be increased, decreased, or maintained in response to one or more measured values of the signal. In many embodiments, a gain of the signal is adjusted with the bias in order to inhibit distortion. The bias can be adjusted slowly in order to inhibit audible noise, and the gain can be adjusted faster than the bias in order to inhibit clipping of the signal. In many embodiments, one or more of the bias or the gain is adjusted in response to a value of the signal traversing a threshold amount. The value may comprise a trough of the signal traversing the threshold.
Claims
1. A hearing apparatus to transmit an audio signal to an ear of a user, the apparatus comprising: an input to receive the audio signal; a source of electromagnetic energy to generate an electromagnetic signal; an output transducer to receive the electromagnetic signal from the source of electromagnetic energy; and a processor coupled to the input, the processor configured with instructions to receive the audio signal, determine a bias of the audio signal and a biased audio signal in response to the audio signal, and output the biased audio signal to circuitry to drive the source of electromagnetic energy with the biased signal in order to decrease energy of the electromagnetic signal transmitted from the source of electromagnetic energy, wherein the processor comprises instructions for a look ahead delay to decrease the gain to inhibit clipping in response to a negative signal below a threshold amount detected with the look ahead delay.
2. An apparatus as in claim 1, wherein the processor comprises instructions to adjust the bias to decrease the energy of the electromagnetic signal in response to decreased energy of the audio signal and to adjust the bias to increase the energy of the electromagnetic signal in response to increased energy of the audio signal in order to inhibit distortion.
3. An apparatus as in claim 2, wherein the processor comprises instructions to adjust the bias in a direction corresponding to negative sound pressure in response to decreased amounts of negative sound pressure of the audio signal.
4. An apparatus as in claim 2, wherein the processor comprises instructions to adjust the bias to decrease amounts of the energy of the electromagnetic signal at a first rate and to increase amounts of the energy of the electromagnetic signal at a second rate to inhibit distortion, the first rate slower than the second rate.
5. An apparatus as in claim 2, wherein the processor comprises instructions to adjust the bias over a time duration of more than about 50 ms in order to inhibit an audible thump.
6. An apparatus as in claim 2, wherein the processor comprises instructions to adjust the bias over a time duration of more than about 20 ms in order to inhibit an audible thump.
7. An apparatus as in claim 1, wherein the processor comprises instructions to adjust the biased signal to more positive values in response to the negative signal below the threshold amount and to increase the gain when the biased signal is adjusted to the more positive values.
8. An apparatus as in claim 1, wherein the negative signal corresponds to negative sound pressure and the threshold amount comprises a lower end of the input range.
9. An apparatus as in claim 8, wherein the processor comprises instructions to decrease the gain faster than a change in bias and wherein the bias remains substantially fixed when the gain is decreased in response to the signal below the threshold.
10. An apparatus as in claim 9, wherein the processor comprises instructions to decrease the gain over a duration no more than a length of the look ahead delay and wherein the bias remains substantially fixed to within about five percent (5%) over the length of the look ahead delay.
11. An apparatus as in claim 1, wherein the processor comprises instructions to limit the bias in response to a noise floor associated with one or more of delta sigma modulation circuitry, the circuitry to drive the source of electromagnetic energy, the source of the electromagnetic energy, or the output transducer to receive the output signal.
12. An apparatus as in claim 1, wherein the audio signal comprises a fixed bias and the processor comprises instructions to determine the biased audio signal in response to the fixed bias of the audio signal.
13. An apparatus as in claim 1, wherein the circuitry to drive the source of electromagnetic energy comprises delta sigma modulation circuitry.
14. An apparatus as in claim 13, wherein the delta modulation circuitry comprises one or more of pulse width modulation circuitry, pulse density modulation circuitry, or a digital to analog converter of the processor comprising the pulse density modulation circuitry.
15. An apparatus as in claim 1, wherein the circuitry to drive the source of electromagnetic energy comprises an analog amplifier.
16. A hearing apparatus to transmit an audio signal to an ear of a user, the apparatus comprising: an input to receive the audio signal; a source of electromagnetic energy to generate an electromagnetic signal; an output transducer to receive the electromagnetic signal from the source of electromagnetic energy; and a processor coupled to the input, the processor configured with instructions to receive the audio signal, determine a bias of the audio signal and a biased audio signal in response to the audio signal, and output the biased audio signal to circuitry to drive the source of electromagnetic energy with the biased signal in order to decrease electromagnetic energy of the electromagnetic signal transmitted from the source of electromagnetic energy, wherein the processor comprises instructions to limit the bias in response to a noise floor associated with one or more of delta sigma modulation circuitry, the circuitry to drive the source of electromagnetic energy, the source of electromagnetic energy or the output transducer to receive the output signal.
17. An apparatus as in claim 16, wherein the processor comprises instructions to adjust the bias to decrease electromagnetic energy in response to decreased energy of the audio signal and to adjust the bias to increase electromagnetic energy in response to increased energy of the audio signal in order to inhibit distortion.
18. An apparatus as in claim 17, wherein the processor comprises instructions to adjust the bias in a direction corresponding to negative sound pressure in response to decreased amounts of negative sound pressure of the audio signal.
19. An apparatus as in claim 17, wherein the processor comprises instructions to adjust the bias to decrease amounts of electromagnetic energy at a first rate and to increase amounts of electromagnetic energy at a second rate to inhibit distortion, the first rate slower than the second rate.
20. An apparatus as in claim 17, wherein the processor comprises instructions to adjust the bias over a time duration of more than about 50 ms in order to inhibit an audible thump.
21. An apparatus as in claim 17, wherein the processor comprises instructions to adjust the bias over a time duration of more than about 20 ms in order to inhibit an audible thump.
22. An apparatus as in claim 16, wherein the processor comprises instructions for a look ahead delay to decrease the gain to inhibit clipping in response to a negative signal below a threshold amount detected with the look ahead delay.
23. An apparatus as in claim 22, wherein the processor comprises instructions to adjust the biased signal to more positive values in response to the negative signal below the threshold amount and to increase the gain when the biased signal is adjusted to the more positive values.
24. An apparatus as in claim 22, wherein the negative signal corresponds to negative sound pressure and the threshold amount comprises a lower end of the input range.
25. An apparatus as in claim 24, wherein the processor comprises instructions to decrease the gain faster than a change in bias and wherein the bias remains substantially fixed when the gain is decreased in response to the signal below the threshold.
26. An apparatus as in claim 25, wherein the processor comprises instructions to decrease the gain over a duration no more than a length of the look ahead delay and wherein the bias remains substantially fixed to within about five percent (5%) over the length of the look ahead delay.
27. An apparatus as in claim 16, wherein the audio signal comprises a fixed bias and the processor comprises instructions to determine the biased audio signal in response to the fixed bias of the audio signal.
28. An apparatus as in claim 16, wherein the circuitry to drive the source of electromagnetic energy comprises delta sigma modulation circuitry.
29. An apparatus as in claim 28, wherein the delta modulation circuitry comprises one or more of pulse width modulation circuitry, pulse density modulation circuitry, or a digital to analog converter of the processor comprising the pulse density modulation circuitry.
30. An apparatus as in claim 16, wherein the circuitry to drive the source of electromagnetic energy comprises an analog amplifier.
31. A hearing apparatus to transmit an audio signal to an ear of a user, the apparatus comprising: an input to receive the audio signal; a source of electromagnetic energy to generate an electromagnetic signal; an output transducer to receive the electromagnetic signal from the source of electromagnetic energy; and a processor coupled to the input, the processor configured with instructions to receive the audio signal, determine a bias of the audio signal and a biased audio signal in response to the audio signal, and output the biased audio signal to circuitry to drive the source of electromagnetic energy with the biased signal in order to decrease electromagnetic energy of the electromagnetic signal transmitted from the electromagnetic source, wherein the audio signal comprises a fixed bias and the processor comprises instructions to determine the biased audio signal in response to the fixed bias of the audio signal.
32. An apparatus as in claim 31, wherein the processor comprises instructions to adjust the bias to decrease electromagnetic energy in response to decreased energy of the audio signal and to adjust the bias to increase electromagnetic energy in response to increased energy of the audio signal in order to inhibit distortion.
33. An apparatus as in claim 32, wherein the processor comprises instructions to adjust the bias in a direction corresponding to negative sound pressure in response to decreased amounts of negative sound pressure of the audio signal.
34. An apparatus as in claim 32, wherein the processor comprises instructions to adjust the bias to decrease amounts of electromagnetic energy at a first rate and to increase amounts of electromagnetic energy at a second rate to inhibit distortion, the first rate slower than the second rate.
35. An apparatus as in claim 32, wherein the processor comprises instructions to adjust the bias over a time duration of more than about 50 ms in order to inhibit an audible thump.
36. An apparatus as in claim 32, wherein the processor comprises instructions to adjust the bias over a time duration of more than about 20 ms in order to inhibit an audible thump.
37. An apparatus as in claim 31, wherein the processor comprises instructions for a look ahead delay to decrease the gain to inhibit clipping in response to a negative signal below a threshold amount detected with the look ahead delay.
38. An apparatus as in claim 37, wherein the processor comprises instructions to adjust the biased signal to more positive values in response to the negative signal below the threshold amount and to increase the gain when the biased signal is adjusted to the more positive values.
39. An apparatus as in claim 37, wherein the negative signal corresponds to negative sound pressure and the threshold amount comprises a lower end of the input range.
40. An apparatus as in claim 39, wherein the processor comprises instructions to decrease the gain faster than a change in bias and wherein the bias remains substantially fixed when the gain is decreased in response to the signal below the threshold.
41. An apparatus as in claim 40, wherein the processor comprises instructions to decrease the gain over a duration no more than a length of the look ahead delay and wherein the bias remains substantially fixed to within about five percent (5%) over the length of the look ahead delay.
42. An apparatus as in claim 31, wherein the processor comprises instructions to limit the bias in response to a noise floor associated with one or more of delta sigma modulation circuitry, the circuitry to drive the source of electromagnetic energy, the source of electromagnetic energy or the output transducer to receive the output signal.
43. An apparatus as in claim 31, wherein the circuitry to drive the source of electromagnetic energy comprises delta sigma modulation circuitry.
44. An apparatus as in claim 43, wherein the delta modulation circuitry comprises one or more of pulse width modulation circuitry, pulse density modulation circuitry, or a digital to analog converter of the processor comprising the pulse density modulation circuitry.
45. An apparatus as in claim 31, wherein the circuitry to drive the source of electromagnetic energy comprises an analog amplifier.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) A better understanding of the features and advantages of the present disclosure will be obtained by reference to the following detailed description that sets forth illustrative embodiments, in which the principles of the disclosure are utilized, and the accompanying drawings of which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
DETAILED DESCRIPTION
(17) A better understanding of the features and advantages of the present disclosure will be obtained by reference to the following detailed description that sets forth illustrative embodiments, in which the principles of embodiments of the present disclosure are utilized, and the accompanying drawings.
(18) Although the detailed description contains many specifics, these should not be construed as limiting the scope of the disclosure but merely as illustrating different examples and aspects of the present disclosure. It should be appreciated that the scope of the disclosure includes other embodiments not discussed in detail above. Various other modifications, changes and variations which will be apparent to those skilled in the art may be made in the arrangement, operation and details of the method and apparatus of the present disclosure provided herein without departing from the spirit and scope of the invention as described herein.
(19) Although specific reference is made to a hearing aid, the embodiments disclosed herein will have application with many fields, such as acoustics and listening devices, for example electronic communication devices such as cell phones.
(20) The optical methods and apparatus disclosed herein that provide low distortion optical signals with decreased power consumption are well suited for combination with many types of commercially available electrical circuits and sound processors used to transmit electrical signals such as delta sigma modulation circuitry and class-A amplifiers for example.
(21) The embodiments disclosed herein can be combined with implantable and non-implantable hearing devices.
(22) The embodiments disclosed herein can be combined in one or more of many ways to provide improved sound quality with optically driven transducers.
(23) As used herein like characters identify like elements.
(24) As used herein light encompasses one or more of visible light, ultraviolet light, or infrared light, and combinations thereof.
(25) As used herein electromagnetic energy encompasses light energy.
(26) As used herein a trough encompasses a negative peak.
(27) Examples of optical transducers that couple the transducer to structure of the ear so as to decrease occlusion are described in U.S. Pat. Nos. 7,668,325; 7,867,160; 8,396,239; 8,401,212; 8,715,153; 8,715,154; and U.S. patent application Ser. Nos. 12/820,776; 13/069,282; 61/217,801, filed Jun. 3, 2009, entitled “Balanced Armature Device and Methods for Hearing”; and PCT/US2009/057719, filed 21 Sep. 2009, entitled “Balanced Armature Device and Methods for Hearing”, published as WO 2010/033933; the full disclosures of which are incorporated herein by reference and suitable for combination in accordance with embodiments as described herein.
(28) In many embodiments, an audio signal is transmitted using light to provide both power and signal to a transducer. Although light comprises electrical fields oscillating at terahertz frequencies, commercially available detectors do not capture the negative component of the electric field oscillation. Because the light energy applied to a transducer results in a unidirectional signal, no opposing signal is available. Therefore, a light-encoded signal can be biased in order to decrease power consumption. Power consumption increases with increasing bias, and reducing bias can extend battery life substantially. However, the bias also determines the maximum signal amplitude that can be encoded, so reducing bias constrains signal level. The embodiments disclosed herein are particularly well suited for providing a decreased bias in combination with inhibited clipping in order to provide improved sound to the user.
(29) In many embodiments, the adjustable bias comprises a sliding bias (hereinafter “SB”). The SB algorithm monitors the signal level and may continually adjust the bias. In many embodiments, the bias is set to the minimum value that can accommodate the signal level. Power consumption can be reduced when the signal level is low, such that the tradeoff between battery life and signal range can be balanced, for example optimized.
(30) In many embodiments, the SB algorithm sets the bias level in response to the peak levels of the signal, such as negative peaks of the signal. The peak level can be proportional to the root mean square (rms) level of signal. A factor comprising the ratio of the peak value to rms value is known as the crest factor. However, the crest factor can vary with the type of input signal and may not be well suited for use with at least some input audio signals. High crest factor signals may require high bias levels and thus increase power consumption. Therefore it may be desirable to reduce the crest factor in conjunction with applying sliding bias. There are several methods that can be used to reduce the crest factor of a signal. One method is to use a variable level peak limiting strategy, for example. Another method is to use a peak cancellation strategy. Yet another method provides a soft limiting strategy. These methods are suitable for combination in accordance with embodiments disclosed herein. In many embodiments, the peak limiting is adjustable and is not fixed, and the crest-factor limiting is dependent on the bias level.
(31) The sliding-bias algorithm and the combined peak limiting and sliding-bias algorithms as described herein can be used alternatively or in combination as the front end to pulse-width or pulse density modulation circuitry. Alternatively, they can be used as the front end of a class-A analog system. In these embodiments, a significant savings in output power can be realized, particularly when the signal is low level.
(32)
(33) The hearing system 10 includes an input transducer assembly 20 and an output transducer assembly 100 to transmit sound to the user. Hearing system 10 may comprise a behind the ear unit BTE. Behind the ear unit BTE may comprise many components of system 10 such as a speech processor, battery, wireless transmission circuitry and input transducer assembly 10. Behind the ear unit BTE may comprise many component as described in U.S. Pat. Pub. Nos. 2007/0100197, entitled “Output transducers for hearing systems”; and 2006/0251278, entitled “Hearing system having improved high frequency response”, the full disclosures of which are incorporated herein by reference and may be suitable for combination in accordance with some embodiments of the present invention. The input transducer assembly 20 can be located at least partially behind the pinna P, although the input transducer assembly may be located at many sites. For example, the input transducer assembly may be located substantially within the ear canal, as described in U.S. Pub. No. 2006/0251278. The input transducer assembly may comprise a Bluetooth® connection to couple to a cell phone and may comprise, for example, components of the commercially available Sound ID 300, available from Sound ID of Palo Alto, Calif. The output transducer assembly 100 may comprise components to receive the light energy and vibrate the eardrum in response to light energy. An example of an output transducer assembly having components suitable for combination in accordance with embodiments as described herein is described in U.S. Pat. App. No. 61/217,801, filed Jun. 3, 2009, entitled “Balanced Armature Device and Methods for Hearing” and PCT/US2009/057719, filed 21 Sep. 2009, Balanced Armature Device and Methods for Hearing”, the full disclosure of which is incorporated herein by reference.
(34) The input transducer assembly 20 can receive a sound input, for example an audio sound. With hearing aids for hearing impaired individuals, the input can be ambient sound. The input transducer assembly comprises at least one input transducer, for example a microphone 22. Microphone 22 can be positioned in many locations such as behind the ear, as appropriate. Microphone 22 is shown positioned to detect spatial localization cues from the ambient sound, such that the user can determine where a speaker is located based on the transmitted sound. The pinna P of the ear can diffract sound waves toward the ear canal opening such that sound localization cues can be detected with frequencies above at least about 4 kHz. The sound localization cues can be detected when the microphone is positioned within ear canal EC and also when the microphone is positioned outside the ear canal EC and within about 5 mm of the ear canal opening. The at least one input transducer may comprise a second microphone located away from the ear canal and the ear canal opening, for example positioned on the behind the ear unit BTE. The input transducer assembly can include a suitable amplifier or other electronic interface. In some embodiments, the input may comprise an electronic sound signal from a sound producing or receiving device, such as a telephone, a cellular telephone, a Bluetooth connection, a radio, a digital audio unit, and the like.
(35) In many embodiments, at least a first microphone can be positioned in an ear canal or near an opening of the ear canal to measure high frequency sound above at least about one 4 kHz comprising spatial localization cues. A second microphone can be positioned away from the ear canal and the ear canal opening to measure at least low frequency sound below about 4 kHz. This configuration may decrease feedback to the user, as described in U.S. Pat. Pub. No. US 2009/0097681, the full disclosure of which is incorporated herein by reference and may be suitable for combination in accordance with embodiments of the present invention.
(36) Input transducer assembly 20 includes a signal output source 12 which may comprise a light source such as an LED or a laser diode, an electromagnet, an RF source, or the like. The signal output source can produce an output based on the sound input. Output transducer assembly 100 can receive the output from input transducer assembly 20 and can produce mechanical vibrations in response. Output transducer assembly 100 comprises a sound transducer and may comprise at least one of a coil, a magnet, a magnetostrictive element, a photostrictive element, or a piezoelectric element, for example. For example, the output transducer assembly 100 can be coupled input transducer assembly 20 comprising an elongate flexible support having a coil supported thereon for insertion into the ear canal as described in U.S. Pat. Pub. No. 2009/0092271, entitled “Energy Delivery and Microphone Placement Methods for Improved Comfort in an Open Canal Hearing Aid”, the full disclosure of which is incorporated herein by reference and may be suitable for combination in accordance with some embodiments of the present invention. Alternatively or in combination, the input transducer assembly 20 may comprise a light source coupled to a fiber optic, for example as described in U.S. Pat. Pub. No. 2006/0189841 entitled, “Systems and Methods for Photo-Mechanical Hearing Transduction”, the full disclosure of which is incorporated herein by reference and may be suitable for combination in accordance with some embodiments of the present invention. The light source of the input transducer assembly 20 may also be positioned in the ear canal, and the output transducer assembly and the BTE circuitry components may be located within the ear canal so as to fit within the ear canal. When properly coupled to the subject's hearing transduction pathway, the mechanical vibrations caused by output transducer assembly 100 can induce neural impulses in the subject which can be interpreted by the subject as the original sound input.
(37)
(38) The retention structure 110 can be sized to the user and may comprise one or more of an o-ring, a c-ring, a molded structure, or a structure having a shape profile so as to correspond to a mold of the ear of the user. For example retention structure 110 may comprise a polymer layer 115 coated on a positive mold of a user, such as an elastomer or other polymer. Alternatively or in combination, retention structure 110 may comprise a layer 115 of material formed with vapor deposition on a positive mold of the user, as described herein. Retention structure 110 may comprise a resilient retention structure such that the retention structure can be compressed radially inward as indicated by arrows 102 from an expanded wide profile configuration to a narrow profile configuration when passing through the ear canal and subsequently expand to the wide profile configuration when placed on one or more of the eardrum, the eardrum annulus, or the skin of the ear canal.
(39) The retention structure 110 may comprise a shape profile corresponding to anatomical structures that define the ear canal. For example, the retention structure 110 may comprise a first end 112 corresponding to a shape profile of the anterior sulcus AS of the ear canal and the anterior portion of the eardrum annulus TMA. The first end 112 may comprise an end portion having a convex shape profile, for example a nose, so as to fit the anterior sulcus and so as to facilitate advancement of the first end 112 into the anterior sulcus. The retention structure 110 may comprise a second end 114 having a shape profile corresponding to the posterior portion of eardrum annulus TMA.
(40) The support 120 may comprise a frame, or chassis, so as to support the components connected to support 120. Support 120 may comprise a rigid material and can be coupled to the retention structure 110, the transducer 130, the at least one spring 140 and the photodetector 150. The support 120 may comprise a biocompatible metal such as stainless steel so as to support the retention structure 110, the transducer 130, the at least one spring 140 and the photodetector 150. For example, support 120 may comprise cut sheet metal material. Alternatively, support 120 may comprise injection molded biocompatible plastic. The support 120 may comprise an elastomeric bumper structure 122 extending between the support and the retention structure, so as to couple the support to the retention structure with the elastomeric bumper. The elastomeric bumper structure 122 can also extend between the support 120 and the eardrum, such that the elastomeric bumper structure 122 contacts the eardrum TM and protects the eardrum TM from the rigid support 120. The support 120 may define an aperture 120A formed thereon. The aperture 120A can be sized so as to receive the balanced armature transducer 130, for example such that the housing of the balanced armature transducer 130 can extend at least partially through the aperture 120A when the balanced armature transducer is coupled to the eardrum TM. The support 120 may comprise an elongate dimension such that support 120 can be passed through the ear canal EC without substantial deformation when advanced along an axis corresponding to the elongate dimension, such that support 120 may comprise a substantially rigid material and thickness.
(41) The transducer 130 comprises structures to couple to the eardrum when the retention structure 120 contacts one or more of the eardrum, the eardrum annulus, or the skin of the ear canal. The transducer 130 may comprise a balanced armature transducer having a housing and a vibratory reed 132 extending through the housing of the transducer. The vibratory reed 132 is affixed to an extension 134, for example a post, and an inner soft coupling structure 136. The soft coupling structure 136 has a convex surface that contacts the eardrum TM and vibrates the eardrum TM. The soft coupling structure 136 may comprise an elastomer such as silicone elastomer. The soft coupling structure 136 can be anatomically customized to the anatomy of the ear of the user. For example, the soft coupling structure 136 can be customized based a shape profile of the ear of the user, such as from a mold of the ear of the user as described herein.
(42) At least one spring 140 can be connected to the support 120 and the transducer 130, so as to support the transducer 130. The at least one spring 140 may comprise a first spring 122 and a second spring 124, in which each spring is connected to opposing sides of a first end of transducer 130. The springs may comprise coil springs having a first end attached to support 120 and a second end attached to a housing of transducer 130 or a mount affixed to the housing of the transducer 130, such that the coil springs pivot the transducer about axes 140A of the coils of the coil springs and resiliently urge the transducer toward the eardrum when the retention structure contacts one or more of the eardrum, the eardrum annulus, or the skin of the ear canal. The support 120 may comprise a tube sized to receiving an end of the at least one spring 140, so as to couple the at least one spring to support 120.
(43) A photodetector 150 can be coupled to the support 120. A bracket mount 152 can extend substantially around photodetector 150. An arm 154 extend between support 120 and bracket 152 so as to support photodetector 150 with an orientation relative to support 120 when placed in the ear canal EC. The arm 154 may comprise a ball portion so as to couple to support 120 with a ball-joint. The photodetector 150 can be coupled to transducer 130 so as to driven transducer 130 with electrical energy in response to the light energy signal from the output transducer assembly.
(44) Resilient retention structure 110 can be resiliently deformed when inserted into the ear canal EC. The retention structure 110 can be compressed radially inward along the pivot axes 140A of the coil springs such that the retention structure 110 is compressed as indicated by arrows 102 from a wide profile configuration having a first width 110W1 to an elongate narrow profile configuration having a second width 110W2 when advanced along the ear canal EC as indicated by arrow 104 and when removed from the ear canal as indicated by arrow 106. The elongate narrow profile configuration may comprise an elongate dimension extending along an elongate axis corresponding to an elongate dimension of support 120 and aperture 120A. The elongate narrow profile configuration may comprise a shorter dimension corresponding to a width 120W of the support 120 and aperture 120A along a shorter dimension. The retention structure 110 and support 120 can be passed through the ear canal EC for placement. The reed 132 of the balanced armature transducer 130 can be aligned substantially with the ear canal EC when the assembly 100 is advanced along the ear canal EC in the elongate narrow profile configuration having second width 110W2.
(45) The support 120 may comprise a rigidity greater than the resilient retention structure 110, such that the width 120W remains substantially fixed when the resilient retention structure is compressed from the first configuration having width 110W1 to the second configuration having width 110W2. The rigidity of support 120 greater than the resilient retention structure 110 can provide an intended amount of force to the eardrum TM when the inner soft coupling structure 136 couples to the eardrum, as the support 120 can maintain a substantially fixed shape with coupling of the at least one spring 140. In many embodiments, the outer edges of the resilient retention structure 110 can be rolled upwards toward the side of the photodetector 150 so as to compress the resilient retention structure from the first configuration having width 110W1 to the second configuration having width 110W2, such that the assembly can be easily advanced along the ear canal EC.
(46)
(47) The circuitry of the input transducer assembly 20 comprises one or more sources of an input audio signal 164, such as one or more of wireless communication circuitry 160 or microphone circuitry 162, for example. Wireless communication circuitry 160 may comprise one or more of many known wireless communication circuitry components such as circuitry compatible with Bluetooth® communication standards, for example. The microphone circuitry 162 may comprise microphone 22 and amplifiers, for example. The input audio signal 164 is received with an input of sound processor 170. Sound processor 170 can be coupled to pulse modulation circuitry 180 to generate modulated pulses, for example. Alternatively or in combination, the sound processor 170 may comprise the pulse modulation circuitry. The output of the pulse modulation circuitry 180 can be coupled to drive circuitry 190. The drive circuitry 190 can be coupled to an output light source 12, for example. The output light source 12 can provide output light energy pulses modulated in accordance with pulse modulation circuitry 190, for example.
(48) The light output source 12 can be configured in one or more of many ways. The light output source 12 can be placed in the ear canal, or outside the ear canal such as in a BTE unit as described herein, for example. The light output source 12 may comprise one or more of many light sources such as a light emitting diode, a laser, or a laser diode, for example. In many embodiments, the output light source 12 comprises a laser diode having a linear light energy output in response to an input signal, for example. The laser diode having the substantially linear output in response to the input signal can provide a low distortion output light signal, which can be combined with an analog output or modulated output signal from the processor and drive circuitry as described herein, for example.
(49) The circuitry of the output transducer assembly 100 can be configured in one or more of many ways to receive the pulse modulated light signal and induce vibrations of the subject's auditory pathway. In many embodiments, a photodetector 150 receives the modulated light pulses. The photodetector 150 may comprise one or more of many light sensitive materials such as a photodiode, a silicone photodiode material or a photostrictive material, for example. In many embodiments, photodetector 150 is coupled to an output transducer 130. The output transducer 130 may comprise one or more of many electromechanical actuators such as a coil, a magnetic material, a magnet, a balanced armature transducer, or a piezo electric material, for example.
(50) The pulse modulation circuitry 180 may comprise one or more of pulse width modulation circuitry or pulse density modulation circuitry, for example. In many embodiments, the pulse modulation circuitry can be replaced or combined with one or more of many forms of circuitry. For example, the pulse modulation circuitry can be replaced with circuitry configured to output an analog optical signal, such as a class A amplifier. Alternatively, the pulse modulation circuitry can be replaced with one more of many forms of modulation circuitry such amplitude modulation, frequency modulation, or phase modulation, for example, in order to decrease the optical energy of the output signal from the light source.
(51) The processor 170 may comprise on or more components of the input transducer assembly. The sound processor 170 may comprise one or more of: analog circuitry to amplify an analog signal from the microphone; analog to digital conversion circuitry to convert an analog input signal to a digital circuitry; digital input circuitry to receive a digital sound signal; a digital signal processor; a tangible medium embodying instructions to process a sound signal; output circuitry to output a digital signal; digital filters to adjust a sound signal in response to user preference; and combinations thereof. In many embodiments, the sound processor is configured with instructions to adjust the bias of the input signal and limit peaks as described herein.
(52) The sound processor may comprise one or more components of a commercially available sound processor known to those of ordinary skill in the art of hearing aid design. The sound processor may comprise a tangible medium such as one or more of a computer readable memory, random access memory, read only memory, writable erasable read only memory, and a solid state hard drive. The sound processor may comprise a processor capable of executing instructions stored on the tangible medium, and may comprise gate array logic, programmable gate array logic, and combinations thereof. The processor may comprise a plurality of processors and a plurality of tangible media, for example. A person of ordinary skill in the art will recognize many configurations of processor 170 in accordance with the embodiments disclosed herein.
(53)
(54) In some embodiments of the invention, an input signal may have a voltage range from +1 to −1 without causing clipping of the output. In embodiments of the invention where the input signal is to a range of +1 to −1 volts, a small amplitude signal (e.g. a signal ranging in amplitude from approximately +0.1 to −0.1 volts) applied to the input of the pulse modulation circuitry 180 (e.g. a pulse wave modulator or pulse density modulator) will result in a duty cycle, without the adjustable bias, of about 50%. This duty cycle of about 50% results in greater power consumption than would be ideal for the amount of variation of the input audio signal 210.
(55) In embodiments of the invention, a bias is applied to the input signal to ensure that the output of the pulse modulation circuitry accounts for both the positive and negative going amplitude peaks. In embodiments of the invention, this bias (e.g. reference level 205) may be a fixed bias and may be illustrated in, for Example
(56)
(57) Although pulse width modulated signals are shown, the pulse modulated signal may comprise a pulse density modulated signal, or a pulse frequency modulated signal, for example. In many embodiments, the pulse modulated signal as described herein comprises a substantially fixed amplitude in order to inhibit effects of non-linearities of the optical sound transmission system components such one or more of the light source, the photodetector or the output transducer, for example.
(58)
(59) The bias 220 comprises a fixed portion 222 having a substantially fixed value and a variable portion 224 comprising a gradually changing value. The gradually changing value is varied sufficiently slowly so as to inhibit user perceptible noise. However, slowly varying the bias may result in clipping of the signal until the sliding bias reaches a level at which clipping no longer occurs.
(60) Alternatively or in combination with the adjustment to bias 220 with variable portion 224, the amplitude of signal 210 can be adjusted in order to inhibit clipping of the biased input signal 212. In many embodiments, the adjustment to the amplitude of signal 210 is provided much more rapidly than the adjustment to the bias. In embodiments of the Invention, reduction of the system gain will result in reducing or eliminating clipping of signal 210 until the bias can be adjusted to avoid such clipping, which may take several cycles of signal 210. Once the bias is adjusted sufficiently to avoid clipping, the system gain may be restored to its original value
(61) The adjustment to the gain can be determined with a look ahead delay as described herein below with reference to
(62) In many embodiments, the bias adjustment comprises a steady mode in which the bias remains substantially fixed and maintained at an appropriate value to, for example, minimize energy consumption. In some embodiments of the present invention, when the system detects a signal wherein the negative going peak will exceed the system limit, the sliding bias enters an attack mode, in which the bias is increased (in some embodiments an increase in sliding bias makes it less negative). In some embodiments of the invention, where the system detects that the bias may be reduced without causing clipping, the sliding bias enters a release mode in which the bias is decreased, which, in some embodiments will result in a reduction of duty cycle in the output signal.
(63) The gain and corresponding amplitude of the signal can be adjusted in a manner similar to the bias as described herein, and can be adjusted more quickly without substantial user perceptible artifacts, for example. In many embodiments, the adjustment to the system gain inhibits user perceptible clipping of the signal which may otherwise occur when the biased signal exceeds the lower range limit. By inhibiting the biased signal from reaching a value more negative than the negative limit of the circuitry, while reducing the sliding bias to a minimum value, improved sound quality with decreased distortion and power consumption can be provided.
(64)
(65) The input signal may comprise an unbiased input audio signal or a biased input audio signal. The fixed bias as described herein can be introduced to the input signal in many ways. For example an input analog audio signal from a microphone may have an input range from −1 to +1 (arbitrary), and the analog to digital converter can be configured to digitize the input analog signal such that the digitized values are positive, for example from 0 to 2 (arbitrary). Alternatively, the analog to digital converter may convert the analog values to a digital range from −1 to +1, and a fixed bias of 1.0 introduced to the digitized values with addition, for example, such that the digitized values range from 0 to 2, for example. The fixed bias may comprise a fixed bias of an input digital audio signal from an external source such as music from a digital library or a cellular phone, for example. Alternatively or in combination, the processor can be configured with instructions to provide a fixed bias to the input digital audio signal, for example.
(66) The curves shown in
(67)
(68)
(69)
(70)
(71) The light source such as a laser may comprise the most significant source of power consumption with an optical hearing system, and the power drawn by the laser is often proportional to the signal offset. Therefore, applying a large sliding bias so that the signal comes close to clipping is helpful for reducing power consumption and extending battery life.
(72) In some cases, when biasing a signal to reduce power consumption, it may be desirable, as discussed earlier, to adjust the signal gain dynamically, for example by peak limiting. Peak limiting may be useful to inhibit clipping.
(73) As shown in
(74)
(75) After a shift in gain, the amplitude of the sliding-biased signal will be reduced. To allow the amplitude to be restored without clipping, the sliding bias may be gradually adjusted.
Sliding Bias
(76) The sliding bias as described herein applies a time-varying bias that adjusts to changes in the signal amplitude. When amplitude is low, the magnitude of the bias is increased to save power. The bias as described herein may comprise a negative number added to the signal, and the value of the bias can be decreased to save power with low energy input signals. When input sound amplitude is high, the magnitude of the bias is adjusted to inhibit clipping, for example by increasing the value of the bias to a less negative number. By dynamically varying the bias, power consumption can be significantly reduced and a high fidelity signal transmitted.
(77) The methods and apparatus disclosed herein provide a signal processing algorithm for sliding bias that can be implemented in the digital signal processor (DSP) of an optical sound system. The processor embodies instructions of an algorithm that adjusts the bias by adding a time-varying offset to the digital signal before it is sent to the digital-to-analog converter (DAC). The digital to analog converter may comprise a digital to analog converter that converts a digital value to an output voltage. The digitally biased signal can be output from the DAC to an amplifier such as class B amplifier to drive the light sourced with an analog signal. Alternatively, the DAC may comprise delta sigma modulation circuitry. The output of the delta sigma modulation circuitry can be used to drive the light source with a digital signal, such as PWM or PDM, for example. The output of the sliding bias algorithm as disclosed herein may comprise the last element in the signal processing chain so that it provides output signal to the DAC to generate the light signal with appropriate amplification.
(78) Signals can be represented in the DSP as fractional digital values in the range from −1 to +1, for example. The DAC comprising delta sigma modulation circuitry maps −1 to a pulse density of 0%, 0 to a pulse density of 50%, and +1 to a pulse density of 100%, for example. In many cases, the offset added by the sliding bias algorithm is in the range −1 to 0, in order to decrease power consumption.
(79) The sliding bias algorithm as described herein is not limited to the modulation scheme that is used to represent the signal with light. The algorithm and circuitry as described herein are effective for analog, delta sigma modulation, PDM, pulse width modulation, and many other approaches, for example.
Inhibiting Sliding Bias Artifacts
(80) The sliding bias algorithm as described herein has the advantage of significantly decreasing power consumption in order to prolong battery life. However, this advantage is preferably achieved without introducing audio artifacts. There are at least three types of artifacts which can be inhibited with the methods and apparatus as disclosed herein:
(81) 1. Clipping. If the bias is inadequate to accommodate the signal range at any moment, the signal may clip, producing potentially audible distortion which can be inhibited with adjustments to the signal gain.
(82) 2. Thumping. The time varying bias as described herein is a signal that is added to the input signal, and this signal is introduced in a manner that is substantially inaudible. If the bias is shifted too rapidly, it approaches a step function and may become audible. This rapid change in bias can be referred to as “thumping”. Because a step function comprises a predominantly low-frequency signal, the user can perceive a rapid change in bias as a thump. Work in relation to embodiments suggests that the low-frequency rolloff of the output transducer assembly that receives transmitted optical power and signal, such as the tympanic membrane transducer assembly, may help to reduce the audibility of the bias shift. A person of ordinary skill in the art can conduct experiments to determine times over which the bias can be adjusted in order to inhibit user perceptible thumping in accordance with embodiments disclosed herein.
(83) 3. Noise. Due to nonlinearities of one or more of the DAC, laser driver circuitry, laser, or other components, user perceptible noise could potentially be introduced. The sliding bias as disclosed herein can be configured to inhibit noise that might otherwise be present with a low amplitude signal. For example, the noise may rise slightly as sliding bias approaches the lower end of the input range, for example below about −0.9. The algorithm can optionally limit the sliding bias values to a predetermined minimum amount, for example no lower than about −0.9. Work in relation to embodiments suggests that suitable delta sigma modulation circuitry can be provided that does not introduce distortion with low amplitude signals, and limiting of the sliding bias as described herein may not be helpful in at least some embodiments.
Peak Limiting
(84) The circuitry as disclosed herein can be configured to inhibit clipping without producing audible thumping. Peak limiting as disclosed herein can be used to inhibit clipping with adjustments to the gain.
(85) Clipping may occur if a high-amplitude signal arrives when the bias is low. In order to inhibit clipping, a look ahead delay can be provided in order to shift the bias up in advance of the arrival of the high-amplitude signal. However, the look ahead delay may not provide sufficient time to adjust the bias for a rapidly decreasing signal, and peak limiting can be provided to inhibit clipping of rapidly decreasing signals.
(86) With a rapidly changing signal, the length of the look ahead delay may not be sufficient to allow the bias to change slowly in order to inhibit a user perceptible thump. Work in relation to embodiments suggests that a full-range bias shift applied over a duration of less than about 20-50 ms may produce an audible thump. Therefore, peak limiting can be employed to inhibit clipping while allowing the bias to be changed sufficiently slowly to inhibit thumping.
(87) Limitations of the look ahead delay can be overcome by providing peak limiting with the sliding bias algorithm. An approach to peak limiting is to apply a rapid gain reduction just before the peak and to restore the gain just after the peak, for example as shown above with reference
(88) The sliding bias and peak limiting algorithms can be combined in many ways. A short look ahead delay of a few milliseconds can used to identify a peak that would otherwise be clipped by the low bias and initiate the rapid gain reduction that is helpful to limit the peak sufficiently to inhibit clipping. At about the same time, a slow bias increase can be initiated to accommodate higher positive and negative peaks of the input signal. The gain may then be slowly increased as the bias increases, until full gain is restored. Alternatively or in combination, the gain may be rapidly restored in response to a negative signal rising above a threshold as described herein, depending on the amplitude of the input signal and how rapidly the input signal changes.
(89) Although peak limiting may be considered a form of artifact, peak limiting combined with the sliding is likely to less likely to be apparent to the user than clipping. The digital peak limiting on the lower peak, has the advantage of being less perceivable and can produce less artifact than rapidly increasing the bias, for example.
Implementation of the Algorithm
Bias Calculation and Updating
(90) In many implementations, the sliding bias algorithm operates by tracking the negative-going peak of the signal and applying a bias that is as negative as possible without causing the negative-going signal peak to drop below the clipping level of −1. If the negative-going signal peak is M, the most negative bias that can be applied is −1−M.
(91) Several additional constraints may be imposed on the bias value:
(92) An extra margin against clipping may be imposed. This is an algorithm parameter ε, referred to as the “bias margin”. With the margin imposed, the most negative bias is ε−1−M rather than −1−M. Work in relation to embodiments suggests that a bias margin within a range from about 0.05 to about 0.15, for example 0.1, can be useful for decreasing distortion. A bias margin can be similarly employed with analog systems and delta sigma modulation systems, for example. A lower boundary may be imposed on the range of the bias value. This lower bound is an algorithm parameter B.sub.min, referred to as the “most negative allowed bias”. The most negative allowed bias can be used to avoid bias values that unacceptably elevate the noise floor. An upper bound at the middle of the input signal range, such as 0, can be imposed on the range of the bias value, in order to prevent the bias margin from pushing the bias into positive territory.
(93) In many implementations, the algorithm uses a linear trajectory to shift the bias, although non-linear trajectories can be used. The term “attack” refers to shifting the bias up to prevent clipping when the signal amplitude rises, and the term “release” refers to shifting the bias down to save power when the signal amplitude falls. The slopes of the linear trajectories can be determined by algorithm parameters SBS.sub.A (sliding bias attack slope) and SBS.sub.R (sliding bias release slope), both specified in units of samples.sup.−1.
(94) In many implementations, the algorithm has three bias-related state variables: The “current bias” (B.sub.C) is the bias value that is being applied at any instant. The “target bias” (B.sub.T) is the endpoint of the bias-shifting trajectory. The “sliding bias mode” (SBMode) is the mode of operation, which may be Attack, Release, or Steady. In Attack mode, the bias is shifting up. In Release mode, the bias is shifting down. In Steady mode, the bias is held steady for a period of time while the negative-going peak of the signal is monitored. The duration of Steady mode is an algorithm parameter D, referred to as the “steady duration”, in samples.
(95) The algorithm can be initialized as follows: B.sub.C=0 B.sub.T=−1 SBMode=Steady
(96) While in Steady mode, the algorithm monitors the signal and sets B.sub.T=ε−1−M, where M is the most negative observed signal value. B.sub.T is constrained to the range from B.sub.min to 0.
(97) Steady mode is exited if either of the following conditions occur: If the steady duration D is exhausted, Release mode is entered. If B.sub.T>B.sub.C, Attack mode is entered.
(98) While in Attack mode, B.sub.C is incremented by SBS.sub.A until it reaches B.sub.T, at which point Steady mode is entered. During this process, B.sub.T is updated if a signal value is observed that requires B.sub.T to be set to a higher value.
(99) While in Release mode, B.sub.C is decremented by SBS.sub.R until it reaches B.sub.T, at which point Steady mode is entered. During this process, if a signal value is observed that requires B.sub.T>B.sub.C, Attack mode is entered.
Peak Limiting
(100) The peak limiting algorithm may begin by calculating a peak limiting threshold, which is the largest negative-going peak signal magnitude in dB in relation to full-scale that can be accommodated by the current bias value B.sub.C without clipping. The peak limiting threshold is defined as T=20 log.sub.10(B.sub.C+1). The integration between the sliding bias and peak limiting algorithms is configured such that the peak limiting threshold depends on the current bias value.
(101) Next, the algorithm calculates the amount in dB by which the negative-going peak signal magnitude exceeds the peak limiting threshold. If M is the negative-going signal peak, then the exceedance may be calculated as E=20 log.sub.10(−M)−T. E is set to 0 if M≥0, and E is constrained to be ≥0 to prevent negative exceedance.
(102) Finally, the algorithm applies a time-varying gain as required to compensate for exceedance and prevent clipping. When exceedance occurs (i.e., E>0), the gain is gradually reduced to −E dB before the peak and gradually restored. A look ahead delay is employed to detect exceedance in advance so that the gain change can be initiated in time to prevent clipping. The look ahead delay is an algorithm parameter Δ (also referred to herein as “look ahead time delay”), in samples.
(103) The gain change trajectory may be linear in dB. Within the peak limiting algorithm, the term “attack” refers to reducing the gain and “release” refers to increasing the gain. The slopes of the gain trajectories can be determined by algorithm parameters PLS.sub.A (peak limiting attack slope) and PLS.sub.R (peak limiting release slope), both specified in units of dB/sample.
(104) The algorithm has three peak-limiting-related state variables: The “current gain” (G.sub.C) is the gain value that is being applied at any instant. The “target gain” (G.sub.T) is the endpoint of the gain-shifting trajectory. The “peak limiting mode” (PLMode) is the mode of operation, which may be Attack, Release, or Steady. In Attack mode, the gain is falling. In Release mode, the gain is rising. In Steady mode, the gain is held steady for a period of time while the exceedance is monitored. The duration of Steady mode is the look ahead delay Δ.
(105) The algorithm is initialized as follows: G.sub.C=0 G.sub.T=0 PLMode=Steady
(106) While in Steady mode, the algorithm monitors the exceedance E and sets G.sub.T=−E. Steady mode is exited if either of the following conditions occurs: If the time spent in Steady mode exceeds the look ahead delay Δ, Release mode is entered. If G.sub.T<G.sub.C, Attack mode is entered.
(107) While in Attack mode, G.sub.C is decremented by PLS.sub.A until it reaches G.sub.T, at which point Steady mode is entered. During this process, G.sub.T is updated if an exceedance is observed that requires G.sub.T to be set to a lower value.
(108) While in Release mode, G.sub.C is incremented by PLS.sub.R until it reaches G.sub.T, at which point Steady mode is entered. During this process, if an exceedance is observed that requires G.sub.T<G.sub.C, Attack mode is entered.
Parameter Selection
(109) While the parameters can be selected in many ways and may comprise many values, this section provides non-limiting examples of considerations for selecting values of the algorithm parameters.
(110) In the following, R represents the system sampling rate, in Hz.
(111) The algorithm parameters are summarized in the following table.
(112) TABLE-US-00001 Parameter Symbol Units Bias margin ε unitless Most negative allowed bias B.sub.min unitless Sliding bias steady mode duration D samples Sliding bias attack slope SBS.sub.A samples.sup.−1 Sliding bias release slope SBS.sub.R samples.sup.−1 Peak limiting attack slope PLS.sub.A dB/sample Peak limiting release slope PLS.sub.R dB/sample Look ahead delay Δ samples
(113) Ideally, ε should be set to 0 to substantially decrease power consumption. However, setting the bias so low that negative-going peaks are at the digital rail can produce distortion, possibly related to the noise floor and associated circuitry as disclosed herein. The value for ε should be set to the minimum value that prevents such distortion. Work in relation to embodiments suggests that ε with in a range from about 0.05 to about 0.2, for example equal to 0.1 can provide acceptable results. A distortion analysis can be performed by a person of ordinary skill in the art in order to choose an appropriate value.
(114) B.sub.min can be set as negative as possible, to substantially decrease power consumption, but high enough to substantially avoid bias values that unacceptably elevate noise. A system noise analysis can be performed by a person of ordinary skill in the art in order to choose an appropriate value.
(115) The parameter D can be chosen to provide an acceptable tradeoff between power consumption and artifacts. Smaller values of D reduce power consumption by allowing the bias to shift down more quickly in response to a drop in signal amplitude. Larger values of D reduce the rate of occurrence of clipping and/or peak-limiting artifacts, because the bias will be shifted down after the signal amplitude has been low for a longer duration, which reduces the likelihood of incorrectly concluding that the signal amplitude has actually decreased. Suitable values are in the range from 1 to 10 seconds, which corresponds to a range from R to 10R samples.
(116) SBS.sub.R should be set fast enough to substantially decrease power consumption and slow enough to substantially inhibit user perceptible thumping. A suitable value is 1/(0.5R) samples.sup.−1, which implements a full-range bias shift over the course of 500 ms, for example.
(117) Choosing SBS.sub.A can result a tradeoff between different types of artifacts. Faster values of SBS.sub.A allow a faster response to signal amplitude increase, which substantially decreases clipping and peak-limiting artifacts, but slower values of SBS.sub.A decrease thumping. A suitable value is 1/(0.05R) samples.sup.−1, which implements a full-range bias shift over the course of 50 ms, for example.
(118) The peak-limiting slopes PLS.sub.A and PLS.sub.R can be chosen with a tradeoff between different types of artifacts. Fast slopes substantially decrease envelope distortion by making the gain change more time-limited, but excessively fast slopes may introduce spectral distortion. In addition, there is an interaction among PLS.sub.A, B.sub.min, and Δ. To inhibit clipping, the following relationship can be considered:
PLS.sub.A≥−20 log.sub.10(B.sub.min+1)/α
(119) This constraint can allow the attack slope to increase fast enough to respond to the worst-case exceedance condition within the look ahead delay. If the system noise analysis yields a choice of B.sub.min=−0.5, and a look ahead delay of 2 ms is acceptable, an attack slope of at least 3 dB/ms=3000/R dB/sample can be provided to inhibit clipping. The release slope is not critical for preventing clipping, so the release slope can be slower to inhibit spectral distortion. A suitable value might be 1 dB/ms=1000/R dB/sample, for example.
Additional Description of the Algorithm
(120) The algorithm can be block-oriented for efficiency and for compatibility with the block-based architecture of commercially available DSP systems. L is the block length, in samples. The look ahead delay is constrained to be an integral number of blocks. The symbol K can be used to represent the look ahead delay in blocks; hence α=KL.
(121) The algorithm receives a block of input samples, x[i:i+L−1], and produces a block of output samples, y[i:i+L−1], where i is the starting sample number of the current block. The algorithm proceeds in three sections: 1. The pre block loop section analyzes the input block, sets the sliding bias mode and target bias, and sets the peak limiting mode and target gain. The pre-block-loop section is described in further detail below with reference to method 300 and method 400 of
(122) The following table shows the state variables used in the algorithm and their initial values.
(123) TABLE-US-00002 Parameter Symbol Units Initial Value Sliding bias mode SBMode Steady, Attack, Steady or Release Peak limiting mode PLMode Steady, Attack, Steady or Release Sliding bias steady counter SBCtr samples D Peak limiting steady counter PLCtr samples KL Target bias B.sub.T unitless −1 Current bias B.sub.C unitless 0 Target peak limiting gain G.sub.T dB 0 Current peak limiting gain G.sub.C dB 0
(124)
(125) The method 900 may comprise one or more of the following parameters:
(126) Signals: x[i]=input at sample i, range [−1, +1] y[i]=output at sample i, range [−1, +1]
(127) Parameters: L=input/output block length, samples K=look ahead delay, blocks D=sliding bias steady mode duration, samples SBS.sub.A=sliding bias attack slope, samples.sup.−1 SBS.sub.R=sliding bias release slope, samples.sup.−1 PLS.sub.A=peak limiting attack slope, dB/sample PLS.sub.R=peak limiting release slope, dB/sample ε=bias margin (unitless) B.sub.min=most negative allowed bias (unitless)
(128) State Variables: SBMode=sliding bias mode (Steady, Attack, or Release) PLMode=peak limiting mode (Steady, Attack, or Release) SBCtr=sliding bias steady counter, samples PLCtr=peak limiting steady counter, samples B.sub.T=target bias (unitless) B.sub.C=current bias (unitless) G.sub.T=target peak limiting gain, dB G.sub.C=current peak limiting gain, dB i=starting sample number of current block
(129) Initialization of State Variables: SBMode=Steady PLMode=Steady SBCtr=D PLCtr=K×L B.sub.T=−1 B.sub.C=0 G.sub.T=0 G.sub.C=0 i=0
(130) Method 300 comprises analyzing input signals of a system to determine whether a signal bias can be shifted and clipping inhibited, in accordance with embodiments.
(131) At a step 302, a block of incoming signal is provided. The signal block may comprise signal from one or more auditory inputs as described herein.
(132) At a step 304, the minimum value, M, of the incoming signal of the block is determined.
(133) At a step 306, the most negative bias, B, that can be applied to the block without clipping any troughs of the input is determined.
(134) At a step 308, the values of B and a target bias, B.sub.T, are compared.
(135) At a step 310, if the value of B.sub.T is less than the value of B, then the value of B.sub.T is set to equal the value of B.
(136) At a step 311, the value of B.sub.T is compared to the value of B.sub.C.
(137) At a step 312, if the value of B.sub.T is greater than B.sub.C, then a signal bias mode (hereinafter “SBMode”), is set to “Attack.”
(138) Steps 308, 310, 311, and 312 disclose a method of setting the SBMode to “attack” when the bias should be increased in order to account for deeper troughs in the signal, so as to inhibit clipping.
(139) At a step 314, the value of SBMode is compared to “steady.”
(140) At a step 316, if the value of SBMode is equal to “steady,” a counter with a defined interval or cycle is decremented.
(141) At a step 317, the value of the counter is compared to zero.
(142) At a step 318, if the counter is less than or equal to zero, then the SBMode is set to “release.”
(143) Steps 314, 316, 317, and 318 disclose a method of setting SBMode to “release” when, after a defined period as determined by the counter, no peaks were clipped.
(144) A method 400 comprises analyzing input signals of a system to determine whether or not the gain should be adjusted to limit peaks in order to inhibit clipping, in accordance with embodiments.
(145) At a step 402, a threshold T for the peak limiting algorithm disclosed herein is determined, comprising a formula that includes the value of B.sub.C from method 300.
(146) At a step 403, the value of M, the minimum value of the incoming signal of the block of step 302, is compared to 0.
(147) At a step 404, if M is less than 0, then an exceedance E is determined, representing the number of decibels a signal trough goes below the threshold, if at all.
(148) At a step 406, if M is not less than 0, then E is set to equal 0.
(149) At a step 407, the value of −1 multiplied by E is compared to a target peak limiting gain, G.sub.T.
(150) At a step 408, if −1 multiplied by E is less than G.sub.T, then G.sub.T is set to equal −1 multiplied by E.
(151) At a step 409, the value of G.sub.T is compared to the value of the current gain of the system, G.sub.C.
(152) At a step 410, if G.sub.T is less than G.sub.C, the peak limiting mode (hereinafter “PLMode”), is set to “attack.”
(153) Steps 407, 408, 409, and 410 disclose a method of setting the peak limiting mode to “attack” in order to adjust for troughs that may be clipped.
(154) At a step 412, the value of PLMode is compared to “steady.”
(155) At a step 414, if the value of PLMode is equal to “steady,” a counter with a defined interval or cycle is decremented.
(156) At a step 415, the value of the counter is compared to 0.
(157) At a step 416, once the counter has been exhausted, PLMode is set to “release.”
(158) At a step 418, the PLMode and the SBMode of method 300 is passed on to a subsequent block loop method.
(159) Steps 412, 414, 415, and 416 disclose a method of setting the peak limiting mode to “release” when, after a given period as determined by the counter, no peaks have been clipped.
(160) Method 500 comprises changing the signal bias and inhibiting clipping, in accordance with embodiments. Method 500 comprises a block loop method that may accept outputs from method 300.
(161) At a step 502, a loop is initiated.
(162) At a step 503, the state of SBmode is determined. At step 503, the state variable SBMode comprises an input from the outputs of method 300, for example. The SBMode may comprise states “attack” and “release”, for example.
(163) At a step 504, if SBMode is set to “attack,” then B.sub.C will be set to the smaller value of either B.sub.C plus a sliding bias attack mode slope, or B.sub.T.
(164) At a step 505, the state of SBMode is determined.
(165) At a step 506, if SBMode is set to “release,” then B.sub.C will be set to the larger value of either B.sub.C minus a sliding bias release mode slope, or B.sub.T.
(166) At a step 508, the loop executes until any loop conditions are satisfied. For example, such loop conditions may comprise exhaustion of a counter.
(167) Method 600 comprises changing the gain of a system in order to inhibit clipping, in accordance with embodiments. Method comprises a block loop method that may accept outputs from method 400.
(168) At a step 602, a loop is initiated.
(169) At step 603, the state of PLMode is determined. At step 603, the state variable PLMode comprises an input from the outputs of embodiments such as those of method 400. For example, PLMode may comprise states “attack” and “release.”
(170) At a step 604, if PLMode is set to “attack,” then G.sub.C will be set to the larger value of either G.sub.C minus a peak limiting attack mode slope, or G.sub.T.
(171) At a step 605, the state of PLMode is determined.
(172) At a step 606, if PLMode is set to “release,” then G.sub.C will be set to the smaller value of either G.sub.C minus a peak limiting release mode slope, or G.sub.T.
(173) At a step 608, an output sample—comprising an equation comprising variables such as G.sub.C, a look ahead time delay, and a current bias—is determined.
(174) At a step 610, the loop executes until any loop conditions are satisfied. For example, such loop conditions may comprise exhaustion of a counter.
(175) A method 700 comprises updating the sliding bias mode as appropriate, in accordance with embodiments. Method 700 comprises accepting outputs from methods such as method 500.
(176) At a step 701, the value of B.sub.C is compared to the value of B.sub.T, and the value of SBMode is determined.
(177) At a step 702, if B.sub.C is equal to B.sub.T and SBMode is not set to “steady, then SBMode will be set to “steady” for a defined amount of time. State variables, such as B.sub.T, are also initialized.
(178) At a step 704, the method terminates.
(179) A method 800 comprises updating the peak limiting mode as appropriate, in accordance with embodiments. Method 800 comprises accepting outputs from methods such as method 600.
(180) At a step 801, the value of G.sub.C is compared to the value of G.sub.T, and the value of PLMode is determined.
(181) At a step 802, if G.sub.C is equal to G.sub.T, and PLMode is not set to “steady, then PLMode will be set to “steady” for a given amount of time. State variables, such as G.sub.T, are also initialized.
(182) At a step 804, the algorithm terminates.
(183) The method 900 discloses a method of adjusting a bias and limiting peaks, in accordance with embodiments. A person of ordinary skill in the art will recognize many variations and modifications based on the disclosure provided herein. For example, some steps may be added or removed. The steps can be combined, or the order changed. Some of the methods may comprise sub-methods. Some of the steps may comprise sub-steps, and many of the steps can be repeated.
(184) The values of method 900 can be determined with one or more of calculations, look up tables, fuzzy logic, or neural networks, for example.
(185) The method 900 can be embodied with instructions stored on a tangible medium of processor 170. The processor can be coupled to components of the system in order to perform one or more steps of method 900.
(186) Examples of ranges of parameters suitable for use with method 900 may comprise one or more of the following, where R is the sampling rate of the system: K (look ahead delay), within a range from about 0.0001R/L to about 0.01R/L D (sliding bias steady mode duration), within a range from about 0.5R to about 2R SBS.sub.A (sliding bias attack slope), within a range from about 1/(0.01R) to about 1/(0.9R) SBS.sub.R (sliding bias release slope), within a range from about 1/(0.1R) to about 1/(0.9R) PLS.sub.A (peak limiting attack slope), within a range from about 1000/R to about 9000/R PLS.sub.R (peak limiting release slope), within a range from about 100/R to about 10000/R ε (bias margin), within a range from about 0.05 to about 0.3 B.sub.min (most negative allowed bias), within a range from about −0.5 to about −1.0
(187) While preferred embodiments of the present disclosure have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous variations, changes, and substitutions will be apparent to those skilled in the art without departing from the scope of the present disclosure. It should be understood that various alternatives to the embodiments of the present disclosure described herein may be employed without departing from the scope of the present invention. Therefore, the scope of the present invention shall be defined solely by the scope of the appended claims and the equivalents thereof.