Periodic signal enhancement system

Information

  • Patent Application
  • 20060098809
  • Publication Number
    20060098809
  • Date Filed
    April 08, 2005
    19 years ago
  • Date Published
    May 11, 2006
    18 years ago
Abstract
A signal enhancement system improves the understandability of speech or other audio signals. The system reinforces selected parts of the signal, may attenuate selected parts of the signal, and may increase SNR. The system includes delay logic, a partitioned adaptive filter, and signal reinforcement logic. The partitioned adaptive filter may track and enhance the fundamental frequency and harmonics in the input signal. The partitioned filter output signals may approximately reproduce the input signal, delayed by an integer multiple of the period of the fundamental frequency of the input signal. The reinforcement logic combines the input signal and the filtered signals to produce an enhanced output signal.
Description
BACKGROUND OF THE INVENTION

1. Technical Field


This invention relates to signal processing systems, and more particularly to a system that may enhance periodic signal components.


2. Related Art


Signal processing systems support many roles. Audio signal processing systems clearly and cleanly capture sound, reproduce sound, and convey sound to other devices. However, audio systems are susceptible to noise sources that can corrupt, mask, or otherwise detrimentally affect signal content.


There are many sources of noise. Wind, rain, background noise such as engine noise, electromagnetic interference, and other noise sources may contribute noise to a signal captured, reproduced, or conveyed to other systems. When the noise level of sound increases, intelligibility decreases.


Some prior systems attempted to minimize noisy signals through multiple microphones. The signals from each microphone are intelligently combined to limit the noise. In some applications, however, multiple microphones cannot be used. Other systems used noise filters to selectively attenuate sound signals. The filters sometimes indiscriminately eliminate or minimize desired signal content as well.


There is a need for a system that enhances signals.


SUMMARY

This invention provides a signal enhancement system that may reinforce signal content and may improve SNR in a signal. The system detects, tracks, and reinforces non-stationary periodic signal components in the signal. The periodic signal components may represent vowel sounds or other voiced sounds. The system also may detect, track, and attenuate quasi-stationary signal components in the signal.


The enhancement system includes a signal input, delay logic, a partitioned adaptive filter, and signal reinforcement logic. The partitioned adaptive filter may track non-stationary fundamental frequency components in the input signal based on a delayed version of the input signal. The partitioned adaptive filter outputs multiple filtered signals. The filtered signals may approximately track and enhance frequency content in the input signal. The reinforcement logic combines the input signal and the filtered signals to produce an enhanced signal. A second adaptive filter may be employed to track and suppress quasi-stationary signal components in the input signal.


Other systems, methods, features and advantages of the invention will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.




BRIEF DESCRIPTION OF THE DRAWINGS

The invention can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts throughout the different views.



FIG. 1 is a signal enhancement system with preprocessing and post processing logic.



FIG. 2 is a single stage signal enhancement system.



FIG. 3 is a plot of filter coefficients in a filter adapted to a female voice.



FIG. 4 is a plot of filter coefficients in a filter adapted to a male voice.



FIG. 5 is a flow diagram of signal enhancement.



FIG. 6 is a multiple stage signal enhancement system.



FIG. 7 is a signal enhancement system including a partitioned adaptive filter.



FIG. 8 is an alternative implementation of a signal enhancement system including a partitioned adaptive filter.



FIG. 9 is a comparison of frequency performance of signal enhancement systems shown in FIGS. 2 and 8.



FIG. 10 is a comparison of frequency performance of signal enhancement systems shown in FIGS. 7 and 8.



FIG. 11 is a flow diagram of signal enhancement.



FIG. 12 are multiple stage signal enhancement systems.




DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The enhancement system detects and tracks one or more fundamental frequency components in a signal. The signal enhancement system reinforces the tracked frequency components. The enhancement system may improve the intelligibility of information in a speech signal or other audio signals. The reinforced signal may have an improved signal-to-noise ratio (SNR).


In FIG. 1, a signal enhancement system 100 may operate in conjunction with preprocessing logic 102 and post-processing logic 104. The enhancement system 100 may be implemented in hardware and/or software. The enhancement system 100 may include a digital signal processor (DSP). The DSP may execute instructions that delay an input signal, track frequency components of a signal, filter a signal and/or reinforce spectral content in a signal. Alternatively, the enhancement system 100 may include discrete logic or circuitry, a mix of discrete logic and a processor, or may be distributed over multiple processors or programs.


The enhancement system 100 may accept input from the input sources 106. The input sources 106 may include digital signal sources or analog signal sources such as a microphone 108. The microphone 108 may be connected to the enhancement system 100 through a sampling system 110. The sampling system 110 may convert analog signals sensed by the microphone 108 into digital form at a selected sampling rate.


The sampling rate may be selected to capture any desired frequency content. For speech, the sampling rate may be approximately 8 kHz to about 22 kHz. For music, the sampling rate may be approximately 22 to about 44 kHz. Other sampling rates may be used for speech and/or music.


The digital signal sources may include a communication interface 112, other circuitry or logic in the system in which the enhancement system 100 is implemented, or other signal sources. When the input source is a digital signal source, the enhancement system 100 may accept the digital signal samples with or without additional pre-processing.


The signal enhancement system 100 may also connect to post-processing logic 104. The post-processing logic 104 may include an audio reproduction system 114, digital and/or analog data transmission systems 116, or video processing logic 118. Other post-processing logic also may be used.


The audio reproduction system 114 may include digital to analog converters, filters, amplifiers, and other circuitry or logic. The audio reproduction system 114 may be a speech and/or music reproduction system. The audio reproduction system 114 may be implemented in a cellular phone, car phone, digital media player/recorder, radio, stereo, portable gaming device, or other devices employing sound reproduction.


