Software-defined vibration sensor measurement data calibration method

Through the software-defined vibration sensor measurement data calibration method, using octave band division and frequency point correction coefficient, the problem of high-frequency attenuation and low-frequency band error of the acceleration sensor is solved, achieving higher measurement accuracy and system reliability, and meeting the requirements of High-precision requirements for industrial monitoring.

CN118817064APending Publication Date: 2024-10-22山东浪潮智能生产技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410810334.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-22

Smart Images

  • Figure CN118817064A_ABST
    Figure CN118817064A_ABST
Patent Text Reader

Abstract

The invention relates to a calibration technology of an acceleration vibration sensor, in particular to a software-defined vibration sensor measurement data calibration method, which comprises the following steps of: performing frequency band division on a frequency range of a vibration sensor based on an octave division method; acquiring a correction coefficient of each frequency point on the vibration sensor; the method comprises the following steps: continuously acquiring original time domain data of a preset point number N under a preset sampling frequency, recording sampling time, performing Fourier transform on the original time domain data to obtain original frequency domain data, the original frequency domain data comprising initial amplitude and phase information of each frequency point; calculating a frequency domain spectral line interval and a spectral line frequency based on the sampling time, and correcting all spectral lines based on the spectral line interval and the spectral line frequency to obtain corrected frequency domain data; and inverse Fourier transform is carried out on the corrected frequency domain data to obtain calibrated time domain data. According to the method, the measurement precision and the system reliability are greatly improved, and the high-precision requirement in the field of industrial monitoring is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a calibration technology of an acceleration vibration sensor, and in particular to a software-defined vibration sensor measurement data calibration method. Background Art

[0002] Vibration sensor signal data has important applications in the field of vibration testing. The amplitude-frequency response characteristics of existing sensor chips (such as IEPE and MEMS accelerometers) are not very good, and the high-frequency data attenuation is obvious. If their data are directly used, there will be obvious deviations between various time domain and frequency domain measurement results and standard equipment, which is difficult to meet the needs of the industrial monitoring field. The resonant operating frequency of ICP (or IEPE) piezoelectric accelerometer is relatively high, and it is easily affected by external dynamic interference sources, which in turn affects the accuracy of the measurement results; at the same time, the output impedance of the sensor is relatively large. When the output signal is weak, it needs to be amplified by adding a circuit for subsequent detection and processing, which undoubtedly increases the complexity of the entire measurement system.

[0003] CPB (Constant Proportional Bandwidth) spectrum analysis is one of the commonly used signal analysis methods in noise signal analysis and vibration signal analysis. It is widely used in acoustic analysis, structural response analysis, random vibration analysis and other fields. The current implementation method of CPB spectrum is to first sample the analyzed signal, obtain the discrete signal, and then perform FFT (Fourier transform) transformation, and calculate the energy of each frequency band in the frequency domain. Due to the influence of spectrum leakage during FFT transformation, many frequency bands of CPB spectrum have large calculation errors. Especially in the low-frequency band, because the number of spectral lines is too small, it will cause greater calculation errors. Summary of the invention

[0004] In view of the above defects or deficiencies in the prior art, it is desirable to provide a software-defined vibration sensor measurement data calibration method, comprising:

[0005] The frequency range of the vibration sensor is divided into frequency bands based on the octave division method;

[0006] Get the correction coefficient of each frequency point on the vibration sensor;

[0007] Continuously collect original time domain data of a preset number of points N at a preset sampling frequency and record the sampling time, perform Fourier transform on the original time domain data to obtain original frequency domain data, wherein the original frequency domain data includes initial amplitude and phase information of each frequency point;

[0008] Calculate the frequency domain spectral line interval and spectral line frequency based on the sampling time, and correct all spectral lines based on the spectral line interval and spectral line frequency to obtain corrected frequency domain data;

[0009] The corrected frequency domain data is inversely Fourier transformed to obtain the calibrated time domain data.

