UWB technology-based high-precision unmanned ship positioning system and method, and storage medium
By integrating the UWB positioning system and IMU inertial measurement unit on the unmanned ship, combined with multiple algorithm processing, the accuracy problem of the unmanned ship positioning technology in the vibration environment and non-line-of-sight conditions is solved, and high-precision and stable lake positioning is achieved. .
Patent Information
- Application Number
- PCT/CN2023/124898
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2023-10-17
- Publication Date
- 2024-10-31
AI Technical Summary
Existing unmanned ship positioning technology has shortcomings in terms of stability and accuracy. In particular, the heading accuracy of the IMU decreases in a vibration environment, and the UWB positioning accuracy decreases under non-line-of-sight conditions, making it difficult to meet the needs of high-precision unmanned ship lakes. positioning needs.
An unmanned ship positioning system based on UWB technology is adopted. By arranging multiple UWB positioning base stations around the lake and installing UWB positioning tags and IMU inertial measurement units on the unmanned ships, it combines the bilateral two-way method, K-means++ algorithm, Gaussian mean filtering and The least squares method suppresses NLOS errors and noise, realizes three-dimensional positioning and attitude correction, and uses Taylor series expansion method for precise positioning.
It improves the positioning accuracy and stability of unmanned ships, reduces costs, and enhances resistance to external interference. It is suitable for unmanned ship positioning in various lake environments.
Smart Images

