Adjustable filter for differential microphones

Abstract: A method and apparatus for providing a differential microphone (1) with a desired frequency response are disclosed. The desired frequency response is provided by operation of a filter (5) having an adjustable frequency response, coupled to the microphone. The frequency response of the filter is set by operation of a controller (6), also coupled to the microphone, based on signals received from the microphone. The desired frequency response may be determined based upon the distance between the microphone and a source of sound (S), and may comprise both a relative frequency response and absolute output level. The frequency response of the filter may comprise the substantial inverse of the frequency response of the microphone to provide a flat response. Futhermore, the filter may comprise a Butterworth filter.

Description: This invention relates to methods of and apparatus for providing a differential microphone system with a desired frequency response. Directional microphones offer advantages over omnidirectional microphones in noisy environments. Unlike omnidirectional microphones, directional microphones can discriminate against both solid-borne and air-borne noise based on the direction from which such noise emanates, defined with respect to a reference axis of the microphone. Differential microphones, sometimes referred to as gradient microphones, are a class of directional microphones which offer the additional advantage of being able to discriminate between sound which emanates close to the microphone and sound emanating at a distance. Since sound emanating at a distance is often classifiable as noise, differential microphones have use in the reduction of the deleterious effects of both off-axis and distant noise. Differential microphones are microphones which have an output proportional to a difference in measured quantities. There are several types of differential microphones including pressure, velocity and displacement differential microphones. An exemplary pressure differential microphone may be formed by taking the difference of the output of two microphone sensors which measure sound pressure. Similarly, velocity and displacement differential microphones may be formed by taking the difference of the output of two microphone sensors which measure particle velocity and diaphragm displacement, respectively. Differential microphones may also be of the cardioid type, having characteristics of both velocity and pressure differential microphones. As a general matter, differential microphones exhibit a frequency response which is a function of the distance between the microphone and the source of sound to be detected ( e . g., speech). For example, when a pressure differential microphone is located in the near field of a speech source (that area of the sound field exhibiting a large spatial gradient and a large phase shift between acoustic pressure and particle velocity, e.g., less than 2 cm from the source), its frequency response is essentially flat over some specified frequency range. At somewhat greater distances from the speech source, the frequency response tends to over-emphasize high frequencies. When a velocity differential microphone is in the near field of a speech source, its frequency response tends to over-emphasize low frequencies, while at somewhat greater distances, its response is essentially flat for some specified frequency range. Because their frequency response varies with distance, differential microphones are ideally suited for use at a constant distance from a source, for example, at a distance where microphone response is flat. In practice, however, users of pressure differential microphones often vary the distance between microphone and mouth over time, causing the microphone to exhibit an undesirable, variable gain to certain frequencies present in speech. For a pressure differential microphone, unless a close constant distance is maintained, high frequencies present in speech will be emphasized. For a velocity differential microphone, unless somewhat greater distances are maintained, lower frequencies will be emphasized. US-A-4870690 discloses an adjustable cross-over system for high-fidelity audio systems. The various embodiments receive an audio signal from a source (e.g. by a microphone) and analyze the signal's spectrum. The results of the analysis are used to control an adaptive digital filter which dynamically filters the signal in accordance with its spectrum. According to one aspect of this invention there is provided a method as claimed in claim 1. According to another aspect of this invention there is provided apparatus as claimed in claim 10. A desired frequency response of a differential microphone of order n is provided by operation of a controller in combination with an adjustable filter. The controller receives microphone output and determines, based on the output, a filter frequency response needed to provide any desired response. For example, the controller may determine a filter frequency response which equals or approximates the inverse of the microphone response to provide an overall flat response. Alternatively, an exemplary response could be provided which is optimal for telephony. The determination by the controller can include a complete definition of the filter response (including absolute output level) or a definition of just those parameters used in modifying one or more aspects of a given or quiescent response. The filter is adjusted by the controller to exhibit the determined frequency response thereby providing a desired response for the microphone. In an illustrative embodiment of the present invention for a pressure differential microphone, the controller makes an automatic determination of distance between microphone and sound source (this distance being referred to as the "operating distance") and adjusts a low-pass filter to compensate for the gain to high frequencies exhibited by the microphone at or about the determined distance. The operating distance may be determined one or more times (e.g., periodically) during microphone use. Automatic distance determination may be accomplished by comparing observed microphone output at an unknown operating distance to known outputs at known distances. In the illustrative embodiment, the frequency response of the low-pass filter is dependent upon the frequency response of the pressure differential microphone as a function of operating distance and microphone order. Pressure differential microphones have a frequency response which is flat at close operating distances and at large operating distances increases at a rate of 6n dB per doubling of frequency ( i.e , per octave), where n is an integer equal to the order of the pressure differential microphone. For a given determined distance, the filter frequency response is adjusted, and this may include an adjustment to absolute output level. In the case of the illustrative embodiment for use with a first or second order pressure differential microphone, the filter is a first or second order Butterworth low-pass filter, respectively, with a half-power frequency adjustable to the microphone's 3dB gain frequency, which is a function of operating distance. Brief Description of the Drawings Figure 1 presents an exemplary block diagram embodiment of the present invention. Figure 2 presents a relative frequency response plot of first through fifth order pressure differential microphones as a function of kr, where k is the acoustic wave number and r is the operating distance to a source. Figure 3 presents a schematic view of a first order pressure differential microphone in relation to a point source of sound. Figure 4 presents a relative frequency response plot for a first order pressure differential microphone as a function of kr. Figure 5 presents a schematic view of a second order pressure differential microphone in relation to a point source of sound. Figure 6 presents a relative frequency response plot for a second order pressure differential microphone as a function of kr. Figure 7 presents a schematic view of a first order pressure differential microphone in relation to an on-axis point source of sound. Figure 8 presents sound pressure level ratio plots for two zeroth order pressure differential microphones which form a first order pressure differential microphone. Figure 9 presents a schematic view of a second order pressure differential microphone in relation to an on-axis point source of sound. Figure 10 presents sound pressure level ratio plots for two first order pressure differential microphones which form a second order pressure differential microphone. Figure 11 presents a detailed exemplary block diagram embodiment of the present invention. Detailed Description Introduction Figure 1 presents an illustrative embodiment of the present invention. In Figure 1, a differential microphone 1 of order n provides an output 3 to a filter 5. Filter 5 is adjustable ( i.e ., selectable or tunable) during microphone use. A controller 6 is provided to adjust the filter frequency response. The controller 6 can be operated via a control input 9. In operation, the controller 6 receives from the differential microphone 1 output 4 which is used to determine the operating distance between the differential microphone 1 and the source of sound, S. Operating distance may be determined once ( e.g. , as an initialization procedure) or multiple times (e.g., periodically). Based on the determined distance, the controller 6 provides control signals 7 to the filter 5 to adjust the filter to the desired filter frequency response. The output 3 of the differential microphone 1 is filtered and provided to subsequent stages as filter output 8. Frequency Response of Pressure Differential Microphones One illustrative embodiment of the present invention involves pressure differential microphones. In general, the frequency response of a pressure differential microphone of order n ("PDM(n)") is given in terms of the nth derivative of acoustic pressure, p = P o e -jkr /r, within a sound field of a point source, with respect to operating distance, where P o is source peak amplitude, k is the acoustic wave number ( k = 2π/λ, where λ is wavelength and λ= c/f , where c is the speed of sound and f is frequency in Hz), and r is the operating distance. That is, Figure 2 presents a plot of the magnitude of Eq. 1 for n=1 to 5. The figure shows the gain exhibited by a PDM(n), n=l to 5, at high frequencies and large distances, i.e ., at increasing values of kr. For purposes of this discussion, it is instructive to examine the frequence response of a PDM as a function of kr. Therefore, two illustrative developments are provided below. The developments address the frequency response of both first and second order PDMs as functions of kr, and are made in terms of a finite difference approximation for d n p dr n . In light of Eq. 1 and the developments which follow, it will be apparent to the ordinary artisan that the analysis can be extended in a straight-forward fashion to any order PDM. Also, because the response of velocity and displacement microphones is related to that of a pressure differential microphone by factors of 1/jω and 1/( j ω)², respectively, the ordinary artisan will recognize that Eq. 1 and the developments which follow are adaptable to systems employing velocity and displacement differential microphones, as well as cardioid microphones. First Order Pressure Differential Microphones A schematic representation of a first order PDM in relation to a source of sound is shown in Figure 3. The microphone 10 typically includes two sensing features: a first sensing feature 11 which responds to incident acoustic pressure from a source 20 by producing a positive response (typically, a positively tending voltage), and a second sensing feature 12 which responds to incident acoustic pressure by producing a negative response (typically, a negatively tending voltage). These first and second sensing features 11 and 12 may be, for example, two pressure (or "zeroth" order) microphones. The sensing features are separated by an effective acoustic distance 2d, such that each sensing feature is located a distance d from the effective acoustic center 13 of the microphone 10. A point source 20 is shown to be at an operating distance r from the effective acoustic center 13 of the microphone 10, with the first and second sensing features located at distances r ₁ and r ₂ , respectively, from the source 20. An angle  exists between the direction of sound propagation from the source 20 and the microphone axis 30. For a spherical wave generated by source 20 at operating distance r from the center 13 of the microphone 10, the acoustic pressure incident on the first sensing feature 11 is given by: p 1 = P 0 e -jkr 1 r 1 . The acoustic pressure incident on the second sensing feature 12 is given by: p 2 = P 0 e -jkr 2 r 2 . The distances r ₁ and r ₂ are given by the following expressions: r 1 = r 2 + d 2 -2 rd cos , r 2 = r 2 + d 2 +2 rd cos . If r >> d (when the microphone is in the far field of source 20) or ≈0° (when source 20 is located near microphone axis 30), then r 1 ≈ r - d cos  and r 2 ≈ r + d cos. The response of the microphone can then be approximated by a first-order difference of acoustic pressure, Δp, and is given by: Δ p = p 1 - p 2 ≈ 2 P 0 e -jkr r 2 - d 2 cos 2  [ d cos cos kd cos + jr sin kd cos ] The magnitude of Δ p , |Δ p |, is: Δ p ≈ 2 P 0 r 2 - d 2 cos 2  d 2 cos 2  cos 2 kd cos + r 2 sin 2 kd cos . For kd << 1, sin( kd cos) ≈ kd cos, and cos( kd cos)≈1. Therefore, Δ p ≈ 2 P 0 e -jkr d cos r 2 - d 2 cos 2  1+ jkr , and Δ p ≈ 2 P 0 d cos r 2 - d 2 cos 2  1+ k 2 r 2 . For a near-field source, i.e., kr << 1, Δ p ≈ 2 P 0 d cos r 2 - d 2 cos 2  , and for a far-field source, i.e., kr >> 1 and r >> d, Δ p ≈ 2 P 0 kd cos r . Note that Eq. 11 contains no frequency dependent terms. That is, Eq. 11 is independent of the wave number, k (wave number is proportional to frequency, i.e. , k = 2π c f , where f is frequency in Hz and c is the speed of sound). As such, a first order PDM in the near field of a point source 20 has a frequency response which is substantially flat. On the other hand, Eq. 12 does depend on the acoustic wave number, k. Figure 4 shows the frequency dependence of the first order PDM for values of kr from 0.1 to 10. For values of kr < 0.2 the response is substantially uniform or flat. Above kr = 1.0 the response rises at 6 dB per doubling kr. (For this figure, kd << 1 and r >> d.) Second Order Pressure Differential Microphones A second order PDM is formed by combining two first order PDMs in opposition. Each first order PDM can have a spacing of 2 d ₁ and an acoustic center 65,67. The PDMs can be arranged in line and spaced a distance 2 d ₂ apart as shown in Figure 5. The response of the second order PDM can be approximated by a second order difference of acoustic pressure, Δ²p, in a sound field of a spherical radiating source 70 at operating distance r from the acoustic center 60 of the microphone 35: Δ 2 p = p 1 - p 2 - p 3 + p 4 where p i = P 0 e -jkr i r i ; and r i , for i=1 to 4 are: r 1 = r 2 +d 2 4 -2 rd 4 cos ; r 2 = r 2 +d 2 3 -2 rd 3 cos ; r 3 = r 2 +d 2 3 +2 rd 3 cos ; and r 4 = r 2 +d 2 4 +2 rd 4 cos . If r >> d ₃ and r >> d ₄ or ≈0°, then: r 1 ≈ r - d 4 cos ; r 2 ≈ r - d 3 cos ; r 3 ≈ r + d 3 cos ; and r 4 ≈ r + d 4 cos. Therefore, For kd ₄ << 1, cos kd 4 cos ≈ 1 - k 2 d 2 4 cos 2  2 and sin ( kd 4 cos) ≈ kd 4 cos. Equations similar to Eqs. 24 and 25 can be written for cos(kd ₃ cos) and sin ( kd ₃cos) when kd ₃ << 1. For kd ₄ << 1 and kd ₃ << 1 then: Δ 2 p ≈ 4 P 0 d 1 d 2 r cos 2  e -jkr 2- k 2 r 2 +2 jkr (r 2 - d 2 4 cos 2 )(r 2 - d 2 3 cos 2 ) , and Δ 2 p ≈ 4 P 0 d 1 d 2 r cos 2  4+ k 4 r 4 ( r 2 - d 2 4 cos 2 )( r 2 - d 2 3 cos 2 ) . For a near-field source ( kr << 1), Δ 2 p ≈ 8 P 0 d 1 d 2 r cos 2  ( r 2 - d 2 4 cos 2 )( r 2 - d 2 3 cos 2 ) ; and for a far-field source ( kr >> 1; r >> d ₃ ; r >> d ₄ ), Δ 2 p ≈ 4 P 0 d 1 d 2 k 2 cos 2  r . As is the case with Eq. 11, Eq. 28 contains no frequency dependent terms. Thus, a second order PDM 35 in the near field of a point source 70 has a frequency response which is flat. Like Eq. 12, Eq. 29 does depend on frequency. However, Eq. 29 exhibits a rise in response at high frequencies at twice the rate of that exhibited by Eq. 12. Figure 6 shows the relative frequency response of a second order PDM versus kr. For kr < 1, the response is substantially flat Above kr = 1, the response rises at 12 dB per doubling of kr. (For this Figure, kd ₃ << 1 and kd ₄ << 1 and r >> d ₃ and r >> d ₄ , for a far field source, or  r 0°.) Automatic Distance Determination The illustrative embodiment of the present invention includes an automatic determination of operating distances by the controller 6. This embodiment facilitates determining operating distance continuously or at periodic or aperiodic points in time. For a first order PDM, the controller 6 can use ratios of output levels from two zeroth order PDMs (of the first order PDM) to estimate the operating distance between source and microphone. This approach involves making a predetermined association between ratios of zeroth order PDM output levels and operating distances at which such ratios are found to occur. At any time during microphone operation, a ratio of zeroth order PDM output levels can be compared to the predetermined ratios at known distances to determine the then current operating distance. Consider the first order PDM 75 which comprises zeroth order PDMs A 11 I and B 12 shown in Figure 3. The response of zeroth order PDMs A 11 and B 12 can be written (from Eqs. 2a and 2b) as p A = P o e -jkr 1 r 1 and p B = P o e -jkr 2 r 2 . Using Eqs. 4a,b, Eqs. 30 and 31 can be rewritten as follows: p A ≈ P o e -jk r-dcos  r-dcos  and p B = P o e -jk r + dcos  r + dcos  . The magnitude of the response of the microphones A 11 and B 12 (for r > d|cos|) is therefore: p A ≈ P o r-dcos  and p B ≈ P o r + dcos  . For an illustrative configuration of Figure 7, =0 and the ratio of Eqs. 34 and 35 is: A r = p A p B = r + d r-d . Ratio A, is a function of operating distance r (between source 73 and microphone acoustic center 78) and d, a physical parameter of the PDM design. For a given first order PDM, the parameter d is fixed such that A, varies with r only. A plot of A , (Eq. 36) for two exemplary first order PDM array configurations (d=1 cm and d=2 cm) is shown in Figure 8. The figure shows that changes in A, are sizeable for a range of r. With knowledge of this data, operating distances for measured A r values may be determined. In determining operating distance, the controller of the illustrative embodiment makes a determination of the ratio of observed microphone output levels. This ratio represents an observed value for A r Âr . By rewriting Eq. 36, an estimate for r as a function of the observed ratio Â r is: r = Â r + 1 Â r -1 d. Eq. 37 could be implemented by the controller 6 of the illustrative embodiment in either analog or digital form, or in a form which is a combination of both. For example, the controller 6 may use a microprocessor to determine r either by scanning a look-up table (containing precomputed values of r as a function of Â r ), or by calculating r directly in a manner specified by Eq. 37, to provide control for analog or digital filter 5. Distance determination by the controller 6 can be performed once or, if desired, continually during operation of the PDM. For a second order PDM, the controller 6 can use ratios in output levels between two first order PDMs (of the second order PDM) to estimate the operating distance between source and microphone. If a predetermined association is made between ratios of first order PDM output levels and operating distances at which such ratios are found to occur, an observed ratio of first order PDM output levels can be compared to the predetermined ratios at known distances to determine the then current operating distance. Consider the second order PDM which comprises first order PDMs A and B shown in Figure 9 for =0. The response of first order PDMs A 80 and B 90 can be written (from Eq. 10) as Δ p A ≈ 2 P 0 d 1 r 2 A - d 2 1 1+ kr A and Δ p B ≈ 2 P 0 d 1 r 2 B - d 2 1 1+ kr B , respectively, for kd ₁ << 1, and where r A and r B are operating distances from source 100 to the acoustic centers, 81 and 91, of PDMs A and B, respectively. If the signal from each of the microphones A and B is low-pass filtered by the controller 6, then kr A << 1 and kr B << 1, and: Δ p A ≈ 2 P 0 d 1 r 2 A - d 2 1 and Δ p B ≈ 2 P 0 d 1 r 2 B - d 2 1 . Since, r A = r-d 2 and r B = r + d 2 , then Δ p A ≈ 2 P 0 d 1 r 2 + d 2 2 - 2 rd 2 - d 2 1 and Δ p B ≈ 2 P 0 d 1 r 2 + d 2 2 - 2 rd 2 - d 2 1 , where r is the operating distance from source 100 to the acoustic center 95 of the second order PDM. The ratio of Eq. 44 to Eq. 45 is: A r = Δ p A Δp B ≈ r 2 + d 2 2 + 2 rd 2 - d 2 1 r 2 + d 2 2 - 2 rd 2 - d 2 1 . Ratio A r is a function of operating distance r and other physical parameters of the PDM design. For a given second order PDM the parameters d ₁ and d ₂ are fixed such that A r varies with r only. A plot of A r (Eq. 46) for two exemplary second order PDM array configurations ( d ₂=0.5 cm, d ₂=1.0 cm, and d ₁=0.5 cm) is shown in Figure 10. The figure shows that changes in A r are quite sizeable for the range of r. With knowledge of this data, operating distances may be determined. In determining an operating distance, the controller 6 of the illustrative embodiment makes a determination of the ratio of observed microphone output levels (after low pass filtering). This ratio represents an observed value for A r :Â r . By rewriting Eq. 46, an estimate for r as a function of the observed ratio Â r , is: As with the case above, Eq. 47 could be implemented by the controller 6 of the illustrative embodiment in either in analog or digital form, or in a form which is a combination of both. Again, distance determination by the controller 6 can be performed once or, if desired, continually during the operation of the PDM. Regardless of which order PDM an embodiment uses, it is preferred that the controller 6 determine operating distance only when the source of sound to be detected is active. Limiting the conditions under which calibration may be performed can be accomplished by calibrating only when the PDM output signal equals or exceeds a predetermined threshold. This threshold level should be greater than the PDM output resulting from the level of expected background noise. The low-pass filtering performed by the controller 6 on the outputs of each microphone insures that, as a general matter, only those frequencies for which the microphone's response is flat are considered for the determination of distance. This has been expressed as kr << 1 in the developments above. The cutoff frequency for this filter can be determined in practice by, for example, determining an outer bound operating distance and then solving for the frequency below which the microphone response is flat. Thus, with reference to Figure 2, the frequency response of various microphones is flat for kr less than 0.5, approximately. Given an outer bound distance, r OB , the cutoff frequency should be less than 0.5 c 2π r OB (Hz.). Filter Selection Once distance determination by the controller 6 is performed, a filter 5 is selected. As discussed above, the filter 5 provides a frequency response which provides the desired frequency response of the PDM(n). So, for example, the combination of the microphone and a selected filter 5 may exhibit a frequency response which is substantially uniform (or flat). In the illustrative embodiment for pressure differential microphones, filter 5 exhibits a low-pass characteristic which equals or approximates the inverse ( i.e ., mirror image) of PDM(n) frequency response. Such a filter characteristic may be provided by any of the known low-pass filter types. Butterworth low-pass filters are preferred for first and second order PDMs since the frequency response of a first or second order PDM exhibits a Butterworth-like high-pass characteristic. In selecting a filter, the half-power frequency and roll-off rate of the pass band should be determined. In the illustrative embodiment, the half-power frequency, f hp , of filter 5 should match the 3dB gain point of the frequency characteristic of the PDM(n). Half-power frequency can be determined directly from the equation for the frequency response of the PDM(n), |Δ n p |, with knowledge of r from the distance determination procedures described above. For example, the 3dB frequency of a first order PDM is determined with reference to Eq. 10 by solving for the value of frequency for which: 1 + k 2 r 2 = 2 (all parameters on the right hand side of Eq. 10 other than 1 + k 2 r 2 are constant for a given microphone configuration and therefore contain no frequency dependence). Since k = 2π c f , an expression for the half-power frequency of the filter 5 (3dB frequency), f hp , as a function of distance is: f hp = c 2π · 1 r where c is the speed of sound and r andis the determined distance. For a second order PDM, the 3dB frequency is determined with reference to Eq. 27 by solving for the value of frequency for which: 1 + k 4 r 4 4 = 2 . Since k = 2π c f , an expression for the half-power frequency of the filter 5, f hp , as a function of distance is: f hp = c 2 π · 1 r , where c is the speed of sound and r and is the determined distance. Regarding low-pass filter 5 roll-off, a rate should be chosen which closely matches (in magnitude) the rate at which the PDM high frequency gain increases. In the illustrative case of low-pass Butterworth filters for use with first and second order PDMs, this is accomplished by choosing a filter of order equal to that of the microphone ( i.e ., a first order filter for a first order PDM; a second order filter for second order PDM). Roll-off rate may be fixed for filter 5, or it may be selectable by controller 6. In light of the above discussion, it will be apparent to one of ordinary skill in the art that either analog or digital circuitry could be utilized to implement the filter 5. Of course, if a digital filter is employed, additional analog-to-digital and digital-to-analog converter circuitry may be needed to process the microphone output 3. Moreover, control of an adjustable filter 5 by the controller 6 can be achieved by any of several well-known techniques such as the passing of filter constants from the controller 6 to a finite impulse response or infinite impulse response digital filter, or by the communication of signals from the controller 6 to drive voltage-controlled devices which adjust the values analog filter components. Also, the division of tasks between the controller 6 and the filter 5 described above is, of course, exemplary. Such division could be modified, e.g. , to require the controller 6 to determine distance, r, and pass such information to the filter 5 to determine the requisite frequency response. Like relative frequency response, the absolute output level of a differential microphone varies with operating distance r, as can be seen in general from the magnitude of Eq. 1, and in particular, for first and second order PDMs, from Eqs. 10 and 27, respectively. Since an estimate of operating distance is already obtained by an embodiment of the present invention for the purpose of adjusting the filter's relative frequency response, this information can be employed for the purpose of determining a gain to compensate for absolute output level variations. The gain can be derived for any differential microphone of given order. For the illustrative embodiments previously discussed, the first and second order gain adjustment is determined as the inverse of the frequency-invariant portion of Eqs. 10 and 27, respectively. For example, if the source is located on-axis, then  = 0 and cos  = 1. In this case, Eq. 10 shows that for the first order PDM, the gain would be set proportional to G 1 = r 2 - d 2 . An estimate of G ₁, G and ₁, can be obtained by using the estimate r and previously obtained from Eq. 37, and d, a fixed design parameter. Likewise, for the second order PDM, Eq. 27 implies an on-axis gain proportional to G 2 = ( r 2 - d 2 4 )( r 2 - d 2 3 )/ r , where an estimate of G ₂, G and 2 , can be obtained using an operating distance estimate r and obtained from Eq. 47, and where d ₃ and d ₄ are fixed design parameters. The embodiment of the present invention presented in Figure 1 is redrawn in Figure 11 showing additional illustrative detail for the case of a pressure differential microphone. Microphone 1 is a PDM and is shown comprising two individual microphones, 1a and 1b, which can be, e.g. , two zeroth or first order PDMs. The outputs of PDMs are subtracted at node 1c and this difference 3 is provided to filter 5. Individual outputs 4 of the PDMs are provided to controller 6 where they are processed as follows. Each output 4 is low-pass filtered as indicated above by low-pass filters 6a. Note this filtering implements the conditions under which Eqs. 40 and 41 were derived from Eqs. 38 and 39; this filtering is not required in the case of a first order PDM, as Eq. 36 contains no frequency components. Next, each output has its root mean square (rms) value determined by rms detector 6b. The rms values represent the magnitude of the response of each microphone, as used in Eqs. 36 and 46. The ratio of the magnitudes as specified by Eqs. 36 and 46 is determined by an analog divider circuit 6c (a ratio may also be obtained by taking the difference of the log of such magnitudes). The output from device 6c, i.e. , the observed ratio of magnitudes, Â r , is provided to parameter computation 6e. Parameter computation 6e determines control signals 7 useful to adjust the frequency response of filter 5 based on Â r in a manner according to Eqs. 37 and 49 or 47 and 51. Gain adjustment may be used in conjunction with the relative frequency response adjustment to provide additional compensation for the effects of varying operating distance as detailed in Eqs. 52 or 53. In the illustrative embodiment, the parameter computation 6e comprises analog comparators and one or more look-up tables which provide appropriate control signals 7 to one or more operational transconductance amplifiers in filter 5 to adjust its frequency response based on the value of Â r . Parameter computation 6e also receives as input an inhibit (INH) signal from threshold computation 6d which when true indicates that the output level of the PDM does not meet or exceed a threshold level of expected background noise. Thus, when INH is true, no new control signals 7 are passed to filter 5. Parameter computation 6e further receives manual control signals 9 from a user which specify automatic one-shot (i.e., aperiodic) distance determinations, periodic determinations, or continuous determinations. To provide for periodic determinations, the parameter computation 6e includes a time base with a period which can be set with manual control signals 9. The time base signal then controls a sample and hold function which provides values of Â r to the analog comparators. Periodic distance determination by the controller 6 should be at a frequency such that the low-pass filter 5 frequency response accurately follows changes in microphone response due to movement. In Figure 11, filter 5 is presented as comprising a relative response filter 5a and an amplifier 5b under the control of parameter computation 6e. Signal 7a controls the relative response filter 5a. Parameter computation 6e provides control signal 7b to control the gain of amplifier 5b. The combination of filter 5a and amplifier 5b provides the overall frequency response of the filter 5. It will be apparent to the ordinary artisan that PDM 1 can comprise several configurations in the context of an illustrative embodiment. For example, in addition to those already discussed, the PDM 1 may comprise a first order PDM and a second order PDM. In this case, constituent first order PDMs of the second order PDM can serve to supply outputs to the controller 6 for the purpose of distance determination and filter adjustment, while the first order PDM is coupled to filter 5. If PDM 1 comprises a second order PDM, itself comprising two first order PDMs, then both first order PDMs can supply output for distance determination by the controller 6, with only one supplying output filter 5. Naturally, in either case, filter 5 provides a desired response for a first order microphone, even though distance was determined with output from a second order microphone. Other configurations are also possible. For example, if the PDM 1 comprises a first order PDM and a second order PDM, the output of the second order PDM may be provided for filtering while the outputs from constituent zeroth order PDMs of the first order PDM may be provided for distance determination by the controller 6. Also, a second order PDM 1 may comprise four zeroth order PDMs (two zeroth order PDMs in each of two first order PDMs which in combination form a second order PDM) in which case the output of all four zeroth order PDM outputs may be combined for purposes of filtering, while two outputs (of a first order PDM) are used for distance determination. The above developments have been made in relation to a point source of sound and for pressure differential microphones. It will be apparent to one of ordinary skill in the art that parallel developments could be made for other source models and other microphone technologies, such as velocity, displacement and cardioid microphones. As a general matter, velocity and displacement differential microphones have frequency responses which relate to that of a pressure differential microphone by factors of 1/jω and 1/( j ω)², respectively, as discussed above. These factors correspond to a clockwise rotation of the frequency response characteristic of a pressure differential microphone, thereby changing the slopes of the characteristic by -6dB and -12dB per octave, respectively. This rotation can therefore be reflected in a filter of an embodiment of the present invention. It will further be apparent to one of ordinary skill in the art that the present invention is applicable generally to communication devices and systems such as home, public and office telephones, and mobile telephones.