The video processing system 118 may include circuitry and/or logic that provides a visual output. The signal used to prepare the visual output may be enhanced by the processing performed by the enhancement system 100. The video processing system 118 may control a television or other entertainment device. Alternatively, the video processing system 118 may control a computer monitor or liquid crystal display (LCD).


The transmission system 116 may provide a network connection, digital or analog transmitter, or other transmission circuitry and/or logic. The transmission system 116 may communicate enhanced signals generated by the enhancement system 100 to other devices. In a car phone, for example, the transmission system 116 may communicate enhanced signals from the car phone to a base station or other receiver through a wireless connection such as a ZigBee, Mobile-Fi, Ultrawideband, Wi-fi, or a WiMax network.



FIG. 2 illustrates the enhancement system 100. The enhancement system 100 includes a signal input 202. The signal input 202 carries an input signal that will be processed by the enhancement system 100. In FIG. 2, the input signal is labeled “x”. The input signal may be time domain samples of speech. To facilitate an explanation, speech signals are discussed below. However, the enhancement system 100 may enhance signals with any other range of frequency content, whether audible or inaudible.


The enhancement system 100 may process quasi-stationary or non-stationary signals. Non-stationary signals may vary in their frequency and/or amplitude content relatively quickly over time. Voice is one example of a non-stationary signal.


With few exceptions, even the fundamental frequency component in a speaker's voice changes during speech. The change in fundamental frequency may vary by as much as approximately 50 percent per 100 ms or more. To the human ear, however, the speaker's voice may have a relatively constant pitch.


Quasi-stationary signals change in frequency and/or amplitude less frequently than non-stationary signals. Quasi-stationary signals may arise from machine noise, a controlled human voice, or from other sources. Slowly changing engine noise or alternator whine are examples of quasi-stationary signals.


As shown in FIG. 2, the input signal is coupled to delay logic 204. The delay logic 204 imparts a delay to the input signal. The delay may vary widely depending on the particular implementation of the enhancement system 100. The delay may correspond to a period of a selected maximum pitch. The maximum pitch may be equal to the greatest pitch in the input signal that the enhancement system 100 enhances. The maximum pitch may vary widely depending on the type and characteristics of the input signal.


Speech signals may include a fundamental frequency component from approximately 70 Hz to about 400 Hz. Male speech often includes a fundamental frequency component between approximately 70 Hz to about 200 Hz. Female speech often includes a fundamental frequency component between approximately 200 Hz to about 400 Hz. A child's speech often includes a fundamental frequency component between approximately 250 Hz to about 400 Hz.


The enhancement system 100 may process input signals that include speech from both male and female voices, either separately or simultaneously and overlapping. In these systems, the maximum pitch period may approximately correspond to the period of the fundamental frequency of the female voice. The maximum pitch period may be approximately about 1/300 Hz (approximately 3.3 ms), or may be another pitch period associated with female voice.


Alternatively, the enhancement system 100 may processes speech only from males. In these implementations, the maximum pitch period may correspond to the period of the fundamental frequency of male voice. The maximum pitch period may be approximately 1/150 Hz (approximately 6.6 ms), or may be another pitch period.


The delay logic 204 may delay the input signal by the number of signal samples corresponding to the maximum pitch period. The number of signal samples may be given by:

NSS=MPP*fs

where ‘NSS’ is the number of signal samples, ‘MPP’ is the maximum pitch period and ‘fs’ is the sampling rate. Assuming an MPP of about 3.3 ms and a sampling rate of about 8 kHz, NSS=approximately 27 samples. In FIG. 2, NSS corresponds to ΔF0MAX.


The delayed input signal may be received by the filter 206. The filter 206 includes a filter output 208 that carries a filtered output signal, labeled ‘y’ in FIG. 2. The filter 206 may track one or more frequency components in the input signal based on the delayed input signal. The filter 206 may track the fundamental frequencies in the input signal as the pitch changes during voiced speech.


The filter 206 may reproduce, replicate, approximate or otherwise include the tracked frequency content in the filtered output signal. The filter 206 may be a Finite Impulse Response Filter (FIR) or other type of digital filter. The coefficients of filter 206 may be adaptive. The filter 206 may be adapted by a Normalized Least Mean Squares (NLMS) technique or other type of adaptive filtering technique such as Recursive Least Squares (RLS) or Proportional LMS. Other tracking logic, including other filters may also be used.


The filter 206 may converge to the fundamental frequency in the input signal. The range of fundamental frequencies f0 over which the filter 206 converges may be given by:
fo=f0MAX-f0MINf0MAX=fsΔF0MAXf0MIN=fsΔF0MAX+L

where ΔF0MAX is the period for the maximum pitch (expressed in terms of samples), fs is the sampling frequency (in units of Hz), and L is the length of the filter 206 (in units of samples). The filter length L may increase or decrease to increase or decrease the frequency extent over which the filter 206 tracks frequency components.


In the example above, the maximum pitch was approximately 300 Hz and the delay logic 204 implemented a 27 sample delay. A filter length L of 64 samples yields a filter 206 that tracks fundamental frequency content over a frequency range of approximately 88 Hz to about 296 Hz:
f0MAX=800027296f0MIN=800027+6488fo296-88=208Hz


The filter 206 may adapt over time. The filter 206 may quickly adapt by evaluating an error signal ‘e’ on a sample-by-sample basis. Alternatively, the filter 206 may adapt based on blocks of samples, or other another basis.


In adapting, the filter 206 may change one or more of its filter coefficients. The filter coefficients may change the response of the filter 206. The filter coefficients may adapt the filter 206 so that the filter 206 attempts to minimize the error signal ‘e’.


The error estimator 210 may generate the error signal ‘e’. The error estimator 210 may be an adder, comparator, or other circuitry or logic. The error estimator 210 may compare the input signal ‘x’ with the filtered output signal ‘y’.


