Background of the Invention
1. Field of the Invention
The present invention relates to an automatic graphic equalizer and particularly to an automatic graphic equalizer in which the frequency characteristics of sound, produced by a pink noise source, and introduced into and returned from a predetermined physical environment, are measured and the measurement used to automatically control the frequency characteristics of the graphic equalizer.
2. Description of the Prior Art
A conventional automatic graphic equalizer is shown in FIG. 1. In FIG. 1, an adder 2 is provided at an audio signal input terminal 1 so as to add pink noise received from a pink noise generator 3 to an audio signal received through the terminal 1. The output of the adder 2 is applied to a graphic equalizer 4 in which the frequency characteristics of the adder output are controlled. The output from the graphic equalizer 4 is applied to a speaker 6 through an amplifier 5. The speaker converts the electrical input to the speaker into sound which is emitted into a predetermined physical area, for example, the inside of a car.
The emitted sound is reflected from the car interior and received together with the reflected sound by a microphone 7. The microphone is connected to a BPF (band-pass filter) circuit 10 for detecting the frequency characteristics of microphone received sound, through a microphone amplifier 8 and a variable resistor 9. The BPF circuit 10 is constructed of a plurality of BPFs each having a different pass band, the number of BPFs corresponding to the number of adjusting frequency bands of the graphic equalizer 4. The outputs of the respective BPFs are alternatively selected through a switch 11. Each selected output is converted into a digital signal by an A/D (analog-to-digital) converter 12 and applied as an input to controller 13 which may be a programmed microcomputer.
A predetermined program operates the controller 13 to produce controller outputs which control the graphic equalizer 4, the variable resistor 9, and the switch 11 so as to automatically obtain a flat environment frequency characteristic in the selected physical environment.
Such an arrangement operates in the following manner. To initialize the equalizer circuit, the audio signal input terminal 1 is earthed, the pink noise generator 3 is energized to supply pink noise to the graphic equalizer 4, and the graphic equalizer 4 is operated to produce a flat frequency characteristic. The equalized pink noise produced from the equalizer 4 is amplified by the amplifier 5 and emitted into the physical environment, such as a car interior, through the speaker 6. The emitted sound is detected by the microphone 7 together with the sound reflected inside the car, amplified by the microphone amplifier 8, and then applied to the variable resistor 9. The variable resistor 9, controlled by controller 13, is used for making the average level of signals applied to the A/D converter 12 a predetermined reference level.
The controller 13 receives the output of the A/D converter 12 which represents the frequency characteristics of the sound from the selected physical environment and detects these frequency characteristics from the amplitude level of the pink noise which passes through the respective BPFs. The controller 13 then controls the graphic equalizer 4 so as to have frequency characteristics which compensate for the detected frequency characteristics which produce a non-flat frequency spectrum. Accordingly, the sound inside the car appears to have a flat frequency characteristic.
In such a conventional device, however, to detect the respective pink noise levels in the various frequency bands, a plurality of BPFs are necessary in order for the level of pink noise in each of the graphic equalizer's several frequency bands to be detected. Therefore, as the number of the frequency bands is increased, it becomes necessary to correspondingly increase the number of the BPFs and the number of contacts in the switch 11. This makes for a complicated arrangement. Further, because the average pink noise level applied to a group of BPFs changes depending on the apparatus mounting position and/or the conditions inside the car, it is necessary to make the average level of the pink noise some predetermined value before measuring the frequency characteristics. Therefore, the variable resistor 9 is required which further complicates the device.
Summary of the Invention
It is an object of the present invention to eliminate the above-mentioned disadvantages in the conventional automatic graphic equalizer.
It is another object of the present invention to provide an automatic graphic equalizer having a simplified arrangement.
The present invention is applied to an automatic graphic equalizer arranged such that a pink noise signal is applied to an audio signal line. The pink noise is passed through a graphic equalizer and then applied to a speaker which introduces the pink noise as sound into a predetermined physical environment. The sound in the physical environment is detected by a microphone. The level of the detected sound in every one of a plurality of frequency bands is determined, and the frequency characteristics of the graphic equalizer are controlled in response to the respective detected levels. The automatic graphic equalizer of the invention includes a frequency-variable BPF in which the center frequency of the passband can be changed by controlling circuit parameters. This frequency-variable BPF is used as the means for detecting the signal levels in the respective frequency bands of the sound detected by the microphone.
The frequency-variable BPF may be a so-called SCF (switched capacitor filter). The signal detected by the microphone is supplied to the SCF through a microphone amplifier having an ALC (automatic level control) function.
Brief Description of the Drawings
FIG. 1 is a block diagram showing a conventional automatic graphic equalizer;
FIG. 2 is a block diagram showing an embodiment of the automatic graphic equalizer according to the present invention; and
FIGS. 3 and 4 are circuit diagrams of portions of the switched capacitor filter shown in block form of in FIG. 2.
Detailed Description of Preferred Embodiment
A preferred embodiment of the present invention will now be described with reference to FIGS. 2-4.
FIG. 2 is a block diagram showing an embodiment of automatic equalizer according to the present invention. The portions of FIG. 2 which are the same as those in FIG. 1 are identified with common reference numerals. Only the parts different from those shown in FIG. 1 will be described hereinafter. Sound inside a car is detected by microphone 7, and set to a predetermined level by an ALC microphone amplifier 15. The output from amplifier 15 is supplied to a combination circuit comprised of a BPF 16 and an SCF 17. The SCF 17 is comprised, for example, of an LPF (low-pass filter) and an HPF (high-pass filter), the frequency characteristics of the respective filters being controlled, respectively, by the output of a programmable frequency divider 20 and the output of a frequency divider 21, the frequency divider 21 frequency dividing the output of the programmable frequency divider 20.
The BPF 16 is a filter which has a fixed frequency characteristic for allowing signals within a frequency pass-band which cannot be covered by the SCF 17 to pass through. Of course, the BPF 16 is unnecessary if the frequency pass-band can be covered by the SCF 17.
The respective outputs of the filters 16 and 17 are selected by a switch 18 and applied to a level detector 19. The signal levels detected by the detector 19 are supplied to an A/D converter 12.
The balance of the arrangement is the same as that in FIG. 1 except that the output of the graphic equalizer 4 is applied to the amplifier 5 through a fader circuit 14.
The automatic graphic equalizer is initialized as follows. The audio signal input terminal 1 is earthed and the pink noise generator 3 is energized to apply the pink noise to the graphic equalizer 4. The graphic equalizer is controlled to have a flat frequency characteristic. The setting of the initial conditions is automatically performed by a controller 13. Thereafter, the pink noise is emitted into the inside of a defined physical environment such as a car through a speaker 6, and the emitted sound and the reflected sound are detected by the microphone 7. Although the signal detected by the microphine is controlled by the ALC microphone amplifer 15 so that the average output level of the signal becomes a predetermined value, the frequency characteristics of the output signal, which are affected by the conditions inside the car, will nevertheless be detected by the SCF 17.
For the SCF 17 to detect the frequency characteristics over the signal's entire frequency band, the frequency-dividing ratio of the programmable frequency divider 20 is controlled by a frequency-dividing ratio control signal supplied to the programmable frequency divider 20 from the controller 13, so that the pass-band characteristics of the SCF 7 (i.e. the center frequency of the passband) is varied. Therefore, the center frequency of the SCF 17 is sequentially made to coincide with to each of the frequency bands of the graphic equalizer 4. The signal levels in each frequency band to which the SCF is set is detected and applied to the controller 13 in the form of a digital signal by the operation of the A/D converter 12. A level detector 19 is provided to detect the average signal level from the SCF and to rectify and smooth the detected signal, so as to reduce the required sampling frequency of the A/D converter 12. Although the detected signal level may be applied directly to the A/D converter 12 without smoothing, the sampling frequency is necessarily increased requiring a more complicated circuit.
The data indicating the detected signal level in each frequency band so obtained is analyzed by the controller 13, and then the graphic equalizer 4 is adjusted on the basis of this analysis so that a flat frequency characteristic can be obtained over all frequency bands.
FIGS. 3 and 4 are circuit diagrams each showing a portion of the circuit of SCF 17, which is a so-called f-variable (frequency-variable) type filter. FIGS. 3 and 4 are circuit diagrams of an LPF and an HPF, respectively, in which only the frequency f can be changed with the Q (sharpness) kept substantially constant by suitably changing variable resistor elements R.sub.2 -R.sub.3 (FIG. 3) and variable resistor elements R.sub.8, R.sub.9, and R.sub.12 (FIG. 4).
FIG. 3 shows an example of the LPF comprised of operational amplifiers 31-33, capacitors C.sub.1 and C.sub.2, and resistors R.sub.1 -R.sub.6. In the LPF, the cut-off frequency f.sub.c is 1/(C.sub.1 C.sub.2 R.sub.3 R.sub.4) and Q is R.sub.2 /R.sub.3. In this case, R.sub.5 is selected to be equal to R.sub.6. FIG. 4 shows an example of the HPF comprised of operational amplifiers 41-43, capacitors C.sub.3 and C.sub.4, and resistors R.sub.7 -R.sub.12. In this HPF, the cut-off frequency f.sub.c is 1/(C.sub.3 C.sub.4 R.sub.9 R.sub.12) and Q is R.sub.8 /R.sub.12. In this case, R.sub.10 is made equal to R.sub.11.
Accordingly, if the LPF and HPF are connected in series and the respective values of f.sub.c are suitably set, it is possible to provide a BPF, the center frequency of which is controllable. If the variable resistors R.sub.2 -R.sub.4 and the variable resistors R.sub.8, R.sub.9, and R.sub.12 in the LPF and HPF respectively, are comprised of the so-called switched capacitors (SC), the SCF can be realized.
According to the present invention, for example, an SCF in which the center-frequency of the passband can be easily controlled by changing circuit parameters is used for detecting respective frequencies. In this way multiple band pass filters and a complex switching circuit can be eliminated from the automatic graphic equalizer.
If a device having the ALC function is used as a microphone amplifier, the arrangement can be further simplified because it becomes unnecessary to use a complicated variable resistor arrangement responsive to the controller 13 output.