A broadband voltage signal measurement method and system

By converting the broadband voltage signal into digital data, performing signal conditioning and filtering, detecting the peak signal, extracting its characteristics and estimating the signal-to-noise ratio, it solves the problem of inaccurate measurement of the broadband voltage signal in the existing technology and achieves high precision and real-time The monitoring results are suitable for large-scale data processing.

CN117434337BActive Publication Date: 2024-09-20STATE GRID ANHUI ELECTRIC POWER CO LTD MARKETING SERVICE CENTER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310872465.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-17
Publication Date
2024-09-20
Estimated Expiration
2043-07-17

AI Technical Summary

Technical Problem

Existing broadband voltage signal measurement methods are not accurate enough and cannot effectively remove noise and spurious signals, resulting in inaccurate measurement results.

Method used

A broadband voltage signal measurement method is adopted, including converting the broadband voltage signal into digital data, performing signal conditioning and filtering, using a Butterworth filter to remove noise, performing spectrum analysis, detecting the peak signal, extracting its frequency and amplitude characteristics, and Based on signal-to-noise ratio estimation and set thresholds, alarm mechanisms are triggered to handle abnormal situations.

Benefits of technology

It achieves high-precision broadband voltage signal measurement, provides real-time, automated monitoring results, can detect and process signal anomalies in a timely manner, and is suitable for large-scale data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117434337B
    Figure CN117434337B
Patent Text Reader

Abstract

The present invention discloses a method and system for measuring a broadband voltage signal, including: converting a broadband voltage signal into digital data; performing signal conditioning and filtering on the collected data to remove noise and stray signals; performing spectrum analysis on the filtered signal to obtain the distribution of the signal at different frequencies; detecting the presence of a peak signal and extracting its frequency and amplitude characteristics; estimating the signal-to-noise ratio of the broadband voltage signal based on the extracted characteristics and the known background noise level; analyzing the estimated signal-to-noise ratio, setting a threshold and an alarm mechanism, and if the signal-to-noise ratio is lower than the set threshold, triggering a corresponding alarm to ensure timely detection and processing of signal abnormalities. The present invention provides an efficient, accurate and reliable solution for the measurement and monitoring of broadband voltage, and has the advantages of real-time, high precision, automation and customizability, and is suitable for applications in a variety of fields, including power systems, communication systems, industrial control, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of voltage detection, and in particular to a broadband voltage signal measurement method and system. Background Art

[0002] A broadband voltage signal is a voltage signal that varies over a wide frequency range. It is not limited to a specific frequency, but contains multiple frequency components. This signal can include sine waves, square waves, pulses, etc. of various frequencies, and the specific frequency range depends on the application requirements. Broadband voltage signals are often used in fields such as testing, measurement, and communication, such as spectrum analysis, sound processing, and radio transmission. However, the current broadband voltage measurement and monitoring results are not accurate enough. Summary of the invention

[0003] In order to solve the above problems, the present invention provides a broadband voltage signal measurement method and system.

[0004] To achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0005] In one aspect, the present invention discloses a broadband voltage signal measurement method and system, comprising the following steps:

[0006] Step 1: Convert the broadband voltage signal into digital data;

[0007] Step 2: Signal conditioning and filtering of the acquired data to remove noise and spurious signals;

[0008] Step 3: Perform spectrum analysis on the filtered signal to obtain the distribution of the signal at different frequencies;

[0009] Step 4: Detect the existence of the peak signal and extract its frequency and amplitude characteristics;

[0010] Step 5: Estimate the signal-to-noise ratio of the broadband voltage signal based on the extracted features and the known background noise level;

[0011] Step 6: Analyze the estimated signal-to-noise ratio, set thresholds and alarm mechanisms, and trigger corresponding alarms if the signal-to-noise ratio is lower than the set threshold to ensure that signal anomalies are discovered and handled in a timely manner.

[0012] Further: step 2 includes: using a Butterworth filter, determining the order and cutoff frequency of the Butterworth filter; applying the Butterworth filter to the collected data; converting the Butterworth filter into a discrete form of a digital filter.

[0013] Further: The order and cutoff frequency of applying a Butterworth filter to the acquired data include:

[0014] The transfer function of the Butterworth filter is expressed in the form of a rational polynomial. For an N-order Butterworth filter, its transfer function H(z) is expressed as:

[0015] H(z)=G / (1+b1z -1 +b2z -2 +...+b n z -n )

[0016] Where G is the gain coefficient of the filter, b1, b2, ..., b n It is the coefficient of the Butterworth filter. The value of the coefficient is calculated according to the cutoff frequency and order of the filter. The transfer function form of the Butterworth filter is 1+b1z -1 +b2z -2 +...+b n z -n is the denominator polynomial of the filter, z -1 Denotes unit delays b1, b2, ..., b n are the coefficients of the denominator polynomial;

[0017] Convert the above transfer function H(z) into a difference equation:

[0018] Apply a Z transform:

[0019] The z in the transfer function -1 Substitute Z and express the transfer function H(z) as H(Z)=G / (1+b1Z+b2Z 2 +...+b n Z n );

[0020] Express H(Z) in numerator and denominator polynomial form:

[0021] H(Z)=Y(Z) / X(Z), where Y(Z) is the Z-transform of the output signal and X(Z) is the Z-transform of the input signal;

[0022] Subtract the denominator polynomial from the numerator polynomial:

[0023] 1+b1Z+b2Z 2 +...+b n Z n =Y(Z)-H(Z)X(Z)

[0024] Express Y(Z) and X(Z) as difference equations:

[0025] Y(Z)-H(Z)X(Z)=y0+y1Z -1 +y2Z -2 +...+y m Z-m -(b0+b1Z -1 +b2Z -2 +...+b n Z -n )(x0+x1Z -1 +x2Z -2 +...+x m Z -m )

[0026] Among them, y0, y1, y2, ..., y m and x0, x1, x2, ..., x m Represent the current and past sample values ​​of the output signal and input signal respectively;

[0027] Rearrange the difference equation:

[0028] According to the power of Z, the difference equation is sorted, and all terms are classified and sorted into a difference equation form such as y[n]=..., where y[n] represents the current sample value of the output signal, and n represents the current discrete time step;

[0029] According to the recursive relationship of the difference equation, the value of the output signal is calculated using a recursive algorithm:

[0030] initialization:

[0031] Set initial conditions, including initial values ​​of input signal x and output signal y;

[0032] Recursive calculation:

[0033] For each sampling point n, the output signal y[n] is calculated according to the recursive relationship of the difference equation;

[0034] The recurrence relation of the difference equation is:

[0035] y[n]=b0x[n]+b1x[n -1 ]+b2x[n -2 ]+...+b n x[n -η ]-a1y[n -1 ]-a2y[n -2 ]-...-a m y[n -m ]

[0036] According to the differential equation, the current and past input signal values ​​and output signal values ​​are used for weighted sum operation to obtain the output signal value y[n] at the current sampling point;

[0037] In the recursive calculation, the output signal value y[n] of each calculation is used as part of the input signal value x[n] of the next calculation;