As the filter 206 converges to the fundamental frequency in the input signal, the error signal decreases. As the error signal decreases, the filtered output signal ‘y’ more closely resembles the input signal ‘x’ delayed by an integer multiple of the signal's fundamental frequencies. The gain control logic 212 may respond to the error signal.


The optional gain control logic 212 may include a multiplier 214 and a gain parameter 216. The gain control logic 212 may attenuate, amplify, or otherwise modify the filtered output signal. FIG. 2 shows that the gain control logic 212 applies a gain, ‘A’, to the filtered output signal to produce the gain controlled signal ‘Ay’.


The reinforcement logic 218 may reinforce frequency content in the input signal ‘x’ with the gain controlled signal ‘Ay’. The reinforcement logic 218 may be an adder or other circuitry and/or logic. The reinforcement logic 218 may produce the enhanced output signal:

s=x+Ay


When the error signal increases, the gain control logic 212 may reduce the gain, ‘A’. When the gain is reduced, the filtered output signal may contribute less to the enhanced output signal. The relationship between the error signal and the gain may be continuous, stepped, linear, or non-linear.


In one implementation, the enhancement system 100 establishes one or more error thresholds. As the error signal exceeds an upper threshold, the gain control logic 212 may reduce the gain ‘A’ to 0 (zero). The upper threshold may be set to the input signal so that if e>x, then the gain ‘A’ may be set to zero. As the error signal falls below a lower threshold, the gain control logic 212 may increase the gain ‘A’ to 1 (one).


When the error signal exceeds the upper threshold, the filter control logic 220 may reset the filter 206. When the filter 206 is reset, the control logic 220 may zero-out the filter coefficients, re-initialize the filter coefficients, or may take other actions. The control logic 220 may also dynamically modify the filter length, may modify the delay implemented by the delay logic 204, or may modify other characteristics of the enhancement system 100. The control logic 220 also may modify the enhancement system 100 to adapt to changing environments in which the enhancement system 100 is used, to adapt the enhancement system 100 to a new speaker, or other applications.


The filter control logic 220 also may control how quickly the filter 206 adapts, whether the filter adapts, or may monitor or control other filter characteristics. In the context of a system that enhances non-stationary signals, the control logic 220 may expect quickly changing frequency and amplitude components in the input signal. The control logic 220 may also expect or determine over time that particular frequency components in the input signal are prevalent.


The control logic 220 also may determine that the input signal has changed in frequency content, amplitude, or other characteristics from what is expected or from what has been determined. In response, the control logic 220 may stop the filter 206 from attempting to adapt to the new signal content, may slow the rate of adaptation, or may take other actions. The control logic 220 may exercise control over the filter 206 until the input signal characteristics return to what is expected, until a predetermined time has elapse, until instructed to release control, or until another time or condition is met.


The delay logic 204 prevents the filtered output signal from precisely duplicating the current input signal ‘x’. Thus, the filtered output signal may closely track the selected periodicities in the input signal ‘x’. When the current input signal ‘x’ is reinforced by the filtered output signal ‘y’ to produce the output signal ‘s’, periodic signal components may combine constructively and random noise components may combine destructively. Therefore, the periodic signal components may be enhanced more than the noise.


The delay introduced by the delay logic 204 and the filter 206 may be approximately one cycle of a fundamental frequency component tracked by the filter 206. The delay may correspond to the glottal pulse delay for voice sounds, such as vowels. When the filtered output signal is added to the input signal, the delay may allow the fundamental frequency components to add in-phase or approximately in-phase.


When added in-phase, the resulting gain in the fundamental frequency content in the enhanced output signal may be approximately 6 dB or more. The noise in the input signal and the filtered output signal tends to be out of phase. When the input signal and the filtered output signal are added, the noise may increase less than the enhanced frequency content, for example by 3 dB or less. The enhanced output signal may have increased SNR.


The input signal that the enhancement system 100 processes may include multiple fundamental frequencies. For example, when two speakers are speaking at the same time, the input signal may include two non-stationary fundamental frequencies. When multiple fundamental frequencies are present, the filter 026 continues to adapt and converge to provide a filtered out signal ‘y’ that is a delayed version of the input signal. The reinforcement logic 218 may reinforce one or more of the fundamental frequencies present in the input signal.


In FIG. 3, a plot illustrates coefficients 300 for the filter 206. The coefficients are plotted by coefficient number on the horizontal axis and magnitude on the vertical axis. The coefficients 300 show the filter 206 as it has adapted to female speech.


At any instance in time, the coefficients 300 may be analyzed to determine a fast estimate of the fundamental frequencies in the input signal. with good temporal resolution. The coefficients 300 begin to peak around coefficient 304 (the fifth filter coefficient), coefficient 306 (the sixth filter coefficient), and coefficient 308 (the seventh filter coefficient). By searching for a coefficient peak or an approximate coefficient peak, and determining a corresponding coefficient index, ‘c’, a fast approximation of the fundamental frequency, fa, may be made:
fa=fs(c+ΔF0MAX)


In FIG. 3, the coefficient peak is at the sixth filter coefficient 306. Assuming an 8 kHz sampling rate and a 27 sample delay:
fa=fs(c+ΔF0MAX)=80006+27242Hz


In FIG. 4, a plot shows coefficients 400 for the filter 206 as it has adapted to male speech. The coefficient peak appears near coefficient 402 (the 34th filter coefficient), coefficient 404 (the 35th filter coefficient), and coefficient 406 (the 36th filter coefficient). An approximation to the fundamental frequency is:
fa=fs(c+ΔF0MAX)=800035+27129Hz


