Aeromagnetic detection-oriented unmanned aerial vehicle path planning algorithm
By installing a total field magnetometer and a magnetic compensator on the UAV, combined with the data from the attitude meter, high-precision aeromagnetic detection of the UAV is achieved, which solves the installation problems caused by the small load and improves data accuracy and flight control. efficiency.
Patent Information
- Application Number
- CN202410682506.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Due to the small load capacity of UAVs during aeromagnetic detection, it is difficult to install a three-component magnetometer, making it difficult to guarantee data accuracy.
An aeromagnetic detection system is designed. By installing a total field magnetometer at the rear of the tail of a fixed-wing UAV, and setting a magnetic compensator on the belly of the fuselage, the aircraft attitude data is obtained in real time by using the attitude instrument, and the sliding mean value is used to obtain the aircraft attitude data in real time. Filtering and aeromagnetic compensation realize aeromagnetic detection and avoid the need to install a three-component magnetometer.
It achieves high-precision aeromagnetic detection on UAVs, overcomes installation problems caused by small load capacity, and improves data accuracy and flight control module efficiency.
Smart Images

Figure CN118565480A
Abstract
Description
Technical Field The present invention relates to UAV technology, and in particular to a UAV path planning algorithm for aeromagnetic detection. Background Art During the aeromagnetic detection process, it is necessary to obtain the aircraft's attitude information and the magnitude of the magnetic field interference introduced by the aircraft's current attitude. Generally speaking, the aircraft's attitude information can be obtained by measuring the magnetic field vector value through a three-component magnetometer, and the interference magnitude of this attitude can be obtained by measuring the scalar value of the magnetic field through a total field magnetometer. In order to ensure the highest possible data accuracy during the measurement process, the probes of the three-component magnetometer and the total field magnetometer need to be placed in front of the aircraft's nose, behind the tail, or at the wing tip. For manned aircraft, it is easy to modify the aircraft space, but for unmanned aerial vehicles, the drone’s own load capacity is not as good as that of manned aircraft, and the modification is difficult. Summary of the invention A brief overview of the present invention is provided below in order to provide a basic understanding of certain aspects of the present invention. It should be understood that this overview is not an exhaustive overview of the present invention. It is not intended to identify key or important parts of the present invention, nor is it intended to limit the scope of the present invention. Its purpose is merely to present certain concepts in a simplified form as a prelude to a more detailed description discussed later. In view of this, the present invention provides a UAV path planning algorithm for aeromagnetic detection, so as to at least solve the problem that it is difficult to install equipment such as a three-component magnetometer due to the small load capacity of the UAV itself. According to one aspect of the present invention, an aeromagnetic detection system is provided, which includes a fixed-wing UAV body, a total field magnetometer, a magnetic compensator, a trigger unit and a heading and attitude indicator, wherein the total field magnetometer, the magnetic compensator and the heading and attitude indicator are respectively arranged on the fixed-wing UAV body; the heading and attitude indicator is suitable for acquiring the aircraft attitude data of the fixed-wing UAV body in real time; the trigger unit is suitable for triggering the total field magnetometer to perform frequency counting after detecting an external trigger pulse, and simultaneously triggering the magnetic compensator to read the current aircraft attitude data from the heading and attitude indicator; the total field magnetometer is suitable for converting the frequency value obtained by frequency counting into a magnetic field value, and sending it to the magnetic compensator as the current total magnetic field data; the magnetic compensator is suitable for performing sliding mean filtering on the read current aircraft attitude data, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering. Furthermore, the total field magnetometer is installed at the rear of the tail of the fixed-wing UAV body, and the magnetic compensator is arranged on the belly of the fuselage of the fixed-wing UAV body. Furthermore, the baud rate is set to 115200. Furthermore, the magnetic compensator is suitable for performing aeromagnetic compensation according to the following process: Assume that the geomagnetic field H at any time earthThe angles between the three axes x, y and z of the fixed-wing UAV body are α, β and γ respectively, and c x 、c y and c z Denote the direction cosines of α, β and γ respectively, so that and Assume the aircraft interference field is H d , H d Divided into constant field H con , induction field H induce and eddy current field H vortex ; Let the constant field coefficient be p i (i=1,2,3), then: Assume the induction field coefficient a ij (i=1,2,3;j=1,2,3), then we get Assume the eddy current field coefficient is b ij (i=1,2,3;j=1,2,3), then we get Assume the total field measured by the magnetometer is H total ,but During the calibration process, the aircraft was at an altitude of 3–4 km. Assuming that the geomagnetic field H earth If it remains unchanged, but: The formula (a 11 +1)H earth 、(a 22 +1)H earth (a 33 +1)H earth 、(a 12 +a 21 )H earth 、(a 13 +a 31 )H earth 、(a 23 +a 32 )H earth Denoted as At the same time, b ij H earth (i=1,2,3;j=1,2,3) is denoted as, then: Among them, δ represents the row vector composed of direction cosines and their derivatives, and x is the row vector composed of unknown aeromagnetic interference compensation coefficients, that is: According to Htotal =δ T θ obtains the following system of equations, which is used to estimate the value of the row vector composed of unknown coefficients: H = Α T θ; where θ includes 18 unknown coefficients, Α is an n×18 matrix, and H is an n×1 column vector; the following linear equations are obtained: That is, Α=(δ1δ2…δ n ), where δ i (i=1,2,3…n) is the row vector composed of the direction cosines and their derivatives obtained by the i-th sampling, H total (i) is the total field magnetometer output value obtained by sampling for the i-th time, and n is the number of acquisitions; the filter with a passband of 0.06-1.0 Hz is called BPF, and the linear equations are band-pass filtered: BPF(H)=BPF(Α T )θ; wherein, BPF(H) represents the use of a filter to perform bandpass filtering on the total field column vector, BPF(Α T ) indicates that each column of the direction cosine matrix is band-pass filtered by a filter; the row vector θ formed by the unknown aeromagnetic interference compensation coefficients in the filtered linear equations is estimated, and the estimated value of the row vector θ formed by the unknown aeromagnetic interference compensation coefficients is obtained by the recursive least squares method. In actual aeromagnetic measurement, the value of the magnetic interference generated by the aircraft is H d Calculated according to the following formula: The effective value without aircraft magnetic interference is as follows: H E =H total -H d . According to another aspect of the present invention, a magnetic detection method is also provided, which is implemented by an aeromagnetic detection system, wherein the aeromagnetic detection system includes a fixed-wing UAV body, a total field magnetometer, a magnetic compensator, a trigger unit and a heading and attitude instrument; the total field magnetometer, the magnetic compensator and the heading and attitude instrument are respectively arranged on the fixed-wing UAV body; the heading and attitude instrument is suitable for acquiring the aircraft attitude data of the fixed-wing UAV body in real time; the aeromagnetic detection method includes: when the trigger unit detects an external trigger pulse, triggering the total field magnetometer to perform frequency counting, and simultaneously triggering the magnetic compensator to read the current aircraft attitude data from the heading and attitude instrument; converting the frequency value obtained by frequency counting into a magnetic field value by the total field magnetometer, and sending it to the magnetic compensator as the current total magnetic field data; performing sliding mean filtering on the read current aircraft attitude data by the magnetic compensator, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering. Furthermore, the total field magnetometer is installed at the rear of the tail of the fixed-wing UAV body, and the magnetic compensator is arranged on the belly of the fuselage of the fixed-wing UAV body. Furthermore, the baud rate is set to 115200. Furthermore, the step of performing aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering includes: Assume that the Earth's magnetic field H at any time earth The angles between the three axes x, y and z of the fixed-wing UAV body are α, β and γ respectively, and c x 、c y and c z Denote the direction cosines of α, β and γ respectively, so that and Assume the aircraft interference field is H d , H d Divided into constant field H con , induction field H induce and eddy current field H vortex ; Assume the constant field coefficient is p i (i=1,2,3), then: Assume the induction field coefficient a ij (i=1,2,3;j=1,2,3), then we get Assume the eddy current field coefficient is b ij (i=1,2,3;j=1,2,3), then we get Assume the total field measured by the magnetometer is H total ,but Assume that the Earth's magnetic field H earth If it remains unchanged, but: The formula (a 11 +1)H earth 、(a 22 +1)H earth (a 33 +1)H earth 、(a 12 +a 21 )Hearth 、(a 13 +a 31 )H earth 、(a 23 +a 32 )H earth Denoted as At the same time, b ij H earth (i=1,2,3;j=1,2,3) is denoted as, then, Among them, δ represents the row vector composed of direction cosines and their derivatives, and x is the row vector composed of unknown aeromagnetic interference compensation coefficients, that is: According to H total =δ T θ obtains the following system of equations, which is used to estimate the value of the row vector composed of unknown coefficients: H=Α T θ Among them, θ includes 18 unknown coefficients, Α is an n×18 matrix, and H is an n×1 column vector; the following linear equations are obtained: Right now Α=(δ1δ2…δ n ) Among them, δ i (i=1,2,3…n) is the row vector composed of the direction cosines and their derivatives obtained by the i-th sampling, H total (i) is the total field magnetometer output value obtained by sampling at the i-th time, and n is the number of acquisitions; Let the filter with a passband of 0.06-1.0Hz be BPF, and then perform bandpass filtering on the linear equations: BPF(H) = BPF(Α T )θ Wherein, BPF(H) represents the use of a filter to perform bandpass filtering on the total field column vector, and BPF(Α T ) indicates that each column of the direction cosine matrix is bandpass filtered using a filter; The row vector θ of the unknown aeromagnetic interference compensation coefficients in the filtered linear equations is estimated, and the estimated value of the row vector θ of the unknown aeromagnetic interference compensation coefficients is obtained by using the recursive least squares method. In actual aeromagnetic measurement, the value of the magnetic interference generated by the aircraft is H d Calculated according to the following formula: The effective value without aircraft magnetic interference is obtained as follows: H E=H total -H d . Furthermore, the method also includes: obtaining multiple calibration data of the aircraft during the FOM calibration process as multiple training data, wherein each training data includes two components along the X-axis and Y-axis of the Cartesian coordinate system in the three-component data collected by the three-axis fluxgate magnetometer carried by the aircraft during the FOM calibration process; wherein the FOM calibration process includes 4 orthogonal headings; wherein the aircraft is the fixed-wing UAV body, and the aircraft is equipped with the three-axis fluxgate magnetometer; randomly generating 4 centroids as the initial centroids of each of the 4 orthogonal headings; for each training data, classifying the training data to obtain the heading type to which the training data belongs, and using the training data to recalculate the centroid corresponding to the heading type to which it belongs; obtaining multiple operation data to be processed, wherein each The operation data includes two components along the X-axis and Y-axis of the Cartesian coordinate system in the three-component data collected by the three-axis fluxgate magnetometer carried by the aircraft in the actual sortie operation; each operation data is classified in turn according to the sampling order of the operation data, and multiple operation data continuously classified into the same heading type are used as the same section of operation data under the heading type; for each section of operation data of each heading type, the distance between each operation data in the section of operation data and the center of mass corresponding to the heading type is used to form a distance vector of the section of operation data according to the sampling order, and the first minimum point and the last minimum point appearing in the distance vector are used as the starting point and the end point of the section of operation data, respectively, so as to shorten the section of operation data to the data section corresponding to the first minimum point to the last minimum point. Furthermore, each training data is classified in the following manner to obtain the heading type to which the training data belongs: the distance between the training data and each of the current four centroids is calculated, and the heading type corresponding to the centroid among the four centroids that has the smallest distance from the training data is determined as the heading type to which the training data belongs. Compared with manned aircraft, drones must have autonomous flight functions, so the drone flight control needs to know the attitude information of the drone. Therefore, during the drone aeromagnetic detection process, the flight control module itself can obtain the attitude information of the aircraft, and the aircraft is equipped with a three-component magnetometer, which is a waste of space for the drone. In contrast, the aeromagnetic detection system and method of the present invention, by installing a total field magnetometer at the rear of the tail of the fixed-wing drone body, and setting a magnetic compensator on the belly of the fuselage of the fixed-wing drone body, sends the flight control attitude data of the flight control module and the total magnetic field data of the total field magnetometer to the magnetic compensator for sliding mean filtering and aeromagnetic compensation, thereby realizing aeromagnetic detection based on fixed-wing drones without installing a three-component magnetometer, thereby overcoming the shortcomings of the prior art. These and other advantages of the present invention will become more apparent through the following detailed description of the best embodiments of the present invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The present invention may be better understood by referring to the following description given in conjunction with the accompanying drawings, wherein the same or similar reference numerals are used throughout the drawings to represent the same or similar components. The accompanying drawings, together with the following detailed description, are included in and form a part of this specification and are used to further illustrate the preferred embodiments of the present invention and to explain the principles and advantages of the present invention. In the drawings: Figure 1 is a block diagram schematically showing an example of the aeromagnetic detection system of the present invention; Figure 2 is a bottom view schematically showing the appearance of the aeromagnetic detection system of the present invention; Figure 3 is a flow chart showing an exemplary process of the aeromagnetic detection method of the present invention; Figure 4 is a schematic diagram showing a body coordinate system; Figure 5 is a schematic diagram showing a FOM calibration flight; Figure 6 is a (x,y) point distribution diagram showing different headings; Figure 7 It is a diagram showing the distance from a piece of data to its centroid. Those skilled in the art will appreciate that the elements in the drawings are shown only for simplicity and clarity and are not necessarily drawn to scale. For example, the size of some elements in the drawings may be enlarged relative to other elements to help improve the understanding of the embodiments of the present invention. DETAILED DESCRIPTION Exemplary embodiments of the present invention will be described below in conjunction with the accompanying drawings. For the sake of clarity and conciseness, not all features of actual implementations are described in the specification. However, it should be understood that many implementation-specific decisions must be made in the process of developing any such actual implementation in order to achieve the developer's specific goals, such as meeting those constraints related to the system and business, and these constraints may vary from implementation to implementation. In addition, it should be understood that although the development work may be very complex and time-consuming, it is only a routine task for those skilled in the art who benefit from the present disclosure. It is also necessary to explain here that, in order to avoid obscuring the present invention due to unnecessary details, only the device structure and / or processing steps closely related to the scheme according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted. An embodiment of the present invention provides an aeromagnetic detection system, which includes a fixed-wing unmanned aerial vehicle body, a total field magnetometer, a magnetic compensator, a trigger unit and a heading and attitude indicator, wherein the total field magnetometer, the magnetic compensator and the heading and attitude indicator are respectively arranged on the fixed-wing unmanned aerial vehicle body; the heading and attitude indicator is suitable for obtaining the aircraft attitude data of the fixed-wing unmanned aerial vehicle body in real time; the trigger unit is suitable for triggering the total field magnetometer to perform frequency counting after detecting an external trigger pulse, and simultaneously triggering the magnetic compensator to read the current aircraft attitude data from the heading and attitude indicator; the total field magnetometer is suitable for converting the frequency value obtained by frequency counting into a magnetic field value, and sending it to the magnetic compensator as the current total magnetic field data; the magnetic compensator is suitable for performing sliding mean filtering on the read current aircraft attitude data, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering. Figure 1 A structural block diagram of an example of the aeromagnetic detection system of the present invention is given. Figure 2 An example of the aeromagnetic detection system viewed from the bottom up, i.e., a bottom view, is given. like Figure 1 As shown, the aeromagnetic detection system includes a fixed-wing UAV body 1, a total field magnetometer 2, a magnetic compensator 3, a trigger unit 4 and an attitude indicator 5. The total field magnetometer 2, the magnetic compensator 3 and the heading and attitude indicator 5 are respectively arranged on the fixed-wing UAV body 1. The attitude data output end of the attitude instrument 5 is connected to the attitude data input end of the magnetic compensator 3 to send the aircraft attitude data of the fixed-wing UAV body 1 obtained in real time by the attitude instrument 5 to the magnetic compensator 3; the total magnetic field data output end of the total field magnetometer 2 is connected to the total magnetic field data input end of the magnetic compensator 3 to send the total magnetic field data of the total field magnetometer 2 to the magnetic compensator 3. The trigger unit 4 is adapted to trigger the total field magnetometer 2 to perform frequency counting and simultaneously trigger the magnetic compensator 3 to read the current aircraft attitude data from the attitude indicator 5 after detecting an external trigger pulse. The total field magnetometer 2 is suitable for converting the frequency value obtained by frequency counting into a magnetic field value, and sending it to the magnetic compensator 3 as the current total magnetic field data. The magnetic compensator 3 is suitable for performing sliding mean filtering on the read current aircraft attitude data, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering. According to an embodiment of the present invention, the total field magnetometer 2 can be installed at the rear of the tail of the fixed-wing UAV body 1, and the magnetic compensator 3 can be arranged at the belly of the fuselage of the fixed-wing UAV body 1, for example. According to an embodiment of the present invention, the baud rate of the serial communication is set to 115200, for example. According to an embodiment of the present invention, the magnetic compensator 3 performs aeromagnetic compensation according to the following process, for example: Assume that the Earth's magnetic field H at any time earth The angles between the three axes x, y and z of the fixed-wing UAV body (1) are α, β and γ respectively, and c x 、c y and c z Denote the direction cosines of α, β and γ respectively, so that and Assume the aircraft interference field is H d , H d Divided into constant field H con , induction field H induce and eddy current field H vortex ; Assume the constant field coefficient is k i (i=1,2,3), then: Assume the induction field coefficient a ij (i=1,2,3;j=1,2,3), then we get Assume the eddy current field coefficient is b ij (i=1,2,3;j=1,2,3), then we get Assume the total field measured by the magnetometer is H total ,but During the calibration process, the aircraft was at an altitude of 3–4 km. Assuming that the geomagnetic field H earth If it remains unchanged, but: The formula (a 11 +1)H earth 、(a 22 +1)H earth (a 33 +1)H earth 、(a 12 +a 21 )H earth 、(a 13 +a 31 )H earth 、(a 23 +a 32 )H earth Denoted as At the same time, bij H earth (i=1,2,3;j=1,2,3) is recorded as but: Among them, δ represents the row vector composed of direction cosines and their derivatives, and x is the row vector composed of unknown aeromagnetic interference compensation coefficients, that is: According to H total =δ T θ obtains the following system of equations, which is used to estimate the value of the row vector composed of unknown coefficients: H=Α T θ Among them, θ includes 18 unknown coefficients, Α is an n×18 matrix, and H is an n×1 column vector; the following linear equations are obtained: Right now Α=(δ1δ2…δ n ) Among them, δ i (i=1,2,3…n) is the row vector composed of the direction cosines and their derivatives obtained by the i-th sampling, H total (i) is the total field magnetometer output value obtained by sampling at the i-th time, and n is the number of acquisitions; Let the filter with a passband of 0.06-1.0Hz be BPF, and then perform bandpass filtering on the linear equations: BPF(H) = BPF(Α T )θ Wherein, BPF(H) represents the use of a filter to perform bandpass filtering on the total field column vector, and BPF(Α T ) indicates that each column of the direction cosine matrix is bandpass filtered using a filter; The row vector θ of the unknown aeromagnetic interference compensation coefficients in the filtered linear equations is estimated, and the estimated value of the row vector θ of the unknown aeromagnetic interference compensation coefficients is obtained by using the recursive least squares method. In actual aeromagnetic measurement, the value of the magnetic interference generated by the aircraft is H d Calculated according to the following formula: H,=Ab: The effective value without aircraft magnetic interference is obtained as follows: H E =H total -H d . An embodiment of the present invention also provides an aeromagnetic detection method, which is implemented by an aeromagnetic detection system, wherein the aeromagnetic detection system includes a fixed-wing UAV body, a total field magnetometer, a magnetic compensator, a trigger unit and a heading and attitude indicator; the total field magnetometer, the magnetic compensator and the heading and attitude indicator are respectively arranged on the fixed-wing UAV body; the heading and attitude indicator is suitable for acquiring the aircraft attitude data of the fixed-wing UAV body in real time; the aeromagnetic detection method includes: when the trigger unit detects an external trigger pulse, triggering the total field magnetometer to perform frequency counting, and simultaneously triggering the magnetic compensator to read the current aircraft attitude data from the heading and attitude indicator; converting the frequency value obtained by frequency counting into a magnetic field value by the total field magnetometer, and sending it to the magnetic compensator as the current total magnetic field data; performing sliding mean filtering on the read current aircraft attitude data by the magnetic compensator, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering. Figure 3 The following is a schematic diagram showing an exemplary process flow chart of the aeromagnetic detection method of the present invention. The aeromagnetic detection system in the method can be, for example, a combination of the above Figure 1 and Figure 2 The aeromagnetic detection system described above has the same structure and can achieve similar functions and effects, so it will not be repeated here. like Figure 3 As shown, in step S310, after the trigger unit detects the external trigger pulse, it triggers the total field magnetometer to perform frequency counting, and simultaneously triggers the magnetic compensator to read the current aircraft attitude data from the attitude indicator. Next, in step S320, the frequency value obtained by frequency counting is converted into a magnetic field value by a total field magnetometer, and is sent to the magnetic compensator as current total magnetic field data. Then, in step S330, the magnetic compensator performs sliding mean filtering on the read current aircraft attitude data, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering. For example, the total field magnetometer can be installed at the rear of the tail of the fixed-wing UAV body, and the magnetic compensator can be set on the belly of the fuselage of the fixed-wing UAV body. For example, the baud rate can be set to 115200. According to an embodiment of the present disclosure, the step of performing aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering may be the same as the process of performing aeromagnetic compensation by the magnetic compensator 3 described above, and will not be repeated here. According to one implementation, the aeromagnetic detection method may further include: obtaining a plurality of calibration data of the aircraft during the FOM (Figure of Merit) calibration process as a plurality of training data, wherein each training data includes two components along the X-axis and Y-axis of the Cartesian coordinate system in the three-component data collected by the three-axis fluxgate magnetometer carried by the aircraft during the FOM calibration process; wherein the FOM calibration process includes four orthogonal headings, which are respectively used as the j-th heading type, j=1, 2, 3, 4; wherein the aircraft is the fixed-wing UAV body, and the aircraft is equipped with the three-axis fluxgate magnetometer; randomly generating four centroids as the initial centroids of each of the four orthogonal headings; for each training data, classifying the training data to obtain the heading type to which the training data belongs, and using the training data to recalculate the centroid corresponding to the heading type to which it belongs; obtaining a plurality of headings to be processed The invention relates to a method for obtaining a plurality of operation data of a first segment of the first aircraft and a second segment of the first aircraft. The method comprises: collecting the operation data of the first segment of the first aircraft and collecting the operation data of the first segment of the first aircraft; ... The FOM calibration flight can usually be performed by a magnetometer-carrying platform such as a fixed-wing aircraft, a helicopter or a UAV. In the present embodiment, for example, an aircraft (such as a UAV) equipped with a total field magnetometer and a three-component magnetometer can also be used as an example of the above-mentioned magnetometer-carrying platform. The X-axis, Y-axis, and Z-axis of the Cartesian coordinate system are along the lateral, longitudinal, and vertical axes of the aircraft, respectively. Figure 4 As shown, point O is the origin of the coordinate system, where a total field magnetometer and a three-component magnetometer are installed. The three axes X, Y, and Z of the Cartesian coordinate system are along the lateral axis, longitudinal axis, and vertical axis of the aircraft, respectively. N is the direction of the geographic North Pole, He is the direction of the geomagnetic field, and the angles between the three axes of the aircraft and the geomagnetic field are α, β, and γ, respectively. like Figure 5As shown in FIG. 1 , FOM flight includes the aircraft flying in four orthogonal headings and performing three types of maneuvers: pitch, roll, and yaw in each heading. A set of standard FOM flight needs to complete the flight in four orthogonal headings, and perform three types of maneuvers: pitch, roll, and yaw in each heading, with amplitudes of ±5°, ±5°, and ±10°, respectively. Each maneuver is performed for 30 seconds, and three sets are completed. It should be understood that FOM flights are not limited to Figure 5 The flight path shown can also be other conventional flight paths. However, no matter which FOM flight it is, it generally includes flights in four headings, and these four headings are orthogonal to each other. Figure 5 In the example, the section from A to B can be regarded as the first category heading, the section from B to C can be regarded as the second category heading, the section from C to D can be regarded as the third category heading, and the section from D to E can be regarded as the fourth category heading. The first category heading is orthogonal to the second category heading, the second category heading is orthogonal to the third category heading, the third category heading is orthogonal to the fourth category heading, and the fourth category heading is orthogonal to the first category heading. For example, assuming that the current four centroids are (a1, b1), (a2, b2), (a3, b3) and (a4, b4), if a training data is classified and the heading type to which the training data belongs is 1, that is, the corresponding current centroid is (a1, b1), then the centroid of the first heading type (j=1) is recalculated, and the average value of the current centroid of the heading type to which it belongs during training can be used as the new centroid, that is, As the latest centroid of the first heading type (j=1). According to one implementation method, each operation data can be classified, for example, in the following manner: the distance between the operation data and each of the four current centroids is calculated, and the heading type corresponding to the centroid with the smallest distance from the operation data is determined as the heading type to which the operation data belongs, thereby completing the classification of the operation data. According to one implementation, for example, the following processing may be further included: for each section of operation data of each heading type, if the length of the section of operation data (i.e., the amount of data included) is less than a predetermined threshold, the section of operation data is discarded. The predetermined threshold may be set, for example, based on an empirical value, such as 10 or 20. According to one implementation, for the distance vector of each section of operation data of each heading type, the minimum point in the distance vector can be obtained, for example, in the following manner: for each element between the second element and the second to last element in the distance vector, the front and back differences of the element are calculated; if the front difference of the element is less than 0 and the back difference of the element is greater than 0, the element is determined to be a minimum point in the distance vector. According to another implementation method, for the distance vector of each section of operation data of each heading type, the minimum point in the distance vector can be obtained, for example, in the following manner: for each element between the second element to the second to last element in the distance vector, the front and back differences of the element are calculated; if the front difference of the element is less than 0 and the back difference of the element is greater than 0, and the value of the element is less than the average value of each element in the distance vector, then the element is determined to be a minimum point in the distance vector. In addition, according to an embodiment of the present invention, for each section of operation data of each heading type, the distance vector of the section of operation data can be obtained, for example, in the following manner: Assume that the distances between each operation data in the section of operation data and the current centroid of the heading type in the sampling order are d k+1 d k+2 ,……,d k+l ,k=1,2,…,K s , K s Indicates the total number of one or more segments of operation data corresponding to the heading type, and k indicates that the segment of operation data is K s The kth segment in the segment operation data, d k+p represents the distance between the pth operation data in the kth operation data segment and the current centroid of the heading type, p = 1, 2, ..., l, l is the number of operation data contained in the operation data segment; the vector As the distance vector of the operation data for this segment. In one example, for each distance vector of each section of operation data of each heading type, the minimum point in the distance vector can be obtained as follows: for each element d corresponding to k+2≤k+p≤k+l-1 k+p , calculate d k+p The previous difference b k+p =d k+p -d k+p-1 , calculate d k+p The post-diff f k+p =d k+p+1 -d k+p , if diff b k+p <0 and diff f k+p >0, determine the element d k+p is the distance vector A minimum point in .
[0140] In another example, for each distance vector of each section of operation data of each heading type, the minimum point in the distance vector can also be obtained in the following manner: for each element d corresponding to k+2≤k+p≤k+l-1 k+p , calculate d k+p The previous difference b k+p =d k+p -d k+p-1 , calculate d k+p The post-diff f k+p =d k+p+1 -d k+p , if diff b k+p <0 and diff f k+p >0, and d k+p ≤mean(d k+1 ,d k+2 ,...,d k+l ), then determine the element d k+p is the distance vector A minimum point in . For example, suppose in a certain job data (such as the distance vector of the l operation data of the kth operation data) In the above example, we determine d k +2, d k+4 ,…,d k+l-1 are the minimum points that appear in the sampling order, and assuming that d k+1 to d k+l The average value of mean , and the above minimum point d k+2 d k+4 ,…,d k+l-1 All less than d mean , then shorten the operation data to the first minimum point d k+2 To the last minimum point d k+l-1 The corresponding data segment, that is, shortened to: In other words, in the kth job data Removed useless data and According to one implementation, each training data can be classified in the following manner to obtain the heading type to which the training data belongs: calculate the distance between the training data and each of the current four centroids, and determine the heading type corresponding to the centroid among the four centroids that has the smallest distance from the training data as the heading type to which the training data belongs. In an example, the three-component data in the FOM calibration process data can be first obtained, and the data of the x and y components are recorded as and Use this as training data and train the centroid of each heading. The process of training the centroid of each heading may be performed, for example, in the following manner: 1. Randomly generate 4 pairs (a j ,b j ), j = 1, 2, 3, 4 as the initial centroid; 2. For each pair of training data According to formula (1), calculate the distance d from each center of mass i j ; 3. The j corresponding to the smallest distance is its classification; 4. Recalculate the mean of the elements in each category as the new centroid; 5. Repeat 2-4 until all training data has been read. Then, read the three-component data of all the operation data of a certain flight, and record the data of the x and y components as and For each sampling point in the job data (i.e. each job data), the tuple Calculate the distance d between it and each of the current 4 centroids i’ j , j = 1, 2, 3, 4, take the j corresponding to the smallest distance as its classification, and obtain the classification of each sampling point in the operation data. The sampling points that are continuously classified into a certain category are regarded as a segment. If the length of the segment is less than a threshold value Th (which can be set according to an empirical value), the segment is discarded. Then, remove the useless data of each acquired data segment, which can be done as follows: 1. Get the distance d from a certain segment of binary groups to the centroid of their corresponding classification k+1 ,d k+2 ,...,d k+l ; 2. For each k+2≤i'≤k+l-1, calculate the difference diff according to equations (2) and (3) b i' 、diff f i' ; 3. If diff b i' <0 and diff f i' >0, and d i' ≤mean(dk+1 ,d k+2 ,...,d k+l ), record i' as the minimum point; 4. Repeat 2 and 3 to obtain the minimum point sequence of the entire data segment, and record the first minimum point as i first , the last minimum point is i last ; 5. Shorten the heading data segment to the sampling point number from i first to i last data; 6. Repeat steps 1-5 for all data segments. In this way, all non-turning operation data segments of the flight are obtained, segmented, marked and drawn. In another example, For each training data according to Calculate the distance between the training data and each of the current four centroids, determine the heading category corresponding to the centroid with the smallest distance from the training data among the four centroids as the heading category to which the training data belongs, and use the training data to recalculate the centroid corresponding to the heading category to which it belongs; where d i j Represents the distance between the training data and the centroid corresponding to the j-th heading. Next, the operation data to be processed is obtained, wherein the operation data includes a plurality of tuples, and N' is the total number of the operation data. Then, the heading type of each operation data is determined to obtain one or more sections of operation data of each heading type. Next, for each segment of operation data of each heading type, the following processing is performed respectively: the distance between each operation data in the segment of operation data and the centroid corresponding to the heading category is used to form a distance vector of this type of heading in the sampling order; then, for the segment of operation data, the first minimum point and the last minimum point appearing in the distance vector are used as the starting point and the end point of the segment of operation data, respectively, so as to shorten the segment of operation data to the data segment corresponding to the first minimum point and the last minimum point. Among them, the data centroid training relies on the data from the aeromagnetic compensation coefficient calibration phase. During the aeromagnetic detection process, it is necessary to compensate for the magnetic interference generated by the magnetometer carrying platform. The compensation is achieved through a set of compensation coefficients and the inner product of the data generated by the three-axis flux gate carried. The process of solving this set of compensation coefficients is called the calibration process. At the beginning of an aeromagnetic detection, the compensation coefficients need to be calibrated. Assume that the three components collected by the three-axis fluxgate in a set of calibration data are x, y, and z, then each sampling generates a set of triples (x i ,yi ,z i ), i=1,2,...,N, N is the number of sampling points. Figure 4 As shown in the figure, the three components collected by the fluxgate can be considered as the projection of the geomagnetic field on the three coordinate axes of the aircraft coordinate system. Therefore, x and y will change accordingly with the aircraft heading, while z has nothing to do with the heading change. Therefore, only one pair of two-tuples (x i ,y i ), that is, the binary pair (x i ,y i ) as training data And N is the total number of training data. like Figure 5 As shown in the figure, the standard calibration flight is called FOM flight, which includes 3 maneuvers in 4 orthogonal headings, so the data can be divided into 4 segments. The distribution position of the two-tuples in each segment will be significantly different, because the coordinate system rotates 90 degrees when the aircraft transforms to the orthogonal heading. The values of x and y will change greatly. Figure 6 As an example, a set of real data (x i ,y i )(equivalent to (".,")) distribution dot plot. The (x,y) pairs generated in different headings are clearly distinguished at different positions. This property can be used to distinguish headings. It can be seen that the points of each heading are concentrated in a certain area and are far away from other areas. Therefore, if the centroid of each area is calculated, all the heading data can be covered by a radius to distinguish the headings. The centroid calculation can be achieved, for example, by the following process: 1. Randomly generate 4 centroids, namely (a j ,b j ), j = 1, 2, 3, 4; (a j ,b j ) represents the centroid corresponding to the jth heading type among the four orthogonal headings; 2. Repeat the following steps: a. For each training data Calculate the distance to each centroid: b. The j corresponding to the smallest distance is its classification; c. Recalculate the mean of the elements in each class as the new centroid. The final updated 4 centroids (a j ,b j ) is obtained through training. After the above training, the centroid of the binary pair consisting of the two components corresponding to the four orthogonal headings is obtained. Next, in the measurement data (equivalent to the operation data mentioned above), if the aircraft flies along one of the headings, the obtained (x, y) (i.e., the ) will be very close to its corresponding center of mass, but very far from other centers of mass. However, part of the data during the turning process of the aircraft will also be divided into the level flight segment of a certain heading, and this part of the data needs to be removed. The method adopted by the present invention is to use the distance vector to obtain the first minimum value and the last minimum value of the distance vector as the starting point and the end point of the heading. set up is a binary group belonging to a certain category, with a total of l sampling points (i.e., l operation data points), k represents the kth segment of data, for example, k = 1, 2, 3, ..., assuming The heading category corresponding to this data is the j0th heading (j0 can be 1, 2, 3 or 4), and it is assumed that the centroid of the j0th heading is At the same time, let the distance vector of this segment be d k+1 ,d k+2 ,...,d k+l , where d k+1 express The centroid of its heading The distance between k+2 express The centroid of its heading The distance between d k+l express The centroid of its heading Since the two-tuple generated in the process of entering and exiting the heading during flight is closer to the center of mass corresponding to the heading, it will be classified into the heading. Therefore, the distance vector d will be from far to near, as shown in the following figure. Figure 7 The distance from a certain data segment to its centroid follows the rule of first decreasing and then increasing. By selecting the minimum point, the data segment in the turning direction can be removed, but it is necessary to pay attention to the impact of a minimum value in the circle. The first and last minimum points of d should belong to the heading data segment, not the turning process. However, sometimes due to the influence of airflow, the vibration of the aircraft during flight may cause the distance vector of the turning segment to not be smoothly downward, but to produce a Figure 7 The minimum point in the circle. In order to avoid this situation affecting the distance segmentation, when calculating the minimum point, the point whose minimum value is less than the mean value of the distance in this segment should be selected. The specific steps are described as follows: 1. Calculate the difference before and after for each k+2≤i'≤k+l-1 diff b i’ =d i’ -d i’-1 (2) diff f i’ =d i’+1-di’ (3) 2. If diff b i’ <0 and diff f i’ >0, and d i’ ≤mean(d k+1 ,d k+2 ,...,d k+l ), record i' as the minimum point; 3. Repeat 1 and 2 to obtain the minimum point sequence of the entire data segment, and record the first minimum point as i first , the last minimum point is i last ; 4. Shorten the heading data segment to the sampling point number by if irst to i last data. From the above description, it can be seen that the method proposed in the present invention can adaptively segment the flight data according to the flight heading, which can greatly simplify the post-processing process of aeromagnetic measurement data, save labor costs and processing time, and greatly improve the post-processing efficiency. Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative, not restrictive, with respect to the scope of the present invention, which is defined by the appended claims.
Claims
1. Aeromagnetic detection system, It is characterized in that The aeromagnetic detection system comprises a fixed-wing UAV main body (1), a total field magnetometer (2), a magnetic compensator (3), a trigger unit (4) and a heading and attitude indicator (5); The total field magnetometer (2), the magnetic compensator (3) and the heading and attitude indicator (5) are respectively arranged on the fixed-wing UAV body (1); The attitude meter (5) is suitable for acquiring the aircraft attitude data of the fixed-wing unmanned aerial vehicle body (1) in real time; the trigger unit (4) is suitable for triggering the total field magnetometer (2) to perform frequency counting after detecting an external trigger pulse, and simultaneously triggering the magnetic compensator (3) to read the current aircraft attitude data from the attitude meter (5); the total field magnetometer (2) is suitable for converting the frequency value obtained by frequency counting into a magnetic field value, and sending it to the magnetic compensator (3) as the current magnetic total field data; the magnetic compensator (3) is suitable for performing a sliding mean filtering on the read current aircraft attitude data, so as to perform aeromagnetic compensation using the current magnetic total field data and the current aircraft attitude data after the sliding mean filtering.
2. The aeromagnetic detection system according to claim 1, It is characterized in that The total field magnetometer (2) is installed at the rear of the tail of the fixed-wing UAV body (1), and the magnetic compensator (3) is arranged on the belly of the fuselage of the fixed-wing UAV body (1).
3. The aeromagnetic detection system according to claim 1 or 2, It is characterized in that The baud rate is set to 115200.
4. The aeromagnetic detection system according to any one of claims 1 to 3, It is characterized in that The magnetic compensator (3) is suitable for performing aeromagnetic compensation according to the following process: Assume that the Earth's magnetic field H at any time earth The angles between the three axes x, y and z of the fixed-wing UAV body (1) are α, β and γ respectively, and c x 、c y and c z Denote the direction cosines of α, β and γ respectively, so that and Assume the aircraft interference field is H d , H d Divided into constant field H con , induction field H induce and eddy current field H vortex ; Assume the constant field coefficient is p i (i=1,2,3), then: Assume the induction field coefficient a ij (i=1,2,3;j=1,2,3), then we get Assume the eddy current field coefficient is b ij (i=1,2,3;j=1,2,3), then we get Assume the total field measured by the magnetometer is H total ,but Assume that the Earth's magnetic field H earth If it remains unchanged, but: The formula (a 11 +1)H earth 、(a 22 +1)H earth (a 33 +1)H earth 、(a 12 +a 21 )H earth 、(a 13 +a 31 )H earth 、(a 23 +a 32 )H earth Denoted as At the same time, b ij H earth (i=1,2,3;j=1,2,3) is recorded as but: Among them, δ represents the row vector composed of direction cosines and their derivatives, and x is the row vector composed of unknown aeromagnetic interference compensation coefficients, that is: According to H total =δ T θ obtains the following system of equations, which is used to estimate the value of the row vector composed of unknown coefficients: H=A T i Among them, θ includes 18 unknown coefficients, Α is an n×18 matrix, and H is an n×1 column vector; the following linear equations are obtained: Right now A=(d 1 d 2 …d n ) Among them, δ i (i=1,2,3…n) is the row vector composed of the direction cosines and their derivatives obtained by the i-th sampling, H total (i) is the total field magnetometer output value obtained by sampling at the i-th time, and n is the number of acquisitions; Let the filter with a passband of 0.06-1.0Hz be BPF, and then perform bandpass filtering on the linear equations: BPF(H)=BPF(A T )i Wherein, BPF(H) represents the use of a filter to perform bandpass filtering on the total field column vector, and BPF(Α T ) indicates that each column of the direction cosine matrix is bandpass filtered using a filter; The row vector θ of the unknown aeromagnetic interference compensation coefficients in the filtered linear equations is estimated, and the estimated value of the row vector θ of the unknown aeromagnetic interference compensation coefficients is obtained by using the recursive least squares method. In actual aeromagnetic measurement, the value of the magnetic interference generated by the aircraft is H d Calculated according to the following formula: The effective value without aircraft magnetic interference is obtained as follows: H E =H total -H d 。 5. Aeromagnetic detection method, It is characterized in that The aeromagnetic detection method is implemented by an aeromagnetic detection system, the aeromagnetic detection system comprising a fixed-wing unmanned aerial vehicle body (1), a total field magnetometer (2), a magnetic compensator (3), a trigger unit (4) and a heading and attitude instrument (5); the total field magnetometer (2), the magnetic compensator (3) and the heading and attitude instrument (5) are respectively arranged on the fixed-wing unmanned aerial vehicle body (1); the heading and attitude instrument (5) is suitable for acquiring aircraft attitude data of the fixed-wing unmanned aerial vehicle body (1) in real time; Aeromagnetic survey methods include: When the trigger unit (4) detects an external trigger pulse, it triggers the total field magnetometer (2) to perform frequency counting, and simultaneously triggers the magnetic compensator (3) to read current aircraft attitude data from the attitude indicator (5); The frequency value obtained by frequency counting is converted into a magnetic field value by the total field magnetometer (2), and sent to the magnetic compensator (3) as current total magnetic field data; The magnetic compensator (3) performs sliding mean filtering on the read current aircraft attitude data, so as to perform aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after the sliding mean filtering.
6. The aeromagnetic detection method according to claim 5, It is characterized in that The total field magnetometer (2) is installed at the rear of the tail of the fixed-wing UAV body (1), and the magnetic compensator (3) is arranged on the belly of the fuselage of the fixed-wing UAV body (1).
7. The aeromagnetic detection method according to claim 5 or 6, It is characterized in that The baud rate is set to 115200.
8. The aeromagnetic detection method according to any one of claims 5 to 7, It is characterized in that The step of performing aeromagnetic compensation using the current total magnetic field data and the current aircraft attitude data after sliding mean filtering comprises: Assume that the Earth's magnetic field H at any time earth The angles between the three axes x, y and z of the fixed-wing UAV body (1) are α, β and γ respectively, and c x 、c y and c z Denote the direction cosines of α, β and γ respectively, so that and Assume the aircraft interference field is H d , H d Divided into constant field H con , induction field H induce and eddy current field H vortex ; Assume the constant field coefficient is p i (i=1,2,3), then: Assume the induction field coefficient a ij (i=1,2,3;j=1,2,3), then we get Assume the eddy current field coefficient is b ij (i=1,2,3;j=1,2,3), then we get Assume the total field measured by the magnetometer is H total ,but Assume that the Earth's magnetic field H earth If it remains unchanged, but: The formula (a 11 +1)H earth 、(a 22 +1)H earth (a 33 +1)H earth 、(a 12 +a 21 )H earth 、(a 13 +a 31 )H earth 、(a 23 +a 32 )H earth Denoted as At the same time, b ij H earth (i=1,2,3;j=1,2,3) is denoted as, then: Among them, δ represents the row vector composed of direction cosines and their derivatives, and x is the row vector composed of unknown aeromagnetic interference compensation coefficients, that is: According to H total =δ T θ obtains the following system of equations, which is used to estimate the value of the row vector composed of unknown coefficients: H=A T i Among them, θ includes 18 unknown coefficients, Α is an n×18 matrix, and H is an n×1 column vector; the following linear equations are obtained: Right now A=(d 1 d 2 …d n ) Among them, δ i (i=1,2,3…n) is the row vector composed of the direction cosines and their derivatives obtained by the i-th sampling, H total (i) is the total field magnetometer output value obtained by sampling at the i-th time, and n is the number of acquisitions; Let the filter with a passband of 0.06-1.0Hz be BPF, and then perform bandpass filtering on the linear equations: BPF(H)=BPF(A T )i Wherein, BPF(H) represents the use of a filter to perform bandpass filtering on the total field column vector, and BPF(Α T ) indicates that each column of the direction cosine matrix is bandpass filtered using a filter; The row vector θ of the unknown aeromagnetic interference compensation coefficients in the filtered linear equations is estimated, and the estimated value of the row vector θ of the unknown aeromagnetic interference compensation coefficients is obtained by using the recursive least squares method. In actual aeromagnetic measurement, the value of the magnetic interference generated by the aircraft is H d Calculated according to the following formula: The effective value without aircraft magnetic interference is obtained as follows: H E =H total -H d 。 9. The aeromagnetic detection method according to any one of claims 5 to 8, It is characterized in that Also includes: Acquire multiple calibration data of the aircraft during the FOM calibration process as multiple training data, wherein each training data includes two components along the X-axis and Y-axis of the Cartesian coordinate system in the three-component data collected by the three-axis fluxgate magnetometer carried by the aircraft during the FOM calibration process; wherein the FOM calibration process includes four orthogonal headings; wherein the aircraft is the fixed-wing UAV body, and the aircraft is equipped with the three-axis fluxgate magnetometer; Randomly generate 4 centroids as the initial centroids of the 4 orthogonal headings; For each training data, Classify the training data to obtain the heading type to which the training data belongs, and The training data is used to recalculate the center of mass corresponding to the heading type to which it belongs; Acquire a plurality of operation data to be processed, wherein each operation data includes two components along the X-axis and the Y-axis of the Cartesian coordinate system in three-component data collected by a three-axis fluxgate magnetometer carried by the aircraft in an actual sortie operation; Classify each operation data in sequence according to the sampling order of the operation data, and regard multiple operation data that are continuously classified into the same heading type as the same section of operation data under the heading type; For each section of operation data of each heading type, The distance between each operation data in the segment of operation data and the centroid corresponding to the heading type is used to form the distance vector of the segment of operation data in the sampling order. The first minimum point and the last minimum point appearing in the distance vector are respectively used as the starting point and the ending point of the segment of operation data, so as to shorten the segment of operation data to the data segment corresponding to the first minimum point to the last minimum point.
10. The method for processing aeromagnetic data according to the self-adaptive heading according to claim 9, It is characterized in that Each training data is classified as follows to obtain the heading type to which the training data belongs: Calculate the distance between the training data and each of the current 4 centroids, and The heading type corresponding to the centroid with the smallest distance from the training data among the four centroids is determined as the heading type to which the training data belongs.