[0038] The recursive calculation is performed in chronological order, starting from the initial moment, and the value of the output signal is calculated at each sampling point until the output signal calculation of all sampling points is completed;

[0039] Loop iteration:

[0040] Repeat the recursive calculation for each sampling point until the output signal calculation of all sampling points is completed.

[0041] Further: Step 3 includes:

[0042] Take the filtered signal as input and make sure the signal length is a power of 2. If the signal length is not a power of 2, make adjustments, which include:

[0043] Determine the length L of the original signal;

[0044] Find the smallest power of 2 greater than L, denoted by N, that is, N = 2^ceil(log2(L)), where ceil(x) means rounding up x;

[0045] Add NL zero values ​​at the end of the original signal to make the signal length N;

[0046] The preprocessed signal is transformed using the FFT algorithm to convert the time domain signal into a frequency domain signal, which includes:

[0047] Determine the length of the input signal:

[0048] Determine the length of the preprocessed input signal as N;

[0049] Rearrange the input signal:

[0050] Using the bit reversal rearrangement method, the sampling points of the input signal are arranged in reverse order of the binary bits;

[0051] Perform butterfly operation:

[0052] The butterfly operation is used to implement the frequency domain decomposition and merging operations. The butterfly operation divides the input signal into two groups, each group contains adjacent sampling points, and then performs frequency domain operations on each group to obtain the output. The specific steps are as follows:

[0053] Iterate the input signal, and the step size of each iteration is half of the size of the current sub-problem, that is, perform frequency domain decomposition;

[0054] In each iteration step, the input signal is divided into two groups according to the butterfly structure, each group contains adjacent sampling points;

[0055] Perform frequency domain operations on each group and calculate two frequency domain results;

[0056] Combine the two frequency domain results into one result to obtain a partial frequency domain output;

[0057] Repeat the above steps until all iterations are completed and the final frequency domain output is obtained;

[0058] Repeated counting and merging:

[0059] By repeatedly performing butterfly operations, the input signal is continuously decomposed into smaller sub-problems until the scale is 1, that is, the complete result of the frequency domain output is obtained;

[0060] Get frequency domain results:

[0061] Get the frequency domain representation of the input signal, including the values ​​of the real and imaginary parts, and calculate the modulus value or the square of the modulus value of the frequency domain signal to represent the distribution of the signal at different frequencies;

[0062] For the obtained frequency domain signal, take its modulus value or the square of the modulus value as the spectrum result, which includes:

[0063] Modulo value:

[0064] In the frequency domain signal obtained by FFT calculation, the modulus value of the frequency domain signal represents the amplitude information of the frequency point, that is, the size of the signal at the frequency. The steps to obtain the spectrum result are as follows:

[0065] For the frequency domain signal obtained by FFT calculation, the modulus value of each frequency point is calculated respectively;

[0066] The calculation of the modulus value can be achieved using the Euclidean distance, that is, squaring the real and imaginary parts of each frequency point, then summing the two square values, and finally taking the square root;

[0067] After obtaining the modulus value of each frequency point, the spectrum result can be obtained, where the horizontal axis represents the frequency and the vertical axis represents the amplitude;

[0068] The spectrum result after modulo value can intuitively represent the amplitude of the signal at different frequencies;

[0069] Square the modulus value:

[0070] Take the square of the modulus value of the frequency domain signal calculated by FFT as the spectrum result to obtain the energy spectrum. The steps to obtain the spectrum result are as follows:

[0071] For the frequency domain signal obtained by FFT calculation, the modulus value of each frequency point is calculated respectively;

[0072] Square the modulus value of each frequency point to obtain the energy value of the corresponding frequency point;

[0073] After obtaining the energy value of each frequency point, the spectrum result is obtained, where the horizontal axis represents frequency and the vertical axis represents energy;

[0074] The spectrum result after taking the square of the modulus value can reflect the energy distribution of the signal at different frequencies and is used to analyze the frequency domain characteristics of the signal;

[0075] According to the output results, the calibration of the frequency axis is obtained, which includes:

[0076] Determine the sampling rate:

[0077] Determine the sampling rate of the input signal for FFT calculation;

[0078] Determine the length of the FFT result:

[0079] The length of the frequency domain signal calculated by FFT is N, which is half the length of the input signal and represents the number of frequency points contained in the frequency domain signal;

[0080] Calculate the frequency resolution:

[0081] Frequency resolution refers to the interval between each frequency point in the frequency domain signal. According to the sampling rate and the length of the FFT result, the formula for calculating frequency resolution is:

[0082] Δf=Fs / N, Δf, unit is Hz;

[0083] Calibrate the frequency axis:

[0084] According to the frequency resolution and the length of the FFT result, the frequency corresponding to each point on the frequency axis is calibrated. The frequency corresponding to the first point on the frequency axis is 0 Hz. The frequencies of subsequent points on the frequency axis can be calculated by the following formula:

[0085] f=k*Δf

[0086] Where f is the frequency, k is the index of the frequency point, and Δf is the frequency resolution.

[0087] According to the above calculation, the frequency value corresponding to each point on the frequency axis is obtained, so as to perform frequency calibration.

[0088] Further: Step 4 includes:

[0089] Peak Detection:

[0090] Define the Gaussian kernel:

[0091] Use the Gaussian function as the smooth kernel function. The Gaussian function formula is expressed as:

[0092] G(x)=(1 / sqrt(2*π*σ^2))*exp(-(x-μ)^2 / (2*σ^2))

[0093] Where G(x) represents the value of the Gaussian function at position x, μ represents the mean of the Gaussian function, and σ represents the standard deviation of the Gaussian function;

[0094] Select the smoothing window size:

[0095] Choose the appropriate window size based on specific needs and application scenarios;

[0096] Compute Gaussian weights:

[0097] For the selected smoothing window size, the Gaussian weight of each point in the window is calculated. The Gaussian weight represents the contribution of each point in the smoothing process. It is calculated based on the distance between the point and the center of the window. The weight of each point is calculated using the Gaussian function.

[0098] To perform smoothing:

[0099] Apply a smoothing window and a corresponding Gaussian weight to each point of the spectrum curve. For each point, multiply the point in the window by the corresponding Gaussian weight and sum them to get the smoothed value. Process each point on the spectrum curve in turn to get a smoothed spectrum curve.

[0100] On the smoothed spectrum curve, find the local maximum or local maximum point. The local maximum refers to a point whose value is larger than the values ​​of the adjacent points. The local maximum refers to a point whose value is larger than the values ​​of the adjacent points and it is the local maximum.

[0101] The method for finding a local maximum or local maximum uses the following steps:

[0102] Traverse each point of the smoothed spectrum curve, from the second point to the second to last point, ignoring the first and last two points;

[0103] For each point, compare its value with the values ​​of the two adjacent points. If it is a local maximum or a local maximum, that is, it meets the above definition, mark it as a peak point;

[0104] Verification and screening of peak points: Verify and screen the peak points to retain the more significant and stable peaks:

[0105] Set a threshold, compare the amplitude or energy of the peak point with the threshold, retain only the peak points that exceed the threshold, merge or remove adjacent peak points to eliminate duplicate or non-actual peaks;

