Method of and arrangement for controlling the gain of an amplifier
First Claim
1. A method of controlling the gain of an amplifier, in which method a signal is applied to the amplifier and the output signal therefrom is digitized in an analog-to-digital converter;
- characterized in that the method comprises the steps;
(a) setting the amplifier gain to an initial value;
(b) inputting a sample of said digitized output signal for a predetermined period of time;
(c) deriving a histogram from said signal sample, said histogram representing the frequency with which the amplitude of said signal sample occurs in each of different consecutive amplitude ranges;
(d) comparing the frequency of occurrences in the highest amplitude range with a predetermined first constant;
(e) reducing the present value of the amplifier gain by a predetermined first factor, storing this reduced value and terminating the method if said frequency of occurrences exceeds said first constant;
(f) comparing the frequency of occurrences in the second highest amplitude range with a predetermined second constant;
(g) storing the present value of the amplifier gain and terminating said method if said frequency of occurrences exceeds said second constant;
(h) raising the present value of the amplifier gain by a predetermined second factor if said frequency of occurrences does not exceed said second constant;
(i) forming a sum of the frequencies of occurrences of said second and a third highest amplitude ranges;
(j) comparing said sum of frequencies with said second constant;
(k) storing the present value of the amplifier gain and terminating said method if said sum exceeds said second constant;
(l) raising the present value of the amplifier gain by said predetermined second factor if said sum does not exceed said second constant;
(m) adding the frequency of occurrences in a next highest amplitude range to said sum; and
(n) repeating steps (j)-(m) until the sum exceeds said second constant.
1 Assignment
0 Petitions
Accused Products
Abstract
For processing a signal applied to an input of audio signal processing devices, for example a speech signal received via a microphone (2) in a speaker-identification or speech recognition system, the signal must have a specific level. For this purpose the signal is applied via an amplifier (4) with variable gain. Before processing begins, the gain is set to an initial value. During processing of the speech signal, it is checked, at regular time intervals, in which range of a plurality of predetermined amplitude ranges the amplified signal is situated, and whether overloading takes place and the frequency which the amplitude of the signal occurs in each of the amplitude ranges is counted. When the signal ends, the optimum gain setting is determined from the histogram of frequencies. In the case of a signal which is specific of an individual speaker and which must be processed in speech recognition or speaker identification systems, this optimum gain setting may be stored in a memory (28) at a location assigned to the speaker, and when the system is subsequently used by the same speaker this value is used as the initial setting of the amplifier gain. In this way the gain is set to an optimum value during the first time that the system is used by a specific speaker and it is corrected continuously when the system is used again by the same speaker.
68 Citations
9 Claims
-
1. A method of controlling the gain of an amplifier, in which method a signal is applied to the amplifier and the output signal therefrom is digitized in an analog-to-digital converter;
- characterized in that the method comprises the steps;
(a) setting the amplifier gain to an initial value; (b) inputting a sample of said digitized output signal for a predetermined period of time; (c) deriving a histogram from said signal sample, said histogram representing the frequency with which the amplitude of said signal sample occurs in each of different consecutive amplitude ranges; (d) comparing the frequency of occurrences in the highest amplitude range with a predetermined first constant; (e) reducing the present value of the amplifier gain by a predetermined first factor, storing this reduced value and terminating the method if said frequency of occurrences exceeds said first constant; (f) comparing the frequency of occurrences in the second highest amplitude range with a predetermined second constant; (g) storing the present value of the amplifier gain and terminating said method if said frequency of occurrences exceeds said second constant; (h) raising the present value of the amplifier gain by a predetermined second factor if said frequency of occurrences does not exceed said second constant; (i) forming a sum of the frequencies of occurrences of said second and a third highest amplitude ranges; (j) comparing said sum of frequencies with said second constant; (k) storing the present value of the amplifier gain and terminating said method if said sum exceeds said second constant; (l) raising the present value of the amplifier gain by said predetermined second factor if said sum does not exceed said second constant; (m) adding the frequency of occurrences in a next highest amplitude range to said sum; and (n) repeating steps (j)-(m) until the sum exceeds said second constant. - View Dependent Claims (2, 3, 4, 5)
- characterized in that the method comprises the steps;
-
6. An arrangement for controlling the gain of an amplifier, characterized in that the arrangement comprises:
-
a discriminator coupled to an output of said amplifier which, each time the amplitude of a signal on said amplifier output occurs in various amplitude ranges, produces different incrementing signals; a first accumulator coupled to said discriminator which comprises a first memory, having storage locations which correspond respectively to said various amplitude ranges and which increments by one unit the contents of the storage location corresponding to the amplitude range in which the incrementing signal is situated; a first comparator coupled to said first accumulator for comparing the contents of a first storage location in said first accumulator, which contents corresponds to the frequency of occurrences of signal amplitudes in a highest of said various amplitude ranges, with a first constant and if this first constant is exceeded, changes the contents of a gain-control memory so as to reduce the gain of said amplifier; and coupled to said first accumulator and said first comparator which, if the first constant is not exceeded, transfers the contents of the second storage location in said first accumulator, which corresponds to the frequency of occurrences of signal amplitudes in a second highest amplitude range or the sum of the contents of the second and ensuing storage locations, to a second comparator for comparison with a second constant; after a comparison which indicates that at least the contents of the second storage location has not exceeded the second constant, the second comparator changing the contents of the gain-control memory so as to increase the gain, an output of the gain-control memory being connected to a control input of the amplifier for the application of a control signal. - View Dependent Claims (7, 8, 9)
-
Specification