CA1287887C

Speakerphone using digitally compressed audio to detect acoustic feedback

Abstract

Abstract of the Disclosure A mobile radiotelephone (120) includes amicrocomputer (220), speakerphone control circuitry (106)and mobile radio (112). In the transmit voice path,speakerphone control circuitry (106) includes switch(201), variable gain amplifier (202), compressoramplifier (203), switch (204), variable gain amplifier(205), and two registers (212-213). In the receive voicepath, speakerphone control circuitry (106) includesvariable gain amplifier (232), expander amplifier (233),switch (234), variable gain amplifier (235), switch (236)and two registers (216-217). Speakerphone controlcircuitry (106) also includes rectifier/filter (224), acompanding analog-to-digital (A/D) converter (225), twolatches (218-219), rectifier/filter (226) and tworegisters (214-215). Microcomputer (220) accessesregisters (212-217) by means of a data bus (222)including address, control and data lines. Microcomputer(220) utilizes digital samples from A/D converter (225)to dynamically detect acoustic feedback and tocontinuously generate and store in its memory an envelopesignal and a valley signal for the transmit and receivevoice paths for controlling voice path gain switching.In order to determine when to switch gain between thevoice paths, microcomputer (220) compares the envelopesignal to the valley signal to detect the presence ofvoice signals and, if the voice signals are detected fora pre-selected time, the gain of the path in which voicesignals have been detected is increased and the gain ofthe other path is decreased.

CA1287887C, drawing sheet 1
Sheet 1 of 13

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Granted
  4. Today

12 claims: 3 independent, 9 dependent

  1. 1
    Claims 1. A speakerphone for a radiotelephone for communicating voice signals by way of a radio channel, said radiotelephone including radio means for transmitting a first signal including voice signals on the radio channel and receiving a second signal including voice signals from the radio channel, said speakerphone comprising:microphone means for producing the first signal? speaker means for emitting the second signal;first amplifying means having an input coupled to said microphone means and an output coupled to said radio means and being responsive to first digital control signals for selecting one of a plurality of gain settings and amplifying the first signal;second amplifying means having an input coupled to said radio means and an output coupled to said speaker means and being responsive to second digital control signals for selecting one of a plurality of gain settings and amplifying the second signal;converting means for producing first and second digital samples of the output of the first amplifying means and the input of the second amplifying means, respectively;and processing means coupled to the first and second digital samples of said converting means for detecting voice signals in the first and second signals, respectively, and, in response to detection of voice signals in one of the first and second signals, producing the first and second digital control signals for adjusting the gain settings of said first amplifying means and said second amplifying means such that the gain setting for said one of the first and second signals is - 22 - CE00424GC increased to a nominal gain and the gain setting of the other of the first and second signals is decreased by a first predetermined gain, and said processing means monitoring a predetermined number of consecutive second digital samples and reducing the first predetermined gain by a second predetermined gain if the predetermined number of consecutive second digital samples have magnitudes differing by less than a third predetermined gain. CE00424GC - 23
  2. 6
    A method for detecting acoustic feedback in a speakerphone for a radiotelephone for communicating voice signals by way of a radio channel, said radiotelephone including radio means for transmitting a first signal including voice signals on the radio channel and receiving a second signal including voice signals from the radio channel, said speakerphone including microphone means for producing the first signal, speaker means for emitting the second signal, first amplifying means having an input coupled to said microphone means and an output coupled to said radio means and being responsive to first digital control signals for selecting one of a plurality of gain settings and amplifying the first signal, second amplifying means having an input coupled to said radio means and an output coupled to said speaker means and being responsive to second digital control signals for selecting one of a plurality of gain settings and amplifying the second signal, and processing means coupled to the output of said first amplifying means and the input of the second amplifying means, respectively, and, in response to detection of voice signals in one of the first and second signals, producing the first and second digital control signals for adjusting the gain settings of said first amplifying means and said second amplifying means such that the gain setting for said one of the first and second signals is increased to a nominal gain and the gain setting of the other of the first and second signals is decreased by a first predetermined gain, said method comprising the steps of:producing first and second digital samples of the output of the first amplifying means and the output the second amplifying means, respectively? monitoring a predetermined number of consecutive second digital samples? and. - 25 - CE00424GC reducing the first predetermined gain by a second predetermined gain if the predetermined number of consecutive second digital samples have magnitudes differing by less than a third predetermined gain. - 26 CE00424GC
  3. 8
    A radiotelephone for communicating voice signals by way of a radio channel, comprising:microphone means for producing a first signal including voice signals;speaker means for emitting a second signal including voice signals;radio means for transmitting the first signal on and receiving the second signal from the radio channel;first amplifying means having an input coupled to said microphone means and an output coupled to said radio means and being responsive to first digital control signals for selecting one of a plurality of gain settings and amplifying the first signal;second amplifying means having an input coupled to said radio means and an output coupled to said speaker means and being responsive to second digital control signals for selecting one of a plurality of gain settings and amplifying the second signal;converting means for producing first and second digital samples of the output of the first amplifying means and the input of the second amplifying means, respectively;and processing means coupled to the first and second digital samples of said converting means for detecting voice signals in the first and second signals, respectively, and, in response to detection of voice signals in one of the first and second signals, producing the first and second digital control signals for adjusting the gain settings of said first amplifying means and said, second amplifying means such that the gain setting for said one of the first and second signals is increased to a nominal gain and the gain setting of the other of the first and second signals is decreased by a first predetermined gain, and said processing means monitoring a predetermined number of consecutive second -28-- CE00424GC digital samples and reducing the first predetermined gain by a second predetermined gain if the predetermined number of consecutive second digital samples have magnitudes differing by less than a third predetermined gain. CE00424GC