[0106] Through verification and screening, a more accurate peak signal is obtained.

[0107] Further: setting a threshold, comparing the amplitude or energy of the peak point with the threshold, retaining only the peak points exceeding the threshold, merging or removing adjacent peak points to eliminate duplicate or non-actual peaks, including:

[0108] Set the threshold to only retain the peak points that exceed the threshold. The steps are as follows:

[0109] Define a threshold value and set it according to application requirements and signal characteristics;

[0110] Traverse all peak points and compare the amplitude or energy of each peak point with the set threshold;

[0111] If the amplitude or energy of the peak point exceeds the threshold, the peak point is retained; otherwise, the peak point is removed or marked as a non-actual peak;

[0112] The steps for merging or removing adjacent peak points to eliminate duplicate or non-actual peaks are as follows:

[0113] Sort the peak points by frequency or other characteristics;

[0114] Traverse the sorted peak points and compare adjacent peak points;

[0115] If the distance between adjacent peak points is less than the set threshold, they are merged into one peak point, and the point with larger amplitude or energy is selected as the representative;

[0116] If the distance between adjacent peak points is large, it means they are independent peaks and they are retained as separate peak points.

[0117] Further: Step 5 comprises:

[0118] Extract signal energy:

[0119] Calculate the energy of the signal using the extracted features or spectrum analysis results:

[0120] For time domain signals, the energy of the signal is calculated as the sum of squares or the sum of squares of absolute values.

[0121] For frequency domain signals, the energy within a specific frequency range on the spectrum curve is used as the energy of the signal;

[0122] Estimate the noise energy:

[0123] If the background noise is fixed and can be estimated a priori, the predetermined noise energy value is directly used;

[0124] If the background noise is random and signal samples containing only noise are available during the measurement, use these samples to calculate the energy of the noise;

[0125] Calculate the signal-to-noise ratio:

[0126] The signal-to-noise ratio is calculated by comparing the signal energy to the noise energy:

[0127] SNR=10*log10.

[0128] On the other hand, the present invention discloses a broadband voltage signal measurement system, characterized in that it comprises:

[0129] Data acquisition and conversion module: used to convert broadband voltage signals into digital data;

[0130] Signal conditioning and filtering module: performs signal conditioning and filtering on the collected data to remove noise and stray signals;

[0131] Spectrum analysis module: performs spectrum analysis on the filtered signal to obtain the distribution of the signal at different frequencies;

[0132] Peak detection and feature extraction module: detects the existence of peak signals and extracts their frequency and amplitude characteristics;

[0133] Signal-to-noise ratio estimation module: estimates the signal-to-noise ratio of broadband voltage signals based on the extracted features and the known background noise level;

[0134] Result analysis and monitoring module: Analyze the estimated signal-to-noise ratio, set thresholds and alarm mechanisms, and trigger corresponding alarms if the signal-to-noise ratio is lower than the set threshold to ensure timely detection and handling of signal anomalies.

[0135] Compared with the prior art, the present invention has the following technical advances:

[0136] Real-time: The algorithm system can collect, process and analyze broadband voltage signals in real time, making the monitoring results available in a timely manner. This is very important for applications that require instant feedback and fast decision-making, such as real-time fault detection and control systems.

[0137] High accuracy: By adopting appropriate data acquisition, filtering and analysis techniques, the algorithm system can provide high-precision broadband voltage measurement results. This is critical for applications that require accurate analysis and judgment of voltage signals, such as power system monitoring and instrument measurement.

[0138] Automation: The automation characteristics of the algorithm system make the measurement and monitoring process of broadband voltage more convenient and efficient. The system can automatically perform steps such as data acquisition, signal processing, and feature extraction, reducing the possibility of manual operation and human error.

[0139] Large-scale processing capability: The algorithm system can be expanded to process large-scale broadband voltage data. Through parallel computing and optimized algorithm design, the system can quickly process large amounts of data and adapt to high-frequency measurement and monitoring needs.

[0140] Practicality and customizability: The algorithm system can be customized and configured according to specific application requirements. Users can choose appropriate data acquisition equipment, filters, feature extraction algorithms and other components according to their needs, so that the system can meet specific measurement and monitoring requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0141] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0142] In the attached picture:

[0143] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0144] The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0145] On the one hand, if Figure 1 The present invention discloses a broadband voltage signal measurement method, comprising:

[0146] Step 1: Data Collection

[0147] Using a suitable sensor or measurement device, convert the broadband voltage signal into digital data. Make sure the sampling rate is high enough to capture the desired frequency range.

[0148] Step 2: Signal Conditioning and Filtering

[0149] Signal conditioning and filtering are performed on the acquired data to remove noise and spurious signals and retain the frequency range of interest. This can be achieved using digital filters, such as low-pass filters, band-pass filters, etc.

[0150] Step 3: Spectrum Analysis

[0151] Perform spectrum analysis on the filtered signal to obtain the distribution of the signal at different frequencies. Fast Fourier Transform (FFT) or other spectrum analysis algorithms can be used to obtain spectrum information.

[0152] Step 4: Peak Detection and Feature Extraction

[0153] In the spectrum analysis results, the presence of peak signals is detected and their characteristics such as frequency and amplitude are extracted. This helps to identify important components and change trends in broadband signals.

[0154] Step 5: Signal-to-Noise Ratio Estimation

[0155] Based on the extracted features and the known background noise level, estimate the signal-to-noise ratio of the broadband voltage signal. This can be done by calculating the ratio of the peak signal to the noise.

[0156] Step 6: Result analysis and monitoring

[0157] Analyze the estimated signal-to-noise ratio results and set appropriate thresholds and alarm mechanisms according to actual application requirements. If the signal-to-noise ratio is lower than the set threshold, trigger the corresponding alarm or processing measures to ensure that signal anomalies are discovered and processed in a timely manner.

[0158] To implement the data acquisition step, convert the broadband voltage signal into digital data and ensure sufficient sampling rate, the following detailed steps can be followed:

[0159] Select the appropriate sensor or measuring device:

[0160] For broadband voltage signal measurement, a sensor or measurement device with high input dynamic range and broadband characteristics can be selected. For example, an analog-to-digital converter (ADC) can be used to convert a continuous voltage signal into digital data.

[0161] Determine sampling rate requirements:

[0162] Determine the required sampling rate based on more than twice the highest frequency component in the broadband signal. According to the Nyquist sampling theorem, the sampling rate should be at least twice the highest frequency of the signal to avoid aliasing effects.

[0163] Choosing the right ADC:

[0164] Choose the appropriate ADC based on the required sampling rate and resolution. The ADC sampling rate should be able to meet the requirements of broadband signals and have sufficient resolution to ensure data accuracy.

[0165] Connection circuit and interface:

[0166] Connect the broadband voltage signal to the selected sensor or measurement device. This may require the use of appropriate cables, connectors, amplifiers, etc.

[0167] Configuration and Control:

[0168] Configure and control the selected ADC and data acquisition device. This may include setting the sampling rate, gain, input channels, trigger conditions, etc.

[0169] Data collection and storage:

[0170] Start the data acquisition process and store the converted digital data into appropriate storage media, such as computer hard disk, memory or data acquisition card.

[0171] It is important to note that it is critical to ensure that the sampling rate is high enough to capture the high-frequency components of broadband signals. The choice of sampling rate should be weighed against the signal frequency characteristics and application requirements. In addition, the performance parameters of the ADC, such as dynamic range, resolution, and signal-to-noise ratio, will also affect the accuracy and quality of data acquisition.

[0172] In the actual implementation process, it is necessary to perform appropriate configuration and debugging according to the specific hardware and software platforms and the requirements of the application scenario. At the same time, it is also necessary to ensure the calibration and correction of the equipment to ensure that the collected data is accurate and reliable.

[0173] Step 2 includes:

[0174] Determine filter type and characteristics:

[0175] Select the appropriate filter type based on the application requirements. Common filter types include low-pass filters, high-pass filters, band-pass filters, and band-stop filters. In broadband voltage signal measurements, band-pass filters are commonly used to retain the frequency range of interest.

[0176] Determine the filter's cutoff frequency, which is the frequency point in the frequency response at which the filter takes effect.

[0177] Design filter parameters:

[0178] For a Butterworth filter, you need to determine the filter order and cutoff frequency. The higher the order, the steeper the filter will be, but it may introduce more phase delay.

[0179] The cutoff frequency should be chosen based on the application requirements to ensure that the filter preserves the frequency range of interest.

[0180] Apply filter:

[0181] A filter is applied to the acquired data based on the filter's design parameters. This can be accomplished using a digital signal processing algorithm, such as a difference equation or transfer function for a Butterworth filter.

[0182] Implement the filter:

[0183] Convert the designed filter into a discrete form of digital filter. This can be achieved through difference equations or discrete transfer functions.

[0184] Use digital filter algorithm to filter the collected data.

[0185] Optimization and debugging:

[0186] Optimize and debug the filter, adjust parameters and evaluate performance according to actual application requirements. This may involve adjusting parameters such as filter order, cutoff frequency, and filter delay.

[0187] When applying a filter, a transfer function is used to implement the filtering operation. The transfer function describes the response characteristics of the filter in the frequency domain, which maps the input signal to the output signal.

[0188] Here is a detailed description of implementing the filter using the transfer function:

[0189] Choose an appropriate filter type and transfer function:

[0190] Choose the appropriate filter type and transfer function based on the application requirements. For example, the transfer function of a Butterworth filter can be expressed in rational polynomial form.

[0191] Convert the transfer function to a difference equation:

[0192] Using signal processing techniques, the transfer function is converted to a difference equation. This can be done by decomposing the transfer function into a numerator polynomial and a denominator polynomial and then converting it to a difference equation form. The difference equation describes how the filter operates in the time domain.

[0193] The difference equation implements the filter:

[0194] The transformed difference equation is applied to the collected data. For each sampling point, the value of the output signal is calculated according to the recursive relationship of the difference equation.

[0195] The transfer function of the Butterworth filter can be expressed in the form of a rational polynomial. For an N-order Butterworth filter, its transfer function H(z) can be expressed as:

[0196] H(z)=G / (1+b1z -1 +b2z -2 +...+b n z -n )

[0197] Where G is the gain coefficient of the filter, and b1, b2, ..., bn are the coefficients of the Butterworth filter. The values ​​of these coefficients can be calculated based on the cutoff frequency and order of the filter.

[0198] 1+b1z in the transfer function form of the Butterworth filter -1 +b2z -2 +...+bn z -n is the denominator polynomial of the filter. -1 represents unit delay (one step backward in time), and b1, b2, ..., bn are the coefficients of the denominator polynomial.

[0199] It should be noted that the transfer function of the Butterworth filter is a transfer function in the discrete time domain, which is suitable for digital signal processing. In the actual implementation process, the transfer function can be converted into a difference equation form, and then the difference equation is used for filtering operations.

[0200] By setting the appropriate transfer function coefficients, the Butterworth filter can achieve different cutoff frequencies and filtering characteristics. According to the order and cutoff frequency of the filter, the transfer function coefficients can be calculated and applied to the design and implementation process of the filter.

[0201] A common method to convert a transfer function into a difference equation is to use a Z transform. For the transfer function of the Butterworth filter above, H(z) = G / (1+b1z -1 +b2z -2 +...+b n z -n ), which can be converted into a difference equation by following the steps below:

[0202] Apply a Z transform:

[0203] The z in the transfer function -1 Substitute with Z and express the transfer function H(z) as:

[0204] H(Z)=H(z)=G / (1+b1z -1 +b2z -2 +...+b n z -n ).

[0205] Express H(Z) in numerator and denominator polynomial form:

[0206] H(Z)=Y(Z) / X(Z), where Y(Z) is the Z transform of the output signal and X(Z) is the Z transform of the input signal.

[0207] Subtract the denominator polynomial from the numerator polynomial:

[0208] 1+b1Z+b2Z 2 +...+b n Z n =Y(Z)-H(Z)X(Z)

[0209] Express Y(Z) and X(Z) as difference equations:

[0210] Y(Z)-H(Z)X(Z)=y0+y1Z -1 +y2Z -2 +...+y m Z -m -(b0+b1Z -1 +b2Z -2 +...+b n Z -n )(x0+x1Z -1 +x n Z -2 +...+x m Z -m )

[0211] Among them, y0, y1, y2, ..., y m and x0, x1, x2, ..., x m Represents the current and past sample values ​​of the output signal and input signal respectively.

[0212] Rearrange the difference equation:

[0213] According to the power of Z, the difference equation is sorted, and all terms are classified and sorted into a difference equation form such as y[n]=..., where y[n] represents the current sample value of the output signal and n represents the current discrete time step.

[0214] Through the above steps, the transfer function can be converted into a differential equation form, so that the differential equation can be applied to perform filtering operations in digital signal processing. The converted differential equation describes the operation mode and input-output relationship of the filter in the time domain.

[0215] Apply the transformed differential equation to the collected data. For each sampling point, according to the recursive relationship of the differential equation, the value of the output signal is calculated including:

[0216] initialization:

[0217] Set the initial conditions, including the initial values ​​of the input signal x and the output signal y.

[0218] Recursive calculation:

[0219] For each sampling point n, the output signal y[n] is calculated according to the recursive relationship of the difference equation.

[0220] The recursive relation of the difference equation is usually in the form: y[n] = b0x[n] + b1x[n -1 ]+b2x[n -2 ]+...+b n x[n -η ]-a1y[n -1 ]-a2y[n -2]-...-a m y[n -m ]express.

[0221] According to the differential equation, the current and past input signal values ​​and output signal values ​​are used to perform a weighted sum operation to obtain the output signal value y[n] at the current sampling point.

[0222] In recursive calculation, the output signal value y[n] of each calculation is used as part of the input signal value x[n] of the next calculation.

[0223] The recursive calculation is performed in chronological order, starting from the initial moment, and calculating the value of the output signal at each sampling point until the output signal calculation of all sampling points is completed.

[0224] Loop iteration:

[0225] Repeat the recursive calculation in step 2 for each sampling point until the output signal calculation of all sampling points is completed.

[0226] Through recursive calculation, according to the recursive relationship of the differential equation, the value of the output signal can be calculated sample by sample. The advantage of this recursive algorithm is that it can effectively utilize the past input and output signal values ​​to achieve real-time filtering operations.

[0227] It should be noted that the recursive calculation of the difference equation may involve floating-point operations, so the numerical accuracy and computational efficiency need to be considered in the actual implementation. At the same time, the specific form of the difference equation will vary depending on the type and design parameters of the filter, so in specific applications, it is necessary to perform corresponding calculations based on the form of the difference equation.

[0228] Step 3 includes:

[0229] Using Fast Fourier Transform (FFT) for spectrum analysis can achieve efficient frequency domain analysis. The following are the detailed steps for spectrum analysis using FFT:

[0230] Data preprocessing:

[0231] Take the filtered signal as input and make sure the signal length is a power of 2 (e.g., 1024, 2048, etc.). If the signal length is not a power of 2, you can adjust it by zero-padding or truncation.

[0232] Apply the FFT algorithm:

[0233] The preprocessed signal is transformed using the FFT algorithm to convert the time domain signal into a frequency domain signal. The FFT algorithm is a method for quickly calculating the discrete Fourier transform (DFT) and can efficiently calculate the spectrum information.

[0234] Get the spectrum results:

[0235] For the frequency domain signal obtained by FFT calculation, take its modulus value or the square of the modulus value (for energy spectrum) as the spectrum result. By calculating the amplitude spectrum or power spectrum of the frequency domain signal, the distribution of the signal at different frequencies can be obtained.

[0236] Frequency axis calibration:

[0237] Based on the output of FFT, the calibration of the frequency axis can be obtained. Each point on the frequency axis represents the amplitude or energy of the signal at the corresponding frequency. Based on the sampling rate and signal length, the specific frequency value of each frequency point can be calculated.

[0238] Visualize the spectrum:

[0239] The spectrum results are visualized as a spectrogram, which usually uses frequency as the horizontal axis and amplitude or energy as the vertical axis to show the distribution of the signal at different frequencies. Common spectrum graphs include amplitude spectrum graph and power spectrum graph.

[0240] By using the FFT algorithm, the filtered signal can be efficiently converted into a frequency domain signal and the distribution of the signal at different frequencies can be obtained. Spectral analysis can help us understand the frequency characteristics of the signal and identify information such as frequency components and noise. In practical applications, the calculation of spectrum analysis can be realized with the help of existing digital signal processing libraries or by writing FFT algorithms by ourselves.

[0241] The data length can be adjusted to a power of 2 by zero padding:

[0242] First, determine the length L of the original signal.

[0243] Find the smallest power of 2 greater than L, denoted by N, that is, N = 2^ceil(log2(L)), where ceil(x) represents the rounding up operation on x.

[0244] Add NL zero values ​​at the end of the original signal to make the signal length N.

[0245] By zero-filling, the original information of the signal can be maintained, and in spectrum analysis, the frequency component corresponding to the zero value is the DC component, which will not affect other frequency components.

[0246] Use the FFT algorithm to transform the preprocessed signal and convert the time domain signal into a frequency domain signal. The implementation steps are as follows: Determine the length of the input signal:

[0247] First, the length of the preprocessed input signal is determined to be N.

[0248] Rearrange the input signal:

[0249] The FFT algorithm requires the input signal to be a power of 2 in length, so the input signal needs to be rearranged to make its length a power of 2. Usually, the bit-reversal rearrangement method is used to arrange the sampling points of the input signal in reverse binary bit order.

[0250] Perform butterfly operation:

[0251] The FFT algorithm uses butterfly operation to implement frequency domain decomposition and merging operations. The butterfly operation divides the input signal into two groups, each group contains adjacent sampling points, and then performs frequency domain operations on each group to obtain the output. The specific steps are as follows:

[0252] The input signal is iterated, and the step size of each iteration is half the size of the current sub-problem, that is, frequency domain decomposition is performed.

[0253] In each iteration step, the input signal is divided into two groups according to the butterfly structure, and each group contains adjacent sampling points.

[0254] Perform frequency domain operations on each group and calculate two frequency domain results.

[0255] Combine the two frequency domain results into one result to obtain a partial frequency domain output.

[0256] Repeat the above steps until all iterations are completed and the final frequency domain output is obtained.

[0257] Repeated counting and merging:

[0258] By repeating the butterfly operation in step 3, the input signal is continuously decomposed into smaller sub-problems until the scale is 1, that is, the complete result of the frequency domain output is obtained.

[0259] Get frequency domain results:

[0260] Finally, according to the calculation process of the FFT algorithm, the frequency domain representation of the input signal can be obtained, including the values ​​of the real and imaginary parts. Usually, we can calculate the modulus value (amplitude spectrum) or the square of the modulus value (power spectrum) of the frequency domain signal to represent the distribution of the signal at different frequencies.

[0261] For the frequency domain signal obtained by FFT calculation, take its modulus value or the square of the modulus value (for energy spectrum) as the spectrum result. The implementation steps are as follows:

[0262] Modulo value:

[0263] In the frequency domain signal obtained by FFT calculation, each frequency point has a real part and an imaginary part. The modulus value of the frequency domain signal represents the amplitude information of the frequency point, that is, the size of the signal at this frequency. The steps to obtain the spectrum result are as follows:

[0264] For the frequency domain signal obtained by FFT calculation, the modulus value of each frequency point is calculated respectively.

[0265] The calculation of the modulus value can be achieved using the Euclidean distance (ie, square root), that is, squaring the real and imaginary parts of each frequency point, then summing the two square values, and finally taking the square root.

[0266] After obtaining the modulus value of each frequency point, the spectrum result can be obtained, where the horizontal axis represents the frequency and the vertical axis represents the amplitude.

[0267] The spectrum result after modulo value taking can intuitively represent the amplitude of the signal at different frequencies.

[0268] Square the modulus value (energy spectrum):

[0269] In some cases, we are concerned about the energy distribution of the signal at different frequencies, rather than just the amplitude. In this case, we can take the square of the modulus value of the frequency domain signal calculated by FFT as the spectrum result to obtain the energy spectrum. The steps to obtain the spectrum result are as follows:

[0270] For the frequency domain signal obtained by FFT calculation, the modulus value of each frequency point is calculated respectively.

[0271] Square the modulus value of each frequency point to obtain the energy value of the corresponding frequency point.

[0272] After obtaining the energy value of each frequency point, the spectrum result can be obtained, where the horizontal axis represents frequency and the vertical axis represents energy.

[0273] The spectrum result after taking the square of the modulus value can reflect the energy distribution of the signal at different frequencies and is used to analyze the frequency domain characteristics of the signal.

[0274] By taking the modulus value or the square of the modulus value of the frequency domain signal calculated by FFT, the distribution of the signal at different frequencies can be obtained, and then spectrum analysis and feature extraction can be performed.

[0275] According to the output results of FFT, the calibration implementation steps of the frequency axis can be obtained as follows:

[0276] Determine the sampling rate:

[0277] First, we need to determine the sampling rate (sampling frequency) of the input signal for FFT calculation, which represents the number of samples collected per second. Assume that the sampling rate is Fs (in Hz).

[0278] Determine the length of the FFT result:

[0279] The length of the frequency domain signal calculated by FFT is N, which is usually half the length of the input signal (N=L / 2, where L is the length of the input signal), indicating the number of frequency points contained in the frequency domain signal.

[0280] Calculate the frequency resolution:

[0281] Frequency resolution refers to the interval between each frequency point in the frequency domain signal. Based on the sampling rate and the length of the FFT result, the formula for calculating the frequency resolution (Δf, in Hz) is:

[0282] Δf=Fs / N

[0283] Frequency resolution determines the frequency range represented by each frequency point in the spectrum.

[0284] Calibrate the frequency axis:

[0285] Depending on the frequency resolution and the length of the FFT result, the frequency corresponding to each point on the frequency axis can be calibrated. Usually, the range of the frequency axis is from 0Hz to half the sampling rate (Fs / 2).

[0286] The first point on the frequency axis corresponds to a frequency of 0 Hz.

[0287] The frequency of subsequent points on the frequency axis can be calculated using the following formula:

[0288] f=k*Δf

[0289] Where f is the frequency, k is the index of the frequency point (starting from 1), and Δf is the frequency resolution.

[0290] According to the above calculation, the frequency value corresponding to each point on the frequency axis can be obtained, so as to perform frequency calibration.

[0291] Through the above steps, the calibration of the frequency axis can be obtained according to the output result of FFT and the sampling rate, so that each point on the frequency axis can represent the amplitude or energy of the signal at the corresponding frequency.

[0292] Step 4 includes:

[0293] Peak Detection:

[0294] Smooth the spectrum curve:

[0295] First, in order to reduce the error and noise of peak search, it is usually necessary to smooth the spectrum curve. Commonly used smoothing methods include moving average, Gaussian smoothing, etc. The smoothed spectrum curve will be smoother and more continuous, which helps to find the peak accurately.

[0296] Find local maxima or local maxima:

[0297] On the smoothed spectrum curve, we can start looking for local maximum or local maximum points. These points represent the location of potential peak signals.

[0298] A local maximum is a point whose value is greater than that of its neighboring points.

[0299] A local maximum refers to a point whose value is greater than that of adjacent points and is a local maximum.

[0300] The method for finding the local maximum or local maximum can be carried out by following the steps below:

[0301] Traverse each point of the smoothed spectrum curve, from the second point to the second to last point, ignoring the first and last two points.

[0302] For each point, compare its value with the values ​​of the two adjacent points. If it is a local maximum or local maximum, that is, it meets the above definition, mark it as a peak point.

[0303] Verification and screening of peak points:

[0304] The peak points found may contain some noise or unclear peaks. Therefore, the peak points can be verified and screened to retain more significant and stable peaks.

[0305] You can set a threshold value and compare the amplitude or energy of the peak point with the threshold value. Only the peak points exceeding the threshold value are retained.

[0306] Adjacent peak points can be merged or removed to eliminate duplicate or non-actual peaks.

[0307] Through verification and screening, a more accurate peak signal can be obtained.

[0308] Feature extraction:

[0309] After the peak signal is detected, feature extraction can be performed to extract relevant features of the peak signal. Common features include:

[0310] Frequency: The frequency of a peak signal is its most significant characteristic and can be determined by its position on the spectrum.

[0311] Amplitude or Energy: The amplitude or energy of a peak signal represents its intensity in the frequency domain and can be extracted by the amplitude or energy value on the spectrum.

[0312] Peak width: The bandwidth of a peak signal or the width of its peak can reflect the time domain characteristics of the signal and can be calculated by the width of the peak signal on the spectrum.

[0313] Peak morphology: The morphological characteristics of a peak signal can describe the shape of the signal's spectral line, such as the symmetry or asymmetry of the peak.

[0314] Feature extraction methods can be selected and designed according to specific needs. Commonly used methods include fitting curves, calculating statistics, using peak recognition algorithms, etc.

[0315] Through peak detection and feature extraction, the peak signal can be found in the spectrum analysis results and its related features can be extracted, so as to further analyze and process the signal. These features can be used for signal recognition, classification, positioning and other applications.

[0316] Gaussian smoothing implementation steps:

[0317] Define the Gaussian kernel:

[0318] Gaussian smoothing uses the Gaussian function (also known as the normal distribution function) as the smoothing kernel function. The Gaussian function can be expressed by the following formula:

[0319] G(x)=(1 / sqrt(2*π*σ^2))*exp(-(x-μ)^2 / (2*σ^2))

[0320] Among them, G(x) represents the value of the Gaussian function at position x, μ represents the mean of the Gaussian function, and σ represents the standard deviation of the Gaussian function.

[0321] Select the smoothing window size:

[0322] The smoothing window size determines the degree of smoothing. A larger window size will produce smoother results, but will blur signal details. Choose an appropriate window size based on specific needs and application scenarios.

[0323] Compute Gaussian weights:

[0324] For the selected smoothing window size, it is necessary to calculate the Gaussian weight of each point in the window. The Gaussian weight represents the contribution of each point in the smoothing process and is calculated based on the distance between the point and the center of the window. The weight of each point can be calculated using a Gaussian function.

[0325] To perform smoothing:

[0326] Apply a smoothing window and the corresponding Gaussian weight to each point of the spectrum curve. For each point, multiply the point in the window by the corresponding Gaussian weight and sum to get the smoothed value. Process each point on the spectrum curve in turn to get the smoothed spectrum curve.

[0327] Gaussian smoothing uses the weight of the Gaussian function to perform a weighted average of the spectrum curve, with points farther from the center having smaller weights, thereby achieving a smoothing effect. The smoothed spectrum curve can reduce the impact of noise and make the signal features more obvious. The appropriate window size and Gaussian function parameters can be adjusted according to the specific situation to achieve the desired smoothing effect.

[0328] Set threshold and compare:

[0329] In peak detection, a threshold can be set to filter out peak points below the threshold. The specific steps are as follows:

[0330] Define a threshold value and set it according to application requirements and signal characteristics.

[0331] Traverse all peak points and compare the amplitude or energy of each peak point with the set threshold.

[0332] If the amplitude or energy of the peak point exceeds the threshold, the peak point is retained; otherwise, the peak point is removed or marked as a non-actual peak.

[0333] Merge or remove adjacent peak points:

[0334] In peak detection, adjacent peak points may correspond to the same actual peak, or there may be repeated peaks. In order to eliminate repeated or non-actual peaks, adjacent peak points can be merged or eliminated. The specific steps are as follows:

[0335] Sort the peak points by frequency or other characteristics.

[0336] Traverse the sorted peak points and compare adjacent peak points.

[0337] If the distance between adjacent peak points is less than a set threshold (for example, the frequency difference is less than a certain range), they can be merged into one peak point, and the point with larger amplitude or energy is selected as the representative.

[0338] If the distances between adjacent peak points are large, it may indicate that they are independent peaks and they can be retained as separate peak points.