The control logic 220 may store historical data on many characteristics of the input signal, including the fundamental frequency of the input signal as it changes over time. The control logic 220 may examine the historical data as an aid in determining whether the characteristics of the input signal have unexpectedly changed. The control logic 220 may respond by exercising adaptation control over the filter 206 or by taking other actions.



FIG. 5 shows a flow diagram 500 of acts that may be taken to enhance a periodic signal. A maximum pitch is selected for processing by the enhancement system 100 (Act 502). The delay logic 204 may be set to implement the period of the maximum pitch (Act 504).


A frequency range over which the enhancement system 100 will operate may also be selected (Act 506). The filter length of the filter 205 may be set to accommodate the frequency range (Act 508). The filter length may be dynamically changed during filter 206 operation.


The input signal is delayed and filtered (Act 510). The enhancement system 100 may generate an error signal and responsively adapt the filter 206 (Act 512). The enhancement system 100 may control the gain of the filtered output signal (Act 514).


The enhancement system 100 may add the input signal and the gain controlled signal (Act 516). An enhanced output signal may result. The enhancement system 100 also may determine fundamental frequency estimates (Act 518). The enhancement system 100 may employ the frequency estimates to exercise adaptation control over the filter 206 (Act 520).



FIG. 6 shows a multiple stage enhancement system 600. The enhancement system 600 includes a first filter stage 602 and a second filter stage 604. The filter stages 602 and 604 may respond or adapt at different rates.


The first filter stage 602 may adapt slowly and may suppress quasi-stationary signal components. The quasi-stationary signal components may be present in the input signal because of relatively consistent background noise, such as engine noise or environmental effects, or for other reasons.


A signal input 606 connects to the first stage 602. The signal input 606 may connect to the delay logic 608. The delay logic may implement a delay that corresponds to the period of a maximum quasi-stationary frequency that may be suppressed by the first stage 602.


The maximum quasi-stationary frequency may be selected according to known or expected characteristics of the environment in which the enhancement system 600 is used. The filter control logic 610 may dynamically modify the delay to adapt the first stage 602 to the environment. The filter control logic 610 also may control the quasi-stationary filter 612.


The filter 612 in the first stage may include signal component tracking logic such as a NLMS adapted FIR filter or RLS adapted FIR filter. The filter 612 in the first stage may adapt slowly, for example with a sampling rate of 8 kHz and a filter length of 64 an NLMS step size larger than 0 and less than approximately 0.01 may allow attenuation of quasi-stationary periodic signals while minimally degrading typical speech signals. The first stage filtered output 614 may provide a filtered output signal that approximately reproduces the quasi-stationary signal component in the input signal.


The suppression logic 616 and slow filter adaptation may allow non-stationary signal components to pass through the first stage 602 to the second stage 604. On the other hand, the suppression logic 616 may suppress quasi-stationary signal components in the input signal. The suppression logic 616 may be implemented as arithmetic logic that subtracts the filtered output signal from the input signal.


The replicated quasi-stationary signal content in the filtered output signal is removed from the input signal. The output signal produced by the first stage 602 may be:

x2=e1=x−y1


where ‘e1’ is the first stage output signal, ‘x’ is the input signal, and ‘y1’ is the first stage filtered output.


The first stage output 618 may be connected to the second stage 604. The second stage 604 may process the signal ‘x2’ with the adaptive filter 206. The filter 206 may adapt quickly, for example with a sampling rate of 8 kHz and a filter length of 64 an NLMS step size larger than approximately 0.6 and less than 1.0 may allow the adaptive filter 206 to track the fundamental frequencies in typical speech signals.


The second stage 604 may enhance non-stationary signal components in the first stage output signal. The non-stationary signal components may be present in the input signal as a result of speech, music, or other signal sources. The second stage 604 may process the first stage output signal as described above.


The enhancement system 600 employs a first suppression stage 602 followed by a second enhancement stage 604. The enhancement system 600 may be employed to reinforce non-stationary signal content, such as voice content. In environments that introduce slowly changing signal components, the enhancement system 600 may remove or suppress the slowly changing signal components. In a car phone, for example, the first stage 602 may remove or suppress engine noise, road noise, or other noises, while the second stage 604 enhances non-stationary signal components, such as male or female voice components.


The signal enhancement system 100 may enhance periodic signal content, increase SNR, and/or decrease noise in an input signal. When applied to a voice signal, the enhancement system 100 may reinforce fundamental speech frequencies and may strengthen vowel or other sounds. The enhancement system 100 may enhance other signals, whether they are audible or inaudible.


The overall delay introduced by the delay logic 204 or 608 and the filter 206 or 612 also may be approximately an integer number (one or greater) of cycles of the tracked pitch period. Delaying by additional cycles may allow the input signal to change to a greater degree than waiting one cycle. Adding the longer delayed filtered signal to the current input signal may produce special effects in the output signal such as reverberation, while still enhancing fundamental frequency components.


In FIG. 7, a signal enhancement system 700 includes a partitioned adaptive filter 702 as well as partitioned delay logic 704. The partitioned adaptive filter 702 includes multiple adaptive filters, illustrated in FIG. 7 as adaptive filters 1 through ‘i’. The adaptive filters 1, 2, 3, and ‘i’ are labeled 706, 708, 710, and 712, respectively. The output of each adaptive filter may connect to gain logic 744 including multipliers that apply fixed or variable gain parameters to the filter outputs. FIG. 7 illustrates gain parameters 714, 716, 718, and 720 individually applied to the outputs of the filters 706-712. The gain and filter control logic 722 may exercise control over the gain parameters 714-720 and filter adaptation for each individual filter 706-712.


