Detection method and device of magnetostrictive displacement sensor

The time delay of the echo signal is processed through the generalized secondary cross-correlation method, which solves the problem of insufficient detection capability of magnetostrictive displacement sensors under weak magnetic induction, and achieves the improvement of high precision and anti-interference ability. It is suitable for displacement measurement in complex environments .

CN118936289APending Publication Date: 2024-11-12HANGZHOU ZHEJIANG UNIV JINGYI ELECTROMECHANICAL TECH ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411306392.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing magnetostrictive displacement sensors have low detection capabilities under weak magnetic induction conditions, especially in low signal-to-noise ratio environments, and are easily disturbed by noise.

Method used

The delay measurement method of generalized secondary cross-correlation is adopted to perform time frequency domain processing on the echo signal, calculate the time delay and use the weighting function to improve the noise immunity of the signal, thereby improving the detection capability of the magnetostrictive displacement sensor.

Benefits of technology

Realizing high-precision displacement measurement under low signal-to-noise ratio conditions, enhancing anti-interference capability, suitable for magnetostrictive displacement sensor applications in complex environments, and has strong system design compatibility and easy integration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118936289A_ABST
    Figure CN118936289A_ABST
Patent Text Reader

Abstract

The invention discloses a detection method and device of a magnetostrictive displacement sensor. In order to solve the problem that a traditional threshold value detection method is insufficient in detection capacity under the condition of a low signal-to-noise ratio, firstly, a detection module collects and obtains detection signal data and sends the detection signal data to a signal processing module; the signal processing module determines time delay of echo signals by sequentially executing fast Fourier transform, self-correlation operation, cross-correlation operation, generalized secondary cross-correlation operation and inverse Fourier transform, pulse signals are generated and sent to the control module, the control module calculates magnet positions at all moments according to the pulse signals, and the magnet positions at all moments are calculated according to the pulse signals. Therefore, the displacement measurement precision under the weak magnetic induction condition is obviously improved. By introducing the reference signal and the weighting function, the accuracy and noise resistance of sensor displacement measurement are enhanced, and the device disclosed by the invention has excellent performance indexes such as nonlinearity, repeatability, hysteresis and the like during high-precision displacement detection, and has a wide application prospect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a magnetostrictive displacement sensor, and in particular to a signal detection method and a signal detection device of the magnetostrictive displacement sensor. Background Art

[0002] The magnetostrictive displacement sensor is a non-contact, wear-free displacement sensor, which is widely used in displacement measurement in hydraulic cylinders, die-casting machines, etc. The magnetostrictive displacement sensor uses a waveguide wire as a key measuring element. An excitation pulse is passed through the waveguide wire. The annular magnetic field generated by the excitation pulse on the waveguide wire interacts with the position detection magnet to generate a position detection signal. The position detection signal propagates along the waveguide wire and is received by the detection module. The actual position of the position detection magnet can be calculated based on the propagation time of the position detection signal on the waveguide wire. The position detection magnet is non-contact with the waveguide wire, so there is no wear. The actual detection application of the sensor has a long service life and is stable and reliable.

[0003] Most existing examples of magnetostrictive displacement sensors are designed for small working gap scenarios. At the same time, in order to enhance the echo signal as much as possible, a strong bias magnetic field is provided to the sensor to generate a large torsional wave. As the distance increases, the axial bias magnetic field provided by the permanent magnet decreases rapidly. Although the traditional threshold detection method has excellent dynamic response, its detection capability is not high or even impossible to detect weak signals caused by weak magnetic induction accompanied by noise interference and low signal-to-noise ratio. Summary of the invention

[0004] In order to detect weak echo signals under weak magnetic induction, the present invention considers detecting by means of signal processing, so as to accurately detect the weak signal of the sensor under a certain low signal-to-noise ratio to achieve the purpose of weak magnetic induction displacement detection. The present invention is based on the time-delay measurement method of generalized quadratic cross-correlation, and applies it to the flight time detection of magnetostrictive signals, and utilizes its noise resistance and low signal-to-noise ratio detection capabilities to improve the weak magnetic induction detection capability of the magnetostrictive displacement sensor, thereby achieving the purpose of accurate displacement measurement under weak magnetic induction conditions, and is particularly suitable for the measurement environment of the magnetostrictive displacement sensor.

[0005] The technical solution of the present invention is as follows:

[0006] 1. A method for detecting magnetostrictive displacement sensor signals

[0007] 1) Send an excitation signal to the object to be tested through a transmitting device;

[0008] 2) using a receiving device to receive two adjacent echo signals x(t) and y(t) reflected by the object to be measured, using the echo signal x(t) as a reference signal, and recording the echo signal y(t) as a displacement signal;

[0009] 3) After performing time-frequency domain processing on the reference signal and the displacement signal, a time delay Δt is obtained;

[0010] 4) Multiply the time delay Δt and the wave velocity v to obtain the displacement of the object to be measured.

[0011] The excitation signal is a rectangular pulse signal.

[0012] The specific aspects of 3) are:

[0013] 3.1) Calculate the autocorrelation function Gxx(ω) of the reference signal;

[0014] 3.2) Calculate the cross-correlation function Gxy(ω) between the reference signal and the displacement signal;

[0015] 3.3) After generalized quadratic cross-correlation operation and row weighting processing of the autocorrelation function Gxx(ω) and the cross-correlation function Gxy(ω), the cross-power spectrum GRR(ω) is obtained, and the calculation formula is as follows:

[0016]

[0017] in, is the weighting function;

[0018] 3.4) Through the inverse Fourier transform, the cross power spectrum G RR After (ω) is converted back to the time domain, the generalized quadratic cross-correlation function R is obtained RR (τ), the generalized quadratic cross-correlation function R RR The time corresponding to the maximum value of (τ) is taken as the time delay Δt.

[0019] The weighting function is the SCOT weighting function.

[0020] 2. A magnetostrictive displacement sensor signal detection device

[0021] The device includes a waveguide wire, a control module, a detection module, a pulse excitation module and a signal processing module; the waveguide wire is connected to the detection module and the pulse excitation module respectively, and the detection module, the pulse excitation module and the signal processing module are all connected to the control module; a magnet is placed on the circumferential side of the waveguide wire, the control module sends an excitation pulse signal to the waveguide wire through the pulse excitation module, the detection module collects and obtains echo signal data and sends it to the signal processing module, the signal processing module calculates the time delay between two adjacent echo signals according to the echo signal data and generates a corresponding pulse signal and sends it to the control module, and the control module calculates the magnet position at each moment according to the pulse signal.

[0022] The signal processing module includes a digital signal processor, a fast Fourier transform hardware accelerator, a high-precision analog-to-digital converter, a filter bank, a memory and an interface.

[0023] The digital signal processor comprises:

[0024] The signal acquisition and conversion module is used to control the analog-to-digital converter to acquire the analog signal from the receiving module and convert it into a digital signal;

[0025] A preprocessing module, used to filter out noise in digital signals and adjust signal gain;

[0026] An autocorrelation and cross-correlation calculation module, used for calculating the autocorrelation function of the echo signal and the cross-correlation function with the reference signal;

[0027] Generalized quadratic cross-correlation calculation module, used for performing quadratic correlation operations;

[0028] The peak detection module is used to detect the position of the generalized quadratic correlation peak in the time domain signal to obtain the time delay.

[0029] The control module is a 51 single chip microcomputer, an ARM processor, a DSP processor or a FPGA processor.

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

[0031] 1. High-precision measurement: It can achieve high-precision displacement measurement under low signal-to-noise ratio conditions, which is particularly suitable for the application of magnetostrictive displacement sensors under weak magnetic induction conditions.

[0032] 2. Enhanced anti-interference capability: The generalized quadratic cross-correlation technology improves the stability and reliability of measurement and enhances the measurement capability in complex environments.

[0033] 3. System compatibility: The system design takes modularity and compatibility into consideration and is easy to integrate into existing measurement equipment.

[0034] 4. Wide application: This technical solution can be widely used in industrial automation, machinery manufacturing, petrochemical and other fields, and has broad market application prospects.

[0035] 5. Energy saving and environmental protection: The optimized signal processing algorithm reduces the requirements for hardware and reduces energy consumption, which is in line with the modern industry's pursuit of energy saving and environmental protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 Schematic diagram of magnetostrictive displacement sensor device.

[0037] Figure 2 This is a framework diagram of the signal detection device of the magnetostrictive displacement sensor.

[0038] Figure 3 This is the structure diagram of the signal processing module.

[0039] Figure 4 It is an experimental platform for testing the performance of magnetostrictive displacement sensors.

[0040] Figure 5 The RMSE results of GSCC simulation, actual measurement and threshold method are shown in the figure.

[0041] In the figure: 1. laser interferometer, 2. interferometer, 3. reflector, 4. slide, 5. permanent magnet, 6. magnetostrictive displacement sensor, 7. platform. DETAILED DESCRIPTION

[0042] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0043] The present invention proposes a magnetostrictive displacement sensor signal detection method, the detection method comprising the following steps:

[0044] 1) Send an excitation signal to the object to be tested through a transmitting device; wherein the excitation signal is a rectangular pulse signal with a specific frequency f0.

[0045] 2) Use a receiving device to receive two adjacent echo signals x(t) and y(t) reflected by the object to be measured, use the echo signal x(t) as a reference signal, and record the echo signal y(t) as a displacement signal; y(t) is a signal proportional to the amplitude of x(t) and has a fixed delay, and the echo signal contains displacement information related to the excitation signal. The expressions of the echo signals x(t) and y(t) are as follows:

[0046] x(t)=s(t)+n1(t)

[0047] y(t)=λs(t-Δt)+n2(t)

[0048] Where s(t) is the ultrasonic signal, s(t-Δt) is the time-delayed signal of s(t), λ is the proportional constant, n1(t) and n2(t) are two zero-mean white noise signals, and the displacement measurement can be converted into the measurement of the parameter Δt.

[0049] 3) After performing time-frequency domain processing on the reference signal and the displacement signal, a time delay Δt is obtained;

[0050] like Figure 2 As shown, 3) is specifically:

[0051] 3.1) Calculate the autocorrelation function G of the reference signal xx(ω), the formula is as follows:

[0052] G xx (ω) = X * (ω)X(ω)

[0053] Among them, * represents conjugation. That is, the reference signal is converted to the frequency domain through Fourier transform, and the formula is as follows:

[0054]

[0055] Among them, ω is the angular frequency and τ is the time in the time domain.

[0056] After conjugation, it is multiplied with the original frequency domain signal and then the autocorrelation function is obtained through inverse Fourier transform.

[0057] 3.2) Calculate the cross-correlation function G between the reference signal and the displacement signal xy (ω), the formula is as follows:

[0058] G xy (ω) = X * (ω)Y(ω)

[0059] Where X(ω) and Y(ω) are the representations of x(t) and y(t) in the frequency domain. * It stands for conjugate. That is, the two signals are converted to the frequency domain through Fourier transform, one signal is conjugated and multiplied with the other signal, and then the cross-correlation function is obtained through inverse Fourier transform;

[0060] 3.3) For the autocorrelation function G xx (ω) and the cross-correlation function G xy (ω) After generalized quadratic cross-correlation operation and row weighting processing, the cross-power spectrum G is obtained. RR (ω), the calculation formula is as follows:

[0061]

[0062] in, is a weighting function; weighting function It is the SCOT weighting function, which is characterized by improving the coherence of the spectrum by smoothing the ratio of power spectrum density. The expression is as follows:

[0063]

[0064] Among them, || is the modulus of the cross-correlation function, G yy (ω) is the autocorrelation function of the frequency domain displacement signal Y(ω).

[0065] 3.4) Through the inverse Fourier transform, the cross power spectrum G RRAfter (ω) is converted back to the time domain, the generalized quadratic cross-correlation function R is obtained RR (τ), the generalized quadratic cross-correlation function R RR The time corresponding to the maximum value of (τ) is taken as the time delay Δt, that is, R RR (τ) takes the maximum value when τ = Δt, which is the peak position of the generalized quadratic correlation in the time domain. The generalized quadratic cross-correlation function R RR (τ) satisfies the following formula:

[0066]

[0067] 4) The displacement d of the object to be measured is obtained by multiplying the time delay Δt and the known wave velocity v, that is, d=v·Δt.

[0068] The present invention also proposes a magnetostrictive displacement sensor signal detection device, such as Figure 1 and Figure 3 As shown, the detection device includes a waveguide wire, a control module, a detection module, a pulse excitation module and a signal processing module; the waveguide wire is connected to the detection module and the pulse excitation module respectively, and the detection module, the pulse excitation module and the signal processing module are all connected to the control module; a magnet is placed on the circumferential side of the waveguide wire, the control module sends an excitation pulse signal to the waveguide wire through the pulse excitation module, the detection module collects and obtains echo signal data and sends it to the signal processing module, the signal processing module calculates the time delay between two adjacent echo signals according to the echo signal data and generates a corresponding pulse signal and sends it to the control module, and the control module calculates the position of the magnet at each moment according to the pulse signal.

[0069] The signal processing module is the core part of the displacement measurement system. It is responsible for performing complex signal processing tasks to ensure high accuracy and high reliability of measurement. The signal processing module includes a digital signal processor, a fast Fourier transform hardware accelerator, a high-precision analog-to-digital converter, a filter group, a memory and an interface.

[0070] Specifically:

[0071] Digital Signal Processor (DSP): A high-performance DSP with fast floating-point computing capabilities used to process signals in real time. It is responsible for executing algorithms such as Fast Fourier Transform (FFT), autocorrelation calculation, and cross-correlation calculation.

[0072] Fast Fourier Transform (FFT) Hardware Accelerator: A dedicated hardware accelerator that improves the speed and efficiency of FFT operations.

[0073] High-precision analog-to-digital converter (ADC): An ADC with high sampling rate and high resolution is used to convert the received analog signal into a digital signal.

[0074] Filter Bank: A set of programmable digital filters used for preprocessing of signals, including bandpass filters and lowpass filters, to remove noise and unnecessary signal components.

[0075] Memory: High-speed RAM is used to store intermediate calculation results; non-volatile memory is used to store algorithm parameters and system configuration.

[0076] Interface: Communication interface with other modules of the system (such as transmitting module, receiving module, control module), including SPI, I2C or UART.

[0077] The software for the digital signal processor in the signal processing module includes a series of algorithms that work together to achieve accurate displacement measurement. The digital signal processor includes:

[0078] A signal acquisition and conversion module is used to control an analog-to-digital converter (ADC) to acquire analog signals from a receiving module and convert them into digital signals;

[0079] The pre-processing module includes filtering, signal gain adjustment and noise suppression algorithms, which are used to filter out noise in digital signals and adjust signal gain to improve signal quality.

[0080] Fast Fourier Transform module, an efficient FFT algorithm, used to convert echo signals from time domain to frequency domain;

[0081] An autocorrelation and cross-correlation calculation module, used for calculating the autocorrelation function of the echo signal and the cross-correlation function with the reference signal;

[0082] A generalized quadratic cross-correlation calculation module is used to design and apply weighting functions and perform quadratic correlation operations, thereby improving the delay estimation accuracy of the signal;

[0083] The peak detection module is used to accurately detect the position of the generalized quadratic correlation peak in the time domain signal and obtain the time delay.

[0084] The control module is a 51 single chip microcomputer, an ARM processor, a DSP processor or a FPGA processor.

[0085] To better illustrate the anti-noise performance of the signal detection method of the magnetostrictive displacement sensor proposed in the present invention, the smaller the root mean square error under the same signal-to-noise ratio, the stronger the anti-noise performance. This method is compared with the traditional threshold method and the cross-correlation method. The results are as follows Figure 5 The experiment was repeated 500 times on the collected signal, with the signal-to-noise ratio ranging from -20dB to 10dB, with a step size of 1dB. The RMSE results are shown in Figure 5 As shown in the figure, RMSE is the abbreviation of the root mean square error of displacement measurement, and the calculation formula is as follows:

[0086]

[0087] Where N is the number of measurement points, τ i is the displacement of the ith measurement point, and τ is the true displacement.

[0088] Experiments show that in the signal-to-noise ratio range of -10dB to 5dB, the performance of the GSCC displacement detection method proposed in the present invention is significantly better than the threshold method.

[0089] In order to test the performance of the magnetostrictive displacement sensor signal detection method proposed in the present invention, a magnetostrictive displacement sensor performance test experimental platform was built, and its structure diagram is shown in FIG. Figure 4 As shown, the laser interferometer 1 and magnetostrictive displacement sensor 6 are installed on the platform 7. The laser interferometer 1 uses an Agilent 5519A laser head and its matching interferometer 2, and a reflector 3 installed on a slide 4 to measure the absolute position of the permanent magnet 5. Its accuracy and resolution are 0.1μm / m and 0.01μm respectively. The hysteresis experiment system is mainly composed of a calibration platform, a PLC and a host computer, and the functions of each module are as follows:

[0090] The host computer control module is the core control module of the entire system. It is responsible for sending and receiving instruction parameters, reading specified data from the PLC and laser interferometer according to the set interval, and exporting it in the specified format after processing.

[0091] PLC drive module, which is used to receive command parameters from the host computer, and the external driver is used to control the operation of the servo motor. At the same time, it also reads the measurement data of the magnetostrictive displacement sensor according to the timing instructions and returns it to the host computer.

[0092] The calibration platform is the actual execution unit of the entire system, which mainly includes laser interferometer, servo motor, slide, linear guide, etc. The laser interferometer is placed on one side of the platform, and its laser head is kept at the same horizontal line as the interferometer and reflector. The permanent magnets of the reflector and sensor are fixed on the slide, and the servo motor drives it to move linearly along the guide through the synchronous belt.