[0339] By setting the threshold and merging or removing adjacent peak points, the peak detection results can be optimized and screened to extract more significant and stable peaks. This can reduce false detection and repeated detection and retain the main signal features. The specific threshold and merging rules can be adjusted and optimized according to the specific application.

[0340] Step 5 includes:

[0341] Extract signal energy:

[0342] Using the extracted features or spectrum analysis results, calculate the energy of the signal. This can be achieved by one of the following methods:

[0343] For time domain signals, the energy of the signal is calculated as the sum of squares or the sum of squares of the absolute values ​​of the signals.

[0344] For frequency domain signals, the energy within a specific frequency range on the spectrum curve can be used as the energy of the signal.

[0345] Estimate the noise energy:

[0346] Given a known background noise level or noise model, the energy of the noise can be estimated. This can be done by one of the following methods:

[0347] If the background noise is fixed and can be estimated a priori, the predetermined noise energy value can be used directly.

[0348] If the background noise is random and signal samples containing only the noise (without the broadband voltage signal) are available during the measurement, the energy of the noise can be calculated using these samples.

[0349] Calculate the signal-to-noise ratio:

[0350] The signal-to-noise ratio is calculated by comparing the signal energy with the noise energy. Decibel (dB) is usually used as the unit of signal-to-noise ratio. The calculation formula is as follows:

[0351] SNR = 10*log10 (signal energy / noise energy)

[0352] On the other hand, the present invention discloses a broadband voltage signal measurement system, characterized by comprising:

[0353] Data acquisition and conversion module: used to convert broadband voltage signals into digital data;

[0354] Signal conditioning and filtering module: performs signal conditioning and filtering on the collected data to remove noise and stray signals;

[0355] Spectrum analysis module: performs spectrum analysis on the filtered signal to obtain the distribution of the signal at different frequencies;

[0356] Peak detection and feature extraction module: detects the existence of peak signals and extracts their frequency and amplitude characteristics;

[0357] Signal-to-noise ratio estimation module: estimates the signal-to-noise ratio of broadband voltage signals based on the extracted features and the known background noise level;

[0358] Result analysis and monitoring module: Analyze the estimated signal-to-noise ratio, set thresholds and alarm mechanisms, and trigger corresponding alarms if the signal-to-noise ratio is lower than the set threshold to ensure timely detection and handling of signal anomalies.

[0359] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of protection of the claims of the present invention.

Claims

1. A method for measuring a broadband voltage signal, characterized in that: The steps include: Step 1: Convert the broadband voltage signal into digital data; Step 2: Signal conditioning and filtering of the acquired data to remove noise and spurious signals; Step 3: Perform spectrum analysis on the filtered signal to obtain the distribution of the signal at different frequencies; Step 4: Detect the existence of the peak signal and extract its frequency and amplitude characteristics; Step 5: Estimate the signal-to-noise ratio of the broadband voltage signal based on the extracted features and the known background noise level; Step 6: Analyze the estimated signal-to-noise ratio, set thresholds and alarm mechanisms, and trigger corresponding alarms if the signal-to-noise ratio is lower than the set threshold to ensure that signal anomalies are discovered and handled in a timely manner; Step 2 includes: using a Butterworth filter, determining the order and cutoff frequency of the Butterworth filter; applying the Butterworth filter to the collected data; converting the Butterworth filter into a discrete form of a digital filter; applying the Butterworth filter to the collected data includes: The transfer function of the Butterworth filter is expressed in the form of a rational polynomial. For an N-order Butterworth filter, its transfer function H(z) is expressed as: H(z)=G / (1+b1z -1 +b2z -2 +...+b n z -n ) Where G is the gain coefficient of the filter, b1, b2, ..., b n It is the coefficient of the Butterworth filter. The value of the coefficient is calculated according to the cutoff frequency and order of the filter. The transfer function form of the Butterworth filter is 1+b1z -1 +b2z -2 +...+b n z -n is the denominator polynomial of the filter, z -1 represents unit delay, b1, b2, ..., b n are the coefficients of the denominator polynomial; Convert the above transfer function H(z) into a difference equation: Apply a Z transform: The z in the transfer function -1 Substitute with Z and express the transfer function H(z) as H(Z)=G / (1+b1Z+b2Z 2 +...+b n Z n ); Express H(Z) in numerator and denominator polynomial form: H(Z)=Y(Z) / X(Z), where Y(Z) is the Z transform of the output signal and X(Z) is the Z transform of the input signal; Subtract the denominator polynomial from the numerator polynomial: 1+b1Z+b2Z 2 +...+b n Z n =Y(Z)-H(Z)X(Z) Express Y(Z) and X(Z) as difference equations: Y(Z)-H(Z)X(Z)=y0+y1Z -1 +y2Z -2 +…+y m Z -m -(b0+b1Z -1 +b2Z -2 +…+b n Z -n )(x0+x1Z -1 +x2Z -2 +…+x m Z -m ) Among them, y0, y1, y2, ..., y m and x0, x1, x2, ..., x m Represent the current and past sample values ​​of the output signal and input signal respectively; Rearrange the difference equation: According to the power of Z, sort out the difference equation, classify all terms and sort them into a difference equation form such as y[n]=..., where y[n] represents the current sample value of the output signal, and n represents the current discrete time step; According to the recursive relationship of the difference equation, the value of the output signal is calculated using a recursive algorithm: initialization: Set initial conditions, including initial values ​​of input signal x and output signal y; Recursive calculation: For each sampling point n, the output signal y[n] is calculated according to the recursive relationship of the difference equation; The recurrence relation of the difference equation is: y[n]=b0x[n]+b1x[n -1 ]+b2x[n -2 ]+...+b n x[n -η ]-a1y[n -1 ]-a2y[n -2 ]-...-a m y[n -m ] According to the differential equation, the current and past input signal values ​​and output signal values ​​are used for weighted sum operation to obtain the output signal value y[n] at the current sampling point; In the recursive calculation, the output signal value y[n] of each calculation is used as part of the input signal value x[n] of the next calculation; The recursive calculation is performed in chronological order, starting from the initial moment, and the value of the output signal is calculated at each sampling point until the output signal calculation of all sampling points is completed; Loop iteration: Repeat the recursive calculation for each sampling point until the output signal calculation of all sampling points is completed; Step 3 includes: Take the filtered signal as input and make sure the signal length is a power of 2. If the signal length is not a power of 2, make adjustments, which include: Determine the length L of the original signal; Find the smallest power of 2 greater than L, denoted as N, that is, N=2^ceil(log2(L)), where ceil(x) means rounding up x; Add NL zero values ​​at the end of the original signal to make the signal length N; The preprocessed signal is transformed using the FFT algorithm to convert the time domain signal into a frequency domain signal, which includes: Determine the length of the input signal: Determine the length of the preprocessed input signal as N; Rearrange the input signal: Using the bit reversal rearrangement method, the sampling points of the input signal are arranged in reverse order of the binary bits; Perform butterfly operation: The butterfly operation is used to implement the frequency domain decomposition and merging operations. The butterfly operation divides the input signal into two groups, each group contains adjacent sampling points, and then performs frequency domain operations on each group to obtain the output. The specific steps are as follows: Iterate the input signal, and the step size of each iteration is half of the size of the current sub-problem, that is, perform frequency domain decomposition; In each iteration step, the input signal is divided into two groups according to the butterfly structure, each group contains adjacent sampling points; Perform frequency domain operations on each group and calculate two frequency domain results; Combine the two frequency domain results into one result to obtain a partial frequency domain output; Repeat the above steps until all iterations are completed and the final frequency domain output is obtained; Repeated counting and merging: By repeatedly performing butterfly operations, the input signal is continuously decomposed into smaller sub-problems until the scale is 1, that is, the complete result of the frequency domain output is obtained; Get frequency domain results: Get the frequency domain representation of the input signal, including the values ​​of the real and imaginary parts, and calculate the modulus value or the square of the modulus value of the frequency domain signal to represent the distribution of the signal at different frequencies; For the obtained frequency domain signal, take its modulus value or the square of the modulus value as the spectrum result, which includes: Modulo value: In the frequency domain signal obtained by FFT calculation, the modulus value of the frequency domain signal represents the amplitude information of the frequency point, that is, the size of the signal at the frequency. The steps to obtain the spectrum result are as follows: For the frequency domain signal obtained by FFT calculation, the modulus value of each frequency point is calculated respectively; The calculation of the modulus value can be achieved using the Euclidean distance, that is, squaring the real and imaginary parts of each frequency point, then summing the two square values, and finally taking the square root; After obtaining the modulus value of each frequency point, the spectrum result can be obtained, where the horizontal axis represents the frequency and the vertical axis represents the amplitude; The spectrum result after modulo value can intuitively represent the amplitude of the signal at different frequencies; Square the modulus value: Take the square of the modulus value of the frequency domain signal calculated by FFT as the spectrum result to obtain the energy spectrum. The steps to obtain the spectrum result are as follows: For the frequency domain signal obtained by FFT calculation, the modulus value of each frequency point is calculated respectively; Square the modulus value of each frequency point to obtain the energy value of the corresponding frequency point; After obtaining the energy value of each frequency point, the spectrum result is obtained, where the horizontal axis represents frequency and the vertical axis represents energy; The spectrum result after taking the square of the modulus value can reflect the energy distribution of the signal at different frequencies and is used to analyze the frequency domain characteristics of the signal; According to the output results, the calibration of the frequency axis is obtained, which includes: Determine the sampling rate: Determine the sampling rate of the input signal for FFT calculation; Determine the length of the FFT result: The length of the frequency domain signal calculated by FFT is N, which is half the length of the input signal and represents the number of frequency points contained in the frequency domain signal; Calculate the frequency resolution: Frequency resolution refers to the interval between each frequency point in the frequency domain signal. According to the sampling rate and the length of the FFT result, the formula for calculating frequency resolution is: Δf=Fs / N, Δf, unit is Hz; Calibrate the frequency axis: According to the frequency resolution and the length of the FFT result, the frequency corresponding to each point on the frequency axis is calibrated. The frequency corresponding to the first point on the frequency axis is 0 Hz. The frequencies of subsequent points on the frequency axis can be calculated by the following formula: f=k*Δf Where f is the frequency, k is the index of the frequency point, and Δf is the frequency resolution; According to the above calculation, the frequency value corresponding to each point on the frequency axis is obtained, so as to perform frequency calibration.