[0010] Preferably, the octave-based division method for dividing the frequency range of the vibration sensor into frequency bands comprises:

[0011] Determine the constant relationship between bandwidth and center frequency;

[0012] Calculating an initial center frequency and bandwidth based on a threshold value of the frequency range;

[0013] verifying the constant relationship based on the initial center frequency and bandwidth;

[0014] If the initial center frequency and bandwidth verification satisfy the constant relationship, the i-th center frequency is calculated by a geometric progression, where i≥1, and the i-th bandwidth is calculated based on the i-th center frequency, thereby determining the upper limit and lower limit of each frequency band; if the initial center frequency and bandwidth verification do not satisfy the constant relationship, the threshold of the constant relationship or frequency range is adjusted;

[0015] Outputs the center frequency, bandwidth, upper limit and lower limit of each frequency band.

[0016] Preferably, the step of obtaining the correction coefficient of each frequency point on the vibration sensor includes:

[0017] Place the vibration sensor firmly on a standard vibration table;

[0018] The vibration table is set to generate a fixed-amplitude acceleration vibration value and output a corresponding vibration frequency;

[0019] The vibration sensor starts working at a fixed sampling frequency;

[0020] In each sampling period, the sensor collects a fixed number of acceleration data, and determines the acceleration effective value based on the acceleration data;

[0021] Determining an analysis frequency, a preset number of calibration points, and a frequency calibration interval based on the sampling frequency;

[0022] The effective value of the acceleration of the vibration sensor at each frequency point and the standard output value of the vibration table at the frequency are obtained, and the correction coefficient of each frequency point is calculated based on the ratio of the effective value of the acceleration to the standard output value.

[0023] Preferably, the correcting all spectral lines based on the spectral line interval and the spectral line frequency comprises:

[0024] Determine the spectral line index to be corrected based on the frequency of the kth spectral line and the frequency calibration interval;

[0025] Calculate the correction coefficient of the kth spectral line by linear interpolation;

[0026] The corrected amplitude value is obtained based on the initial amplitude of the kth spectral line and the correction coefficient;

[0027] Go through and correct each spectral line.

[0028] Preferably, determining the spectral line index to be corrected based on the frequency of the kth spectral line and the frequency calibration interval comprises:

[0029] Calculate the ratio of the frequency of the kth spectral line and the frequency calibration interval to obtain a correction index floating point number;

[0030] Extracting the integer part of the correction index floating point number as the index of the first correction coefficient;

[0031] Extract the integer part of the correction index floating point number and add 1 as the index of the second correction coefficient;

[0032] The correction coefficient of the frequency point corresponding to the first correction coefficient and the second correction coefficient is determined according to the index of the first correction coefficient and the second correction coefficient.

[0033] Preferably, the calculating the correction coefficient of the kth spectral line by linear interpolation includes calculating the correction coefficient of the kth spectral line based on the first correction coefficient, the second correction coefficient and the decimal part of the correction index floating point number.

[0034] Preferably, the method further comprises using the calibrated time domain data to determine the effective value of acceleration, the kurtosis value or further integrate to obtain velocity and displacement data.

[0035] The beneficial effects of the present invention are:

