Six-degree-of-freedom positioning method and system based on alternating magnetic field
Through the six-degree-of-freedom positioning method based on the alternating magnetic field, the alternating coil and optimization algorithm are used to solve the problems of low positioning accuracy and susceptibility to interference in the prior art, and the effects of high-precision and multi-objective positioning are achieved.
Patent Information
- Application Number
- CN202411078061.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-22
AI Technical Summary
The existing close-range magnetic positioning technology is susceptible to interference from ferromagnetic substances, and the positioning accuracy is not high when the electromagnetic wave frequency is low. The reflectivity of the wave after increasing the frequency is enhanced, making it difficult to achieve high-precision six-degree of freedom positioning.
Using the six-degree-of-freedom positioning method based on the alternating magnetic field, the system space rectangular coordinate system is constructed, and the magnetic field is generated by the alternating coil is used to solve the position and attitude parameters of the magnetic sensor, and the frequency domain characteristics of the alternating magnetic field are used to improve the resistance. Interference capability.
High-precision six-degree-of-freedom positioning is achieved, which avoids interference from ferromagnetic matter, can position multiple targets at the same time, and improves the anti-interference characteristics of electromagnetic positioning by selecting the appropriate magnetic field frequency.
Smart Images

Figure CN118999524A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of short-range magnetic positioning, and in particular to a six-degree-of-freedom positioning method and system based on an alternating magnetic field. Background Art
[0002] As an efficient and fast positioning and tracking method, magnetic field positioning technology has gradually become a research hotspot. There are currently two commonly used positioning principles for short-range magnetic positioning technology:
[0003] One is to use the distribution information of static or quasi-static electromagnetic fields in space, measure the magnetic field strength at one or more places in space through magnetic sensors, and then infer the position and posture information of the target based on a certain algorithm. Since the magnetic permeability of human tissue is similar to that of vacuum, the magnetic field will not be obviously distorted in the human body. This method has the advantages of simultaneous measurement of three-dimensional spatial position and posture, no damage to the human body, no line of sight problem, simple operation, and real-time. The biggest drawback is that it is easily interfered by ferromagnetic materials.
[0004] The other method is to use the reflective properties of electromagnetic waves (radio waves), emit electromagnetic pulses from the transmitter, and then receive the reflected signal at the receiver to determine the position and motion state of the target. This method does not require additional positioning devices to be set up in the object to be measured, but when the frequency of the electromagnetic wave is low, such as short waves, the positioning accuracy is not high; increasing the frequency of the electromagnetic wave will lead to increased reflectivity of the wave. Summary of the invention
[0005] In view of the defects in the prior art, an object of the present invention is to provide a six-degree-of-freedom positioning method and system based on an alternating magnetic field.
[0006] The six-degree-of-freedom positioning method based on an alternating magnetic field provided by the present invention comprises:
[0007] Step 1: Construct the system space rectangular coordinate system OXYZ, record the position of the spatial position P of the magnetic sensor in the system coordinate system as (x, y, z), and then determine the position of the magnetic field of one of the coils in the OXYZ coordinate system, recorded as Q1(x1, y1, z1); establish the coordinate system Q1-X1Y1Z1 with Q1(x1, y1, z1) as the origin, called coordinate system 1; the coordinate system P-xyz with P as the origin is called coordinate system 2;
[0008] The coordinate axes of coordinate system 1 and coordinate system 2 are parallel to the coordinate axes of the world coordinate system;
[0009] P-x1y1z1 takes P as the origin, and the three coordinate axes are the measurement directions of the three-axis magnetic sensor, which is called coordinate system three. Coordinate system three is regarded as the rotation of coordinate system two around point P.
[0010] The position of P in coordinate system 1 is (x-x1, y-y1, z-z1). Substituting into the coil magnetic field analytical model, the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained;
[0011] Step 2: Calculate the theoretical value of the magnetic sensor and obtain the actual measurement value of the magnetic sensor;
[0012] Step 3: Use the optimization algorithm to solve the minimum value of the difference between the theoretical value and the actual measured value, and obtain the position and attitude parameters of the magnetic sensor at P.
[0013] Preferably, the input of the magnetic field analysis model is the spatial position, and the output is the magnetic induction intensity, which is expressed as:
[0014]
[0015] Among them, B x , B y , B z are the magnetic induction intensities in the x, y, and z directions respectively; μ0 is the magnetic permeability in a vacuum, n is the number of turns of the coil, I is the current passing through the coil, R is the resistance of the coil, and r is the radius of the coil;
[0016] The three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained as follows:
[0017]
[0018] in, It represents the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P, and B1x, B1y, and B1z are the components of vector B1 in the x, y, and z directions.
[0019] Preferably, from coordinate system 2 to coordinate system 3, assuming that the pitch angle, roll angle, and yaw angle in the Euler angle of coordinate system 2 are α, β, and γ, then:
[0020] Rotation matrix along the x-axis:
[0021] Rotation matrix along the y axis:
[0022] Rotation matrix along the z-axis:
[0023] From coordinate system 2 to coordinate system 3, first rotate around the z-axis, then around the y-axis, and finally around the x-axis. The final rotation matrix is as follows:
[0024]
[0025] The three-axis magnetic induction intensity of coordinate system three, that is, the theoretical value of the magnetic sensor, is obtained:
[0026]
[0027] in, represents the theoretical value of the magnetic sensor; B1x′, B1y′, and B1z′ represent the components of the theoretically calculated magnetic induction intensity B1 along the three coordinate axes in coordinate system three.
[0028] Preferably, the actual measurement value of the magnetic sensor is:
[0029]
[0030] in, Represents the actual measurement value of the magnetic sensor; B1x”, B1y”, B1z” represent the components of the actually measured magnetic induction intensity B1 along the three coordinate axis directions in coordinate system three.
[0031] Preferably, by constructing the error function: Error1 = |B1x′-B1x″|+|B1y′-B1y″|+|B1z′-B1z″|, when all errors do not exist, Error1 is equal to zero, that is, the posture parameter that satisfies the condition that the theoretical value of the magnetic sensor is equal to the actual measured value of the magnetic sensor is obtained; wherein Error1 represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at a single measurement point in space;
[0032] Analyze the magnetic source coils Q2, Q3, and Q4 respectively, and get Error2, Error3, and Error4;
[0033] make
[0034] Where Error represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at the four measurement points in the space;
[0035] Solve the objective function using an optimization algorithm The minimum value of is obtained, and the position and attitude parameters of the magnetic sensor at P are obtained.
[0036] The six-degree-of-freedom positioning system based on alternating magnetic field provided by the present invention comprises:
[0037] Module M1: Construct the system space rectangular coordinate system OXYZ, record the position of the spatial position P of the magnetic sensor in the system coordinate system as (x, y, z), and then determine the position of the magnetic field of one of the coils in the OXYZ coordinate system, recorded as Q1(x1, y1, z1); establish the coordinate system Q1-X1Y1Z1 with Q1(x1, y1, z1) as the origin, called coordinate system one; the coordinate system P-xyz with P as the origin is called coordinate system two;
[0038] The coordinate axes of coordinate system 1 and coordinate system 2 are parallel to the coordinate axes of the world coordinate system;
[0039] P-x1y1z1 takes P as the origin, and the three coordinate axes are the measurement directions of the three-axis magnetic sensor, which is called coordinate system three. Coordinate system three is regarded as the rotation of coordinate system two around point P.
[0040] The position of P in coordinate system 1 is (x-x1, y-y1, z-z1). Substituting into the coil magnetic field analytical model, the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained;
[0041] Module M2: calculates the theoretical value of the magnetic sensor and obtains the actual measurement value of the magnetic sensor;
[0042] Module M3: Use the optimization algorithm to solve the minimum value of the difference between the theoretical value and the actual measured value, and obtain the position and posture parameters of the magnetic sensor at P.
[0043] Preferably, the input of the magnetic field analysis model is the spatial position, and the output is the magnetic induction intensity, which is expressed as:
[0044]
[0045] Among them, B x , B y , B z are the magnetic induction intensities in the x, y, and z directions respectively; μ0 is the magnetic permeability in a vacuum, n is the number of turns of the coil, I is the current passing through the coil, R is the resistance of the coil, and r is the radius of the coil;
[0046] The three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained as follows:
[0047]
[0048] in, It represents the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P, and B1x, B1y, and B1z are the components of vector B1 in the x, y, and z directions.
[0049] Preferably, from coordinate system 2 to coordinate system 3, assuming that the pitch angle, roll angle, and yaw angle in the Euler angle of coordinate system 2 are α, β, and γ, then:
[0050] Rotation matrix along the x-axis:
[0051] Rotation matrix along the y axis:
[0052] Rotation matrix along the z-axis:
[0053] From coordinate system 2 to coordinate system 3, first rotate around the z-axis, then around the y-axis, and finally around the x-axis. The final rotation matrix is as follows:
[0054]
[0055] The three-axis magnetic induction intensity of coordinate system three, that is, the theoretical value of the magnetic sensor, is obtained:
[0056]
[0057] in, represents the theoretical value of the magnetic sensor; B1x′, B1y′, and B1z′ represent the components of the theoretically calculated magnetic induction intensity B1 along the three coordinate axes in coordinate system three.
[0058] Preferably, the actual measurement value of the magnetic sensor is:
[0059]
[0060] in, Represents the actual measurement value of the magnetic sensor; B1x”, B1y”, B1z” represent the components of the actually measured magnetic induction intensity B1 along the three coordinate axis directions in coordinate system three.
[0061] Preferably, by constructing the error function: Error1 = |B1x′-B1x″|+|B1y′-B1y″|+|B1z′-B1z″|, when all errors do not exist, Error1 is equal to zero, that is, the posture parameter that satisfies the condition that the theoretical value of the magnetic sensor is equal to the actual measured value of the magnetic sensor is obtained; wherein Error1 represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at a single measurement point in space;
[0062] Analyze the magnetic source coils Q2, Q3, and Q4 respectively, and get Error2, Error3, and Error4;
[0063] make
[0064] Where Error represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at the four measurement points in the space;
[0065] Solve the objective function using an optimization algorithm The minimum value of is obtained, and the position and attitude parameters of the magnetic sensor at P are obtained.
[0066] Compared with the prior art, the present invention has the following beneficial effects:
[0067] (1) The present invention proposes a novel six-degree-of-freedom positioning method based on an alternating magnetic field. The magnetic field is generated by alternating coils of different frequencies. By setting the number of alternating magnetic fields, the positioning method can achieve six-degree-of-freedom positioning with higher accuracy.
[0068] (2) Since the object to be measured is fixed together with the magnetic sensor, the addition of magnetic sensors will not affect the magnetic field distribution in the system, so multiple targets can be located simultaneously;
[0069] (3) By utilizing the frequency domain characteristics of the alternating magnetic field, it is not affected by the static magnetic field generated by ferromagnetic materials. In addition, by selecting a suitable magnetic field frequency, the anti-interference characteristics of electromagnetic positioning can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0071] Figure 1 Schematic diagram of the coordinate system established for electromagnetic positioning;
[0072] Figure 2 Comparison diagram of electromagnetic field distribution around the electromagnetic coil magnetic field obtained by finite element simulation, magnetic dipole model, and current-carrying integration module;
[0073] Figure 3 This is the engineering implementation schematic diagram of the six-degree-of-freedom positioning method based on alternating magnetic field. DETAILED DESCRIPTION
[0074] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0075] Example 1
[0076] The present invention proposes a six-degree-of-freedom positioning method based on an alternating magnetic field, and its overall implementation block diagram is as follows: Figure 3 As shown, it includes the following steps:
[0077] (1) Figure 1, construct the system space rectangular coordinate system OXYZ, record the spatial position P of the magnetic sensor in the system coordinate system as (x, y, z), and then determine the position of one of the coils' magnetic field in the OXYZ coordinate system, recorded as Q1(x1, y1, z1). Use Q1(x1, y1, z1) as the origin to establish the coordinate system Q1-X1Y1Z1, called coordinate system one; P-xyz is a coordinate system with P as the origin, called coordinate system two. The coordinate axes of coordinate system one and coordinate system two are parallel to the coordinate axes of the world coordinate system. P-x1y1z1 takes P as the origin, and the three coordinate axes are the measurement directions of the three-axis magnetic sensor, called coordinate system three. Coordinate system three can be regarded as coordinate system two rotated around point P.
[0078] (2) The position of P in coordinate system 1 is (x-x1, y-y1, z-z1), which is substituted into the coil magnetic field analytical model. The magnetic field analytical model refers to a mathematical model that represents the magnetic field distribution through mathematical formulas. The input of the magnetic field analytical model is the spatial position, and the output is the magnetic induction intensity. Here, the magnetic field analytical model of the energized coil is equivalent to the following formula:
[0079]
[0080] Among them, B x , B y , B z are the magnetic induction intensities in the x, y, and z directions respectively; μ0 is the magnetic permeability in a vacuum, n is the number of coil turns, I is the current passing through the coil, R is the coil resistance, and r is the coil radius.
[0081] The three-axis magnetic induction intensity of the magnetic source coil Q1 at point P can be obtained as:
[0082]
[0083] in, represents the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P, B1x, B1y, B1z are the components of vector B1 in the x, y, z directions;
[0084] Common magnetic field models include the magnetic dipole model and the current integral model: the magnetic dipole model is simple and does not require high computing power, but has poor accuracy, and the closer to the magnetic source, the greater the calculation deviation, which is suitable for situations with high requirements for positioning time; the current integral model has higher calculation accuracy, but requires higher computing power, and is suitable for situations with high requirements for positioning accuracy. The comparison of the two models and the magnetic field distribution obtained by finite element simulation is shown in the attached figure. Figure 2 .
[0085] (3) From coordinate system 2 to coordinate system 3, assume that the pitch angle (pitch), roll angle (roll), and yaw angle (yaw) in the Euler angle of coordinate system 2 are α, β, and γ. The following formula is used:
[0086] Rotation matrix along the x-axis:
[0087] Rotation matrix along the y axis:
[0088] Rotation matrix along the z-axis:
[0089] From coordinate system 2 to coordinate system 3, first rotate around the z-axis, then around the y-axis, and finally around the x-axis. The final rotation matrix is as follows:
[0090]
[0091] The three-axis magnetic induction intensity of coordinate system three, that is, the theoretical value of the magnetic sensor, can be obtained:
[0092]
[0093] in, represents the theoretical value of the magnetic sensor; B1x′, B1y′, B1z′ represent the components of the theoretically calculated magnetic induction intensity B1 along the three coordinate axes in coordinate system three;
[0094] (4) The actual measurement value of the magnetic sensor is:
[0095] in, Represents the actual measurement value of the magnetic sensor; B1x”, B1y”, B1z” represent the components of the actually measured magnetic induction intensity B1 along the three coordinate axis directions in coordinate system three.
[0096] Without considering the interference of magnetic sensor measurement error and external magnetic noise, theoretically, the theoretical value of the magnetic sensor is equal to the actual measurement value of the magnetic sensor.
[0097] By constructing the error function: Error1 = |B1x′-B1x″|+|B1y′-B1y″|+B1z′-B1z″|, when all errors do not exist, Error1 is set equal to zero, that is, the posture parameters that satisfy the condition that the theoretical value of the magnetic sensor is equal to the actual measurement value of the magnetic sensor are obtained.
[0098] Among them, Error1 represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at a single measurement point in space.
[0099] (5) Similarly, by analyzing the magnetic source coils Q2, Q3, and Q4 respectively, we can obtain Error2, Error3, and Error4.
[0100] make
[0101] Wherein, Error represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at the four measurement points in the space.
[0102] (6) Solve the objective function using the optimization algorithm The minimum value of can be obtained, that is, the position and posture parameters of the magnetic sensor at P can be obtained. The optimization algorithm refers to a method for obtaining the minimum or maximum value of the objective function under certain limited conditions. The solution of the equation group is obtained by continuous interpolation and iterative calculation. The optimization algorithms that can be used in the present invention include simplex method, particle swarm algorithm, and ant colony algorithm.
[0103] Example 2
[0104] The present invention also provides a six-degree-of-freedom positioning system based on an alternating magnetic field. The six-degree-of-freedom positioning system based on an alternating magnetic field can be realized by executing the process steps of the six-degree-of-freedom positioning method based on an alternating magnetic field, that is, those skilled in the art can understand the six-degree-of-freedom positioning method based on an alternating magnetic field as a preferred implementation of the six-degree-of-freedom positioning system based on an alternating magnetic field.
[0105] The six-degree-of-freedom positioning system based on alternating magnetic field provided by the present invention comprises:
[0106] Module M1: Construct the system space rectangular coordinate system OXYZ, record the position of the spatial position P of the magnetic sensor in the system coordinate system as (x, y, z), and then determine the position of the magnetic field of one of the coils in the OXYZ coordinate system, recorded as Q1(x1, y1, z1); establish the coordinate system Q1-X1Y1Z1 with Q1(x1, y1, z1) as the origin, called coordinate system one; the coordinate system P-xyz with P as the origin is called coordinate system two;
[0107] The coordinate axes of coordinate system 1 and coordinate system 2 are parallel to the coordinate axes of the world coordinate system;
[0108] P-x1y1z1 takes P as the origin, and the three coordinate axes are the measurement directions of the three-axis magnetic sensor, which is called coordinate system three. Coordinate system three is regarded as the rotation of coordinate system two around point P.
[0109] The position of P in coordinate system 1 is (x-x1, y-y1, z-z1). Substituting into the coil magnetic field analytical model, the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained;
[0110] Module M2: calculates the theoretical value of the magnetic sensor and obtains the actual measurement value of the magnetic sensor;
[0111] Module M3: Use the optimization algorithm to solve the minimum value of the difference between the theoretical value and the actual measured value, and obtain the position and posture parameters of the magnetic sensor at P.
[0112] The input of the magnetic field analysis model is the spatial position, and the output is the magnetic induction intensity, which is expressed as:
[0113]
[0114] Among them, B x , B y , B z are the magnetic induction intensities in the x, y, and z directions respectively; μ0 is the magnetic permeability in a vacuum, n is the number of turns of the coil, I is the current passing through the coil, R is the resistance of the coil, and r is the radius of the coil;
[0115] The three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained as follows:
[0116]
[0117] in, It represents the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P, and B1x, B1y, and B1z are the components of vector B1 in the x, y, and z directions.
[0118] From coordinate system 2 to coordinate system 3, let the pitch angle, roll angle, and yaw angle in the Euler angle of coordinate system 2 be α, β, and γ, then:
[0119] Rotation matrix along the x-axis:
[0120] Rotation matrix along the y axis:
[0121] Rotation matrix along the z-axis:
[0122] From coordinate system 2 to coordinate system 3, first rotate around the z-axis, then around the y-axis, and finally around the x-axis. The final rotation matrix is as follows:
[0123]
[0124]
[0125] The three-axis magnetic induction intensity of coordinate system three, that is, the theoretical value of the magnetic sensor, is obtained:
[0126]
[0127] in, represents the theoretical value of the magnetic sensor; B1x′, B1y′, and B1z′ represent the components of the theoretically calculated magnetic induction intensity B1 along the three coordinate axes in coordinate system three.
[0128] The actual measured value of the magnetic sensor is:
[0129]
[0130] in, Represents the actual measurement value of the magnetic sensor; B1x”, B1y”, B1z” represent the components of the actually measured magnetic induction intensity B1 along the three coordinate axis directions in coordinate system three.
[0131] By constructing the error function: Error1 = |B1x′-B1x″|+|B1y′-B1y″|+B1z′-B1z″|, when all errors do not exist, Error1 is equal to zero, that is, the posture parameter that satisfies the condition that the theoretical value of the magnetic sensor is equal to the actual measured value of the magnetic sensor is obtained; wherein Error1 represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at a single measurement point in space;
[0132] Analyze the magnetic source coils Q2, Q3, and Q4 respectively, and get Error2, Error3, and Error4;
[0133] make
[0134] Where Error represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at the four measurement points in the space;
[0135] Solve the objective function using an optimization algorithm The minimum value of is obtained, and the position and attitude parameters of the magnetic sensor at P are obtained.
[0136] Those skilled in the art know that, in addition to implementing the system, device and its various modules provided by the present invention in a purely computer-readable program code, it is entirely possible to implement the same program in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, the system, device and its various modules provided by the present invention can be considered as a hardware component, and the modules included therein for implementing various programs can also be considered as structures within the hardware component; the modules for implementing various functions can also be considered as both software programs for implementing the method and structures within the hardware component.
[0137] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A six-degree-of-freedom positioning method based on an alternating magnetic field, characterized in that: include: Step 1: Construct the system space rectangular coordinate system OXYZ, record the position of the spatial position P of the magnetic sensor in the system coordinate system as (x, y, z), and then determine the position of the magnetic field of one of the coils in the OXYZ coordinate system, recorded as Q1(x1, y1, z1); establish the coordinate system Q1-X1Y1Z1 with Q1(x1, y1, z1) as the origin, called coordinate system 1; the coordinate system P-xyz with P as the origin is called coordinate system 2; The coordinate axes of coordinate system 1 and coordinate system 2 are parallel to the coordinate axes of the world coordinate system; P-x1y1z1 takes P as the origin, and the three coordinate axes are the measurement directions of the three-axis magnetic sensor, which is called coordinate system three. Coordinate system three is regarded as the rotation of coordinate system two around point P. The position of P in coordinate system 1 is (x-x1, y-y1, z-z1). Substituting into the coil magnetic field analytical model, the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained; Step 2: Calculate the theoretical value of the magnetic sensor and obtain the actual measurement value of the magnetic sensor; Step 3: Use the optimization algorithm to solve the minimum value of the difference between the theoretical value and the actual measured value, and obtain the position and attitude parameters of the magnetic sensor at P.
2. The six-degree-of-freedom positioning method based on alternating magnetic field according to claim 1, characterized in that: The input of the magnetic field analysis model is the spatial position, and the output is the magnetic induction intensity, which is expressed as: Among them, B x , B y , B z are the magnetic induction intensities in the x, y, and z directions respectively; μ0 is the magnetic permeability in a vacuum, n is the number of turns of the coil, I is the current passing through the coil, R is the resistance of the coil, and r is the radius of the coil; The three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained as follows: in, It represents the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P, and B1x, B1y, and B1z are the components of vector B1 in the x, y, and z directions.
3. The six-degree-of-freedom positioning method based on alternating magnetic field according to claim 2, characterized in that: From coordinate system 2 to coordinate system 3, let the pitch angle, roll angle, and yaw angle in the Euler angle of coordinate system 2 be α, β, and γ, then: Rotation matrix along the x-axis: Rotation matrix along the y axis: Rotation matrix along the z-axis: From coordinate system 2 to coordinate system 3, first rotate around the z-axis, then around the y-axis, and finally around the x-axis. The final rotation matrix is as follows: The three-axis magnetic induction intensity of coordinate system three, that is, the theoretical value of the magnetic sensor, is obtained: in, represents the theoretical value of the magnetic sensor; B1x′, B1y′, and B1z′ represent the components of the theoretically calculated magnetic induction intensity B1 along the three coordinate axes in coordinate system three.
4. The six-degree-of-freedom positioning method based on alternating magnetic field according to claim 3, characterized in that: The actual measured value of the magnetic sensor is: in, Represents the actual measurement value of the magnetic sensor; B1x”, B1y”, B1z” represent the components of the actually measured magnetic induction intensity B1 along the three coordinate axis directions in coordinate system three.
5. The six-degree-of-freedom positioning method based on alternating magnetic field according to claim 4, characterized in that: By constructing the error function: Error1 = |B1x′-B1x″|+|B1y′-B1y″|+|B1z′-B1z″|, when all errors do not exist, Error1 is equal to zero, that is, the posture parameter that satisfies the condition that the theoretical value of the magnetic sensor is equal to the actual measured value of the magnetic sensor is obtained; wherein Error1 represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at a single measurement point in space; Analyze the magnetic source coils Q2, Q3, and Q4 respectively, and get Error2, Error3, and Error4; make Where Error represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at the four measurement points in the space; Solve the objective function using an optimization algorithm The minimum value of is obtained, and the position and attitude parameters of the magnetic sensor at P are obtained.
6. A six-degree-of-freedom positioning system based on an alternating magnetic field, characterized in that: include: Module M1: Construct the system space rectangular coordinate system OXYZ, record the position of the spatial position P of the magnetic sensor in the system coordinate system as (x, y, z), and then determine the position of the magnetic field of one of the coils in the OXYZ coordinate system, recorded as Q1(x1, y1, z1); establish the coordinate system Q1-X1Y1Z1 with Q1(x1, y1, z1) as the origin, called coordinate system one; the coordinate system P-xyz with P as the origin is called coordinate system two; The coordinate axes of coordinate system 1 and coordinate system 2 are parallel to the coordinate axes of the world coordinate system; P-x1y1z1 takes P as the origin, and the three coordinate axes are the measurement directions of the three-axis magnetic sensor, which is called coordinate system three. Coordinate system three is regarded as the rotation of coordinate system two around point P. The position of P in coordinate system 1 is (x-x1, y-y1, z-z1). Substituting into the coil magnetic field analytical model, the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained; Module M2: calculates the theoretical value of the magnetic sensor and obtains the actual measurement value of the magnetic sensor; Module M3: Use the optimization algorithm to solve the minimum value of the difference between the theoretical value and the actual measured value, and obtain the position and posture parameters of the magnetic sensor at P.
7. The six-degree-of-freedom positioning system based on alternating magnetic field according to claim 6, characterized in that: The input of the magnetic field analysis model is the spatial position, and the output is the magnetic induction intensity, which is expressed as: Among them, B x , B y , B z are the magnetic induction intensities in the x, y, and z directions respectively; μ0 is the magnetic permeability in a vacuum, n is the number of turns of the coil, I is the current passing through the coil, R is the resistance of the coil, and r is the radius of the coil; The three-axis magnetic induction intensity of the magnetic source coil Q1 at point P is obtained as follows: in, It represents the three-axis magnetic induction intensity of the magnetic source coil Q1 at point P, and B1x, B1y, and B1z are the components of vector B1 in the x, y, and z directions.
8. The six-degree-of-freedom positioning system based on alternating magnetic field according to claim 7, characterized in that: From coordinate system 2 to coordinate system 3, let the pitch angle, roll angle, and yaw angle in the Euler angle of coordinate system 2 be α, β, and γ, then: Rotation matrix along the x-axis: Rotation matrix along the y axis: Rotation matrix along the z-axis: From coordinate system 2 to coordinate system 3, first rotate around the z-axis, then around the y-axis, and finally around the x-axis. The final rotation matrix is as follows: The three-axis magnetic induction intensity of coordinate system three, that is, the theoretical value of the magnetic sensor, is obtained: in, represents the theoretical value of the magnetic sensor; B1x′, B1y′, and B1z′ represent the components of the theoretically calculated magnetic induction intensity B1 along the three coordinate axes in coordinate system three.
9. The six-degree-of-freedom positioning system based on alternating magnetic field according to claim 8, characterized in that: The actual measured value of the magnetic sensor is: in, Represents the actual measurement value of the magnetic sensor; B1x”, B1y”, B1z” represent the components of the actually measured magnetic induction intensity B1 along the three coordinate axis directions in coordinate system three.
10. The six-degree-of-freedom positioning system based on alternating magnetic field according to claim 9, characterized in that: By constructing the error function: Error1 = |B1x′-B1x″|+|B1y′-B1y″|+|B1z′-B1z″|, when all errors do not exist, Error1 is equal to zero, that is, the posture parameter that satisfies the condition that the theoretical value of the magnetic sensor is equal to the actual measured value of the magnetic sensor is obtained; wherein Error1 represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at a single measurement point in space; Analyze the magnetic source coils Q2, Q3, and Q4 respectively, and get Error2, Error3, and Error4; make Where Error represents the difference between the theoretically calculated magnetic induction intensity and the actually measured magnetic induction intensity at the four measurement points in the space; Solve the objective function using an optimization algorithm The minimum value of is obtained, and the position and attitude parameters of the magnetic sensor at P are obtained.
Citation Information
Cited By
Iterative least square artificial magnetic field positioning method and device not influenced by attitude
CN119413183A
Magnetic field generator calibration method of medical electromagnetic positioning system
CN119596219A
