CN112836784A - Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm - Google Patents

Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm Download PDF

Info

Publication number
CN112836784A
CN112836784A CN202110013677.9A CN202110013677A CN112836784A CN 112836784 A CN112836784 A CN 112836784A CN 202110013677 A CN202110013677 A CN 202110013677A CN 112836784 A CN112836784 A CN 112836784A
Authority
CN
China
Prior art keywords
magnetic
moving target
magnetic moving
algorithm
magnetic field
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.)
Granted
Application number
CN202110013677.9A
Other languages
Chinese (zh)
Other versions
CN112836784B (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.)
Northwestern Polytechnical University
Original Assignee
Northwestern Polytechnical University
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 Northwestern Polytechnical University filed Critical Northwestern Polytechnical University
Priority to CN202110013677.9A priority Critical patent/CN112836784B/en
Publication of CN112836784A publication Critical patent/CN112836784A/en
Application granted granted Critical
Publication of CN112836784B publication Critical patent/CN112836784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The invention discloses a magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm, which comprises the following steps: the method comprises the steps of enabling a magnetic moving target to be equivalent to a magnetic dipole array, establishing a magnetic dipole array model, and determining a magnetic field generated by the magnetic moving target at a measuring point, the magnetic moment of the magnetic moving target, and a magnetic moving target relational expression of the position relation between the magnetic moving target and the measuring point; when the magnetic moving target moves at a constant speed and the magnetic moment of the magnetic moving target is invariant, knowing the magnetic field generated by the magnetic moving target at a measuring point, performing least square optimization on the relational expression of the magnetic moving target to determine a nonlinear equation about the position of the magnetic moving target; under the condition that the initial state is unknown, the position of the magnetic moving target is solved by utilizing a hybrid algorithm combining an ant colony optimization algorithm and an L-M method, namely, an initial rough solution is obtained by utilizing the ant colony optimization algorithm, and then an optimal solution is obtained by utilizing the L-M method, so that the accurate positioning of the magnetic target is realized.

