CN112565124B - Distortion-free signal processing method based on overlapping windowing, storage medium and system - Google Patents
Distortion-free signal processing method based on overlapping windowing, storage medium and system Download PDFInfo
- Publication number
- CN112565124B CN112565124B CN202110222405.XA CN202110222405A CN112565124B CN 112565124 B CN112565124 B CN 112565124B CN 202110222405 A CN202110222405 A CN 202110222405A CN 112565124 B CN112565124 B CN 112565124B
- Authority
- CN
- China
- Prior art keywords
- window function
- path
- windowing
- data signal
- complementary
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/02—Details ; arrangements for supplying electrical power along data transmission lines
- H04L25/03—Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
- H04L25/03828—Arrangements for spectral shaping; Arrangements for providing signals with specified spectral properties
Abstract
The invention provides a distortion-free signal processing method based on overlapping windowing, which comprises the following steps: dividing a data signal to be processed into a first path of data signal and a second path of data signal; secondly, windowing the first path of data signal by adopting an original window function; step three, obtaining a complementary window function according to the original window function and a preset overlap scale factor; respectively carrying out delay processing on the complementary window function and the second path of data signal; fifthly, windowing the delayed second path of data signals by adopting the delayed complementary window function; and step six, adding the first channel of data signals and the second channel of data signals after windowing to obtain distortion-free signals. The invention also provides a storage medium and a system. The invention reduces the calculated amount and avoids the distortion problem of the data signal in the windowing process under the condition of ensuring a certain overlap proportion.
Description
Technical Field
The invention belongs to the technical field of signal processing, and particularly relates to a distortion-free signal processing method, a storage medium and a system based on overlapping windowing.
Background
In terms of time domain, windowing essentially weights an input signal (in the design, windowing refers to adding a non-rectangular window), and a window function is gradually attenuated from the center to two ends, so that smoothness of two ends of a data segment is guaranteed, and the purpose of reducing spectrum leakage is achieved. The purpose of windowing is to accurately estimate the signal spectrum, but windowing also causes distortion in the input signal, thereby incurring additional signal-to-noise loss.
For the problem of signal-to-noise ratio loss caused by windowing, a measure of overlapping windowing on data is usually adopted to make up for the loss caused by windowing. In general (except for rectangular windows), the larger the overlap ratio, the smaller the windowing loss, but the larger the overlap ratio, the larger the amount of calculation. In practical engineering, in this contradictory context, the overlapping scale factors are typically adjusted according to specific hardware levels and performance requirements. But their overlapping window functions are not stationary within the pass band, resulting in distortion of the data signal during windowing.
Disclosure of Invention
One of the objectives of the present invention is to provide a distortion-free signal processing method based on overlap windowing, which can reduce the amount of computation while ensuring a certain overlap ratio, and avoid the distortion problem of the data signal during the windowing process.
It is a second object of the present invention to provide a storage medium.
It is a further object of the present invention to provide a distortion-free signal processing system based on overlap-and-add windowing.
In order to achieve one of the purposes, the invention adopts the following technical scheme:
an undistorted signal processing method based on overlap-windowing, the undistorted signal processing method comprising the steps of:
dividing a data signal to be processed into a first path of data signal and a second path of data signal;
secondly, windowing the first path of data signal by adopting an original window function;
step three, obtaining a complementary window function according to the original window function and a preset overlap scale factor;
respectively carrying out delay processing on the complementary window function and the second path of data signal;
fifthly, windowing the delayed second path of data signals by adopting the delayed complementary window function;
and step six, adding the first channel of data signals and the second channel of data signals after windowing to obtain distortion-free signals.
Further, the specific process of the third step is as follows:
step 31, dividing the original window function into an overlapped part and a non-overlapped part according to a preset overlapping scale factor and the number of discrete signal points in the original window function;
step 32, turning the non-overlapping part in the original window function by 180 degrees to be used as the non-overlapping part of the complementary window function;
and step 33, taking the difference between the positive integer and the overlapping part in the original window function as the overlapping part of the complementary window function.
Further, in step 33, the positive integer is 1.
Further, the delay in step four is 1/2 delay.
In order to achieve the second purpose, the invention adopts the following technical scheme:
a storage medium storing computer program instructions; the distortion-free signal processing method is realized by executing the computer program instructions.
In order to achieve the second purpose, the invention adopts the following technical scheme:
an aliasing-windowing based undistorted signal processing system, said undistorted signal processing system comprising said storage medium; alternatively, the first and second electrodes may be,
an undistorted signal processing system based on overlap-windowing, the undistorted signal processing system comprising:
the power division module is used for dividing the data signal to be processed into a first path of data signal and a second path of data signal;
the first windowing module is used for windowing the first path of data signal by adopting an original window function;
the complementary window function module is used for obtaining a complementary window function according to the original window function and a preset overlap scale factor;
the delay processing module is used for respectively carrying out delay processing on the complementary window function and the second path of data signals;
the second windowing module is used for windowing the second path of delayed data signals by adopting the complementary window function after delay processing;
and the adding module is used for adding the first path of data signal and the second path of data signal after windowing to obtain a distortion-free signal.
Further, the complementary window function module comprises:
the division submodule is used for dividing the original window function into an overlapped part and a non-overlapped part according to a preset overlapping scale factor and the number of discrete signal points in the original window function;
the turning submodule is used for turning the non-overlapping part in the original window function by 180 degrees and then taking the non-overlapping part as the non-overlapping part of the complementary window function;
and the difference module is used for taking the difference between the positive integer and the overlapped part in the original window function as the overlapped part of the complementary window function.
Further, the positive integer is 1.
Further, the delay is 1/2 delay.
The invention has the beneficial effects that:
the method adopts an original window function to window one path of data signals (a first path of data signals); on the basis of the original window function, acquiring a complementary window function by using an overlapping scale factor; respectively carrying out delay processing on the complementary window function and the other path of data signal (namely the second path of data signal with the same power as the first path of data signal), and adding the first path of data signal subjected to windowing after the second path of data signal subjected to delay processing is subjected to windowing by adopting the complementary window function subjected to delay processing, so that under the condition of ensuring a certain overlapping proportion, the calculated amount is reduced, and the distortion problem of the data signal in the windowing process is avoided; the invention solves the problem of signal distortion caused by conventional overlapping windowing, and is suitable for various signal processing scenes such as communication, navigation and the like.
Drawings
FIG. 1 is a schematic flow chart of an aliasing-based signal processing method based on overlap-windowing according to the present invention;
FIG. 2 is a schematic diagram of the distortion-free principle of overlap-windowing of the present invention;
FIG. 3 is a schematic diagram of a conventional 1/2 Hanning window function overlay;
fig. 4 is a schematic diagram of the superposition of the improved 1/2 hanning window function.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings.
The design principle of the embodiment is as follows: in order to obtain an undistorted window function, i.e. making the overlapping portion of the superimposed undistorted window functions constant, and making the gain of the signal after passing through the filter constant, the constant is made to be 1, so that a complementary window function for overlapping designed from the original known window function can be obtained, and the complementary window function is processed by 1/2 delay and then added to the original window function to obtain the undistorted window function, referring to fig. 2, the expression of which is as follows:
wherein the content of the first and second substances,w add (n) In order to be a function of the distortion-free window,w(n) In order to be the function of the original window,Nin order to discrete the number of signal points,kis the number of the overlapping window functions,k≥2,ris an overlapping scale factor, 0 is less than or equal tor1 or less, preferablyr=1/2。
Based on the above design principle, this embodiment provides an undistorted signal processing method based on overlap windowing, and referring to fig. 1, the undistorted signal processing method includes the following steps:
and S1, dividing the data signal to be processed into a first path of data signal and a second path of data signal.
Dividing the data signal to be processed into two paths of data signals with the same power.
And S2, windowing the first path of data signal by adopting an original window function.
E.g. Hanning window function, time domain amplitude function, commonly used in signal processingw hn (n) The expression is as follows:
wherein the content of the first and second substances,R N (n) Is a function of a rectangular window,Nin order to discrete the number of signal points,nis the current time.
And S3, obtaining a complementary window function according to the original window function and a preset overlap scale factor.
In order to obtain a distortion-free window function, the overlapping part of the superimposed distortion-free window functions is made constant, and the constant is made 1 so as to make the gain of the signal after passing through the filter constant, thereby obtaining a complementary window function designed for overlapping from the originally known window functionw hn_add (n) The amplitude function expression is as follows:
wherein the content of the first and second substances,ris an overlapping scale factor, 0 is less than or equal tor≤ 1。
The specific design process of the complementary window function in this embodiment is as follows:
step 31, according to the preset overlap scale factorrAnd the number of discrete signal points in the original window functionNDividing the original window function into an overlapping part and a non-overlapping part;
step 32, turning the non-overlapping part in the original window function by 180 degrees to be used as the non-overlapping part of the complementary window function;
and step 33, taking the difference between the positive integer and the overlapping part in the original window function as the overlapping part of the complementary window function.
The positive integer in this embodiment is 1, so as to ensure that the gain of the signal after passing through the filter is unchanged.
And S4, respectively carrying out delay processing on the complementary window function and the second path of data signal.
The delay of this embodiment is 1/2 delays.
And S5, windowing the delayed second path of data signal by adopting the delayed complementary window function.
And S6, adding the first channel of data signal and the second channel of data signal after windowing to obtain a distortion-free signal.
The effect of directly using the conventional 1/2 hanning window function superposition and the modified 1/2 hanning window function superposition of the present embodiment is referred to fig. 3 and 4, respectively.
In this embodiment, an original window function is adopted to perform windowing on one channel of data signals (a first channel of data signals); on the basis of the original window function, acquiring a complementary window function by using an overlapping scale factor; respectively carrying out delay processing on the complementary window function and the other path of data signal (namely the second path of data signal with the same power as the first path of data signal), and adding the first path of data signal subjected to windowing after the second path of data signal subjected to delay processing is subjected to windowing by adopting the complementary window function subjected to delay processing, so that the calculated amount is reduced under the condition of ensuring a certain overlapping proportion, and the distortion problem of the data signal in the windowing process is avoided; the embodiment solves the problem of signal distortion caused by conventional overlapping windowing, and is suitable for various signal processing scenes such as communication, navigation and the like.
Another embodiment provides a storage medium having computer program instructions stored thereon; the distortion-free signal processing method provided by the above-mentioned embodiment is realized by executing the computer program instructions.
Yet another embodiment provides an overlay windowing based undistorted signal processing system comprising the storage medium set forth in the above embodiment.
Yet another embodiment provides an aliasing-windowing based undistorted signal processing system, comprising:
the power division module is used for dividing the data signal to be processed into a first path of data signal and a second path of data signal;
the first windowing module is used for windowing the first path of data signal by adopting an original window function;
and the complementary window function module is used for obtaining a complementary window function according to the original window function and a preset overlap scale factor, and comprises a dividing submodule, an overturning submodule and a difference making submodule. The division submodule is used for dividing the original window function into an overlapped part and a non-overlapped part according to a preset overlapping scale factor and the number of discrete signal points in the original window function. And the overturning submodule is used for overturning the non-overlapping part in the original window function by 180 degrees to be used as the non-overlapping part of the complementary window function. And a difference module for taking the difference between the positive integer (preferably 1) and the overlapping part of the original window function as the overlapping part of the complementary window function.
And the delay processing module is used for respectively carrying out delay processing (preferably 1/2 delay) on the complementary window function and the second path of data signal.
The second windowing module is used for windowing the second path of delayed data signals by adopting the complementary window function after delay processing;
and the adding module is used for adding the first path of data signal and the second path of data signal after windowing to obtain a distortion-free signal.
Although the embodiments of the present invention have been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the embodiments of the present invention.
Claims (6)
1. A distortion-free signal processing method based on overlapping windowing comprises the following steps:
dividing a data signal to be processed into a first path of data signal and a second path of data signal;
secondly, windowing the first path of data signal by adopting an original window function;
step three, obtaining a complementary window function according to the original window function and a preset overlap scale factor;
respectively carrying out delay processing on the complementary window function and the second path of data signal;
fifthly, windowing the delayed second path of data signals by adopting the delayed complementary window function;
adding the first channel of data signals and the second channel of data signals after windowing to obtain distortion-free signals;
the method is characterized in that the specific process of the third step is as follows:
step 31, dividing the original window function into an overlapped part and a non-overlapped part according to a preset overlapping scale factor and the number of discrete signal points in the original window function;
step 32, turning the non-overlapping part in the original window function by 180 degrees to be used as the non-overlapping part of the complementary window function;
step 33, taking the difference between the positive integer and the overlapping part in the original window function as the overlapping part of the complementary window function;
in step 33, the positive integer is 1.
2. A method of undistorted signal processing as claimed in claim 1, characterized in that the delay in step four is 1/2 delay.
3. A storage medium having computer program instructions stored thereon; the undistorted signal processing method of claim 1 or 2 is implemented by executing the computer program instructions.
4. An undistorted signal processing system based on overlap-and-window, characterized in that the undistorted signal processing system comprises the storage medium of claim 3.
5. An undistorted signal processing system based on overlap-and-window, the undistorted signal processing system comprising:
the power division module is used for dividing the data signal to be processed into a first path of data signal and a second path of data signal;
the first windowing module is used for windowing the first path of data signal by adopting an original window function;
the complementary window function module is used for obtaining a complementary window function according to the original window function and a preset overlap scale factor;
the complementary window function module comprises:
the division submodule is used for dividing the original window function into an overlapped part and a non-overlapped part according to a preset overlapping scale factor and the number of discrete signal points in the original window function;
the turning submodule is used for turning the non-overlapping part in the original window function by 180 degrees and then taking the non-overlapping part as the non-overlapping part of the complementary window function;
a difference module for taking the difference between the positive integer and the overlapping part in the original window function as the overlapping part of the complementary window function; the positive integer is 1;
the delay processing module is used for respectively carrying out delay processing on the complementary window function and the second path of data signals;
the second windowing module is used for windowing the second path of delayed data signals by adopting the complementary window function after delay processing;
and the adding module is used for adding the first path of data signal and the second path of data signal after windowing to obtain a distortion-free signal.
6. A distortion-free signal processing system as claimed in claim 5, wherein the delay is 1/2 delay.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110222405.XA CN112565124B (en) | 2021-03-01 | 2021-03-01 | Distortion-free signal processing method based on overlapping windowing, storage medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110222405.XA CN112565124B (en) | 2021-03-01 | 2021-03-01 | Distortion-free signal processing method based on overlapping windowing, storage medium and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112565124A CN112565124A (en) | 2021-03-26 |
CN112565124B true CN112565124B (en) | 2021-04-23 |
Family
ID=75034843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110222405.XA Active CN112565124B (en) | 2021-03-01 | 2021-03-01 | Distortion-free signal processing method based on overlapping windowing, storage medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112565124B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114295577B (en) * | 2022-01-04 | 2024-04-09 | 太赫兹科技应用(广东)有限公司 | Terahertz detection signal processing method, device, equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1993004467A1 (en) * | 1991-08-22 | 1993-03-04 | Georgia Tech Research Corporation | Audio analysis/synthesis system |
WO1995030983A1 (en) * | 1994-05-04 | 1995-11-16 | Georgia Tech Research Corporation | Audio analysis/synthesis system |
US7190197B1 (en) * | 2004-09-24 | 2007-03-13 | Cirrus Logic, Inc. | Clock phase detector for noise management |
CN104823237A (en) * | 2012-11-26 | 2015-08-05 | 哈曼国际工业有限公司 | System, computer-readable storage medium and method for repair of compressed audio signals |
-
2021
- 2021-03-01 CN CN202110222405.XA patent/CN112565124B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1993004467A1 (en) * | 1991-08-22 | 1993-03-04 | Georgia Tech Research Corporation | Audio analysis/synthesis system |
WO1995030983A1 (en) * | 1994-05-04 | 1995-11-16 | Georgia Tech Research Corporation | Audio analysis/synthesis system |
US7190197B1 (en) * | 2004-09-24 | 2007-03-13 | Cirrus Logic, Inc. | Clock phase detector for noise management |
CN104823237A (en) * | 2012-11-26 | 2015-08-05 | 哈曼国际工业有限公司 | System, computer-readable storage medium and method for repair of compressed audio signals |
Also Published As
Publication number | Publication date |
---|---|
CN112565124A (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3454206B2 (en) | Noise suppression device and noise suppression method | |
US8477963B2 (en) | Method, apparatus, and computer program for suppressing noise | |
EP2448204B1 (en) | Method and device for clipping control | |
US9084049B2 (en) | Automatic equalization using adaptive frequency-domain filtering and dynamic fast convolution | |
US10380989B1 (en) | Methods and apparatus for processing stereophonic audio content | |
US20110317841A1 (en) | Method and device for optimizing audio quality | |
CN112565124B (en) | Distortion-free signal processing method based on overlapping windowing, storage medium and system | |
US11381909B2 (en) | Method and apparatus for forming differential beam, method and apparatus for processing signal, and chip | |
EP4109446B1 (en) | Background noise estimation using gap confidence | |
US9171538B2 (en) | Method and system for reducing impulsive noise disturbance | |
US20160269847A1 (en) | Method and apparatus for downmixing a multichannel signal and for upmixing a downmix signal | |
WO2015050006A1 (en) | Device, method, and program for measuring sound field | |
US9949034B2 (en) | Sound field spatial stabilizer | |
KR20200128687A (en) | Howling suppression method, device and electronic equipment | |
US10142731B2 (en) | Dynamic suppression of non-linear distortion | |
CN110579805B (en) | Seismic data processing method based on adaptive gain-limited inverse Q filtering | |
US10362396B2 (en) | Phase control signal generation device, phase control signal generation method, and phase control signal generation program | |
US10524052B2 (en) | Dominant sub-band determination | |
EP3226412B1 (en) | Dynamic suppression of non-linear distortion | |
CN112698271A (en) | Time delay estimation method for low signal-to-noise ratio signal | |
US20220254363A1 (en) | Method and apparatus for improving signal-to-noise ratio of microphone signal | |
CN112750447A (en) | Method for removing wind noise | |
CN117119358B (en) | Compensation method and device for sound image offset side, electronic equipment and storage equipment | |
CN111724808A (en) | Audio signal processing method, device, terminal and storage medium | |
Bai et al. | Comparative study of audio spatializers for dual-loudspeaker mobile phones |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |