An eddy current displacement sensor temperature compensation method based on array element convolution
By extracting the temperature-invariant characteristics of the eddy current displacement sensor using the array element convolution algorithm and constructing a functional relationship between frequency and displacement, the signal drift problem of the eddy current displacement sensor under temperature changes is solved, and high-precision temperature compensation is achieved.
Patent Information
- Application Number
- CN202311595029.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-24
AI Technical Summary
Existing eddy current displacement sensors suffer from signal drift and errors when temperature changes. Current compensation methods are complex, have limited applicability, and are ineffective, making it difficult to effectively address the problem of temperature influence.
The array element convolution algorithm is used to extract the temperature-invariant features of the sensor, and a functional relationship between the frequency-invariant features and displacement is constructed to achieve temperature compensation.
Without increasing hardware complexity, it improves the accuracy and efficiency of temperature compensation, reduces computational complexity, is applicable to planar coils of various shapes and sizes, and reduces resistive thermal noise and software algorithm errors.
Smart Images

Figure CN117589049B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of electronic technology, and more specifically, relates to a method for temperature compensation of eddy current displacement sensors based on array element convolution. Background Technology
[0002] Eddy current displacement sensors based on the LC oscillation principle establish a displacement-frequency relationship by measuring the frequency response during displacement changes, offering advantages such as high accuracy, small size, and low cost. However, heating the planar coil causes coil deformation and changes in the conductivity of the coil wires, resulting in signal temperature drift. Furthermore, the electrical parameters of the signal processing circuit, such as capacitance and impedance, are also affected by temperature, causing varying degrees of drift. Ultimately, this leads to significant errors in the acquired displacement-frequency function relationship. Therefore, temperature compensation is necessary for the eddy current displacement sensor to make it suitable for a wider temperature range.
[0003] There are many temperature compensation methods for various electronic devices and equipment, but there are few compensation methods for thin-film eddy current displacement sensors.
[0004] Zhao Guofeng et al. proposed a temperature compensation method based on an analog multiplier and a compensating resistor bridge, which is based on the design of an AC bridge eddy current displacement sensor. (Zhao G, Yin J, Wu L, et al. Ultrastable and low-noise self-compensation method for circuit thermal drift of eddy current sensors based on analog multiplier[J]. IEEE Transactions on Industrial Electronics, 2019, 67(10): 8851-8859.) This method requires the addition of a reference coil and a matching compensating resistor bridge circuit identical to the sensing circuit to obtain temperature compensation parameters, thus increasing the overall sensor size. The compensating resistor bridge circuit requires an impedance greater than that of the sensing circuit, but excessive impedance can introduce unnecessary resistive thermal noise. Furthermore, resistive thermal noise cannot be completely avoided, making the hardware parameter design quite challenging.
[0005] For temperature compensation methods of other electronic devices, such as adding a reference circuit, stable RC oscillation circuit parameters are obtained by superimposing positive and negative temperature coefficients. (Qiu Ding, Guo Chunbing, Xiao Yicheng, et al. A temperature-compensated RC oscillator circuit and its application chip [P]. Guangdong Province: CN115395890B, 2023-07-28.) In the field of inertial measurement, the zero-point compensation model is designed as a polynomial function related to temperature and temperature change rate to obtain compensation parameters for different temperature ranges. (Liu Ling, Xu Peng, Lü Zhiwu, et al. A zero-point temperature compensation method for inertial instruments [P]. Beijing: CN114184212B, 2023-09-26.) Similarly, Sajid Hussain et al. used the Jiles-Atherton model to analyze the temperature drift problem in electric steel welding. (Hussain S, Benabou A, Clénet S, et al. Temperature dependence in the Jiles–Atherton model for non-oriented electrical steels: an engineering approach[J]. IEEE Transactions on Magnetics, 2018, 54(11): 1-5.) The temperature compensation methods described above essentially modify the model parameters to correlate temperature with the parameters, establishing a nonlinear equation between temperature and related parameters. However, the generalization ability of the nonlinear equation constructed in this way is limited by the amount of data and whether the factors affected by temperature are fully considered. Furthermore, it requires that the parameters change regularly with temperature, making it unsuitable for complex temperature scenarios such as eddy current displacement sensors.
[0006] The method of constructing temperature compensation models using neural networks or improved neural networks combined with particle swarm optimization is widely used in temperature compensation of various devices. For example, Zhu Zhifeng et al. proposed an improved PSO-optimized wavelet neural network to improve the stability and accuracy of pressure sensors in the entire temperature range. (Zhu Zhifeng, Zhang Haining. Research on improved PSO-optimized wavelet neural network in temperature compensation of pressure sensors [J]. Instrumentation Technology and Sensors, 2022(08):122-126.) The error compensation parameters predicted by the algorithm require a large dataset for training. When the complexity of temperature influence is high, the prediction error of the neural network is large, which can easily lead to poor final temperature compensation effect. Therefore, this method is difficult to operate in practice.
[0007] All the methods described above fall into two categories: hardware compensation and software compensation. Hardware compensation requires a reliable reference circuit, while software compensation requires a reasonable analysis of the correlation between temperature and circuit parameters, and the provision of substantial data support. Both methods suffer from problems such as difficulty in finding suitable circuits or compensation parameters, high computational complexity, limited applicability, poor compensation effects, and difficulties in practical operation. Summary of the Invention
[0008] The purpose of this invention is to overcome the shortcomings of the prior art and provide a temperature compensation method for eddy current displacement sensors based on array element convolution. Without increasing the complexity of the hardware circuit, the method extracts the invariant features of the sensor with respect to temperature drift through the array element convolution algorithm, constructs the functional relationship between the temperature invariant features and the displacement, and realizes temperature compensation.
[0009] To achieve the above-mentioned objective, the present invention provides a method for temperature compensation of an eddy current displacement sensor based on array element convolution, characterized by comprising the following steps:
[0010] (1) Setting up an eddy current displacement sensor that includes Each array element is sequentially designated as Array Element 1, Array Element 2, ..., Array Element 3. , ;set up Displacement points, One temperature point;
[0011] (2) Set the array element convolution of the eddy current displacement sensor under different accuracy requirements;
[0012] ;
[0013] in, , , , For the first Displacement value at each displacement point For the first Temperature values at each temperature point Indicates temperature as Displacement First The frequency measured by each array element Indicates displacement The number of terms in the summation of the frequencies of the array elements. These represent the frequency-invariant features extracted by array-element convolution under different accuracy requirements. Each equation represents array-element convolution under a specific accuracy requirement. This indicates the number of convolution kernels in each type of array element convolution;
[0014] (3) Constructing frequency-invariant features With displacement The functional relationship is:
[0015] ;
[0016] in, The coefficients of the fitted polynomial;
[0017] (4) At a known temperature The frequency corresponding to the eddy current displacement sensor at a certain unknown displacement is measured by... The frequency composition of each array element is denoted as . , Indicates temperature as At unknown displacement First The frequency measured by each array element;
[0018] (5) Based on actual needs, select an array element convolution with a certain precision requirement from step (2), that is, select an equation; then The frequencies measured by each array element are substituted into the selected array element convolution formula to calculate the temperature. The corresponding frequency-invariant feature Finally, the frequency-invariant feature Substituting the functional relationship from step (3), the displacement after temperature compensation can be calculated. .
[0019] The objective of this invention is achieved as follows:
[0020] This invention discloses a method for temperature compensation of an eddy current displacement sensor based on array element convolution. By measuring the frequency of the eddy current displacement sensor at different displacement points and different temperature points, a functional relationship between the frequency and displacement of the eddy current displacement sensor at different temperatures is fitted. When performing temperature compensation on the eddy current displacement sensor, the frequency-invariant features at different temperatures are first extracted by array element convolution, and then the displacement after temperature compensation is inverted through the functional relationship, thereby achieving temperature compensation.
[0021] Meanwhile, the method for temperature compensation of eddy current displacement sensor based on array element convolution of the present invention also has the following beneficial effects:
[0022] (1) This invention does not require additional conditions such as uniform temperature field and capacitor matching, nor does it require external circuits such as differential circuits and reference coils. It only requires measuring the frequency at different displacements of each array element and calculating the displacement after temperature compensation by invariant feature inversion through convolution.
[0023] (2) Existing ECS AC bridge-based temperature compensation methods require the design of a reference resistor bridge circuit, which requires the impedance of the reference resistor bridge to be greater than that of the coil bridge circuit, which can easily introduce excessive resistance thermal noise into the compensation signal. This invention avoids the error caused by impedance matching, and the impedance changes caused by temperature in the coil peripheral circuit are eliminated after convolution operation.
[0024] (3) The frequency features obtained by convolution between array elements at each temperature are highly consistent, indicating that the invariant features extracted by convolution at different temperatures have high reliability, and therefore the temperature compensation is highly accurate.
[0025] (4) Existing convolutional neural network prediction error compensation is difficult to guarantee because temperature affects different circuits and sensors differently. It requires a lot of time and space costs, and the final compensation measurement results still have uncertain errors. This invention avoids software algorithm errors, effectively reduces computational complexity, and improves the efficiency and accuracy of compensation.
[0026] (5) Unlike conventional convolution methods that can only extract invariant features but cannot retrieve the convolution result corresponding to the frequency at a certain displacement, this invention establishes the correspondence between the frequency at a certain displacement and the convolution result by optimizing the definition of array element convolution.
[0027] (6) The array element convolution proposed in this invention, when setting the type of array element convolution, the more convolution kernels and the more terms of summation, the smaller the displacement error obtained by invariant feature inversion and the better the temperature compensation effect.
[0028] (7) The temperature compensation method based on array element convolution proposed in this invention has strong generalization ability and is applicable to planar coils of various shapes, structures and sizes. Attached Figure Description
[0029] Figure 1 This is a flowchart of the temperature compensation method for eddy current displacement sensor based on array element convolution of the present invention;
[0030] Figure 2 This is a schematic diagram of the array element eddy current displacement sensor used in the embodiment;
[0031] Figure 3 This is a block diagram of the entire sensor system measurement process;
[0032] Figure 4 This is a bar chart comparing the results of error compensation before and after within the range of 9071.85–9990.025 μm;
[0033] Figure 5 This is a bar chart comparing the temperature-compensated displacement error of invariant features extracted by convolution in the range of 9071.85–9990.025 μm in Example 2. Detailed Implementation
[0034] The specific embodiments of the present invention will now be described with reference to the accompanying drawings to enable those skilled in the art to better understand the invention. It should be particularly noted that in the following description, detailed descriptions of known functions and designs that might obscure the main content of the invention will be omitted here.
[0035] Example
[0036] Figure 1 This is a flowchart of the temperature compensation method for eddy current displacement sensors based on array element convolution according to the present invention.
[0037] In this embodiment, as Figure 1 As shown, the present invention provides a method for temperature compensation of an eddy current displacement sensor based on array element convolution, comprising the following steps:
[0038] S1, Parameter Settings;
[0039] The eddy current displacement sensor includes Each array element is sequentially designated as Array Element 1, Array Element 2, ..., Array Element 3. , ;
[0040] In this embodiment, as Figure 2 As shown, the eddy current displacement sensor consists of four array elements, numbered Element 1, Element 2, Element 3, and Element 4. Each array element is a double-layer planar coil, which can be circular, square, or other shapes. There are no special requirements for the inductance of each array element. The inductance of the top and bottom coils can be different, and their positions can be overlapping or displaced, as long as the basic sensitivity requirements for displacement measurement are met. The basic range is 1-4 μH. In this embodiment, the inductance values are 3.55 μH, 3.4 μH, 2.9 μH, and 1.26 μH, respectively.
[0041] set up At each set temperature, within the effective range of the array eddy current displacement sensor, a temperature point is set. Five displacement points are set in this embodiment, denoted as T1=24, T2=25, T3=26, T4=27, and T5=28 respectively; 66 displacement points are set under each temperature point.
[0042] S2, Measure the frequency of the array elements;
[0043] At each temperature point, the frequency corresponding to the eddy current displacement sensor at each displacement point is measured. This frequency is determined by... The frequency composition of each array element, including the temperature point At that time, the eddy current displacement sensor was at the first The element frequencies measured at each displacement point are denoted as . , Temperature point The time eddy current displacement sensor at the first Displacement values at each displacement point;
[0044] In this embodiment, as Figure 3 As shown, by placing devices such as the displacement stage and arrayed eddy current displacement sensors into the temperature chamber, the temperature chamber is controlled to reach the set ambient temperature. After the system starts, the position of the displacement stage is initialized;
[0045] At each set temperature, within the effective range of the array eddy current displacement sensor, n displacement points are set, denoted as x1, x2, ..., xn. n Then there are a total of n frequency points on the displacement-frequency curve.
[0046] S3. Set up array element convolution for eddy current displacement sensors under different accuracy requirements, and classify array element convolution into various types based on the number of convolution kernels and the number of cumulative summation terms;
[0047] ;
[0048] in, , , , For the first Displacement value at each displacement point For the first Temperature values at each temperature point Indicates temperature as Displacement First The frequency measured by each array element Indicates displacement The number of terms in the summation of the frequencies of the array elements. These represent the frequency-invariant features extracted by array-element convolution under different accuracy requirements. Each equation represents array-element convolution under a specific accuracy requirement. This indicates the number of convolution kernels in each type of array element convolution;
[0049] In this embodiment, there is no limit to the number of convolution kernels or the number of terms in the summation. The more convolution kernels and the more terms in the summation, the better the temperature compensation effect. In this embodiment, we set up array element convolution under three accuracy requirements based on the number of convolution kernels and the number of terms in the summation. Based on the time-shift invariance of convolution, array element convolution is used to extract the common features of the eddy current displacement sensor at different temperatures. Experimentally, the features extracted from some known temperature points can predict the features of unknown temperature points.
[0050] S4. Construct frequency-invariant features With displacement The functional relationship;
[0051] Among the three array element convolution types with different accuracy requirements, a set of array element convolutions is selected based on actual needs. By choosing the specific type of array element convolution, the number of convolution kernels and the number of terms in the summation are determined. Subsequently, when performing array element convolution operations on each displacement point, the array element frequency measured in step S2 is substituted into the selected array element convolution formula to calculate the frequency-invariant characteristics at the corresponding temperature. By repeatedly taking values at different temperature points and displacement points, multiple sets of frequency-invariant characteristics are obtained. Finally, the frequency-invariant characteristics are fitted using MATLAB. With displacement The functional relationship is:
[0052] ;
[0053] in, The coefficients of the fitted polynomial;
[0054] In this embodiment, the distance between experimental displacement points can be obtained through the fitted function. The coordinates, based on this function mapping relationship, can complete the subsequent temperature compensation. This is because by performing convolution operations on the array element frequency information at different temperatures at the same displacement point, invariant features are extracted. These features are common to different temperatures and are not affected by temperature changes. This feature is applicable not only to the temperature points acquired in the above steps but also to unknown temperature points.
[0055] S5. Obtain calibration data for the eddy current displacement sensor;
[0056] At a known temperature The frequency corresponding to the eddy current displacement sensor at a certain unknown displacement is measured by... The frequency composition of each array element is denoted as . , Indicates temperature as At unknown displacement First The frequency measured by each array element;
[0057] S6, Eddy current displacement sensor temperature compensation;
[0058] Will The frequencies measured by each array element are substituted into the selected array element convolution formula to calculate the temperature. The corresponding frequency-invariant feature Finally, the frequency-invariant feature Substituting the functional relationship from step S4, the displacement after temperature compensation can be calculated. .
[0059] Error Analysis and Verification
[0060] We take a certain displacement and frequency data to verify the effectiveness and reliability of convolution temperature compensation. Following the above method, we obtain the invariant features at different displacements, substitute them into the constructed invariant feature-displacement function expression to obtain the corresponding temperature-compensated displacement, and calculate the error between this displacement and the measured actual displacement. The error calculation equations are as follows:
[0061] ;
[0062] in, The displacement represents the inversion of invariant characteristics. Corresponding to the actual displacement, express The inversion error at the displacement point after temperature compensation.
[0063] The evaluation metrics for this embodiment are the standard deviation and root mean square error calculated based on the inversion error after temperature compensation.
[0064] The standard deviation is calculated using the following equation:
[0065] ;
[0066] Where s represents the standard deviation and n represents the number of displacement points. This represents the average value of the inversion error.
[0067] The root mean square error is calculated using the following equation:
[0068] ;
[0069] Among them, X RMSE This represents the root mean square error.
[0070] Example 1
[0071] In this embodiment, without temperature compensation, it is assumed that the functional relationship between displacement and frequency of array element 1 obtained from the above experiment at 20℃ is applicable to all temperatures. A Gaussian function fitting is used to establish the functional relationship between displacement and frequency of array element 1, as shown in the following equation.
[0072]
[0073] in, All coefficients are obtained from fitting. For displacement vectors, The vector consisting of the frequencies of each displacement point of array element 1, i.e. .
[0074] The frequency vector of array element 1 at 25℃ Substituting the above functional relationship, we obtain the inverted displacement value:
[0075]
[0076] in, This represents the displacement value obtained by fitting a Gaussian function without temperature compensation;
[0077] Calculate the uncompensated inversion error using the following set of equations:
[0078] ;
[0079] Next, array element convolution temperature compensation is performed at 25°C, where the convolution method consists of one convolution kernel and one summation term. Figure 4 The middle section is a bar chart comparing the error before and after compensation within the range of 9071.85–9990.025 μm. The chart shows that the error was significantly reduced after compensation; the maximum error before compensation was 79.79 μm, while the maximum error after compensation was 24.26 μm. This demonstrates the effectiveness of array element convolution for temperature compensation.
[0080] Furthermore, this embodiment demonstrates that the present invention does not require additional external circuitry or impedance matching. The solution is simple to operate, with negligible theoretical errors; only the displacement stage measurement error needs to be considered. By measuring n points on the displacement-frequency curve, temperature-invariant features can be extracted through convolution, and the displacement corresponding to the element frequency at a specific temperature can be obtained through inversion of the convolution result, effectively compensating for the error caused by temperature.
[0081] Example 2
[0082] Within the effective range of the array eddy current displacement sensor, the temperature range is 24-28℃. Sixty-six displacement points were set between 6015.9 and 10104.1 μm, with 25℃ as the test temperature. The number of convolution kernels were 1, 2, and 3, respectively. No summation operation was performed. The error evaluation results are shown in Table 1.
[0083] Test temperature 25℃ 1 convolution kernel 2 convolution kernels 3 convolution kernels Standard deviation 234.5489222 179.6691163 168.0602925 Root mean square error 245.2941308 188.2885201 171.3806214
[0084] Table 1
[0085] As shown in Table 1, when the number of convolutional kernels is 1, 2, and 3, without summation, the more convolutional kernels, the smaller the root mean square error. Convolution with different numbers of kernels all have good temperature compensation effects, and the more convolutional kernels, the better the compensation effect.
[0086] Example 3
[0087] Similar to Example 1, within the effective range of the array eddy current displacement sensor, the temperature range is 24-28℃. 66 displacement points are set between 6015.9 and 10104.1 μm, with 25℃ as the test temperature. The number of convolution kernels is set to 1, and the number of terms in the summation is 1, 2, and 3 respectively. The error evaluation results are shown in Table 2.
[0088] Test temperature 25℃ Summing 1 term Summing 2 terms Summing 3 terms Standard deviation 234.5489222 196.9664808 155.6810736 Root mean square error 245.2941308 206.6247069 164.0655231
[0089] Table 2
[0090] As shown in Table 2, when the number of convolution kernels is 1, the more terms are summed, the smaller the overall standard deviation and root mean square error. Figure 5 Within the range of 9071.85–9990.025 μm, a comparative histogram of displacement inversion errors after temperature compensation using invariant features extracted by convolution is presented. The histogram shows that within this range, convolution with different summation terms all have good temperature compensation effects, with errors all within 24.26 μm. Among them, the maximum inversion error after temperature compensation is the smallest for convolution with 3 summation terms.
[0091] Example 4
[0092] Similar to Example 2, within the effective range of the array eddy current displacement sensor, the temperature range is 24-28℃. 66 displacement points are set between 6015.9 and 10104.1 μm, with 25℃ as the test temperature. Two convolution kernels are used, and the number of terms in the summation is 2, 3, and 4 respectively. The error evaluation results are shown in Table 3.
[0093] Test temperature 25℃ Summing 2 terms Summing 3 terms Summing 4 terms Standard deviation 188.3282031 170.2910592 146.3875283 Root mean square error 193.3439193 173.7020067 148.6293225
[0094] Table 3
[0095] As shown in Table 3, when the number of convolution kernels is 2, the more terms are summed, the smaller the overall standard deviation and root mean square error. Furthermore, comparing with Example 2, it can be seen that increasing the number of convolution kernels reduces both the standard deviation and root mean square error, indicating that the more convolution kernels there are, the smaller the temperature compensation error.
[0096] Comparing the results of Examples 1, 2, and 3, it can be shown that the more convolution kernels (i.e., the more array elements involved in the convolution) and the more terms are summed, the more accurate the extracted invariant features become. This more effectively reduces the error between the temperature-compensated inverted displacement and the actual displacement, resulting in better temperature compensation. In summary, array element convolution can significantly eliminate displacement measurement errors caused by temperature.
[0097] Although the illustrative specific embodiments of the present invention have been described above to enable those skilled in the art to understand the invention, it should be understood that the invention is not limited to the scope of the specific embodiments. For those skilled in the art, various changes are obvious as long as they are within the spirit and scope of the invention as defined and determined by the appended claims, and all inventions utilizing the concept of the present invention are protected.
Claims
1. An eddy current displacement sensor temperature compensation method based on array element convolution, characterized by, Includes the following steps: (1) Setting the eddy current displacement sensor to include Each array element is sequentially designated as Array Element 1, Array Element 2, ..., Array Element 3. , ;set up Displacement points, One temperature point; (2) Set the array element convolution of the eddy current displacement sensor under different accuracy requirements; ; wherein, , , , is the displacement value of the th displacement point, is the temperature value of the th temperature point, represents the frequency measured by the th array element at displacement when the temperature is , represents the number of items of the array element frequency cumulative summation at displacement , represents the frequency invariant features extracted by the array element convolution under different accuracy requirements, and each equation represents an array element convolution under an accuracy requirement, represents the number of convolution kernels in each array element convolution; (3) Constructing frequency-invariant features With displacement The functional relationship is: ; in, The coefficients of the fitted polynomial; (4) At a known temperature The frequency corresponding to the eddy current displacement sensor at a certain unknown displacement is measured by... The frequency composition of each array element is denoted as . , Indicates temperature as At unknown displacement First The frequency measured by each array element; (5) Based on actual needs, select an array element convolution with a certain precision requirement from step (2), that is, select an equation; then The frequencies measured by each array element are substituted into the selected array element convolution formula to calculate the temperature. The corresponding frequency-invariant feature Finally, the frequency-invariant feature Substituting the functional relationship from step (3), the displacement after temperature compensation can be calculated. .
Citation Information
Patent Citations
Zero-position temperature compensation method for inertia instrument
CN114184212A
Temperature compensation RC oscillator circuit and application chip thereof
CN115395890A
Inductance frequency modulation displacement sensor linearization and temperature drift correction method and realizing device
CN106197239A
Temperature compensating system of temperature compensated crystal oscillator
CN106603068A