[0036] The present invention divides the frequency range of the vibration sensor into frequency bands by an octave-based division method, which can more effectively allocate frequency resources, reduce the attenuation of high-frequency data, and improve the accuracy of frequency band division, especially in the low frequency band, the calculation accuracy is higher; by obtaining the correction coefficient of each frequency point on the vibration sensor, specific correction can be performed for different frequency points, reducing the errors caused by changes in the environment and the characteristics of the sensor itself, so that the measurement result is more accurate and reliable; by continuously collecting the original time domain data of a preset number of points N at a preset sampling frequency and performing Fourier transform, the time domain and frequency domain characteristics of the signal can be fully captured and analyzed, and the accuracy of the measurement data can be improved; based on the sampling time, the frequency domain spectrum line interval and spectrum line frequency are calculated, and all spectrum lines are corrected, which can effectively reduce the spectrum leakage effect caused by FFT transformation, especially in the low frequency band, and can significantly improve the calculation accuracy of CPB spectrum; the software-defined vibration sensor measurement data calibration method solves the problems existing in the prior art by improving frequency band division, applying frequency point correction coefficients, accurately collecting and Fourier transforming and correcting them, and then performing inverse transformation, greatly improving the measurement accuracy and system reliability, and meeting the high-precision requirements in the field of industrial monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0038] Figure 1 A flowchart of a software-defined vibration sensor measurement data calibration method provided by an embodiment of the present invention;

[0039] Figure 2 A logic diagram of the calibration process of a vibration sensor provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0042] Please refer to Figure 1 and Figure 2 , which are respectively a flow chart of a software-defined vibration sensor measurement data calibration method and a logic diagram of a vibration sensor calibration process, the method specifically comprising:

[0043] S100, dividing the frequency range of the vibration sensor into frequency bands based on an octave division method;

[0044] In the embodiment of the present invention, step S100 specifically includes:

[0045] S110 determines a constant relationship between bandwidth and center frequency;

[0046] Specifically, by the formula w = v × f c represents the constant relationship between bandwidth and center frequency, where w is the bandwidth and f is the center frequency. c is the center frequency and v is a constant.

[0047] S120, calculating an initial center frequency and bandwidth based on a threshold value of the frequency range;

[0048] Specifically, the lower threshold is set to f1, the upper threshold is set to f2, and the center frequency fc initial It is obtained by taking the geometric mean of the sum, and the formula is fc initial =sqrt(f1*f2), initial bandwidth w initial Through the formula w initial =f2-f1 is calculated.

[0049] S130, verifying the constant relationship based on the initial center frequency and bandwidth;

[0050] Specifically, use and verify whether the relationship is satisfied. If not, adjust the value of v or reset the values ​​of f1 and f2.

[0051] S140, if the initial center frequency and bandwidth verification satisfy the constant relationship, calculate the i-th center frequency by geometric progression, where i≥1, and calculate the i-th bandwidth based on the i-th center frequency, and then determine the upper limit and lower limit of each frequency band; if the initial center frequency and bandwidth verification do not satisfy the constant relationship, adjust the threshold of the constant relationship or frequency range;

[0052] For example, the whole frequency domain is divided into n frequency bands, from fc initial First, use the geometric progression to calculate the subsequent center frequency. For the i-th frequency band (i starts from 1), the center frequency fc i It can be calculated by the following formula: i =fc initial *r (i-1) , where r is the common ratio of the geometric series;

[0053] Specifically, the common ratio r can be determined as follows: Assuming the center frequency of the last frequency band is fc final(it is equal to f2 or close to f2), then r=(fc final / fc initial ) 1 / (n-1) .

[0054] S150. Output the center frequency, bandwidth, upper limit and lower limit of each frequency band.

[0055] Specifically, for each center frequency fc i , using the formula h = v * fc i To calculate the bandwidth h i .

[0056] It is worth noting that due to the use of geometric progression, the bandwidth of each frequency band will be different, but their ratio to their respective center frequencies is a constant v.

[0057] Specifically, for each frequency band, the lower limit is the upper limit of the previous frequency band (for the first frequency band, the lower limit is f1), the upper limit is

[0058] S160, verify whether the upper limit of the last frequency band is close to or equal to f2. If not, fine-tune the value of v or n, and then repeat the above steps S120 to S150. Otherwise, output the center frequency, bandwidth, upper limit and lower limit of each frequency band.

[0059] It is worth mentioning that in practical applications, some additional factors need to be considered, such as frequency resolution, calculation accuracy, etc. If the values ​​of f1 and f2 are very large or very small, appropriate numerical methods need to be used to avoid overflow or underflow.

