Disclosure of Invention
The invention aims to provide a parameter-optimized stochastic resonance magnetic anomaly signal detection method which can accurately detect whether a target signal contains a magnetic anomaly signal.
In order to achieve the above purpose, the invention provides the following technical scheme:
a parameter optimized stochastic resonance magnetic anomaly signal detection method comprises the following steps:
the method comprises the following steps: collecting magnetic signals;
step two: normalizing the collected magnetic signals;
step three: constructing a nonlinear Langevin equation for describing stochastic resonance and a potential well function equation for describing particle motion according to a model of a magnetic dipole theory;
step four: calculating an influence factor gammaCKDetermining the parameters of the stochastic resonance system by using an intelligent optimization algorithm;
step five, according to the parameters obtained in the step four, the acquired magnetic signals are used as input, and the output signal y of the stochastic resonance system is calculated by using a four-order Runge Kutta method;
step six: adding sliding window to signal y, and taking root mean square value of data in window as stable output value y of window intermediate pointoptCalculating y corresponding to all the sampling pointsopt;
Step seven: based on yoptGenerating a large number of simulation samples by adopting the parameters obtained in the step four and using a Monte Carlo method, and determining an optimal threshold value according to a Neyman-Pearson criterion;
step eight: taking the magnetic signal to be detected as input, and obtaining the corresponding y after the processing of the fifth step and the sixth stepoptIf there is a part yoptIf the magnetic anomaly exceeds the threshold value, judging that the magnetic anomaly exists at the corresponding moment; otherwise, the magnetic signal is considered to be absent of a magnetic anomaly caused by a ferromagnetic target.
Detailed Description
The following describes the technical solution of the present invention in detail by taking a stochastic resonance algorithm for parameter optimization as an example with reference to the accompanying drawings and the detailed description.
As shown in fig. 1 and 2, the method comprises the following specific steps:
the method comprises the following steps: collecting magnetic signals;
step two: normalizing the collected magnetic signals;
step three: constructing a nonlinear Langevin equation for describing stochastic resonance and a potential well function equation for describing particle motion according to a model of a magnetic dipole theory;
step four: calculating an influence factor gammaCKDetermining the parameters of the stochastic resonance system by using an intelligent optimization algorithm;
step five, according to the parameters obtained in the step four, the acquired magnetic signals are used as input, and the output signal y of the stochastic resonance system is calculated by using a four-order Runge Kutta method;
step six: applying a sliding window to the signal y and averaging the data in the windowRoot value as stable output value y of window middle pointoptCalculating y corresponding to all the sampling pointsopt;
Step seven: based on yoptGenerating a large number of simulation samples by adopting the parameters obtained in the step four and using a Monte Carlo method, and determining an optimal threshold value according to a Neyman-Pearson criterion;
step eight: taking the magnetic signal to be detected as input, and obtaining the corresponding y after the processing of the fifth step and the sixth stepoptIf there is a part yoptIf the magnetic anomaly exceeds the threshold value, judging that the magnetic anomaly exists at the corresponding moment; otherwise, the magnetic signal is considered to be absent of a magnetic anomaly caused by a ferromagnetic target.
As shown in fig. 1, the influence factor γCKIs calculated as follows, γCKThe kurtosis K and the peak factor C are jointly determined, the physical characteristic of whether the shock exists or not is detected according to the reaction of the kurtosis K to the shock characteristic of the vibration signal and the peak factor, and the magnetic abnormal signal belongs to the non-periodic shock signal, so that the magnetic abnormal signal and the non-periodic shock signal are combined to detect the existence of the magnetic abnormal signal in the target signal.
Wherein xpeakIs the peak value of the signal, xrmsIs the signal root mean square value. Obtaining gamma by simulated annealing algorithmCKWhen the maximum value is taken, the corresponding parameters of potential well function a, b, step length h and the like.
As shown in fig. 1, the flow of the intelligent algorithm simulated annealing algorithm is as follows: setting iteration times T and rate alpha, generating a standard energy function p (x) according to an initialized calculation objective function equation model, calculating the difference delta p between the standard energy function p (x) and the previous standard energy function p (x), if the delta p is less than or equal to 0, accepting p (x), if not less than 0, accepting p (x) according to the Metropolis criterion:
until reaching the iteration number, obtainingAnd (4) parameters. If the parameters do not meet the termination condition, slowly reducing the temperature, resetting the iteration times, and repeating the iteration until the maximum value gamma is obtainedCK. By maximum gammaCKAnd solving the corresponding potential well function parameters a and b and the step length h of the Runge Kutta equation.
As shown in fig. 2, the signal preprocessing is followed by constructing a stochastic resonance system model, which is constructed from langevin's equations describing stochastic resonance:
x′(t)=-V′(x)+s(t)+ξ(t)
x (t) is SR system response, s (t) is magnetic anomaly signal, ξ (t) is geomagnetic noise signal. V (x) is a nonlinear potential well function equation:
through the above two equations, the magnetic anomaly signal and the parameters of the stochastic resonance potential well function can be correlated.
As shown in fig. 2, the stochastic resonance system output can be solved by a fourth-order lattice tower method, wherein the formula of the fourth-order lattice tower method is as follows:
by solving the fourth order equation, the system output x (t) corresponding to the parameters of the potential well function a and b and the step length h can be obtained.
As shown in fig. 2, the stable output y of the system outputoptThe output can be optimized to indicate the degree of signal fluctuation in the vicinity. The threshold q can be determined by the Neyman-Pearson criterion. y isoptThe calculation method of (2) is as follows:
yopt=MSE(x(n-N+1:n))
MSE represents the root mean square value of x between N and N-N +1, and the calculated yoptThe curve determines a threshold q according to the Neyman-Pearson criterion to determine whether the signal contains a magnetic anomaly signal. If there is a moiety yoptExceeding the thresholdIf so, judging that magnetic anomaly exists at the corresponding moment; otherwise, the magnetic signal is considered to be absent of a magnetic anomaly caused by a ferromagnetic target.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.