One or more of the gain weighted filter outputs may be added together by the reinforcement logic 724 to obtain a weighted sum of the filter outputs, ‘ySUM’. The reinforcement logic 726 adds the weighted summed filter outputs ‘ySUM’ to the input signal ‘x’ to create the output signal ‘s’. The reinforcement logic may be an adder or other signal summer. The partitioned delay logic 704 includes multiple series-connected delay blocks, five of which are labeled as delay blocks 728, 730, 732, 734, and 736.


Each filter 706-712 receives the input signal ‘x’ after it has been delayed by the partitioned delay logic 704 and determines an individual error signal ‘e’ for that filter based on ‘x’ and that filter's output signal ‘y’. For example, the error signal ‘e’ for the first adaptive filter 702 is ‘e1’=‘x’−‘y1’. Each adaptive filter 706-712 adapts in an effort to minimize its individual error signal ‘ei’.


The partitioned filter 702 divides the entire signal tracking task across multiple adaptive filters 706-712. Each adaptive filter 706-712 may process and adapt a portion of the overall impulse response of the partitioned filter 702. As a result, each adaptive filter 706-712 may have a smaller length (e.g., a smaller number of taps) than the longer adaptive filter shown in FIG. 2.


Given an impulse response implemented with 120 taps and six adaptive filters, each adaptive filter may process 20 (or any other number) taps of the overall impulse response. In another implementation, the number of adaptive filter partitions in the filter 702 is equal to the length of the overall impulse response, and therefore each adaptive filter has length 1. The overall length of the partitioned filter 702 may be chosen as explained above with respect to the range of frequencies that the partitioned filter 702 will track.


The adaptive filters 706-712 may vary in length depending on the expected fundamental frequencies in an input signal. For processing the portion of the impulse response at or around the expected fundamental frequency, the adaptive filters 706-712 may be partitioned into shorter, more quickly adapting filters. Away from the expected fundamental frequency, the adaptive filters 706-712 may be longer more slowly adapting filters. Thus, the lengths of the adaptive filters 706-712 may be selected to provide fast adaptation at or around frequencies of interest in the input signal.


Each adaptive filter 706-712 individually uses fewer filter coefficient updates. The adaptive filter 706-712 may update more quickly than filters in an implementation employing longer adaptive filters. Faster filter updates yield enhanced overall tracking performance, particularly at higher frequencies. The increase in overall tracking performance lends itself to tracking fundamental frequencies that change quickly, whether those frequencies are voiced or are artificially created. A least-mean-square (LMS) algorithm, a recursive-least-square (RLS) algorithm, variants of the LMS RLS, or other techniques may be employed to update the filter coefficients based on the individual error signals ‘ei’.


The delay logic 704 delays the arrival of the input signal ‘x’ to one or more of the filters 706-712. FIG. 7 shows that each filter 706-712 is associated with its own delay. Each delay block 728-736 may implement a delay of any number of signal samples.


One implementation uses an initial delay of D samples in the first delay block 728. Each subsequent delay logic 730-736 has an individually configurable delay, shown in FIG. 7 as delays of M1, M2, M3, and Mi samples. The delay block 730 feeds the first adaptive filter 706, the delay block 732 feeds the second adaptive filter 708, the third delay block 734 feeds the third adaptive filter 710, and so on up to the ith delay block 736 that feeds the ith filter 712.


The delays D, M1, . . . , Mi may each be the same or may each be different. The delays M1, . . . , Mi may correspond to the length (e.g., the number of taps) of the adaptive filter which the delay block feeds, or may be different from the length of the adaptive filter which the delay block feeds. For example, the length of the adaptive filter 710 may be M3 taps and the delay block 734 that feeds the adaptive filter 706 may delay signal samples by M3 samples.


When the length of an adaptive filter ‘i’ is less than its associated delay Mi, the adaptive filter may initially converge faster. When the length of an adaptive filter ‘i’ is greater than its associated delay Mi, the adaptive filter may experience a smaller mean squared error upon convergence. The filter lengths and/or delay logic 730-736 may be set according to the implementation guidelines for the implementation in which the system 700 is employed.


The delay D may be chosen to set a range of fundamental frequencies over which the system 700 will adapt. The range of fundamental frequencies fo or pitches over which the filter 700 converges or adapts is given by:
fo=f0MAX-f0MINf0MAX=fsDf0MIN=fsD+L


where L is the length of the overall partitioned adaptive filter 702, e.g., L=M1+M2+ . . . +Mi, and fs is the sampling rate.


The gain and filter control logic 722 may exercise control over the gains 714-720 and filter adaptation on an individual basis, i.e., for each individual filter 706-712. The control techniques described above with respect to the filter control 220 may also be employed in the signal enhancement system 700. The gains 714-720 may be proportional to, or may be otherwise set based on the signal to noise ratio of the input signal ‘x’. As SNR decreases, one or more of the gains 714-720 may increase in an attempt to suppress the noise. As SNR increases, one or more of the gains 714-720 may decrease or may be set to zero.


The gains 714-720 may be determined as a function of the filter coefficients of its corresponding adaptive filter, or in other ways. One expression for the gains 714-720, optionally including a normalizing constant ‘k’ is:

Ai=f(hi)/k


The function f(hi) is a function of the adaptive filter coefficients and may be defined in many ways depending on the enhancement desired. Examples of f(hi) are given below:
f(hi)=maxnhi(n)(1)f(hi)=maxnhi(n)2(2)f(hi)=nhi(n)+nhi(n)2(3)f(hi)=maxnhi(n)+maxnhi(n)2(4)f(hi)=[maxnhi(n)+maxnhi(n)2]m,m>0(5)


In one implementation, equation (5) is employed with m=2 and a filter length of 1. Increasing ‘m’ may provide greater enhancement of harmonics. The gains 714-720 may be selected or determined based on other information in addition to or as an alternative to the filter coefficients. The normalizing constant ‘k’ may be set according to:

