In many applications it is useful to determine the similarities and dissimilarities between signals. Two signals either have a lot in common (positively correlated) or they do not have a lot in common (uncorrelated or negatively correlated). Their amplitudes are either similar or different. Some obvious applications include audio signal decomposition and reconstruction when multiple audio channels must be separated or combined, noise or interference reduction when multiple versions of the same signal in different noise or interference environments are available, time-alignment or phase-alignment when multiple versions of the same signal delayed by different amounts of time or shifted by different phase angles are available. In general, these applications include any situation in which a measure of the degree to which two signals are similar and/or different is useful, or in which the actual signals representing those similarities or differences are useful.
Conventionally, these attributes are studied for full-bandwidth, or nearly so, signals.
A digital signal processing device in accordance with the present invention is capable of accepting two arbitrary input signals; applying an invertible transform (such as a Discrete Fourier Transform) to the data from each of the signals so that each may be represented as a set of two-dimensional vectors in the frequency domain; comparing the two signal vector sets on a frequency-by-frequency basis; mathematically resolving the two signal vectors at each frequency into three new vectors, one representing the signal content unique to the first of the input signals, another representing the signal content unique to the second of the input signals, and the last representing the signal content common to both input signals; applying the inverse transform (such as the Inverse Discrete Fourier Transform) to each of the three resolved vectors so that they represent time-domain data for the unique first, unique second, and common signals. This vector decomposition is performed in a manner that preserves information content, such that the vector sum of the two input vectors is exactly equivalent to the vector sum of the three derived output vectors, the first input vector is exactly equivalent to the vector sum of the unique first output vector and half the common output vector, and the second input vector is exactly equivalent to the vector sum of the unique second output vector and half the common output vector.
A digital signal processing device built in accordance with the present invention is optionally capable of further decomposing the aforementioned output vector sets into four output vector sets, the first representing the signal content unique to the first of the input signals, the second representing the signal content unique to the second of the input signals, the third representing the content common to, and having the same phase angle, in both input signals, and the fourth representing the content common to both input signals but having phase angles that are orthogonal to that of the third output signal; applying the inverse transform (such as the Inverse Discrete Fourier Transform) to each of the four resolved vector sets so that they represent time-domain data for the excess first, excess second, common inphase, and common quadrature signals, respectively. This vector decomposition is performed in a manner that preserves information content, such that the sum of the two input vectors is exactly equivalent to the sum of the two derived “excess” output vectors and twice the sum of the two derived “common” output vectors, the first input vector is exactly equivalent to the sum of the excess first output vector and the common inphase output vector and the common quadrature vector, and the second input vector is exactly equivalent to the sum of the excess second output vector and the common inphase output vector and the negative of the common quadrature vector.
Furthermore, this device is capable of performing these operations upon continuous streams of data by application of standard signal processing practices for transform-based filtering, with due regard for circular vs. linear convolution considerations, data tapering windows, overlap-and-add techniques, time-variant filtering, etc.
The invention may take form in various components and arrangements of components, and in various steps and arrangements of steps. The drawings are only for purposes of illustrating preferred embodiments and are not to be construed as limiting the invention.
While the invention has been shown and described with reference to a number of embodiments thereof, it will be recognized by those skilled in the art that various changes in form and detail may be made herein without departing from the spirit and scope of the invention as defined by the appended claims.
The present invention relates generally to the analysis of pairs of signals having arbitrary or unknown relation to one-another, in order to determine signal components that they share in-common and components that are unique to each. However, it may also be employed in connection with all manner of multichannel or multitrack signals, provided that at least some channels associated with such signals can be considered pairwise for analysis.
As used herein, the term “arbitrary time-domain signal” means a signal produced or captured by signal generation or acquisition devices such as: linear or angular motion, vibration, acceleration, velocity, position, or momentum sensors; distance, direction, angle, or orientation sensors; size, thickness, depth, volume, shape, geometry or configuration sensors; temperature, pressure, or force transducers; electromagnetic receivers; electric or magnetic sensors; particle detectors; frequency, periodicity, spectrum, phase, modulation or distortion detectors; noise or entropy detectors; mass, density, or chemical composition sensors; indicators of physical characteristics, such as hardness or roughness or thermal or electrical conductivity or hysteresis; reflectance, transmittance, absorptance, refringence, or polarization detectors; voltage, current, resistance, capacitance, inductance or impedance sensors; state-of-matter or phase-of-matter detectors; and the like; the pair consisting of a first input digital time-domain signal and a second input digital time-domain signal;
In an aspect utilizing arbitrary input signals, the invention relates to determination of common and unique signal components by comparing the two input signals in the frequency domain, and resolving the signal information, in a vector sense, into “unique first”, “common”, and “unique second” signal components or into “excess first”, “common inphase”, “common quadrature”, and “excess second” signal components. In this preferred aspect, the invention exploits an assumption that the similarities between two arbitrary input signals can be represented by the in-phase signal components that they share in common and, optionally, by the quadrature-phase signal components that they share in common, and that the dissimilarities between two arbitrary input signals can be represented by the signal components that they do not share in common.
In other situations, the invention can provide an indication of direction-of-arrival; if signal components that appear only in the first input signal are known to have arrived from one direction, and components that appear only in the second input signal are known to have arrived from another direction, then components that appear equally in both input signals can be extracted by the invention and deemed to have arrived from a direction “halfway in-between” those input directions, and components that appear unequally in both input signals can be extracted by the invention and deemed to have arrived from directions proportionately between the first and second input directions, as appropriate.
In one illustrative embodiment, a simplified block diagram of an implementation on a computer-based information handling system, such as a personal computer, that carries out the present invention is shown in
For example, in certain embodiments, a general-purpose central processing unit may be utilized to perform the digital signal processing functions. In other embodiments, the processing may be performed employing one or more dedicated processors. In further embodiments, a special purpose digital signal processor may be employed to perform computationally intensive processing of the digital signal, and with a general purpose central processing unit being used for any further processing and/or storing the processed signal representations in an electronic memory or other digital storage medium. In still further embodiments, the processing functionality may be implemented in whole or in part employing a dedicated computing device, hardware logic or finite state machine, which may be realized, for example, in an application-specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), or the like.
Thus, while the use of multiple processors or processing devices is contemplated, it will be recognized that, for ease of exposition, the term “processor” is also intended to encompass a processing function, module, or subroutine, whether implemented in program or software logic or hardware logic, and reference to multiple processors also encompasses such multiple processing functions, modules, or subroutines sharing or implemented in common hardware.
Two digital time-domain input signals 1a and 1b are received at input 2 to the apparatus. These signals may be individual parts of a multichannel or multitrack signal, or they may be arbitrary or of unknown or ambiguous content. They may have been stored as digital data on some mass storage device such as a computer hard drive or digital magnetic tape, or they may have passed through some prior digital signal processing apparatus, or they may have been obtained directly from the output of analog-to-digital converters.
The digital data are passed to waveform memory 3 and 4 where the data are assigned and written sequentially to a number of memory positions corresponding to the number of points in transform computations 5 and 6.
Persons skilled in the art will recognize that pre- and/or post-processing of the data may be necessary, that some overlap between data points included in a given transform and data points included in the previous transform(s) is desirable, that application of data-tapering windows to the time-domain data, both before and after the output signal extraction is performed, is desirable to avoid edge-effects, that zeropadding of the input time-domain data may be necessary in order to avoid circular-convolution effects, and that this all represents standard signal processing practice for transform-domain filtering [4].
In the prototype preferred embodiment, signal parameters are identical in both input signals 1a and 1b: the sampling rate is 44100 Hz, integer input data are converted to floating-point, transforms are of length 32768 with an overlap of 8192 data points from one transform to the next, a raised-cosine input data tapering window of overall width 16384, centered on the splice between the “old” data and the “new” data, is used with 8192 extra zeropadded points on each end, and the computations are performed in the computer's central processing unit (CPU) and/or floating-point unit (FPU).
Transform computations 5 and 6 convert the blocks of data from the time domain to the frequency domain or, more generally, from the data domain to the transform domain. The transforms may be any of a variety of invertible transforms that can convert data from a one-dimensional data-domain representation to a two-dimensional transform-domain representation, typically but not necessarily the Discrete Fourier Transform that was implemented in the preferred embodiment. Other transforms that may be used include, but are not limited to, the Discrete Wavelet Transform, and invertible transforms of the general mathematical form:
X(k)=Σn=0N 1x(n)[A cos(2πkn/N)+B sin(2πkn/N)]
(where A, B may be real, imaginary, complex, or zero), or equivalent thereto, including the Discrete Fourier Transform, Discrete Cosine Transform, Discrete Sine Transform, Discrete Hartley Transform, and Chirp-Z Transform; and various implementations thereof, including, but not limited to, direct computation using the defining equations, linear-algebra/matrix operations, convolution using FIR or IIR filter structures, polyphase filterbanks, subband filters, and especially the so-called “fast” algorithms such as the Fast Fourier Transform.
The type of transform, length of the transform, and amount of overlap between subsequent data sets are chosen according to standard signal processing practice as compromises between frequency resolution, ability to respond quickly to changes in signal characteristics, time-domain transient performance, and computational load.
Once in the transform domain, each transform bin 7 and 8 contains a two-dimensional value, interpreted in the conventional signal processing manner as a complex number, representing the signal content for the signal under consideration at the frequency corresponding to the bin. Each of these complex values can be expressed in the conventional signal processing manner as a vector quantity, in rectangular coordinates as real part and imaginary part, or equivalently in polar coordinates as magnitude and phase. The bin data 7 and 8 are passed to the vector resolver 9 that performs vector arithmetic upon them.
As indicated in
Methods for the computation of the common vector 28 include, but are not limited to, those shown in
In the prototype preferred embodiment, which is represented by
Once the common vector 28 has been created, the unique first vector 29 is computed as “first input minus ½-common” and the unique second vector 30 is computed as “second input minus ½-common”, using vector arithmetic. The unique first vector is conceptually the signal content that is unique to the first input signal, and the unique second vector is conceptually the signal content that is unique to the second input signal. In each transform bin, information is preserved because the vector sum of common 28, unique first 29, and unique second 30 is exactly equal to the vector sum of first input 26 and second input 27. Furthermore, the vector sum of ½-common 31 and unique first 29 is exactly equal to first input 26, and the vector sum of ½-common 31 and unique second 30 is exactly equal to second input 27.
This process is repeated for all of the transform bins, yielding three new complete transform blocks; designated unique first 10, common 11, and unique second 12, that are passed to the inverse transform computations 13, 14, and 15, respectively. The inverse transforms convert the blocks into the data domain, where they are stored in waveform memories 16, 17, and 18, and then, following standard signal processing practice, post-processed if necessary, aligned, windowed and combined with similar data from previous and subsequent blocks of time in a fashion appropriate for their original overlap, windowing, and zeropadding, to yield contiguous time-domain data streams 19, 20, and 21 in each of the three output (22) signals 23, 24, and 25, respectively.
In the prototype preferred embodiment, a 50% cosine-taper Tukey output data tapering window [5], with rectangle portion of width 16384 and cosine portion of width 16384, is applied to the outputs from the inverse transform computations. An overlap-and-add technique is utilized for reconstructing the time-domain data because this invention is, in its essence, a form of signal-dependent time-variant linear filtering, and overlap-and-add is superior to overlap-and-save when time-variant filters are used. The time data are converted from floating-point back to integer by appropriate means.
The resulting data streams 19, 20, and 21 may be monitored, stored as digital data, or passed through further signal processing, as desired.
The result of all of this vector manipulation is that identical signal components, in which the data are identical and in-phase in both input signals, are routed to the common output signal. Signal components that occur uniquely in the first or second input signal are routed exclusively to the unique first or unique second output signal, respectively. Signal components that are identical in both input signals, but out-of-phase, are treated as unique signal components and are not routed to the common output signal. Signal components that are combinations of the above are routed accordingly and proportionately to the output signals. Furthermore, since this process is repeated on a frequency-by-frequency basis in the transform domain, the invention has unprecedented ability to separate signal components by frequency as well as by magnitude and phase or real and imaginary part, and to route them to the output signals accordingly.
This technique may be varied in order to achieve some desired effects.
For example, if the first input and second input signals have very little in common, then the common signal may lack content. In such a situation it may be desirable to synthesize a pair of signals such that the common signal extracted from them has greater content. To accomplish this, some amount of material from the first input signal may be moved into the second input signal, and vice-versa, forming “modified-first input” 32 and “modified-second input” 33, as shown in
Conversely, if the first input and second input signals have too much in common, then the common signal may overwhelm the others. In such a situation is may be desirable to exclude some of the common content from the extracted common signal. To accomplish this, the magnitude of common vector 28, once created, may be multiplied by a scale-factor between zero and one, yielding “modified-common” 34, as indicated in
The modifications shown in
Finally,
The variant shown in
Persons skilled in the art will recognize that, although in the preferred embodiment the vector computations are performed in the computer's FPU, similar computations can be performed without explicit transcendental functions such as sines, cosines, and arctangents. Fixed-point arithmetic, function approximations, lookup tables, and/or vector manipulations such as cross-products, dot-products, and coordinate rotations, among others, are all recognized as viable means by which the vector quantities may be resolved.
Although the invention has been described with a certain degree of particularity, it should be recognized that elements thereof may be altered by persons skilled in the art without departing from the spirit and scope of the invention. One of the embodiments of the invention can be implemented as sets of instructions resident in the main memory of one or more computer-based information handling systems generally as described above. Until required by the computer system, the set of instructions may be stored in another computer readable memory, for example in a hard disk drive or in a removable memory such as an optical disk for utilization in a DVD-ROM or CD-ROM drive, a magnetic medium for utilization in a magnetic media drive, a magneto-optical disk for utilization in a magneto-optical drive, a floptical disk for utilization in a floptical drive, or a memory card for utilization in a card slot. Further, the set of instructions can be stored in the memory of another computer and transmitted over a local area network or a wide area network, such as the Internet, when desired by the user. Additionally, the instructions may be transmitted over a network in the form of an applet that is interpreted after transmission to the computer system rather than prior to transmission. One skilled in the art would appreciate that the physical storage of the sets of instructions or applets physically changes the medium upon which it is stored electrically, magnetically, chemically, physically, optically, or holographically, so that the medium carries computer readable information.
It is understood that the invention is not confined to the particular embodiments set forth herein as illustrative, but embraces such modified forms thereof as come within the scope of the following claims.
All references cited are incorporated herein by reference in their entireties.
Number | Date | Country | Kind |
---|---|---|---|
61177090 | May 2009 | US | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US10/34335 | 5/11/2010 | WO | 00 | 11/4/2011 |