Claims: A method for providing a differential microphone system with a desired frequency response, the system comprising a differential microphone coupled to a filter having an adjustable frequency response, the differential microphone being for receiving sound produced by a source of sound and for generating output signals in response to said sound and being located a distance from the source of sound, the method comprising the steps of: receiving (6) two output signals (4) from the differential microphone (1); estimating (6) the distance between the differential microphone and the source of sound based on the received two output signals (4); determining (6) a filter frequency response, based on the estimated distance, to provide the differential microphone system with the desired response; and adjusting (6) the filter (5) to exhibit the determined response. A method as claimed in claim 1 wherein one or more values of a function of the differential microphone outputs are determined at known distances, and the step of estimating the distance comprises the steps of: observing a value of the function based on the received two output signals; and comparing the observed value with the one or more determined values to estimate the distance. A method as claimed in claim 2 wherein the function comprises a ratio of outputs. A method as claimed in claim 1 wherein the step of determining a filter frequency response comprises the step of determining a half-power frequency of the filter based on the estimated distance. A method as claimed in claim 1 wherein the step of estimating the distance is performed in response to a user command. A method as claimed in claim 1 wherein the step of estimating the distance is performed periodically. A method as claimed in claim 1 wherein the step of determining a filter frequency response comprises the step of determining a substantial inverse of the frequency response of the differential microphone. A method as claimed in claim 1 wherein the step of determining a filter frequency response is performed only when the two microphone output signals are produced in response to an active source of sound to be detected by the microphone. A method as claimed in claim 1 wherein, the filter comprising an amplifier having an adjustable gain, the step of determining a filter frequency response comprises the steps of: determining an amplifier gain, based on the estimated distance, for modifying the output level of the differential microphone to obtain a desired output level; and adjusting the amplifier to exhibit the determined gain. Apparatus for use in a system which comprises a differential microphone (1), the apparatus being for providing the system with a desired frequency response and comprising an adjustable filter (5) coupled to receive an output signal from the differential microphone; and a controller (6), coupled to receive two output signals from the differential microphone (1) and also being coupled to the filter (5), for estimating the distance between the differential microphone and a source of sound based on said two output signals (4) and for adjusting the filter (5) to provide the system with the desired response. Apparatus as claimed in claim 10 wherein the controller comprises a detector (6a,6b) for determining average values of said two output signals received from the differential microphone; and a divider (6c) for determining a ratio of average signal values. Apparatus as claimed in claim 10 wherein the filter is adjusted to exhibit a frequency response which is a substantial inverse of the frequency response of the differential microphone. Apparatus as claimed in claim 10 wherein the filter comprises a Butterworth filter. Apparatus as claimed in claim 10 comprising a threshold detector (6d) for determining when a source of sound to be detected by the microphone is active. Apparatus as claimed in claim 10 wherein the differential microphone comprises a pressure differential microphone, and the filter is a low-pass filter. Apparatus as claimed in claim 10 wherein the differential microphone comprises a velocity differential microphone, and the filter is a high-pass filter. Apparatus as claimed in claim 10 wherein the differential microphone comprises a velocity differential microphone, and the filter is a bandpass filter. Apparatus as claimed in claim 10 wherein the differential microphone comprises a displacement differential microphone, and the filter is a high-pass filter. Apparatus as claimed in claim 10 wherein the differential microphone comprises a cardioid microphone, and the filter is a low-pass filter. Apparatus as claimed in claim 10 wherein the filter comprises an amplifier having a gain which is adjustable by the controller based on the determined distance.

Inventors: ELKO GARY WAYNE, KUBLI ROBERT ALFRED, MORGAN DENNIS R, WEST JAMES EDWARD, ELKO, GARY WAYNE, KUBLI, ROBERT ALFRED, MORGAN, DENNIS R., WEST, JAMES EDWARD
Applicants: AT & T CORP, AT&T CORP.
Application year: 1992
Main classification: H04R3
IPC codes: H04R3, H04R1, G01S3