A method and system for sinusoidal parameter single-cycle estimation with parallel windowed complex spectrum correction
By using a parallel windowed complex spectrum correction method, a complex spectrum model containing positive and negative frequency components is constructed. Unknown parameters are eliminated by algebraic solution, which solves the stability and accuracy problems of frequency estimation under short data records and achieves fast and accurate frequency estimation.
Patent Information
- Application Number
- CN202611379265.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-07
- Publication Date
- 2026-11-27
AI Technical Summary
Under short data recording conditions, existing technologies for sinusoidal signal frequency estimation are severely affected by negative frequency interference, do not fully utilize spectral information, and rely on iteration in the solution process, which is prone to convergence instability, making it difficult to meet the requirements for fast, stable, and high-precision frequency estimation.
A parallel windowed complex spectrum correction method is adopted. By processing the sinusoidal signal in parallel through multiple window functions, a complex spectrum model containing positive and negative frequency components is constructed. The unknown parameters are eliminated by algebraic solution, and frequency estimation is achieved.
Without extending the observation time, it improves the accuracy and stability of frequency estimation and reduces estimation error, making it suitable for embedded measurement devices and near real-time frequency measurement systems.
Smart Images

Figure CN123176328A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of digital signal processing, frequency parameter measurement, and power system measurement technology, and particularly to a method and system for estimating sinusoidal parameters within a single cycle using parallel windowed complex spectrum correction. Background Technology
[0002] Frequency is a core parameter describing the characteristics of periodic signals, and its estimation directly affects the synchronization accuracy, control stability, power quality evaluation, and the accuracy of subsequent amplitude and phase parameter calculations in power systems. Discrete Fourier Transform (DFT) and Fast Fourier Transform (FFT) are widely used for sinusoidal signal parameter estimation due to their clear computational structure and low implementation cost. However, when the actual signal frequency does not fall on the discrete frequency grid, spectral leakage and the picket fence effect occur. Traditional interpolation methods construct frequency offset relationships using adjacent spectral lines. When the observation time is long, the negative frequency mirror components are far apart, and their influence can be approximately ignored. However, when the observation record is less than two signal periods, the positive and negative frequency spectral components overlap significantly, and the conjugate components of the negative frequency significantly interfere with the interpolation relationship, leading to large systematic errors.
[0003] Existing parametric high-resolution methods, such as the Prony method, subspace method, and matrix bundle method, can achieve high resolution, but they require the construction of large matrices and eigenvalue decomposition or iterative optimization. These methods place high demands on data length, model order, and computational resources, making it difficult to simultaneously meet the requirements of short recording times, fast response, and low complexity measurements. Other frequency estimation schemes using multi-window functions often only utilize spectral line amplitudes or real parts to construct approximate relationships, failing to fully utilize the amplitude and phase information contained in the complex spectrum, and not fully considering the influence of negative frequency components. Some derivations rely on local approximations or iterative solutions, resulting in limited accuracy, sensitivity to initial conditions, and unstable convergence in extremely short observation scenarios. Summary of the Invention
[0004] To address the shortcomings of existing technologies in frequency estimation of sinusoidal signals under short data recording conditions, such as severe interference from negative frequencies, insufficient utilization of spectral information, and unstable convergence due to iterative solutions, the present invention aims to provide a method and system for estimating sinusoidal parameters within a single cycle using parallel windowed complex spectrum correction. Without extending the observation time, this method fully utilizes the complete spectral information of positive and negative frequency components and the complex spectral response of the multi-window function, achieving fast, stable, and high-precision estimation of the sinusoidal signal frequency within a single cycle through a non-iterative algebraic solution.
[0005] To achieve the above objectives, this invention provides a method for single-cycle intra-wave estimation of sinusoidal parameters using parallel windowed complex spectrum correction, comprising the following steps: S1: Based on the requirement of sinusoidal signal parameter measurement in short data recording scenarios, the real-value sinusoidal signal to be measured is acquired by a sampling device at a preset sampling frequency to obtain a discrete sampling sequence of length N; S2: Based on the discrete sampling sequence, the same discrete sampling sequence is subjected to parallel weighting processing through at least two different window functions to obtain a multi-channel windowed sampling sequence; S3: Based on the multi-channel windowed sampling sequence, the spectrum of each windowed sampling sequence is calculated by discrete Fourier transform, and the same discrete spectral line position is selected to obtain multiple complex spectral coefficients corresponding to different window functions; S4: Based on the characteristic of overlapping positive and negative frequency component spectra under short data recording, by constructing a parallel window complex spectrum model that simultaneously includes the positive frequency window response and the negative frequency conjugate window response, the spectrum observation expression of each window function at the selected spectral line is obtained. S5: Based on multiple complex spectral coefficients and spectral observation expressions, the unknown signal amplitude and initial phase are eliminated through the precise analytical relationship between the spectral responses of different window functions, resulting in a spectral correction equation containing only frequency parameters; S6: Based on the spectrum correction equation, the spectrum correction equation is transformed into an equivalent polynomial equation by introducing an exponential variable related to the frequency offset for variable substitution. S7: Based on polynomial equations, through algebraic root-finding operations and physical constraint filtering, the physical effective roots corresponding to the actual signal frequencies are obtained; S8: Based on the physical effective root, the frequency estimate of the sinusoidal signal under test is obtained by converting the frequency offset with the actual frequency through the mapping relationship.
[0006] Preferably, step S1 specifically includes: Based on the amplitude, estimated frequency, sampling frequency, and initial phase of the real-valued sinusoidal signal to be measured, a signal model is constructed through discrete sampling, resulting in a discrete sampling sequence: ; in, The signal amplitude, For the frequency to be estimated, Sampling frequency, For the initial phase, Noise term; Based on the actual signal frequency, the normalized spectral line position corresponding to the actual frequency is obtained through normalization calculation: ; Based on the selected discrete Fourier transform spectral line index By performing a difference calculation, the frequency shift relative to the selected spectral line is obtained: .
[0007] Preferably, in step S2, at least two different window functions are a rectangular window and a Hann window; based on the same discrete sampling sequence, two windowed sampling sequences are obtained by multiplying them point-by-point with the rectangular window and the Hann window respectively: ; The rectangular window expression is as follows: ; The Hann window expression is: .
[0008] Preferably, step S3 specifically includes: Based on multi-channel windowed sampling sequences, the full-band spectrum of each sequence is calculated using N-point Discrete Fourier Transform. Based on the principle of maximizing spectral amplitude, initial spectral line indices are determined by searching for spectral peak positions. Complex spectral coefficients at the same spectral line positions are extracted from both spectra to obtain the complex spectral coefficients of the rectangular window and the Hann window. The selected spectral line index... satisfy If the initial spectral peak is located on the DC spectral line, then... Adjust to 1; if the initial spectral peak is located at the Nyquist frequency, then... Adjusted to .
[0009] Preferably, step S4 specifically includes: Based on the complex exponential decomposition of real-valued sinusoidal signals, a parallel window complex spectral model is obtained by applying the spectral response of the window function to the positive frequency component and the negative frequency conjugate component, respectively. ; in, Let be the discrete spectral response of the i-th window function, denoted by . Represents complex conjugate; complex amplitude C The expression is: ; This model retains both the positive frequency window response term and the negative frequency conjugate window response term, making it suitable for spectral overlap scenarios where the observation time is less than two signal periods.
[0010] Preferably, step S5 specifically includes: Based on the frequency domain analytical relationship between rectangular windows and Hann windows, a correlation between the spectral responses of the two window functions is established by defining a spectral ratio function; where the spectral ratio function is the ratio of the spectral response of the Hann window to that of the rectangular window. Based on two-way complex spectral coefficients and a parallel window complex spectral model, unknown complex amplitudes are eliminated using algebraic elimination. C and its conjugate This yields only the actual spectral line positions. Spectrum correction equation: in, Simultaneously, the real and imaginary parts of the complex spectrum of the rectangular window and the Hann window are utilized, and the combined effect of the positive frequency response and the negative frequency conjugate response is also considered.
[0011] Preferably, step S6 specifically includes: based on the nonlinear form of the spectrum correction equation, by introducing a frequency offset... Related index variables t : ; The exponential, sine, and denominator terms in the rectangular window spectral response are rewritten as polynomials in t, and the fractions are eliminated by multiplying by the common denominator, resulting in an equivalent 9th-degree polynomial equation: ; The polynomial coefficients are determined by the number of sampling points, the constant parameters corresponding to the selected spectral line positions, and the two complex spectral coefficients.
[0012] Preferably, step S7 specifically includes: Based on the 9th degree polynomial equation, the problem of finding the roots of the polynomial is transformed into the problem of solving the matrix eigenvalues by constructing the adjoint matrix of the polynomial. By calculating all the eigenvalues of the adjoint matrix, all candidate roots of the polynomial are obtained. Based on each candidate root, the corresponding frequency offset and normalized spectral line position are calculated by frequency mapping. The physical effective roots are obtained by sequentially screening through unit circle neighborhood constraints, allowable frequency offset constraints and residual minimum constraints. The unit circle neighborhood constraint is as follows: , As candidate roots, The threshold is the unit circle neighborhood; the allowed frequency offset constraint is: ,in This represents the frequency offset corresponding to the candidate root. This is the frequency offset threshold; The minimum residual constraint is: when multiple candidate roots remain after screening, select the candidate root that minimizes the residual of the original spectral correction equation as the physical effective root.
[0013] Preferably, step S8 specifically includes: Frequency offset corresponding to the physically effective roots obtained through screening With selected spectral line index The actual normalized spectral line positions are obtained through superposition calculation: Based on the mapping relationship between normalized spectral line positions, sampling frequency, and number of sampling points, the frequency estimate of the sinusoidal signal under test is obtained through conversion: It outputs the frequency estimate to the controller, monitoring platform or parameter measurement module for grid synchronization, frequency tracking or anomaly detection and handling.
[0014] Preferably, a sinusoidal parameter single-cycle intra-cycle estimation system with parallel windowed complex spectrum correction includes: The acquisition module is used to measure the parameters of sinusoidal signals in scenarios with short data recording. It acquires the real-value sinusoidal signal to be measured at a preset sampling frequency through a sampling device to obtain a discrete sampling sequence of length N. The weighted processing module is used to perform parallel weighted processing on the same discrete sampling sequence using at least two different window functions to obtain a multi-channel windowed sampling sequence. The spectrum calculation module is used to calculate the spectrum of each windowed sampling sequence based on the multi-channel windowed sampling sequence by using discrete Fourier transform, and select the same discrete spectral line position to obtain multiple complex spectral coefficients corresponding to different window functions. The model building module is used to construct a parallel window complex spectrum model that simultaneously includes the positive frequency window response and the negative frequency conjugate window response, based on the characteristic of the overlap of the positive and negative frequency component spectra under short data recordings, and to obtain the spectrum observation expression of each window function at the selected spectral line. The analytical module is used to eliminate the unknown signal amplitude and initial phase based on multiple complex spectral coefficients and spectral observation expressions, and obtain a spectral correction equation containing only frequency parameters by using the precise analytical relationship between the spectral responses of different window functions. The variable substitution module is used to transform the spectrum correction equation into an equivalent polynomial equation by introducing an exponential variable related to the frequency offset. The computational filtering module is used to obtain the physical effective roots corresponding to the actual signal frequencies based on polynomial equations through algebraic root-finding operations and physical constraints. The conversion module is used to convert the frequency of the sinusoidal signal under test based on the physical effective root and the mapping relationship between the frequency offset and the actual frequency.
[0015] The advantages and beneficial effects of this invention compared to the prior art are: 1. This invention establishes a complete spectral model that simultaneously includes positive frequency components and negative frequency conjugate components. It comprehensively considers the combined influence of the two conjugate frequency components of a real-valued single-frequency sinusoidal signal on the discrete Fourier transform spectrum, thereby improving the accuracy of frequency estimation under short data recording conditions, especially under data recording conditions within a single period, and reducing the estimation error caused by leakage of negative frequency components and spectral overlap.
[0016] 2. This invention applies different window functions to the same real-valued single-frequency sinusoidal signal and obtains two complex spectral observations at the same discrete Fourier transform spectral line. By jointly utilizing the real part, imaginary part, amplitude, and phase information of the complex observations, complementary constraints are formed between the spectral responses of different window functions. Therefore, without increasing the number of adjacent spectral lines or extending the observation time, additional frequency information can be extracted, improving the identifiability, accuracy, and stability of the frequency estimation results.
[0017] 3. This invention utilizes the precise analytical relationship between the spectral responses of different window functions to eliminate unknown parameters such as signal amplitude and initial phase. It transforms the spectral correction equation containing only fractional frequency offsets into an equivalent polynomial equation, and determines the actual frequency through algebraic root finding, physical constraints on candidate roots, and model residual screening. This method eliminates the need for pre-obtaining signal amplitude and initial phase, it avoids iterative optimization or empirical fitting, and its computational flow is well-defined, avoiding the dependence of iterative algorithms on initial values and convergence conditions. Furthermore, this method only requires processing such as weighting different window functions, discrete Fourier transform, construction of the spectral correction equation, and polynomial root finding, making it easy to implement in embedded measurement devices and near-real-time frequency measurement systems.
[0018] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description
[0019] Figure 1 This is a flowchart of a single-cycle intra-sinus estimation method for sinusoidal parameters using parallel windowed complex spectrum correction, as described in an embodiment of the present invention. Figure 2 This is a schematic diagram illustrating the formation of two sets of complex spectrum observations at the same discrete Fourier transform spectral line position in an embodiment of the present invention. Detailed Implementation
[0020] In the description of this invention, it should be noted that the terms "upper," "lower," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product is in use. They are used only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. In the description of this invention, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," and "connect" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0021] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0022] like Figures 1-2 As shown, this embodiment uses a rectangular window and a Hann window to process the same real-valued single-frequency sinusoidal signal in parallel. Let the number of sampling points be... sampling frequency Hz, signal amplitude initial phase Available The value can be any value within the range. In this case, it is set to 25Hz, which corresponds to the normalized spectral line position of the actual frequency. .
[0023] Step S1: Obtain the sampling sequence of the sinusoidal signal to be tested.
[0024] Using voltage sensors, current sensors, vibration sensors, acoustic sensors, or other sampling devices, at a sampling frequency Acquire the real-valued sinusoidal signal to be measured, and form a signal of length . discrete sequence : .
[0025] in, The signal amplitude, For the frequency to be estimated, Sampling frequency, For the initial phase, This is the noise term. The normalized spectral line position corresponding to the actual frequency is defined as: .
[0026] Select the discrete Fourier transform spectral line index as The frequency offset relative to the selected spectral line is defined as: .
[0027] In the case of short records, There is no need to limit ourselves to the traditional interpolation methods commonly used. Within this range, the present invention can set a wider allowable offset interval according to the preset frequency measurement range.
[0028] In this case, the signal to be tested is generated first: .
[0029] initial phase Available It can take any value.
[0030] Step S2: Perform parallel windowing on the acquired sinusoidal signal sequence.
[0031] Set at least two different window functions and Multiplying each sampled sequence by the given values yields: , .
[0032] Preferably, It is a rectangular window. For Hann windows, that is: ; ; Step S3: Calculate and extract the complex spectrum at the same spectral line.
[0033] To each and Perform an N-point discrete Fourier transform. Roughly search for the maximum value of the spectral peak as the selected spectral line. Complex coefficients at the same spectral line positions are extracted from the two sets of spectra. , To maintain the independence of complex conjugate constraints, it is preferable to select... If the approximate spectral peak is located on the DC spectral line, then it can be... Adjust to 1. When the coarse maximum spectral line is located at When, you can select .
[0034] The final spectral line position selected in this case is: The position of the normalized spectral line corresponding to the actual frequency This also means that only 0.5 cycles of the current signal have been observed; the actual frequency offset is... The complex spectrum at the selected spectral line is: ; .
[0035] Step S4: Establish a parallel window complex spectrum model that preserves positive and negative frequency components.
[0036] A real-valued sinusoidal signal can be represented as a superposition of a complex exponent with positive frequency and a complex exponent with negative frequency. For any window function... Its selected spectral lines The spectral observations at that location consist of the positive frequency window response and the negative frequency conjugate window response: ; , ; in: Let be the discrete spectral response of the i-th window function, with the symbol * denoteing complex conjugate. This model does not neglect the negative frequency mirror term and is suitable for cases where the positive and negative spectra overlap significantly when the observation time is less than two periods.
[0037] Step S5: Construct the spectral correction equation using the analytical relationship of the window function.
[0038] For a rectangular window, its spectral response It can be written in finite-length Dirichlet kernel form: ; Hann window spectrum It can be obtained by linearly combining the three frequency shift components of the rectangular window spectrum: ; Define the two-window spectrum ratio function: ; Based on the complex spectrum equations of two parallel windows: ; ; Eliminating unknown complex amplitude values and its conjugate This yields only the actual spectral line positions. The spectral correction equation can be written in the following equivalent form: ; ; in, Indicates a rectangular window in Complex spectral lines at that location, Indicates the Hann window is in The complex spectral line at that location. This equation fully utilizes the real and imaginary parts of two complex observations, and simultaneously considers the conjugate responses at positive and negative frequencies.
[0039] Step S6: To avoid directly using iterative algorithms such as Newton's algorithm to solve the problem. We introduce an exponential variable related to the frequency offset. We define a constant independent of the parameter to be determined: , , , .
[0040] and frequency offset Related variables: .
[0041] Rewrite the exponential, sine, and denominator terms in the rectangular window spectrum and its frequency shift ratio as a polynomial of t, and eliminate the fractions by multiplying by the common denominator to obtain the equivalent polynomial: .
[0042] In the formula: ; The other four intermediate polynomials , , as well as The calculation expression is: ; In the formula: .
[0043] The final polynomial obtained in this case The coefficients, corresponding to the powers from highest to lowest, are shown in Table 1: Table 1 shows the polynomial coefficients and their corresponding powers.
[0044] Step S7: Obtain candidate roots using the standard polynomial root-finding function. And filter to retain only the unique root.
[0045] Based on the polynomial obtained in step S6 Simplifying, we know that its highest degree term is 9, therefore we can assume: ; Construct its adjoint matrix : ; Then polynomial The root equal matrix The set of eigenvalues, namely: .
[0046] In the formula This represents the eigenvalues of the matrix. Then, for each candidate root, the corresponding frequency offset is calculated: ; ; Candidate roots should at least satisfy the unit circle neighborhood constraint: ; Allowable frequency offset constraints: ; When only one candidate root is retained after screening, it is taken as the physically valid root; when multiple candidate roots are retained, the candidate root that minimizes the residual of the original spectral correction equation is selected, i.e., the root that minimizes the residual of the original spectral correction equation is selected. .
[0047] In this case Find the roots of the above polynomial to obtain the candidate roots. The constraints on the unit circle neighborhood and the frequency offset are shown in Table 2. Table 2. Candidate roots and their unit circle neighborhood constraints, and frequency offset constraints.
[0048] Therefore, through screening, the unique root is finally obtained. , .
[0049] Step S8: Calculate and output the signal frequency. Based on the selected frequency offset... and selected spectral lines The actual normalized spectral line positions and frequency estimates are obtained: .
[0050] The frequency estimation results can be further sent to the controller, monitoring platform, protection device or parameter measurement module for grid synchronization, frequency tracking, anomaly detection and other subsequent processing.
[0051] The final estimated normalized spectral line positions and frequencies obtained in this case are as follows: Hz.
[0052] The deviation between the frequency estimate and the actual frequency is: Hz.
[0053] In this application, unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. In case of any inconsistency, the meaning set forth in this specification or derived from the content described herein shall prevail. Furthermore, the terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit the scope of this application.
[0054] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.
Claims
1. A method for estimating sinusoidal parameters within a single cycle using parallel windowed complex spectrum correction, characterized in that, Includes the following steps: S1: Based on the requirement of sinusoidal signal parameter measurement in short data recording scenarios, the real-value sinusoidal signal to be measured is acquired by a sampling device at a preset sampling frequency to obtain a discrete sampling sequence of length N; S2: Based on the discrete sampling sequence, the same discrete sampling sequence is subjected to parallel weighting processing through at least two different window functions to obtain a multi-channel windowed sampling sequence; S3: Based on the multi-windowed sampling sequence, the spectrum of each windowed sampling sequence is calculated by discrete Fourier transform, and the same discrete spectral line position is selected to obtain multiple complex spectral coefficients corresponding to different window functions; S4: Based on the characteristic of overlapping positive and negative frequency component spectra under short data recording, by constructing a parallel window complex spectrum model that simultaneously includes the positive frequency window response and the negative frequency conjugate window response, the spectrum observation expression of each window function at the selected spectral line is obtained. S5: Based on the multiple complex spectral coefficients and the spectral observation expression, the unknown signal amplitude and initial phase are eliminated through the precise analytical relationship between the spectral responses of different window functions, resulting in a spectral correction equation containing only frequency parameters; S6: Based on the aforementioned spectrum correction equation, the spectrum correction equation is transformed into an equivalent polynomial equation by introducing an exponential variable related to the frequency offset for variable substitution. S7: Based on the polynomial equation, the physical effective root corresponding to the actual signal frequency is obtained through algebraic root-finding operations and physical constraint screening; S8: Based on the physical effective root, the frequency estimate of the sinusoidal signal to be measured is obtained by converting the frequency offset with the actual frequency through the mapping relationship.
2. The method for single-cycle intra-wave estimation of sinusoidal parameters using parallel windowed complex spectrum correction according to claim 1, characterized in that, Step S1 specifically includes: Based on the amplitude, estimated frequency, sampling frequency, and initial phase of the real-valued sinusoidal signal to be measured, a signal model is constructed through discrete sampling, resulting in a discrete sampling sequence: ; in, The signal amplitude, For the frequency to be estimated, Sampling frequency, For the initial phase, Noise term; Based on the actual signal frequency, the normalized spectral line position corresponding to the actual frequency is obtained through normalization calculation: ; Based on the selected discrete Fourier transform spectral line index By performing a difference calculation, the frequency shift relative to the selected spectral line is obtained: .
3. The method for single-cycle intra-wave estimation of sinusoidal parameters using parallel windowed complex spectrum correction according to claim 2, characterized in that, In step S2, the at least two different window functions are a rectangular window and a Hann window; based on the same discrete sampling sequence, two windowed sampling sequences are obtained by multiplying them point-by-point with the rectangular window and the Hann window respectively: ; The rectangular window expression is as follows: ; The Hann window expression is: 。 4. The method for single-cycle intra-wave estimation of sinusoidal parameters using parallel windowed complex spectrum correction according to claim 3, characterized in that, Step S3 specifically includes: Based on multi-channel windowed sampling sequences, the full-band spectrum of each sequence is calculated using N-point Discrete Fourier Transform. Based on the principle of maximizing spectral amplitude, initial spectral line indices are determined by searching for spectral peak positions. Complex spectral coefficients at the same spectral line positions are extracted from both spectra to obtain the complex spectral coefficients of the rectangular window and the Hann window. The selected spectral line index... satisfy If the initial spectral peak is located on the DC spectral line, then... Adjust to 1; if the initial spectral peak is located at the Nyquist frequency, then... Adjusted to .
5. The method for single-cycle intra-wave estimation of sinusoidal parameters for parallel windowed complex spectrum correction according to claim 4, characterized in that, Step S4 specifically includes: Based on the complex exponential decomposition of real-valued sinusoidal signals, a parallel window complex spectral model is obtained by applying the spectral response of the window function to the positive frequency component and the negative frequency conjugate component, respectively. ; in, For the first i The discrete spectral response of the window function, sign Represents complex conjugate; complex amplitude C The expression is: ; This model retains both the positive frequency window response term and the negative frequency conjugate window response term, making it suitable for spectral overlap scenarios where the observation time is less than two signal periods.
6. The method for single-cycle intra-wave estimation of sinusoidal parameters for parallel windowed complex spectrum correction according to claim 5, characterized in that, Step S5 specifically includes: Based on the frequency domain analytical relationship between rectangular windows and Hann windows, a correlation between the spectral responses of the two window functions is established by defining a spectral ratio function between the two windows; wherein the spectral ratio function is the ratio of the spectral response of the Hann window to that of the rectangular window; based on two-way complex spectral coefficients and a parallel window complex spectral model, unknown complex amplitudes are eliminated by algebraic elimination. C and its conjugate This yields only the actual spectral line positions. Spectrum correction equation: in, Simultaneously, the real and imaginary parts of the complex spectrum of the rectangular window and the Hann window are utilized, and the combined effect of the positive frequency response and the negative frequency conjugate response is also considered.
7. The method for single-cycle intra-wave estimation of sinusoidal parameters using parallel windowed complex spectrum correction according to claim 6, characterized in that, Step S6 specifically includes: based on the nonlinear form of the spectral correction equation, by introducing a frequency offset... Related index variables t : ; Rewrite the exponential, sine, and denominator terms in the rectangular window spectral response as a function of... t The polynomial form is obtained by multiplying the common denominator to eliminate the fractions, resulting in an equivalent 9th-degree polynomial equation: ; The polynomial coefficients are determined by the number of sampling points, the constant parameters corresponding to the selected spectral line positions, and the two complex spectral coefficients.
8. The method for single-cycle intra-wave estimation of sinusoidal parameters using parallel windowed complex spectrum correction according to claim 7, characterized in that, Step S7 specifically includes: Based on the aforementioned 9th-degree polynomial equation, the polynomial root-finding problem is transformed into a matrix eigenvalue solving problem by constructing the adjoint matrix of the polynomial. By calculating all the eigenvalues of the adjoint matrix, all candidate roots of the polynomial are obtained. Based on each candidate root, the corresponding frequency offset and normalized spectral line position are calculated through frequency mapping. The physical effective roots are obtained by sequentially filtering through unit circle neighborhood constraints, allowable frequency offset constraints, and minimum residual constraints. The unit circle neighborhood constraint is: : , As candidate roots, The threshold is the unit circle neighborhood; the allowed frequency offset constraint is: ,in This represents the frequency offset corresponding to the candidate root. This is the frequency offset threshold; The minimum residual constraint is: when multiple candidate roots remain after screening, select the candidate root that minimizes the residual of the original spectral correction equation as the physical effective root.
9. The method for single-cycle intra-wave estimation of sinusoidal parameters for parallel windowed complex spectrum correction according to claim 8, characterized in that, Step S8 specifically includes: Frequency offset corresponding to the physically effective roots obtained through screening With selected spectral line index The actual normalized spectral line positions are obtained through superposition calculation: Based on the mapping relationship between normalized spectral line positions, sampling frequency, and number of sampling points, the frequency estimate of the sinusoidal signal under test is obtained through conversion: It outputs the frequency estimate to the controller, monitoring platform or parameter measurement module for grid synchronization, frequency tracking or anomaly detection and handling.
10. A parallel windowed complex spectrum correction sinusoidal parameter single-cycle intra-wave estimation system, used to implement the method as described in any one of claims 1-9, characterized in that, include: The acquisition module is used to measure the parameters of sinusoidal signals in scenarios with short data recording. It acquires the real-value sinusoidal signal to be measured at a preset sampling frequency through a sampling device to obtain a discrete sampling sequence of length N. The weighted processing module is used to perform parallel weighted processing on the same discrete sampling sequence using at least two different window functions based on the discrete sampling sequence, so as to obtain a multi-channel windowed sampling sequence. The spectrum calculation module is used to calculate the spectrum of each windowed sampling sequence based on the multi-channel windowed sampling sequence by means of discrete Fourier transform, and select the same discrete spectral line position to obtain multiple complex spectral coefficients corresponding to different window functions. The model building module is used to construct a parallel window complex spectrum model that simultaneously includes the positive frequency window response and the negative frequency conjugate window response, based on the characteristic of the overlap of the positive and negative frequency component spectra under short data recordings, and to obtain the spectrum observation expression of each window function at the selected spectral line. The analytical module is used to eliminate the unknown signal amplitude and initial phase based on the multiple complex spectral coefficients and the spectral observation expression, and obtain a spectral correction equation containing only frequency parameters by using the precise analytical relationship between the spectral responses of different window functions. The variable substitution module is used to transform the spectrum correction equation into an equivalent polynomial equation by introducing an exponential variable related to the frequency offset. The operation and filtering module is used to obtain the physical effective root corresponding to the actual signal frequency based on the polynomial equation through algebraic root-finding operations and physical constraint filtering. The conversion module is used to convert the frequency of the sinusoidal signal under test based on the physical effective root and the mapping relationship between the frequency offset and the actual frequency.