Description

Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm
Technical Field
The invention relates to the technical field of magnetic moving target positioning, in particular to a magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm.
Background
In recent years, the Levernberg-Marquardt algorithm (L-M method) is widely applied in the fields of three-dimensional information acquisition, building science, industrial design and the like. The Levernberg-Marquardt algorithm is a deformation of Newton's method, solves the optimal solution by minimizing the sum of squares of nonlinear objective functions, and can be used for passive magnetic positioning calculation. The calculation method is a compromise algorithm of a Newton method and a steepest descent method, and has the convergence rate of the Newton method and the convergence performance of the steepest descent method.
In the prior art, a shell of a vehicle is taken as a magnetic simulator, a magnetic field model of a measured target is established, unknown parameters are initially estimated, and the position of the target can be accurately estimated by using an L-M method. However, the L-M method also has the defect that the Newton method has high requirement on the initial value, and the L-M algorithm can find a good optimal solution within a certain range of the initial value from the true value; when the initial value is poor, an iterative divergence phenomenon occurs, so that a good optimal solution cannot be found, namely the positioning accuracy of the magnetic target is influenced.
Disclosure of Invention
The embodiment of the invention provides a magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm, which is used for solving the problems in the background technology.
The embodiment of the invention provides a magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm, which comprises the following steps:
establishing a receiving magnetic field platform by using a single three-component fluxgate sensor, and acquiring abnormal magnetic field data generated when a magnetic moving target passes through the receiving magnetic field platform;
the method comprises the steps of enabling a magnetic moving target to be equivalent to a magnetic dipole array, establishing a magnetic dipole array model according to the size of the magnetic moving target, and determining a magnetic field generated by the magnetic moving target at a measuring point, the magnetic moment of the magnetic moving target, and a magnetic moving target relational expression of the position relation between the magnetic moving target and the measuring point;
when the magnetic moving target moves at a constant speed, regarding the magnetic moment of the magnetic moving target as an invariant, knowing the magnetic field received at a measuring point, performing least square optimization on the relational expression of the magnetic moving target, and determining a nonlinear equation about the position of the magnetic moving target;
solving a nonlinear equation of the magnetic moving target position by adopting an ant colony optimization algorithm by combining abnormal magnetic field data to obtain a rough solution of the magnetic moving target position;
and taking the rough solution as an initial value, solving a nonlinear equation of the magnetic moving target position by adopting a Levernberg-Marquardt algorithm, and determining an accurate solution of the magnetic moving target position.
Further, the magnetic moving object includes: an automobile.
Further, the abnormal magnetic field data is: and subtracting the stable geomagnetic field data of the magnetic moving target before the magnetic moving target passes through the receiving magnetic field platform from the magnetic field data of the magnetic moving target when the magnetic moving target passes through the receiving magnetic field platform.
Further, determining the magnetic moving object relation specifically includes:
establishing a coordinate system by taking the center of the magnetic moving target as an origin, wherein the X-axis direction is the longitudinal direction of the magnetic moving target, and the Z-axis is vertically downward; fitting a magnetic moving target by an array of magnetic dipoles evenly distributed on the X axis, wherein the number of the magnetic dipoles is N, the center of the linear array of the magnetic dipoles is located at the origin, the magnetic moments of the magnetic dipoles in three directions are Mxi, Myi, Mzi, i is 1,2,3, N, and the magnetic field generated by the ith magnetic dipole at the measuring point P (X, y, z) is:
Figure BDA0002885911500000021
Figure BDA0002885911500000031
wherein r isiIs the distance from the ith magnetic dipole to the measurement point, (x)i,yi,zi) Is the coordinate position of the ith magnetic dipole;
the magnetic field generated by the magnetic dipole array at the measurement point P (x, y, z) is then:
Figure BDA0002885911500000032
further, the determining a non-linear equation about the position of the magnetic moving object specifically includes:
arranging a fluxgate sensor at a measuring point, wherein a Z 'axis of a fluxgate coordinate axis is vertically downward, and an included angle between an X' axis and a target course direction, namely an X axial direction is alpha; assuming that the magnetic moving target does uniform linear motion along the X direction, the speed is v, the sampling interval is DT, and the output (H ') of the fluxgate sensor at the j th time'xj,H'yj,H'zj) With magnetic moving target magnetic field (H)xj,Hyj,Hzj) The relationship of (1) is:
Figure BDA0002885911500000033
wherein, -pi ≦ α ≦ pi, and the parameter α is a fixed value for a magnetic moving target possessing a fixed direction of motion;
when the magnetic moving target passes through the measuring point, the fluxgate samples m times to obtain m groups of three-component magnetic moving target magnetic field data as follows:
Figure BDA0002885911500000041
and (3) establishing a linear equation system of the model by using the m-point sampling data:
H=FM
wherein the content of the first and second substances,
M=(Mx1,Mx2,···,MxN,My1,My2,···,MyN,Mz1,Mz2,···,MzN)T
H=(Hx1,Hx2,···,Hxm,Hy1,Hy2,···,Hym,Hz1,Hz2,···,Hzm)T
Figure BDA0002885911500000042
the non-linear equation for the position of a magnetically moving target is as follows:
Figure BDA0002885911500000043
wherein F is a coefficient matrix related to the position of the magnetic moving target, M is a magnetic field model parameter, H is a magnetic field of the magnetic moving target, and the magnetic moving target function E is a nonlinear function of the positioning parameter (x, y, z, alpha).
Further, the ant colony optimization algorithm includes:
according to the number of parameters to be solved, the ant colony population is subjected to size setting and iteration frequency setting, and a magnetic motion objective function E determined by a nonlinear equation is used for initializing pheromones;
the ant colony optimization algorithm is an iterative algorithm, and the following operations are executed in each iteration:
a group of ants synchronously or asynchronously move between adjacent states of the nonlinear optimization problem, and the moving direction is selected by using pheromones and heuristic information associated in each state and adopting a state transition rule to gradually construct a feasible solution of the problem;
updating pheromones locally when each ant constructs solutions;
after all ants complete the construction of the solution, globally updating the pheromone according to the obtained solution;
the iterative process continues until a stop condition is satisfied; among the commonly used stopping conditions are the maximum run time or the maximum number of allowed solutions to be constructed.
Further, the Levernberg-Marquardt algorithm includes:
xk+1=xk-[JT(xk)J(xk)+μkI]-1JT(xk)v(xk)
when mu iskAt increase, the Levernberg-Marquardt algorithm approaches the steepest descent method for small learning speeds:
Figure BDA0002885911500000051
when mu iskWhen dropping to 0, the Levernberg-Marquardt algorithm becomes Gaussian-Newton, and F (x) vT(x)v(x)。
The embodiment of the invention provides a magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm, which has the following beneficial effects compared with the prior art:
the invention provides a method for realizing accurate positioning of a magnetic target by utilizing a single three-component fluxgate sensor; under the condition that the initial state is unknown, the position of the magnetic moving target is solved by using a hybrid algorithm (ACO-LM method) combining an Ant Colony Optimization (Ant Colony Optimization) and an L-M method, namely, an initial rough solution is obtained by using an Ant Colony algorithm, and then an optimal solution is obtained by using the L-M method, so that the magnetic moving target is accurately positioned. In addition, the single fluxgate sensor has the characteristics of low price, convenience in carrying and installation and good engineering application prospect. In addition, the rationality and the feasibility of the hybrid algorithm are verified through theoretical simulation and an automobile experiment, and reference is provided for detection and positioning of a magnetic target in engineering.
Drawings
FIG. 1 is a magnetic dipole array model of a magnetic target provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of the movement of a magnetic target according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a target location experiment provided by an embodiment of the present invention;
FIG. 4a is a three-component magnetic field data of a first pass of a magnetic sensor by a vehicle according to an embodiment of the present invention;
FIG. 4b is a graph illustrating three-component magnetic field data for a second pass of the vehicle past the magnetic sensor in accordance with an embodiment of the present invention;
5-a1 illustrate data for positioning in the X direction for a first pass of a vehicle according to an embodiment of the present invention;
5-a2 are positioning results in the X direction for a first pass of a vehicle provided by an embodiment of the present invention;
5-b1 illustrate data for positioning in the Y direction for a first pass of a vehicle according to an embodiment of the present invention;
5-b2 illustrate the positioning results in the Y direction for a first pass of a vehicle provided by an embodiment of the present invention;
5-c1 illustrate data for positioning in the Z direction for a first pass of a vehicle according to an embodiment of the present invention;
5-c2 illustrate positioning results in the Z direction for a first pass of a vehicle provided by an embodiment of the present invention;
FIG. 5-d is a result of positioning an included angle with the X direction when the vehicle passes for the first time according to the embodiment of the present invention;
6-a1 shows data for a second pass of the vehicle in the X direction for positioning according to an embodiment of the present invention;
6-a2 are positioning results in the X direction for a second pass of the vehicle provided by embodiments of the present invention;
6-b1 illustrate data for a second pass of the vehicle in the Y direction for positioning according to embodiments of the present invention;
6-b2 are positioning results in the Y direction for a second pass of the vehicle provided by embodiments of the present invention;
6-c1 illustrate data for a second pass of the vehicle in the Z direction for positioning according to embodiments of the present invention;
6-c2 are positioning results in the Z direction for a second pass of the vehicle provided by embodiments of the present invention;
fig. 6-d shows the positioning result of the angle formed by the automobile and the X direction during the second pass according to the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm, which comprises the following steps:
step 1: a receiving magnetic field platform is established by using a single three-component fluxgate sensor, and abnormal magnetic field data generated when a magnetic moving target passes through the receiving magnetic field platform are collected.
Step 2: and (3) enabling the magnetic moving target to be equivalent to a magnetic dipole array, establishing a magnetic dipole array model according to the size of the magnetic moving target, and determining a magnetic field generated by the magnetic moving target at the measuring point, the magnetic moment of the magnetic moving target and a magnetic moving target relational expression of the position relation between the magnetic moving target and the measuring point. Specifically, taking an automobile as an example, the automobile is about 4.4m long, and the three-magnetic dipole array model with equal intervals is established by taking the intervals as half of the length of the automobile.
And step 3: when the magnetic moving target moves at a constant speed, the magnetic moment of the magnetic moving target is regarded as an invariant, the magnetic field received at the measuring point is known, least square optimization is carried out on the relational expression of the magnetic moving target, and a nonlinear equation related to the position of the magnetic moving target is determined.
It should be noted that, according to the principle that a single magnetic dipole generates a magnetic field, a magnetic field model equation of the size and distance of the magnetic field and the magnetic moment of the target is listed, and according to the linear superposition principle, the abnormal magnetic field generated when the equivalent magnetic target passes through can be approximated by the magnetic fields generated by three magnetic dipoles distributed at different positions of the target.
And 4, step 4: and solving a nonlinear equation of the magnetic moving target position by adopting an ant colony optimization algorithm by combining the abnormal magnetic field data to obtain a rough solution of the magnetic moving target position. Specifically, the method comprises the steps of solving by adopting an ant colony optimization algorithm to obtain a rough solution of the position of the automobile, wherein the rough solution comprises the steps of setting the size of an ant colony according to the number of parameters to be solved, setting iteration times, initializing pheromones by an objective function determined by a nonlinear least square problem and setting pheromone updating rules.
And 5: and taking the rough solution as an initial value, solving a nonlinear equation of the magnetic moving target position by adopting a Levernberg-Marquardt algorithm, and determining an accurate solution of the magnetic moving target position. Specifically, an ant colony optimization algorithm is used for obtaining a rough solution of the position of the automobile as an initial solution of a Levernberg-Marquardt algorithm, and then an accurate solution about the position of the automobile is obtained by utilizing the characteristics of high precision and fast convergence of the Levernberg-Marquardt algorithm, wherein the accurate solution comprises the setting of iteration times and the setting of an iteration stopping condition of the Levernberg-Marquardt algorithm.
The specific analysis of the steps 1-5 is as follows:
magnetic target modeling generally adopts a magnetic dipole model. As shown in fig. 1, a coordinate system is established with the center of the magnetic target as the origin, the X-axis direction is the longitudinal direction of the target, generally the advancing direction thereof, and the Z-axis is vertically downward. Fitting the target with an array of magnetic dipoles evenly distributed on the X-axis, where the number of magnetic dipoles is N, the magnetic dipole line array is centered at the origin, the magnetic moments of the magnetic dipoles in three directions are Mxi, Myi, Mzi, i ═ 1,2,3, · · N, respectively, and the magnetic field generated by the ith magnetic dipole at the measurement point P (X, y, z) is:
Figure BDA0002885911500000081
Figure BDA0002885911500000082
wherein r isiIs the distance from the ith magnetic dipole to the measurement point, (x)i,yi,zi) Is the coordinate position of the ith magnetic dipole.
The magnetic field generated by the magnetic dipole array at the measurement point P (x, y, z) is then:
Figure BDA0002885911500000091
if the magnetic moment and distribution of the array are known, the magnetic field can be calculated at any point in space. Conversely, if the magnetic field distribution data in the space is known, the magnetic moment and the distribution position of the magnetic dipole equivalent to the magnetic moving target can be obtained by inversion, so that the position of the magnetic target can be obtained.
The fluxgate magnetic sensor is arranged at a measuring point, a Z 'axis of a fluxgate coordinate axis is vertically downward, and an included angle between an X' axis and a target heading (X axis) is alpha, as shown in FIG. 1. Assuming that the target does uniform linear motion along the X direction, the speed is v, the sampling interval is DT, and the speed when the target passes through is not long. Then the jth output (H ') of the flux gate'xj,H'yj,H'zj) With the target magnetic field (H)xj,Hyj,Hzj) The relationship of (A) is as follows:
Figure BDA0002885911500000092
where-pi ≦ α ≦ pi, and the parameter α is a fixed value for a magnetic target possessing a fixed direction of motion.
Setting the coordinate center position of the target at the jth sampling as Pj(xj,yj,zj) For a magnetic target moving on the ground, the coordinate P at the time of sampling at the j +1 th timej+1(xj+1,yj+1,zj+1) Comprises the following steps:
Figure BDA0002885911500000093
a batch of data may be collected as the target passes near the measurement system. The fluxgate samples m times, and m groups of three-component data can be obtained as follows:
Figure BDA0002885911500000101
with m-point sampled data, a linear system of equations for the model can be established:
H=FM
wherein the content of the first and second substances,
M=(Mx1,Mx2,···,MxN,My1,My2,···,MyN,Mz1,Mz2,···,MzN)T
H=(Hx1,Hx2,···,Hxm,Hy1,Hy2,···,Hym,Hz1,Hz2,···,Hzm)T
Figure BDA0002885911500000102
the problem of localization of magnetic targets is in fact an optimization problem solving the following non-linear unconstrained equations:
Figure BDA0002885911500000103
where F is the coefficient matrix for the target location, M is the magnetic field model parameters, H is the target magnetic field, and the objective function E is a non-linear function of the localization parameters (x, y, z, α), which is a typical non-linear optimization problem. The unknown parameter has an initial position (x) of the central position of the target relative to the fluxgate at the first sampling1,y1,z1) Target individual magnetic dipole moment (M)xi,Myi,Mzi) The included angle alpha between the target course and the X' axis of the fluxgate is 3N +4 unknown numbers, wherein (M)xi,Myi,Mzi) Referred to as model parameters, (x)1,y1,z1α) is called a positioning parameter, it being clear that F is a parameter relating to positioningIs a non-linear function of (a). S nonlinear equations are established by using magnetic field data acquired by the fluxgate sensor, when S is more than 3N +4, the equation set is a contradiction equation set, an accurate solution cannot be obtained, only an approximate solution in the least square sense can be obtained, and E is (FM-H)T(FM-H) reaches a minimum value.
In order to solve the nonlinear optimization problem, the invention provides an ant colony and Levernberg-Marquardt mixed positioning algorithm (ACO-LM method), the global search optimization capability of the ant colony algorithm is combined with the local precise search capability of the L-M method, the ant colony algorithm is used for obtaining an initial rough solution, then the L-M method is used for obtaining an optimal solution, and the accurate positioning of the magnetic moving target is realized.
The Levernberg-Marquardt algorithm is:
xk+1=xk-[JT(xk)J(xk)+μkI]-1JT(xk)v(xk)
the algorithm is equivalent to mukWhen increasing, it approaches the steepest descent method for small learning speeds:
Figure BDA0002885911500000111
when mu iskWhen the value falls to 0, the algorithm becomes gaussian-newton, where f (x) is equal to vT(x)v(x)。
The ant colony algorithm is an iterative algorithm, and the following operations are executed in each iteration: a group of ants move between adjacent states of a nonlinear optimization problem synchronously or asynchronously, and they use pheromones and heuristic information associated in each state to select moving directions by using state transition rules to gradually construct a feasible solution of the problem[8](ii) a Pheromones can be locally updated when each ant constructs solutions; after all ants complete the construction of the solution, the pheromone is globally updated according to the obtained solution. The iterative process continues until some stopping condition is met. Common stopping conditions are maximum run time or maximum number of allowed solutions to be constructed.
Because the ant colony algorithm has good global search capability, the optimization result is irrelevant to the initial value, only one initial value needs to be randomly generated in the variable distribution interval, the ant colony algorithm can quickly converge to the local area where the optimal solution of the target function is located, and a good initial value can be provided for the L-M method. Because the ant colony algorithm lacks the fine searching capability of a local area, the ant colony algorithm is easy to fall into stagnation in the later operation stage, and in order to improve the operation efficiency of the algorithm, the iteration times of the ant colony algorithm can be properly shortened and the number of ants can be reduced.
Magnetic moving object positioning simulation
The existing research shows that the three-dipole array model can well simulate the magnetic target. Assuming an equivalent three dipole magnetic moment of a magnetic target of (M)xi,Myi,Mzi)=(2×104,3×104,2×104)Am2And i is equal to 1,2,3 magnetic dipole spacing of 2 m. The magnetic target center moves from the coordinate position (-150, -40,0) to the coordinate position (145, -40,0) in the positive X-axis direction at a speed V of 10 m/s. An included angle alpha between the X direction of the fluxgate and the X axis of the coordinate system is-30 degrees, the target moves in the XOY plane of the coordinate system, and the sampling interval of the acquisition system is 0.5 s. The magnetic target motion diagram is shown in figure 2 below.
When alpha is-30 degrees, the ant colony algorithm is used for enabling the hybrid algorithm to quickly converge to the vicinity of a true value, and then the L-M method is used for local operation, so that the simulation obtains a good positioning effect.
Magnetic target localization experiments
The positioning performance of the ACO-LM method will be verified experimentally by the magnetic target. A wide road which is far away from industrial facilities in the suburb of Western Ann and is in a stable magnetic field environment is selected for the experiment. The magnetic target is an automobile with dimensions of 4.55m × 1.8m × 1.88 m. The positive X direction of the magnetic sensor points to the driving direction of the automobile, the Z direction is vertical to the ground and faces downwards, and the Y direction, the X direction and the Z direction accord with a right-hand coordinate system. The automobile passes through the magnetic acquisition system at a speed of about 8.3m/s, the distance from the center of the automobile to the magnetic sensor in the Y direction is about 3m, the distance from the center of the automobile to the ground is about 1m, and an experimental schematic diagram is shown in FIG. 3.
The Levernberg-Marquardt algorithm solves the optimal solution by minimizing the sum of squares of the nonlinear objective functions, has high requirements on initial values, and cannot obtain the optimal solution when the initial values are not properly selected. The following describes the situation by selecting different initial values, using an L-M method to solve, randomly running for 30 times, and selecting simulation data of position true value parameters (-10M, -40M,0M, -30 °) for comparison. The results are shown in table 1:
TABLE 1L-M method solving effect when different initial values are taken
Figure BDA0002885911500000121
Figure BDA0002885911500000131
As can be seen from table 1, when the initial value is closer to the selected position true value, the L-M algorithm can find a good optimal solution; however, when the initial value is not properly selected, the algorithm cannot obtain the optimal solution and cannot converge to the vicinity of the true value. Aiming at the problem, the ant colony algorithm is introduced to form an ACO-LM method to solve the position parameters of the magnetic target. Setting the upper limit of the solution space of the ACO-LM method to be (500m,50m,10m and 50 degrees), setting the lower limit to be (-500m, -50m, -10m and-50 degrees), randomly operating for 30 times, similarly selecting the true position parameters (-10m, -40m,0m and-30 degrees), and obtaining the simulation result of x being-10.03 m, y being-40 m and z being 0.0003 m.
The experiment adopts a high-performance fluxgate magnetic sensor produced by Shunhua measuring equipment Limited liability company, the bandwidth is DC-1KHz, the linearity is not more than 0.01 percent FS, the three-axis orthogonality is not more than +/-0.2 degrees, and the noise is as low as 6pT RMS/Hz1 /2@1 Hz. The geomagnetic field can be regarded as stable within a period of time, a period of data is collected as the geomagnetic field before the experiment, and the geomagnetic field subtracted from the magnetic field data collected in the experiment process can be regarded as the target magnetic field. The automobile runs 2 times along the road edge, the X axis of the magnetic sensor is parallel to the X axis of the coordinate axis when the automobile passes for the first time, and the X axis of the magnetic sensor is wound around the seat when the automobile passes for the second timeThe axis X is rotated counterclockwise by about 30. And (3) intercepting the magnetic field data of 2s before and after the automobile equivalent center passes through the magnetic acquisition system every time to perform Butterworth low-pass filtering processing, wherein the processed magnetic target passing curve is shown in figure 4.
The three-dipole equidistant linear array model is selected to model the automobile, and the fitting error of different magnetic dipole intervals to the magnetic field change data is compared, so that the automobile can be well fitted through the magnetic field data with high precision when the magnetic dipole array interval is 2.2 m. The ACO-LM method provided by the present invention is used to position the motion trajectory of the vehicle, and the positioning results are shown in fig. 5 and fig. 6.
Since the vehicle travels straight in the X direction, the positional change in the X direction is an inclined straight line having a slope of the traveling speed of the vehicle with respect to the time axis, and there is substantially no change in the Y direction and the Z direction, so that the two directions are a horizontal straight line with respect to the time axis. From the positioning result, the positioning result is poor in a period of initial time because the magnetic field signal is weak when the automobile is far away from the magnetic sensor, the magnitude of noise is not negligible relative to the effective magnetic field signal, the signal-to-noise ratio is low, and the influence on positioning is large. As the automobile is closer to the magnetic sensor, the target magnetic field signal is gradually enhanced, the signal-to-noise ratio is improved, effective magnetic field data is more and more, and the positioning result is gradually improved. It can also be seen from the figure that the time node at which the positioning result is significantly improved occurs at a position approximately 0 in the X direction, when the vehicle is passing across the magnetic sensor, the magnetic field signal is strongest.
Meanwhile, the positioning effect of the automobile passing process twice under different numbers of magnetic dipole array models is compared by using the ACO-LM method, and the result is as follows:
TABLE 2 positioning effect under different models in the first pass
Figure BDA0002885911500000141
In table 2, V is the average velocity between 79s and 80s in the first pass, and Y, Z and α are the Y-direction distance, the Z-direction distance, and the angle with the X-direction when the time is 79.5 s.
TABLE 3 localization effects under different models for the second pass
Figure BDA0002885911500000142
In table 3, V is the average speed between 192.5s and 193.5s in the second pass, and Y, Z and α are the Y-direction distance, the Z-direction distance, and the angle to the X-direction when the time is 193 s.
The ACO-LM method is suitable for different numbers of magnetic dipole array models. By comparison, the positioning results based on the three-dipole model and the five-dipole model are closer to the actual situation (the distance from the center of the automobile to the Y direction of the magnetic sensor is about 3m, the positioning results in the Z direction in the 2-pass process are kept close to each other and about 1.2m), and the deviation of the positioning results based on the single-dipole model is large, which indicates that the positioning accuracy is also influenced by the number of model parameters.
In summary, the invention provides a hybrid algorithm which firstly uses the ACO algorithm to carry out rough solution and then uses the L-M method to carry out fine solution after determining a proper magnetic dipole array model under the condition that the initial position of the magnetic target is unknown, thereby overcoming the defect that the ant colony algorithm is easy to be stuck due to lack of local area fine search capability, and meeting the requirement of the L-M method on high initial value requirement.
Although the embodiments of the present invention have been disclosed in the form of several specific embodiments, and various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention, the embodiments of the present invention are not limited thereto, and any changes that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (7)

