CN-121995528-A - Automatic calibration method and device for detector tester, electronic equipment and medium
Abstract
The application provides an automatic calibration method, a device, electronic equipment and a medium for a detector tester, which relate to the field of calibration measurement and test, and acquire the starting moment T 0 of a detector for acquiring a damping oscillation signal through the detector tester, wherein the method comprises the steps of acquiring sample signals x [ i-M ], x [ i-M+1], x [ i-M+2] and x [ i-M+2] corresponding to the moment i, calculating a filtered signal y [ i-1] through a formula, and determining the starting moment T 0 of the damping oscillation signal when the x [ i ] is larger than G x [ i-1], wherein G is a threshold coefficient multiple, acquiring a damping coefficient, natural frequency and sensitivity based on T 0 , and automatically calibrating the detector tester based on the damping coefficient, the natural frequency and the sensitivity. The method automatically calibrates the detector tester, avoids complex operation of a calibrator, and improves calibration precision and calibration efficiency.
Inventors
- WU DI
- ZHANG LIBAO
- JI YING
- TIAN LEI
- ZHAO DONGJUN
- WANG JIANGTAO
Assignees
- 中国石油天然气集团有限公司
- 中国石油集团东方地球物理勘探有限责任公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241107
Claims (10)
- 1. An automatic calibration method for a detector tester, comprising: The starting time T 0 of obtaining the damped oscillation signal by the detector tester comprises the following steps: obtaining sampling point signals x [ i-M ], x [ i-M+1], x [ i-M+2] corresponding to i time from i-M, i-M+1 to i time; calculating to obtain a filtered signal y [ i-1] at the moment i: When x [ i ] is larger than G [ i-1], the moment i is the starting moment T 0 of the damped oscillation signal, wherein G is a threshold coefficient multiple; Based on the starting time T 0 of the damped oscillation signal, obtaining a first peak voltage A 1 of a response signal waveform and a second peak voltage A 2 of the response signal waveform of the detector; Obtaining a damping coefficient Bt of the detector based on the first peak voltage A 1 and the second peak voltage A 2 ; Based on the damping coefficient Bt, obtaining the natural frequency F 0 of the detector; Obtaining the sensitivity S of the detector based on the first peak voltage A 1 , the damping coefficient Bt, the natural frequency F 0 , the mass m of the detector coil and the direct current I 0 of the detector coil; And automatically calibrating the detector tester based on the damping coefficient Bt, the natural frequency F 0 and the sensitivity S.
- 2. The automatic calibration method of a detector tester according to claim 1, wherein weights of the signals of each sample point from i-M time to i-1 time meet the following conditions: samples closer to the current sample have higher weights and samples farther from the current sample have lower weights.
- 3. The automatic calibration method of a detector tester according to claim 2, wherein the weight of each sample signal from i-M time to i-1 time is calculated by the following formula: ; Wherein k is any one of i-1 and i-2. I the time of sampling point signal x [ i ], M is the filter window width, and sigma is the standard deviation of Gaussian function.
- 4. The method for automatically calibrating a detector tester of claim 1, further comprising: when x [ i ] is less than or equal to Gxyi-1, x [ i+1] is obtained, y [ i ] is obtained by calculation, and x [ i+1] is compared with Gxyi until the starting time T 0 of the damped oscillation signal is obtained.
- 5. The method for automatically calibrating a detector tester according to claim 1, further comprising, before calculating the filtered signal y [ i-1] at the time i by a formula: And filtering the DC offset voltage to ensure that the signal is kept near zero voltage for weight calculation and weighted filtering in the later stage.
- 6. The method for automatically calibrating a detector tester according to claim 1, wherein the calculating the filtered signal y [ i-1] at the i time comprises: The filtered signal y [ i-1] at time i is calculated according to the following formula: ; wherein y [ i-1] is the filtered signal at the moment i, omega [ i-1] to omega [ i-M ] are the weight of each sample signal at the moment i-1 to the moment i-M, x [ i-1] to x [ i-M ] are each sample signal at the moment i-1 to the moment i-M, and M is the width of the filtering window.
- 7. An automatic calibration device for a detector tester, comprising: The data acquisition module is used for acquiring sampling point signals x [ i-M ], x [ i-M+1], x [ i-M+2] corresponding to the moment i from i-M, i-M+1, i-M+2 to x [ i ]; the data buffer module is used for storing sampling point signals x [ i-M ], x [ i-M+1], x [ i-M+2] corresponding to the moment i from i-M, i-M+1, i-M+2 to x [ i ]; The weight calculation module is used for calculating the weight of each sample point signal from the i-1 moment to the i-M moment; the sliding weighted filtering module is used for calculating a filtered signal y [ i-1] at the moment i according to the following formula: ; Wherein y [ i-1] is the filtered signal at the moment i, omega [ i-1] to omega [ i-M ] are the weight of each sample signal at the moment i-1 to i-M, x [ i-1] to x [ i-M ] are each sample signal at the moment i-1 to i-M, M is the width of the filtering window; the comparator module is used for comparing x [ i ] with G [ y [ i-1], wherein G is a threshold coefficient multiple; and the determining module is used for determining the moment i as the starting moment T 0 of the damped oscillation signal when x [ i ] is larger than G [ i-1 ].
- 8. The detector tester automatic calibration device according to claim 7, wherein the data acquisition module is a first-in first-out data buffer, the data acquisition module is connected with a 24-bit high-precision ADC, and the weight calculation module, the sliding weighting filter module, and the comparator module are implemented by programming on an FPGA chip.
- 9. An electronic device comprising a memory, a processor and a computer program stored on the memory, the processor executing the computer program to perform the steps of the method for automatically calibrating a detector tester of any of claims 1-6.
- 10. A computer readable storage medium having stored thereon a computer program/instruction which when executed by a processor performs the steps in the method for auto-calibrating a detector tester as claimed in any of claims 1 to 6.
Description
Automatic calibration method and device for detector tester, electronic equipment and medium Technical Field The embodiment of the application relates to the field of calibration measurement test, in particular to an automatic calibration method and device for a detector tester, electronic equipment and a medium. Background The detector tester is an instrument for performing field test and inspection on the detector. According to relevant regulations, the detector must be calibrated periodically to ensure that its performance is stable and accuracy meets the requirements. The parameters usually tested by the tester comprise direct current resistance, polarity, damping coefficient, natural frequency, sensitivity, distortion degree and the like, and the calibrated parameters mainly comprise the direct current resistance, the damping coefficient, the natural frequency, the sensitivity, the distortion degree and the like. Wherein the damping coefficient, natural frequency and sensitivity are all carried out by a damping oscillation curve of a specified parameter, and therefore, the three parameters are collectively called as three parameters. Even if the extremum A1 and A2 and the half period duration T are needed to be obtained from the damped oscillation curve, the starting time T 0 of the damped oscillation is the key for capturing the damped oscillation curve. In the actual test, due to the influence of the noise of the circuit, the electromagnetic interference of the environment and other factors, the starting time is difficult to accurately capture due to the interference of the noise on the damping oscillation curve of the calibration output. In the existing calibration device, a tester can only manually adjust the trigger level according to experience to capture the damping vibration waveform, and then acquire the starting time T 0 of the damping vibration. Personnel repeatedly adjust trigger delay and trigger level, and the starting time T 0 of the acquired damped oscillation is low in efficiency and accuracy. Disclosure of Invention The embodiment of the application provides an automatic calibration method, an automatic calibration device, electronic equipment and a medium for a detector tester, which aim to solve the problem of how to improve the efficiency and accuracy of acquiring the starting time T 0 of damped oscillation. An embodiment of the present application provides a method for automatically calibrating a detector tester, including: The starting time T 0 of obtaining the damped oscillation signal by the detector tester comprises the following steps: obtaining sampling point signals x [ i-M ], x [ i-M+1], x [ i-M+2] corresponding to i time from i-M, i-M+1 to i time; calculating to obtain a filtered signal y [ i-1] at the moment i: When x [ i ] is larger than G [ i-1], the moment i is the starting moment T 0 of the damped oscillation signal, wherein G is a threshold coefficient multiple; Based on the starting time T 0 of the damped oscillation signal, obtaining a first peak voltage A 1 of a response signal waveform and a second peak voltage A 2 of the response signal waveform of the detector; Obtaining a damping coefficient Bt of the detector based on the first peak voltage A 1 and the second peak voltage A 2; Based on the damping coefficient Bt, obtaining the natural frequency F 0 of the detector; Obtaining the sensitivity S of the detector based on the first peak voltage A 1, the damping coefficient Bt, the natural frequency F 0, the mass m of the detector coil and the direct current I 0 of the detector coil; And automatically calibrating the detector tester based on the damping coefficient Bt, the natural frequency F 0 and the sensitivity S. In an alternative embodiment, the weights of the sample signals from instant i-M to instant i-1 meet the following conditions: samples closer to the current sample have higher weights and samples farther from the current sample have lower weights. In an alternative embodiment, the weights of the sample signals from i-M time to i-1 time are calculated by the following formula: ; Wherein k is any one of i-1 and i-2. I the time of sampling point signal x [ i ], M is the filter window width, and sigma is the standard deviation of Gaussian function. In an alternative embodiment, the method further comprises: when x [ i ] is less than or equal to Gxyi-1, x [ i+1] is obtained, y [ i ] is obtained by calculation, and x [ i+1] is compared with Gxyi until the starting time T 0 of the damped oscillation signal is obtained. In an alternative embodiment, before the filtered signal y [ i-1] at the time i is calculated by a formula, the method further comprises: And filtering the DC offset voltage to ensure that the signal is kept near zero voltage for weight calculation and weighted filtering in the later stage. In an alternative embodiment, the calculating the filtered signal y [ i-1] at the instant i includes: The filtered signal y [ i-1] at time i is calculated