k=maxi(f(hi))


The gains 714-720 may be selected or modified (e.g., increased) to amplify the effect of an adaptive filter with coefficients that will enhance or strengthen periodic components of the input signal. The gains 714-720 may also be selected or modified (e.g., reduced or set to zero) to reduce or eliminate the effect of an adaptive filter with coefficients (generally negative coefficients) that would degrade or weaken periodic components of the input signal. The gains 714-720 may be set in other ways that depend on the magnitude of the filter coefficients, however. Accordingly, the enhancement system 700 may set the gains 714-720 on an individual basis such that only enhancement occurs in the system 700.


The reinforcement logic 726 produces the enhanced output signal ‘s’:

s=x+A1y1+A2y2+A3y3+ . . . +Aiyi



FIG. 8 shows an enhancement system 800 that provides an alternative to the enhancement system 700. The enhancement system 800 replaces the individually controlled gains 714-720 with the gain logic 802, e.g., a multiplier and a gain parameter. The gain logic 802 biases the sum of the adaptive filter outputs by the gain parameter ‘A’ 804. The reinforcement logic 806 may provide a sum of each adaptive filter output.


The signal ‘s’ generated by the enhancement systems 700 and 800 includes strengthened fundamental frequencies and harmonics of the fundamental frequencies, resulting in a more intelligible audio signal. Each adaptive filter 706-712 in the enhancement systems may be updated independently by its own error signal, leading to faster adaptation for the filter and overall. The division into multiple adaptive filters thereby leads to decreased smearing between adjacent harmonics, better preservation of smaller harmonics (e.g., harmonics close to the noise level), and less distortion of non-periodic components of the input signal. Moreover, the enhancement system 700 may enhance even harmonics embedded in noise to levels above the noise, and may preserve small harmonics better. In selecting between implementations, the enhancement system 800 has the advantages of reduced complexity and reduced computational requirements, while the enhancement system 700 has the advantage of providing the flexibility to independently control the gain of each adaptive filter 702-708 and its influence on the output signal.



FIG. 9 is a comparison of frequency performance of the signal enhancement systems 200 and 800. The plot 902 illustrates the performance of the signal enhancement system 200, including input signal 904 and output signal 906. The plot 908 illustrates the performance of the signal enhancement system 800, including the same input signal 904 and enhanced output signal 910. The plot 908 shows the improved overall tracking response of the enhancement system 800 over the signal enhancement system 200, including improved high frequency response. The output signal 910 much more closely tracks the high frequency content of the input signal 904.


The plots 902 and 908 also show the improved separation between harmonics achieved by the enhancement system 800. Plot 902 shows the frequency response gap 912 between the input signal 904 and the enhanced signal 906. The plot 908 of the performance of the enhancement system 800 shows that the gap is far smaller, as indicated at reference numeral 914. The output signal 910 has improved separation between harmonics, leading to less smearing between the harmonics in the output signal 910.



FIG. 10 is a comparison of frequency performance of the signal enhancement systems 700 and 800. The plot 1002 illustrates the performance of the signal enhancement system 800, including the input signal 1004 and output signal 1006 generated by the enhancement system 800. The plot 1008 illustrates the performance of the signal enhancement system 700, including the same input signal 1004 and output signal 1010. The plot 1008 shows the improved overall tracking response of the enhancement system 700 (with individually controlled gains 714-720), including improved enhancement of smaller harmonics.


Examples of enhanced smaller harmonics 1012, 1014, 1016, and 1018 are labeled in FIG. 10. The enhanced harmonics 1012 and 1014 are located at approximately 3000 and 3200 Hz in the plot 1002 and were strengthened by the enhancement system 800. The enhancement system 700 provides even greater enhancement of smaller harmonics as indicated by the enhanced harmonics 1016 and 1018 in plot 1008.



FIG. 11 shows a flow diagram 1100 of acts that may be taken to enhance a periodic signal. A maximum pitch that the enhancement systems 700, 800 will track is selected (Act 1102). The pitch may be chosen according to the type of signals expected to be encountered and their characteristics, such as male, female, or child voice characteristics. The overall delay implemented by the delay blocks 728-736 may be set to the period of the maximum pitch (Act 1104).


A frequency range over which the enhancement systems 700, 800 will operate may also be selected (Act 1106). The overall filter length of the adaptive filters 702-708 may be set to accommodate the frequency range (Act 1108). The filter length, frequency range, and maximum pitch may be dynamically changed during enhancement system operation.


The enhancement system partitions the overall impulse response across multiple adaptive filters 702-708 (Act 1110). The adaptive filter may be partitioned into smaller blocks at portions where the magnitude of the impulse response of the fundamental frequency of interest is high. Any adaptive filter 706-712 may process one or more points of the impulse response. Each adaptive filter 706-712 may process the same or different number of points of the impulse response.


The enhancement systems 700 and 800 receive an input signal (Act 1112). The enhancement systems 700 and 800 filter the input signal using the partitioned adaptive filter (Act 1114). Individually selected gains are applied to the filtered output signal of each adaptive filter (Act 1116). The gain controlled output signals are then summed. Alternatively, a gain may be applied to the sum of one or more filtered output signals. The enhancement systems 700, 800 add the input signal and the gain controlled output signals (Act 1118). An enhanced output signal results, with strengthened fundamental frequency and harmonic content.


The enhancement systems 700 and 800 may incorporate pitch detection logic 738 including a pitch estimate output ‘p’ 740. The pitch detection logic 738 may determine fundamental frequency estimates of signal components of the input signal (Act 1120) as described above. The estimates may be based on an analysis of the filter coefficients across each adaptive filter 706-712 to quickly estimate the fundamental frequency. The frequency estimates or other information may provide a basis for the enhancement systems 700 and 800 to exercise adaptation control over the filters 702-708 and gains (Act 1122), such as increasing or decreasing adaptation rate, changing the filter lengths, adding or removing filters, and other adaptations.