[0093] The error statistics of the experimental data are shown in Table 1. When the permanent magnet is lifted off at a distance of 50 mm and the signal-to-noise ratio is about -5 dB, the absolute error of the distance measurement is up to 0.904 mm at a range of 1 m, which is determined by the sampling rate. The sampling rate of the oscilloscope used to collect the signal is 3125 kHz. Under the condition of a torsional wave velocity of 2850 m / s, the theoretical resolution is 0.912 mm. Since the temperature during the experiment is not 20°C and the wave velocity is not 2850 m / s, there is an error between the actual value and the theoretical value. However, it can be seen from the table that the distance measurement error of the magnetostrictive displacement sensor detection method used in the present invention is controlled at 0.9 mm.

[0094] Table 1 shows the ranging error statistics for low signal-to-noise ratio (-5dB)

[0095]

[0096] Finally, it should be noted that the above embodiments and explanations are only used to illustrate the technical solution of the present invention rather than to limit it. Those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope disclosed in the technical solution of the present invention, which should be included in the scope of protection of the claims of the present invention.

Claims

1. A magnetostrictive displacement sensor signal detection method, characterized in that: The following steps are involved: 1) Send an excitation signal to the object to be tested through a transmitting device; 2) using a receiving device to receive two adjacent echo signals x(t) and y(t) reflected by the object to be measured, using the echo signal x(t) as a reference signal, and recording the echo signal y(t) as a displacement signal; 3) After performing time-frequency domain processing on the reference signal and the displacement signal, a time delay Δt is obtained; 4) Multiply the time delay Δt and the wave velocity v to obtain the displacement of the object to be measured.

2. A magnetostrictive displacement sensor signal detection method according to claim 1, characterized in that: The excitation signal is a rectangular pulse signal.

3. The method for detecting a magnetostrictive displacement sensor signal according to claim 1, characterized in that: The specific aspects of 3) are: 3.1) Calculate the autocorrelation function Gxx(ω) of the reference signal; 3.2) Calculate the cross-correlation function Gxy(ω) between the reference signal and the displacement signal; 3.3) After generalized quadratic cross-correlation operation and row weighting processing of the autocorrelation function Gxx(ω) and the cross-correlation function Gxy(ω), the cross-power spectrum GRR(ω) is obtained, and the calculation formula is as follows: in, is the weighting function; 3.4) Through the inverse Fourier transform, the cross power spectrum G RR After (ω) is converted back to the time domain, the generalized quadratic cross-correlation function R is obtained RR (τ), the generalized quadratic cross-correlation function R RR The time corresponding to the maximum value of (τ) is taken as the time delay Δt.

4. A magnetostrictive displacement sensor signal detection method according to claim 3, characterized in that: The weighting function is the SCOT weighting function.

5. A magnetostrictive displacement sensor signal detection device, characterized in that: It includes a waveguide wire, a control module, a detection module, a pulse excitation module and a signal processing module; the waveguide wire is connected to the detection module and the pulse excitation module respectively, and the detection module, the pulse excitation module and the signal processing module are all connected to the control module; a magnet is placed on the circumferential side of the waveguide wire, the control module sends an excitation pulse signal to the waveguide wire through the pulse excitation module, the detection module collects and obtains echo signal data and sends it to the signal processing module, the signal processing module calculates the time delay between two adjacent echo signals according to the echo signal data and generates a corresponding pulse signal and sends it to the control module, and the control module calculates the magnet position at each moment according to the pulse signal.

6. The signal detection device of a magnetostrictive displacement sensor according to claim 5, characterized in that: The signal processing module includes a digital signal processor, a fast Fourier transform hardware accelerator, a high-precision analog-to-digital converter, a filter bank, a memory and an interface.

7. The magnetostrictive displacement sensor signal detection device according to claim 6, characterized in that: The digital signal processor comprises: The signal acquisition and conversion module is used to control the analog-to-digital converter to acquire the analog signal from the receiving module and convert it into a digital signal; A preprocessing module, used to filter out noise in digital signals and adjust signal gain; An autocorrelation and cross-correlation calculation module, used for calculating the autocorrelation function of the echo signal and the cross-correlation function with the reference signal; Generalized quadratic cross-correlation calculation module, used for performing quadratic correlation operations; The peak detection module is used to detect the position of the generalized quadratic correlation peak in the time domain signal to obtain the time delay.

8. The magnetostrictive displacement sensor signal detection device according to claim 5, characterized in that: The control module is a 51 single chip microcomputer, an ARM processor, a DSP processor or a FPGA processor.