1. A magnetic moving target positioning method based on an ant colony and L-M hybrid algorithm is characterized by comprising the following steps:
establishing a receiving magnetic field platform by using a single three-component fluxgate sensor, and acquiring abnormal magnetic field data generated when a magnetic moving target passes through the receiving magnetic field platform;
the method comprises the steps of enabling a magnetic moving target to be equivalent to a magnetic dipole array, establishing a magnetic dipole array model according to the size of the magnetic moving target, and determining a magnetic field generated by the magnetic moving target at a measuring point, the magnetic moment of the magnetic moving target, and a magnetic moving target relational expression of the position relation between the magnetic moving target and the measuring point;
when the magnetic moving target moves at a constant speed, regarding the magnetic moment of the magnetic moving target as an invariant, knowing the magnetic field received at a measuring point, performing least square optimization on the relational expression of the magnetic moving target, and determining a nonlinear equation about the position of the magnetic moving target;
solving a nonlinear equation of the magnetic moving target position by adopting an ant colony optimization algorithm by combining abnormal magnetic field data to obtain a rough solution of the magnetic moving target position;
and taking the rough solution as an initial value, solving a nonlinear equation of the magnetic moving target position by adopting a Levernberg-Marquardt algorithm, and determining an accurate solution of the magnetic moving target position.
2. The ant colony and L-M hybrid algorithm-based magnetic moving object positioning method according to claim 1, wherein the magnetic moving object comprises: an automobile.
3. The ant colony and L-M hybrid algorithm-based magnetic moving object positioning method according to claim 1, wherein the abnormal magnetic field data is: and subtracting the stable geomagnetic field data of the magnetic moving target before the magnetic moving target passes through the receiving magnetic field platform from the magnetic field data of the magnetic moving target when the magnetic moving target passes through the receiving magnetic field platform.
4. The ant colony and L-M hybrid algorithm-based magnetic moving object positioning method according to claim 1, wherein determining the magnetic moving object relation specifically includes:
establishing a coordinate system by taking the center of the magnetic moving target as an origin, wherein the X-axis direction is the longitudinal direction of the magnetic moving target, and the Z-axis is vertically downward; fitting a magnetic moving target by an array of magnetic dipoles evenly distributed on an X axis, wherein the number of the magnetic dipoles is N, the center of the magnetic dipole linear array is positioned at an origin, magnetic moments of the magnetic dipoles in three directions are Mxi, Myi, Mzi, i is 1,2,3 and … N, and a magnetic field generated by the ith magnetic dipole at a measuring point P (X, y and z) is as follows:
Figure FDA0002885911490000021
Figure FDA0002885911490000022
wherein r isiIs the distance from the ith magnetic dipole to the measurement point, (x)i,yi,zi) Is the coordinate position of the ith magnetic dipole;
the magnetic field generated by the magnetic dipole array at the measurement point P (x, y, z) is then:
Figure FDA0002885911490000023
5. the ant colony and L-M hybrid algorithm-based magnetic moving object positioning method according to claim 4, wherein the determining a non-linear equation about the position of the magnetic moving object specifically comprises:
arranging a fluxgate sensor at a measuring point, wherein a Z 'axis of a fluxgate coordinate axis is vertically downward, and an included angle between an X' axis and a target course direction, namely an X axial direction is alpha; assuming that the magnetic moving target does uniform linear motion along the X direction, the speed is v, the sampling interval is DT, and the output (H ') of the fluxgate sensor at the j th time'xj,H'yj,H′zj) With magnetic field (H) of a magnetically moving targetxj,Hyj,Hzj) The relationship of (1) is:
Figure FDA0002885911490000031
wherein, -pi ≦ α ≦ pi, and the parameter α is a fixed value for a magnetic moving target possessing a fixed direction of motion;
when the magnetic moving target passes through the measuring point, the fluxgate samples m times to obtain m groups of three-component magnetic moving target magnetic field data as follows:
Figure FDA0002885911490000032
and (3) establishing a linear equation system of the model by using the m-point sampling data:
H=FM
wherein the content of the first and second substances,
M=(Mx1,Mx2,…,MxN,My1,My2,…,MyN,Mz1,Mz2,…,MzN)T
H=(Hx1,Hx2,…,Hxm,Hy1,Hy2,…,Hym,Hz1,Hz2,…,Hzm)T
Figure FDA0002885911490000033
the non-linear equation for the position of a magnetically moving target is as follows:
Figure FDA0002885911490000034
wherein F is a coefficient matrix related to the position of the magnetic moving target, M is a magnetic field model parameter, H is a magnetic field of the magnetic moving target, and the magnetic moving target function E is a nonlinear function of the positioning parameter (x, y, z, alpha).
6. The ant colony and L-M hybrid algorithm-based magnetic moving object positioning method according to claim 5, wherein the ant colony optimization algorithm comprises:
according to the number of parameters to be solved, the ant colony population is subjected to size setting and iteration frequency setting, and a magnetic motion objective function E determined by a nonlinear equation is used for initializing pheromones;
the ant colony optimization algorithm is an iterative algorithm, and the following operations are executed in each iteration:
a group of ants synchronously or asynchronously move between adjacent states of the nonlinear optimization problem, and the moving direction is selected by using pheromones and heuristic information associated in each state and adopting a state transfer rule to gradually construct a feasible solution of the problem;
updating pheromones locally when each ant constructs solutions;
after all ants complete the construction of the solution, globally updating the pheromone according to the obtained solution;
the iterative process continues until a stop condition is satisfied; among the commonly used stopping conditions are the maximum run time or the maximum number of allowed solutions to be constructed.
7. The ant colony and L-M hybrid algorithm-based magnetic moving object locating method according to claim 1, wherein the levenberg-Marquardt algorithm comprises:
xk+1=xk-[JT(xk)J(xk)+μkI]-1JT(xk)v(xk)
when mu iskAt increase, the Levernberg-Marquardt algorithm approaches the steepest descent method for small learning speeds:
Figure FDA0002885911490000041
when mu iskWhen dropping to 0, the Levernberg-Marquardt algorithm becomes Gaussian-Newton, and F (x) vT(x)v(x)。
CN202110013677.9A 2021-01-06 2021-01-06 Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm Active CN112836784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110013677.9A CN112836784B (en) 2021-01-06 2021-01-06 Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110013677.9A CN112836784B (en) 2021-01-06 2021-01-06 Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm

Publications (2)

Publication Number Publication Date
CN112836784A true CN112836784A (en) 2021-05-25
CN112836784B CN112836784B (en) 2024-04-26

Family

ID=75926395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110013677.9A Active CN112836784B (en) 2021-01-06 2021-01-06 Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm

Country Status (1)

Country Link
CN (1) CN112836784B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115900511A (en) * 2022-10-08 2023-04-04 中国人民解放军国防科技大学 Magnetic dipole target positioning method based on nonlinear separable least square

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5239474A (en) * 1990-11-20 1993-08-24 Hughes Aircraft Company Dipole moment detection and localization
US20090259609A1 (en) * 2008-04-15 2009-10-15 Honeywell International Inc. Method and system for providing a linear signal from a magnetoresistive position sensor
CN108827284A (en) * 2018-03-23 2018-11-16 哈尔滨工程大学 A kind of pair of method for moving double locating magnetic objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5239474A (en) * 1990-11-20 1993-08-24 Hughes Aircraft Company Dipole moment detection and localization
US20090259609A1 (en) * 2008-04-15 2009-10-15 Honeywell International Inc. Method and system for providing a linear signal from a magnetoresistive position sensor
CN108827284A (en) * 2018-03-23 2018-11-16 哈尔滨工程大学 A kind of pair of method for moving double locating magnetic objects

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ZHICHENG YANG ET AL.: "Ferromagnetic Object Localization Based on Improved Triangulating and Ranging", 《IEEE MAGNETICS LETTERS》, vol. 10 *
陈连平等: ""摇摆平台磁探测新方法"", 《水雷战与舰船防护》, vol. 21, no. 4 *
高翔;严胜刚;李斌;: "一种混合算法下单个磁通门定位运动磁性目标研究", 大连理工大学学报, vol. 56, no. 03, 31 May 2016 (2016-05-31) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115900511A (en) * 2022-10-08 2023-04-04 中国人民解放军国防科技大学 Magnetic dipole target positioning method based on nonlinear separable least square
CN115900511B (en) * 2022-10-08 2024-04-19 中国人民解放军国防科技大学 Nonlinear separable least square-based magnetic dipole target positioning method

Also Published As

Publication number Publication date
CN112836784B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN110167138B (en) Station distribution optimization method of passive time difference positioning system based on improved wolf optimization algorithm
CN107526073B (en) Motion multi-station passive time difference and frequency difference combined positioning method
Song et al. Multi-vehicle tracking with road maps and car-following models
CN111948602A (en) Two-dimensional UWB indoor positioning method based on improved Taylor series
CN109579824A (en) A kind of adaptive Kano Meng Te localization method incorporating two-dimensional barcode information
CN106646450A (en) Radar track anti-error correlation method based on distance stepped clustering
CN110333480B (en) Clustering-based single unmanned aerial vehicle multi-target AOA positioning method
JP2016539333A (en) Target positioning method and system
CN109141427A (en) EKF localization method under nlos environment based on distance and angle probabilistic model
Mallick et al. Out-of-sequence measurement processing for tracking ground target using particle filters
CN109885046B (en) Mobile robot positioning and accelerating method based on particle filtering
CN107356932B (en) Laser positioning method for robot
CN115952691A (en) Optimized station distribution method and device of multi-station passive time difference cross joint positioning system
Zhu et al. Mobile robot SLAM algorithm based on improved firefly particle filter
CN112836784A (en) Magnetic moving target positioning method based on ant colony and L-M hybrid algorithm
CN113433828B (en) Multi-robot dynamic target tracking cooperative control method
CN113759313A (en) Time difference/frequency difference positioning method based on chaotic sparrow algorithm
CN116736219B (en) Passive TDOA-FDOA combined positioning and optimizing station arrangement method based on improved particle swarm algorithm
CN116047495B (en) State transformation fusion filtering tracking method for three-coordinate radar
CN111761583A (en) Intelligent robot motion positioning method and system
CN110231619B (en) Radar handover time forecasting method and device based on Enk method
CN115900511B (en) Nonlinear separable least square-based magnetic dipole target positioning method
Tilwari et al. Autonomous 3D UAV localization using taylor series linearized TDOA-based approach with machine learning algorithms
CN114173281B (en) TOA-based positioning system beacon node optimization layout method in indoor NLOS environment
CN113240065B (en) Passive radar station distribution method based on improved particle swarm optimization algorithm

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