[0060] For example, the center frequency calculation of the octave can start from 1000 Hz, and then push the other center frequencies and their bandwidths up and down. 1000 Hz is always one of the center frequencies.

[0061] The formula for calculating the center frequency of 1 octave is:

[0062]

[0063] The calculation formula for the upper and lower limits of a 1-octave frequency band is:

[0064]

[0065] The calculation formula for the center frequency of a 1 / 3 octave band is:

[0066]

[0067] The calculation formula for the upper and lower limits of the 1 / 3 octave frequency band is:

[0068]

[0069] Optionally, the 1 / 3 octave band is mainly used to analyze the frequency distribution of noise energy. In addition, when doing the analysis, a weighting network is added to play a filtering function.

[0070] Each octave or 1 / 3 octave is obtained through bandpass filtering, but as a total octave or 1 / 3 octave analysis, it is mainly to study the distribution of signal energy in different frequency bands.

[0071] S200, obtaining correction coefficients for each frequency point on the vibration sensor;

[0072] In the embodiment of the present invention, step S200 specifically includes:

[0073] S210, placing the vibration sensor firmly on a standard vibration table;

[0074] S220, setting a vibration table to generate an acceleration vibration value with a fixed amplitude, such as 2 g (unit of gravity acceleration), and outputting a corresponding vibration frequency;

[0075] S230, the vibration sensor starts working at a fixed sampling frequency (e.g., 12800 Hz);

[0076] S240, in each sampling period, the sensor collects a fixed number of acceleration data (for example, 4096), and determines the acceleration effective value based on the acceleration data;

[0077] S250, determining an analysis frequency, a preset number of calibration points, and a frequency calibration interval based on the sampling frequency (e.g., 12800 Hz);

[0078] Specifically, the sampling frequency is divided by a constant (such as 2.56) to calculate the analysis frequency, which is 5000 Hz here.

[0079] In this embodiment, a 1 / 3 octave is selected, and the calibration frequency interval (frequency resolution) is calculated based on the analysis frequency and the preset number of calibration points (such as 25+1=26 points), which is 5000 Hz divided by 25, resulting in 200 Hz as the frequency interval.

[0080] In some other embodiments, the number of calibration points finally used is determined based on actual requirements (including factors such as accuracy, calibration efficiency, and memory usage).

[0081] S260, obtaining the acceleration effective value of the vibration sensor at each frequency point and the standard output value of the vibration table at the frequency, and calculating the correction coefficient of each frequency point based on the ratio of the acceleration effective value to the standard output value.

[0082] For example, starting from a certain starting vibration frequency f1 (for example, 200 Hz), the frequency interval (200 Hz) is gradually increased to f n (For example 8000Hz).

[0083] At each frequency point, the sensor collects data and calculates the effective value of acceleration A. i .

[0084] The calculated A i The standard output value AS of the vibration table at this frequency i Make a comparison.

[0085] According to the comparison results, calculate the frequency domain correction factor Factor of each frequency point i , the formula is Factor i =AS i / A i .

[0086] It is worth noting that since the vibration table usually cannot directly output a vibration value of 0 Hz and the offset of the low-frequency vibration calibration point has little effect on the result, a low-frequency point (such as 50 Hz) can be selected for calibration and this point can be regarded as an alternative point.

[0087] Specifically, after step S260, the n The n calibration coefficients of point f0 are added to obtain n+1 calibration coefficients in total.

[0088] S300, continuously collecting original time domain data of a preset number of points N at a preset sampling frequency and recording the sampling time, performing Fourier transform on the original time domain data to obtain original frequency domain data, wherein the original frequency domain data includes initial amplitude and phase information of each frequency point;

[0089] In the embodiment of the present invention, step S300 specifically includes:

[0090] S310, setting the working sampling frequency, starting to continuously collect N points (eg, N=4096) of original time domain data, and using a high-precision timer to accurately record the total collection time T (in seconds).

[0091] It is worth noting that if there is a large error in the acquisition frequency of the vibration sensor, the actual measured time T must be used for subsequent processing.

[0092] S320: Perform real Fourier transform (FFT) on the collected N-point original time domain data to obtain original frequency domain data of each frequency point in the frequency domain.

[0093] In this embodiment, after FFT transformation, due to data symmetry, only the first N / 2 frequency domain spectrum lines are taken.

[0094] S400, calculating the frequency domain spectral line interval and spectral line frequency based on the sampling time, and correcting all spectral lines based on the spectral line interval and spectral line frequency to obtain corrected frequency domain data;

[0095] In the embodiment of the present invention, step S400 specifically includes:

[0096] S410, calculating the spectrum interval:

[0097] Specifically, the actual accurate spectrum interval is the inverse of the total sampling time T, that is, Δf=1 / THz.

[0098] S420, calculate the spectral line frequency:

[0099] Specifically, for the kth spectral line (k ranges from 0 to N / 2-1), its frequency is: f k =k*Δf=k / THz.

[0100] In this embodiment, correcting all spectral lines based on the spectral line interval and the spectral line frequency specifically includes:

[0101] S431, determining the spectral line index to be corrected based on the frequency of the kth spectral line and the frequency calibration interval;

[0102] In this embodiment, step S431 specifically includes:

[0103] S4311, calculating the ratio of the frequency of the kth spectral line and the frequency calibration interval to obtain a correction index floating point number;

[0104] S4312, extracting the integer part of the correction index floating point number as the index of the first correction coefficient;

[0105] S4313, extracting the integer part of the correction index floating point number plus 1 as the index of the second correction coefficient;

[0106] S4314. Determine the correction coefficient of the frequency point corresponding to the first correction coefficient and the second correction coefficient according to the indexes thereof.

[0107] For example, the frequency f of the kth spectral line is used k Divide by the frequency calibration interval (e.g. 200Hz) to get the correction index floating point number C k =f k / 200, extract C k The integer part C z , as the index of the first correction coefficient; extract C k The integer part of the z+1), as the index of the second correction factor, for example, if f k =2500Hz, then C k =12.5, C z =12, C z +1=13.

[0108] S432 calculates the correction coefficient of the kth spectral line by linear interpolation;

[0109] Specifically, using the linear interpolation method, based on C z and C z +1 Correction factor Facor at both indices k [C z ] and Facor k [C z +1], and C k The decimal part of C x , through the formula Facor k =(Facor k [C z +1] -Facor k [C z ])*C x +Facor k [C z ] Calculate the correction factor Facor of the kth spectral line k .

[0110] S433 obtains the corrected amplitude accurate value based on the initial amplitude and correction coefficient of the kth spectral line; and traverses and corrects each spectral line.

[0111] Specifically, the original amplitude value A of the kth spectral line k Multiply by the correction factor Facor k , and get the corrected accurate value A zk , the formula is A zk =A k *Facor k .

[0112] S500, performing inverse Fourier transform on the corrected frequency domain data to obtain calibrated time domain data.

[0113] S600: Determine the acceleration effective value and kurtosis value by using the calibrated time domain data or further integrate to obtain velocity and displacement data.

[0114] S700 , for the vibration sensors of three axes (X axis, Y axis, Z axis), repeat the above steps S200 to S500 respectively to correct and analyze the results.

[0115] The software-defined vibration sensor measurement data calibration method solves the problems existing in the existing technology by improving frequency band division, applying frequency correction coefficients, precise acquisition and Fourier transform and its correction, and then performing inverse transformation, which greatly improves measurement accuracy and system reliability and meets the high-precision requirements in the field of industrial monitoring.