The enhancement systems 700 and 800 may also include voice detection logic 742 including a voice detection output ‘v’ 744. The voice detection logic 742 may locate peaks in the filter coefficients that are above a pre-selected threshold (e.g., the background noise level). Such coefficients may indicate the presence of a periodic frequency component in the input signal. Vowel sounds may give rise to coefficient peaks above the background noise level that may be particularly strong peaks. The voice detection logic 742 may assert the voice detection output ‘v’ when peaks above the threshold are present, indicating that an input signal includes a voiced component.


The voice detection logic 742 may determine a detection measure. The detection measure provides an indication of whether voice is present in the input signal. The detection measure may be a sum of magnitudes of positive filter coefficients. When the sum exceeds a threshold, the voice detection logic may assert the voice detection output ‘v’ 744.


Each adaptive filter 702-708 generates its own error signal (Act 1124). Each adaptive filter 702-708 thereby adapts based on its own error signal (Act 1126). The enhancement systems 700, 800 may continue to provide an enhanced output signal for the duration of the input signal (Act 1128).



FIG. 12 shows a multiple stage enhancement system 1202 and a multiple stage enhancement system 1204. The system 1202 includes a slowly adapting filter stage (e.g., stage 602) coupled to the signal enhancement system 700. The input signal ‘x’ 1206 is coupled to the slowly adapting filter stage 602, and the signal enhancement system 700 produces the enhanced output signal ‘s’ 1208. The multiple stage enhancement system 1204 employs a slowly adapting filter stage 602 that is coupled to the signal enhancement system 800, generating an enhanced output signal ‘s’ 1210.


The slowly adapting filter stage 602 may suppress quasi-stationary signal components. The quasi-stationary signal components may be present in the input signal because of background noise with slowly varying frequency content. The slowly adapting filter stage 602 may suppress engine noise, environmental effects, or other noise sources with relatively slowly changing frequency characteristics. The signal enhancement systems 700, 800 follow to enhance periodic frequency content, such as that present in a voice signal, that passes through the slowly adapting filter stage 602.


The signal enhancement systems 200, 600, 700, and 800 may be implemented in hardware, software, or a combination of hardware and software. The enhancement systems may take the form of instructions stored on a machine readable medium such as a disk, EPROM, flash card, or other memory. The enhancement systems 200, 600, 700, and 800 may be incorporated into communication devices, sound systems, gaming devices, signal processing software, or other devices and programs. The enhancement systems 200, 600, 700, and 800 may pre-process microphone input signals to enhance SNR of vowel sounds for subsequent processing.


While various embodiments of the invention have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the invention. Accordingly, the invention is not to be restricted except in light of the attached claims and their equivalents.

