CN113701618B - Eddy current sensor data processing method and system based on Kalman filtering - Google Patents

Eddy current sensor data processing method and system based on Kalman filtering Download PDF

Info

Publication number
CN113701618B
CN113701618B CN202111061563.8A CN202111061563A CN113701618B CN 113701618 B CN113701618 B CN 113701618B CN 202111061563 A CN202111061563 A CN 202111061563A CN 113701618 B CN113701618 B CN 113701618B
Authority
CN
China
Prior art keywords
state
voltage signal
estimate
eddy current
current sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111061563.8A
Other languages
Chinese (zh)
Other versions
CN113701618A (en
Inventor
田中山
王现中
杨昌群
牛道东
李育特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Oil and Gas Pipeline Network Corp
China Oil and Gas Pipeline Network Corp South China Branch
Original Assignee
China Oil and Gas Pipeline Network Corp South China Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Oil and Gas Pipeline Network Corp South China Branch filed Critical China Oil and Gas Pipeline Network Corp South China Branch
Priority to CN202111061563.8A priority Critical patent/CN113701618B/en
Publication of CN113701618A publication Critical patent/CN113701618A/en
Application granted granted Critical
Publication of CN113701618B publication Critical patent/CN113701618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0248Filters characterised by a particular frequency response or filtering method
    • H03H17/0255Filters based on statistics
    • H03H17/0257KALMAN filters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/30Nuclear fission reactors

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Investigating Or Analyzing Materials By The Use Of Magnetic Means (AREA)

Abstract

The invention discloses a Kalman filtering-based eddy current sensor data processing method and a Kalman filtering-based eddy current sensor data processing system, wherein the method comprises the following steps: step S1, digital detection is carried out on a voltage signal output by an eddy current sensor, and a high-frequency carrier signal in the voltage signal is eliminated, so that an actually required measurement voltage signal is obtained; step S2, carrying out phase detection on the voltage signal to determine the positive value and the negative value of the voltage signal; and step S3, carrying out fixed-point operation by using a Kalman filter according to the measured voltage signal and the positive and negative values, and carrying out filtering treatment on random noise. The method can meet the requirements of engineering projects on speed and bottom signal processing, simultaneously can reduce occupied resources, flexibly improves the functions of the system, and can realize the resolution of 100 nm.

Description

基于Kalman滤波的电涡流传感器数据处理方法及系统Eddy current sensor data processing method and system based on Kalman filtering

技术领域Technical field

本发明涉及涡流传感器检测技术领域,特别涉及一种基于Kalman滤波的电涡流传感器数据处理方法及系统。The invention relates to the technical field of eddy current sensor detection, and in particular to an eddy current sensor data processing method and system based on Kalman filtering.

背景技术Background technique

数字化电涡流传感器以FPGA数字输出信号为方波激励源,实现载波源的数字化;以FPGA片上程序设计为基础,对传感器信号的数字检波,相位检测以及数字滤波等模块进行设计,完成对传感器信号的数字化处理,以简化电路降低功耗的优点慢慢取代了传统调幅式电涡流位移传感器。The digital eddy current sensor uses the FPGA digital output signal as the square wave excitation source to realize the digitization of the carrier source; based on the FPGA on-chip programming, the digital detection, phase detection and digital filtering modules of the sensor signal are designed to complete the sensor signal Digital processing has gradually replaced the traditional amplitude modulated eddy current displacement sensor with the advantages of simplifying the circuit and reducing power consumption.

相关技术中提出了一种以调幅式电涡流位移传感器为基础的数字化电涡流位移传感器设计,利用现场可编程门阵列(FPGA)的数字输出信号设计传感器的载波信号,通过FPGA的软件设计对测量电路的输出信号进行数据处理。传感器自身受到的外界干扰以及A/D转换等硬件电路带来的噪声干扰,都会给检波测量模块测量的电压带来一定的扰动,因此需要利用数字滤波来滤除噪声干扰。该设计采用的是滑动平均滤波方法,这种滤波方法(把连续取得的N个采样值看成一个队列,队列的长度固定为N,每次采样到一个新数据放入队尾,并扔掉原来队首的一次数据(先进先出原则),把队列中的N个数据进行算术平均运算,获得新的滤波结果)对周期性干扰有良好的抑制作用,平滑度高。但具有灵敏度低,对偶然出现的脉冲性干扰的抑制作用较差、不易消除由于脉冲干扰所引起的采样值偏差、不适用于脉冲干扰比较严重的场合、比较浪费RAM的缺点。In related technology, a digital eddy current displacement sensor design based on an amplitude modulated eddy current displacement sensor is proposed. The digital output signal of the field programmable gate array (FPGA) is used to design the carrier signal of the sensor, and the measurement is performed through the software design of the FPGA. The output signal of the circuit undergoes data processing. The external interference suffered by the sensor itself and the noise interference caused by hardware circuits such as A/D conversion will bring certain disturbances to the voltage measured by the detection and measurement module. Therefore, digital filtering needs to be used to filter out the noise interference. This design uses a sliding average filtering method. This filtering method (treats N consecutive sample values as a queue, the length of the queue is fixed to N, each time a new data is sampled, it is placed at the end of the queue and thrown away It turns out that the primary data at the head of the queue (first in, first out principle), the N data in the queue are arithmetic averaged, and a new filtering result is obtained), which has a good inhibitory effect on periodic interference and has high smoothness. However, it has the disadvantages of low sensitivity, poor suppression of occasional pulse interference, difficulty in eliminating sampling value deviations caused by pulse interference, not suitable for occasions with severe pulse interference, and waste of RAM.

发明内容Contents of the invention

本发明旨在至少在一定程度上解决相关技术中的技术问题之一。The present invention aims to solve one of the technical problems in the related art, at least to a certain extent.

为此,本发明的第一个目的在于提出一种基于Kalman滤波的电涡流传感器数据处理方法。To this end, the first purpose of the present invention is to propose an eddy current sensor data processing method based on Kalman filtering.

本发明的第二个目的在于提出一种基于Kalman滤波的电涡流传感器数据处理系统。The second object of the present invention is to propose an eddy current sensor data processing system based on Kalman filtering.

本发明的第三个目的在于提出一种电子设备。The third object of the present invention is to provide an electronic device.

本发明的第四个目的在于提出一种非临时性计算机可读存储介质。The fourth object of the present invention is to provide a non-transitory computer-readable storage medium.

为达到上述目的,本发明第一方面实施例提出了基于Kalman滤波的电涡流传感器数据处理方法,包括以下步骤:步骤S1,将电涡流传感器输出的电压信号进行数字检波,消除所述电压信号中的高频载波信号,得到实际所需的测量电压信号;步骤S2,对所述电压信号进行相位检测,以确定所述电压信号的正负值;步骤S3,根据所述测量电压信号和所述正负值,利用Kalman滤波器进行定点运算对随机噪声进行滤波处理。In order to achieve the above object, the first embodiment of the present invention proposes an eddy current sensor data processing method based on Kalman filtering, which includes the following steps: Step S1, digitally detect the voltage signal output by the eddy current sensor, and eliminate the interference in the voltage signal. The high-frequency carrier signal is used to obtain the actually required measured voltage signal; step S2, perform phase detection on the voltage signal to determine the positive and negative values of the voltage signal; step S3, based on the measured voltage signal and the Positive and negative values, use the Kalman filter to perform fixed-point operations to filter random noise.

本发明实施例的基于Kalman滤波的电涡流传感器数据处理方法,既能够满足工程项目中对速度与底层信号处理的要求,同时还可以减少占用资源,灵活的去完善系统的功能,最重要的是可以提高精度,可以实现100nm的分辨力,比现有滑动平均滤波方法处理电涡流传感器数据的精度明显提高。The eddy current sensor data processing method based on Kalman filtering in the embodiment of the present invention can not only meet the requirements for speed and underlying signal processing in engineering projects, but also reduce the occupied resources and flexibly improve the functions of the system. The most important thing is The accuracy can be improved and a resolution of 100nm can be achieved, which is significantly higher than the accuracy of the existing moving average filtering method in processing eddy current sensor data.

另外,根据本发明上述实施例的基于Kalman滤波的电涡流传感器数据处理方法还可以具有以下附加的技术特征:In addition, the eddy current sensor data processing method based on Kalman filtering according to the above embodiments of the present invention may also have the following additional technical features:

进一步地,在本发明的一个实施例中,所述Kalman滤波器包括时间更新方程和测量更新方程,其中,所述时间更新方程负责及时向前推算当前状态变量和误差协方差估计的值,以便为下一个时间状态构造先验估计,所述测量更新方程负责反馈,将先验估计和新的测量变量结合以构造改进的后验估计。Further, in one embodiment of the present invention, the Kalman filter includes a time update equation and a measurement update equation, wherein the time update equation is responsible for estimating the values of the current state variables and error covariance estimates forward in time, so that A prior estimate is constructed for the next time state, and the measurement update equation is responsible for feedback, combining the prior estimate with the new measured variables to construct an improved posterior estimate.

进一步地,在本发明的一个实施例中,所述时间更新方程为:Further, in one embodiment of the present invention, the time update equation is:

其中,为先验状态估计,A为状态转移矩阵,/>为前一时刻的后验状态估计,B为输入控制矩阵,uk-1为状态控制变量,/>为先验协方差估计值,Q为过程激励噪声协方差矩阵;in, is the prior state estimate, A is the state transition matrix,/> is the posterior state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable,/> is the prior covariance estimate, Q is the process excitation noise covariance matrix;

所述状态更新方程为:The state update equation is:

其中,Kk为卡尔曼增益,为先验协方差估计值,H为状态变量到测量的转换矩阵,R为测量噪声协方差,/>为后验状态估计,A为状态转移矩阵,/>后验协方差估计值,I为单位矩阵。Among them, K k is the Kalman gain, is the prior covariance estimate, H is the transformation matrix from state variable to measurement, R is the measurement noise covariance,/> is the posterior state estimate, A is the state transition matrix,/> Posterior covariance estimate, I is the identity matrix.

为达到上述目的,本发明第二方面实施例提出了基于Kalman滤波的电涡流传感器数据处理系统,包括:数字检波模块,用于将电涡流传感器输出的电压信号进行数字检波,消除所述电压信号中的高频载波信号,得到实际所需的测量电压信号;相位检测模块,用于对所述电压信号进行相位检测,以确定所述电压信号的正负值;数字滤波模块,用于根据所述测量电压信号和所述正负值,利用Kalman滤波器进行定点运算对随机噪声进行滤波处理。In order to achieve the above object, the second embodiment of the present invention proposes an eddy current sensor data processing system based on Kalman filtering, including: a digital detection module for digitally detecting the voltage signal output by the eddy current sensor and eliminating the voltage signal. The high-frequency carrier signal in the signal is used to obtain the actual required measurement voltage signal; the phase detection module is used to perform phase detection on the voltage signal to determine the positive and negative values of the voltage signal; the digital filtering module is used to determine the positive and negative values of the voltage signal according to the required The measured voltage signal and the positive and negative values are measured, and the Kalman filter is used to perform fixed-point operation to filter the random noise.

本发明实施例的基于Kalman滤波的电涡流传感器数据处理系统,既能够满足工程项目中对速度与底层信号处理的要求,同时还可以灵活的去完善系统的功能,最重要的是可以提高精度,可以实现100nm的分辨力,比现有滑动平均滤波方法处理电涡流传感器数据的精度明显提高。The eddy current sensor data processing system based on Kalman filtering in the embodiment of the present invention can not only meet the requirements for speed and underlying signal processing in engineering projects, but can also flexibly improve the functions of the system, and most importantly, can improve the accuracy. It can achieve a resolution of 100nm and is significantly more accurate than the existing moving average filtering method in processing eddy current sensor data.

另外,根据本发明上述实施例的基于Kalman滤波的电涡流传感器数据处理系统还可以具有以下附加的技术特征:In addition, the eddy current sensor data processing system based on Kalman filtering according to the above embodiments of the present invention may also have the following additional technical features:

进一步地,在本发明的一个实施例中,利用FPGA实现Kalman滤波器,其中,所述FPGA中采用定点运算,定点小数根据实际情况自行设定。Further, in one embodiment of the present invention, the Kalman filter is implemented using FPGA, where fixed-point arithmetic is used in the FPGA, and the fixed-point decimal is set according to the actual situation.

进一步地,在本发明的一个实施例中,所述Kalman滤波器包括时间更新方程和测量更新方程,其中,所述时间更新方程负责及时向前推算当前状态变量和误差协方差估计的值,以便为下一个时间状态构造先验估计,所述测量更新方程负责反馈,将先验估计和新的测量变量结合以构造改进的后验估计。Further, in one embodiment of the present invention, the Kalman filter includes a time update equation and a measurement update equation, wherein the time update equation is responsible for estimating the values of the current state variables and error covariance estimates forward in time, so that Constructing a priori estimates for the next time state, the measurement update equation is responsible for feedback, combining the prior estimates with new measured variables to construct an improved posterior estimate.

可选地,在本发明的一个实施例中,所述时间更新方程为:Optionally, in one embodiment of the present invention, the time update equation is:

其中,为先验状态估计,A为状态转移矩阵,/>为前一时刻的后验状态估计,B为输入控制矩阵,uk-1为状态控制变量,/>为先验协方差估计值,Q为过程激励噪声协方差矩阵;in, is the prior state estimate, A is the state transition matrix,/> is the posterior state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable,/> is the prior covariance estimate, Q is the process excitation noise covariance matrix;

所述状态更新方程为:The state update equation is:

其中,Kk为当前时刻的卡尔曼增益,为先验协方差估计值,H为状态变量到测量的转换矩阵,R为测量噪声协方差,/>为后验状态估计,A为状态转移矩阵,/>为先验状态估计,Pk为后验协方差估计值,I为单位矩阵。Among them, K k is the Kalman gain at the current moment, is the prior covariance estimate, H is the transformation matrix from state variable to measurement, R is the measurement noise covariance,/> is the posterior state estimate, A is the state transition matrix,/> is the prior state estimate, P k is the posterior covariance estimate, and I is the identity matrix.

为达到上述目的,本发明第三方面实施例提出了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述所述的基于Kalman滤波的电涡流传感器数据处理系统。In order to achieve the above object, a third embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program , to implement the above-mentioned eddy current sensor data processing system based on Kalman filtering.

为达到上述目的,本发明第四方面实施例提出一种非临时性计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现实现上述所述的基于Kalman滤波的电涡流传感器数据处理系统。In order to achieve the above object, a fourth embodiment of the present invention proposes a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned Kalman filter-based method is implemented. Eddy current sensor data processing system.

本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

图1是本发明一个实施例的基于Kalman滤波的电涡流传感器数据处理方法的流程图;Figure 1 is a flow chart of an eddy current sensor data processing method based on Kalman filtering according to one embodiment of the present invention;

图2是本发明一个实施例的基于Kalman滤波的电涡流传感器数据处理方法的具体处理流程图;Figure 2 is a specific processing flow chart of an eddy current sensor data processing method based on Kalman filtering according to an embodiment of the present invention;

图3是本发明一个实施例的时间更新与测量更新过程示意图;Figure 3 is a schematic diagram of the time update and measurement update process according to an embodiment of the present invention;

图4是本发明一个实施例的基于FPGA的Kalman滤波算法实现原理示意图;Figure 4 is a schematic diagram of the implementation principle of the FPGA-based Kalman filter algorithm according to one embodiment of the present invention;

图5是本发明一个实施例的基于Kalman滤波的电涡流传感器数据处理系统的结构示意图。Figure 5 is a schematic structural diagram of an eddy current sensor data processing system based on Kalman filtering according to an embodiment of the present invention.

具体实施方式Detailed ways

下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present invention and are not to be construed as limiting the present invention.

下面参照附图描述根据本发明实施例提出的基于Kalman滤波的电涡流传感器数据处理方法及系统,首先将参照附图描述根据本发明实施例提出的基于Kalman滤波的电涡流传感器数据处理方法。The eddy current sensor data processing method and system based on Kalman filtering proposed according to the embodiments of the present invention will be described below with reference to the accompanying drawings. First, the eddy current sensor data processing method based on Kalman filtering proposed according to the embodiments of the present invention will be described with reference to the accompanying drawings.

图1是本发明一个实施例的基于Kalman滤波的电涡流传感器数据处理方法的流程图。Figure 1 is a flow chart of an eddy current sensor data processing method based on Kalman filtering according to an embodiment of the present invention.

如图1所示,该基于Kalman滤波的电涡流传感器数据处理方法包括以下步骤:As shown in Figure 1, the eddy current sensor data processing method based on Kalman filtering includes the following steps:

在步骤S1中,将电涡流传感器输出的电压信号进行数字检波,消除电压信号中的高频载波信号,得到实际所需的测量电压信号。In step S1, the voltage signal output by the eddy current sensor is digitally detected, the high-frequency carrier signal in the voltage signal is eliminated, and the actual required measurement voltage signal is obtained.

具体地,如图2所示,数字检波采用倍压包络检波模式进行数字化设计,倍压包络检波的工作原理是通过求得整个测量信号的上下包络线,计算两包络线的差值,即可消除电压信号中的高频载波信号进而求得实际所需的测量电压信号,从而实现高精密高精度的电压测量。Specifically, as shown in Figure 2, the digital detection adopts the voltage-doubling envelope detection mode for digital design. The working principle of the voltage-doubling envelope detection is to calculate the difference between the two envelopes by obtaining the upper and lower envelopes of the entire measurement signal. value, the high-frequency carrier signal in the voltage signal can be eliminated and the actual required measurement voltage signal can be obtained, thereby achieving high-precision and high-precision voltage measurement.

在步骤S2中,对电压信号进行相位检测,以确定电压信号的正负值。In step S2, phase detection is performed on the voltage signal to determine the positive and negative values of the voltage signal.

具体地,步骤S1中的数字检波并不能确定信号的相位信息,因此需要设计相位检测模块确定电压信号的正负值。在差动测量中,转子在平衡位置两个方向的最大位移输出信号相差180°。相位检测的主要作用是判断极值出现在处理单元的前半段还是后半段,可根据情况设定输出电压为极大值减极小值,输出正值电压。Specifically, the digital detection in step S1 cannot determine the phase information of the signal, so a phase detection module needs to be designed to determine the positive and negative values of the voltage signal. In differential measurement, the maximum displacement output signals of the rotor in the two directions at the equilibrium position differ by 180°. The main function of phase detection is to determine whether the extreme value appears in the first half or the second half of the processing unit. According to the situation, the output voltage can be set to the maximum value minus the minimum value to output a positive voltage.

在步骤S3中,根据测量电压信号和正负值,利用Kalman滤波器进行定点运算对随机噪声进行滤波处理。In step S3, based on the measured voltage signal and positive and negative values, the Kalman filter is used to perform fixed-point operation to filter the random noise.

因电涡流传感器自身受到的外界干扰以及A/D转换等硬件电路带来的噪声干扰,都会给检波测量模块测量的电压带来一定的扰动,因此需要利用数字滤波来滤除噪声干扰,本发明实施例中的数字滤波采用Kalman滤波,利用FPGA实现Kalman滤波器,其中,FPGA的工作频率与A/D采样频率一致,FPGA可对每一个采集信号进行连续处理,本发明实施例中的FPGA中采用定点运算,定点小数根据实际情况自行设定。Because the external interference of the eddy current sensor itself and the noise interference caused by hardware circuits such as A/D conversion will bring certain disturbances to the voltage measured by the detection and measurement module, it is necessary to use digital filtering to filter out the noise interference. The present invention The digital filtering in the embodiment uses Kalman filtering, and the FPGA is used to implement the Kalman filter. The operating frequency of the FPGA is consistent with the A/D sampling frequency, and the FPGA can continuously process each collected signal. In the FPGA in the embodiment of the present invention Fixed-point arithmetic is used, and the fixed-point decimal is set according to the actual situation.

进一步地,Kalman滤波器的原理是以最小均方误差为最佳估计准则,采用信号与噪声的状态空间模型,利用前一时刻的估计值和当前时刻的观测值来更新对状态变量的估计,求出当前时刻的估计值,算法根据建立的系统方程和观测方程对需要处理的信号做出满足最小均方误差的估计。Furthermore, the principle of the Kalman filter is to use the minimum mean square error as the best estimation criterion, adopt the state space model of signal and noise, and use the estimated value at the previous moment and the observed value at the current moment to update the estimate of the state variable. To obtain the estimated value at the current moment, the algorithm makes an estimate that satisfies the minimum mean square error for the signal to be processed based on the established system equation and observation equation.

具体推导公式如下:The specific derivation formula is as follows:

Kalman滤波用于估计离散时间过程的状态变量。这个离散过程时间由以下离散随机差分方程描述:Kalman filter is used to estimate the state variables of discrete time processes. This discrete process time is described by the following discrete stochastic difference equation:

xk=Axk-1+Buk-1+wk (1)x k =Ax k-1 +Bu k-1 +w k (1)

zk=Hxk+vk (2) zkHxk + vk (2)

xk为状态估计,A为状态转移矩阵,xk-1为前一时刻状态估计,B为输入控制矩阵,uk-1为状态控制变量,随机信号wk,vk是过程激励噪声和观测噪声,服从如下分布:Q和R分别是过程激励噪声协方差矩阵和观测噪声协方差矩阵。x k is the state estimate, A is the state transition matrix, x k-1 is the state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable, the random signal w k , v k is the process excitation noise and Observation noise obeys the following distribution: Q and R are the process excitation noise covariance matrix and the observation noise covariance matrix respectively.

(先验状态估计),/>(后验状态估计),同时定义误差:Bundle (prior state estimate),/> (posterior state estimate), while defining the error:

其中,ek为后验误差,为先验误差。Among them, e k is the posterior error, is the prior error.

定义协方差:Define covariance:

Pk=E[ekek T] (6)P k =E[e k e k T ] (6)

其中,为先验协方差估计值,E为数学期望,Pk为后验协方差估计值。in, is the prior covariance estimate, E is the mathematical expectation, and P k is the posterior covariance estimate.

之后构造Kalman滤波的表达式,Then construct the expression of Kalman filter,

为后验状态估计,/>为先验状态估计,这里的K的称为Kalman增益,起到一个权重的作用,zk为测量向量,H为状态变量到测量的转换矩阵。 is the posterior state estimate,/> It is a priori state estimation, where K is called Kalman gain, which plays the role of a weight, z k is the measurement vector, and H is the conversion matrix from state variables to measurements.

滤波器估计过程某一时刻的状态,然后以(含噪声的)测量变量的方式获得反馈。因此Kalman滤波器可分为两个部分:时间更新方程和测量更新方程。时间更新方程负责及时向前推算当前状态变量和误差协方差估计的值,以便为下一个时间状态构造先验估计。测量更新方程负责反馈——也就是说,它将先验估计和新的测量变量结合以构造改进的后验估计。The filter estimates the state of the process at a certain moment and then obtains feedback in the form of (noisy) measured variables. Therefore, the Kalman filter can be divided into two parts: the time update equation and the measurement update equation. The time update equation is responsible for extrapolating the values of the current state variables and error covariance estimates forward in time in order to construct a priori estimates for the next time state. The measurement update equation is responsible for feedback—that is, it combines the prior estimate with the new measured variables to construct an improved posterior estimate.

时间更新方程如下:The time update equation is as follows:

其中,为先验状态估计,A为状态转移矩阵,/>为前一时刻的后验状态估计,B为输入控制矩阵,uk-1为状态控制变量,/>为先验协方差估计值,Q为过程激励噪声协方差矩阵。in, is the prior state estimate, A is the state transition matrix,/> is the posterior state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable,/> is the prior covariance estimate, and Q is the process excitation noise covariance matrix.

注意这里的是估计量,和之前提到的离散时间差分方程中的xk不是一回事。Pay attention here is an estimator, which is not the same thing as x k in the discrete time difference equation mentioned earlier.

状态更新方程如下:The status update equation is as follows:

Kk为当前时刻的卡尔曼增益,为先验协方差估计值,H为状态变量到测量的转换矩阵,R为测量噪声协方差,/>为后验状态估计,A为状态转移矩阵,/>为先验状态估计,Pk为后验协方差估计值,I为单位矩阵。K k is the Kalman gain at the current moment, is the prior covariance estimate, H is the transformation matrix from state variable to measurement, R is the measurement noise covariance,/> is the posterior state estimate, A is the state transition matrix,/> is the prior state estimate, P k is the posterior covariance estimate, and I is the identity matrix.

公式(11)是在控制量U为0的情况下得出,利用Pk最小来确定Kk。时间更新方程与状态更新方程的关系如图3所示。Formula (11) is obtained when the control variable U is 0, and K k is determined by using the minimum P k . The relationship between the time update equation and the state update equation is shown in Figure 3.

进一步地,Kalman滤波器直接采用的数学计算的方式对信号进行滤波,而且没有类似于傅里叶变换计算中的复杂运算,思路简单、速度更是优于其他滤波方式,再加上采用最小均方误差估计,误差值会很小。在FPGA上实现Kalman滤波器的方法原理如图4所示,Kalman滤波器的重中之重在于组成它的5个滤波方程上,而滤波方程的组成是由简单的加减乘除四则运算组成,这样一来Kalman滤波器的设计就变成了四则运算的一个组合,并且在设计Kalman滤波方程的加减法时,需要对各个参数以及寄存器的值进行IEEE 754标准的一个转换,以提高测量分辨力。Furthermore, the Kalman filter directly uses mathematical calculations to filter the signal, and there are no complex operations similar to Fourier transform calculations. The idea is simple and the speed is better than other filtering methods. In addition, it uses the minimum average Square error estimate, the error value will be very small. The principle of implementing the Kalman filter on FPGA is shown in Figure 4. The most important part of the Kalman filter lies in the five filtering equations that make up it. The filtering equation is composed of four simple arithmetic operations: addition, subtraction, multiplication and division. In this way, the design of the Kalman filter becomes a combination of four arithmetic operations, and when designing the addition and subtraction of the Kalman filter equation, it is necessary to convert the various parameters and register values to the IEEE 754 standard to improve the measurement resolution. force.

接下来,需要说明的是,FPGA自带浮点运算IP核,但需要经过若干个时钟周期才能输出数据,自带的浮点运算IP核采用IEEE-754标准定义浮点运算,精度很高,但是非常占用资源,本发明实施例将FPGA中的浮点运算改为定点运算,定点小数就是小数点的位置由本领域技术人员根据实际情况自行设计,因此不需要额外的存储空间存储小数点。Next, it should be noted that the FPGA comes with a floating-point operation IP core, but it requires several clock cycles to output data. The built-in floating-point operation IP core uses the IEEE-754 standard to define floating-point operations, and has high accuracy. However, it consumes a lot of resources. The embodiment of the present invention changes the floating-point operation in the FPGA to a fixed-point operation. The fixed-point decimal means that the position of the decimal point is designed by those skilled in the art according to the actual situation. Therefore, no additional storage space is needed to store the decimal point.

定点小数的计算存在两个要点,一个是运算符号的使用,一个是中间结果的截取。定点小数在计算的时候首先需要进行量化,反映到RTL就是左移和右移,右移分为算数右移和逻辑右移,逻辑右移是不考虑符号位的,算数右移计算的时候是把符号位考虑进去的,所以说补码运算必须使用算数右移。量化之后计算相当于把它当成整数,但是此时这一段二进制就已经是定点小数的表示形式,因为小数点的位置是自行设定的,高8位就是整数部分,低8位就是小数部分。此时要注意的就是乘法计算完的结果还需要右移8位,这样是为了保证小数点对齐。There are two key points in the calculation of fixed-point decimals, one is the use of operation symbols, and the other is the interception of intermediate results. Fixed-point decimals need to be quantified first when calculating. Reflected in RTL, they are left shift and right shift. Right shift is divided into arithmetic right shift and logical right shift. Logical right shift does not consider the sign bit. Arithmetic right shift calculation is The sign bit is taken into account, so the two's complement operation must use arithmetic right shift. After quantization, the calculation is equivalent to treating it as an integer, but at this time this binary segment is already a fixed-point decimal representation, because the position of the decimal point is set by itself, the high 8 bits are the integer part, and the low 8 bits are the decimal part. What should be noted at this time is that the result of the multiplication calculation needs to be shifted to the right by 8 bits to ensure that the decimal point is aligned.

进一步地,在本发明的一个实施例中,还包括信号放大模块,在利用Kalman滤波器处理完噪声后,对优化后的电压信号进行信号放大,方便后续的应用。Furthermore, in one embodiment of the present invention, a signal amplification module is also included. After processing the noise using the Kalman filter, the optimized voltage signal is amplified to facilitate subsequent applications.

综上,本发明实施例提出的基于Kalman滤波的电涡流传感器数据处理方法,具有以下优点:In summary, the eddy current sensor data processing method based on Kalman filtering proposed by the embodiment of the present invention has the following advantages:

精度与速度提升,同时可以在FPGA内部处理,避免了硬件电路结构,减少了外部环境的干扰,硬件电路参数设计而带来的失真和零点漂移;The accuracy and speed are improved, and at the same time, it can be processed inside the FPGA, avoiding the hardware circuit structure, reducing the interference of the external environment, and the distortion and zero drift caused by the design of hardware circuit parameters;

在FPGA内进行浮点运算缺点是延时大,资源占用大,同时需要更多的时钟周期才能完成一次运算,改成定点运算之后占用了更少的的逻辑单元,而且需要更少的时钟周期就可完成一次运算;The disadvantages of performing floating-point operations in FPGA are large delays, large resource usage, and more clock cycles are required to complete an operation. After changing to fixed-point operations, fewer logic units are occupied and fewer clock cycles are required. Just one operation can be completed;

用FPGA实现Kalman滤波器的方法既能够满足工程项目中对速度与底层信号处理的要求,同时还可以灵活的去完善系统的功能,最重要的是可以提高精度,可以实现100nm的分辨力,比现有滑动平均滤波方法处理电涡流传感器数据的精度明显提高。The method of using FPGA to implement the Kalman filter can not only meet the requirements for speed and underlying signal processing in engineering projects, but also flexibly improve the functions of the system. The most important thing is that it can improve the accuracy and achieve a resolution of 100nm. Compared with The accuracy of existing moving average filtering methods in processing eddy current sensor data is significantly improved.

其次参照附图描述根据本发明实施例提出的基于Kalman滤波的电涡流传感器数据处理系统。Next, the eddy current sensor data processing system based on Kalman filtering proposed according to the embodiment of the present invention is described with reference to the accompanying drawings.

图5是本发明一个实施例的基于Kalman滤波的电涡流传感器数据处理系统的结构示意图。Figure 5 is a schematic structural diagram of an eddy current sensor data processing system based on Kalman filtering according to an embodiment of the present invention.

如图5所示,该系统10包括:数字检波模块100、相位检测模块200和数字滤波模块300。As shown in FIG. 5 , the system 10 includes: a digital detection module 100 , a phase detection module 200 and a digital filtering module 300 .

其中,数字检波模块100用于将电涡流传感器输出的电压信号进行数字检波,消除电压信号中的高频载波信号,得到实际所需的测量电压信号。相位检测模块200用于对电压信号进行相位检测,以确定电压信号的正负值。数字滤波模块300用于根据测量电压信号和正负值,利用Kalman滤波器进行定点运算对随机噪声进行滤波处理。Among them, the digital detection module 100 is used to digitally detect the voltage signal output by the eddy current sensor, eliminate the high-frequency carrier signal in the voltage signal, and obtain the actual required measurement voltage signal. The phase detection module 200 is used to perform phase detection on the voltage signal to determine the positive and negative values of the voltage signal. The digital filtering module 300 is used to filter random noise by using the Kalman filter to perform fixed-point operations based on the measured voltage signal and positive and negative values.

进一步地,在本发明的一个实施例中,利用FPGA实现Kalman滤波器,其中,FPGA中采用定点运算,定点小数根据实际情况自行设定。Further, in one embodiment of the present invention, the Kalman filter is implemented using FPGA, in which fixed-point arithmetic is used in the FPGA, and the fixed-point decimal is set according to the actual situation.

进一步地,在本发明的一个实施例中,Kalman滤波器包括时间更新方程和测量更新方程,其中,时间更新方程负责及时向前推算当前状态变量和误差协方差估计的值,以便为下一个时间状态构造先验估计,测量更新方程负责反馈,将先验估计和新的测量变量结合以构造改进的后验估计。Further, in one embodiment of the present invention, the Kalman filter includes a time update equation and a measurement update equation, wherein the time update equation is responsible for estimating the values of the current state variables and error covariance estimates forward in time in order to provide the next time The state constructs a priori estimates, and the measurement update equation is responsible for feedback, combining the prior estimates with new measured variables to construct an improved posterior estimate.

进一步地,在本发明的一个实施例中,时间更新方程为:Further, in one embodiment of the present invention, the time update equation is:

其中,为先验状态估计,A为状态转移矩阵,/>为前一时刻的后验状态估计,B为输入控制矩阵,uk-1为状态控制变量,/>为先验协方差估计值,Q为过程激励噪声协方差矩阵;in, is the prior state estimate, A is the state transition matrix,/> is the posterior state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable,/> is the prior covariance estimate, Q is the process excitation noise covariance matrix;

状态更新方程为:The status update equation is:

其中,Kk为当前时刻的卡尔曼增益,为先验协方差估计值,H为状态变量到测量的转换矩阵,R为测量噪声协方差,/>为后验状态估计,A为状态转移矩阵,/>为先验状态估计,Pk为后验协方差估计值,I为单位矩阵。Among them, K k is the Kalman gain at the current moment, is the prior covariance estimate, H is the transformation matrix from state variable to measurement, R is the measurement noise covariance,/> is the posterior state estimate, A is the state transition matrix,/> is the prior state estimate, P k is the posterior covariance estimate, and I is the identity matrix.

需要说明的是,前述集中在基于Kalman滤波的电涡流传感器数据处理方法实施例的解释说明也适用于本发明实施例的基于Kalman滤波的电涡流传感器数据处理系统,其实现原理类似,在此不再赘述。It should be noted that the foregoing explanations focusing on the embodiments of the eddy current sensor data processing method based on Kalman filtering are also applicable to the eddy current sensor data processing system based on Kalman filtering in the embodiments of the present invention. The implementation principles are similar and will not be used here. Again.

根据本发明实施例提出的基于Kalman滤波的电涡流传感器数据处理系统,具有以下优点:The eddy current sensor data processing system based on Kalman filtering proposed according to the embodiment of the present invention has the following advantages:

精度与速度提升,同时可以在FPGA内部处理,避免了硬件电路结构,减少了外部环境的干扰,硬件电路参数设计而带来的失真和零点漂移;The accuracy and speed are improved, and at the same time, it can be processed inside the FPGA, avoiding the hardware circuit structure, reducing the interference of the external environment, and the distortion and zero drift caused by the design of hardware circuit parameters;

在FPGA内进行浮点运算缺点是延时大,资源占用大,同时需要更多的时钟周期才能完成一次运算,改成定点运算之后占用了更少的的逻辑单元,而且需要更少的时钟周期就可完成一次运算;The disadvantages of performing floating-point operations in FPGA are large delays, large resource usage, and more clock cycles are required to complete an operation. After changing to fixed-point operations, fewer logic units are occupied and fewer clock cycles are required. Just one operation can be completed;

用FPGA实现Kalman滤波器的方法既能够满足工程项目中对速度与底层信号处理的要求,同时还可以灵活的去完善系统的功能,最重要的是可以提高精度,可以实现100nm的分辨力,比现有滑动平均滤波方法处理电涡流传感器数据的精度明显提高。The method of using FPGA to implement the Kalman filter can not only meet the requirements for speed and underlying signal processing in engineering projects, but also flexibly improve the functions of the system. The most important thing is that it can improve the accuracy and achieve a resolution of 100nm. Compared with The accuracy of existing moving average filtering methods in processing eddy current sensor data is significantly improved.

为了实现上述实施例,本发明还提出了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时,实现如前述实施例的基于Kalman滤波的电涡流传感器数据处理方法。In order to implement the above embodiments, the present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above embodiments are implemented. Eddy current sensor data processing method based on Kalman filtering.

为了实现上述实施例,本发明还提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现如前述实施例的基于Kalman滤波的电涡流传感器数据处理方法。In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by the processor, the eddy current sensor data based on Kalman filtering is implemented as in the previous embodiments. Approach.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the invention. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above-mentioned embodiments are illustrative and should not be construed as limitations of the present invention. Those of ordinary skill in the art can make modifications to the above-mentioned embodiments within the scope of the present invention. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (4)

1.一种基于Kalman滤波的电涡流传感器数据处理方法,其特征在于,包括以下步骤:1. An eddy current sensor data processing method based on Kalman filtering, characterized by including the following steps: 步骤S1,将电涡流传感器输出的电压信号进行数字检波,数字检波采用倍压包络检波模式进行数字化设计,通过求得整个测量信号的上下包络线,计算两包络线的差值,消除所述电压信号中的高频载波信号,得到实际所需的测量电压信号;Step S1, digitally detect the voltage signal output by the eddy current sensor. The digital detection adopts the double voltage envelope detection mode for digital design. By obtaining the upper and lower envelopes of the entire measurement signal, the difference between the two envelopes is calculated to eliminate The high-frequency carrier signal in the voltage signal obtains the actual required measurement voltage signal; 步骤S2,对所述电压信号进行相位检测,判断极值出现在处理单元的前半段还是后半段,以确定所述电压信号的正负值;Step S2: Perform phase detection on the voltage signal to determine whether the extreme value appears in the first half or the second half of the processing unit to determine the positive and negative values of the voltage signal; 步骤S3,根据所述测量电压信号和所述正负值,利用Kalman滤波器进行定点运算对随机噪声进行滤波处理;Step S3, use the Kalman filter to perform fixed-point calculations to filter random noise according to the measured voltage signal and the positive and negative values; 利用FPGA实现Kalman滤波器,其中,所述FPGA中采用定点运算,定点小数根据实际情况自行设定;Use FPGA to implement the Kalman filter, where fixed-point arithmetic is used in the FPGA, and the fixed-point decimal is set according to the actual situation; 所述Kalman滤波器包括时间更新方程和测量更新方程,其中,所述时间更新方程负责及时向前推算当前状态变量和误差协方差估计的值,以便为下一个时间状态构造先验估计,所述测量更新方程负责反馈,将先验估计和新的测量变量结合以构造改进的后验估计;The Kalman filter includes a time update equation and a measurement update equation, wherein the time update equation is responsible for estimating the values of the current state variables and error covariance estimates forward in time in order to construct a priori estimates for the next time state, the The measurement update equation is responsible for feedback, combining prior estimates with new measured variables to construct improved posterior estimates; 所述时间更新方程为:The time update equation is: 其中,为先验状态估计,A为状态转移矩阵,/>为前一时刻的后验状态估计,B为输入控制矩阵,uk-1为状态控制变量,/>为先验协方差估计值,Q为过程激励噪声协方差矩阵,Pk-1为前一时刻的后验协方差估计值;in, is the prior state estimate, A is the state transition matrix,/> is the posterior state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable,/> is the prior covariance estimate, Q is the process excitation noise covariance matrix, and P k-1 is the posterior covariance estimate at the previous moment; 所述状态更新方程为:The state update equation is: 其中,Kk为当前时刻的卡尔曼增益,为先验协方差估计值,H为状态变量到测量的转换矩阵,R为测量噪声协方差,/>为后验状态估计,A为状态转移矩阵,/>为先验状态估计,Pk为后验协方差估计值,I为单位矩阵。Among them, K k is the Kalman gain at the current moment, is the prior covariance estimate, H is the transformation matrix from state variable to measurement, R is the measurement noise covariance,/> is the posterior state estimate, A is the state transition matrix,/> is the prior state estimate, P k is the posterior covariance estimate, and I is the identity matrix. 2.一种基于Kalman滤波的电涡流传感器数据处理系统,其特征在于,包括:2. An eddy current sensor data processing system based on Kalman filtering, which is characterized by including: 数字检波模块,用于将电涡流传感器输出的电压信号进行数字检波,数字检波采用倍压包络检波模式进行数字化设计,通过求得整个测量信号的上下包络线,计算两包络线的差值,消除所述电压信号中的高频载波信号,得到实际所需的测量电压信号;The digital detection module is used to digitally detect the voltage signal output by the eddy current sensor. The digital detection adopts the voltage doubler envelope detection mode for digital design. By obtaining the upper and lower envelopes of the entire measurement signal, the difference between the two envelopes is calculated. value, eliminate the high-frequency carrier signal in the voltage signal, and obtain the actual required measurement voltage signal; 相位检测模块,用于对所述电压信号进行相位检测,判断极值出现在处理单元的前半段还是后半段,以确定所述电压信号的正负值;A phase detection module, used to perform phase detection on the voltage signal, and determine whether the extreme value appears in the first half or the second half of the processing unit, so as to determine the positive and negative values of the voltage signal; 数字滤波模块,用于根据所述测量电压信号和所述正负值,利用Kalman滤波器进行定点运算对随机噪声进行滤波处理;A digital filtering module, configured to use a Kalman filter to perform fixed-point operations to filter random noise based on the measured voltage signal and the positive and negative values; 利用FPGA实现Kalman滤波器,其中,所述FPGA中采用定点运算,定点小数根据实际情况自行设定;Use FPGA to implement the Kalman filter, where fixed-point arithmetic is used in the FPGA, and the fixed-point decimal is set according to the actual situation; 所述Kalman滤波器包括时间更新方程和测量更新方程,其中,所述时间更新方程负责及时向前推算当前状态变量和误差协方差估计的值,以便为下一个时间状态构造先验估计,所述测量更新方程负责反馈,将先验估计和新的测量变量结合以构造改进的后验估计;The Kalman filter includes a time update equation and a measurement update equation, wherein the time update equation is responsible for estimating the values of the current state variables and error covariance estimates forward in time in order to construct a priori estimates for the next time state, the The measurement update equation is responsible for feedback, combining prior estimates with new measured variables to construct improved posterior estimates; 所述时间更新方程为:The time update equation is: 其中,为先验状态估计,A为状态转移矩阵,/>为前一时刻的后验状态估计,B为输入控制矩阵,uk-1为状态控制变量,/>为先验协方差估计值,Q为过程激励噪声协方差矩阵,Pk-1为前一时刻的后验协方差估计值;in, is the prior state estimate, A is the state transition matrix,/> is the posterior state estimate at the previous moment, B is the input control matrix, u k-1 is the state control variable,/> is the prior covariance estimate, Q is the process excitation noise covariance matrix, and P k-1 is the posterior covariance estimate at the previous moment; 所述状态更新方程为:The state update equation is: 其中,Kk为当前时刻的卡尔曼增益,为先验协方差估计值,H为状态变量到测量的转换矩阵,R为测量噪声协方差,/>为后验状态估计,A为状态转移矩阵,/>为先验状态估计,Pk为后验协方差估计值,I为单位矩阵。Among them, K k is the Kalman gain at the current moment, is the prior covariance estimate, H is the transformation matrix from state variable to measurement, R is the measurement noise covariance,/> is the posterior state estimate, A is the state transition matrix,/> is the prior state estimate, P k is the posterior covariance estimate, and I is the identity matrix. 3.一种电子设备,其特征在于,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如权利要求1中所述的基于Kalman滤波的电涡流传感器数据处理方法。3. An electronic device, characterized in that it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the process as claimed in claim 1 is implemented. The above mentioned eddy current sensor data processing method based on Kalman filtering. 4.一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1中所述的基于Kalman滤波的电涡流传感器数据处理方法。4. A non-transitory computer-readable storage medium with a computer program stored thereon, characterized in that when the computer program is executed by a processor, the Kalman filter-based eddy current sensor data as claimed in claim 1 is realized Approach.
CN202111061563.8A 2021-09-10 2021-09-10 Eddy current sensor data processing method and system based on Kalman filtering Active CN113701618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111061563.8A CN113701618B (en) 2021-09-10 2021-09-10 Eddy current sensor data processing method and system based on Kalman filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111061563.8A CN113701618B (en) 2021-09-10 2021-09-10 Eddy current sensor data processing method and system based on Kalman filtering

Publications (2)

Publication Number Publication Date
CN113701618A CN113701618A (en) 2021-11-26
CN113701618B true CN113701618B (en) 2024-03-01

Family

ID=78659854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111061563.8A Active CN113701618B (en) 2021-09-10 2021-09-10 Eddy current sensor data processing method and system based on Kalman filtering

Country Status (1)

Country Link
CN (1) CN113701618B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114759924A (en) * 2022-03-31 2022-07-15 北京控制工程研究所 Logic filtering system and method for eddy current small signal high reliability and low fan-out

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010064087A (en) * 1999-12-24 2001-07-09 박종섭 Quadrature Amplitude Modulation Demodulator for symbol timing recovery with low noise and high speed
CN1582385A (en) * 2001-10-30 2005-02-16 金特克投资集团股份公司 Induction sensing apparatus and method
CN1714278A (en) * 2002-10-23 2005-12-28 恩德斯+豪斯流量技术股份有限公司 Vortex flow sensor
CN102003970A (en) * 2010-10-14 2011-04-06 南京大学 Dynamic signal demodulation method for fiber laser sensor
CN104535063A (en) * 2014-11-27 2015-04-22 哈尔滨工程大学 Geographic coordinate compensation method for seabed oil-gas pipeline detection positioning system
CN108227505A (en) * 2018-01-30 2018-06-29 西安交通大学 Milling electro spindle Vibration Suppression System and method based on prediction-self adaptive control
CN109361636A (en) * 2018-12-05 2019-02-19 珠海任驰光电科技有限公司 A kind of demodulating equipment and method based on phase generated carrier
CN110765717A (en) * 2019-10-22 2020-02-07 哈尔滨理工大学 A Design Method of Extended Kalman Filter Circuit Structure Based on FPGA
CN211291323U (en) * 2020-03-13 2020-08-18 蚌埠学院 Signal conditioning circuit of eddy current sensor
CN112309115A (en) * 2020-10-27 2021-02-02 华中科技大学 A method for continuous location detection and parking precise positioning in and out of the venue based on multi-sensor fusion

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010064087A (en) * 1999-12-24 2001-07-09 박종섭 Quadrature Amplitude Modulation Demodulator for symbol timing recovery with low noise and high speed
CN1582385A (en) * 2001-10-30 2005-02-16 金特克投资集团股份公司 Induction sensing apparatus and method
CN1714278A (en) * 2002-10-23 2005-12-28 恩德斯+豪斯流量技术股份有限公司 Vortex flow sensor
CN102003970A (en) * 2010-10-14 2011-04-06 南京大学 Dynamic signal demodulation method for fiber laser sensor
CN104535063A (en) * 2014-11-27 2015-04-22 哈尔滨工程大学 Geographic coordinate compensation method for seabed oil-gas pipeline detection positioning system
CN108227505A (en) * 2018-01-30 2018-06-29 西安交通大学 Milling electro spindle Vibration Suppression System and method based on prediction-self adaptive control
CN109361636A (en) * 2018-12-05 2019-02-19 珠海任驰光电科技有限公司 A kind of demodulating equipment and method based on phase generated carrier
CN110765717A (en) * 2019-10-22 2020-02-07 哈尔滨理工大学 A Design Method of Extended Kalman Filter Circuit Structure Based on FPGA
CN211291323U (en) * 2020-03-13 2020-08-18 蚌埠学院 Signal conditioning circuit of eddy current sensor
CN112309115A (en) * 2020-10-27 2021-02-02 华中科技大学 A method for continuous location detection and parking precise positioning in and out of the venue based on multi-sensor fusion

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Kalman滤波器的多频电涡流信号解调方法研究;高全芹等;《长沙大学学报》;第第27卷卷(第第5期期);第33-35页 *

Also Published As

Publication number Publication date
CN113701618A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
KR102309359B1 (en) Time-to-digital converter with increased range and sensitivity
Lin et al. A digital circuit design of hyperbolic tangent sigmoid function for neural networks
CN108352841B (en) Single flux quantum probability digitizer
WO2018188228A1 (en) High-precision frequency measuring system and method
CN112014810B (en) High-precision electronic reconnaissance signal parameter measurement method based on FPGA
JP6792602B2 (en) High resolution time-digital converter
CN113701618B (en) Eddy current sensor data processing method and system based on Kalman filtering
CN105486934B (en) A kind of method and system of the impulse waveform leading edge detection based on straight line fitting
CN102629847A (en) Asynchronous motor pure electronic speed feedback method
Putra A novel fixed-point square root algorithm and its digital hardware design
Balasubramanian et al. Hardware efficient approximate adder design
CN111121827B (en) TMR magnetic encoder system based on Kalman filtering
RU167428U1 (en) SINUS-COSINUS SIGNAL CONVERTER TO POSITION CODE
Chang et al. Softsign function hardware implementation using piecewise linear approximation
Chen et al. A general methodology and architecture for arbitrary complex number Nth root computation
Liu et al. State estimation for discrete-time Markov jump linear systems with multiplicative noises and delayed mode measurements
CN102710237B (en) First-order digital low-pass filtering method, filter and electronic equipment
Shumikhin et al. An interpolator for signal peak detection in front-end electronics
CN105866483A (en) Implementation method for generating sine wave signals through DSP controller
CN114510268B (en) GPU-based method for realizing single-precision floating point number accumulated error control in down-conversion
Fang et al. A Common Architecture for Digital Process of Ultrasonic Imaging System after AFE
CN116400136B (en) Method for calculating phase shift of current sensor
Bhat et al. Design of Error Tolerant Subtractor using Truncation Approximation Technique
WO2018133092A1 (en) Signal processing system and signal processing method
CN114771114A (en) An inkjet printing system printing method, device and inkjet printing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20250113

Address after: Room 08-10, 6 / F, block a, No. 5, Dongtucheng Road, Chaoyang District, Beijing 100013

Patentee after: National Petroleum and natural gas pipeline network Group Co.,Ltd.

Country or region after: China

Patentee after: South China branch of National Petroleum and natural gas pipeline network Group Co.,Ltd.

Address before: 6 / F, tower a, Sinopec building, 191 TIYU West Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: South China branch of National Petroleum and natural gas pipeline network Group Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right