2. A broadband voltage signal measurement method according to claim 1, characterized in that: Step 4 includes: Peak Detection: Define the Gaussian kernel: Use the Gaussian function as the smooth kernel function. The Gaussian function formula is expressed as: G(x)=(1 / sqrt(2*π*σ^2))*exp(-(x-μ)^2 / (2*σ^2)) Where G(x) represents the value of the Gaussian function at position x, μ represents the mean of the Gaussian function, and σ represents the standard deviation of the Gaussian function; Select the smoothing window size: Choose the appropriate window size based on specific needs and application scenarios; Calculate Gaussian weights: For the selected smoothing window size, the Gaussian weight of each point in the window is calculated. The Gaussian weight represents the contribution of each point in the smoothing process. It is calculated based on the distance between the point and the center of the window. The weight of each point is calculated by the Gaussian function. To perform smoothing: Apply a smoothing window and a corresponding Gaussian weight to each point of the spectrum curve. For each point, multiply the point in the window by the corresponding Gaussian weight and sum them to get the smoothed value. Process each point on the spectrum curve in turn to get a smoothed spectrum curve. On the smoothed spectrum curve, find the local maximum or local maximum point. The local maximum refers to a point whose value is larger than the values ​​of the adjacent points. The local maximum refers to a point whose value is larger than the values ​​of the adjacent points and it is the local maximum. The method for finding a local maximum or local maximum uses the following steps: Traverse each point of the smoothed spectrum curve, from the second point to the second to last point, ignoring the first and last two points; For each point, compare its value with the values ​​of the two adjacent points. If it is a local maximum or a local maximum, that is, it meets the above definition, mark it as a peak point; Verification and screening of peak points: Verify and screen the peak points to retain the more significant and stable peaks: Set a threshold, compare the amplitude or energy of the peak point with the threshold, retain only the peak points that exceed the threshold, merge or remove adjacent peak points to eliminate duplicate or non-actual peaks; Through verification and screening, a more accurate peak signal is obtained.

3. A broadband voltage signal measurement method according to claim 2, characterized in that: Set a threshold, compare the amplitude or energy of the peak point with the threshold, retain only the peak points that exceed the threshold, merge or remove adjacent peak points to eliminate duplicate or non-actual peaks, including: Set the threshold to only retain the peak points that exceed the threshold. The steps are as follows: Define a threshold value and set it according to application requirements and signal characteristics; Traverse all peak points and compare the amplitude or energy of each peak point with the set threshold; If the amplitude or energy of the peak point exceeds the threshold, the peak point is retained; otherwise, the peak point is removed or marked as a non-actual peak; The steps for merging or removing adjacent peak points to eliminate duplicate or non-actual peaks are as follows: Sort the peak points by frequency or other characteristics; Traverse the sorted peak points and compare adjacent peak points; If the distance between adjacent peak points is less than the set threshold, they are merged into one peak point, and the point with larger amplitude or energy is selected as the representative; If the distance between adjacent peak points is large, it means they are independent peaks and they are retained as separate peak points.

4. A broadband voltage signal measurement method according to claim 1, characterized in that: Step 5 includes: Extract signal energy: Calculate the energy of the signal using the extracted features or spectrum analysis results: For time domain signals, the energy of the signal is calculated as the sum of squares or the sum of squares of absolute values. For frequency domain signals, the energy within a specific frequency range on the spectrum curve is used as the energy of the signal; Estimate the noise energy: If the background noise is fixed and can be estimated a priori, the predetermined noise energy value is directly used; If the background noise is random and signal samples containing only noise are available during the measurement, use these samples to calculate the energy of the noise; Calculate the signal-to-noise ratio: The signal-to-noise ratio is calculated by comparing the signal energy to the noise energy: SNR=10*log10(signal energy / noise energy).