Claims
  • 1. A signal enhancement system comprising: a signal input; partitioned delay logic coupled to the signal input; a partitioned adaptive filter coupled to the partitioned delay logic and comprising multiple adaptive filter outputs; gain logic coupled to an the adaptive filter output; filter reinforcement logic coupled after the gain logic; and signal reinforcement logic coupled to the signal input and the gain logic and comprising an enhanced signal output.
  • 2. The signal enhancement system of claim 1, where the partitioned adaptive filter comprises multiple adaptive filters, each adaptive filter comprising filter coefficients.
  • 3. The signal enhancement system of claim 2, where the gain logic comprises multiple gain parameters determined as a function of the filter coefficients.
  • 4. The signal enhancement system of claim 3, where the gain parameters are further determined based on a normalizing constant.
  • 5. The signal enhancement system of claim 2, where the gain logic comprises multiple gain parameters, and where at least one of the gain parameters is dependent upon the magnitude of the positive filter coefficients.
  • 6. The signal enhancement system of claim 1, where the gain logic comprises a gain parameter that increases with decreasing signal-to-noise ratio.
  • 7. The signal enhancement system of claim 1, where the gain logic comprises a gain parameter that decreases with increasing signal-to-noise ratio.
  • 8. The signal enhancement system of claim 1, where the partitioned delay logic implements an adaptation pitch range including that of human voice.
  • 9. The signal enhancement system of claim 1, further comprising a first stage filter coupled between the signal input and the delay logic, the first stage filter comprising quasi-stationary frequency tracking and attenuation logic.
  • 10. A method for signal enhancement comprising: receiving an input signal; delaying the input signal by multiple delays; processing the multiply delayed input signal in a partitioned adaptive filter comprising multiple adaptive filter outputs; biasing an adaptive filter output; generating a summed adaptive filter output after biasing; and reinforcing periodic signal content in the input signal with the summed adaptive filter output.
  • 11. The method of claim 10, where the adaptive filter outputs comprise: a first adaptive filter output; and a second adaptive filter output, and where the partitioned adaptive filter comprises: a first adaptive filter comprising the first adaptive filter output; and a second adaptive filter comprising the second adaptive filter output; and further comprising: generating a first error signal based on the input signal and the first adaptive filter output; generating a second error signal based on the input signal and the second adaptive filter output; and updating the first adaptive filter based on the first error signal and updating the second adaptive filter based on the second error signal.
  • 12. The method of claim 10, where the partitioned adaptive filter comprises multiple adaptive filters, each adaptive filter comprising filter coefficients, and further comprising: determining gain parameters as a function of the filter coefficients and biasing the adaptive filter outputs using the gain parameters.
  • 13. The method of claim 12, further comprising adjusting a gain parameter based upon the magnitude of a positive filter coefficient.
  • 14. The method of claim 1, further comprising gain parameters based on signal-to-noise ratio.
  • 15. The method of claim 12, further comprising increasing or decreasing at least one of the gain parameters based on signal-to-noise ratio.
  • 16. The method of claim 10, where delaying comprises delaying the input signal by a number of samples that establishes a maximum adaptation pitch that includes a human voice pitch.
  • 17. The method of claim 10, further comprising filtering the input signal through a first stage filter coupled between the signal input and the delay logic, the first stage filter comprising quasi-stationary frequency tracking and attenuation logic.
  • 18. A product comprising: a machine readable medium; and machine readable instructions encoded on the medium that: delay an input signal by multiple delays; process the multiply delayed input signal in a partitioned adaptive filter comprising multiple adaptive filter outputs; bias an adaptive filter output; generate a summed adaptive filter output after biasing; and reinforce periodic signal content in the input signal with the summed adaptive filter output.
  • 19. The product of claim 18, further comprising instructions that: determine multiple gain parameters as a function of filter coefficients in the partitioned adaptive filter.
  • 20. The product of claim 19, further comprising determining the gain parameters based on a normalizing constant.
  • 21. The product of claim 18, further comprising instructions that filter a quasi-stationary signal component in the input signal prior to processing with the partitioned adaptive filter.
  • 22. The product of claim 18, further comprising instructions that: update filter coefficients in the partitioned adaptive filter; determine a gain parameter for biasing at least one of the adaptive filter outputs; and estimate the gain parameter based on the magnitude of a positive filter coefficient.
  • 23. The product of claim 18, where the biasing instructions: increase bias with decreasing signal-to-noise ratio.
  • 24. The product of claim 18, where the biasing instructions: decrease bias with increasing signal-to-noise ratio.
  • 25. The product of claim 18, where the adaptive filter outputs comprise: a first adaptive filter output; and a second adaptive filter output, and where the processing instructions implement: a first adaptive filter comprising the first adaptive filter output; and a second adaptive filter comprising the second adaptive filter output; and where the instructions: generate a first error signal based on the input signal and the first adaptive filter output; generate a second error signal based on the input signal and the second adaptive filter output; and update the first adaptive filter based on the first error signal and updating the second adaptive filter based on the second error signal.
  • 26. A pitch detector comprising: a signal input; an adaptive filter coupled to the signal input, the adaptive filter comprising filter coefficients and operable to adapt based on an error signal; pitch detection logic coupled to the adaptive filter and operable to find a peak in the filter coefficients and produce a pitch estimate based on the position of the peak; and a pitch estimate output coupled to the pitch detection logic.
  • 27. The pitch detector of claim 26, where the pitch detection logic is operable to determine a pitch estimate according to:
  • 28. The pitch detector of claim 27, where the peak is the first peak in the adaptive filter coefficients.
  • 29. The pitch detector of claim 26, further comprising an error estimator coupled to the adaptive filter and operable to determine the error signal based on an input signal and a filter output signal.
  • 30. The pitch detector of claim 26, where the pitch estimate is a non-voice pitch estimate.
  • 31. The pitch detector of claim 26, where the pitch estimate is a male or a female voice pitch estimate.
  • 32. A method for pitch detection comprising: receiving an input signal; filtering the input signal through an adaptive filter; updating filter coefficients in the adaptive filter based on an error signal; determining a peak in the filter coefficients; producing a pitch estimate based on the position of the peak.
  • 33. The method of claim 32, where producing the pitch estimate comprises producing the pitch estimate based on a sampling frequency and a filter length of the adaptive filter.
  • 34. The method of claim 32, where producing the pitch estimate comprises determining the pitch estimate according to:
  • 35. The method of claim 32, where the peak is the first peak in the adaptive filter coefficients.
  • 36. The method of claim 32, where the pitch estimate is a non-voice pitch estimate.
  • 37. The method of claim 32, where the pitch estimate is a male or a female voice pitch estimate.
  • 38. A voice detector comprising: a signal input; an adaptive filter coupled to the signal input, the adaptive filter comprising filter coefficients and operable to adapt based on an error signal; voice detection logic coupled to the adaptive filter, the voice detection logic operable to determine a detection measure based on the filter coefficients of the adaptive filter to detect voiced speech in the signal; a voice detection output coupled to the voice detection logic.
  • 39. The voice detector of claim 38, where the threshold is dependent upon the signal to noise ratio.
  • 40. The voice detector of claim 38, where the periodic input signal component is a vowel sound component.
  • 41. The voice detector of claim 38, further comprising an error estimator coupled to the adaptive filter and operable to determine the error signal based on an input signal and a filter output signal.
  • 42. The voice detector of claim 38, where the detection measure comprises a sum of magnitudes of positive filter coefficients.
  • 43. A method for voice detection comprising: receiving an input signal; filtering the input signal through an adaptive filter; updating filter coefficients in the adaptive filter based on an error signal; determining a detection measure for occurrence of periodic components in the input signal, based on the filter coefficients of the adaptive filter. asserting a voice detection output when the measure is above a threshold.
  • 44. The method of claim 43, where the threshold is based on the SNR level, the background noise level, and the shape of the background noise spectrum.
  • 45. The method of claim 43, where the periodic input signal component is a vowel sound component.
  • 46. The method of claim 43, further comprising determining the error signal based on an input signal and a filter output signal.
  • 47. The voice detector of claim 43, where the detection measure comprises a sum of magnitudes of positive filter coefficients.
PRIORITY CLAIM

This application is a Continuation in Part Application of U.S. patent application Ser. No. 10/973,575, filed Oct. 26, 2004, titled Periodic Signal Enhancement System. This application is related to U.S. patent application Ser. No. ______, filed ______, also titled Periodic Signal Enhancement System.

Continuation in Parts (1)
Number Date Country
Parent 10973575 Oct 2004 US
Child 11101796 Apr 2005 US