CN112541156A - Signal amplitude accurate estimation method - Google Patents
Signal amplitude accurate estimation method Download PDFInfo
- Publication number
- CN112541156A CN112541156A CN202011380636.5A CN202011380636A CN112541156A CN 112541156 A CN112541156 A CN 112541156A CN 202011380636 A CN202011380636 A CN 202011380636A CN 112541156 A CN112541156 A CN 112541156A
- Authority
- CN
- China
- Prior art keywords
- signal
- amplitude
- frequency
- numerical value
- spf
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000004364 calculation method Methods 0.000 claims abstract description 10
- 238000005070 sampling Methods 0.000 claims description 8
- 238000001228 spectrum Methods 0.000 claims description 7
- 108010076504 Protein Sorting Signals Proteins 0.000 claims description 6
- 238000010183 spectrum analysis Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 abstract description 4
- 238000004458 analytical method Methods 0.000 abstract description 3
- 238000001514 detection method Methods 0.000 abstract description 2
- 238000011156 evaluation Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/14—Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
- G06F17/141—Discrete Fourier transforms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Analysis (AREA)
- Theoretical Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Discrete Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Measuring Frequencies, Analyzing Spectra (AREA)
- Complex Calculations (AREA)
Abstract
The invention relates to a method for calculating the average amplitude of a single-frequency sinusoidal signal, which is suitable for engineering analysis and performance evaluation needing to obtain the accurate signal amplitude. The invention provides a detection method convenient for realizing a computer program, which can calculate the amplitude of a single-frequency sinusoidal signal by using smaller sample data, has short time consumption and accurate result in the process and can be used for solving the practical problem in equipment engineering development. The invention has strong logic, easy realization of computer program, better universality and application in test equipment, can greatly improve the accuracy of the calculation result, and improves the estimation precision of the signal frequency by more than 4 times compared with the frequency resolution. Moreover, compared with the traditional FFT (fast Fourier transform) method, the number of required sample points is greatly reduced, and correspondingly, the calculation time is reduced.
Description
Technical Field
The invention relates to a method for calculating the average amplitude of a single-frequency sinusoidal signal, which is suitable for engineering analysis and performance evaluation needing to obtain the accurate signal amplitude.
Background
In the development of a certain equipment system, the signal amplitude of an output signal of a certain product needs to be accurately known, so that accurate calculation of signal amplitude data is very important.
There are many ways to obtain the signal amplitude. Although there are many signal amplitude acquisition methods, most of the acquired data has low accuracy or is difficult to realize due to factors such as cost and time consumption. At present, an accurate signal amplitude calculation method is an average analysis method adopting a great number of sample points, and large digital calculation time is required to be tolerated. However, at a high sampling rate, to obtain a signal amplitude with a high precision requirement, extremely large sample data and time consumption are required, which results in increased implementation difficulty. And the signal amplitude acquisition method which is short in calculation time consumption and accurate in result is found under the condition of smaller sample data, and therefore the method has practical value.
Disclosure of Invention
The technical problem solved by the invention is as follows: in order to overcome the defects of the prior art, the amplitude of the single-frequency sinusoidal signal is rapidly and accurately calculated by using smaller sample data. The invention provides a detection method convenient for realizing a computer program, which can calculate the amplitude of a single-frequency sinusoidal signal by using smaller sample data, has short time consumption and accurate result in the process and can be used for solving the practical problem in equipment engineering development.
The technical scheme of the invention is as follows: a method for accurate estimation of signal amplitude comprising the steps of:
step 1: digitally sampling the analyzed single-frequency sinusoidal signal at a sampling rate of Fs to form a continuous digital signal sequence denoted X: x ═ { X _ i } (i ═ 0,1,2 … … N-1);
step 2: and carrying out PSD power spectrum analysis on the X to obtain the power spectrum SPF of the X, and searching the maximum numerical value in the left half numerical value of the SPF, wherein the maximum numerical value is marked as (n, C), C is the maximum numerical value, and n is the serial number of the maximum numerical value. Taking 2 SPF elements around n, and sequentially marking as (n-2, A), (n-1, B), (n +1, D) and (n +2, E);
and step 3: and substituting the data into the formula (1) for calculation to obtain the amplitude Amp of the detected signal.
The further technical scheme of the invention is as follows: in step 1, the signal frequency of the single-frequency sinusoidal signal is known as Fsig.
The further technical scheme of the invention is as follows: after sampling, a digital signal sequence is formed according to DFT requirements.
The further technical scheme of the invention is as follows: the requirements are as follows: the number of samples is denoted as N, which is a positive integer power of 2.
Effects of the invention
The invention has the technical effects that: the method has strong logic, easy realization of computer program, better universality and application in test equipment, can greatly improve the accuracy of a calculation result, and improves the estimation precision of signal frequency by more than 4 times compared with frequency resolution. Moreover, compared with the traditional FFT (fast Fourier transform) method, the number of required sample points is greatly reduced, and accordingly, the calculation time is reduced.
Drawings
FIG. 1: signal power spectrum value-taking map
FIG. 2: example 1 Signal diagram
FIG. 3: example 1 Signal Power Spectrum
FIG. 4: example 2 Signal diagram
FIG. 5: example 2 Signal Power Spectrum
Detailed Description
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Referring to fig. 1-5, a single-frequency sinusoidal signal to be analyzed (known as the frequency of the signal is Fsig) is digitally sampled, forming a continuous sequence of digital signals, denoted X:
X={xi}(i=0,1,2.......N-1) (1)
wherein N is a positive integer power of 2; let the sampling rate be Fs.
Performing PSD (power spectral density) power spectrum analysis on the digital signal sequence, and recording the result as SPF:
and (5) searching the maximum value in the left half value of the SPF, and recording as (n, C), wherein C is the maximum value, and n is the serial number of the maximum value. Taking 2 SPF elements about n, sequentially marking as (n-2, A), (n-1, B), (n +1, D) and (n +2, E), and calculating the amplitude Amp according to the following formula:
example 1:
let the signal be F (t):
F(t)==1.0·sin(56789,0·2π·t)+δ(t)
where δ (t) is gaussian noise with a standard deviation of 0.2. The specific implementation mode is as follows:
step 1: the frequency of the known F (t) signal is: 56789Hz, f (t) is sampled at Fs 500000Hz, and a sequence X of points N8192 is obtained, as shown in fig. 2.
Step 2: and (5) carrying out power spectrum analysis on the X to obtain the power spectrum SPF of the X, as shown in figure 3. On the left half of fig. 3, a maximum of 123 can be found. Taking the left and right SPF elements at SPF number 123, which are sequentially denoted as (121, 0.0008), (122, 0.0040), (123, 0.2372), (124, 0.0028), (125, 0.0008);
and step 3: each data was substituted into equation (3) and calculated to give Amp of 0.9998.
Compared with the original signal amplitude of 1.0, the amplitude error is 0.0002.
Example 2:
let the signal be F (t):
F(t)=1.0·sin(4500·2π·t)+δ(t)
where δ (t) is gaussian noise with a standard deviation of 0.3. The specific implementation mode is as follows:
step 1: the frequency of the known F (t) signal is: 4500Hz, f (t) is sampled according to Fs ═ 20000Hz, and a sequence X of 1024 points is obtained, wherein the signal sequence is shown in fig. 4;
step 2: and (5) carrying out power spectrum analysis on the X to obtain the power spectrum SPF of the X, as shown in figure 5. In fig. 5, a maximum value 230 is found. Taking the left and right SPF elements at SPF serial number 230, and sequentially recording as (228, 0.0050), (229, 0.0143), (230, 0.1392), (231, 0.0597), (232, 0.0092);
and step 3: the data is substituted into equation (3) and calculated as: amp 0.9803.
Compared with the original signal amplitude of 1.0, the amplitude error is 0.0197.
Claims (4)
1. A method for accurately estimating a signal amplitude, comprising the steps of:
step 1: digitally sampling the analyzed single-frequency sinusoidal signal at a sampling rate of Fs to form a continuous digital signal sequence denoted X: x ═ { X _ i } (i ═ 0,1,2 … … N-1);
step 2: and carrying out PSD power spectrum analysis on the X to obtain the power spectrum SPF of the X, and searching the maximum numerical value in the left half numerical value of the SPF, wherein the maximum numerical value is marked as (n, C), C is the maximum numerical value, and n is the serial number of the maximum numerical value. Taking 2 SPF elements around n, and sequentially marking as (n-2, A), (n-1, B), (n +1, D) and (n +2, E);
and step 3: and substituting the data into the formula (1) for calculation to obtain the amplitude Amp of the detected signal.
2. The method as claimed in claim 1, wherein in step 1, the signal frequency of the single-frequency sinusoidal signal is known as Fsig.
3. A method for accurately estimating a signal amplitude as set forth in claim 1, wherein in step 1, after sampling, the digital signal sequence is formed according to DFT requirements.
4. A method of accurately estimating a signal amplitude as set forth in claim 3, wherein said requirement is: the number of samples is denoted as N, which is a positive integer power of 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380636.5A CN112541156B (en) | 2020-11-30 | 2020-11-30 | Signal amplitude accurate estimation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011380636.5A CN112541156B (en) | 2020-11-30 | 2020-11-30 | Signal amplitude accurate estimation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112541156A true CN112541156A (en) | 2021-03-23 |
CN112541156B CN112541156B (en) | 2024-02-02 |
Family
ID=75016753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011380636.5A Active CN112541156B (en) | 2020-11-30 | 2020-11-30 | Signal amplitude accurate estimation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112541156B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006079181A1 (en) * | 2005-01-31 | 2006-08-03 | Genesys Design Pty Ltd | Frequency estimation |
CN104463197A (en) * | 2014-11-19 | 2015-03-25 | 天津大学 | Underdetermined blind signal separation method and device based on frequency spectrum correction and reverse combination |
US20160049950A1 (en) * | 2014-08-12 | 2016-02-18 | Raytheon Company | Defeat of aliasing by incremental sampling |
CN107064629A (en) * | 2017-06-07 | 2017-08-18 | 东南大学 | It is a kind of that simple signal frequency estimating methods are integrated based on the segmentation that frequency relative bias is estimated |
-
2020
- 2020-11-30 CN CN202011380636.5A patent/CN112541156B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006079181A1 (en) * | 2005-01-31 | 2006-08-03 | Genesys Design Pty Ltd | Frequency estimation |
US20160049950A1 (en) * | 2014-08-12 | 2016-02-18 | Raytheon Company | Defeat of aliasing by incremental sampling |
CN104463197A (en) * | 2014-11-19 | 2015-03-25 | 天津大学 | Underdetermined blind signal separation method and device based on frequency spectrum correction and reverse combination |
CN107064629A (en) * | 2017-06-07 | 2017-08-18 | 东南大学 | It is a kind of that simple signal frequency estimating methods are integrated based on the segmentation that frequency relative bias is estimated |
Non-Patent Citations (1)
Title |
---|
韩峰;田敏;徐刚;: "基于二维幅值谱的正弦信号频率估计", 现代电子技术, no. 13 * |
Also Published As
Publication number | Publication date |
---|---|
CN112541156B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Schmittbuhl et al. | Reliability of self-affine measurements | |
CN110161421B (en) | Method for reconstructing battery impedance in set frequency range on line | |
CN104375976B (en) | The deficient hybrid matrix recognition methods determined in blind source separating based on tensor regular resolution | |
Minda et al. | A Review of Interpolation Methods Used for Frequency Estimation | |
CN105137373B (en) | A kind of denoising method of exponential signal | |
CN109358095B (en) | Quantitative measurement method and system for gas concentration of each component of mixed gas | |
CN102519597B (en) | Phase correction apodization method for Fourier transform spectrometer | |
CN106078508B (en) | A kind of abrasion of grinding wheel on-line monitoring method | |
CN109541306A (en) | A kind of harmonic wave harmonic detection method based on TLS-ESPRIT | |
CN112487604A (en) | Long-time nonlinear drift compensation method for output data of marine gravimeter | |
CN110702042B (en) | Thickness estimation method under signal aliasing condition in ultrasonic pulse echo thickness measurement | |
CN116337783A (en) | Multi-point calibration method and system for gas analyzer | |
CN104200458A (en) | MeanShift based high-resolution remote sensing image segmentation distance measurement optimization method | |
CN112541157B (en) | Signal frequency accurate estimation method | |
CN110231328B (en) | Raman spectrum quantitative analysis method based on half-peak height distance method | |
Harris et al. | Pitch Extraction by Computer Processing of High‐Resolution Fourier Analysis Data | |
CN112541156B (en) | Signal amplitude accurate estimation method | |
CN108490255A (en) | A kind of digital broadband high-precision frequency measurement method and system based on two-stage FFT | |
CN104535082A (en) | Method for determining inertial navigation element performances based on flight test and theoretical calculation | |
CN106323458B (en) | The method for measuring the fundamental vibration frequency of object | |
CN106644050B (en) | The method of the fundamental vibration frequency of object is measured in the case where Frequency spectrum quality is good | |
CN111521577B (en) | Infrared spectrum quantitative analysis method taking carbon dioxide peak area as reference | |
CN111426648B (en) | Method and system for determining similarity of infrared spectrogram | |
CN109029334B (en) | Rock mass structural plane roughness coefficient size effect global search measurement method | |
CN109387456B (en) | Crude oil density measuring method |
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 |