[0116] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A software-defined vibration sensor measurement data calibration method, characterized in that: include: The frequency range of the vibration sensor is divided into frequency bands based on the octave division method; Get the correction coefficient of each frequency point on the vibration sensor; Continuously collect original time domain data of a preset number of points N at a preset sampling frequency and record the sampling time, perform Fourier transform on the original time domain data to obtain original frequency domain data, wherein the original frequency domain data includes initial amplitude and phase information of each frequency point; Calculate the frequency domain spectral line interval and spectral line frequency based on the sampling time, and correct all spectral lines based on the spectral line interval and spectral line frequency to obtain corrected frequency domain data; The corrected frequency domain data is inversely Fourier transformed to obtain the calibrated time domain data.

2. The software-defined vibration sensor measurement data calibration method according to claim 1, characterized in that: The octave-based division method divides the frequency range of the vibration sensor into frequency bands, including: Determine the constant relationship between bandwidth and center frequency; Calculating an initial center frequency and bandwidth based on a threshold value of the frequency range; verifying the constant relationship based on the initial center frequency and bandwidth; If the initial center frequency and bandwidth verification satisfy the constant relationship, the i-th center frequency is calculated by a geometric progression, where i≥1, and the i-th bandwidth is calculated based on the i-th center frequency, thereby determining the upper limit and lower limit of each frequency band; if the initial center frequency and bandwidth verification do not satisfy the constant relationship, the threshold of the constant relationship or frequency range is adjusted; Outputs the center frequency, bandwidth, upper limit and lower limit of each frequency band.

3. The software-defined vibration sensor measurement data calibration method according to claim 1, characterized in that: The step of obtaining the correction coefficients of each frequency point on the vibration sensor includes: Place the vibration sensor firmly on a standard vibration table; The vibration table is set to generate a fixed-amplitude acceleration vibration value and output a corresponding vibration frequency; The vibration sensor starts working at a fixed sampling frequency; In each sampling period, the sensor collects a fixed number of acceleration data, and determines the acceleration effective value based on the acceleration data; Determining an analysis frequency, a preset number of calibration points, and a frequency calibration interval based on the sampling frequency; The effective value of the acceleration of the vibration sensor at each frequency point and the standard output value of the vibration table at the frequency are obtained, and the correction coefficient of each frequency point is calculated based on the ratio of the effective value of the acceleration to the standard output value.

4. The software-defined vibration sensor measurement data calibration method according to claim 3, characterized in that: The correcting of all spectral lines based on the spectral line interval and the spectral line frequency comprises: Determine the spectral line index to be corrected based on the frequency of the kth spectral line and the frequency calibration interval; Calculate the correction coefficient of the kth spectral line by linear interpolation; The corrected amplitude value is obtained based on the initial amplitude of the kth spectral line and the correction coefficient; Go through and correct each spectral line.

5. The software-defined vibration sensor measurement data calibration method according to claim 4, characterized in that: The step of determining the spectral line index to be corrected based on the frequency of the kth spectral line and the frequency calibration interval comprises: Calculate the ratio of the frequency of the kth spectral line and the frequency calibration interval to obtain a correction index floating point number; Extracting the integer part of the correction index floating point number as the index of the first correction coefficient; Extract the integer part of the correction index floating point number and add 1 as the index of the second correction coefficient; The correction coefficient of the frequency point corresponding to the first correction coefficient and the second correction coefficient is determined according to the index of the first correction coefficient and the second correction coefficient.

6. The software-defined vibration sensor measurement data calibration method according to claim 5, characterized in that: Calculating the correction coefficient of the kth spectral line by linear interpolation includes calculating the correction coefficient of the kth spectral line based on the first correction coefficient, the second correction coefficient and the decimal part of the correction index floating point number.

7. The software-defined vibration sensor measurement data calibration method according to claim 1, characterized in that: The method further comprises using the calibrated time domain data to determine the effective value of acceleration, the kurtosis value or further integrate to obtain velocity and displacement data.