Figure CN2023124898_31102024_PF_FP_ABST
Abstract
Description
A high-precision unmanned ship positioning system, method and storage medium based on UWB technology Technical Field
[0001] The present invention relates to unmanned ship positioning technology, and in particular to a high-precision unmanned ship positioning system, method and storage medium based on UWB technology. Background Art
[0002] Unmanned surface vessels are complex and intelligent robotic systems, involving technologies in hull design, intelligent navigation, signal detection, artificial intelligence, pattern recognition, and other related fields. Currently, commonly used positioning technologies include infrared positioning, ultrasonic positioning, RFID short-range positioning, WiFi positioning, and Bluetooth positioning. However, these positioning technologies still suffer from issues such as weak stability, poor security, high cost, and insufficient positioning accuracy. Ultra-wideband (UWB) has become the mainstream positioning solution due to its short pulse intervals and high temporal resolution, which can achieve centimeter-level ranging accuracy. UWB is a radio technology that simultaneously transmits hundreds of megahertz of bandwidth (greater than 500 GHz) across multiple bands (3.1 GHz to 10.6 GHz). This UWB feature enables centimeter-level positioning accuracy in line-of-sight conditions; however, in non-line-of-sight (NLOS) conditions, positioning accuracy is significantly reduced. UWB positioning often uses the least squares method, but this method can fail due to singular matrices. These shortcomings significantly impact system positioning accuracy and stability. How to reduce costs and improve positioning accuracy is a key issue that needs to be solved for the widespread application of unmanned boat lake positioning.
[0003] During unmanned vessel navigation, an IMU is often used to measure the vessel's attitude angles. Among these angles, heading is of primary concern. However, the motion of the carrier often generates various shocks and vibrations. High IMU vibration frequencies and large amplitudes can cause bias drift and nonlinear, non-Gaussian random noise, significantly reducing measurement accuracy. Therefore, maintaining accuracy and stability in vibrating environments is a critical issue for IMU applications on unmanned vessels.
[0004] With the development of faster computer computing power, higher intelligence level and more stable network communication technology, surface unmanned ships can not only play an important role in the field of military defense, but also have made great progress in the civilian field. Relevant departments in my country have paid attention to the importance of the development of high-precision unmanned ship positioning. UWB positioning technology has broad application prospects for lake positioning of unmanned ships.
[0005] Summary of the Invention
[0006] Purpose of the invention: One purpose of the present invention is to provide a high-precision unmanned ship positioning system based on UWB technology.
[0007] Another object of the present invention is to provide a high-precision unmanned ship positioning method based on UWB technology.
[0008] Technical solution: The present invention is an unmanned ship positioning system based on UWB technology, comprising at least four UWB positioning base stations, UWB positioning tags, IMU inertial measurement units and a shore-based control center, wherein at least four UWB positioning base stations are dispersedly arranged around the edges of a lake, one of the UWB positioning base stations is set as a master base station, and the remaining UWB positioning base stations are slave base stations. The UWB positioning tags and IMU inertial measurement units are set on the unmanned ship, and the shore-based control center includes a map server and a positioning processor; the UWB positioning tags communicate wirelessly with the UWB positioning base stations, respectively measuring their distance from each UWB positioning base station. The distance measurement data between the UWB positioning base stations is sent to the positioning processor via the wireless network; the IMU inertial measurement unit measures the real-time attitude information of the unmanned boat, and performs noise suppression to obtain real-time attitude correction information and send it to the positioning processor; the positioning processor parses the distance measurement data between the UWB positioning tag and each UWB positioning base station, uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned boat, and based on the real-time attitude correction information of the unmanned boat, realizes the precise positioning solution of the unmanned boat and obtains real-time attitude information; the map server displays the position information of the unmanned boat in the lake and displays it in a two-dimensional or three-dimensional map.
[0009] Preferably, multiple UWB positioning base stations are maintained at the same horizontal height, installed vertically on the ground, and evenly distributed along the edge of the lake. The main base station is used as the positioning reference point to establish a lake positioning map area, and further establish a lake positioning coordinate system.
[0010] In another embodiment of the present invention, a method for positioning an unmanned vessel based on UWB technology includes the following steps:
[0011] S1. Evenly arrange 4 or more UWB positioning base stations along the edge of the positioning lake; one of them is set as the UWB positioning master base station, and the rest are UWB positioning slave base stations. The center of the UWB positioning master base station is used as the origin of the positioning coordinate system, and the line connecting the UWB positioning master base station and the UWB positioning slave base station on the same side of the lake is used as the X-axis. The line passing through the origin and perpendicular to the X-axis in the horizontal plane is used as the Y-axis, and the line passing through the origin and perpendicular to the horizontal plane is used as the Z-axis to establish the lake positioning coordinate system O-XYZ; install the UWB positioning tag and IMU inertial measurement unit on the unmanned boat.
[0012] S2, the UWB positioning tag communicates wirelessly with each UWB positioning base station respectively, and the UWB positioning tag sends the measured distance data between itself and each UWB positioning base station to the positioning processor in the shore-based control center through the wireless network; the positioning processor parses the distance data between the UWB positioning tag and each UWB positioning base station, and uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned ship; including: the UWB positioning tag obtains the distance data between the unmanned ship and each UWB positioning base station through the bilateral two-way method; then, the K-means++ algorithm is used to suppress the NLOS error in the distance data; again, the standard measurement error in the distance data is processed by Gaussian mean filtering; the distance data after error suppression is solved by the least squares method to determine the initial value of the first three-dimensional positioning of the unmanned ship; the initial value of the three-dimensional positioning of the unmanned ship is used as the input of the Taylor series expansion method to determine the three-dimensional positioning estimate of the unmanned ship, which is the final precise position of the unmanned ship, thereby realizing the three-dimensional positioning of the unmanned ship;
[0013] S3. Using the IMU inertial measurement unit to collect the acceleration and angular velocity information of the unmanned vessel as the real-time attitude information of the unmanned vessel, and using a filtering algorithm to suppress the noise of the real-time attitude information of the unmanned vessel, the real-time attitude information of the unmanned vessel after suppressing the vibration noise is sent to the positioning processor in the shore-based control center;
[0014] S4, the positioning processor realizes accurate positioning of the unmanned ship and updates the real-time attitude information of the unmanned ship according to the three-dimensional positioning result of the unmanned ship obtained in step S2 and the real-time attitude information of the unmanned ship sent in step S3;
[0015] S5. The map server displays the position information and real-time posture information of the unmanned boat in the lake in a two-dimensional or three-dimensional map and displays them.
[0016] Furthermore, in step S2, the UWB positioning tag obtains the ranging data between the unmanned ship and each UWB positioning base station through the bilateral two-way ranging method, specifically:
[0017] The UWB positioning tag sends a UWB signal request data packet to the UWB positioning base station. After the flight time T, the UWB positioning base station receives the request; the UWB positioning base station receives the request after T A After the time delay, the UWB positioning tag replies with a response packet. After receiving the response, the UWB positioning tag records the delay time T from sending the request to receiving the response. r1 , and through T B After the time delay, an additional reception response and request end data packet are sent to the UWB positioning base station. After the delay time T r2 After that, the UWB positioning base station receives the receiving response and the request end data packet of the UWB positioning tag, and the UWB signal transmission process ends; finally, four time difference data T are obtained.A 、T r1 、T B 、T r2 , the UWB positioning tag and the UWB positioning base station mark the timestamp, and the flight time T of the UWB signal can be calculated based on the four time differences, as follows:
[0018] After determining the flight time T of the UWB signal, the AB =cT determines the distance data between the UWB positioning tag and the UWB positioning base station, where c is the speed of light; T A T is the delay time for the UWB positioning base station to reply to the response data packet after receiving the UWB request data packet sent by the UWB positioning tag. B The UWB positioning tag sends an additional reception response to the UWB positioning base station and requests the processing and sending delay time of the end data packet;
[0019] In addition to the NLOS error, the ranging data between the UWB positioning tag and the UWB positioning base station obtained by the bilateral two-way ranging method also includes the standard measurement error caused by random factors. This error approximately conforms to the Gaussian distribution. The error model is as follows: AB (k) = R AB (k)+n AB (k)+N AB (k)
[0020] Among them, d AB (k) is the distance measurement data between the UWB positioning tag and the UWB positioning base station at time k, R AB (k) is the actual value of the distance between the UWB positioning tag and the UWB positioning base station at time k, n AB (k) is the standard measurement error, N AB (k) is the NLOS error.
[0021] Furthermore, the specific method of using the K-means++ algorithm to suppress the NLOS error in the ranging data in step S2 is:
[0022] (1) The DS-TWR method is used to measure the distance between the UWB positioning tag and the UWB positioning base station several times to obtain the ranging data set D = {d1, d2, ... d k ,…d n}, d k is the kth ranging data in the ranging data set D, k = 1, 2, ..., n, n is the number of ranging data in the ranging data set D, and a ranging data is randomly selected from the ranging data set D as the first initial cluster center C1;
[0023] (2) Calculate the minimum distance D(d k ) between each ranging data in the ranging data set D and the first initial clustering center C1. The calculation formula is: D(d k ) = min{|d k- C1|}
[0024] After that, determine the probability P k that each ranging data in the ranging data set D is selected as the second clustering center C2. The calculation formula is:
[0025] (3) Subtract P1, P2,... P n from the random number U ∈ [0, 1] in turn. The ranging data with the first difference less than or equal to zero is regarded as the second clustering center C2;
[0026] (4) Calculate the distances between each ranging data in the ranging data set D and the clustering centers C1 and C2 respectively. Divide each ranging data into two groups. The first group is the ranging data closest to the first initial clustering center C1, forming the corresponding first subset; the second group is the ranging data closest to the second clustering center C2, forming the corresponding second subset;
[0027] [[ID=The new ranging data set D' after suppressing NLOS error approximately conforms to the ranging data of (μ,σ 2 ) Normal distribution characteristics, the density function is described by the following formula:
[0033] Among them, d i is the i-th ranging data in the new ranging data set D', m is the amount of data in the new ranging data set D'; μ is the average value of each ranging data in the new ranging data set D'; σ is the standard deviation of each ranging data in the new ranging data set D';
[0034] After filtering out the ranging data outside the interval (μ-σ, μ+σ) by Gaussian filtering, the mean filtering method is used to process it, and finally the Gaussian mean mixed filtering output value d is obtained. filter , its formula is described as:
[0035] Wherein, m1 is the data volume of the new ranging data set D' after Gaussian filtering.
[0036] Furthermore, in step S2, the least square method is used to solve the ranging data after error suppression to determine the initial three-dimensional positioning value of the unmanned ship; specifically:
[0037] Assuming that the plane where the height of each UWB positioning base station center is located is the zero plane of the Z axis, the three-dimensional coordinates of the i-th UWB positioning base station are expressed as P i =(x i ,y i ,z i ), time t i Describes the UWB positioning tag sending a UWB signal request data packet to the i-th UWB positioning base station P i The flight time of the i-th UWB positioning base station P i The distance to the UWB positioning tag is obtained by the following formula: R di= c(t i -Δt)
[0038] Among them, Δt is the i-th UWB positioning base station P i The deviation between the UWB positioning tag clock and c is the speed of light; In addition, the i-th UWB positioning base station P i The distance from the UWB positioning tag P = (x, y, z) can also be calculated using the following formula:
[0039] The following equations are obtained by the above two formulas:
[0040] Further transformation processing yields the following formula:
[0041] Converted into matrix form, we get:
[0042] Further rewriting it into the form of AH=b, and using the least squares method to analyze the above matrix formula, we get:
[0043] Where H is the least squares solution; A is the coefficient matrix; vector b is a constant;
[0044] Obtain the first three-dimensional variables of H, that is, obtain the initial three-dimensional positioning value of the unmanned ship, expressed as (x0, y0, z0).
[0045] Furthermore, in step S2, the initial value of the three-dimensional positioning of the unmanned ship is used as the input of the Taylor series expansion method to determine the three-dimensional positioning estimate of the unmanned ship, which is the final precise position of the unmanned ship, thereby realizing the three-dimensional positioning of the unmanned ship; specifically:
[0046] After determining the initial value of the unmanned ship's three-dimensional positioning, the Taylor series expansion method is used to process it to obtain the unmanned ship's positioning estimation result; the initial distance between the first UWB positioning base station P1 = (x1, y1, z1) and the UWB positioning tag P = (x, y, z) is R d1 , the i-th UWB positioning base station P i =(x i ,y i ,z i ) to the initial distance R between the UWB positioning tag di The initial distance R from the UWB positioning base station P1 = (x1, y1, z1) to the UWB positioning tag P = (x, y, z) d1 The difference is calculated by the following formula:
[0047] Use f(x,y,z,x i ,y i ,z i ) form, the Taylor series expansion method is used to process the initial value (x0, y0, z0) of the first positioning, and after eliminating the second-order and third-order components, the following is obtained:
[0048] It is further converted into the following error vector equation form:
[0049] in, is the error vector; δ is the vector to be determined; The matrices h and G are expressed as:
[0050] The distance from the initial value of three-dimensional positioning to each UWB positioning base station is expressed as R i Expressed as; Calculate the weighted least squares solution of the error vector equations to obtain:
[0051] Where Q is the weighting matrix, which is the error covariance matrix of the DS-TWR ranging measurement value. After determining δ, set x0'=x0+Δx, y0'=y0+Δy, z0'=z0+Δz. After determining (x0', y0', z0'), use it as the initial positioning value and iterate again. When the condition |Δx| is satisfied, 2 +|Δy| 2 +|Δz| 2 <ε 2 When , the iteration stops, where the threshold is set as ε. After the iteration, (x0', y0', z0') is obtained again. This positioning coordinate is the final three-dimensional positioning result of the unmanned ship.
[0052] Furthermore, step S3 specifically includes the following steps:
[0053] S31. Use the LMS adaptive filtering algorithm to perform front-end processing on the accelerometer initial value and the gyroscope output initial value. The algorithm is as follows:
[0054] Where X(n) represents the accelerometer and gyroscope input signals at time n, W(n) represents the weight coefficient of the filter at time n, d(n) represents the expected output signal of the filter at time n, e(n) represents the error of the accelerometer and gyroscope at time n, y(n) represents the filter output, and μ(n) represents the iterative step size of the adaptive filter. The convergence condition of the algorithm is: 0<μ(n)<1 / λ max , where λ max is the maximum eigenvalue of the autocorrelation matrix of the input signal X(n);
[0055] S32. Filter out the zero-bias noise of angular velocity using the acceleration information. The filtering algorithm formula is as follows:
[0056] Among them, g x , g y and g z They are the three-axis angular velocity values output after complementary filtering, m x , m y and m z They are the three-axis angular velocity values after LMS filtering, e x , e y and e z represents the errors in the three axes, KP and KI are the complementary filter parameters;
[0057] S33, using EKF filtering algorithm to further filter and thus improve the overall denoising effect;
[0058] S34, the IMU inertial measurement unit measures the Euler angle and attitude of the unmanned ship, and sends the measured real-time attitude information to the terminal processor.
[0059] In another embodiment of the present invention, a storage medium stores a computer program, and when the computer program is executed by at least one processor, the steps of the unmanned ship positioning method based on UWB technology are implemented as described above.
[0060] Beneficial effects: Compared with the prior art, the present invention has the following significant technical effects:
[0061] (1) The present invention uses a high-precision unmanned boat positioning method based on UWB, which can overcome the shortcomings of traditional TDOA positioning. It has the advantages of processing ranging data errors, improving ranging data accuracy, high positioning accuracy, and strong reliability. It also has the advantages of being less affected by external factors and low price, and is universally applicable to unmanned boat lake positioning.
[0062] (2) The present invention addresses the problem that vibration of unmanned ships affects the heading accuracy of the IMU inertial measurement unit. It can effectively suppress vibration noise and thus improve heading accuracy and stability. The attitude information is used to correct the position information obtained by the UWB positioning system to obtain more accurate attitude data. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 is a schematic diagram of an unmanned vessel positioning system;
[0064] FIG2 is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0065] The embodiments of the present invention are described in detail below with reference to the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more precise definition of the protection scope of the present invention.
[0066] The present invention will be further described in detail below with reference to the examples, but the embodiments of the present invention are not limited thereto.
[0067] As shown in FIG1 , an unmanned boat positioning system based on UWB technology of the present invention comprises at least four UWB positioning base stations dispersed around a lake, a UWB positioning tag and an IMU inertial measurement unit (IMU) arranged on the unmanned boat, and a shore-based control center, wherein the shore-based control center comprises a map server and a positioning processor; the UWB positioning tag wirelessly communicates with the UWB positioning base station, measures the distance information between itself and each UWB positioning base station, and sends the measured distance information between each UWB positioning base station and the UWB positioning tag to the positioning processor in the shore-based control center via a wireless network; the IMU inertial measurement unit comprises an accelerometer, The gyroscope is horizontally installed on the unmanned boat and uses a method that can effectively suppress vibration noise and thus improve heading accuracy and stability to measure the three-dimensional acceleration and angular velocity attitude of the unmanned boat as the real-time attitude information of the unmanned boat, and sends the collected real-time attitude information to the positioning processor; the positioning processor analyzes the distance information between the UWB positioning tag and each UWB positioning base station, uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned boat, and based on the attitude information of the unmanned boat after suppressing vibration noise, realizes the accurate positioning solution of the unmanned boat and obtains real-time attitude information; the map server displays the position information of the unmanned boat in the lake and displays it in a two-dimensional or three-dimensional map.
[0068] In the scenario shown in Figure 1, the unmanned boat is located in a lake. Multiple UWB positioning base stations are maintained at the same horizontal height, installed vertically on the ground, and distributed along the edge of the positioning lake. Using multiple UWB positioning base stations as positioning reference points, a lake positioning map area is established; and a lake positioning coordinate system is established in the lake positioning map area. The establishment process is as follows:
[0069] Four or more UWB positioning base stations are evenly arranged along the edge of the positioning lake; one of them is set as the UWB positioning master base station, and the rest are UWB positioning slave base stations. The center of the UWB positioning master base station is used as the origin of the positioning coordinate system, the line connecting the UWB positioning master base station and the UWB positioning slave base station closest to it on the same side of the lake is used as the X-axis, the line passing through the origin and perpendicular to the X-axis in the horizontal plane is used as the Y-axis, and the line passing through the origin and perpendicular to the horizontal plane is used as the Z-axis vertically upward, so as to establish the lake positioning coordinate system O-XYZ.
[0070] In the embodiment of the present invention, an unmanned boat is located in an elliptical lake. At least four UWB positioning base stations are evenly distributed around the edge of the lake, namely a UWB positioning master base station 4, a first UWB positioning slave base station 1, a second UWB positioning slave base station 2, and a third UWB positioning slave base station 3. A UWB positioning tag 5 is attached to an unmanned boat 6, which is also equipped with an IMU inertial measurement unit. A shore-based command and control center 7 receives data remotely, which is equipped with a map server 8 and a positioning processor 9. Specifically:
[0071] The four UWB positioning base stations are maintained at the same horizontal height and installed vertically on the ground. The four UWB positioning base stations are distributed along the edge of the positioning lake and are distributed on opposite sides of the lake. As shown in Figure 1, the center of the UWB positioning master base station 4 is the origin O of the positioning coordinate system, the line connecting the UWB positioning master base station 4 and the third UWB positioning slave base station 3 is the X-axis, and the third UWB positioning slave base station 3 is located in the positive direction of the X-axis. The Y-axis passes through the origin in the horizontal plane and is perpendicular to the X-axis. The Z-axis passes through the origin and is perpendicular to the horizontal plane and is vertically upward as the Z-axis. A spatial rectangular coordinate system is established as the lake positioning coordinate system O-XYZ.
[0072] The UWB positioning tag 5 is of magnetic type and can be adsorbed on the top of the unmanned boat 6 for wireless communication with each UWB positioning base station. The UWB positioning tag 5 sends data packets to each UWB positioning base station through wireless communication, and sends the measured distance information (distance measurement data) between the UWB positioning tag and each UWB positioning base station to the positioning processor 9 in the shore-based control center 7 via the wireless network. The positioning processor 9 receives the distance measurement data sent by the UWB positioning tag through the wireless communication network line, performs data analysis, cleans and processes the positioning data, and uses the positioning algorithm to calculate the three-dimensional position coordinates of the UWB positioning tag (i.e., the unmanned boat). At the same time, the positioning processor 9 receives the real-time attitude information sent by the IMU inertial measurement unit. The IMU inertial measurement unit includes an accelerometer and a gyroscope, which is horizontally installed on the unmanned boat. It adopts a method that can effectively suppress vibration noise and thus improve heading accuracy and stability to measure the three-dimensional acceleration and angular velocity attitude of the unmanned boat as the real-time attitude information of the unmanned boat, and sends the collected real-time attitude information to the positioning processor. The map server 8 is used to display the position information of the unmanned boat 6 to the user in real time, which can be displayed on a two-dimensional or three-dimensional map.
[0073] The present invention provides an unmanned boat positioning method based on UWB technology, comprising: first, setting up four or more UWB positioning base stations around a lake, one of which is set as a UWB positioning master base station, and the rest are UWB positioning slave base stations. The UWB positioning master base station is used as a positioning reference point to establish a lake positioning map area, and further establish a positioning coordinate system. The UWB positioning tag and the IMU inertial measurement unit are installed on the unmanned boat. Secondly, the UWB positioning tag communicates wirelessly with each UWB positioning base station, and sends the measured distance information (distance data) between each UWB positioning base station and the UWB positioning tag to the positioning processor in the shore-based control center through the wireless network; the positioning processor is used to analyze the distance information between each UWB positioning base station and the UWB positioning tag, and uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned boat. At the same time, the positioning processor receives the real-time attitude information sent by the IMU inertial measurement unit; then, the IMU is used to collect the acceleration and angular velocity information of the unmanned boat, and the real-time attitude information of the unmanned boat after suppressing vibration noise is sent to the positioning processor in the shore-based control center; again, the positioning processor realizes the accurate positioning solution and real-time attitude information update of the unmanned boat; finally, the map server displays the position information and real-time attitude information of the unmanned boat in the lake in a two-dimensional or three-dimensional map and displays it. The positioning cost of the present invention is low, the accuracy is high, and it is less affected by external interference. It can effectively reduce the error of the ranging data, determine the position coordinates of each positioning point, and control the positioning error in an obstacle environment to the minimum range. It is suitable for lake positioning of various intelligent unmanned boats and has practical promotion value. As shown in Figure 2, the specific steps include:
[0074] S1. Install the unmanned boat positioning system, establish a lake positioning map area, and establish the lake positioning coordinate system O-XYZ; specifically:
[0075] S11. Evenly arrange four or more UWB positioning base stations along the edge of the positioning lake, one of which is set as the UWB positioning master base station, and the rest are UWB positioning slave base stations;
[0076] S12. Using the UWB positioning main base station as a positioning reference point, establish a lake positioning map area, and establish a lake positioning coordinate system in the lake positioning map area. The established lake positioning map area is the area shown as the ellipse in Figure 1, and the lake positioning coordinate system is O-XYZ;
[0077] S13. Install the UWB positioning tag and the IMU inertial measurement unit on the unmanned vessel.
[0078] S2. The UWB positioning tag communicates wirelessly with each UWB positioning base station. The UWB positioning tag sends the distance information (distance data) between itself and each UWB positioning base station via the wireless network to the positioning processor in the shore-based control center. The positioning processor analyzes the distance data between the UWB positioning tag and each UWB positioning base station and uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned ship. The specific steps of the UWB positioning method are as follows:
[0079] S21. First, the UWB positioning tag obtains the ranging data between the unmanned ship and each UWB positioning base station through the bilateral two-way method. The ranging data is distributed with both standard measurement error and NLOS error.
[0080] UWB positioning tags usually use the double-sided two-way ranging method (DS-TWR) to locate and measure the distance of unmanned ships. The UWB positioning tag sends a UWB signal request data packet to the UWB positioning base station. After a flight time T, it arrives at the UWB positioning base station and is received by it. After receiving the request, the UWB positioning base station replies with a response data packet and records the delay time as T. A After receiving the response, the UWB positioning tag records the delay time T from sending the request to receiving the reply signal r1 And send an additional reception response and request end data packet to the UWB positioning base station. The processing and sending time delay is T B , the UWB positioning base station receives the receiving response of the UWB positioning tag and records the delay time T after the request is completed. r2 , at this time the signal transmission process ends; finally obtain four time difference data T A , T r1 , T B , T r2 , the UWB positioning tag and the UWB positioning base station mark the timestamp, and the flight time T of the UWB signal can be calculated based on the four time differences, as follows:
[0081] Formula (1) can be derived from the following formula:
[0082] After determining the flight time T of the UWB signal, the AB =cT determines the distance data between the UWB positioning tag and the UWB positioning base station, where c is the speed of light; T A T is the delay time for the UWB positioning base station to reply to the response data packet after receiving the UWB signal request data packet sent by the positioning tag. BThe UWB positioning tag sends an additional reception response to the UWB positioning base station, as well as a request to end the processing and sending delay of the data packet. The clock accuracy of the UWB positioning tag and the UWB positioning base station must be the same to reduce the ranging error. In the process of using DS-TWR to measure the distance of the unmanned ship, the transmitted signal will be affected by obstacles, causing a delay in signal transmission, resulting in a large non-line-of-sight (NLOS) error in the ranging data, and its value is always positive. In addition, it also includes the standard measurement error caused by random interference, and obeys the Gaussian distribution. The ranging data obtained using DS-TWR is described by the following formula: d AB (k) = R AB (k)+n AB (k)+N AB (k) (3)
[0083] Among them, d AB (k) is the distance measurement data between the UWB positioning tag and the UWB positioning base station at time k, R AB (k) is the actual value of the distance between the UWB positioning tag and the UWB positioning base station at time k, n AB (k) is the standard measurement error, which is considered as a zero-mean Gaussian variable; N AB (k) is the NLOS error, which is considered as a positive random variable with uniform distribution characteristics.
[0084] S22. Then, the K-means++ algorithm is used to suppress the NLOS error in the ranging data.
[0085] (1) The DS-TWR method is used to measure the distance between the UWB positioning tag and the UWB positioning base station several times to obtain the ranging data set D = {d1, d2, ... d k ,…d n}, d k is the kth ranging data in the ranging data set D, k = 1, 2, ..., n, n is the number of ranging data in the ranging data set D, and a ranging data is randomly selected from the ranging data set D as the first initial cluster center C1;
[0086] (2) Calculate the minimum distance D (d k ), the calculation formula is: D(d k )=min{|d k -C1|} (4)
[0087] Then determine the probability P of each ranging data in the ranging data set D being selected as the second cluster center C2 k , the calculation formula is:
[0088] (3) Subtract \(P_1, P_2, \cdots, P\) from the random number \(U\in[0, 1]\) in sequence, and regard the ranging data with the first difference less than or equal to zero as the second clustering center \(C_2\); n Take the ranging data with the first difference less than or equal to zero as the second clustering center \(C_2\);
[0089] (4) Calculate the distances from each ranging data in the ranging data set \(D\) to the clustering centers \(C_1\) and \(C_2\) respectively, and divide the ranging data into two groups. The first group is the ranging data closest to the first initial clustering center \(C_1\) to form the corresponding first subset; the second group is the ranging data closest to the second clustering center \(C_2\) to form the corresponding second subset;
[0090] (5) Use the averages \(\lambda_1\) and \(\lambda_2\) of the first subset and the second subset as two new clustering centers respectively, and then calculate the sum of squared errors \(E\) according to the evaluation criterion formula of the K - means++ algorithm:
[0091] where, when the sum of squared errors \(E\) reaches the minimum value, the distance between the two new clustering centers \(\lambda_1\) and \(\lambda_2\) is the farthest, and the ranging data in the new clustering centers \(\lambda_1\) and \(\lambda_2\) is the most compact;
[0092] (6) Update the two new clustering centers \(\lambda_1\) and \(\lambda_2\) as the first initial clustering center \(C_1\) and the second clustering center \(C_2\) respectively, and then repeatedly execute steps (4) and (5). When the clustering centers meet the convergence condition, end;
[0093] (7) After step (6), denote the two finally obtained new clustering centers as \(A_1\) and \(A_2\) respectively; when \(A_1 < A_2\), the ranging data corresponding to the clustering center \(A_1\) only contains the ranging data with standard measurement error. If the difference between the clustering center \(A_1\) and the clustering center \(A_2\) is less than 30 cm, it is considered that there is no NLOS error in the ranging data corresponding to the clustering center \(A_2\). Otherwise, delete the ranging data corresponding to \(A_2\) from \(D\) to obtain a new ranging data set \(D'\).
[0094] S23. Again, process the standard measurement error through Gaussian mean filtering, and its process includes:
[0095] The ranging data in the new ranging data set \(D'\) after suppressing the NLOS error approximately conforms to the normal distribution characteristics of \((\mu,\sigma\) 2 ) and the probability density function is described by the following formula:
[0096] where, \(d\) iis the i-th ranging data in the new ranging data set D', m is the amount of data in the new ranging data set D'; μ is the average value of each ranging data in the new ranging data set D'; σ is the standard deviation of each ranging data in the new ranging data set D'.
[0097] After filtering out the ranging data outside the interval (μ-σ, μ+σ) by Gaussian filtering, the mean filtering method is used to process it, and finally the Gaussian mean mixed filtering output value d is obtained. filter , its formula is described as:
[0098] Wherein, m1 is the data volume of the new ranging data set D' after Gaussian filtering.
[0099] S24, using the least squares method to solve the ranging data after error suppression to determine the initial three-dimensional positioning value of the unmanned ship;
[0100] Assuming that the plane where the height of each UWB positioning base station center is located is the zero plane of the Z axis, the three-dimensional coordinates of the i-th UWB positioning base station are expressed as P i= (x i ,y i ,z i ), using time t i Describes the UWB positioning tag sending a UWB signal request data packet to the i-th UWB positioning base station P i The flight time of the i-th UWB positioning base station P i The distance to the UWB positioning tag is obtained by the following formula: R di= c(t i -Δt) (11)
[0101] Among them, Δt is the i-th UWB positioning base station P i The deviation between the UWB positioning tag clock and c is the speed of light; In addition, the i-th UWB positioning base station P i The distance from the UWB positioning tag P = (x, y, z) can also be calculated using the following formula:
[0102] The following equations can be obtained by using equations (11) and (12):
[0103] Transforming equation (13) yields the following equation:
[0104] Converting Equation (14) into matrix form, we can get:
[0105] Formula (15) can be rewritten as AX = b. The least square method is used to analyze formula (15) and we can get:
[0106] Among them, H and H are the least squares solutions; A is the coefficient matrix; vector b is a constant.
[0107] By obtaining the first three-dimensional variables of H, we can get the initial three-dimensional positioning value of the unmanned ship, which is expressed as (x0, y0, z0).
[0108] S25. Use the initial value of the three-dimensional positioning of the unmanned ship as the input of the Taylor series expansion method to determine the three-dimensional positioning estimate of the unmanned ship, which is the final precise position of the unmanned ship, thereby realizing the three-dimensional positioning of the unmanned ship.
[0109] After determining the initial positioning value of the unmanned ship 6, the Taylor series expansion method is used to process it to obtain the unmanned ship positioning estimation result. According to formula (12), the initial distance between the first UWB positioning base station P1 = (x1, y1, z1) and the UWB positioning tag P = (x, y, z) can be determined as R d1 , the i-th UWB positioning base station P i =(x i ,y i ,z i ) to the initial distance R between the UWB positioning tag di The initial distance R from the first UWB positioning base station P1 = (x1, y1, z1) to the UWB positioning tag d1 The difference is calculated by the following formula:
[0110] Substituting equation (17) with f(x,y,z,x i ,y i ,z i ) form, the Taylor series expansion method is used to process the initial value (x0, y0, z0) of the first positioning, and after eliminating the second-order and third-order components, we can obtain:
[0111] Convert Equation (18) into the following error vector equations:
[0112] in, is the error vector; δ is the vector to be determined; The matrices h and G are expressed as:
[0113] The distance from the initial value of three-dimensional positioning to each UWB positioning base station is expressed as R i Indicates that i = 1,…N, x0,x1,x2,x3,…x NRespectively represent the X-axis coordinate values of each UWB positioning base station, y0, y1, y2, y3, ...y N Represents the Y-axis coordinate value of each UWB positioning base station, z0, z1, z2, z3, ... z N Respectively represent the Z-axis coordinate value of each UWB positioning base station, R 21 、R 31 、R N1 Respectively represent the difference between the distances from the 2nd, 3rd, and Nth UWB positioning base stations to the UWB positioning tag and the distance from the 1st UWB positioning base station to the UWB positioning tag. Calculate the weighted least squares solution of formula (19) and obtain:
[0114] Where Q is the weighting matrix, which is the error covariance matrix of the DS-TWR ranging measurement value. After determining δ, set x0' = x0+ Δ x,y0' = y0+Δy, z0'=z0+Δz. After determining (x0', y0', z0'), it is used as the initial positioning value and iterated again. When the condition |Δx| is satisfied 2 +|Δy| 2 +|Δz| 2 <ε 2 When , the iteration stops, where the threshold is set as ε. After the iteration, (x0', y0', z0') is obtained again. The positioning coordinates are the final three-dimensional positioning results of the unmanned ship 6.
[0115] S3. Use the IMU inertial measurement unit to collect the acceleration and angular velocity information of the unmanned ship, and send the real-time attitude information of the unmanned ship after suppressing vibration and noise to the positioning processor in the shore-based control center. Specifically:
[0116] A method to effectively suppress vibration noise to improve heading accuracy and stability is used. The steps are as follows:
[0117] S31. First, use the LMS adaptive filtering algorithm to perform front-end processing on the initial value of the accelerometer and the initial value of the gyroscope output. The algorithm is as follows:
[0118] Where X(n) represents the accelerometer and gyroscope input signals at time n, W(n) represents the weight coefficient of the filter at time n, d(n) represents the expected output signal of the filter at time n, e(n) represents the error of the accelerometer and gyroscope at time n, y(n) represents the filter output, and μ(n) represents the iterative step size of the adaptive filter. The convergence condition of the algorithm is: 0<μ(n)<1 / λ max , where λ max is the maximum eigenvalue of the autocorrelation matrix of the input signal X(n).
[0119] S32. The accelerometer is more stable than the gyroscope when stationary. Then the acceleration information is used to filter out the zero-bias noise of the angular velocity. The filtering algorithm formula is as follows:
[0120] Among them, g x , g y and g z They are the three-axis angular velocity values output after complementary filtering, m x , m y and m z They are the three-axis angular velocity values after LMS filtering, e x , e y and e z represents the errors in the three axes, KP and KI are the complementary filter parameters.
[0121] in, is the posture transformation matrix, V x , V y and V z are the normalized three-axis accelerations.
[0122] S33. Again, the EKF filtering algorithm is used for further filtering to improve the overall denoising effect.
[0123] S34. Finally, the IMU inertial measurement unit measures the Euler angle and attitude of the unmanned ship, and sends the measured real-time attitude information to the positioning processor;
[0124] S4, positioning processor realizes accurate positioning solution and real-time attitude information update of the unmanned ship.
[0125] The positioning processor parses the distance information between the UWB positioning base station and the UWB positioning tag, uses the UWB positioning method to obtain the three-dimensional positioning result of the unmanned ship, receives data from the IMU inertial measurement unit, and updates the real-time attitude information of the unmanned ship, ultimately achieving accurate positioning of the unmanned ship and real-time attitude information update.
[0126] S5. The map server displays the position information and real-time posture information of the unmanned boat in the lake in a two-dimensional or three-dimensional map and displays them.
[0127] The map server displays the location information of the unmanned boat in the lake to the user in real time on a two-dimensional or three-dimensional map.
[0128] In another embodiment of the present invention, a storage medium stores a computer program, which, when executed by at least one processor, implements the steps of the above-mentioned unmanned ship positioning method based on UWB technology and can achieve the same technical effect as the above-mentioned method.
Claims
1. An unmanned ship positioning system based on UWB technology, characterized in that: The system comprises at least 4 UWB positioning base stations, UWB positioning tags, IMU inertial measurement units and a shore-based control center, wherein at least 4 UWB positioning base stations are dispersedly arranged around the edges of the lake, one of the UWB positioning base stations is set as the main base station, and the remaining UWB positioning base stations are slave base stations, the UWB positioning tags and the IMU inertial measurement units are set on the unmanned boat, and the shore-based control center comprises a map server and a positioning processor; the UWB positioning tag communicates wirelessly with the UWB positioning base station, measures the ranging data between it and each UWB positioning base station respectively, and sends the data to the positioning processor through the wireless network; the IMU inertial measurement unit measures the real-time attitude information of the unmanned boat, performs noise suppression to obtain the real-time attitude correction information and sends it to the positioning processor; the positioning processor analyzes the ranging data between the UWB positioning tag and each UWB positioning base station, uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned boat, and realizes the precise positioning solution of the unmanned boat and obtains the real-time attitude information according to the real-time attitude correction information of the unmanned boat; the map server displays the position information of the unmanned boat in the lake in a two-dimensional or three-dimensional map and displays it.
2. The unmanned ship positioning system based on UWB technology according to claim 1, characterized in that: Multiple UWB positioning base stations are maintained at the same horizontal height, installed vertically on the ground, and evenly distributed along the edge of the lake. The main base station is used as the positioning reference point to establish a lake positioning map area, and further establish a lake positioning coordinate system.
3. An unmanned ship positioning method based on UWB technology, characterized in that: The following steps are involved: S1. Evenly arrange 4 or more UWB positioning base stations along the edge of the positioning lake; one of them is set as the UWB positioning main base station, and the rest are UWB positioning slave base stations. The center of the UWB positioning main base station is used as the origin of the positioning coordinate system, the line connecting the UWB positioning main base station and the UWB positioning slave base station on the same side of the lake is the closest to it as the X-axis, the line passing through the origin and perpendicular to the X-axis in the horizontal plane is the Y-axis, and the Z-axis passing through the origin and perpendicular to the horizontal plane is vertically upward, and the lake positioning coordinate system O-XYZ is established; the UWB positioning tag and IMU inertial measurement unit are installed on the unmanned boat. S2, the UWB positioning tag communicates wirelessly with each UWB positioning base station respectively, and the UWB positioning tag sends the measured distance data between it and each UWB positioning base station to the positioning processor in the shore-based control center through the wireless network; the positioning processor analyzes the distance data between the UWB positioning tag and each UWB positioning base station, and uses the UWB positioning method to obtain the three-dimensional positioning of the unmanned ship; including: the UWB positioning tag obtains the distance data between the unmanned ship and each UWB positioning base station through the bilateral two-way method; then, the K-means++ algorithm is used to suppress the NLOS error in the distance data; again, the standard measurement error in the distance data is processed by Gaussian mean filtering; the distance data after error suppression is solved by the least squares method to determine the initial value of the first three-dimensional positioning of the unmanned ship; the initial value of the three-dimensional positioning of the unmanned ship is used as the input of the Taylor series expansion method to determine the three-dimensional positioning estimate of the unmanned ship, which is the final precise position of the unmanned ship, and the three-dimensional positioning of the unmanned ship is realized; S3. Use the IMU inertial measurement unit to collect the acceleration and angular velocity information of the unmanned ship as the real-time attitude information of the unmanned ship, and use a filtering algorithm to suppress the noise of the real-time attitude information of the unmanned ship, and send the real-time attitude information of the unmanned ship after suppressing vibration noise to the positioning processor in the shore-based control center; S4. The positioning processor realizes the precise positioning and real-time attitude information update of the unmanned ship according to the three-dimensional positioning of the unmanned ship obtained in step S2 and the real-time attitude information sent in step S3; S5. The map server displays and shows the position information and real-time attitude information of the unmanned ship in the lake in a two-dimensional or three-dimensional map.
4. The unmanned ship positioning method based on UWB technology according to claim 3 is characterized in that: In step S2, the UWB positioning tag obtains the ranging data between the unmanned ship and each UWB positioning base station through the two-way two-way ranging method. Specifically: The UWB positioning tag sends a UWB signal request data packet to the UWB positioning base station. After the flight time T, the UWB positioning base station receives the request. A After a time delay, reply to the UWB positioning tag Reply data packet, after receiving the response, the UWB positioning tag records the delay time T from sending the request to receiving the response r1 , and through T B After the time delay, the UWB positioning base station will reply with an additional receiving response and request end data packet. After the delay time T r2 After that, the UWB positioning base station receives the receiving response and request end data packet of the UWB positioning tag, and the UWB signal transmission process ends; finally, four time difference data T are obtained. A 、T r1 、T B 、T r2 , the UWB positioning tag and the UWB positioning base station mark the timestamp, and the flight time T of the UWB signal can be calculated based on the four time differences, as follows: After determining the flight time T of the UWB signal, AB =cT determines the distance measurement data between the UWB positioning tag and the UWB positioning base station, where c is the speed of light; T A T is the delay time for the UWB positioning base station to reply to the response data packet after receiving the UWB request data packet sent by the UWB positioning tag. B The UWB positioning tag sends an additional reception response to the UWB positioning base station and requests the processing and sending delay time of the end data packet; In the ranging data between the UWB positioning tag and the UWB positioning base station obtained by using the two-way two-way ranging method, in addition to the NLOS error, there is also a standard measurement error caused by random factors, and this error approximately conforms to a Gaussian distribution. At this time, the error model is as follows: d AB (k)=R AB (k)+n AB (k)+N AB (k) Among them, d AB (k) is the distance measurement data between the UWB positioning tag and the UWB positioning base station at time k, R AB (k) is the actual value of the distance between the UWB positioning tag and the UWB positioning base station at time k, n AB (k) is the standard measurement error, N AB (k) is the NLOS error.
5. The unmanned ship positioning method based on UWB technology according to claim 3 is characterized in that: The specific method for suppressing the NLOS error in the ranging data by using the K-means++ algorithm in step S2 is: (1) The DS-TWR method is used to measure the distance between the UWB positioning tag and the UWB positioning base station several times to obtain the ranging data set D = {d1, d2, …d k ,…d n }, d k is the kth ranging data in the ranging data set D, k = 1, 2, ..., n, n is the number of ranging data in the ranging data set D, and a ranging data is randomly selected from the ranging data set D as the first initial clustering center C1; (2) Calculate the minimum distance D (d k ), the calculation formula is: D(d k )=min{|d k -C1|} Then determine the probability P of each ranging data in the ranging data set D being selected as the second cluster center C2 k , the calculation formula is: (3) Subtract P1, P2, … P from the random number U∈[0,1] in sequence n , take the first distance measurement data with a difference value less than or equal to zero as the second cluster center C2; (4) Calculate the distances from each ranging data in the ranging data set D to the clustering centers C1 and C2 respectively, and divide each ranging data into two groups. The first group is the ranging data closest to the first initial clustering center C1, forming the corresponding first subset; the second group is the ranging data closest to the second clustering center C2, forming the corresponding second subset; (5) Use the average values λ1 and λ2 of the first and second subsets as two new cluster centers, respectively, and then calculate the error sum of squares E according to the K-means++ algorithm evaluation criterion formula: Among them, when the sum of squared errors E reaches the minimum value, the distance between the two new clustering centers λ1 and λ2 is the farthest, and the ranging data in the new clustering centers λ1 and λ2 is the most compact; (6) Update the two new clustering centers λ1 and λ2 to the first initial clustering center C1 and the second clustering center C2 respectively, and then repeatedly execute steps (4) and (5). When the clustering centers meet the convergence condition, end; (7) After step (6), the two finally obtained new clustering centers are respectively denoted as A1 and A2; when A1 < A2, the ranging data corresponding to the clustering center A1 only contains the ranging data with standard measurement error. If the difference between the clustering center A1 and the clustering center A2 is less than 30 cm, it is considered that there is no NLOS error in the ranging data corresponding to the clustering center A2. Otherwise, the ranging data corresponding to A2 is deleted from D to obtain a new ranging data set D'.
6. The unmanned ship positioning method based on UWB technology according to claim 3 is characterized in that: In step S2, the standard measurement error is processed by Gaussian mean filtering, specifically including: The new ranging data set D' after suppressing NLOS error approximately conforms to (μ,σ 2 ) Normal distribution characteristics, the density function is described by the following formula: Among them, d i is the i-th ranging data in the new ranging data set D', m is the amount of data in the new ranging data set D'; μ is the average value of each ranging data in the new ranging data set D'; σ is the standard deviation of each ranging data in the new ranging data set D'; After filtering out the ranging data outside the interval (μ-σ, μ+σ) by Gaussian filtering, the mean filtering method is used to process it, and finally the Gaussian mean mixed filtering output value d is obtained. filter , its formula is described as: Among them, m1 is the data volume of the new ranging data set D' after Gaussian filtering.
7. The unmanned ship positioning method based on UWB technology according to claim 3 is characterized in that: In step S2, the least squares method is used to perform a solution process on the ranging data after error suppression to determine the initial three-dimensional positioning of the unmanned ship. Specifically: Assuming that the plane where the height of each UWB positioning base station center is located is the zero plane of the Z axis, the three-dimensional coordinates of the i-th UWB positioning base station are expressed as P i =(x i ,y i ,z i ), time t i Describes the UWB positioning tag sending a UWB signal request data packet to the i-th UWB positioning base station P i The flight time of the i-th UWB positioning base station P i The distance to the UWB positioning tag is obtained by the following formula: R di =c(t i -Δt) Among them, Δt is the i-th UWB positioning base station P i The deviation between the clock of the UWB positioning tag and the clock of the UWB positioning tag; c is the speed of light; in addition, the i-th UWB positioning base station P i The distance from the UWB positioning tag P = (x, y, z) can also be calculated by the following formula: The following equations are obtained by the above two formulas: Further transformation processing yields the following formula: Converted into matrix form, we get: Further rewrite it into the form of AH=b, and use the least squares method to analyze the above matrix formula to get: Among them, H is the least squares solution; A is the coefficient matrix; the vector b is a constant; Obtain the first three variables of H, that is, obtain the initial three-dimensional positioning of the unmanned ship, denoted as (x0, y0, z0).
8. The unmanned ship positioning method based on UWB technology according to claim 3 is characterized in that: In step S2, the initial value of the three-dimensional positioning of the unmanned ship is used as the input of the Taylor series expansion method to determine the three-dimensional positioning estimate of the unmanned ship, that is, the final accurate position of the unmanned ship, to achieve the three-dimensional positioning of the unmanned ship; specifically: After determining the initial value of the unmanned ship's three-dimensional positioning, the Taylor series expansion method is used to process it to obtain the unmanned ship's positioning estimation result; the initial distance between the first UWB positioning base station P1 = (x1, y1, z1) and the UWB positioning tag P = (x, y, z) is R d1 , the i-th UWB positioning base station P i =(x i ,y i ,z i ) to the initial distance R between the UWB positioning tag di The initial distance R from the UWB positioning base station P1 = (x1, y1, z1) to the UWB positioning tag P = (x, y, z) d1 The difference is calculated by the following formula: Substituting the above equation with f(x,y,z,x i ,y i ,z i ) form, the Taylor series expansion method is used to process the initial value (x0, y0, z0) of the first positioning, and after eliminating the second-order and third-order components, we get: Further converted into the error vector equation form of the following formula: in, is the error vector; δ is the vector to be determined; The matrices h and G are expressed as: The distance from the initial value of three-dimensional positioning to each UWB positioning base station is represented by R i Represents; Calculate the weighted least squares solution of the error vector equations and get: Among them, Q is the weighting matrix, which is the error covariance matrix of the DS-TWR ranging measurement value; after determining δ, set x0'=x0+Δx, y0'=y0+Δy, z0'=z0+Δz, and after determining (x0', y0', z0'), use it as the initial positioning value to iterate again. When the condition |Δx| is satisfied, 2 +|Δy| 2 +|Δz| 2 <ε 2 When , the iteration stops, where the threshold is set as ε. After the iteration, (x0', y0', z0') is obtained again. This positioning coordinate is the final three-dimensional positioning result of the unmanned ship.
9. The unmanned ship positioning method based on UWB technology according to claim 3 is characterized in that: Step S3 specifically includes the following steps: S31, use the LMS adaptive filtering algorithm to perform front-end processing on the accelerometer initial value and the gyroscope output initial value. The algorithm is as follows: Where X(n) represents the input signal of the accelerometer and gyroscope at time n, W(n) represents the weight coefficient of the filter at time n, d(n) represents the expected output signal of the filter at time n, e(n) represents the error of the accelerometer and gyroscope at time n, y(n) represents the filter output, and μ(n) represents the iterative step size of the adaptive filter; the convergence condition of the algorithm is: 0<μ(n)<1 / λ max , where λ max is the maximum eigenvalue of the autocorrelation matrix of the input signal X(n); S32, filtering out the zero-bias noise of the angular velocity through the acceleration information; the filtering algorithm formula is as follows: Among them, g x , g y and g z They are the three-axis angular velocity values output after complementary filtering, m x , m y and m z are the three-axis angular velocity values after LMS filtering, e x , e y and e z represents the errors in the three axes, KP and KI are the complementary filter parameters; S33, using EKF filtering algorithm to further filter and thus improve the overall denoising effect; S34, the IMU inertial measurement unit measures the Euler angle and attitude of the unmanned ship, and sends the measured real-time attitude information to the terminal processor.
10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by at least one processor, implements the steps of an unmanned ship positioning method based on UWB technology as described in any one of claims 3 to 9.
Citation Information
Patent Citations
Personnel status monitoring system based on UWB and MSIF
CN109738859A
UWB-based agricultural machinery field positioning system and method
CN112954585A
High-precision unmanned ship positioning system and method based on UWB technology, and storage medium
CN116430310A
Ultra wideband precision geolocation system
US6054950A
Cited By
Three-dimensional positioning method and system based on UWB
CN116033352A
Visual guidance system and method for unmanned ship
CN119472662A
Network self-maintenance method, device and system based on UWB base station and electronic equipment
CN119729771A
Relative state estimation method in distributed unmanned ship cooperative SLAM system
CN119756390A
Unmanned ship intelligent cabin system task execution capability assessment method based on three-flow cooperation theory
CN119831415A
