Circuit, audio system and method for processing signals, and a harmonics generator
A circuit, audio system and method are presented for processing an audio signal, in which a frequency band is selected, harmonics are generated from the selected signal by a harmonics generator, wherein the harmonics are scaled by a level detected in at least a part of the spectrum of the audio signal related to the selected frequency band. Furthermore, a harmonic generator is presented for generating arbitrary harmonics of an input signal.
Latest Koninklijke Philips Electronics N.V. Patents:
1. Field of the Invention
The invention relates to a circuit for processing an audio signal, comprising:
-
- an input for receiving the audio signal and an output for supplying an output signal,
- electing means coupled to the input for selecting a frequency band of the audio signal,
- harmonics generator coupled to the selecting means for generating harmonics of the selected signal,
- adding means coupled to the input as well as to the harmonics generator for supplying a sum of the input signal and the generated harmonics to the output.
The invention also relates to an audio reproduction system comprising such a circuit.
The invention further relates to a method for processing an audio signal, comprising the steps of:
-
- selecting a frequency band of the audio signal,
- generating harmonics of the selected signal,
- supplying a sum of the audio signal and the generated harmonics.
2. Description of the Related Art
A circuit according to the preamble is known from European Patent Application EP-A 546 619. In the known circuit, a low frequency band of an input signal is selected and supplied to a harmonics generator for generating harmonics of the selected signal. In this way, low-frequency perception of the audio signal is improved upon. In the known circuit a full-wave rectifier is used as harmonics generator. A drawback of the full-wave rectifier is that it generates only even harmonics.
SUMMARY OF THE INVENTIONAn object of the invention is to provide a circuit for processing an audio signal, wherein any non-linear device may be used as a harmonics generator for generating any selection of harmonics desired.
A circuit according to the invention is characterized in that the circuit further comprises:
-
- detecting means for detecting a level of at least a part of the spectrum of the audio signal including the selected frequency band, and
- scaling means for scaling the generated harmonics in response to said level.
The invention is based on the recognition that in the prior art, the full-wave rectifier only produces even harmonics having a fixed amplitude relation with the fundamental harmonic. Through the measures of the invention, any non-linear device can be used as a harmonics generator, thereby allowing the freedom to generate any combination of odd and even harmonics and its amplitude relation to the fundamental harmonic. However, the use of any arbitrary harmonics generator will result in a different low-frequency perception at low input signals compared to high input levels. This is caused by the fact that in a non-linear device, such as a diode, the generated harmonics have amplitudes which are non-linearly related to the amplitude of the fundamental harmonic, whereas, the amplitudes of the harmonics generated by the full-wave rectifier are linearly related to the amplitude of the fundamental harmonic. By using the measure according the invention, the generated harmonics can be scaled properly, thereby allowing the freedom of choice of using any non-linear device as harmonics generator without a level-dependent low-frequency perception.
An embodiment of the circuit, according to the invention, is characterized in that the input is coupled to the adding means via a filter having a high-pass transfer function for selecting frequencies higher than those which are selected by the selecting means. By this measure, no overlap in spectrum of the signals supplied to the adding means takes place, thus avoiding an extra and unnatural boosting of those frequencies, which would otherwise be present due to the overlap of frequency ranges.
An embodiment of the circuit, according to the invention, is characterized in that an input of the detecting means is coupled to an output of the selecting means. Through this measure, the amplitude of the generated harmonics is directly related to the amplitude of the input signal of the harmonics generator. In addition to that, in this way the selecting means serves a double purpose, both for the detecting of the level, and for selecting the signal for the harmonics generator. This results in a more economic circuit.
An embodiment of the circuit, according to the invention, is characterized in that the circuit comprises at least one further signal stage, coupled between the input and a further input of the adding means, the signal stage comprising:
-
- a further selecting means coupled to the input, having a selection characteristic for selecting a part of the input signal in frequency adjacent to the selected signal of the selecting means,
- a further harmonics generator coupled to the further selecting means for generating harmonics of the signal selected by the further selecting means,
- further detecting means coupled to the further selecting means for detecting a level of the by the further selecting means selected signal, and
- further scaling means for scaling the by the further harmonics generator generated harmonics in response to said level.
By providing two (or more) parallel paths for generating harmonics, the effect of intermodulation is reduced. This intermodulation results if two or more strong low frequencies are present at the input of the harmonics generator. By selecting the pass-bands of the selecting means sufficiently narrow and providing a plurality of harmonics generators, each supplied by respective selecting means having adjacent pass-bands, the chances of two strong low frequencies present at the input of one of the harmonics generator is substantially reduced. By providing each individual signal path with its individual detecting means, the harmonics generated in each path will have an amplitude related to only the signal component from which the harmonics are generated. This results in a more natural sound.
An embodiment of the circuit, according to the invention, is characterized in that the harmonics generator comprises a plurality of cascaded multipliers, each having two inputs and an output, the inputs of the first of the cascade of multipliers being coupled to an input of the harmonics generator, a remaining input of each of the remaining multipliers being coupled to the input of the harmonics generator, an output of each of the multipliers being coupled via a coefficient to a respective input of further adding means, the input of the harmonics generator being coupled via a coefficient to an input of the adding means, the adding means further receiving a constant value, an output of the adding means supplying the generated harmonics.
Through this measure, a versatile harmonics generator is created. By varying the number of multipliers and the values of the coefficients, an arbitrary number of harmonics can be generated with freely determinable amplitudes.
An embodiment of the circuit, according to the invention, is characterized in that the harmonics generator comprises a zero-crossing detector and a waveform generator for generating a waveform in response to the detected zero crossings, an amplitude of the generated waveform being controlled by the level supplied by the detecting means.
By dividing the harmonics generator into a zero-crossing detector and waveform generating means, it is possible to generate harmonics on the basis of the detected zero crossings, with fixed amplitudes. By choosing the appropriate waveform, it is possible to adjust the number and amplitudes of the harmonics. By controlling the amplitudes with the detected level, the generated harmonics are adapted to the audio signal.
An embodiment of the circuit, according to the invention, is characterized in that the waveform generator comprises a current source controlled by the level supplied by the detecting means, a capacitance and means for charging and discharging the capacitance in response to the detected zero crossings. This is a simple and advantageous embodiment of a waveform generator for use in the invention.
An embodiment of an audio system comprising at least one speaker, according to the invention, is characterized in that the selected frequency band of the selecting means is non-overlapping with the high-pass characteristic of the speaker. By this measure, the circuit is adapted to compensate the low-frequency deficiencies of the speaker, as only those frequencies are treated by the circuit which the speaker can not reproduce adequately.
A method, according to the invention, is characterized in that the method further comprises the step of scaling the generated harmonics in response to a level of at least a part of the spectrum of the audio signal including the selected frequency band.
The invention further provides a harmonics generator for generating harmonics of an input signal, comprising a plurality of cascaded multipliers, each having two inputs and an output, the inputs of the first of the cascade of multipliers being coupled to an input of the harmonics generator, a remaining input of each of the remaining multipliers being coupled to the input of the harmonics generator, an output of each of the multipliers being coupled via a coefficient to a respective input of further adding means, the input of the harmonics generator being coupled via a coefficient to an input of the adding means, the adding means further receiving a constant value, an output of the adding means supplying the generated harmonics. By selecting an appropriate number of multipliers and selecting appropriate values for the coefficients, it is possible to generate an arbitrary number of harmonics with individually selectable amplitudes.
The invention also provides a harmonics generator for generating harmonics of an input signal, comprising a zero-crossing detector for detecting zero crossings in the input signal applied to the harmonics generator, and a waveform generator for generating a waveform in response to the detected zero crossings, an amplitude of the generated waveform being controlled by a level of the input signal.
This is a simple implementation of a harmonics generator. By generating a waveform in response to the detected zero crossings, harmonics are generated, which will have a constant amplitude. Now the scaling of the generated harmonics can be done by controlling the amplitude of the harmonics by the level of the input signal. In this way, the amplitudes of the harmonics can be made proportional to the level of the input signal. By choosing the appropriate waveform (square/sawtooth/triangle, etc.), the desired harmonics can be generated.
An embodiment of the harmonics generator is characterized in that the waveform generator comprises a current source controlled by the level supplied by the detecting means, a capacitance, and means for charging and discharging the capacitance in response to the detected zero crossings. This provides a simple way of generating the desired waveform in response to the detected zero crossings. These harmonics generators may also be used in the known circuit or even separately from this circuit or the circuits described previously.
The above object and features of the present invention will be more apparent from the following description of the preferred embodiments with reference to the drawings, wherein:
In the figures, identical parts are provided with the same reference numbers.
DESCRIPTION OF THE PREFERRED EMBODIMENTS-
- the band-pass filter 24 is deleted,
- detecting means 28 are added, having an input coupled to an output of the selecting means 20,
- a divider 30 is inserted between the selecting means 20 and the harmonics generator 22, having an input coupled to an output of the selecting means 20 and an input coupled to an output of the detecting means 32, and an output coupled to the harmonics generator 22,
- a multiplier 32 is inserted between the harmonics generator 22 and the adding means 26, having an input coupled to an output of the harmonics generator 22, and
- a further input coupled to the output of the detecting means 28 and an output coupled to the adding means 26.
The detecting means 28 is a level detector for detecting a level of at least a part of the spectrum of the audio signal related to, or rather, including, the frequency band selected by the selecting means 20. This detected level may be a amplitude level, a power level, a peak level, an average level, etc. The divider 30 together with the multiplier 32 constitute scaling means for scaling the generated harmonics in response to the detected level, supplied by the detecting means 28. By the inclusion of the detecting means and the scaling means according to the invention the above-mentioned level-dependency of the low-frequency impression is substantially reduced. In the present invention it is namely recognized that this level-dependency is caused by the non-linear behavior of the harmonics generator 22. For example, if the harmonics generator produces a second and a third harmonic of its input signal, this means also that the amplitude of the second harmonic will depend on the amplitude of the input signal to the second power. For the third harmonic, this dependency is to the third power. This means that the ratio of the amplitudes of the second and third harmonics is not constant, but a function of the amplitude of the input signal. Thus, at low signal levels, the amplitudes of the generated harmonics will have a different relationship with the fundamental harmonic than at high signal levels. This explains that the low-frequency impression depends on the amplitude of the input signal. In the circuit ofFIG. 2 , first the input signal to the harmonics generator 22 is normalized, i.e., made substantially amplitude-independent. This is done in the divider 30 by dividing an output signal of the selecting means 20 by the detected level supplied by the detecting means 28. Thus, the input signal of the harmonics generator 22 is normalized, i.e., made substantially level-independent. As a result of this, the amplitudes of the generated harmonics will always have substantially the same constant ratio. In multiplier 32, the harmonics supplied by the harmonics generator 22 are multiplied by the detected level supplied again by the detecting means 28. By making the generated harmonics again dependent on the amplitude of the input signal, the generated harmonics are brought into their proper amplitude relation with the audio signal. Preferably, the level of the input signal applied to the harmonics generator 22 is used for this scaling. However, this is not essential, as long as the harmonics are scaled in response to a level that is directly related to or includes at least a part of the audio signal. This means that the input of the detecting means 28 may also be coupled to the input 10, instead of the output of the selecting means 20. By using the measures of the invention, it is possible to use any non-linear device with the desired non-linear behavior as harmonics generator, as the ratio of the amplitudes of these harmonics will always be substantially independent of the input signal level. This freedom allows the choice of a harmonics generator 22 which generates any desired harmonics (odd and/or even) and its proper amplitude, in correspondence with the desired effect, and is no longer restricted to either a level-dependent low-frequency perception or a limited choice of generated harmonics (as generated by a full-wave rectifier).
-
- different moments for resetting the capacitor voltage using the reset signal RST,
- different moments for charging the capacitor using the charge signal CH,
- the amplitude of the current as related to voltage Vx: the voltage Vx may for example be chosen to be proportional to the input signal (in this case the input signal and the output signal of the detecting means 28 differ only in amplitude), supplied to the zero crossing detector, or to the absolute value of said input signal (now the detecting means 28 comprises a rectifier). Other variants are also possible.
For the generation of the waveforms ofFIGS. 8a-8h , the signal CH may be constantly activated. This means that in that case transistors 403 and 410 may be replaced by short circuits. For the waveforms ofFIGS. 8a and 8b , a reset pulse RST is generated every second (t2, t4) and fourth (t4) zero crossing, respectively. ForFIG. 8e , a reset pulse is generated at every zero crossing. This reset pulse RST is only a short pulse, generated at a moment the input signal goes through zero. For the waveforms ofFIGS. 8e , 8d and 8f, no reset signal is required. In these cases transistors 405 and 415 may be deleted. For the waveform ofFIG. 8h , the reset pulse is generated every other zero-crossing, but now, either the reset pulse RST lasts until the next zero crossing, or the charge signal CH is inactive every second zero crossing, lasting until the next zero crossing, or both. In this latter case, the charge signal CH is the inverted reset signal RST. For waveforms ofFIGS. 8a , b, f, g and h, the voltage Vx is a function of the absolute value of the input signal supplied to the zero-crossing detector 240. For the waveforms ofFIGS. 8e , 8d and 8e the voltage Vx is proportional to the value of the input signal, including its sign. The difference between the waveforms of FIG. 8e andFIG. 8e , is that forFIG. 8e no reset signal active, but forFIG. 8e , a reset signal is active at each zero crossing (t0 . . . t4). For the waveform ofFIG. 8h , it does not matter whether Vx is a function of the value of the input signal or its absolute value as the charging of the capacitor only takes place during the same phase of the input signal. The waveform ofFIG. 8d can be derived from the waveform ofFIG. 8e in the following manner. The waveform ofFIG. 8e is measured across the capacitor, and this measured value then receives the sign of the input signal. This can be done by multiplying the measured value with a signal representing the sign of the input signal. Such a signal can be obtained directly at the output of a non-inverting limiter, which may serve as zero-crossing detector 240. For generating the waveform ofFIG. 8f , the charging current of capacitor may be reversed in sign every second zero crossing. No reset signal RST is required. A signal for indicating the direction of the charging current may be obtained by dividing the signal representing the sign of the input signal (as described previously) by a factor 2. The generation of the previously described pulses for the reset signal RST lie well within the abilities of the skilled person and need not be explained in detail. The waveforms ofFIGS. 8a-8h are only intended in an illustrative and not a limiting sense.
The invention is by no means limited to the examples given above. For example, a band-pass filter 24 may be incorporated also in the circuits of
Claims
1. A circuit comprising:
- selecting means for selecting a frequency band of an audio input signal;
- harmonics generator means for generating harmonics of signals in the selected frequency band of the audio input signal to provide generated harmonics;
- adding means for supplying a sum of the audio input signal and scaled harmonics;
- level detecting means for detecting a level of at least a part of the spectrum of the audio input signal including the selected frequency band; and
- scaling means for scaling the generated harmonics in response to the detected level to provide the scaled harmonics, and
- wherein the harmonics generator comprises: a zero-crossing detector for detecting zero crossings in signals including signals of the selected frequency band; and a waveform generator for generating a waveform in response to detected zero crossings, an amplitude of the generated waveform being controlled by the level supplied by the level detecting means, and wherein the waveform generator comprises: a current source controlled by the detected level supplied by the level detecting means; a capacitance; and means for charging and discharging the capacitance in response to the detected zero crossings.
2. The circuit as claimed in claim 1, wherein an input of the level detecting means communicates with an output of the selecting means.
3. The circuit as claimed in claim 1, wherein said circuit further comprises at least one further signal stage, including:
- further selecting means for selecting a part of the input signal adjacent, in frequency, to the selected frequency band of the selecting means;
- a further harmonics generator for generating harmonics of signals in the part of the audio input signal selected by the further selecting means;
- further detecting means for detecting a level of the signals in the part of the audio input signal selected by the further selecting means; and
- further scaling means for scaling the harmonics generated by the further harmonics generator in response to the level detected by the further detecting means, and wherein the adding means further adds the scaled harmonics from the further scaling means for supplying the sum.
4. The circuit as claimed in claim 1, in which the selecting means includes a low-pass filter or a band-pass filter.
5. The circuit as claimed in claim 1, wherein the added input audio signal includes signals with frequencies higher than the selected frequency band.
6. An harmonics generator comprising:
- a zero-crossing detector for detecting zero crossings in an input signal applied to the harmonics generator; and
- a waveform generator for generating a waveform in response to the detected zero crossings, an amplitude of the generated waveform being controlled by a level of the input signal, whereby harmonics of the input signal are generated, wherein said waveform generator comprises: a current source controlled by a level signal; a capacitance; and means for charging and discharging the capacitance in response to the detected zero crossings.
7. A circuit comprising:
- selecting means for selecting a frequency band of an audio input signal and having a low-pass transfer function;
- harmonics generator means for generating harmonics of signals in the selected frequency band of the audio signal to provide generated harmonics;
- adding means for supplying a sum of a filtered audio signal and scaled harmonics;
- level detecting means for detecting a level of at least a part of the spectrum of the audio signal including the selected frequency band;
- scaling means for scaling the generated harmonics in response to the detected level to provide the scaled harmonics; and
- a filter for filtering the audio input signal and having a high-pass transfer function for selecting frequencies higher than those which are selected by the selecting means to provide the filtered audio signal, wherein the harmonics generator comprises: a zero-crossing detector for detecting zero crossings in signals including signals in the selected frequency band; and a waveform generator for generating a waveform in response to detected zero crossings, an amplitude of the generated waveform being controlled by the detected level supplied by the level detecting means, and wherein the waveform generator comprises: a current source controlled by the detected level supplied by the level detecting means; a capacitance; and means for charging and discharging the capacitance depending on the detected zero crossings.
8. The circuit as claimed in claim 7, wherein an input of the detecting means communicates with an output of the selecting means.
9. The circuit as claimed in claim 7, wherein the circuit further comprises at least one further signal stage including:
- further selecting means for selecting a part of the input signal adjacent, in frequency, to the selected frequency band of the selecting means;
- a further harmonics generator communicating with the further selecting means for generating harmonics of signals in the part of the audio input signal selected by the further selecting means;
- further level detecting means for detecting a level of the signals in at least the part of the audio input signal selected by the further selecting means; and
- further scaling means for scaling the harmonics generated by the further harmonics generator in response to the level detected by the further level detecting means, and wherein the adding means also adds the scaled harmonics from the further scaling means for supplying the sum.
10. A circuit comprising:
- selecting means for selecting a frequency band of an audio input signal, the selected frequency band being lower than the highest signal frequencies of the audio input signal;
- harmonics generator means for generating harmonics of signals in the selected frequency band of the audio input signal to provide generated harmonics;
- adding means for supplying a sum of the audio input signal and scaled harmonics;
- level detecting means for detecting a level of at least a part of the spectrum of the audio input signal including the selected frequency band; and
- scaling means for scaling the generated harmonics in response to the detected level to provide the scaled harmonics, wherein the harmonics generator comprises: a zero-crossing detector for detecting zero crossings in signals including signals of the selected frequency band; and a waveform generator for generating a waveform in response to detected zero crossings, an amplitude of the generated waveform being controlled by the level supplied by the level detecting means, and wherein the waveform generator comprises: a current source controlled by the detected level supplied by the level detecting means; a capacitance; and means for charging and discharging the capacitance in response to the detected zero crossings.
11. A circuit for processing an audio signal, said audio signal processing circuit comprising: wherein the selecting means has a low-pass transfer function, and the input of the audio signal processing circuit is coupled to the adding means via a filter having a high-pass transfer function for selecting frequencies higher than those which are selected by the selecting means.
- an input for receiving an audio signal and an output for supplying an output signal;
- selecting means coupled to the input, said selecting means selecting a frequency band of the audio signal;
- harmonics generating means coupled to the selecting means for generating harmonics of signals in the selected frequency band of the audio signal;
- adding means coupled to the input of said audio signal processing circuit and to an output of the harmonics generating means for supplying a sum of the audio signal and the generated harmonics to the output of the circuit;
- detecting means for detecting a level of at least a part of the spectrum of the audio signal including the selected frequency band; and
- scaling means for scaling the generated harmonics in response to said detected level;
12. The audio signal processing circuit as claimed in claim 11, wherein an input of the detecting means is coupled to an output of the selecting means.
13. The audio signal processing circuit as claimed in claim 12, wherein the audio signal processing circuit further comprises at least one further signal stage coupled between the input of the audio signal processing circuit and a further input of the adding means, the further signal stage comprising:
- a further selecting means coupled to the input, said further selecting means having a selection characteristic for selecting a part of the input signal adjacent, in frequency, to the selected frequency band of the selecting means;
- a further harmonics generating means coupled to the further selecting means for generating harmonics of signals in the part of the input signal selected by the further selecting means;
- further detecting means coupled to the further selecting means for detecting a level of the signals in the part of the input signal selected by the further selecting means; and
- further scaling means for scaling the harmonics generated by the further harmonics generating means in response to said level detected by said further detecting means.
14. The audio signal processing circuit as claimed in claim 11, wherein the harmonics generating means comprises:
- coefficient scaling means;
- further coefficient scaling means;
- further adding means; and
- a plurality of cascaded multipliers each having two inputs, the inputs of a first multiplier of the plurality of cascaded multipliers being coupled to the input of the harmonics generating means, an input of each of the remaining multipliers being coupled to the input of the harmonics generating means, and the remaining input of each of the remaining multipliers being coupled to an output of a preceding multiplier, and the outputs of the plurality of cascaded multipliers being coupled, via the coefficient scaling means, to respective inputs of the further adding means, the input of the harmonics generating means being coupled, via the further coefficient, scaling means, to a further input of the further adding means, the further adding means further receiving a constant value, and an output of the further adding means supplying the generated harmonics.
15. The audio signal processing circuit as claimed in claim 11, wherein the harmonics generating means comprises:
- a zero-crossing detector; and
- a waveform generator for generating a waveform in response to detected zero crossings, an amplitude of the generated waveform being controlled by the level supplied by the detecting means.
16. The audio signal processing circuit as claimed in claim 15, wherein the waveform generator comprises:
- a current source controlled by the level supplied by the detecting means;
- a capacitance; and
- means for charging and discharging the capacitance in response to the detected zero crossings.
17. An audio system comprising: wherein said circuit for improving low-frequency perception comprises: wherein the selecting means has a low-pass transfer function, and the input of the circuit for improving low-frequency perception is coupled to the adding means via a filter having a high-pass transfer function for selecting frequencies higher than those which are selected by the selecting means.
- a signal source for providing an audio signal;
- a circuit for improving low-frequency perception coupled to said signal source for receiving said audio signal; and
- a loudspeaker coupled to an output of said circuit for improving low-frequency perception,
- an input for receiving the audio signal and an output for supplying an output signal;
- selecting means coupled to the input for selecting a frequency band of the audio signal;
- harmonics generating means coupled to the selecting means for generating harmonics of signals in the selected frequency band of the audio signal;
- adding means coupled to the input and to an output of the harmonics generating means for supplying a sum of the input signal and the generated harmonics to the output of the circuit for improving low-frequency perception;
- detecting means for detecting a level of at least a part of the spectrum of the audio signal including the selected frequency band; and
- scaling means for scaling the generated harmonics in response to said detected level;
Type: Grant
Filed: Dec 6, 2001
Date of Patent: Oct 11, 2005
Assignee: Koninklijke Philips Electronics N.V. (Eindhoven)
Inventors: Ronaldus M. Aarts (Eindhoven), Stephanus P. Straetemans (Eindhoven)
Primary Examiner: Xu Mei
Attorney: Edward W. Goodman
Application Number: 10/013,135