Automatic gain control using root-mean-square circuitry in a digital domain conference bridge for a telephone network
First Claim
1. An automatic gain control circuit (10) for controlling the gain of a inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
- means (50) for determining the root-mean-square PCM values (270) of said inputted multiplexed data stream, said determining means comprising;
(a) means (210) receptive of said inputted multiplexed PCM data stream having a data rate in the range of 192-250 kilobytes per second for storing said PCM speech data in reference to said predetermined number of said time slots, said storing means holding a predetermined number of samples T of said predetermined number of said time slots,(b) means (200, 220, 230, 240,
250) receptive of current PCM speech data Vt in each of said predetermined number of time slots in said inputted multiplexed data stream and receptive of delayed PCM speech data Vt-T from said storing means in the corresponding time slot occurring said predetermined number of samples ago for digitally ascertaining in linear format at said data rate the PCM root-mean-square value VRMS for said current PCM speech data,means (60, 70, 80,
90) connected to said determining means for digitally amplifying said PCM speech data in each said time slot by a gain value based upon said root-mean-square values.
6 Assignments
0 Petitions
Accused Products
Abstract
An automatic gain control for an inputted multiplex PCM data stream in a conferencing bridge in a telephone system. The inputted multiplexed data stream has a predetermined number of time slots wherein each time slot carries PCM speech data corresponding to an individual party in the conference call. The control of the present invention is capable of operating in μ-Law or A-Law companded format at a frequency of 192-256 kilobytes per second. The automatic gain control incorporates a digital root-mean-square meter, a COUNT sequence to change GAIN at predetermined intervals, and a set of GAIN rules to selectively increase or decrease GAIN based upon the output of the digital root-mean-square meter.
60 Citations
20 Claims
-
1. An automatic gain control circuit (10) for controlling the gain of a inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) for determining the root-mean-square PCM values (270) of said inputted multiplexed data stream, said determining means comprising; (a) means (210) receptive of said inputted multiplexed PCM data stream having a data rate in the range of 192-250 kilobytes per second for storing said PCM speech data in reference to said predetermined number of said time slots, said storing means holding a predetermined number of samples T of said predetermined number of said time slots, (b) means (200, 220, 230, 240,
250) receptive of current PCM speech data Vt in each of said predetermined number of time slots in said inputted multiplexed data stream and receptive of delayed PCM speech data Vt-T from said storing means in the corresponding time slot occurring said predetermined number of samples ago for digitally ascertaining in linear format at said data rate the PCM root-mean-square value VRMS for said current PCM speech data,means (60, 70, 80,
90) connected to said determining means for digitally amplifying said PCM speech data in each said time slot by a gain value based upon said root-mean-square values. - View Dependent Claims (2, 3, 4)
-
-
5. An automatic gain control circuit (10) for controlling the gain of an inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) for determining the root-mean-square PCM values (270) of said inputted multiplexed data stream, said determining means comprising; (a) means (210) receptive of said inputted multiplexed PCM data stream having a data rate of in the range of 192-256 kilobytes per second for storing said PCM speech data in reference to said predetermined number of said time slots, said storing means holding a predetermined number of samples T of said predetermined number of said time slots, (b) means (200, 220, 230, 240,
250) receptive of current PCM speech data Vt in each of said predetermined number of time slots in said inputted multiplexed data stream and connected to said storing means to be receptive of delayed PCM speech data Vt-T in the corresponding time slot occurring said predetermined number of samples ago for digitally ascertaining in linear format at said data rate the PCM root-mean-square value VRMS for said current PCM speech data,means (60, 70, 80,
90) connected to said determining means for digitally amplifying said PCM speech data in each said time slot by a gain value based upon said root-mean-square values, andmeans in said ascertaining means for changing the PCM companding format of said automatic gain control circuit.
-
-
6. An automatic gain control circuit (10) for controlling the gain of an inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) for determining the root-mean-square PCM values (270) of said inputted multiplexed data stream, said determining means comprising; (a) means (210) receptive of said inputted multiplexed PCM data stream having a data rate in the range of 192-256 kilobytes per second for storing said PCM speech data in reference to said predetermined number of said time slots, said storing means holding a predetermined number of samples T of said predetermined number of said time slots, (b) means (200) receptive of current PCM speech data Vt in each of said predetermined number of time slots in said inputted multiplexed data stream and connected to said storing means to be receptive of delayed PCM speech data Vt-T in the corresponding time slot occurring said predetermined number of samples ago for determining the linear sum of squares Σ
(LINEAR13(V))2 of all speech data in each said time slot over said predetermined number of samples as stored in said storing means,(c) means (240,
250) connected to said determining means for ascertaining the root-mean-square value VRMS for said current PCM speech data by dividing the said linear sum of squares by said predetermined number of samples to produce an average and by then taking the square root of said average,means (60, 70, 80,
90) connected to said determining means (50) for digitally amplifying said PCM speech data in each said time slot by a gain value based upon said root-mean-square values.
-
-
7. An automatic gain control circuit (10) for controlling the gain of an inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) for determining the root-mean-square PCM values (70) of said inputted multiplexed data stream, said determining means comprising; (a) means (210) receptive of said inputted multiplexed PCM data stream for storing said PCM speech data in reference to said predetermined number of said time slots, said storing means holding a predetermined number of samples T of said predetermined number of said time slots, (b) means (200) receptive of current PCM speech data Vt in each of said predetermined number of time slots in said inputted multiplexed data stream and connected to said storing means to be receptive of a delayed PCM speech data Vt-T in the corresponding time slot occurring said predetermined number of samples ago for determining the difference in linear format LD between the squares of said current PCM speech data and of said delayed PCM speech data (LINEAR13(Vt)))2 -(LINEAR13(Vt-T)2, (c) means (230) for accumulating the linear value of the sum of squares (ρ
LINEAR13) of all speech data in each said time slot over said predetermined number of samples as stored in said storing means,(d) means (220) connected to said determining means and to said accumulating means for adding said difference to said existing sum of squares so that the linear value of said sum of squares is updated to include said current PCM speech data and not to include said delayed PCM speech data, said accumulating means receiving the linear value of said updated sum of squares, (e) means (240,
250) connected to the adding means for ascertaining the root-mean-square value VRMS for said current PCM speech data by dividing the linear value of said updated sum of squares by said predetermined number of samples to produce an average and by then taking the square root of said average, andmeans (60, 70, 80,
90) connected to said determining means for digitally amplifying said PCM speech data in each said time slot by a gain value based upon said root-mean-square values. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An automatic gain control circuit (10) for controlling the gain applied to an inputted multiplexed PCM data stream having a data rate in the range of 192-256 kilobytes, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) receptive of said inputted multiplexed PCM data stream for digitally ascertaining in linear format at said data rate the root-mean-square value for the speech data in each time slot in said inputted multiplexed PCM data stream, said root-mean-square value being determined over a predetermined number of samples of each said time slot, means (60) for storing COUNT and GAIN values for said inputted multiplexed PCM data stream, said count value having a maximum value corresponding to a selected number of root-mean-square values and said GAIN value corresponding to said gain applied to said PCM speech data, means (70) connected to said storing means for controlling said COUNT and GAIN values for each said time slot, means (80) connected to said controlling means and to said digitally ascertaining means for modifying said GAIN value in said storing means for said speech data in each said time slot when said root-mean-square value of said speech data in each said time slot requires a gain that; a. is above said GAIN value in said storing means, then incrementing said GAIN value to a higher modified value, b. is equal to said GAIN value in said storing means, then leaving said GAIN value unchanged, c. is below said GAIN value in said storing means, then decrementing said GAIN value to a lower modified value, said modified GAIN value being delivered back to said controlling means, said controlling means either (a) when said COUNT value equals zero, writing said modified GAIN and writing said maximum value for said COUNT value into said storing means of (b) when said COUNT value does not equal zero, decrementing said count value and writing said decremented COUNT value into said storing means for each said time slot, means (90) connected to said controlling means and to said ascertaining means for amplifying said PCM speech data in each said time slot by said GAIN value in said storing means.
-
-
17. An automatic gain control circuit (10) for controlling the gain of an inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) receptive of said inputted multiplexed PCM data stream for digitally ascertaining in linear format the root-mean-square value for the speech data in each time slot in said inputted multiplexed PCM data stream, said root-mean-square value being determined over a predetermined number of samples of each said time slot, means (60) for storing COUNT and GAIN values for said inputted multiplexed PCM data stream, said COUNT value having a maximum value corresponding to a selected number of root-mean-square values and said GAIN value corresponding to said gain applied to said PCM speech data, means (70) connected to said storing means for controlling said COUNT and GAIN values for each said time slot, means (80) connected to said controlling means and to said digitally ascertaining means for modifying said GAIN value for said speech data in each said time slot according to a predetermined set of rules, said modified GAIN value being delivered back to said controlling means, said controlling means either (a) when said COUNT value equals zero, writing said modified GAIN and writing said maximum value for said COUNT value into said storing means or (b) when said COUNT value does not equal zero, decrementing said COUNT value and writing said decremented COUNT value into said storing means for each said time slot, means (90) connected to said controlling means and to said ascertaining means for amplifying said PCM speech data in each said time slot by said GAIN value in said storing means.
-
-
18. An automatic gain control circuit (10) for controlling the gain of an inputted multiplexed PCM data stream, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said control circuit comprising:
-
means (50) receptive of said inputted multiplexed PCM data stream for digitally ascertaining in linear format the root-mean-square value for the speech data in each time slot in said inputted multiplexed PCM data stream, said root-mean-square value being determined over a predetermined number of samples of each said time slot, means (60, 70,
80) connected to said digitally ascertaining means for modifying the gain of said speech data in each said time slot based upon said root-mean-square value and a predetermined set of GAIN rules,means (90) connected to said modifying means for amplifying said PCM speech data in each said time slot by said modified GAIN.
-
-
19. An automatic gain control method (10) for controlling the gain of an inputted multiplexed PCM data stream having a data rate in the range of 1.5-2.1 megabytes, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said method comprising the steps of:
-
digitally ascertaining in linear format at said data rate the root-mean-square value for the speech data in each time slot in said inputted multiplexed PCM data stream, said root-mean-square value being determined over a predetermined number of samples of each said time slot, storing COUNT and GAIN values in a storing means for said inputted multiplexed PCM data stream, said COUNT values having a maximum value corresponding to a selected number of root-mean-square values and said GAIN value corresponding to said gain applied to said PCM speech data, modifying the gain of said speech data in each said time slot when said root-mean-square value of said speech data requires a gain that; a. is above said GAIN value in said storing means, then incrementing said GAIN value to a higher modified value, b. is equal to said GAIN value in said storing means, then leaving said GAIN value unchanged. c. is below said GAIN value in said storing means, then decrementing said GAIN value to a lower modified value, said modified GAIN value being delivered back to a controlling means, said controlling means, either (a) when said COUNT value equals zero, writing said modified GAIN and writing said maximum value for said COUNT value into said storing means or (b) when said COUNT value does not equal zero, decrementing said COUNT value and writing said decremented COUNT value into said storing means for each said time slot, amplifying said PCM speech data in each said time slot by said GAIN value.
-
-
20. An automatic gain control method (10) for controlling the gain of an inputted multiplexed PCM data stream having a data rate in the range of 1.5-2.1 megabytes, said inputted multiplexed data stream (20) having a predetermined number of time slots TS with each said time slot carrying PCM speech data (260), said method comprising the steps of:
-
digitally ascertaining in linear format at said data rate the root-mean-square value for the speech data in each time slot in said inputted multiplexed PCM data stream, said root-mean-square value being determined over a predetermined number of samples of each said time slot, storing COUNT and GAIN values in a storing means for said inputted multiplexed PCM data stream, said COUNT values having a maximum value corresponding to a selected number of root-mean-square values and said GAIN value corresponding to said gain applied to said PCM speech data, modifying the gain of said speech data in each said time slot when said root-mean-square value of said speech data requires a gain that; a. is above said GAIN value in said storing means, then incrementing said GAIN value to a higher modified value, b. is equal to said GAIN value in said storing means, then leaving said GAIN value unchanged, c. is below said GAIN value in said storing means, then decrementing said GAIN value to a lower modified value, said modified GAIN value being delivered back to a controlling means, writing said modified GAIN into said storing means for each time slot, and amplifying said PCM speech data in each said time slot by said modified GAIN.
-
Specification