This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2010-282248, filed Dec. 17, 2010, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a compensation filtering device and a method thereof.
In various types of conventional AV equipment such as a television, when sound is output, various factors exist that degrade reproduced sound quality of an audio signal. Accordingly, there have been proposed various technologies to output sound with quality faithful to the original.
For example, there has been proposed a technology for compensating for response characteristics in a reproduction system configured to include a sound field using a finite impulse response (FIR) filter. In the FIR filter, the characteristics vary depending on the number of taps constituting the FIR filter and a coefficient indicating a weight for each tap (hereinafter, “tap coefficient”). As the number of taps increases, the frequency resolution of the FIR filter increases and the filter performance improves. However, the larger number of taps increase the arithmetic processing load.
In view of this, there has been proposed a conventional technology for obtaining a filter coefficient of the FIR filter with a limited number of taps. For example, the frequency characteristic is combined with the phase compensation characteristic to obtain a combined compensation characteristic. The combined compensation characteristic is used as the filter coefficient of a compensation filter.
The filter coefficient can be obtained not only by combining the frequency characteristic with the phase compensation characteristic as in the conventional technology, but may be obtained in a different manner.
A general architecture that implements the various features of the invention will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments of the invention and not to limit the scope of the invention.
In general, according to one embodiment, a compensation filtering device comprises an impulse response calculator, a group delay compensator, and an extractor. The impulse response calculator is configured to calculate an impulse response of a reproduction system comprising a sound field. The group delay compensator is configured to compensate for group delay characteristics in a low frequency range lower than a predetermined frequency for a finite impulse response (FIR) filter having reverse characteristics of the impulse response based on group delay characteristics in a middle to high frequency range higher than the predetermined frequency. The extractor is configured to extract a predetermined number of taps from the FIR filter that has been compensated for by the group delay compensator.
The switch 111 switches an audio signal output from the acoustic reproduction device 100 between an ordinary audio signal and a test audio signal received from the test audio signal generator 101. More specifically, if a compensation filter is generated, the switch 111 connects between the test audio signal generator 101 and the filter 110. Otherwise, the switch 111 connects between a terminal to output an ordinary audio signal and the filter 110.
The test audio signal generator 101 generates a test audio signal to measure acoustic characteristics (impulse response) of a reproduction system 150 comprising a reproduction sound field. In the embodiment, for example, a white noise signal, a time stretched pulse (TSP) signal, or the like is used as the test audio signal. The test audio signal need not necessarily be generated by the test audio signal generator 101 each time measurement is performed, but may be stored in a memory or the like and read therefrom.
The electric/acoustic output converter 102 converts the test audio signal or an audio signal to be listened to from an electrical signal to reproduction sound and outputs it. The electric/acoustic output converter 102 may comprise a digital/analog converter, a power amplifier, and the like.
The acoustic/electric input converter 103 picks up the test reproduction sound propagating in the reproduction system 150, and converts it from sound to an electrical signal. The acoustic/electric input converter 103 may comprise an analog/digital converter, a power amplifier, and the like.
The impulse response calculator 104 calculates an impulse response of the reproduction system 150 comprising a reproduction sound field from the electrical signal converted from the test reproduction sound.
The reproduction sound emitted from the electric/acoustic output converter 102 to the reproduction system 150 is influenced by natural vibration of the vibration system of the electric/acoustic output converter 102, the divided vibration of a vibration board, a standing wave generated in the housing, or a resonance in the housing. The reproduction sound is further subject to various influences such as duct resonance in the reproduction system 150, the reflection of a grill or a net existing in the reproduction system 150, and the like. Accordingly, the picked up test reproduction sound is disturbed in amplitude-frequency characteristics and phase-frequency characteristics compared to the test audio signal generated by the test audio signal generator 101.
In view of this, the acoustic reproduction device 100 of the embodiment applies a finite impulse response (FIR) filter to compensation for the acoustic characteristics.
The reverse characteristic calculator 105 calculates the reverse characteristics of the impulse response calculated by the impulse response calculator 104. For example, the reverse characteristic calculator 105 takes the discrete Fourier transform of the impulse response and obtains a complex number in the frequency domain. The reverse characteristic calculator 105 then calculates the inverse number of the complex number and further takes the discrete Fourier transform, thereby obtaining the reverse characteristics of the impulse response.
The amplitude-frequency characteristics illustrated in
Meanwhile, the tap coefficients illustrated in
To reduce the taps of the filter, there has been proposed a method in which data is extracted for a predetermined number of taps and installed as a filter. In the embodiment, the tap extractor 107 extracts an FIR filter corresponding to a predetermined number of taps from an FIR filter having reverse characteristics calculated by the reverse characteristic calculator 105.
This is based on that impulse response needs more time to converge with an increase in group delay due to the phase rotation of reproduction sound. That is, in the FIR filter, although the convergence time of impulse response is prolonged because of the characteristics to return group delay, extraction is performed with respect to the impulse response, i.e., the number of taps are limited. As a result, components of the low frequency range where the group delay is large are cut off.
For this reason, according to the embodiment, as illustrated in
The group delay compensator 106 compensates for group delay characteristics in a low frequency range lower than a predetermined frequency based on group delay characteristics in a middle to high frequency range higher than the predetermined frequency. In the embodiment, an example is described in which a reference frequency that separates the low frequency range and the middle to high frequency range is 100 Hz.
Note that the reference frequency is not limited to 100 Hz. For example, if 256 taps are extracted, it is not possible to control group delay of 256 samples or more. Thus, based on the actual measurement result as illustrated in
The group delay compensator 106 of the embodiment compensates for group delay in a low frequency range of 100 Hz or less such that it matches the value of group delay of the entire impulse response except the low frequency range.
The tap extractor 107 extracts a predetermined number of taps from the FIR filter after the group delay characteristics are compensated for by the group delay compensator 106, and generates a compensation filter. In the embodiment, for example, 256 taps are extracted. To extract 256 taps, the tap extractor 107 uses a window function such as Tukey (tapered cosine) window. Tap coefficients of taps need not necessarily be extracted using a window function such as Tukey (tapered cosine) window, and other techniques may be used.
The filter 110 performs filtering on an audio signal output from the electric/acoustic output converter 102 using the compensation filter extracted by tap extractor 107.
With this configuration, the acoustic reproduction device 100 of the embodiment can perform appropriate filtering on an audio signal.
In the following, a description will be given of the operation of the acoustic reproduction device 100 to generate a compensation filter.
First, the test audio signal generator 101 generates a test audio signal (S2101). The electric/acoustic output converter 102 converts the test audio signal from an electrical signal to reproduction sound and outputs it to the reproduction system 150 (S2102).
The acoustic/electric input converter 103 picks up the test reproduction sound propagating in the reproduction system 150, and converts it from reproduction sound to an electrical signal (S2103).
The impulse response calculator 104 calculates an impulse response of the reproduction system 150 comprising a reproduction sound field from the electrical signal converted from the test reproduction sound (S2104).
The reverse characteristic calculator 105 calculates the reverse characteristics of the impulse response calculated by the impulse response calculator 104 (S2105).
The group delay compensator 106 compensates for group delay characteristics in the low frequency range of the FIR filter, e.g., a frequency range of 100 Hz or less, to match group delay characteristics in the middle to high frequency range, e.g., a frequency range higher than 100 Hz (S2106).
The tap extractor 107 extracts an FIR filter having 256 taps from the FIR filter having the calculated reverse characteristics, and generates a compensation filter to compensate for the acoustic characteristics of the reproduction system (S2107).
The tap extractor 107 sets the generated compensation filter to the filter 110 (S2108).
In this manner, the audio signal is corrected with the compensation filter having filter characteristics in which group delay characteristics are compensated for.
While the acoustic reproduction device 100 of the embodiment is described above as changing group delay characteristics in the low frequency range after the reverse characteristics of measured impulse response are obtained, this is by way of example and not of limitation. For example, the reverse characteristics of measured impulse response may be obtained after group delay characteristics in the low frequency range are changed with respect to the impulse response.
Besides, while an example is described in the embodiment in which group delay in the low frequency range is substituted with a predetermined value to change group delay characteristics, it is not so limited. Group delay characteristics may be changed by any other method of reducing the range of phase change, i.e., reducing group delay time.
If using an FIR filter having a fewer taps, i.e., less arithmetic operations, the acoustic reproduction device 100 of the embodiment can suitably compensate for amplitude characteristics in the low frequency range.
As described above, according to the embodiment, the acoustic reproduction device 100 does not need to additionally have a low-pass filter to set basic sound quality. Thus, it is possible to avoid an increase in arithmetic operations for signal processing and circuit size. Further, the acoustic reproduction device 100 can achieve favorable acoustic pressure characteristics in the low frequency range with less need to rely on acoustic low-frequency enhancement without a cost increase. In other words, the acoustic reproduction device 100 can achieve both processing load reduction and performance improvement of acoustic characteristics.
According to the embodiment, the acoustic reproduction device 100 can suppress a gain drop in the low frequency range by adjusting group delay characteristics of the tap coefficients of the FIR filter. Thus, if using an inexpensive filter having a fewer taps that can be mounted on a digital signal processor (DSP), it is possible to achieve favorable acoustic pressure characteristics in the low frequency range.
While the acoustic reproduction device 100 of the embodiment is described as generating a compensation filter as well as performing filtering using the generated compensation filter, it is not so limited. For example, the acoustic reproduction device may comprise an output module that outputs an audio signal and a filter that performs filtering on the audio signal output from the output module using a compensation filter generated and set by another filtering device in a manner as described above.
While the acoustic reproduction device 100 is described by way of example above as being installed in a television receiver, it may be applied to other devices. For example, the acoustic reproduction device 100 may be applied to an external speaker provided to a personal computer or the like. The acoustic reproduction device 100 may also be applied to acoustic equipment such as compact disc (CD) players. The acoustic reproduction device 100 may be built in a mobile telephone, and may also be applied to headphones.
The acoustic reproduction device 100 installed in a television receiver has a hardware configuration comprising a central processing unit (CPU), a read only memory (ROM), and a random access memory (RAM). A computer program (hereinafter, “acoustic processing program”) can be executed on a computer to realize the same function as the acoustic reproduction device 100 of the above embodiment. The acoustic processing program may be provided as being stored in advance in ROM or the like.
The acoustic processing program comprises modules that implement the above constituent elements (including the test audio signal generator, the electric/acoustic output converter, the acoustic/electric input converter, the impulse response calculator, the reverse characteristic calculator, the group delay compensator, the tap extractor, and the filter). As real hardware, the CPU loads the acoustic processing program from the ROM into the RAM and executes it. With this, the test audio signal generator, the electric/acoustic output converter, the acoustic/electric input converter, the impulse response calculator, the reverse characteristic calculator, the group delay compensator, the tap extractor, and the filter are implemented on the RAM.
The various modules of the systems described herein can be implemented as software applications, hardware and/or software modules, or components on one or more computers, such as servers. While the various modules are illustrated separately, they may share some or all of the same underlying logic or code.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2010-282248 | Dec 2010 | JP | national |