A more complete understanding of the invention can be obtained by considering the following detailed description in conjunction with the accompanying drawings, in which:
Those of skill in the art recognize that, once an analog signal is converted to digital form, all subsequent operations can take place in one or more suitably programmed microprocessors. Reference to “signal,” for example, does not necessarily mean a hardware implementation or an analog signal. Data in memory, even a single bit, can be a signal. In other words, a block diagram can be interpreted as hardware, software, e.g. a flow chart or an algorithm, or a mixture of hardware and software. Programming a microprocessor is well within the ability of those of ordinary skill in the art, either individually or in groups.
This invention finds use in many applications where the electronics is essentially the same but the external appearance of the device may vary.
In a sense, a hands-free kit is a special kind of speakerphone and comments relating to one should not be interpreted as excluding the other unless referring to a unique characteristic. A hands-free kit typically includes a volume control and some control switches, e.g. for going “off hook” to answer a call. A hands-free kit may include a visor microphone (not shown) that plugs into the kit. Some hands-free kits use “wireless” or RF signals, such as the “BlueTooth®” interface, to couple to a telephone.
A cellular telephone includes both audio frequency and radio frequency circuits. Duplexer 65 couples antenna 66 to receive processor 67. Duplexer 65 couples antenna 66 to power amplifier 68 and isolates receive processor 67 from the power amplifier during transmission. Transmit processor 69 modulates a radio frequency signal with an audio signal from circuit 64. In non-cellular applications, such as speakerphones, there are no radio frequency circuits and signal processor 64 may be simplified somewhat. Problems of echo cancellation and noise remain and are handled in audio processor 70.
A new voice signal entering input 72 may or may not be accompanied by a signal from output 78. The signals from input 72 are digitized in A/D converter 81 and coupled to summation network 82. There is, as yet, no signal from echo canceling circuit 83 and the data proceeds to non-linear processor 84, which is initially set to minimum attenuation.
The output from non-linear processor 84 is converted back to analog form by D/A converter 87, amplified in amplifier 88, and coupled to output 74. Data from the two VAD circuits is supplied to control 90, which uses the data for controlling echo elimination and other functions. Circuit 83 reduces acoustic echo and circuit 91 reduces line echo. The operation of these last two circuits is known per se in the art.
In accordance with the invention, audio processing circuit 71 includes signal generator 85 that is selectively coupled to one or more test points within audio processing circuit 71. The test points are represented by a “+” sign within a circle in
In accordance with another aspect of the invention, signal generator 85 can be the same circuit used for generating DTMF (dual tone multi-frequency) signals or a separate circuit, such as a white noise generator. Signal generator 85 generates tones for testing, including a sweep frequency signal for some tests. A sliding tone is obtained by sequentially changing data in a register to produce progressively increasing, or decreasing, pitch. The change is incremental, not continuous, but the incremental change is sufficiently small not to matter. Similarly, a sine wave is approximated in a digital circuit by incremental changes in amplitude. An internal linear feedback shift register can be used as a psuedo-random, white noise generator.
In accordance with another aspect of the invention, the audio processor is used to test the mechanical and acoustical aspects of a hands-free kit. This enables a system designer to optimize the performance of the enclosure and transducers in the enclosure, typically permitting a higher degree of full duplex operation.
The mechanical and acoustical aspects include loudspeaker response and distortion, microphone response, echo to near end speech ratio (ENR), acoustic echo return loss (ERL), and line interface characteristics (if applicable). These tests are important and desired because the tests can identify mechanical or acoustic problems that may prevent the system from achieving acceptable performance. The tests are also used to optimize voice quality and obtain maximum loudness without significant distortion. The process will enable a customer to achieve a higher level of system performance by helping him to improve the design of his enclosure and the selection of his transducers.
As illustrated in
Echo to Near end speech Ratio (ENR) is the ratio of Echo Power to Near End Speech Power as measured at the microphone and represented by arrow 98. Improved ENR will directly improve performance during double talk (both parties speaking). The ENR measurement is independent of microphone sensitivity or preamp gain. Maximum loudness should be used for an accurate measurement of ENR. Low values of ENR provide satisfactory full duplex performance. If the system does not have a low ENR, ERL should be reduced as described above. Specific values are system dependent and easily determined empirically. Measuring ENR is useful, for example, in diagnosing problems with the plastics, electronics, transducers, or the enclosure of a hands-free kit.
A repeatable stimulus is desirable. The stimulus can be a sine wave (tone), recorded speech, or white noise. Preferably, one plays a “.wav” file with a range of speech or noise on a computer. Recorded tones could be used also. The stimulus is inherently repeatable because it is recorded, or computer generated. To obtain a relatively standardized voice signal, automated voice menus are recorded as “.wav” files.
One embodiment of the hardware for calibrating is illustrated in
The connection through adapter 103 is a control interface for sending commands to hands-free kit 105. Computer 101 and hands-free kit can also be coupled by bidirectional data bus 106 for injecting test signals. This bidirectional data bus can be wired or wireless, such as “Bluetooth” ®.
Another embodiment of the hardware for calibrating is illustrated in
A process for calibrating a speakerphone or hands-free kit is illustrated in
Referring to
The next step is to measure
Referring to block 113 in
The following data is given by way of example, not as a limit on signal levels, which depend upon the particular system being tested. A digital full-scale sine wave produces a signal level of −4 dB. Any signal above this level will typically be distorted due to saturation. For speech, a peak of −12 dB is a useful the full-scale limit.
The invention thus provides a method and apparatus for testing or calibrating a hands-free kit by way of a computer. The hands-free kit itself generates stimuli and senses responses. The testing enables one to tune the mechanical elements of a hands-free kit. The testing can be conducted remotely, such as by wireless interface.
Having thus described the invention, it will be apparent to those of skill in the art that various modifications can be made within the scope of the invention. For example, the mention of USB and BlueTooth® interfaces is not intended to be exhaustive of the manner in which signals can be coupled to the system under test. Simulating actual conditions as closely as possible is desired. For example, if a transmission line simulator is available, it can be included to simulate various lengths of line between a telephone and a switching station. Computer 101 can be a programmed personal computer or a test apparatus dedicated to calibrating hands-free kits or speakerphones. Signal generator 85 can have plural outputs individually coupled to test points by amplifiers whose gain is adjustable or can be coupled by a multiplex circuit to the test points. Either way, the coupling is selective.